WP Recipe Maker - Version 7.7.0

Version Description

  • Feature: Set WPML language when using recipes as a public post type
  • Improvement: Smaller comment ratings column
  • Improvement: Only show quick edit comment rating for posts with recipes
  • Improvement: Bulk delete ingredient units on the manage page
  • Fix: Revisioned and scheduled posts losing parent post with Yoast Duplicate Post
  • Fix: Import from Create not always replacing block in post correctly
  • Fix: Comment rating compatibility with Lazy Load for Comments on non-recipe posts
  • Fix: Print URL when using index.php permalinks
  • Fix: Deprecation notice in block editor
  • Fix: Print page redirect when using non-standard HTTP port
  • Fix: Prevent cursor location problem in Firefox when clicking in rich text field
Download this release

Release Info

Developer BrechtVds
Plugin Icon 128x128 WP Recipe Maker
Version 7.7.0
Comparing to
See all releases

Code changes from version 7.6.0 to 7.7.0

assets/css/admin/comments.scss CHANGED
@@ -1,3 +1,8 @@
 
 
 
 
 
1
  .column-wprm_rating {
2
  .comment-form-wprm-rating {
3
  margin: 0;
@@ -6,4 +11,9 @@
6
  .wprm-rating-change-save {
7
  display: none;
8
  }
 
 
 
 
 
9
  }
1
+ .comments th#wprm_rating,
2
+ .comments td.wprm_rating {
3
+ width: 130px;
4
+ }
5
+
6
  .column-wprm_rating {
7
  .comment-form-wprm-rating {
8
  margin: 0;
11
  .wprm-rating-change-save {
12
  display: none;
13
  }
14
+ }
15
+
16
+ // Make empty stars faded.
17
+ fieldset.wprm-comment-ratings-container legend + input + span svg {
18
+ opacity: 0.3;
19
  }
assets/css/admin/dashboard/health-check.scss ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .wprm-admin-dashboard-health-check-container {
2
+ .wprm-admin-dashboard-health-check-last-update {
3
+ float: right;
4
+ margin-left: 10px;
5
+ margin-bottom: 10px;
6
+
7
+ &.wprm-admin-dashboard-health-check-last-update-ok { color: darkgreen }
8
+ &.wprm-admin-dashboard-health-check-last-update-fair { color: darkblue }
9
+ &.wprm-admin-dashboard-health-check-last-update-bad { color: darkgoldenrod }
10
+ &.wprm-admin-dashboard-health-check-last-update-asap { color: darkred }
11
+ }
12
+ }
assets/css/shortcodes/_link.scss CHANGED
@@ -26,6 +26,10 @@
26
  border-style: solid;
27
  padding: 5px;
28
  }
 
 
 
 
29
  }
30
 
31
  .rtl .wprm-recipe-link {
26
  border-style: solid;
27
  padding: 5px;
28
  }
29
+
30
+ &.wprm-recipe-link-disabled {
31
+ cursor: not-allowed;
32
+ }
33
  }
34
 
35
  .rtl .wprm-recipe-link {
assets/js/admin-dashboard/App.js CHANGED
@@ -8,6 +8,7 @@ import Marketing from './Marketing';
8
 
9
  import Analytics from './blocks/Analytics';
10
  import Feedback from './blocks/Feedback';
 
11
  import Learn from './blocks/Learn';
12
  import News from './blocks/News';
13
  import Recipes from './blocks/Recipes';
@@ -16,6 +17,7 @@ import Tips from './blocks/Tips';
16
  let blocks = hooks.applyFilters( 'dashboardBlocks', [
17
  { id: 'recipes', block: Recipes },
18
  { id: 'news', block: News },
 
19
  { id: 'tips', block: Tips },
20
  { id: 'learn', block: Learn },
21
  { id: 'analytics', block: Analytics },
8
 
9
  import Analytics from './blocks/Analytics';
10
  import Feedback from './blocks/Feedback';
11
+ import HealthCheck from './blocks/HealthCheck';
12
  import Learn from './blocks/Learn';
13
  import News from './blocks/News';
14
  import Recipes from './blocks/Recipes';
17
  let blocks = hooks.applyFilters( 'dashboardBlocks', [
18
  { id: 'recipes', block: Recipes },
19
  { id: 'news', block: News },
20
+ // { id: 'health', block: HealthCheck },
21
  { id: 'tips', block: Tips },
22
  { id: 'learn', block: Learn },
23
  { id: 'analytics', block: Analytics },
assets/js/admin-dashboard/blocks/HealthCheck/Item.js ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, {Component, Fragment } from 'react';
2
+
3
+ import { __wprm } from 'Shared/Translations';
4
+ import Icon from 'Shared/Icon';
5
+
6
+ export default class Item extends Component {
7
+ constructor(props) {
8
+ super(props);
9
+
10
+ this.state = {
11
+ open: false,
12
+ }
13
+ }
14
+
15
+ render() {
16
+ const { item } = props;
17
+
18
+ return (
19
+ <div className="wprm-admin-dashboard-health-check-item">
20
+ This is it!
21
+ </div>
22
+ );
23
+ }
24
+ }
assets/js/admin-dashboard/blocks/HealthCheck/index.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Component, Fragment } from 'react';
2
+
3
+ import '../../../../css/admin/dashboard/health-check.scss';
4
+
5
+ import { __wprm } from 'Shared/Translations';
6
+
7
+ import Block from '../../layout/Block';
8
+ import Item from './Item';
9
+
10
+ export default class Recipes extends Component {
11
+ constructor(props) {
12
+ super(props);
13
+
14
+ this.state = {
15
+ items: wprm_admin_dashboard.health.items,
16
+ }
17
+ }
18
+
19
+ render() {
20
+
21
+
22
+ return (
23
+ <Block
24
+ title={ __wprm( 'Health Check' ) }
25
+ button={ __wprm( 'Run Check' ) }
26
+ buttonAction={ () => {
27
+ alert( 'Checking now' );
28
+ }}
29
+ >
30
+ <div className="wprm-admin-dashboard-health-check-container">
31
+ <div className={ `wprm-admin-dashboard-health-check-last-update wprm-admin-dashboard-health-check-last-update-${ wprm_admin_dashboard.health.urgency }` }>{ __wprm( 'Last check:' ) } { wprm_admin_dashboard.health.date_formatted }</div>
32
+ <div className="wprm-admin-dashboard-health-check-description">
33
+ { __wprm( 'Use the Health Check feature to search for any WPRM-related issues and improve your recipes.' ) } { __wprm( 'Recommended to run occassionally by clicking on the blue button.' ) }
34
+ </div>
35
+ {
36
+ this.state.items.map( ( item, index ) => {
37
+ return (
38
+ <Item
39
+ item={ item }
40
+ key={ index }
41
+ />
42
+ )
43
+ } )
44
+ }
45
+ </div>
46
+ </Block>
47
+ );
48
+ }
49
+ }
assets/js/admin-manage/DataTableConfig.js CHANGED
@@ -107,7 +107,10 @@ datatables.ingredientUnit = {
107
  singular: __wprm( 'Ingredient Unit' ),
108
  plural: __wprm( 'Ingredient Units' ),
109
  },
110
- bulkEdit: false,
 
 
 
111
  createButton: (datatable) => {
112
  let name = prompt( __wprm( 'What do you want to be the name of this new unit?' ) );
113
  if( name && name.trim() ) {
107
  singular: __wprm( 'Ingredient Unit' ),
108
  plural: __wprm( 'Ingredient Units' ),
109
  },
110
+ bulkEdit: {
111
+ route: 'taxonomy',
112
+ type: 'ingredient_unit',
113
+ },
114
  createButton: (datatable) => {
115
  let name = prompt( __wprm( 'What do you want to be the name of this new unit?' ) );
116
  if( name && name.trim() ) {
assets/js/admin-manage/units/Columns.js CHANGED
@@ -15,6 +15,7 @@ import '../../../css/admin/manage/taxonomies.scss';
15
  export default {
16
  getColumns( datatable ) {
17
  let columns = [
 
18
  {
19
  Header: __wprm( 'Sort:' ),
20
  id: 'actions',
15
  export default {
16
  getColumns( datatable ) {
17
  let columns = [
18
+ bulkEditCheckbox( datatable, 'term_id' ),
19
  {
20
  Header: __wprm( 'Sort:' ),
21
  id: 'actions',
assets/js/admin-modal/bulk-edit/ActionsIngredientUnit.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import { __wprm } from 'Shared/Translations';
4
+
5
+ const ActionsIngredientUnit = (props) => {
6
+ const selectedAction = props.action ? props.action.type : false;
7
+ const actionOptions = [
8
+ { value: 'delete', label: __wprm( 'Delete Units' ), default: false },
9
+ ];
10
+
11
+ return (
12
+ <Fragment>
13
+ <div className="wprm-admin-modal-bulk-edit-label">{ __wprm( 'Select an action to perform:' ) }</div>
14
+ <div className="wprm-admin-modal-bulk-edit-actions">
15
+ {
16
+ actionOptions.map((option) => (
17
+ <div className="wprm-admin-modal-bulk-edit-action" key={option.value}>
18
+ <input
19
+ type="radio"
20
+ value={option.value}
21
+ name={`wprm-admin-radio-bulk-edit-action`}
22
+ id={`wprm-admin-radio-bulk-edit-action-${option.value}`}
23
+ checked={selectedAction === option.value}
24
+ onChange={() => {
25
+ const newAction = {
26
+ type: option.value,
27
+ options: option.default,
28
+ }
29
+
30
+ props.onActionChange(newAction);
31
+ }}
32
+ /><label htmlFor={`wprm-admin-radio-bulk-edit-action-${option.value}`}>{ option.label }</label>
33
+ </div>
34
+ ))
35
+ }
36
+ </div>
37
+ {
38
+ selectedAction && false !== props.action.options
39
+ &&
40
+ <Fragment>
41
+ <div className="wprm-admin-modal-bulk-edit-label">{ __wprm( 'Action options:' ) }</div>
42
+ <div className="wprm-admin-modal-bulk-edit-options">
43
+ </div>
44
+ </Fragment>
45
+ }
46
+ </Fragment>
47
+ );
48
+ }
49
+ export default ActionsIngredientUnit;
assets/js/admin-modal/bulk-edit/ActionsRecipe.js CHANGED
@@ -39,6 +39,12 @@ const ActionsRecipe = (props) => {
39
  actionOptions.push(
40
  { value: 'change-status', label: __wprm( 'Change Recipe Status' ), default: 'draft' }
41
  );
 
 
 
 
 
 
42
  }
43
 
44
  // Default options.
@@ -105,6 +111,23 @@ const ActionsRecipe = (props) => {
105
  }}
106
  />
107
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  {
109
  'change-type' === selectedAction
110
  &&
39
  actionOptions.push(
40
  { value: 'change-status', label: __wprm( 'Change Recipe Status' ), default: 'draft' }
41
  );
42
+
43
+ if ( wprm_admin_manage.multilingual && 'wpml' === wprm_admin_manage.multilingual.plugin ) {
44
+ actionOptions.push(
45
+ { value: 'change-language', label: __wprm( 'Change Language' ), default: wprm_admin_manage.multilingual.default }
46
+ );
47
+ }
48
  }
49
 
50
  // Default options.
111
  }}
112
  />
113
  }
114
+ {
115
+ 'change-language' === selectedAction
116
+ &&
117
+ <FieldRadio
118
+ id="language"
119
+ options={ Object.values( wprm_admin_manage.multilingual.languages ) }
120
+ value={props.action.options}
121
+ onChange={(value) => {
122
+ const newAction = {
123
+ ...props.action,
124
+ options: value,
125
+ }
126
+
127
+ props.onActionChange(newAction);
128
+ }}
129
+ />
130
+ }
131
  {
132
  'change-type' === selectedAction
133
  &&
assets/js/admin-modal/bulk-edit/ActionsTaxonomy.js CHANGED
@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
2
 
3
  import { __wprm } from 'Shared/Translations';
4
 
5
- const ActionsIngredient = (props) => {
6
  const selectedAction = props.action ? props.action.type : false;
7
  const actionOptions = [
8
  { value: 'export', label: __wprm( 'Export Terms' ), default: false, required: 'premium' },
@@ -47,4 +47,4 @@ const ActionsIngredient = (props) => {
47
  </Fragment>
48
  );
49
  }
50
- export default ActionsIngredient;
2
 
3
  import { __wprm } from 'Shared/Translations';
4
 
5
+ const ActionsTaxonomy = (props) => {
6
  const selectedAction = props.action ? props.action.type : false;
7
  const actionOptions = [
8
  { value: 'export', label: __wprm( 'Export Terms' ), default: false, required: 'premium' },
47
  </Fragment>
48
  );
49
  }
50
+ export default ActionsTaxonomy;
assets/js/admin-modal/bulk-edit/index.js CHANGED
@@ -12,6 +12,7 @@ import Footer from '../general/Footer';
12
  import ActionsAnalytics from './ActionsAnalytics';
13
  import ActionsEquipment from './ActionsEquipment';
14
  import ActionsIngredient from './ActionsIngredient';
 
15
  import ActionsRating from './ActionsRating';
16
  import ActionsRecipe from './ActionsRecipe';
17
  import ActionsRevision from './ActionsRevision';
@@ -39,6 +40,10 @@ let actions = {
39
  label: __wprm( 'Ingredients' ),
40
  elem: ActionsIngredient,
41
  },
 
 
 
 
42
  'equipment': {
43
  label: __wprm( 'Equipment' ),
44
  elem: ActionsEquipment,
12
  import ActionsAnalytics from './ActionsAnalytics';
13
  import ActionsEquipment from './ActionsEquipment';
14
  import ActionsIngredient from './ActionsIngredient';
15
+ import ActionsIngredientUnit from './ActionsIngredientUnit';
16
  import ActionsRating from './ActionsRating';
17
  import ActionsRecipe from './ActionsRecipe';
18
  import ActionsRevision from './ActionsRevision';
40
  label: __wprm( 'Ingredients' ),
41
  elem: ActionsIngredient,
42
  },
43
+ 'ingredient_unit': {
44
+ label: __wprm( 'Ingredient Units' ),
45
+ elem: ActionsIngredientUnit,
46
+ },
47
  'equipment': {
48
  label: __wprm( 'Equipment' ),
49
  elem: ActionsEquipment,
assets/js/admin-modal/fields/FieldRichText/RichEditor.js CHANGED
@@ -8,7 +8,7 @@ import isHotkey from 'is-hotkey'
8
 
9
  import FieldText from '../FieldText';
10
  import FieldTextarea from '../FieldTextarea';
11
- import { isProblemBrowser } from 'Shared/Browser';
12
  import Toolbar from './Toolbar';
13
  import { deserialize, serialize } from './html';
14
  import { Element, Leaf } from './nodes';
@@ -113,14 +113,16 @@ const RichEditor = (props) => {
113
  renderElement={ useCallback(props => <Element {...props} />, []) }
114
  renderLeaf={ useCallback(props => <Leaf {...props} />, []) }
115
  onFocus={() => {
116
- Transforms.deselect( editor );
117
- Transforms.select(editor, {
118
- anchor: Editor.start(editor, []),
119
- focus: Editor.end(editor, []),
120
- });
121
- Transforms.collapse( editor, {
122
- edge: 'end',
123
- });
 
 
124
  }}
125
  onKeyDown={event => {
126
  // Prevent ENTER key in singleLine mode.
8
 
9
  import FieldText from '../FieldText';
10
  import FieldTextarea from '../FieldTextarea';
11
+ import { isProblemBrowser, isFirefox } from 'Shared/Browser';
12
  import Toolbar from './Toolbar';
13
  import { deserialize, serialize } from './html';
14
  import { Element, Leaf } from './nodes';
113
  renderElement={ useCallback(props => <Element {...props} />, []) }
114
  renderLeaf={ useCallback(props => <Leaf {...props} />, []) }
115
  onFocus={() => {
116
+ if ( ! isFirefox() ) {
117
+ Transforms.deselect( editor );
118
+ Transforms.select(editor, {
119
+ anchor: Editor.start(editor, []),
120
+ focus: Editor.end(editor, []),
121
+ });
122
+ Transforms.collapse( editor, {
123
+ edge: 'end',
124
+ });
125
+ }
126
  }}
127
  onKeyDown={event => {
128
  // Prevent ENTER key in singleLine mode.
assets/js/admin-modal/fields/FieldText.js CHANGED
@@ -18,6 +18,13 @@ const FieldText = (props) => {
18
  props.onChange( e.target.value );
19
  }}
20
  onKeyDown={(e) => {
 
 
 
 
 
 
 
21
  if ( props.onKeyDown ) {
22
  props.onKeyDown(e);
23
  }
18
  props.onChange( e.target.value );
19
  }}
20
  onKeyDown={(e) => {
21
+ if ( 'number' === props.type ) {
22
+ // Don't allow dash in number field as it breaks the value.
23
+ if ( '-' === e.key ) {
24
+ e.preventDefault();
25
+ }
26
+ }
27
+
28
  if ( props.onKeyDown ) {
29
  props.onKeyDown(e);
30
  }
assets/js/admin-modal/recipe/edit/RecipeEquipment.js CHANGED
@@ -23,7 +23,7 @@ export default class RecipeEquipment extends Component {
23
  if ( this.props.equipment.length > prevProps.equipment.length ) {
24
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-richtext');
25
 
26
- if ( inputs.length ) {
27
  inputs[ this.lastAddedIndex ].focus();
28
  }
29
  }
23
  if ( this.props.equipment.length > prevProps.equipment.length ) {
24
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-richtext');
25
 
26
+ if ( inputs.length && inputs[ this.lastAddedIndex ] ) {
27
  inputs[ this.lastAddedIndex ].focus();
28
  }
29
  }
assets/js/admin-modal/recipe/edit/RecipeIngredients/IngredientsEdit.js CHANGED
@@ -21,7 +21,7 @@ export default class IngredientsEdit extends Component {
21
  if ( this.props.ingredients.length > prevProps.ingredients.length ) {
22
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-ingredient-group-name, .wprm-admin-modal-field-ingredient-amount');
23
 
24
- if ( inputs.length ) {
25
  inputs[ this.lastAddedIndex ].focus();
26
  }
27
  }
21
  if ( this.props.ingredients.length > prevProps.ingredients.length ) {
22
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-ingredient-group-name, .wprm-admin-modal-field-ingredient-amount');
23
 
24
+ if ( inputs.length && inputs[ this.lastAddedIndex ] ) {
25
  inputs[ this.lastAddedIndex ].focus();
26
  }
27
  }
assets/js/admin-modal/recipe/edit/RecipeInstructions.js CHANGED
@@ -40,7 +40,7 @@ export default class RecipeInstructions extends Component {
40
  if ( this.props.instructions.length > prevProps.instructions.length ) {
41
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-richtext:not(.wprm-admin-modal-field-instruction-name)');
42
 
43
- if ( inputs.length ) {
44
  inputs[ this.lastAddedIndex ].focus();
45
  }
46
  }
40
  if ( this.props.instructions.length > prevProps.instructions.length ) {
41
  const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-richtext:not(.wprm-admin-modal-field-instruction-name)');
42
 
43
+ if ( inputs.length && inputs[ this.lastAddedIndex ] ) {
44
  inputs[ this.lastAddedIndex ].focus();
45
  }
46
  }
assets/js/admin-modal/recipe/edit/RecipePostType.js CHANGED
@@ -6,6 +6,13 @@ import FieldDropdown from '../../fields/FieldDropdown';
6
  import FieldText from '../../fields/FieldText';
7
 
8
  const RecipePostType = (props) => {
 
 
 
 
 
 
 
9
  return (
10
  <Fragment>
11
  <FieldContainer id="slug" label={ __wprm( 'Slug' ) }>
@@ -28,6 +35,20 @@ const RecipePostType = (props) => {
28
  width={ 300 }
29
  />
30
  </FieldContainer>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
31
  </Fragment>
32
  );
33
  }
6
  import FieldText from '../../fields/FieldText';
7
 
8
  const RecipePostType = (props) => {
9
+ let languageOptions = [
10
+ { value: false, label: __wprm( 'No language set' ) }
11
+ ];
12
+ if ( 'wpml' === wprm_admin_modal.multilingual.plugin ) {
13
+ languageOptions = languageOptions.concat( Object.values( wprm_admin_modal.multilingual.languages ) );
14
+ }
15
+
16
  return (
17
  <Fragment>
18
  <FieldContainer id="slug" label={ __wprm( 'Slug' ) }>
35
  width={ 300 }
36
  />
37
  </FieldContainer>
38
+ {
39
+ 1 < languageOptions.length
40
+ &&
41
+ <FieldContainer id="language" label={ __wprm( 'Language' ) }>
42
+ <FieldDropdown
43
+ options={ languageOptions }
44
+ value={ props.language }
45
+ onChange={ (language) => {
46
+ props.onRecipeChange( { language } );
47
+ }}
48
+ width={ 300 }
49
+ />
50
+ </FieldContainer>
51
+ }
52
  </Fragment>
53
  );
54
  }
assets/js/admin-modal/recipe/edit/index.js CHANGED
@@ -68,6 +68,7 @@ const EditRecipe = (props) => {
68
  <RecipePostType
69
  slug={ props.recipe.slug }
70
  post_status={ props.recipe.post_status }
 
71
  onRecipeChange={ props.onRecipeChange }
72
  />
73
  )
68
  <RecipePostType
69
  slug={ props.recipe.slug }
70
  post_status={ props.recipe.post_status }
71
+ language={ props.recipe.language }
72
  onRecipeChange={ props.onRecipeChange }
73
  />
74
  )
assets/js/blocks/recipe-snippet/index.js CHANGED
@@ -16,7 +16,7 @@ const {
16
 
17
  registerBlockType( 'wp-recipe-maker/recipe-snippet', {
18
  title: __( 'Recipe Snippet' ),
19
- description: __( 'Display the recipe snippet' ),
20
  icon: 'button',
21
  keywords: [],
22
  example: {
16
 
17
  registerBlockType( 'wp-recipe-maker/recipe-snippet', {
18
  title: __( 'Recipe Snippet' ),
19
+ description: __( 'Displays the recipe snippet template. Usually used for a Jump to Recipe button at the top of the post content.' ),
20
  icon: 'button',
21
  keywords: [],
22
  example: {
assets/js/shared/ApiWrapper.js CHANGED
@@ -46,8 +46,32 @@ export default {
46
  // Log errors in console and try to get as much debug information as possible.
47
  console.log(endpoint, args);
48
  console.log(response);
49
- const message = "Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  const responseDetails = `${response.url} ${response.redirected ? '(redirected)' : ''}- ${response.status} - ${response.statusText}`;
 
51
 
52
  try {
53
  response.text().then(text => {
@@ -56,13 +80,22 @@ export default {
56
  if ( -1 !== text.indexOf( 'rest_cookie_invalid_nonce' ) ) {
57
  // Got logged out.
58
  alert( 'You got logged out or your session expired. Please try logging out of WordPress and back in again.' );
 
59
  } else {
60
- alert( `${message}\r\n\r\n${responseDetails}\r\n\r\n${text}` );
61
  }
62
  })
63
  } catch(e) {
64
  console.log(e);
65
- alert( `${message}\r\n\r\n${responseDetails}\r\n\r\n${e}` );
 
 
 
 
 
 
 
 
66
  }
67
 
68
  return false;
46
  // Log errors in console and try to get as much debug information as possible.
47
  console.log(endpoint, args);
48
  console.log(response);
49
+
50
+ let message = '';
51
+
52
+ // Specific text per status.
53
+ const status = parseInt( response.status );
54
+ let hint = false;
55
+
56
+ if ( 300 <= status && status <= 399 ) {
57
+ hint = 'A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?';
58
+ } else if ( 401 === status || 403 === status ) {
59
+ hint = 'Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.';
60
+ } else if ( 404 === status ) {
61
+ hint = 'The rest API endpoint could not be found. Are your permalinks set up correctly?';
62
+ } else if ( 500 <= status && status <= 599 ) {
63
+ hint = 'The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs.';
64
+ }
65
+
66
+ if ( hint ) {
67
+ message += `${hint}\r\n\r\n`;
68
+ }
69
+
70
+ message += 'Press OK to contact support@bootstrapped.ventures for support (opens an email popup).';
71
+
72
+ // Response details.
73
  const responseDetails = `${response.url} ${response.redirected ? '(redirected)' : ''}- ${response.status} - ${response.statusText}`;
74
+ message += `\r\n\r\n${responseDetails}`;
75
 
76
  try {
77
  response.text().then(text => {
80
  if ( -1 !== text.indexOf( 'rest_cookie_invalid_nonce' ) ) {
81
  // Got logged out.
82
  alert( 'You got logged out or your session expired. Please try logging out of WordPress and back in again.' );
83
+ return false;
84
  } else {
85
+ message += `\r\n\r\n${text}`;
86
  }
87
  })
88
  } catch(e) {
89
  console.log(e);
90
+ message += `\r\n\r\n${e}`;
91
+ }
92
+
93
+ if ( confirm( message ) ) {
94
+ const email = 'support@bootstrapped.ventures';
95
+ const subject = 'WP Recipe Maker Error Message';
96
+ const body = `I received the error message below at ${ window.location.href }\r\n\r\n${ message }`;
97
+
98
+ window.open( `mailto:${ encodeURIComponent( email ) }?subject=${ encodeURIComponent( subject ) }&body=${ encodeURIComponent( body ) }` );
99
  }
100
 
101
  return false;
assets/js/shared/Browser.js CHANGED
@@ -7,3 +7,8 @@ export function isProblemBrowser() {
7
  ie: '>0',
8
  });
9
  }
 
 
 
 
 
7
  ie: '>0',
8
  });
9
  }
10
+
11
+ export function isFirefox() {
12
+ const browser = Bowser.getParser( window.navigator.userAgent );
13
+ return 'Firefox' === browser.parsedResult.browser.name;
14
+ }
dist/admin-dashboard.css CHANGED
@@ -14,15 +14,17 @@
14
 
15
  .wprm-admin-dashboard-feedback-container label{display:block;margin-bottom:5px}
16
 
 
 
 
 
 
 
17
  .wprm-admin-dashboard-learn-container{margin:-10px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container{padding:10px 0;border-top:1px solid #ddd}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container:first-child{border-top:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-title{font-weight:bold;font-size:1.1em}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section{padding:5px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item{padding-top:5px}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a{text-decoration:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a:hover{text-decoration:underline}
18
 
19
  .wprm-admin-dashboard-news-container{max-height:300px;overflow-y:scroll;margin:-10px 0}.wprm-admin-dashboard-news-container a.wprm-admin-dashboard-news-item:hover .wprm-admin-dashboard-news-item-title{text-decoration:underline}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item:first-child{border-top:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date:after{content:' \25CF';font-size:6px;color:darkred;float:right}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-title{font-weight:bold}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label{flex-shrink:0;margin-left:15px;background-color:#2c3338;color:white;font-size:0.9em;padding:2px 6px;border-radius:5px}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-blog{background-color:#2271b1}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-release{background-color:darkgreen}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-partner{background-color:darkred}
20
 
21
  .wprm-admin-dashboard-recipes-container{margin:-10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container .wprm-admin-dashboard-recipes-recipe-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions{flex-shrink:0;margin-left:5px;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions .wprm-admin-dashboard-recipes-recipe-action{margin-left:10px}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all{margin:7px 0 10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a{text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a:hover{text-decoration:underline}
22
 
23
- .wprm-admin-icon{opacity:0.5;margin-top:2px}.wprm-admin-icon:hover{opacity:1;cursor:pointer}.wprm-admin-icon.wprm-admin-icon-hidden{opacity:0.1;cursor:default}.wprm-admin-icon-help{display:inline-block;margin-top:0;margin-left:5px;border:1px solid #444;border-radius:100%;opacity:1;width:16px;height:16px;text-align:center;font-size:12px}.wprm-admin-icon-help svg{width:10px;height:9px;margin-bottom:2px}.wprm-admin-icon-help:hover{background-color:#444}.wprm-admin-icon-help:hover svg g,.wprm-admin-icon-help:hover svg path{fill:white}
24
-
25
- .tippy-touch{cursor:pointer !important}.tippy-notransition{transition:none !important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(0.165, 0.84, 0.44, 1);pointer-events:none}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 9px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;bottom:-10px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 33%;transform-origin:0 33%}.tippy-popper[x-placement^=top] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -55%);transform:scale(1) translate(-50%, -55%);opacity:1}.tippy-popper[x-placement^=top] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 9px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;top:-10px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -45%);transform:scale(1) translate(-50%, -45%);opacity:1}.tippy-popper[x-placement^=bottom] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -5%);transform:scale(0.15) translate(-50%, -5%);opacity:0}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:6px 0}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;right:-10px}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=left] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:6px 0}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;left:-10px}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=right] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,0.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#26323d;box-shadow:0 4px 20px 4px rgba(0,20,60,0.1),0 4px 80px -8px rgba(0,20,60,0.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia]{transition-timing-function:cubic-bezier(0.53, 2, 0.36, 0.85)}.tippy-tooltip [x-arrow]{position:absolute;width:0;height:0}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:130%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;overflow:hidden;transition:all ease}.tippy-tooltip [x-circle]:before{content:"";padding-top:90%;float:left}@media (max-width: 450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}
26
-
27
  .wprm-admin-dashboard-tips-container{margin:-10px;padding-bottom:13px;display:flex;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next{width:30px;text-align:center;font-size:16px;height:100px;display:flex;justify-content:center;align-items:center;opacity:0.3}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev:hover,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next:hover{cursor:pointer;opacity:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips{height:100px;flex:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container{display:none;height:100%;justify-content:center;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container.wprm-admin-dashboard-tip-container-active{display:flex}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip{text-align:center;width:80%;max-width:550px;max-height:90%;overflow-y:scroll}.wprm-admin-dashboard-tips-progress{height:2px;margin:-10px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar{height:100%;background-color:#2271b1}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-odd{animation:progressBarOdd 15s linear}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-even{animation:progressBarEven 15s linear;float:right}@keyframes progressBarOdd{0%{width:0}100%{width:100%}}@keyframes progressBarEven{0%{width:100%}100%{width:0}}
28
 
14
 
15
  .wprm-admin-dashboard-feedback-container label{display:block;margin-bottom:5px}
16
 
17
+ .wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update{float:right;margin-left:10px;margin-bottom:10px}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update.wprm-admin-dashboard-health-check-last-update-ok{color:darkgreen}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update.wprm-admin-dashboard-health-check-last-update-fair{color:darkblue}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update.wprm-admin-dashboard-health-check-last-update-bad{color:darkgoldenrod}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update.wprm-admin-dashboard-health-check-last-update-asap{color:darkred}
18
+
19
+ .wprm-admin-icon{opacity:0.5;margin-top:2px}.wprm-admin-icon:hover{opacity:1;cursor:pointer}.wprm-admin-icon.wprm-admin-icon-hidden{opacity:0.1;cursor:default}.wprm-admin-icon-help{display:inline-block;margin-top:0;margin-left:5px;border:1px solid #444;border-radius:100%;opacity:1;width:16px;height:16px;text-align:center;font-size:12px}.wprm-admin-icon-help svg{width:10px;height:9px;margin-bottom:2px}.wprm-admin-icon-help:hover{background-color:#444}.wprm-admin-icon-help:hover svg g,.wprm-admin-icon-help:hover svg path{fill:white}
20
+
21
+ .tippy-touch{cursor:pointer !important}.tippy-notransition{transition:none !important}.tippy-popper{max-width:400px;-webkit-perspective:800px;perspective:800px;z-index:9999;outline:0;transition-timing-function:cubic-bezier(0.165, 0.84, 0.44, 1);pointer-events:none}.tippy-popper.html-template{max-width:96%;max-width:calc(100% - 20px)}.tippy-popper[x-placement^=top] [x-arrow]{border-top:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;bottom:-7px;margin:0 9px}.tippy-popper[x-placement^=top] [x-arrow].arrow-small{border-top:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;bottom:-5px}.tippy-popper[x-placement^=top] [x-arrow].arrow-big{border-top:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;bottom:-10px}.tippy-popper[x-placement^=top] [x-circle]{-webkit-transform-origin:0 33%;transform-origin:0 33%}.tippy-popper[x-placement^=top] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -55%);transform:scale(1) translate(-50%, -55%);opacity:1}.tippy-popper[x-placement^=top] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow]{border-top:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-top:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-top:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow]{border-top:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-top:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=top] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-top:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=top] [data-animation=perspective]{-webkit-transform-origin:bottom;transform-origin:bottom}.tippy-popper[x-placement^=top] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(-10px) rotateX(0);transform:translateY(-10px) rotateX(0)}.tippy-popper[x-placement^=top] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(90deg);transform:translateY(0) rotateX(90deg)}.tippy-popper[x-placement^=top] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(-10px);transform:translateY(-10px)}.tippy-popper[x-placement^=top] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=top] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(-10px) scale(1);transform:translateY(-10px) scale(1)}.tippy-popper[x-placement^=top] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=bottom] [x-arrow]{border-bottom:7px solid #333;border-right:7px solid transparent;border-left:7px solid transparent;top:-7px;margin:0 9px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-small{border-bottom:5px solid #333;border-right:5px solid transparent;border-left:5px solid transparent;top:-5px}.tippy-popper[x-placement^=bottom] [x-arrow].arrow-big{border-bottom:10px solid #333;border-right:10px solid transparent;border-left:10px solid transparent;top:-10px}.tippy-popper[x-placement^=bottom] [x-circle]{-webkit-transform-origin:0 -50%;transform-origin:0 -50%}.tippy-popper[x-placement^=bottom] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -45%);transform:scale(1) translate(-50%, -45%);opacity:1}.tippy-popper[x-placement^=bottom] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -5%);transform:scale(0.15) translate(-50%, -5%);opacity:0}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow]{border-bottom:7px solid #fff;border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-bottom:5px solid #fff;border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-bottom:10px solid #fff;border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow]{border-bottom:7px solid rgba(0,0,0,0.7);border-right:7px solid transparent;border-left:7px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-bottom:5px solid rgba(0,0,0,0.7);border-right:5px solid transparent;border-left:5px solid transparent}.tippy-popper[x-placement^=bottom] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-bottom:10px solid rgba(0,0,0,0.7);border-right:10px solid transparent;border-left:10px solid transparent}.tippy-popper[x-placement^=bottom] [data-animation=perspective]{-webkit-transform-origin:top;transform-origin:top}.tippy-popper[x-placement^=bottom] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateY(10px) rotateX(0);transform:translateY(10px) rotateX(0)}.tippy-popper[x-placement^=bottom] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateY(0) rotateX(-90deg);transform:translateY(0) rotateX(-90deg)}.tippy-popper[x-placement^=bottom] [data-animation=fade].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=fade].leave{opacity:0;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].enter{opacity:1;-webkit-transform:translateY(10px);transform:translateY(10px)}.tippy-popper[x-placement^=bottom] [data-animation=shift].leave{opacity:0;-webkit-transform:translateY(0);transform:translateY(0)}.tippy-popper[x-placement^=bottom] [data-animation=scale].enter{opacity:1;-webkit-transform:translateY(10px) scale(1);transform:translateY(10px) scale(1)}.tippy-popper[x-placement^=bottom] [data-animation=scale].leave{opacity:0;-webkit-transform:translateY(0) scale(0);transform:translateY(0) scale(0)}.tippy-popper[x-placement^=left] [x-arrow]{border-left:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;right:-7px;margin:6px 0}.tippy-popper[x-placement^=left] [x-arrow].arrow-small{border-left:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;right:-5px}.tippy-popper[x-placement^=left] [x-arrow].arrow-big{border-left:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;right:-10px}.tippy-popper[x-placement^=left] [x-circle]{-webkit-transform-origin:50% 0;transform-origin:50% 0}.tippy-popper[x-placement^=left] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=left] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow]{border-left:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-left:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-left:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow]{border-left:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-left:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=left] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-left:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=left] [data-animation=perspective]{-webkit-transform-origin:right;transform-origin:right}.tippy-popper[x-placement^=left] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(-10px) rotateY(0);transform:translateX(-10px) rotateY(0)}.tippy-popper[x-placement^=left] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(-90deg);transform:translateX(0) rotateY(-90deg)}.tippy-popper[x-placement^=left] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(-10px);transform:translateX(-10px)}.tippy-popper[x-placement^=left] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=left] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(-10px) scale(1);transform:translateX(-10px) scale(1)}.tippy-popper[x-placement^=left] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper[x-placement^=right] [x-arrow]{border-right:7px solid #333;border-top:7px solid transparent;border-bottom:7px solid transparent;left:-7px;margin:6px 0}.tippy-popper[x-placement^=right] [x-arrow].arrow-small{border-right:5px solid #333;border-top:5px solid transparent;border-bottom:5px solid transparent;left:-5px}.tippy-popper[x-placement^=right] [x-arrow].arrow-big{border-right:10px solid #333;border-top:10px solid transparent;border-bottom:10px solid transparent;left:-10px}.tippy-popper[x-placement^=right] [x-circle]{-webkit-transform-origin:-50% 0;transform-origin:-50% 0}.tippy-popper[x-placement^=right] [x-circle].enter{-webkit-transform:scale(1) translate(-50%, -50%);transform:scale(1) translate(-50%, -50%);opacity:1}.tippy-popper[x-placement^=right] [x-circle].leave{-webkit-transform:scale(0.15) translate(-50%, -50%);transform:scale(0.15) translate(-50%, -50%);opacity:0}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-circle]{background-color:#fff}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow]{border-right:7px solid #fff;border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-small{border-right:5px solid #fff;border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.light-theme [x-arrow].arrow-big{border-right:10px solid #fff;border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-circle]{background-color:rgba(0,0,0,0.7)}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow]{border-right:7px solid rgba(0,0,0,0.7);border-top:7px solid transparent;border-bottom:7px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-small{border-right:5px solid rgba(0,0,0,0.7);border-top:5px solid transparent;border-bottom:5px solid transparent}.tippy-popper[x-placement^=right] .tippy-tooltip.transparent-theme [x-arrow].arrow-big{border-right:10px solid rgba(0,0,0,0.7);border-top:10px solid transparent;border-bottom:10px solid transparent}.tippy-popper[x-placement^=right] [data-animation=perspective]{-webkit-transform-origin:left;transform-origin:left}.tippy-popper[x-placement^=right] [data-animation=perspective].enter{opacity:1;-webkit-transform:translateX(10px) rotateY(0);transform:translateX(10px) rotateY(0)}.tippy-popper[x-placement^=right] [data-animation=perspective].leave{opacity:0;-webkit-transform:translateX(0) rotateY(90deg);transform:translateX(0) rotateY(90deg)}.tippy-popper[x-placement^=right] [data-animation=fade].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=fade].leave{opacity:0;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].enter{opacity:1;-webkit-transform:translateX(10px);transform:translateX(10px)}.tippy-popper[x-placement^=right] [data-animation=shift].leave{opacity:0;-webkit-transform:translateX(0);transform:translateX(0)}.tippy-popper[x-placement^=right] [data-animation=scale].enter{opacity:1;-webkit-transform:translateX(10px) scale(1);transform:translateX(10px) scale(1)}.tippy-popper[x-placement^=right] [data-animation=scale].leave{opacity:0;-webkit-transform:translateX(0) scale(0);transform:translateX(0) scale(0)}.tippy-popper .tippy-tooltip.transparent-theme{background-color:rgba(0,0,0,0.7)}.tippy-popper .tippy-tooltip.transparent-theme[data-animatefill]{background-color:transparent}.tippy-popper .tippy-tooltip.light-theme{color:#26323d;box-shadow:0 4px 20px 4px rgba(0,20,60,0.1),0 4px 80px -8px rgba(0,20,60,0.2);background-color:#fff}.tippy-popper .tippy-tooltip.light-theme[data-animatefill]{background-color:transparent}.tippy-tooltip{position:relative;color:#fff;border-radius:4px;font-size:.95rem;padding:.4rem .8rem;text-align:center;will-change:transform;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background-color:#333}.tippy-tooltip--small{padding:.25rem .5rem;font-size:.8rem}.tippy-tooltip--big{padding:.6rem 1.2rem;font-size:1.2rem}.tippy-tooltip[data-animatefill]{overflow:hidden;background-color:transparent}.tippy-tooltip[data-interactive]{pointer-events:auto}.tippy-tooltip[data-inertia]{transition-timing-function:cubic-bezier(0.53, 2, 0.36, 0.85)}.tippy-tooltip [x-arrow]{position:absolute;width:0;height:0}.tippy-tooltip [x-circle]{position:absolute;will-change:transform;background-color:#333;border-radius:50%;width:130%;width:calc(110% + 2rem);left:50%;top:50%;z-index:-1;overflow:hidden;transition:all ease}.tippy-tooltip [x-circle]:before{content:"";padding-top:90%;float:left}@media (max-width: 450px){.tippy-popper{max-width:96%;max-width:calc(100% - 20px)}}
22
+
23
  .wprm-admin-dashboard-learn-container{margin:-10px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container{padding:10px 0;border-top:1px solid #ddd}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container:first-child{border-top:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-title{font-weight:bold;font-size:1.1em}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section{padding:5px 0}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item{padding-top:5px}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a{text-decoration:none}.wprm-admin-dashboard-learn-container .wprm-admin-dashboard-learn-section-container .wprm-admin-dashboard-learn-section-item a:hover{text-decoration:underline}
24
 
25
  .wprm-admin-dashboard-news-container{max-height:300px;overflow-y:scroll;margin:-10px 0}.wprm-admin-dashboard-news-container a.wprm-admin-dashboard-news-item:hover .wprm-admin-dashboard-news-item-title{text-decoration:underline}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-top:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item:first-child{border-top:none}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-date:after{content:' \25CF';font-size:6px;color:darkred;float:right}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item.wprm-admin-dashboard-news-item-new .wprm-admin-dashboard-news-item-title-container .wprm-admin-dashboard-news-item-title{font-weight:bold}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label{flex-shrink:0;margin-left:15px;background-color:#2c3338;color:white;font-size:0.9em;padding:2px 6px;border-radius:5px}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-blog{background-color:#2271b1}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-release{background-color:darkgreen}.wprm-admin-dashboard-news-container .wprm-admin-dashboard-news-item .wprm-admin-dashboard-news-item-label.wprm-admin-dashboard-news-item-label-partner{background-color:darkred}
26
 
27
  .wprm-admin-dashboard-recipes-container{margin:-10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe{display:flex;justify-content:space-between;align-items:center;padding:10px 0;border-bottom:1px solid #ddd;text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container{flex:1;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-name-container .wprm-admin-dashboard-recipes-recipe-date{flex-basis:60px;flex-shrink:0;margin-right:10px;color:#777;font-size:0.9em}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions{flex-shrink:0;margin-left:5px;display:flex;align-items:center}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-recipe .wprm-admin-dashboard-recipes-recipe-actions .wprm-admin-dashboard-recipes-recipe-action{margin-left:10px}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all{margin:7px 0 10px 0}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a{text-decoration:none}.wprm-admin-dashboard-recipes-container .wprm-admin-dashboard-recipes-all a:hover{text-decoration:underline}
28
 
 
 
 
 
29
  .wprm-admin-dashboard-tips-container{margin:-10px;padding-bottom:13px;display:flex;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next{width:30px;text-align:center;font-size:16px;height:100px;display:flex;justify-content:center;align-items:center;opacity:0.3}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-prev:hover,.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips-next:hover{cursor:pointer;opacity:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips{height:100px;flex:1}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container{display:none;height:100%;justify-content:center;align-items:center}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip-container.wprm-admin-dashboard-tip-container-active{display:flex}.wprm-admin-dashboard-tips-container .wprm-admin-dashboard-tips .wprm-admin-dashboard-tip{text-align:center;width:80%;max-width:550px;max-height:90%;overflow-y:scroll}.wprm-admin-dashboard-tips-progress{height:2px;margin:-10px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;overflow:hidden}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar{height:100%;background-color:#2271b1}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-odd{animation:progressBarOdd 15s linear}.wprm-admin-dashboard-tips-progress .wprm-admin-dashboard-tips-progress-bar-even{animation:progressBarEven 15s linear;float:right}@keyframes progressBarOdd{0%{width:0}100%{width:100%}}@keyframes progressBarEven{0%{width:100%}100%{width:0}}
30
 
dist/admin-dashboard.js CHANGED
@@ -1,4 +1,4 @@
1
- var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{9039:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,{scaleBand:function(){return Ka},scaleDiverging:function(){return Ap},scaleDivergingLog:function(){return Cp},scaleDivergingPow:function(){return Lp},scaleDivergingSqrt:function(){return Rp},scaleDivergingSymlog:function(){return Dp},scaleIdentity:function(){return vs},scaleImplicit:function(){return Qa},scaleLinear:function(){return hs},scaleLog:function(){return Ms},scaleOrdinal:function(){return $a},scalePoint:function(){return ec},scalePow:function(){return As},scaleQuantile:function(){return Zs},scaleQuantize:function(){return Fs},scaleRadial:function(){return Rs},scaleSequential:function(){return Sp},scaleSequentialLog:function(){return Op},scaleSequentialPow:function(){return _p},scaleSequentialQuantile:function(){return Tp},scaleSequentialSqrt:function(){return kp},scaleSequentialSymlog:function(){return jp},scaleSqrt:function(){return Cs},scaleSymlog:function(){return _s},scaleThreshold:function(){return Vs},scaleTime:function(){return wp},scaleUtc:function(){return Ip},tickFormat:function(){return ps}});var i=n(73961),o=n(89526);function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const f={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};class p extends o.Component{constructor(t){let e;super(t),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),e=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:e}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const t=window&&window.innerWidth||1/0;let e=this.props.breakpointCols;"object"!=typeof e&&(e={default:parseInt(e)||2});let n=1/0,r=e.default||2;for(let i in e){const o=parseInt(i);o>0&&t<=o&&o<n&&(n=o,r=e[i])}r=Math.max(1,parseInt(r)||1),this.state.columnCount!==r&&this.setState({columnCount:r})}itemsInColumns(){const t=this.state.columnCount,e=new Array(t),n=o.Children.toArray(this.props.children);for(let r=0;r<n.length;r++){const i=r%t;e[i]||(e[i]=[]),e[i].push(n[r])}return e}renderColumns(){const{column:t,columnAttrs:e={},columnClassName:n}=this.props,r=this.itemsInColumns(),i=100/r.length+"%";let a=n;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const u=s(s(s({},t),e),{},{style:s(s({},e.style),{},{width:i}),className:a});return r.map(((t,e)=>o.createElement("div",c({},u,{key:e}),t)))}logDeprecated(t){console.error("[Masonry]",t)}render(){const t=this.props,{children:e,breakpointCols:n,columnClassName:r,columnAttrs:i,column:u,className:s}=t,l=a(t,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let f=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(f="my-masonry-grid")),o.createElement("div",c({},l,{className:f}),this.renderColumns())}}p.defaultProps=f;var d=p,h={default:2,1150:1},v=t=>o.createElement(d,{breakpointCols:h,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},t.blocks.map((t=>{var e=t.block;return o.createElement(e,{key:t.id})}))),y=n(52082),m=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-header"},o.createElement("div",{className:"wprm-admin-dashboard-block-header-title"},t.title),t.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{t.buttonAction()}},t.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},t.children)),g=(n(21682),"undefined"!=typeof window?function(){if(!t)var t={};var e={FONT:"font",VIEW:"view",TRANSFORM:"transform",EASING_FUNCTION:"easing-function",TRANSITION:"transition"},n={};n[e.FONT]={},n[e.VIEW]={},n[e.TRANSFORM]={},n[e.EASING_FUNCTION]={},n[e.TRANSITION]={};var r=function(t,e){if(!n[t])return null;for(var r in e)if(e.hasOwnProperty(r)){if(n[t][r])return null;n[t][r]=e[r]}},i=function(t,e,r){if(!n[t])throw"Can't add extension with type of \""+t+'", "'+t+'" is not a valid extension type. The following types are valid: '+Ze(n);if(!/^[-a-z]+$/.test(e))throw"Can't add extension with name \""+e+'", "'+e+'" is contains invalid characters. Only lowercase alphabetical characters and dashes are allowed.';if(n[t][e])throw"Can't add extension with name \""+e+'", "'+e+'" is already added.';n[t][e]=r},o=function(t,e){if(!n[t])throw"Can't get extension with type of \""+t+'", "'+t+'" is not a valid extension type. The following types are available: '+Ze(n);if(!n[t][e])throw"Can't get extension with name \""+e+'", "'+e+'" is not available. The following extensions are available: '+Ze(n[t]);return n[t][e]},a=2628e6,c={Week:6048e5,Day:864e5,Hour:36e5,Minute:6e4,Second:1e3,Millisecond:1,Month:a,Year:31536e6},u=["Januari","Februari","March","April","May","June","July","August","September","October","November","December"];for(var s in c)if(c.hasOwnProperty(s)){var l=c[s];1===l?(c.mi=l,c.ms=l):l===a?c.M=l:c[s.charAt(0).toLowerCase()]=l,c[s.toLowerCase()]=l,c[s.toLowerCase()+"s"]=l}var f={Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6,Sunday:0},p={M:1,y:12},d=function(t){return t instanceof Date},h=function(t,e){var n=e-t.getDay();return t.setDate(t.getDate()+n),t},v=function(t,e){var n=I(t.getMonth()+1,t.getFullYear());return e="last"===e?n:Math.max(1,Math.min(n,e)),t.setDate(e),t},y=function(t,e){return t.setMonth(u.map((function(t){return t.toLowerCase()})).indexOf(e)),t},m=function(t){var e=6e4*(new Date).getTimezoneOffset();if("Z"===t)return e;var n=t.match(/\+|-|[\d]{2}|[\d]{2}/g);return("-"===n.shift()?-1:1)*(36e5*parseInt(n[0],10)+6e4*parseInt(n[1],10))+e},g=function(t){return new Date(Date.now()+t)},b=function(t,e){return new Date(t.getTime()+e)},x=function(t,e){return t.toDateString()===e.toDateString()},w=function(t,e){return t.getTime()===e.getTime()},I=function(t,e){return new Date(e,t,0).getDate()},E=function(t){return t.match(/(Z)|([+\-][0-9]{2}:?[0-9]*$)/g)?new Date(t):(t+=-1!==t.indexOf("T")?"Z":"",M(new Date(t)))},M=function(t){return new Date(t.getTime()+6e4*t.getTimezoneOffset())},S=function(t,e){return e.map((function(e){var n=c[e],r=Math.max(0,Math.floor(t/n));return t%=n,r}))},O=function(t,e,n){var r=e-t,i=!1;if(r<0){r=t-e;var o=[e,t];t=o[0],e=o[1],i=!0}n||(n=["d","h","m"]);var a=n.indexOf("m");a>=0&&("y"===n[a-1]||"d"===n[a+1])&&(n[a].key="M");var u=void 0,s=void 0,l=void 0,f=n.includes("y"),d=n.includes("M");(d||f)&&(u=new Date(t.valueOf()+r),s=P(u,t),l=d?Math.floor(s):12*Math.floor(s/12),r=u.valueOf()-T(k(t),l).valueOf());var h=n.map((function(t){if("y"===t||"M"===t){var e=Math.max(0,Math.floor(s/p[t]));return s-=e*p[t],e}var n=c[t],i=Math.max(0,Math.floor(r/n));return r%=n,i}));return i?h.map((function(t){return t>0?-t:t})):h},j=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if("number"==typeof e[0]&&"string"==typeof e[1]){if(!c[e[1]])throw'"'+e[1]+'" is not a valid amount.';return e[0]*c[e[1]]}return d(e[0])?O.apply(void 0,e):"number"==typeof e[0]&&Array.isArray(e[1])?S.apply(void 0,e):null},_=function(){return new Date},k=function(t){return new Date(t.valueOf())},T=function(t,e){return t.setMonth(t.getMonth()+e),t},P=function(t,e){var n=12*(e.getFullYear()-t.getFullYear())+(e.getMonth()-t.getMonth()),r=T(k(t),n);return-(n+(e-r<0?(e-r)/(r-T(k(t),n-1)):(e-r)/(T(k(t),n+1)-r)))},N=function(t){return{destroy:function(){t.destroyed=!0,t.frame&&cancelAnimationFrame(t.frame),t.styleObserver&&t.styleObserver.disconnect(),t.didResizeWindow&&window.removeEventListener("resize",t.didResizeWindow),t.root&&t.root.parentNode&&t.root.parentNode.removeChild(t.root)}}},A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("span"),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.root=e,t.aligned=null,t.destroyed=!1,e&&n&&(t.root.classList.add("tick-"+n),t.root.setAttribute("data-view",n)),e&&e.dataset.layout&&(t.align=(e.dataset.layout.match(/left|right|center/)||[])[0]||"left"),{appendTo:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"last";!t.root||t.root&&t.root.parentNode||("last"!==n?("first"===n&&(0===e.childNodes.length?e.appendChild(t.root):0===e.children.length&&e.childNodes.length?e.insertBefore(t.root,e.childNodes[e.childNodes.length-1]):e.insertBefore(t.root,e.children[0])),"string"!=typeof n&&e.insertBefore(t.root,n)):e.childNodes.length&&e.childNodes[e.childNodes.length-1].nodeType===Node.TEXT_NODE?e.insertBefore(t.root,e.childNodes[e.childNodes.length-1]):e.appendChild(t.root))}}},C=function(t,e){return t.definition=e,{setDefinition:function(e){t.definition=e}}},D=function(t,e,n,r){return{draw:function(){if(!t.dirty){if(n)n(t)&&L(t);return!1}return e(t,r),L(t),t.dirty=!1,!0}}},L=function(t){if(!t.fit){if(!t.root||!(t.root.getAttribute("data-layout")||"").match(/fit/))return void(t.fit=!1);var e=window.getComputedStyle(t.root,null);t.fit=!0,t.fitInfo={currentFontSize:parseInt(e.getPropertyValue("font-size"),10)}}t.fitInfo.availableWidth=t.root.parentNode.clientWidth,t.fitInfo.currentWidth=t.root.scrollWidth;var n=Math.min(Math.max(4,t.fitInfo.availableWidth/t.fitInfo.currentWidth*t.fitInfo.currentFontSize),1024);Math.abs(n-t.fitInfo.currentFontSize)<=1||(t.fitInfo.currentFontSize=n,t.root.style.fontSize=t.fitInfo.currentFontSize+"px")},R=function(t){return t.dirty=!0,t.value=null,t.valueUpdateCount=0,t.isInitialValue=function(){return t.valueUpdateCount<=1},{reset:function(){t.dirty=!0,t.value=null,t.valueUpdateCount=0},update:function(e){He(t.value,e)||(t.value=e,t.valueUpdateCount++,t.dirty=!0)}}},z=function(t){t.didResizeWindow=function(){t.dirty=!0},window.addEventListener("resize",t.didResizeWindow)},W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},H=(function(){function t(t){this.value=t}function e(e){var n,r;function i(n,r){try{var a=e[n](r),c=a.value;c instanceof t?Promise.resolve(c.value).then((function(t){i("next",t)}),(function(t){i("throw",t)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(t,e){switch(t){case"return":n.resolve({value:e,done:!0});break;case"throw":n.reject(e);break;default:n.resolve({value:e,done:!1})}(n=n.next)?i(n.key,n.arg):r=null}this._invoke=function(t,e){return new Promise((function(o,a){var c={key:t,arg:e,resolve:o,reject:a,next:null};r?r=r.next=c:(n=r=c,i(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}(),function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}),U=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},G=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},Z=function(t,e){var n=(t.definition||[]).concat();"right"===t.align&&n.reverse();var r=Array.isArray(t.value)?t.value.concat():"object"===W(t.value)?Ae(t.value):t.value;n.forEach((function(n){if(!n.presenter){if(t.update=e(n),!n.presenter)return;n.presenter.appendTo(t.root)}})),n.filter((function(t){return void 0!==t.presenter})).forEach((function(e){Array.isArray(r)&&t.valueMapping?t.update(e,"indexes"===t.valueMapping?"right"===t.align?r.pop():r.shift():r):e.key&&void 0!==r[e.key]?t.update(e,r[e.key]):t.update(e,r)})),t.views=n,F(t)},F=function(t){var e=!1;return t.views.filter((function(t){return void 0!==t.presenter})).forEach((function(t){t.presenter.draw()&&(e=!0)})),e},V=function(t,e,n){var r=Ce(Array.isArray(t.value)?t.value:(t.value+"").split(""));if("right"===t.align&&r.reverse(),t.definitions.length>r.length)for(;t.definitions.length>r.length;){t.definitions.pop().presenter.destroy()}r.forEach((function(n,r){var i=t.definitions[r];i||(i=t.definitions[r]=ce(t.definition),t.update=e(i),i.presenter.appendTo(t.root,"right"===t.align?"first":"last"))})),r.forEach((function(e,n){return t.update(t.definitions[n],e)})),t.views=r,J(t)},J=function(t){var e=!1;return t.views.forEach((function(n,r){t.definitions[r].presenter.draw()&&(e=!0)})),e},Y="undefined"==typeof document?null:function(){for(var t=["webkit","Moz","ms","O"],e=0,n=t.length,r=document.createElement("div").style;e<n;e++)if(t[e]+"Transform"in r)return t[e];return null}(),q=function(t,e){var n=document.createElement(t);return e&&(n.className=e),n},X=function(t,e,n){var r=new MutationObserver((function(r){e.forEach((function(i){r.filter((function(t){return e.includes(t.attributeName)})).length&&n(t.getAttribute(i))}))}));return r.observe(t,{attributes:!0}),r},Q=function(t){return t instanceof HTMLElement},$=function(t,e){t.style.transformOrigin=e},K=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t.transforms||(t.transforms=[]);var i=t.transforms.find((function(t){return t.name===e}));i?i.value=n:t.transforms.push({name:e,value:n,unit:r}),tt(t,t.transforms)},tt=function(t,e){t.style.transform=e.map((function(t){return t.name+"("+t.value+t.unit+")"})).join(" ")},et=function(t){var e=t.getBoundingClientRect();return!(e.bottom<0)&&!(e.top>window.scrollY+window.innerHeight)},nt=function(t){return t.trim()},rt={},it=function(t,e){var n=e.toString();return rt[n]||(rt[n]={}),rt[n][t]||(rt[n][t]=e(t)),rt[n][t]},ot=new RegExp("^[0-9]+$"),at=new RegExp("^(true|false)$"),ct=new RegExp("^[0-9.]+$"),ut=new RegExp("color"),st=new RegExp("shadow"),lt=new RegExp("^(follow-gradient|horizontal-gradient|vertical-gradient)"),ft=new RegExp("^[.0-9]+(?:ms|s){1}$"),pt=new RegExp("^transition-?(?:in|out)?$"),dt=new RegExp("^url\\("),ht=function(t){return t?parseFloat(t)*(/ms$/.test(t)?1:1e3):0},vt=function(t){return t.match(/[a-z]+(?:\(.*?\))?\s?(?:origin\(.*?\))?\s?(?:[a-z]+\(.*?\))?[ .a-z-0-9]*/g).map(yt)},yt=function(t){var e=t.match(/([a-z]+(?:\(.*?\))?)\s?(?:origin\((.*?)\))?\s?([a-z]+(?:\(.*?\))?)?\s?(?:([.0-9ms]+)?\s?(?:(ease-[a-z-]+))?\s?([.0-9ms]+)?)?/),n=ye(e[1]),r=void 0,i=void 0,o=void 0,a=void 0,c=void 0;return e.slice(2).filter((function(t){return void 0!==t})).forEach((function(t){ft.test(t)?void 0===i?i=ht(t):a=ht(t):/ /.test(t)?r=t:/^ease-[a-z-]+$/.test(t)?o=t:/^[a-z]+/.test(t)&&(c=ye(t))})),c&&(i=void 0,o=void 0),{name:n.name,parameters:n.parameters,duration:i,ease:o,delay:a,origin:r,resolver:c}},mt=function(t){var e=t.match(/follow-gradient|horizontal-gradient|vertical-gradient/)[0];return{type:e,colors:t.substr(e.length).match(/(?:transparent|rgb\(.*?\)|hsl\(.*?\)|hsla\(.*?\)|rgba\(.*?\)|[a-z]+|#[abcdefABCDEF\d]+)\s?(?:[\d]{1,3}%?)?/g).map(bt)}},gt=/\s([\d]{1,3})%?$/,bt=function(t){var e=t.match(gt);return{offset:e?parseFloat(e[1])/100:null,value:Mt(t.replace(gt,""))}},xt=[],wt=function(t,e){return xt[t]?xt[t].find((function(t){return t.node.parentNode===e})):null},It=function(t,e){xt[t]||(xt[t]=[]),xt[t].push(e)},Et="undefined"==typeof document?function(t){return 0}:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(0==t)return 0;if(n){var r=wt(n,e)||{};return r.node||(r.node=document.createElement("span"),r.node.style.cssText="position:absolute;padding:0;visibility:hidden;",e.appendChild(r.node)),r.node.style.marginTop=t,r.style||(r.style=window.getComputedStyle(r.node)),It(n,r),parseInt(r.style.marginTop,10)}var i=document.createElement("span");return i.style.cssText="position:absolute;padding:0;visibility:hidden;margin-top:"+t,e.appendChild(i),requestAnimationFrame((function(){i.parentNode.removeChild(i)})),parseInt(window.getComputedStyle(i).marginTop,10)},Mt="undefined"==typeof document?function(t){return t}:function(t){if("transparent"===t)return"rgba(0,0,0,0)";var e=document.createElement("span");return e.style.cssText="position:absolute;visibility:hidden;color:"+t,document.body.appendChild(e),requestAnimationFrame((function(){e.parentNode.removeChild(e)})),window.getComputedStyle(e).getPropertyValue("color")},St=function(t){return"string"!=typeof t?t:t.match(/([-.\d]+(?:%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?)|[%#A-Za-z0-9,.()]+/g)},Ot=function(t){var e=t.split(":").map(nt),n=function(t){return t.trim().split("-").map((function(t,e){return e>0?function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t):t})).join("")}(e[0]),r=function(t,e){return at.test(t)?function(t){return"string"==typeof t?"true"===t:t}(t):ot.test(t)?parseInt(t,10):ct.test(t)?parseFloat(t):dt.test(t)?1===(n=t.match(/url\((.*?)\)/g).map((function(t){return t.substring(4,t.length-1)}))).length?n[0]:n:ut.test(e)?lt.test(t)?it(t,mt):it(t,Mt):st.test(e)?it(t,St):pt.test(e)?"none"===t?t:it(t,vt):t;var n}(e[1],e[0]);return n&&null!=r?{property:n,value:r}:null},jt=function(t){return t},_t=function(t){return t<.5?2*t*t:(4-2*t)*t-1},kt={"ease-linear":jt,"ease-in-sine":function(t){return-1*Math.cos(t*(Math.PI/2))+1},"ease-out-sine":function(t){return Math.sin(t*(Math.PI/2))},"ease-in-out-sine":function(t){return-.5*(Math.cos(Math.PI*t)-1)},"ease-in-cubic":function(t){return t*t*t},"ease-out-cubic":function(t){var e=t-1;return e*e*e+1},"ease-in-out-cubic":function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},"ease-in-circ":function(t){var e=t/1;return-1*(Math.sqrt(1-e*t)-1)},"ease-out-circ":function(t){var e=t-1;return Math.sqrt(1-e*e)},"ease-in-out-circ":function(t){var e=2*t,n=e-2;return e<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-n*n)+1)},"ease-in-quad":function(t){return t*t},"ease-out-quad":function(t){return t*(2-t)},"ease-in-out-quad":_t,"ease-in-quart":function(t){return t*t*t*t},"ease-out-quart":function(t){return 1- --t*t*t*t},"ease-in-out-quart":function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},"ease-in-expo":function(t){return 0===t?0:Math.pow(2,10*(t-1))},"ease-out-expo":function(t){return 1===t?1:1-Math.pow(2,-10*t)},"ease-in-out-expo":function(t){if(0===t||1===t)return t;var e=2*t,n=e-1;return e<1?.5*Math.pow(2,10*n):.5*(2-Math.pow(2,-10*n))},"ease-in-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=t/1;return n*n*((e+1)*n-e)},"ease-out-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=t/1-1;return n*n*((e+1)*n+e)+1},"ease-in-out-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=2*t,r=n-2,i=1.525*e;return n<1?.5*n*n*((i+1)*n-i):.5*(r*r*((i+1)*r+i)+2)},"ease-out-elastic":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7,n=1-e,r=2*t;if(0===t||1===t)return t;var i=n/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*r)*Math.sin((r-i)*(2*Math.PI)/n)+1},"ease-out-bounce":function(t){var e=t/1;if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var n=e-1.5/2.75;return 7.5625*n*n+.75}if(e<2.5/2.75){var r=e-2.25/2.75;return 7.5625*r*r+.9375}var i=e-2.625/2.75;return 7.5625*i*i+.984375}};r(e.EASING_FUNCTION,kt);var Tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:jt,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return Pt((function(e){t(r(e))}),e,n,i)},Pt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!t)return null;var i=null,o=void 0,a=null,c=function c(u){if(null===i&&(i=u),(o=u-i-r)<n)return t(o>=0?o/n:0),a=requestAnimationFrame(c),null;t(1),e&&e()};return c(ze()),function(){cancelAnimationFrame(a)}},Nt=function(){var t=1e3/24,e=null,n={velocity:0,origin:0,position:0,destination:1},r=function(){cancelAnimationFrame(e)};return{getPosition:function(){return n.position},cancel:r,translate:function(i,o,a,c){r(),null===a?n.destination=o:(n.position=o,n.destination=a,n.velocity=0),n.origin=n.position;var u=null;!function o(a){e=requestAnimationFrame(o),u||(u=a);var s=a-u;s<=t||(u=a-s%t,c(n,r),i(n.position))}(ze())}}},At=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=Nt(),o={update:null,cancel:i.cancel,getPosition:i.getPosition};return"arrive"===t?o.update=Ct.apply(void 0,[i.translate].concat(n)):"spring"===t?o.update=Lt.apply(void 0,[i.translate].concat(n)):"step"===t&&(o.update=Dt.apply(void 0,[i.translate].concat(n))),o},Ct=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(r,i,o,(function(t,r){var i=t.destination-t.position,o=t.origin+.5*(t.destination-t.origin);t.velocity+=2*(-(o-t.origin)+i)*n,t.position+=t.velocity<0?Math.max(t.velocity,-e):Math.min(t.velocity,e),(t.origin<t.destination&&t.position>=t.destination||t.origin>=t.destination&&t.position<=t.destination)&&(r(),t.velocity=0,t.position=t.destination)}))}},Dt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01;return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(n,r,i,(function(t,n){t.velocity=e,t.position+=t.velocity,(t.origin<t.destination&&t.position>=t.destination||t.origin>=t.destination&&t.position<=t.destination)&&(n(),t.velocity=0,t.position=t.destination)}))}},Lt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(i,o,a,(function(t,i){var o=-(t.position-t.destination)*e;t.velocity+=o/r,t.position+=t.velocity,t.velocity*=n,Rt(t.position,t.destination,t.velocity)&&(i(),t.position=t.destination,t.velocity=0)}))}},Rt=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.001;return Math.abs(t-e)<r&&Math.abs(n)<r},zt=function(t){var e=t.map((function(t){return Ht(Wt(t.name,t.parameters,t.ease),t.origin,t.duration,t.delay)}));return function(t,n,r){if(!Q(t))return!1;var i=e.length;e.forEach((function(e){e(t,n,(function(){!--i&&r&&r(t)}))}))}},Wt=function(t,n,r){var i=r?o(e.EASING_FUNCTION,r):r,a=o(e.TRANSITION,t);return function(t,e,r){a.apply(void 0,[t,r,e,i].concat(G(n)))}},Ht=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"50% 50% 0",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments[3];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments[2];$(i,e),Pt((function(e){t(i,o,e)}),a,n,r)}},Ut=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.lastAppliedStyles=null,Bt(t,e,t.root.dataset.style),t.styleObserver=X(t.root,["data-style"],(function(n){Bt(t,e,n)})),{setStyle:function(n){Bt(t,e,n)}}},Bt=function(t,n,r){if(t.lastAppliedStyles!==r){t.lastAppliedStyles=r,t.style=r?_e(n,function(t){return t.split(";").filter((function(t){return t.trim().length})).map(Ot).filter((function(t){return null!==t})).reduce((function(t,e){return t[e.property]=e.value,t}),{})}(r)):n;var i=[],a=[];t.style.transitionIn&&t.style.transitionIn.length?(i=t.style.transitionIn,a=t.style.transitionOut):t.style.transition&&"none"!==t.style.transition&&t.style.transition.forEach((function(t){var n=function(t){return o(e.TRANSITION,t.name).apply(void 0,G(t.parameters||[]))}(t);i=i.concat(n.intro),a=a.concat(n.outro)})),i&&a&&(t.transitionIn=zt(i),t.transitionOut=zt(a),t.skipToTransitionInEnd=zt(i.map(Gt)),t.skipToTransitionOutEnd=zt(a.map(Gt))),t.dirty=!0}},Gt=function(t){var e=Ae(t);return e.duration=0,e.delay=0,e},Zt=function(t){return t[Y+"BackingStorePixelRatio"]||t.backingStorePixelRatio||1},Ft=function(){return window.devicePixelRatio||1},Vt=function(t){t.getContext("2d").clearRect(0,0,t.width,t.height)},Jt={text:function(){return function(t){var e={};return Object.assign({},A(e,t,"text"),R(e),D(e,(function(t){t.root.setAttribute("data-value",t.value),function(t,e){var n=t.childNodes[0];n?e!==n.nodeValue&&(n.nodeValue=e):(n=document.createTextNode(e),t.appendChild(n))}(t.root,t.value)})),N(e))}}};r(e.VIEW,Jt);var Yt=function(t,e,n){return function(t,e,n){var r={valueMapping:null};if(t&&t.dataset.valueMapping){var i=t.dataset.valueMapping;r.valueMapping=-1!==["none","indexes"].indexOf(i)?i:null}return Object.assign({},A(r,t),z(r),R(r),C(r,e),D(r,Z,F,n),N(r))}(t,e,n)},qt=function(t,e,n){return function(t,e,n){var r={definitions:[]};return Object.assign({},A(r,t),R(r),C(r,e),D(r,V,J,n),N(r))}(t,e,n)},Xt=function(t,n,r){var i=o(e.VIEW,t);return i?i({Extension:{Type:e,getExtension:o},Utils:{toPixels:Et,toColor:Mt},Canvas:{clear:Vt,getDevicePixelRatio:Ft,getBackingStoreRatio:Zt},DOM:{visible:et,create:q,transform:K},Animation:{animate:Tt},Data:{request:We},Date:{performance:ze},View:{rooter:A,drawer:D,updater:R,styler:Ut,grouper:C,resizer:z,destroyer:N}})(n,r):null},Qt=function(t,e){return"-"===t[e]&&">"===t[e+1]},$t=function(t){return"'"===t||'"'===t},Kt=function(t){return","===t},te=function(t){return"("===t},ee=function(t){return")"===t},ne=function(t){return 0!==t.trim().length},re=function(t,e){return t.push(e.trim())},ie=function(t,e){return ne(e)?(re(t,e),""):e},oe=function(t,e){return t.length&&e.push(t.length>1?t.concat():t[0]),[]},ae=function t(e,n,r){for(var i="",o=[],a=null,c=!1;e<n.length;){var u=n[e];if(te(u)){c=!1;var s=[i.trim()];u=n[e=t(e+1,n,s)],o.push(s),i=""}else{if(ee(u))return c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),ne(i)&&re(o,i),o=oe(o,r),e+1;null!==a&&u!==a?i+=u:u===a?(o.push(i),i="",a=null):$t(u)?(i="",a=u):Qt(n,e)?(c=!0,i.trim().length&&(o.push([i.trim()]),i=""),e+=2):Kt(u)?(c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),o=oe(o,r),i=ie(r,i)):i+=u,e++}}return(c&&i.trim().length||!c&&i.trim().length&&!o.length)&&(o.push([i.trim()]),i=""),oe(o,r),ie(r,i),e},ce=function t(e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="root"!==r?"children"!==r?"repeat"!==r?e[r]:null===e[r]?null:t(e[r]):null===e[r]?null:e[r].map(t):e[r].cloneNode());return n.presenter=null,n},ue={root:null,key:null,view:null,overlay:null,presenter:null,transform:null,layout:null,style:null,repeat:null,children:null,className:null},se=function t(e){return Array.from(e).map((function(e){var n=_e(ue,{root:e});for(var r in e.dataset)e.dataset.hasOwnProperty(r)&&void 0!==n[r]&&(n[r]=e.dataset[r]);return n.repeat?(n.repeat=t(e.children).pop(),Array.from(e.children).forEach((function(t){t.parentNode.removeChild(t)}))):e.children.length&&(n.children=t(e.children)),n}))},le=function t(e){return e.map((function(e){return"string"==typeof(e=_e(ue,e)).root?e.root=document.createElement(e.root):e.root=document.createElement("span"),e.transform&&(e.root.dataset.transform=e.transform),e.className&&(e.root.className=e.className),e.overlay&&(e.root.dataset.overlay=e.overlay),e.view?(e.root.dataset.view=e.view,e.style&&(e.root.dataset.style=e.style),e.repeat=null):(e.layout&&(e.root.dataset.layout=e.layout),e.repeat?(e.root.dataset.repeat=!0,e.repeat=t(e.children).pop()):e.children&&(e.children=t(e.children),e.children.forEach((function(t){e.root.appendChild(t.root)})))),e}))},fe=function(t){var e=!1,n=function(n,i){n.transform(i,(function(t){n.presenter.update(t)}),t),e||(e=!0,r())},r=function e(){t.baseDefinition.presenter.draw(),requestAnimationFrame(e)};return function e(r){return r.presenter=function(t,e){var n=void 0;return t.repeat?n=qt(t.root,t.repeat,e):"string"==typeof t.view?n=Xt(t.view,t.root,t.style):function(t){return t.children&&t.children.length}(t)&&(n=Yt(t.root,t.children,e)),n}(r,e),r.transform=he(r.transform,t),n}(t.baseDefinition)},pe=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return function(e,r){!function e(i,o){n.length<=i?r(o):n[i](o,de(e,[i+1]),t)}(0,e)}},de=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];return function(){var r=Array.from(e);return Array.prototype.push.apply(r,arguments),t.apply(n,r)}},he=function(t,e){if(!t)return function(t,e){return e(t)};if("function"==typeof t)return t;var n=function(t){var e=[];return ae(0,t,e),e}("transform("+(/^[a-z]+$/.test(t)?t+"()":t)+")");return ve(n,e)},ve=function t(n,r){var i=n.map((function(n){var i=n.shift(),a=o(e.TRANSFORM,i)||function(t,e,n){e(t)},c=n.map((function(e){return Array.isArray(e)?"string"==typeof e[0]?t([e],r):t(e,r):Oe(e)}));return a.apply(void 0,G(c))}));return pe.apply(void 0,[r].concat(G(i)))},ye=function(t){var e=t.match(/[a-z]+/)[0];return{name:e,parameters:me(t.substring(e.length))}},me=function(t){return(t.match(/('.+?')|(".+?")|(\[.+?])|([.:\-\d\sa-zA-Z]+%?)/g)||[]).map(Ne).filter((function(t){return t.length})).map(Oe)},ge=function(t){return t.substring(1,t.length-1)},be=/^([\d]{4}-[\d]{1,2}-[\d]{1,2})/,xe=/^(true|false)$/,we=/^[\a-zA-Z]+$/,Ie=/^0[\d]+/,Ee=/^('|")/,Me=/^-?(?:\d+)?(?:\.|0\.)?[\d]+$/,Se=/^(\[)/,Oe=function(t){return xe.test(t)?"true"===t:Se.test(t)?me(ge(t)):be.test(t)?E(t):Ee.test(t)?ge(t):we.test(t)||Ie.test(t)?t:Me.test(t)?parseFloat(t):t},je=function(t){var e=(t+"").match(/(-?[.\d]+)(%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?/);return{value:parseFloat(e[1]),units:e[2]}},_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]=void 0===e[n]?t[n]:e[n]);return r},ke=function(t){var e=window,n=t.split(".");return n.forEach((function(t,r){e[n[r]]&&(e=e[n[r]])})),e!==window?e:null},Te=function(t){return/^(?:[\w]+\s?:\s?[\w.]+,\s?)+(?:[\w]+\s?:\s?[\w.]+)$/g.test(t)?t.match(/(?:(\w+)\s?:\s?([\w.]+))/g).reduce((function(t,e){var n=e.split(":");return t[n[0]]=Oe(n[1]),t}),{}):Oe(t)},Pe=function(t){return parseInt(t,10)},Ne=function(t){return t.trim()},Ae=function(t){return"object"===(void 0===t?"undefined":W(t))&&null!==t?JSON.parse(JSON.stringify(t)):t},Ce=function(t){return t.slice()},De=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t+Math.random()*(e-t)},Le=function(t){for(var e=[],n=0;n<t;n++)e.push(n);return e},Re=function(t){for(var e=t.length;e;e--){var n=Math.floor(Math.random()*e),r=[t[n],t[e-1]];t[e-1]=r[0],t[n]=r[1]}},ze=function(){return window.performance.now()},We=function(t,e,n,r){var i=new XMLHttpRequest;r&&r(i),i.open("GET",t,!0),i.onload=function(){e(i.response)},n&&(i.onerror=function(){n(i,i.status)}),i.send()},He=function(t,e){return Ue(t)?Be(t,e):Array.isArray(t)?Ge(t,e):t===e},Ue=function(t){return t===Object(t)},Be=function(t,e){for(var n in t)if(!e.hasOwnProperty(n)||t[n]!==e[n])return!1;return!0},Ge=function(t,e){return t.length==e.length&&t.every((function(t,n){return t===e[n]}))},Ze=function(t){return Object.keys(t).map((function(t){return'"'+t+'"'})).join(", ")},Fe=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");H(this,t),this._options=_e(t.options(),e),this._element=n,this._value=null,this._observer=null,this._viewDefinition=null,this._constants=null,this._presets=null,this._updater=null,this._didInit=null,this._didDestroy=null,this._willDestroy=null,this._didUpdate=null,this._init()}return U(t,[{key:"isRootElement",value:function(t){return this._element===t}},{key:"setConstant",value:function(t,e){this._constants[t]=e}},{key:"getConstants",value:function(){return this._constants}},{key:"getConstant",value:function(t){return this._constants[t]}},{key:"setPreset",value:function(t,e){this._presets[t]=e}},{key:"getPreset",value:function(t){return this._presets[t]}},{key:"destroy",value:function(){this._willDestroy(this),this._observer.disconnect(),this.baseDefinition.presenter.destroy(),this._didDestroy(this)}},{key:"redraw",value:function(){this.baseDefinition&&this.baseDefinition.presenter&&(this.baseDefinition.presenter.reset(),this.baseDefinition.presenter.draw(),this._updater(this.baseDefinition,this._value))}},{key:"_init",value:function(){var t=this;this._viewDefinition=this._options.view,this._willDestroy=this._options.willDestroy,this._didDestroy=this._options.didDestroy,this._didInit=this._options.didInit,this._didUpdate=this._options.didUpdate,this._value=this._options.value,this._presets=this._options.presets,this._constants=this._options.constants,this._element.classList.contains("tick")||this._element.classList.add("tick"),this._observer=X(this._element,["data-value"],(function(e){t.value=e})),this._viewDefinition.root!==this._element&&(Array.from(this._viewDefinition.root.children).forEach((function(e){t._element.appendChild(e)})),this._viewDefinition.root=this._element),this._viewDefinition.view||this._viewDefinition.children||(this._viewDefinition.view="text"),this._updater=fe(this),null!==this.value&&this._update(this.value),this._element.dataset.state="initialised",this._didInit(this,this.value)}},{key:"_update",value:function(t){this._updater(this.baseDefinition,t),this._didUpdate(this,t)}},{key:"baseDefinition",get:function(){return this._viewDefinition}},{key:"root",get:function(){return this._element}},{key:"value",get:function(){return this._value},set:function(t){this._value="string"==typeof t?Te(t):t,this._update(t)}}],[{key:"options",value:function(){return{constants:Ye(),presets:qe(),value:null,view:null,didInit:function(t){},didUpdate:function(t,e){},willDestroy:function(t){},didDestroy:function(t){}}}}]),t}(),Ve=function(t,e,n,r){return{label:1===t?e:n,progress:t/r,value:t}},Je=[],Ye=function(){return Xe},qe=function(){return Qe},Xe={YEAR_PLURAL:"Years",YEAR_SINGULAR:"Year",MONTH_PLURAL:"Months",MONTH_SINGULAR:"Month",WEEK_PLURAL:"Weeks",WEEK_SINGULAR:"Week",DAY_PLURAL:"Days",DAY_SINGULAR:"Day",HOUR_PLURAL:"Hours",HOUR_SINGULAR:"Hour",MINUTE_PLURAL:"Minutes",MINUTE_SINGULAR:"Minute",SECOND_PLURAL:"Seconds",SECOND_SINGULAR:"Second",MILLISECOND_PLURAL:"Milliseconds",MILLISECOND_SINGULAR:"Millisecond"},Qe={y:function(t,e){return Ve(t,e.YEAR_SINGULAR,e.YEAR_PLURAL,10)},M:function(t,e){return Ve(t,e.MONTH_SINGULAR,e.MONTH_PLURAL,12)},w:function(t,e){return Ve(t,e.WEEK_SINGULAR,e.WEEK_PLURAL,52)},d:function(t,e){return Ve(t,e.DAY_SINGULAR,e.DAY_PLURAL,365)},h:function(t,e){return Ve(t,e.HOUR_SINGULAR,e.HOUR_PLURAL,24)},m:function(t,e){return Ve(t,e.MINUTE_SINGULAR,e.MINUTE_PLURAL,60)},s:function(t,e){return Ve(t,e.SECOND_SINGULAR,e.SECOND_PLURAL,60)},mi:function(t,e){return Ve(t,e.MILLISECOND_SINGULAR,e.MILLISECOND_PLURAL,1e3)}},$e={value:Te,didInit:ke,didUpdate:ke,didDestroy:ke,willDestroy:ke},Ke=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.dataset,i={meta:{}};for(var o in r)if(r.hasOwnProperty(o)){var a=e[o],c=r[o];a&&(c=null===(c=a(c))?Ae(n[o]):c,i[o]=c)}return i},tn=function(t){var e=Je.filter((function(e){return e.isRootElement(t)}));return e?e[0]:null},en=function(){return B({},Fe.options(),{constants:B({},Xe),presets:B({},Qe)})},nn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&!Q(t)&&(e=t,t=void 0),!t||!tn(t)){e&&e.view&&(e.view=le([e.view])[0]),!e&&t&&(e=Ke(t,$e,en())),t&&(e||(e={}),e.view||(e.view=se([t])[0]));var n=new Fe(e,t);return Je.push(n),n}},rn=function(t){return function(){setTimeout(t,0)}},on=function(){return Date.now()},an=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_e({autostart:!0},n),i=null,o=null,a=null,c=0,u=null,s=!1,l=null,f=function(){return s},p=function(){return null!==o},d=function(){return document.hidden},h=function n(){var r=on(),a=i-r,u=e+a;i=r+u,t(r-o-c+a),l=setTimeout(n,u)},v=function(){f()?b():p()||(o=on(),setTimeout((function(){t(0)}),0),S(),d()?I():(i=on()+e,l=setTimeout((function(){h()}),e)))},y=function(){clearTimeout(l),l=null,o=null,i=null,a=null,c=0,u=null,s=!1,M()},m=function(){y(),v()},g=function(){p()&&!d()&&(s=!0,M(),x())},b=function(){f()&&p()&&!d()&&(s=!1,S(),w())},x=function(){clearTimeout(l),a=on(),u=i-a},w=function(){c+=on()-a,a=null,i=on()+u,l=setTimeout((function(){h()}),u)},I=function(){x()},E=function(){p()&&w()},M=function(){document.removeEventListener("visibilitychange",O)},S=function(){document.addEventListener("visibilitychange",O)},O=function(){d()?I():E()};return r.autostart&&v(),{start:v,stop:rn(y),reset:rn(m),pause:rn(g),resume:b}},cn=function(t){/^[\d]+/.test(t)||(t="1 "+t);var e=t.split(" ");return parseFloat(e[0])*c[e[1].toLowerCase()]},un=function(t,e){return function(t,e){return t.setHours(e[0]||0,e[1]||0,e[2]||0,e[3]||0),t}(t,e.split(":").map(Pe))},sn=function(t,e){var n=e.match(/((?:[\d]+\s)?(?:hours|hour|minutes|minute|seconds|second))|((?:from|till)\s[\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(t,e){return/from/.test(e)?t.from=un(t.from,e.split(" ")[1]):/till/.test(e)?t.till=un(t.till,e.split(" ")[1]):/wait/.test(e)?t.idle=cn(e.substr(5)):/hours|hour|minutes|minute|seconds|second/.test(e)&&(t.interval=cn(e)),t}),{idle:null,interval:null,date:null,dist:null,wait:!1,from:un(k(t),"0"),till:un(k(t),"23:59:59:999")});if(t<n.from||t>=n.till)return n;if(n.interval>n.till-n.from)return n;var r=t-n.from,i=n.interval-r%n.interval;return null!==n.idle&&i>=n.interval-n.idle?(n.wait=!0,n):(n.dist=i,n.date=new Date(t.getTime()+n.dist),n)},ln=function(t,e){return/januari|februari|march|april|may|june|july|august|september|october|november|december/.test(e)?function(t,e){var n=e.match(/januari|februari|march|april|may|june|july|august|september|october|november|december|[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/([\d]+th|\dst|\dnd|first|last)/.test(n)&&(e.day=/^[\d]/.test(n)?parseInt(n,10):"first"===n?1:n),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)?e.idle=cn(n.substr(5)):/^[\a-zA-Z]+$/.test(n)&&(e.month=n),e}),{idle:null,day:null,month:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time.setDate(1),o.time=y(o.time,o.month),o.time=v(o.time,o.day);var a=o.time-t,c=0;if(a<0&&(c=a,o.time.setFullYear(o.time.getFullYear()+1),a=o.time-t),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=k(t),o.time.setDate(1),o.time=y(o.time,o.month),o.time=v(o.time,o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&(o.time=k(u.from),o.time.setFullYear(o.time.getFullYear()+1),s=o.time-t),o.dist=s}return o.date=k(o.time),o}(t,e):/month/.test(e)?function(t,e){var n=e.match(/[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/([\d]+th|\dst|\dnd|first|last)/.test(n)&&(e.day=/^[\d]/.test(n)?parseInt(n,10):"first"===n?1:n),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=v(o.time,o.day);var a=o.time-t,c=0;if(a<0&&(c=a,o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),v(o.time,o.day),a=o.time-t),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=v(k(t),o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&(o.time=k(u.from),o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),v(o.time,o.day),s=o.time-t),o.dist=s}return o.date=k(o.time),o}(t,e):/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(e)?function(t,e){var n=e.match(/(?:mon|tues|wednes|thurs|fri|satur|sun)day|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(n)&&(e.day=f[function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n)]),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=h(o.time,o.day);var a=o.time-t;if(a<0&&(o.time.setDate(o.time.getDate()+7),a=o.time-t),null!==o.idle&&a>=c.Week-o.idle)return o.wait=!0,o;o.dist=a}else{o.time=h(k(t),o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&o.time.setDate(o.time.getDate()+7),o.dist=s}return o.date=k(o.time),o}(t,e):/day at/.test(e)||/^at /.test(e)?function(t,e){var n=e.match(/([\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(e,n){return/^[\d]/.test(n)?e.time=un(k(t),n):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,time:null,date:null,wait:!1,dist:null}),r=n.time-t;return r<0&&(n.time.setDate(n.time.getDate()+1),r=n.time-t),null!==n.idle&&r>=c.Day-n.idle?(n.wait=!0,n):(n.dist=r,n.date=k(n.time),n)}(t,e):/hours|hour|minutes|minute|seconds|second/.test(e)?sn(t,e):null},fn=function(t,e){for(var n=e.split(",").map(Ne).map((function(e){return ln(t,e)})),r=null,i=0;i<n.length;i++){var o=n[i];if(null===r&&o.wait)return null;(null===r||null===r.dist&&null!==o.dist||null!==o.dist&&o.dist<r.dist)&&(r=o)}return r.date},pn=function(t,e){!0!==t?"string"!=typeof t?setTimeout((function(){e(0)}),0):setTimeout((function(){e(E(t).getTime()-_().getTime())}),0):function(t){var e=new XMLHttpRequest,n=Date.now();e.open("HEAD",window.location+"?noCache="+n),e.setRequestHeader("Content-Type","text/html"),e.setRequestHeader("Cache-Control","no-cache"),e.onload=function(){var r=.5*(n-Date.now()),i=new Date(e.getResponseHeader("Date"));t(new Date(i.getTime()+r))},e.send()}((function(t){e(t.getTime()-_().getTime())}))},dn={format:["d","h","m","s"],cascade:!0,server:null,interval:1e3},hn=function(t){return B({complete:!1,offset:null,value:null,timer:null,onload:function(){},onupdate:function(t){}},t)},vn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof t)throw'Can\'t start counter, the "milliseconds" parameter is required';var n=(e=_e({units:"seconds",target:0,amount:1e3,interval:1e3},e)).target,r=t,i=hn({target:n,onended:function(){}});return setTimeout((function(){i.timer=an((function(o){if((r=t-o/e.interval*e.amount)<=n)return i.value=e.target,i.onupdate(i.value/c[e.units]),i.timer.stop(),void i.onended();i.value=r,i.onupdate(i.value/c[e.units])}),e.interval,{autostart:!1}),i.complete=!0,i.onload(),i.timer.start()}),0),i},yn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t)throw'Can\'t start counter, the "due" parameter is required';e=_e(dn,e);var n=d(t)?t:E(t),r=hn({due:k(n),onended:function(){}});return pn(e.server,(function(t){r.offset=t;r.timer=an((function(){var i=g(t);if(n-i<=0)return r.value=new Array(e.format.length).fill(0),r.onupdate(r.value),r.timer.stop(),void r.onended();r.value=O(i,n,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r},mn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(n,r){return r((parseFloat(n)-t)/(e-t))}},gn=function(t,e,n,r){e[t]=n[t],r(Ce(e))},bn={ascii:function(){return function(t,e){return e((t+"").charCodeAt(0))}},char:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t?new RegExp("[^"+t+"]","g"):null;return function(t,r){var i=String.fromCharCode(t);n&&(i=i.replace(n,e)),r(i)}},tween:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ease-linear",r=arguments[2];t=ht(t);var i=o(e.EASING_FUNCTION,n),a=null,c=null;return function(e,n){if(e=parseFloat(e),a&&a(),null===c||e===c)return c=e,void n(e);var o=c,u=e-o;a=Tt((function(t){n(o+t*u)}),(function(){a=null}),t,i,r),c=e}},value:function(t){return function(e,n){return n(t)}},input:function(){return function(t,e){return e(t)}},rotate:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r=Array.isArray(t)?t:[t],i=[],o=e.length;r.forEach((function(t,a){e[a%o](t,(function(t){i[a]=t,a===r.length-1&&n(i)}))}))}},map:function(t){return function(e,n){var r=[],i=e;i.forEach((function(e,o){t(e,(function(t){r[o]=t,o===i.length-1&&n(r.concat())}))}))}},transform:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r=[],i=t;e.forEach((function(t,o){t(i,(function(t){r[o]=t,o===e.length-1&&n(1===r.length?r[0]:r)}))}))}},upper:function(){return function(t,e){return e((t+"").toUpperCase())}},lower:function(){return function(t,e){return e((t+"").toLowerCase())}},abs:function(){return function(t,e){return e(Math.abs(t))}},add:function(t){return function(e,n){return n(e+t)}},subtract:function(t){return function(e,n){return n(e-t)}},modulus:function(t){return function(e,n){return n(e%t)}},pad:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left";return function(n,r){return r(t.length>(""+n).length?"left"===e?(""+t+n).slice(-t.length):(""+n+t).substring(0,t.length):n)}},number:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return function(r,i){i((r<0?"-":"")+parseFloat(Math.abs(r)).toFixed(n).replace(/./g,(function(n,r,i){return"."===n?t:r&&(i.length-r)%3==0?e+n:n})))}},replace:function(t,e){return function(n,r){return r((n+"").replace(new RegExp("."===t?"\\"+t:t,"g"),e))}},round:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(e,n){return n(t?e.toFixed(t):Math.round(e))}},ceil:function(){return function(t,e){return e(Math.ceil(t))}},floor:function(){return function(t,e){return e(Math.floor(t))}},fraction:mn,percentage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=mn(t,e);return function(t,e){n(t,(function(t){e(100*t)}))}},multiply:function(t){return function(e,n){return n(e*t)}},divide:function(t){return function(e,n){return n(e/t)}},split:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(e,n){return n((e+"").split(t))}},format:function(t){return function(e,n){return n(t.replace(/\$0/gi,e))}},plural:function(t,e){return function(n,r){return r(1===n?t:e)}},limit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(n,r){return r(Math.min(Math.max(n,t),e))}},reverse:function(){return function(t,e){return e(Array.isArray(t)?t.reverse():(t+"").split("").reverse().join(""))}},arrive:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=null,o=null,a=null;return function(c,u){return c=parseFloat(c),null===i?(i=c,void u(c)):(n&&null!==o&&i===c&&(a.cancel(),a=null),r&&null!==o&&c-a.getPosition()>1?(a.cancel(),a=null,o=null,i=c,void u(c)):(a?a.update(u,c):(a=At("arrive",t,e)).update(u,i,c),void(o=c)))}},spring:function(t,e,n){var r=null,i=null;return function(o,a){if(o=parseFloat(o),null===r)return r=o,void a(o);i?i.update(a,o):(i=At("spring",t,e,n)).update(a,r,o)}},delay:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rtl",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,r=null;return function(i,o){if(!r)return r=Ce(i),void o(Ce(r));r="rtl"===t?r.slice(r.length-i.length,r.length):r.slice(0,i.length);var a=Le(i.length);"random"===t&&Re(a),"rtl"===t&&a.reverse();!function t(){gn(a.shift(),r,i,o),a.length&&setTimeout(t,De(e,n))}()}},step:function(t){var e=null,n=null,r=null;return function(i,o){if(i=parseFloat(i),null===e)return e=i,void o(i);null!==n&&e===i&&(r.cancel(),r=null),r?r.update(o,i):(r=At("step",t)).update(o,e,i),n=i}},keys:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r={};t.forEach((function(t,n){r[e[n]]=t})),n(r)}},duration:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){return n(S(t,e))}},substring:function(t,e){return function(n,r){return r((n+"").substring(t,e))}},preset:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n,r){return n(t.map((function(t,n){return r.getPreset(e[n])(t,r.getConstants(),r)})))}}};r(e.TRANSFORM,bn);var xn={x:"translateX",y:"translateY",z:"translateZ"},wn={x:"rotateX",y:"rotateY",z:"rotateZ"},In={both:"scale",x:"scaleX",y:"scaleY"},En=function(t,e,n){return t+(e-t)*n},Mn={fade:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(n<0){var a=[o,i];i=a[0],o=a[1]}t.style.opacity=En(i,o,r(e))},move:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"100%",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"y";if(n<0){var c=[o,i];i=c[0],o=c[1]}var u=it(i,je),s=it(o,je);K(t,xn[a],En(u.value,s.value,r(e)),u.units||s.units)},rotate:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"90deg",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"x";if(n<0){var c=[o,i];i=c[0],o=c[1]}var u=it(i,je),s=it(o,je);K(t,wn[a],En(u.value,s.value,r(e)),u.units||s.units)},scale:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"both";if(n<0){var c=[o,i];i=c[0],o=c[1]}K(t,In[a],En(i,o,r(e)))},crossfade:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments[1],n=arguments[2];return{intro:[{name:"fade",parameters:[0,1],duration:1e3*t,delay:ht(e)}],outro:[{name:"fade",parameters:[1,0],duration:1e3*t,delay:ht(n)}]}},swap:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3],i=arguments[4];return{intro:[{name:"move",parameters:[""+100*-e,"0%",t],duration:1e3*n,delay:ht(r)}],outro:[{name:"move",parameters:["0%",""+100*e,t],duration:1e3*n,delay:ht(i)}]}},revolve:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3],i=arguments[4];return{intro:[{name:"rotate",parameters:[90*-e+"deg","0deg",t],duration:1e3*n,delay:ht(r)}],outro:[{name:"rotate",parameters:["0deg",90*e+"deg",t],duration:1e3*n,delay:ht(i)}]}},zoom:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments[2],r=arguments[3];return{intro:[{name:"scale",parameters:[t,1],duration:1e3*e,delay:ht(n)}],outro:[{name:"scale",parameters:[1,t],duration:1e3*e,delay:ht(r)}]}}};r(e.TRANSITION,Mn);var Sn={supported:function(){var t=window;if(void 0===t)return!1;var e=t.CSS&&t.CSS.supports,n=!!t.MSInputMethodContext&&!!document.documentMode,r=e&&CSS.supports("transform","translateX(0)");return n||e&&r&&!!["MutationObserver","requestAnimationFrame"].filter((function(e){return e in t})).length}(),options:{setConstant:function(t,e){Xe[t]=e},setPreset:function(t,e){Qe[t]=e}},helper:{interval:an,date:function(t){return t?E(t):_()},duration:j},data:{request:We,poll:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return an((function(){We(t,e)}),n)}},DOM:{create:nn,destroy:function(t){var e=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].isRootElement(e))return n;return-1}(Je,t);return!(e<0)&&(Je[e].destroy(),Je.splice(e,1),!0)},parse:function(t){var e,n=void 0,r=void 0,i=[];for(r=(e=t.querySelectorAll(".tick:not([data-state])")).length;r--;)n=e[r],i.push(nn(n));return i},find:tn},count:{down:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if("number"==typeof e[0]&&"string"==typeof e[1]){var r=e[0],i=e[1].toLowerCase();return e.shift(),e[0]=j(r,i),e[1]=e[1]||{},e[1].units=i,vn.apply(void 0,e)}return"string"==typeof e[0]||d(e[0])?yn.apply(void 0,e):null},up:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t)throw'Can\'t start counter, the "since" parameter is required';e=_e(dn,e);var n=d(t)?t:E(t),r=hn({since:k(n)});return pn(e.server,(function(t){r.offset=t;r.timer=an((function(){var i=g(t);r.value=O(n,i,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r},schedule:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof t)throw'Can\'t start scheduler, "schedule" is a required parameter';var n=(e=_e(B({},dn,{timezone:null}),e)).timezone?m(e.timezone):null,r=hn({waiting:null,nextScheduledDate:null,previouslyScheduledDate:null,onrepeat:function(t,e){},onresume:function(t){},onwait:function(t){}}),i=void 0,o=null;return pn(e.server,(function(a){r.offset=a;r.timer=an((function(){var c=g(a);if(null!==n&&(c=b(c,n)),o=fn(c,t),r.waiting=null===o,r.waiting)return void 0===i&&(i=null),r.value=new Array(e.format.length).fill(0),r.nextScheduledDate&&(r.previouslyScheduledDate=k(r.nextScheduledDate)),r.nextScheduledDate=null===o?null:k(o),void r.onwait(r.previouslyScheduledDate?k(r.previouslyScheduledDate):null);r.nextScheduledDate=k(o),null===i&&r.onresume(k(o)),(null===i||void 0!==i&&!w(i,o))&&(r.onrepeat(k(o),i?k(i):null),i&&(r.previouslyScheduledDate=k(i))),i=k(o),r.value=O(c,o,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r}},plugin:{add:function(t,e,n){if("function"==typeof t){var r=t;return i(r.identifier.type,r.identifier.name,r)}return i(t,e,n)}}},On=function(t){if(!e.hasOwnProperty(t))return"continue";Sn.plugin[function(t){return t.replace(/-./g,(function(t){return t.charAt(1).toUpperCase()}))}("add-"+e[t])]=function(n,r){i(e[t],n,r)}};for(var jn in e)On(jn);return t.exports=Sn,t.exports}():null),b="undefined"!=typeof window?function(){if(!t)var t={};!function(){function t(t){this.value=t}function e(e){var n,r;function i(n,r){try{var a=e[n](r),c=a.value;c instanceof t?Promise.resolve(c.value).then((function(t){i("next",t)}),(function(t){i("throw",t)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(t,e){switch(t){case"return":n.resolve({value:e,done:!0});break;case"throw":n.reject(e);break;default:n.resolve({value:e,done:!1})}(n=n.next)?i(n.key,n.arg):r=null}this._invoke=function(t,e){return new Promise((function(o,a){var c={key:t,arg:e,resolve:o,reject:a,next:null};r?r=r.next=c:(n=r=c,i(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}();var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();return t.exports=function(t){var n=t.DOM,r=(t.Animation.animate,t.Extension),i=t.Date.performance,o=t.View,a=o.rooter,c=o.destroyer,u=o.drawer,s=o.updater,l=o.styler,f=r.getExtension(r.Type.EASING_FUNCTION,"ease-out-cubic"),p=r.getExtension(r.Type.EASING_FUNCTION,"ease-out-sine"),d=function(t){if(t.isInitialValue()){t.root.textContent="",t.spacer=n.create("span","tick-flip-spacer"),t.root.appendChild(t.spacer);var e=n.create("span","tick-flip-shadow-top tick-flip-shadow tick-flip-front"),o=n.create("span","tick-flip-shadow-bottom tick-flip-shadow tick-flip-back");t.root.appendChild(e),t.root.appendChild(o),t.shadowCard=n.create("span","tick-flip-card-shadow"),t.root.appendChild(t.shadowCard)}if(t.spacer.textContent=t.value,t.isInitialValue()||n.visible(t.root)){var a=t.cards[t.cards.length-1];if(a&&(a.waiting=!1,a.offset=i(),a.back=t.value),t.isInitialValue()){var c=new h;c.back=t.value,c.offset=null,c.progress=1,t.root.insertBefore(c.root,t.root.firstChild),t.cards.push(c)}var u=new h;if(u.offset=null,u.progress=0,u.visual_progress=0,u.waiting=!0,u.front=t.value,u.rotate(0),t.root.insertBefore(u.root,t.root.firstChild),t.cards.push(u),!t.animating){t.animating=!0;var s=r.getExtension(r.Type.EASING_FUNCTION,t.style.flipEasing);!function e(){var r=t.cards.filter((function(t){return!t.done&&!t.waiting}));if(0!==r.length){r.forEach((function(e){null!==e.offset&&(e.progress=(i()-e.offset)/t.style.flipDuration),e.progress>=1&&(e.progress=1,e.done=!0),e.visual_progress=s(e.progress)}));r.reverse().forEach((function(t,e){var n=r[e-1];n&&t.visual_progress<=n.visual_progress&&(t.visual_progress=n.visual_progress+.01)})),r.reverse(),t.cards.forEach((function(e,n){var r=1-2*Math.abs(e.visual_progress-.5),i=1-(e.visual_progress-.5)/.5;e.shadowFront=r,e.highlightBack=i;var o=t.cards[n+1];o&&e.visual_progress>.5&&e.visual_progress>0&&(e.shadowBack=f(o.visual_progress))})),r.forEach((function(t,e){var n=t.visual_progress;n>.5&&!t.done?t.root.style.zIndex=10+e:t.root.style.removeProperty("z-index"),t.rotate(-180*n)}));var o=0,a=1;r.forEach((function(t){var e=Math.abs(t.visual_progress-.5);e<a&&(a=e,o=t.visual_progress)}));var c=p(o<.5?o/.5:(1-o)/.5);t.shadowCard.style.opacity=c,n.transform(t.shadowCard,"scaleY",c),t.cards.filter((function(t){return t.done})).slice(0,-1).forEach((function(e){t.cards=t.cards.filter((function(t){return t!==e})),e.root.parentNode&&t.root.removeChild(e.root)})),requestAnimationFrame(e)}else t.animating=!1}()}}else t.cards.forEach((function(e){e.back=t.value,e.front=t.value}))},h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._root=n.create("span","tick-flip-card");var e=n.create("span","tick-flip-panel-front tick-flip-front tick-flip-panel"),r=n.create("span","tick-flip-panel-front-text"),i=n.create("span","tick-flip-panel-text-wrapper");r.appendChild(i);var o=n.create("span","tick-flip-panel-front-shadow");e.appendChild(r),e.appendChild(o);var a=n.create("span","tick-flip-panel-back tick-flip-back tick-flip-panel"),c=n.create("span","tick-flip-panel-back-text"),u=n.create("span","tick-flip-panel-text-wrapper");c.appendChild(u);var s=n.create("span","tick-flip-panel-back-highlight"),l=n.create("span","tick-flip-panel-back-shadow");a.appendChild(c),a.appendChild(s),a.appendChild(l),this._root.appendChild(e),this._root.appendChild(a),this._front=e,this._back=a,this._shadowFront=o,this._shadowBack=l,this._highlightBack=s,this._textBack=u,this._textFront=i,this._frontValue=null,this._backValue=null}return e(t,[{key:"rotate",value:function(t){this._front.style.transform="rotateX("+t+"deg)",this._back.style.transform="rotateX("+(-180+t)+"deg)"}},{key:"root",get:function(){return this._root}},{key:"front",set:function(t){this._frontValue=t,this._textFront.textContent=t},get:function(){return this._frontValue}},{key:"back",set:function(t){this._backValue=t,this._textBack.textContent=t},get:function(){return this._backValue}},{key:"highlightBack",set:function(t){this._highlightBack.style.opacity=t}},{key:"shadowBack",set:function(t){this._shadowBack.style.opacity=t}},{key:"shadowFront",set:function(t){this._shadowFront.style.opacity=t}}]),t}();return function(t){var e={cards:[],lastCard:null,initialCard:null,shadowAbove:null,shadowBelow:null,shadowCard:null,currentValue:null,lastValue:null,front:null,back:null};return Object.assign({},a(e,t,"flip"),s(e),l(e,{flipDuration:800,flipEasing:"ease-out-bounce"}),u(e,d),c(e))}},t.exports.identifier={name:"flip",type:"view"},t.exports}():null;g.plugin.add(b);var x=g;class w extends o.Component{constructor(t){super(t),this._tickRef=o.createRef()}componentDidMount(){this._tickInstance=x.DOM.create(this._tickRef.current,{value:this.props.value})}componentDidUpdate(){this._tickInstance&&(this._tickInstance.value=this.props.value)}componentWillUnmount(){this._tickInstance&&x.DOM.destroy(this._tickRef.current)}render(){return o.createElement("div",{ref:this._tickRef,className:"tick"},o.createElement("div",{"data-repeat":"true","aria-hidden":"true"},o.createElement("span",{"data-view":"flip"},"Tick")))}}class I extends o.Component{constructor(t){super(t);var e=0;e+=t.countdown.seconds,e+=60*t.countdown.minutes,e+=60*t.countdown.hours*60,e+=24*t.countdown.days*60*60;var n=setInterval(this.updateCountdown.bind(this),1e3);this.state={start:Date.now(),interval:n,total:e,timeLeft:e}}updateCountdown(){var t=Date.now(),e=Math.round((t-this.state.start)/1e3);this.setState({timeLeft:this.state.total-e})}render(){var{timeLeft:t}=this.state,e=t<=0,n=0,r=0,i=0,a=0;return e||(n=Math.floor(t/86400),r=Math.floor(t%86400/3600),i=Math.floor(t%3600/60),a=Math.floor(t%60)),o.createElement(o.Fragment,null,e?o.createElement("p",{style:{color:"darkred"}},(0,y.S)("You just missed the deadline!")):o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown"},o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:n})," ",1===n?(0,y.S)("day"):(0,y.S)("days")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(r).padStart(2,"0")})," ",1===r?(0,y.S)("hour"):(0,y.S)("hours")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(i).padStart(2,"0")})," ",1===i?(0,y.S)("minute"):(0,y.S)("minutes")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(a).padStart(2,"0")})," ",1===a?(0,y.S)("second"):(0,y.S)("seconds")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-label"},(0,y.S)("left to grab the discount!"))))}}var E=t=>{var{campaign:e}=t;return console.log(e),o.createElement("div",{className:"wprm-admin-dashboard-marketing"},o.createElement(m,{title:e.page_title},o.createElement("p",{dangerouslySetInnerHTML:{__html:e.page_text}}),o.createElement(I,{countdown:e.countdown}),o.createElement("a",{className:"button button-primary",href:e.url,target:"blank"},(0,y.S)("Learn more about the sale")," 🎉")))},M=n(99237),S=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},t.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},t.children)),O=n(67127),j=t=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(O.Z,{className:"wprm-admin-dashboard-toggle",checked:t.value,onChange:e=>t.onChange(e.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},t.children)),_=t=>o.createElement(o.Fragment,null,o.createElement("p",null,(0,y.S)("Track different visitor actions related to recipes.")," ",(0,y.S)("Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...")),o.createElement(j,{value:!1,onChange:()=>{t.onEnable()}},(0,y.S)("Enable Analytics"))),k=n(34133),T=n(71629),P=n.n(T),N=n(64403),A=n.n(N),C=n(81668),D=n(63774),L=n.n(D),R=n(86901),z=n.n(R),W=n(81027),H=n.n(W),U=n(10442),B=n.n(U),G=n(9338),Z=n.n(G),F=function(t){return 0===t?0:t>0?1:-1},V=function(t){return Z()(t)&&t.indexOf("%")===t.length-1},J=function(t){return B()(t)&&!H()(t)},Y=function(t){return J(t)||Z()(t)},q=0,X=function(t){var e=++q;return"".concat(t||"").concat(e)},Q=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!J(t)&&!Z()(t))return r;if(V(t)){var o=t.indexOf("%");n=e*parseFloat(t.slice(0,o))/100}else n=+t;return H()(n)&&(n=r),i&&n>e&&(n=e),n},$=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},K=function(t,e){return J(t)&&J(e)?function(n){return t+n*(e-t)}:function(){return e}};function tt(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):L()(t,e))===n})):null}var et=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]};function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(){return(rt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var i=ut(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ct(this,n)}}function ct(t,e){return!e||"object"!==nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(a,t);var e,n,r,i=at(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).handleResize=void 0,e.mounted=void 0,e.containerRef=void 0,e.updateDimensionsImmediate=function(){if(e.mounted){var t=e.getContainerSize();if(t){var n=e.state,r=n.containerWidth,i=n.containerHeight,o=t.containerWidth,a=t.containerHeight;o===r&&a===i||e.setState({containerWidth:o,containerHeight:a})}}},e.state={containerWidth:-1,containerHeight:-1},e.handleResize=t.debounce>0?P()(e.updateDimensionsImmediate,t.debounce):e.updateDimensionsImmediate,e.containerRef=o.createRef(),e}return e=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.getContainerSize();t&&this.setState(t)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.containerRef.current?{containerWidth:this.containerRef.current.clientWidth,containerHeight:this.containerRef.current.clientHeight}:null}},{key:"renderChart",value:function(){var t=this.state,e=t.containerWidth,n=t.containerHeight;if(e<0||n<0)return null;var r=this.props,i=r.aspect,a=r.width,c=r.height,u=r.minWidth,s=r.minHeight,l=r.maxHeight,f=r.children;et(V(a)||V(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),et(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=V(a)?e:a,d=V(c)?n:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),et(p>0||d>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",p,d,a,c,u,s,i),o.cloneElement(f,{width:p,height:d})}},{key:"render",value:function(){var t=this.props,e=t.minWidth,n=t.minHeight,r=t.width,i=t.height,a=t.maxHeight,c=t.id,u=t.className,s={width:r,height:i,minWidth:e,minHeight:n,maxHeight:a};return o.createElement(C.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",rt({},null!=c?{id:"".concat(c)}:{},{className:A()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&it(e.prototype,n),r&&it(e,r),a}(o.Component);st.defaultProps={width:"100%",height:"100%",debounce:0};var lt=n(13485),ft=n.n(lt),pt=n(77106),dt=n.n(pt),ht=n(46423),vt=n.n(ht),yt=n(73804),mt=n.n(yt),gt=n(5251),bt=n.n(gt),xt=n(6934),wt=n.n(xt),It=n(14847),Et=n.n(It),Mt=n(47563),St=n.n(Mt),Ot=n(11006),jt=n.n(Ot);function _t(t){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var kt=["viewBox","children"],Tt=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Pt=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Nt=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,o.isValidElement)(t)&&(r=t.props),!jt()(r))return null;var i={};return Object.keys(r).forEach((function(t){(Tt.includes(t)||n&&kt.includes(t)||e&&Pt.includes(t))&&(i[t]=r[t])})),i},At=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,o.isValidElement)(t)&&(n=t.props),!jt()(n))return null;var r={};return Object.keys(n).forEach((function(t){Pt.includes(t)&&(r[t]=e||function(e){return n[t](n,e)})})),r},Ct=function(t,e,n){if(!jt()(t)||"object"!==_t(t))return null;var r=null;return Object.keys(t).forEach((function(i){var o=t[i];Pt.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(t,e,n){return function(r){return t(e,n,r),null}}(o,e,n))})),r};function Dt(){return(Dt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Lt(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Rt(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,a=t.className,c=t.style,u=Lt(t,["children","width","height","viewBox","className","style"]),s=i||{width:n,height:r,x:0,y:0},l=A()("recharts-surface",a);return o.createElement("svg",Dt({},Nt(u,!0,!0),{className:l,width:n,height:r,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),e)}function zt(){return(zt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Wt(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ht(t){var e=t.children,n=t.className,r=Wt(t,["children","className"]),i=A()("recharts-layer",n);return o.createElement("g",zt({className:i},Nt(r,!0)),e)}var Ut=n(36766),Bt=n.n(Ut),Gt=n(2652),Zt=n.n(Gt),Ft=n(44287),Vt=n(61666),Jt=n.n(Vt);function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(i){n<0&&(n=i),i-n>e?(t(i),n=-1):Jt()(r)};Jt()(r)}function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function $t(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var i=Xt(r),o=i[0],a=i.slice(1);return"number"==typeof o?void Yt(n.bind(null,a),o):(n(o),void Yt(n.bind(null,a)))}"object"===qt(r)&&t(r),"function"==typeof r&&r()}};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(n),!0).forEach((function(e){ee(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ne=["Webkit","Moz","O","ms"],re=["-webkit-","-moz-","-o-","-ms-"],ie=["transform","transformOrigin","transition"],oe=function(t){return t},ae=function(t,e){return Object.keys(e).reduce((function(n,r){return te(te({},n),{},ee({},r,t(r,e[r])))}),{})},ce=function(t){return Object.keys(t).reduce((function(t,e){return te(te({},t),function(t,e){if(-1===ie.indexOf(t))return ee({},t,e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return ne.reduce((function(t,o,a){return n&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(re[a],"$1"))),te(te({},t),{},ee({},o+r,i))}),{})}(e,t[e]))}),t)},ue=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||fe(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(t){return function(t){if(Array.isArray(t))return pe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||fe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(t,e){if(t){if("string"==typeof t)return pe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(t,e):void 0}}function pe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var de=1e-4,he=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},ve=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},ye=function(t,e){return function(n){var r=he(t,e);return ve(r,n)}},me=function(t,e){return function(n){var r=he(t,e),i=[].concat(le(r.map((function(t,e){return t*e})).slice(1)),[0]);return ve(i,n)}},ge=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,i=0,o=1,a=1;break;case"ease":r=.25,i=.1,o=.25,a=1;break;case"ease-in":r=.42,i=0,o=1,a=1;break;case"ease-out":r=.42,i=0,o=.58,a=1;break;case"ease-in-out":r=0,i=0,o=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),s=se(u,4);r=s[0],i=s[1],o=s[2],a=s[3]}}[r,o,i,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1}));var l=ye(r,o),f=ye(i,a),p=me(r,o),d=function(t){return t>1?1:t<0?0:t},h=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var i=l(n)-e,o=p(n);if(Math.abs(i-e)<de||o<de)return f(n);n=d(n-i/o)}return f(n)};return h.isStepper=!1,h},be=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,i=void 0===r?8:r,o=t.dt,a=void 0===o?17:o,c=function(t,e,r){var o=r+(-(t-e)*n-r*i)*a/1e3,c=r*a/1e3+t;return Math.abs(c-e)<de&&Math.abs(o)<de?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function xe(t){return function(t){if(Array.isArray(t))return Oe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Se(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?we(Object(n),!0).forEach((function(e){Ee(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||Se(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(t,e){if(t){if("string"==typeof t)return Oe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(t,e):void 0}}function Oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var je=function(t,e,n){return t+(e-t)*n},_e=function(t){return t.from!==t.to},ke=function t(e,n,r){var i=ae((function(t,n){if(_e(n)){var r=Me(e(n.from,n.to,n.velocity),2),i=r[0],o=r[1];return Ie(Ie({},n),{},{from:i,velocity:o})}return n}),n);return r<1?ae((function(t,e){return _e(e)?Ie(Ie({},e),{},{velocity:je(e.velocity,i[t].velocity,r),from:je(e.from,i[t].from,r)}):e}),n):t(e,i,r-1)},Te=function(t,e,n,r,i){var o,a,c,u,s=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),l=s.reduce((function(n,r){return Ie(Ie({},n),{},Ee({},r,[t[r],e[r]]))}),{}),f=s.reduce((function(n,r){return Ie(Ie({},n),{},Ee({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),p=-1,d=function(){return null};return d=n.isStepper?function(r){c||(c=r);var o=(r-c)/n.dt;f=ke(n,f,o),i(Ie(Ie(Ie({},t),e),ae((function(t,e){return e.from}),f))),c=r,Object.values(f).filter(_e).length&&(p=Jt()(d))}:function(o){u||(u=o);var a=(o-u)/r,c=ae((function(t,e){return je.apply(void 0,xe(e).concat([n(a)]))}),l);if(i(Ie(Ie(Ie({},t),e),c)),a<1)p=Jt()(d);else{var s=ae((function(t,e){return je.apply(void 0,xe(e).concat([n(1)]))}),l);i(Ie(Ie(Ie({},t),e),s))}},function(){return Jt()(d),function(){(0,Vt.cancel)(p)}}};function Pe(t){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ae(t){return function(t){if(Array.isArray(t))return Ce(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ce(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function De(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Le(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?De(Object(n),!0).forEach((function(e){Re(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function We(t,e){return(We=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function He(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ge(t);if(e){var i=Ge(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(t,e){return!e||"object"!==Pe(e)&&"function"!=typeof e?Be(t):e}function Be(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ze=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&We(t,e)}(a,t);var e,n,r,i=He(a);function a(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,t,e)).props,o=r.isActive,c=r.attributeName,u=r.from,s=r.to,l=r.steps,f=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(Be(n)),n.changeStyle=n.changeStyle.bind(Be(n)),!o)return n.state={style:{}},"function"==typeof f&&(n.state={style:s}),Ue(n);if(l&&l.length)n.state={style:l[0].style};else if(u){if("function"==typeof f)return n.state={style:u},Ue(n);n.state={style:c?Re({},c,u):u}}else n.state={style:{}};return n}return e=a,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(r)if(n){if(!((0,Ft.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:t.to;if(this.state&&this.state.style){var u={style:i?Re({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(Le(Le({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?Re({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(s)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,n=t.from,r=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,s=Te(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return ge(r);case"spring":return be();default:if("cubic-bezier"===r.split("(")[0])return ge(r)}return"function"==typeof r?r:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,i=t.onAnimationStart,o=n[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(Ae(n.reduce((function(t,r,i){if(0===i)return t;var o=r.duration,a=r.easing,c=void 0===a?"ease":a,u=r.style,s=r.properties,l=r.onAnimationEnd,f=i>0?n[i-1]:r,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(Ae(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ue(p,o,c),h=Le(Le(Le({},f.style),u),{},{transition:d});return[].concat(Ae(t),[h,o,l]).filter(oe)}),[a,Math.max(u,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=$t());var e=t.begin,n=t.duration,r=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,s=t.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof s&&"spring"!==o)if(u.length>1)this.runStepAnimation(t);else{var f=r?Re({},r,i):i,p=ue(Object.keys(f),n,o);l.start([a,e,Le(Le({},f),{},{transition:p}),n,c])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),r=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,Ne(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(e),a=ce(this.state.style);if("function"==typeof e)return e(a);if(!n||0===i)return e;var c=function(t){var e=t.props,n=e.style,i=void 0===n?{}:n,c=e.className;return(0,o.cloneElement)(t,Le(Le({},r),{},{style:Le(Le({},i),a),className:c}))};return 1===i?c(o.Children.only(e)):o.createElement("div",null,o.Children.map(e,(function(t){return c(t)})))}}])&&ze(e.prototype,n),r&&ze(e,r),a}(o.PureComponent);Ze.displayName="Animate",Ze.propTypes={from:Zt().oneOfType([Zt().object,Zt().string]),to:Zt().oneOfType([Zt().object,Zt().string]),attributeName:Zt().string,duration:Zt().number,begin:Zt().number,easing:Zt().oneOfType([Zt().string,Zt().func]),steps:Zt().arrayOf(Zt().shape({duration:Zt().number.isRequired,style:Zt().object.isRequired,easing:Zt().oneOfType([Zt().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Zt().func]),properties:Zt().arrayOf("string"),onAnimationEnd:Zt().func})),children:Zt().oneOfType([Zt().node,Zt().func]),isActive:Zt().bool,canBegin:Zt().bool,onAnimationEnd:Zt().func,shouldReAnimate:Zt().bool,onAnimationStart:Zt().func,onAnimationReStart:Zt().func},Ze.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var Fe=Ze,Ve=n(33092);function Je(t){return(Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(){return(Ye=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function qe(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){$e(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function en(t,e){return(en=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=on(t);if(e){var i=on(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return rn(this,n)}}function rn(t,e){return!e||"object"!==Je(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function on(t){return(on=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var an=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(n)?n:0},cn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&en(t,e)}(a,t);var e,n,r,i=nn(a);function a(){var t;Ke(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isActive:!1},t.handleEnter=function(e,n){var r=t.props,i=r.appearOptions,o=r.enterOptions;t.handleStyleActive(n?i:o)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=a,(n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(Qe(Qe({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return an(e)+an(n)+an(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=(e.appearOptions,e.enterOptions,e.leaveOptions,qe(e,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Ve.Transition,Ye({},r,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(Fe,t.state,o.Children.only(n))}))}}])&&tn(e.prototype,n),r&&tn(e,r),a}(o.Component);cn.propTypes={appearOptions:Zt().object,enterOptions:Zt().object,leaveOptions:Zt().object,children:Zt().element};var un=cn;function sn(t){var e=t.component,n=t.children,r=t.appear,i=t.enter,a=t.leave;return o.createElement(Ve.TransitionGroup,{component:e},o.Children.map(n,(function(t,e){return o.createElement(un,{appearOptions:r,enterOptions:i,leaveOptions:a,key:"child-".concat(e)},t)})))}sn.propTypes={appear:Zt().object,enter:Zt().object,leave:Zt().object,children:Zt().oneOfType([Zt().array,Zt().element]),component:Zt().any},sn.defaultProps={component:"span"};var ln=Fe;function fn(t){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function hn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hn(Object(n),!0).forEach((function(e){yn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bn(t,e){return(bn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=In(t);if(e){var i=In(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wn(this,n)}}function wn(t,e){return!e||"object"!==fn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function In(t){return(In=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function En(t){return z()(t)&&Y(t[0])&&Y(t[1])?t.join(" ~ "):t}var Mn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bn(t,e)}(a,t);var e,n,r,i=xn(a);function a(){return mn(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,n=t.separator,r=t.formatter,i=t.itemStyle,a=t.itemSorter;if(e&&e.length){var c=(a?bt()(e,a):e).map((function(t,a){if("none"===t.type)return null;var c=vn({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),u=t.formatter||r||En,s=t.name,l=t.value;if(u){var f=u(l,s,t,a,e);if(Array.isArray(f)){var p=pn(f,2);l=p[0],s=p[1]}else l=f}return o.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(a),style:c},Y(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,Y(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,n=t.contentStyle,r=t.labelClassName,i=t.labelStyle,a=t.label,c=t.labelFormatter,u=t.payload,s=vn({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),l=vn({margin:0},i),f=!Et()(a),p=f?a:"",d=A()("recharts-default-tooltip",e),h=A()("recharts-tooltip-label",r);return f&&c&&(p=c(a,u)),o.createElement("div",{className:d,style:s},o.createElement("p",{className:h,style:l},o.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&gn(e.prototype,n),r&&gn(e,r),a}(o.PureComponent);Mn.displayName="DefaultTooltipContent",Mn.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var Sn={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return Sn[t]},set:function(t,e){if("string"==typeof t)Sn[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){Sn[e]=t[e]}))}}};function On(t){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jn(Object(n),!0).forEach((function(e){kn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nn(t,e){return(Nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function An(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Dn(t);if(e){var i=Dn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Cn(this,n)}}function Cn(t,e){return!e||"object"!==On(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Dn(t){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ln="recharts-tooltip-wrapper";function Rn(t){return t.dataKey}var zn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nn(t,e)}(a,t);var e,n,r,i=An(a);function a(){var t;Tn(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var n=e.key,r=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&J(s[n]))return s[n];var f=c[n]-r-u,p=c[n]+u;return a[n]?p:c[n]+r+u>l[n]+i?Math.max(f,l[n]):Math.max(p,l[n])},t}return e=a,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-e)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,n,r=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(t,e){return!0===t?Bt()(e,Rn):vt()(t)?Bt()(e,t):e}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(t){return!Et()(t.value)})):a),p=f&&f.length,d=this.props,h=d.content,v=d.viewBox,y=d.coordinate,m=d.position,g=d.active,b=_n({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(m&&J(m.x)&&J(m.y))e=m.x,n=m.y;else{var x=this.state,w=x.boxWidth,I=x.boxHeight;w>0&&I>0&&y?(e=this.getTranslate({key:"x",tooltipDimension:w,viewBoxDimension:v.width}),n=this.getTranslate({key:"y",tooltipDimension:I,viewBoxDimension:v.height})):b.visibility="hidden"}b=_n(_n({},ce({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})),b),c&&g&&(b=_n(_n({},ce({transition:"transform ".concat(u,"ms ").concat(s)})),b));var E=A()(Ln,(kn(t={},"".concat(Ln,"-right"),J(e)&&y&&J(y.x)&&e>=y.x),kn(t,"".concat(Ln,"-left"),J(e)&&y&&J(y.x)&&e<y.x),kn(t,"".concat(Ln,"-bottom"),J(n)&&y&&J(y.y)&&n>=y.y),kn(t,"".concat(Ln,"-top"),J(n)&&y&&J(y.y)&&n<y.y),t));return o.createElement("div",{className:E,style:b,ref:function(t){r.wrapperNode=t}},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?o.createElement(t,e):o.createElement(Mn,e)}(h,_n(_n({},this.props),{},{payload:f})))}}])&&Pn(e.prototype,n),r&&Pn(e,r),a}(o.PureComponent);zn.displayName="Tooltip",zn.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!Sn.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var Wn=n(21528),Hn=n.n(Wn),Un=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Bn=2*Un;var Gn={draw:function(t,e){var n=Math.sqrt(e/Un);t.moveTo(n,0),t.arc(0,0,n,0,Bn)}},Zn={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Fn=Math.sqrt(1/3),Vn=2*Fn,Jn={draw:function(t,e){var n=Math.sqrt(e/Vn),r=n*Fn;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Yn={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},qn=Math.sin(Un/10)/Math.sin(7*Un/10),Xn=Math.sin(Bn/10)*qn,Qn=-Math.cos(Bn/10)*qn,$n={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Xn*n,i=Qn*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Bn*o/5,c=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-c*n),t.lineTo(c*r-u*i,u*r+c*i)}t.closePath()}},Kn=Math.sqrt(3),tr={draw:function(t,e){var n=-Math.sqrt(e/(3*Kn));t.moveTo(0,2*n),t.lineTo(-Kn*n,-n),t.lineTo(Kn*n,-n),t.closePath()}},er=-.5,nr=Math.sqrt(3)/2,rr=1/Math.sqrt(12),ir=3*(rr/2+1),or={draw:function(t,e){var n=Math.sqrt(e/ir),r=n/2,i=n*rr,o=r,a=n*rr+n,c=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(c,u),t.lineTo(er*r-nr*i,nr*r+er*i),t.lineTo(er*o-nr*a,nr*o+er*a),t.lineTo(er*c-nr*u,nr*c+er*u),t.lineTo(er*r+nr*i,er*i-nr*r),t.lineTo(er*o+nr*a,er*a-nr*o),t.lineTo(er*c+nr*u,er*u-nr*c),t.closePath()}};const ar=Math.PI,cr=2*ar,ur=1e-6,sr=cr-ur;function lr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fr(){return new lr}lr.prototype=fr.prototype={constructor:lr,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,c=n-t,u=r-e,s=o-t,l=a-e,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>ur)if(Math.abs(l*c-u*s)>ur&&i){var p=n-o,d=r-a,h=c*c+u*u,v=p*p+d*d,y=Math.sqrt(h),m=Math.sqrt(f),g=i*Math.tan((ar-Math.acos((h+f-v)/(2*y*m)))/2),b=g/m,x=g/y;Math.abs(b-1)>ur&&(this._+="L"+(t+b*s)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=t+x*c)+","+(this._y1=e+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),c=n*Math.sin(r),u=t+a,s=e+c,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>ur||Math.abs(this._y1-s)>ur)&&(this._+="L"+u+","+s),n&&(f<0&&(f=f%cr+cr),f>sr?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-c)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>ur&&(this._+="A"+n+","+n+",0,"+ +(f>=ar)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var pr=fr;function dr(t){return function(){return t}}function hr(t){return(hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vr(){return(vr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function yr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gr(t,e){return(gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function br(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wr(t);if(e){var i=wr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xr(this,n)}}function xr(t,e){return!e||"object"!==hr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wr(t){return(wr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ir={symbolCircle:Gn,symbolCross:Zn,symbolDiamond:Jn,symbolSquare:Yn,symbolStar:$n,symbolTriangle:tr,symbolWye:or},Er=Math.PI/180,Mr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gr(t,e)}(a,t);var e,n,r,i=br(a);function a(){return yr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t=this.props,e=t.size,n=t.sizeType,r=t.type,i=function(t){var e="symbol".concat(Hn()(t));return Ir[e]||Gn}(r);return function(t,e){var n=null;function r(){var r;if(n||(n=r=pr()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"==typeof t?t:dr(t||Gn),e="function"==typeof e?e:dr(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"==typeof e?e:dr(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}().type(i).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*Er;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,n,r))()}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.cx,r=t.cy,i=t.size;return n===+n&&r===+r&&i===+i?o.createElement("path",vr({},Nt(this.props,!0),{className:A()("recharts-symbols",e),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}])&&mr(e.prototype,n),r&&mr(e,r),a}(o.PureComponent);function Sr(t){return(Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Or(){return(Or=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function jr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pr(t,e){return(Pr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Nr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Cr(t);if(e){var i=Cr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ar(this,n)}}function Ar(t,e){return!e||"object"!==Sr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Cr(t){return(Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Mr.defaultProps={type:"circle",size:64,sizeType:"area"},Mr.registerSymbol=function(t,e){Ir["symbol".concat(Hn()(t))]=e};var Dr=32,Lr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pr(t,e)}(a,t);var e,n,r,i=Nr(a);function a(){return kr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=Dr/6,i=Dr/3,a=t.inactive?e:t.color;if("plainline"===t.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:Dr,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(Dr,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Dr,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(t.legendIcon)){var c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jr(Object(n),!0).forEach((function(e){_r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete c.legendIcon,o.cloneElement(t.legendIcon,c)}return o.createElement(Mr,{fill:a,cx:n,cy:n,size:Dr,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,i=e.layout,a=e.formatter,c=e.inactiveColor,u={x:0,y:0,width:Dr,height:Dr},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var i,f=e.formatter||a,p=A()((_r(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),_r(i,"inactive",e.inactive),i));if("none"===e.type)return null;var d=e.inactive?c:e.color;return o.createElement("li",Or({className:p,style:s,key:"legend-item-".concat(n)},Ct(t.props,e,n)),o.createElement(Rt,{width:r,height:r,viewBox:u,style:l},t.renderIcon(e)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(e.value,e,n):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Tr(e.prototype,n),r&&Tr(e,r),a}(o.PureComponent);function Rr(t){return(Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function zr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zr(Object(n),!0).forEach((function(e){Hr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gr(t,e){return(Gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Vr(t);if(e){var i=Vr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Fr(this,n)}}function Fr(t,e){return!e||"object"!==Rr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vr(t){return(Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Jr(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Yr(t){return t.value}function qr(t,e){return!0===t?Bt()(e,Yr):vt()(t)?Bt()(e,t):e}Lr.displayName="Legend",Lr.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Xr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gr(t,e)}(a,t);var e,n,r,i=Zr(a);function a(){var t;Ur(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&J(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;return e>=0&&n>=0?{width:e,height:n}:null}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,c=r.margin,u=r.chartWidth,s=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((u||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Wr(Wr({},e),n)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-n)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){r&&r(i)}))}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,u=e.payload,s=Wr(Wr({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(e){t.wrapperNode=e}},function(t,e){if(o.isValidElement(t))return o.cloneElement(t,e);if(vt()(t))return o.createElement(t,e);e.ref;var n=Jr(e,["ref"]);return o.createElement(Lr,n)}(n,Wr(Wr({},this.props),{},{payload:qr(c,u)})))}}])&&Br(e.prototype,n),r&&Br(e,r),a}(o.PureComponent);function Qr(){}function $r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Kr(t){this._context=t}function ti(t){this._context=t}function ei(t){this._context=t}function ni(t){this._context=t}function ri(t){this._context=t}function ii(t){return new ri(t)}function oi(t){return t<0?-1:1}function ai(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),c=(o*i+a*r)/(r+i);return(oi(o)+oi(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ci(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ui(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,c=(o-r)/3;t._context.bezierCurveTo(r+c,i+c*e,o-c,a-c*n,o,a)}function si(t){this._context=t}function li(t){this._context=new fi(t)}function fi(t){this._context=t}function pi(t){this._context=t}function di(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function hi(t,e){this._context=t,this._t=e}Xr.displayName="Legend",Xr.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Kr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ti.prototype={areaStart:Qr,areaEnd:Qr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ei.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ni.prototype={areaStart:Qr,areaEnd:Qr,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},ri.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},si.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ui(this,this._t0,ci(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ui(this,ci(this,n=ai(this,t,e)),n);break;default:ui(this,this._t0,n=ai(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(li.prototype=Object.create(si.prototype)).point=function(t,e){si.prototype.point.call(this,e,t)},fi.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=di(t),i=di(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},hi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};Array.prototype.slice;function vi(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function yi(t){return t[0]}function mi(t){return t[1]}function gi(t,e){var n=dr(!0),r=null,i=ii,o=null;function a(a){var c,u,s,l=(a=vi(a)).length,f=!1;for(null==r&&(o=i(s=pr())),c=0;c<=l;++c)!(c<l&&n(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,c,a),+e(u,c,a));if(s)return o=null,s+""||null}return t="function"==typeof t?t:void 0===t?yi:dr(t),e="function"==typeof e?e:void 0===e?mi:dr(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:dr(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function bi(t,e,n){var r=null,i=dr(!0),o=null,a=ii,c=null;function u(u){var s,l,f,p,d,h=(u=vi(u)).length,v=!1,y=new Array(h),m=new Array(h);for(null==o&&(c=a(d=pr())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===v)if(v=!v)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(y[f],m[f]);c.lineEnd(),c.areaEnd()}v&&(y[s]=+t(p,s,u),m[s]=+e(p,s,u),c.point(r?+r(p,s,u):y[s],n?+n(p,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return gi().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?yi:dr(+t),e="function"==typeof e?e:dr(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?mi:dr(+n),u.x=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),r=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:dr(+t),u):r},u.y=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),n=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),u):e},u.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:dr(+t),u):n},u.lineX0=u.lineY0=function(){return s().x(t).y(e)},u.lineY1=function(){return s().x(t).y(n)},u.lineX1=function(){return s().x(r).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:dr(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),u):o},u}function xi(t){return(xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wi(){return(wi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ii(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ei(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(n),!0).forEach((function(e){Mi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ji(t,e){return(ji=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _i(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ti(t);if(e){var i=Ti(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ki(this,n)}}function ki(t,e){return!e||"object"!==xi(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ti(t){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Pi={curveBasisClosed:function(t){return new ti(t)},curveBasisOpen:function(t){return new ei(t)},curveBasis:function(t){return new Kr(t)},curveLinearClosed:function(t){return new ni(t)},curveLinear:ii,curveMonotoneX:function(t){return new si(t)},curveMonotoneY:function(t){return new li(t)},curveNatural:function(t){return new pi(t)},curveStep:function(t){return new hi(t,.5)},curveStepAfter:function(t){return new hi(t,1)},curveStepBefore:function(t){return new hi(t,0)}},Ni=function(t){return t.x===+t.x&&t.y===+t.y},Ai=function(t){return t.x},Ci=function(t){return t.y},Di=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ji(t,e)}(a,t);var e,n,r,i=_i(a);function a(){return Si(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t,e=this.props,n=e.type,r=e.points,i=e.baseLine,o=e.layout,a=e.connectNulls,c=function(t,e){if(vt()(t))return t;var n="curve".concat(Hn()(t));return"curveMonotone"===n&&e?Pi["".concat(n).concat("vertical"===e?"Y":"X")]:Pi[n]||ii}(n,o),u=a?r.filter((function(t){return Ni(t)})):r;if(z()(i)){var s=a?i.filter((function(t){return Ni(t)})):i,l=u.map((function(t,e){return Ei(Ei({},t),{},{base:s[e]})}));return(t="vertical"===o?bi().y(Ci).x1(Ai).x0((function(t){return t.base.x})):bi().x(Ai).y1(Ci).y0((function(t){return t.base.y}))).defined(Ni).curve(c),t(l)}return(t="vertical"===o&&J(i)?bi().y(Ci).x1(Ai).x0(i):J(i)?bi().x(Ai).y1(Ci).y0(i):gi().x(Ai).y(Ci)).defined(Ni).curve(c),t(u)}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.points,r=t.path,i=t.pathRef;if(!(n&&n.length||r))return null;var a=n&&n.length?this.getPath():r;return o.createElement("path",wi({},Nt(this.props),At(this.props),{className:A()("recharts-curve",e),d:a,ref:i}))}}])&&Oi(e.prototype,n),r&&Oi(e,r),a}(o.PureComponent);function Li(t){return(Li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ri(){return(Ri=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Hi(t,e){return(Hi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ui(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Gi(t);if(e){var i=Gi(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Bi(this,n)}}function Bi(t,e){return!e||"object"!==Li(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Gi(t){return(Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Di.defaultProps={type:"linear",points:[],connectNulls:!1};var Zi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hi(t,e)}(a,t);var e,n,r,i=Ui(a);function a(){return zi(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getPath",value:function(t,e,n,r,i,o){return"M".concat(t,",").concat(i,"v").concat(r,"M").concat(o,",").concat(e,"h").concat(n)}}],(n=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,c=t.top,u=t.left,s=t.className;return J(e)&&J(n)&&J(r)&&J(i)&&J(c)&&J(u)?o.createElement("path",Ri({},Nt(this.props,!0),{className:A()("recharts-cross",s),d:a.getPath(e,n,r,i,c,u)})):null}}])&&Wi(e.prototype,n),r&&Wi(e,r),a}(o.PureComponent);function Fi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fi(Object(n),!0).forEach((function(e){Ji(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ji(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Zi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Yi=Math.PI/180,qi=function(t){return 180*t/Math.PI},Xi=function(t,e,n,r){return{x:t+Math.cos(-Yi*r)*n,y:e+Math.sin(-Yi*r)*n}},Qi=function(t,e){var n=t.x,r=t.y,i=e.cx,o=e.cy,a=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var c=(n-i)/a,u=Math.acos(c);return r>o&&(u=2*Math.PI-u),{radius:a,angle:qi(u),angleInRadian:u}},$i=function(t,e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return t+360*Math.min(i,o)},Ki=function(t,e){var n=t.x,r=t.y,i=Qi({x:n,y:r},e),o=i.radius,a=i.angle,c=e.innerRadius,u=e.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:e-360*o,endAngle:n-360*o}}(e),f=l.startAngle,p=l.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;s=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;s=d>=p&&d<=f}return s?Vi(Vi({},e),{},{radius:o,angle:$i(d,e)}):null};function to(t){return(to="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eo(){return(eo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function no(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function io(t,e){return(io=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function oo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=co(t);if(e){var i=co(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ao(this,n)}}function ao(t,e){return!e||"object"!==to(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function co(t){return(co=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var uo=function(t){var e=t.cx,n=t.cy,r=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,s=c*(a?1:-1)+r,l=Math.asin(c/s)/Yi,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Xi(e,n,s,f),circleTangency:Xi(e,n,r,f),lineTangency:Xi(e,n,s*Math.cos(l*Yi),p),theta:l}},so=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return F(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,u=Xi(e,n,i,o),s=Xi(e,n,i,c),l="M ".concat(u.x,",").concat(u.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(r>0){var f=Xi(e,n,r,o),p=Xi(e,n,r,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(e,",").concat(n," Z");return l},lo=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&io(t,e)}(a,t);var e,n,r,i=oo(a);function a(){return no(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,u=t.cornerIsExternal,s=t.startAngle,l=t.endAngle,f=t.className;if(i<r||s===l)return null;var p,d=A()("recharts-sector",f),h=i-r,v=Q(a,h,0,!0);return p=v>0&&Math.abs(s-l)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,l=F(s-u),f=uo({cx:e,cy:n,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,v=uo({cx:e,cy:n,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),y=v.circleTangency,m=v.lineTangency,g=v.theta,b=c?Math.abs(u-s):Math.abs(u-s)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):so({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:u,endAngle:s});var x="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n ");if(r>0){var w=uo({cx:e,cy:n,radius:r,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),I=w.circleTangency,E=w.lineTangency,M=w.theta,S=uo({cx:e,cy:n,radius:r,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=S.circleTangency,j=S.lineTangency,_=S.theta,k=c?Math.abs(u-s):Math.abs(u-s)-M-_;if(k<0&&0===o)return"".concat(x,"L").concat(e,",").concat(n,"Z");x+="L".concat(j.x,",").concat(j.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(k>180),",").concat(+(l>0),",").concat(I.x,",").concat(I.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,"Z")}else x+="L".concat(e,",").concat(n,"Z");return x}({cx:e,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(v,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):so({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",eo({},Nt(this.props,!0),{className:d,d:p}))}}])&&ro(e.prototype,n),r&&ro(e,r),a}(o.PureComponent);function fo(t){return(fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function po(){return(po=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ho(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yo(t,e){return(yo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=bo(t);if(e){var i=bo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return go(this,n)}}function go(t,e){return!e||"object"!==fo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function bo(t){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}lo.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var xo=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yo(t,e)}(a,t);var e,n,r,i=mo(a);function a(){return ho(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.r,i=t.className,a=A()("recharts-dot",i);return e===+e&&n===+n&&r===+r?o.createElement("circle",po({},Nt(this.props),At(this.props),{className:a,cx:e,cy:n,r:r})):null}}])&&vo(e.prototype,n),r&&vo(e,r),a}(o.PureComponent);function wo(t){return(wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Io(){return(Io=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Eo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function So(t,e){return(So=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Oo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_o(t);if(e){var i=_o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jo(this,n)}}function jo(t,e){return!e||"object"!==wo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _o(t){return(_o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ko=function(t,e,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),c=r>=0?1:-1,u=n>=0?1:-1,s=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+u*l[0],",").concat(e)),o+="L ".concat(t+n-u*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(t+n,",").concat(e+c*l[1])),o+="L ".concat(t+n,",").concat(e+r-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(t+n-u*l[2],",").concat(e+r)),o+="L ".concat(t+u*l[3],",").concat(e+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(t,",").concat(e+r-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+n-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n,",").concat(e+c*p,"\n L ").concat(t+n,",").concat(e+r-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n-u*p,",").concat(e+r,"\n L ").concat(t+u*p,",").concat(e+r,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t,",").concat(e+r-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},To=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,i=e.x,o=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),s=Math.max(i,i+a),l=Math.min(o,o+c),f=Math.max(o,o+c);return n>=u&&n<=s&&r>=l&&r<=f}return!1},Po=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&So(t,e)}(a,t);var e,n,r,i=Oo(a);function a(){var t;Eo(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={totalLength:-1},t.node=void 0,t}return e=a,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.x,r=e.y,i=e.width,a=e.height,c=e.radius,u=e.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,v=l.isUpdateAnimationActive;if(n!==+n||r!==+r||i!==+i||a!==+a||0===i||0===a)return null;var y=A()("recharts-rectangle",u);return v?o.createElement(ln,{canBegin:s>0,from:{width:i,height:a,x:n,y:r},to:{width:i,height:a,x:n,y:r},duration:p,animationEasing:f,isActive:v},(function(e){var n=e.width,r=e.height,i=e.x,a=e.y;return o.createElement(ln,{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:p,isActive:h,easing:f},o.createElement("path",Io({},Nt(t.props,!0),{className:y,d:ko(i,a,n,r,c),ref:function(e){t.node=e}})))})):o.createElement("path",Io({},Nt(this.props,!0),{className:y,d:ko(n,r,i,a,c)}))}}])&&Mo(e.prototype,n),r&&Mo(e,r),a}(o.PureComponent);Po.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var No=n(70418),Ao=n.n(No),Co=n(32822);function Do(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}function Lo(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var Ro={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},zo=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},Wo=function t(e,n){var r=[],i=[];return i=z()(n)?n.map((function(t){return zo(t)})):[zo(n)],o.Children.forEach(e,(function(e){(0,Co.isFragment)(e)&&(r=r.concat(t(e.props.children,n)));var o=L()(e,"type.displayName")||L()(e,"type.name");-1!==i.indexOf(o)&&r.push(e)})),r},Ho=function(t,e){var n=Wo(t,e);return n&&n[0]},Uo=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!J(n)||n<=0||!J(r)||r<=0)},Bo=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Go=function(t){return t&&t.type&&Z()(t.type)&&Bo.indexOf(t.type)>=0},Zo=function t(e,n){if(e===n)return!0;if(o.Children.count(e)!==o.Children.count(n))return!1;var r=o.Children.count(e);if(0===r)return!0;if(1===r)return Fo(z()(e)?e[0]:e,z()(n)?n[0]:n);for(var i=0;i<r;i++){var a=e[i],c=n[i];if(z()(a)||z()(c)){if(!t(a,c))return!1}else if(!Fo(a,c))return!1}return!0},Fo=function(t,e){if(Et()(t)&&Et()(e))return!0;if(!Et()(t)&&!Et()(e)){var n=t.props||{},r=n.children,i=Lo(n,["children"]),o=e.props||{},a=o.children,c=Lo(o,["children"]);return r&&a?Do(i,c)&&Zo(r,a):!r&&!a&&Do(i,c)}return!1},Vo=function(t,e){var n=[],r={};return o.Children.forEach(t,(function(t,i){if(Go(t))n.push(t);else if(t){var o=zo(t.type),a=e[o]||{},c=a.handler,u=a.once;if(c&&(!u||!r[o])){var s=c(t,o,i);n.push(s),r[o]=!0}}})),Ao()(n).filter((function(t){return!Et()(t)}))};function Jo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jo(Object(n),!0).forEach((function(e){qo(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return function(t){if(Array.isArray(t))return Qo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qo(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var $o={widthCache:{},cacheCount:0},Ko={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ta=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ea="recharts_measurement_span";var na=function(t){return Object.keys(t).reduce((function(e,n){return"".concat(e).concat((r=n,r.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(Xo(t),["-",e.toLowerCase()]):[].concat(Xo(t),[e])}),[]).join("")),":").concat(function(t,e){return ta.indexOf(t)>=0&&e===+e?"".concat(e,"px"):e}(n,t[n]),";");var r}),"")},ra=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||Sn.isSsr)return{width:0,height:0};var n="".concat(t),r=na(e),i="".concat(n,"-").concat(r);if($o.widthCache[i])return $o.widthCache[i];try{var o=document.getElementById(ea);o||((o=document.createElement("span")).setAttribute("id",ea),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Yo(Yo({},Ko),e);Object.keys(a).map((function(t){return o.style[t]=a[t],t})),o.textContent=n;var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return $o.widthCache[i]=u,++$o.cacheCount>2e3&&($o.cacheCount=0,$o.widthCache={}),u}catch(s){return{width:0,height:0}}},ia=n(55502),oa=n.n(ia);function aa(t){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ca(){return(ca=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ua(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function sa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fa(t,e){return(fa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ha(t);if(e){var i=ha(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return da(this,n)}}function da(t,e){return!e||"object"!==aa(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ha(t){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function va(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ya(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ya(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ya(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ma(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ga(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ma(Object(n),!0).forEach((function(e){ba(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xa=/[ \f\n\r\t\v\u2028\u2029]+/,wa=function(t){try{var e=[];return Et()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(xa)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:ra(e,t.style).width}})),spaceWidth:t.breakAll?0:ra(" ",t.style).width}}catch(n){return null}},Ia=function(t){return[{words:Et()(t)?[]:t.toString().split(xa)}]},Ea=function(t,e){if((t.width||t.scaleToFit)&&!Sn.isSsr&&e){var n=wa(t);return n?function(t,e,n,r,i){var o=J(t.maxLines),a=t.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var o=e.word,a=e.width,c=t[t.length-1];if(c&&(null==r||i||c.width+a+n<r))c.words.push(o),c.width+=a+n;else{var u={words:[o],width:a};t.push(u)}return t}),[])},u=c(e);if(!o)return u;for(var s,l=function(e){var n=a.slice(0,e),i=wa(ga(ga({},t),{},{children:n+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>r,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),v=va(l(h-1),2),y=v[0],m=v[1],g=va(l(h),1)[0];if(y||g||(f=h+1),y&&g&&(p=h-1),!y&&g){s=m;break}d++}return s||u}(t,n.wordsWithComputedWidth,n.spaceWidth,t.width,t.scaleToFit):Ia(t.children)}return Ia(t.children)},Ma=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}(a,t);var e,n,r,i=pa(a);function a(){var t;sa(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var n=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:Ea(t,n)}}return null}}],(n=[{key:"render",value:function(){var t=this.props,e=t.dx,n=t.dy,r=t.textAnchor,i=t.verticalAnchor,a=t.scaleToFit,c=t.angle,u=t.lineHeight,s=t.capHeight,l=t.className,f=t.breakAll,p=ua(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!Y(p.x)||!Y(p.y))return null;var h,v=p.x+(J(e)?e:0),y=p.y+(J(n)?n:0);switch(i){case"start":h=oa()("calc(".concat(s,")"));break;case"middle":h=oa()("calc(".concat((d.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:h=oa()("calc(".concat(d.length-1," * -").concat(u,")"))}var m=[];if(a){var g=d[0].width,b=this.props.width;m.push("scale(".concat((J(b)?b/g:1)/g,")"))}return c&&m.push("rotate(".concat(c,", ").concat(v,", ").concat(y,")")),m.length&&(p.transform=m.join(" ")),o.createElement("text",ca({},Nt(p,!0),{x:v,y:y,className:A()("recharts-text",l),textAnchor:r}),d.map((function(t,e){return o.createElement("tspan",{x:v,dy:0===e?h:u,key:e},t.words.join(f?"":" "))})))}}])&&la(e.prototype,n),r&&la(e,r),a}(o.Component);function Sa(t){return function(t){if(Array.isArray(t))return Oa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Oa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oa(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ja(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ja(Object(n),!0).forEach((function(e){ka(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ka(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(){return(Ta=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}Ma.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Pa=function(t,e,n){var r,i,a=t.position,c=t.viewBox,u=t.offset,s=t.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,v=l.startAngle,y=l.endAngle,m=l.clockWise,g=(d+h)/2,b=function(t,e){return F(e-t)*Math.min(Math.abs(e-t),360)}(v,y),x=b>=0?1:-1;"insideStart"===a?(r=v+x*u,i=m):"insideEnd"===a?(r=y-x*u,i=!m):"end"===a&&(r=y+x*u,i=m),i=b<=0?i:!i;var w=Xi(f,p,g,r),I=Xi(f,p,g,r+359*(i?1:-1)),E="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(I.x,",").concat(I.y),M=Et()(t.id)?X("recharts-radial-line-"):t.id;return o.createElement("text",Ta({},n,{dominantBaseline:"central",className:A()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:M,d:E})),o.createElement("textPath",{xlinkHref:"#".concat(M)},e))};function Na(t){var e,n=t.viewBox,r=t.position,i=t.value,a=t.children,c=t.content,u=t.className,s=void 0===u?"":u,l=t.textBreakAll;if(!n||Et()(i)&&Et()(a)&&!(0,o.isValidElement)(c)&&!vt()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,t);if(vt()(c)){if(e=(0,o.createElement)(c,t),(0,o.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=Et()(t.children)?e:t.children;return vt()(n)?n(r):r}(t);var f=function(t){return J(t.cx)}(n),p=Nt(t,!0);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return Pa(t,e,p);var d=f?function(t){var e=t.viewBox,n=t.offset,r=t.position,i=e,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===r){var l=Xi(o,a,u+n,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Xi(o,a,(c+u)/2,s);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,i=t.position,o=e,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*r,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,v=h*r,y=h>0?"end":"start",m=h>0?"start":"end";if("top"===i)return _a(_a({},{x:a+u/2,y:c-l*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(c-n.y,0),width:u}:{});if("bottom"===i)return _a(_a({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(n.y+n.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-v,y:c+s/2,textAnchor:y,verticalAnchor:"middle"};return _a(_a({},g),n?{width:Math.max(g.x-n.x,0),height:s}:{})}if("right"===i){var b={x:a+u+v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"};return _a(_a({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:s}:{})}var x=n?{width:u,height:s}:{};return"insideLeft"===i?_a({x:a+v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"},x):"insideRight"===i?_a({x:a+u-v,y:c+s/2,textAnchor:y,verticalAnchor:"middle"},x):"insideTop"===i?_a({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},x):"insideBottom"===i?_a({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},x):"insideTopLeft"===i?_a({x:a+v,y:c+f,textAnchor:m,verticalAnchor:d},x):"insideTopRight"===i?_a({x:a+u-v,y:c+f,textAnchor:y,verticalAnchor:d},x):"insideBottomLeft"===i?_a({x:a+v,y:c+s-f,textAnchor:m,verticalAnchor:p},x):"insideBottomRight"===i?_a({x:a+u-v,y:c+s-f,textAnchor:y,verticalAnchor:p},x):jt()(i)&&(J(i.x)||V(i.x))&&(J(i.y)||V(i.y))?_a({x:a+Q(i.x,u),y:c+Q(i.y,s),textAnchor:"end",verticalAnchor:"end"},x):_a({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(t);return o.createElement(Ma,Ta({className:A()("recharts-label",s)},p,d,{breakAll:l}),e)}Na.displayName="Label",Na.defaultProps={offset:5};var Aa=function(t){var e=t.cx,n=t.cy,r=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,s=t.outerRadius,l=t.x,f=t.y,p=t.top,d=t.left,h=t.width,v=t.height,y=t.clockWise,m=t.labelViewBox;if(m)return m;if(J(h)&&J(v)){if(J(l)&&J(f))return{x:l,y:f,width:h,height:v};if(J(p)&&J(d))return{x:p,y:d,width:h,height:v}}return J(l)&&J(f)?{x:l,y:f,width:0,height:0}:J(e)&&J(n)?{cx:e,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:y}:t.viewBox?t.viewBox:{}},Ca=function(t,e){return t?!0===t?o.createElement(Na,{key:"label-implicit",viewBox:e}):Y(t)?o.createElement(Na,{key:"label-implicit",viewBox:e,value:t}):(0,o.isValidElement)(t)?t.type===Na?(0,o.cloneElement)(t,{key:"label-implicit",viewBox:e}):o.createElement(Na,{key:"label-implicit",content:t,viewBox:e}):vt()(t)?o.createElement(Na,{key:"label-implicit",content:t,viewBox:e}):jt()(t)?o.createElement(Na,Ta({viewBox:e},t,{key:"label-implicit"})):null:null};function Da(t){return(Da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function La(){return(La=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ra(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function za(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ra(Object(n),!0).forEach((function(e){Wa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ra(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ha(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ua(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ba(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ga(t,e){return(Ga=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Za(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Va(t);if(e){var i=Va(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Fa(this,n)}}function Fa(t,e){return!e||"object"!==Da(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Va(t){return(Va=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Na.parseViewBox=Aa,Na.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Aa(t),a=Wo(r,Na.displayName).map((function(t,n){return(0,o.cloneElement)(t,{viewBox:e||i,key:"label-".concat(n)})}));if(!n)return a;var c=Ca(t.label,e||i);return[c].concat(Sa(a))};var Ja=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ga(t,e)}(a,t);var e,n,r,i=Za(a);function a(){return Ua(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getTicks",value:function(t){var e=t.tick,n=t.ticks,r=t.viewBox,i=t.minTickGap,o=t.orientation,c=t.interval,u=t.tickFormatter,s=t.unit;return n&&n.length&&e?J(c)||Sn.isSsr?a.getNumberIntervalTicks(n,"number"==typeof c&&J(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,n){return n%(e+1)==0}))}},{key:"getTicksStart",value:function(t,e){var n,r,i=t.ticks,o=t.tickFormatter,a=t.viewBox,c=t.orientation,u=t.minTickGap,s=t.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",v=(i||[]).slice(),y=s&&"width"===h?ra(s)[h]:0,m=v.length,g=m>=2?F(v[1].coordinate-v[0].coordinate):1;if(1===g?(n="width"===h?l:f,r="width"===h?l+p:f+d):(n="width"===h?l+p:f+d,r="width"===h?l:f),e){var b=i[m-1],x=vt()(o)?o(b.value,m-1):b.value,w=ra(x)[h]+y,I=g*(b.coordinate+g*w/2-r);v[m-1]=b=za(za({},b),{},{tickCoord:I>0?b.coordinate-I*g:b.coordinate}),g*(b.tickCoord-g*w/2-n)>=0&&g*(b.tickCoord+g*w/2-r)<=0&&(r=b.tickCoord-g*(w/2+u),v[m-1]=za(za({},b),{},{isShow:!0}))}for(var E=e?m-1:m,M=0;M<E;M++){var S=v[M],O=vt()(o)?o(S.value,M):S.value,j=ra(O)[h]+y;if(0===M){var _=g*(S.coordinate-g*j/2-n);v[M]=S=za(za({},S),{},{tickCoord:_<0?S.coordinate-_*g:S.coordinate})}else v[M]=S=za(za({},S),{},{tickCoord:S.coordinate});g*(S.tickCoord-g*j/2-n)>=0&&g*(S.tickCoord+g*j/2-r)<=0&&(n=S.tickCoord+g*(j/2+u),v[M]=za(za({},S),{},{isShow:!0}))}return v.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,n,r=t.ticks,i=t.tickFormatter,o=t.viewBox,a=t.orientation,c=t.minTickGap,u=t.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?ra(u)[d]:0,v=(r||[]).slice(),y=v.length,m=y>=2?F(v[1].coordinate-v[0].coordinate):1;1===m?(e="width"===d?s:l,n="width"===d?s+f:l+p):(e="width"===d?s+f:l+p,n="width"===d?s:l);for(var g=y-1;g>=0;g--){var b=v[g],x=vt()(i)?i(b.value,y-g-1):b.value,w=ra(x)[d]+h;if(g===y-1){var I=m*(b.coordinate+m*w/2-n);v[g]=b=za(za({},b),{},{tickCoord:I>0?b.coordinate-I*m:b.coordinate})}else v[g]=b=za(za({},b),{},{tickCoord:b.coordinate});m*(b.tickCoord-m*w/2-e)>=0&&m*(b.tickCoord+m*w/2-n)<=0&&(n=b.tickCoord-m*(w/2+c),v[g]=za(za({},b),{},{isShow:!0}))}return v.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,n){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Ma,La({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,n=Ha(t,["viewBox"]),r=this.props,i=r.viewBox,o=Ha(r,["viewBox"]);return!Do(e,i)||!Do(n,o)}},{key:"getTickLineCoord",value:function(t){var e,n,r,i,o,a,c=this.props,u=c.x,s=c.y,l=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,v=c.tickMargin,y=h?-1:1,m=t.tickSize||d,g=J(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=n=t.coordinate,a=(r=(i=s+ +!h*f)-y*m)-y*v,o=g;break;case"left":r=i=t.coordinate,o=(e=(n=u+ +!h*l)-y*m)-y*v,a=g;break;case"right":r=i=t.coordinate,o=(e=(n=u+ +h*l)+y*m)+y*v,a=g;break;default:e=n=t.coordinate,a=(r=(i=s+ +h*f)+y*m)+y*v,o=g}return{line:{x1:e,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.orientation,c=t.mirror,u=t.axisLine,s=za(za(za({},Nt(this.props)),Nt(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=za(za({},s),{},{x1:e,y1:n+l*i,x2:e+r,y2:n+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=za(za({},s),{},{x1:e+f*r,y1:n,x2:e+f*r,y2:n+i})}return o.createElement("line",La({},s,{className:A()("recharts-cartesian-axis-line",L()(u,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,n=this.props,r=n.tickLine,i=n.stroke,c=n.tick,u=n.tickFormatter,s=n.unit,l=a.getTicks(za(za({},this.props),{},{ticks:t})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=Nt(this.props),h=Nt(c),v=za(za({},d),{},{fill:"none"},Nt(r)),y=l.map((function(t,n){var y=e.getTickLineCoord(t),m=y.line,g=y.tick,b=za(za(za(za({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:n,payload:t,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(Ht,La({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Ct(e.props,t,n)),r&&o.createElement("line",La({},v,m,{className:A()("recharts-cartesian-axis-tick-line",L()(r,"className"))})),c&&a.renderTickItem(c,b,"".concat(vt()(u)?u(t.value,n):t.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},y)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,n=t.width,r=t.height,i=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,u=c.ticks,s=Ha(c,["ticks"]),l=u;return vt()(i)&&(l=u&&u.length>0?i(this.props):i(s)),n<=0||r<=0||!l||!l.length?null:o.createElement(Ht,{className:A()("recharts-cartesian-axis",a)},e&&this.renderAxisLine(),this.renderTicks(l),Na.renderCallByParent(this.props))}}])&&Ba(e.prototype,n),r&&Ba(e,r),a}(o.Component);function Ya(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function qa(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Xa(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}Ja.displayName="CartesianAxis",Ja.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};const Qa=Symbol("implicit");function $a(){var t=new Map,e=[],n=[],r=Qa;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Qa)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const r of n){const n=r+"";t.has(n)||t.set(n,e.push(r))}return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return $a(e,n).unknown(r)},qa.apply(i,arguments),i}function Ka(){var t,e,n=$a().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var n=r().length,f=a<o,p=f?a:o,d=f?o:a;t=(d-p)/Math.max(1,n-u+2*s),c&&(t=Math.floor(t)),p+=(d-p-t*(n-u))*l,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=Ya(n).map((function(e){return p+t*e}));return i(f?h.reverse():h)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),f()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,c=!0,f()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(c=!!t,f()):c},n.padding=function(t){return arguments.length?(u=Math.min(1,s=+t),f()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},n.paddingOuter=function(t){return arguments.length?(s=+t,f()):s},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},n.copy=function(){return Ka(r(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},qa.apply(f(),arguments)}function tc(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return tc(e())},t}function ec(){return tc(Ka.apply(null,arguments).paddingInner(1))}var nc=n(60879),rc=n.n(nc),ic=n(11974),oc=n.n(ic),ac=n(33323),cc=n.n(ac),uc=n(41719),sc=n.n(uc),lc=n(26058),fc=n.n(lc);function pc(t){return function(t){if(Array.isArray(t))return dc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return dc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dc(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var hc=function(t){return t},vc={"@@functional/placeholder":!0},yc=function(t){return t===vc},mc=function(t){return function e(){return 0===arguments.length||1===arguments.length&&yc(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},gc=function t(e,n){return 1===e?n:mc((function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==vc})).length;return a>=e?n.apply(void 0,i):t(e-a,mc((function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=i.map((function(t){return yc(t)?e.shift():t}));return n.apply(void 0,pc(o).concat(e))})))}))},bc=function(t){return gc(t.length,t)},xc=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},wc=bc((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ic=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return hc;var r=e.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},Ec=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Mc=function(t){var e=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e&&i.every((function(t,n){return t===e[n]}))?n:(e=i,n=t.apply(void 0,i))}};var Sc={rangeStep:function(t,e,n){for(var r=new(fc())(t),i=0,o=[];r.lt(e)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(fc())(t).abs().log(10).toNumber())+1},interpolateNumber:bc((function(t,e,n){var r=+t;return r+n*(+e-r)})),uninterpolateNumber:bc((function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)})),uninterpolateTruncation:bc((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}))};function Oc(t){return function(t){if(Array.isArray(t))return kc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||_c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||_c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _c(t,e){if(t){if("string"==typeof t)return kc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kc(t,e):void 0}}function kc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Tc(t){var e=jc(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Pc(t,e,n){if(t.lte(0))return new(fc())(0);var r=Sc.getDigitCount(t.toNumber()),i=new(fc())(10).pow(r),o=t.div(i),a=1!==r?.05:.1,c=new(fc())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return e?c:new(fc())(Math.ceil(c))}function Nc(t,e,n){var r=1,i=new(fc())(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new(fc())(10).pow(Sc.getDigitCount(t)-1),i=new(fc())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(fc())(Math.floor(t)))}else 0===t?i=new(fc())(Math.floor((e-1)/2)):n||(i=new(fc())(Math.floor(t)));var a=Math.floor((e-1)/2);return Ic(wc((function(t){return i.add(new(fc())(t-a).mul(r)).toNumber()})),xc)(0,e)}function Ac(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new(fc())(0),tickMin:new(fc())(0),tickMax:new(fc())(0)};var o,a=Pc(new(fc())(e).sub(t).div(n-1),r,i);o=t<=0&&e>=0?new(fc())(0):(o=new(fc())(t).add(e).div(2)).sub(new(fc())(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),u=Math.ceil(new(fc())(e).sub(o).div(a).toNumber()),s=c+u+1;return s>n?Ac(t,e,n,r,i+1):(s<n&&(u=e>0?u+(n-s):u,c=e>0?c:c+(n-s)),{step:a,tickMin:o.sub(new(fc())(c).mul(a)),tickMax:o.add(new(fc())(u).mul(a))})}var Cc=Mc((function(t){var e=jc(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Tc([n,r]),u=jc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(Oc(xc(0,i-1).map((function(){return 1/0})))):[].concat(Oc(xc(0,i-1).map((function(){return-1/0}))),[l]);return n>r?Ec(f):f}if(s===l)return Nc(s,i,o);var p=Ac(s,l,a,o),d=p.step,h=p.tickMin,v=p.tickMax,y=Sc.rangeStep(h,v.add(new(fc())(.1).mul(d)),d);return n>r?Ec(y):y})),Dc=(Mc((function(t){var e=jc(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Tc([n,r]),u=jc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[n,r];if(s===l)return Nc(s,i,o);var f=Pc(new(fc())(l).sub(s).div(a-1),o,0),p=Ic(wc((function(t){return new(fc())(s).add(new(fc())(t).mul(f)).toNumber()})),xc),d=p(0,a).filter((function(t){return t>=s&&t<=l}));return n>r?Ec(d):d})),Mc((function(t,e){var n=jc(t,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Tc([r,i]),c=jc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[r,i];if(u===s)return[u];var l=Math.max(e,2),f=Pc(new(fc())(s).sub(u).div(l-1),o,0),p=[].concat(Oc(Sc.rangeStep(new(fc())(u),new(fc())(s).sub(new(fc())(.99).mul(f)),f)),[s]);return r>i?Ec(p):p}))),Lc=Math.sqrt(50),Rc=Math.sqrt(10),zc=Math.sqrt(2);function Wc(t,e,n){var r,i,o,a,c=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=Hc(t,e,n))||!isFinite(a))return[];if(a>0){let n=Math.round(t/a),r=Math.round(e/a);for(n*a<t&&++n,r*a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)*a}else{a=-a;let n=Math.round(t*a),r=Math.round(e*a);for(n/a<t&&++n,r/a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)/a}return r&&o.reverse(),o}function Hc(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Lc?10:o>=Rc?5:o>=zc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Lc?10:o>=Rc?5:o>=zc?2:1)}function Uc(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Lc?i*=10:o>=Rc?i*=5:o>=zc&&(i*=2),e<t?-i:i}function Bc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Gc(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>Bc(t(e),n)}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}function Zc(t){return null===t?NaN:+t}const Fc=Gc(Bc),Vc=Fc.right;Fc.left,Gc(Zc).center;var Jc=Vc;function Yc(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function qc(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Xc(){}var Qc=.7,$c=1/Qc,Kc="\\s*([+-]?\\d+)\\s*",tu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",nu=/^#([0-9a-f]{3,8})$/,ru=new RegExp("^rgb\\("+[Kc,Kc,Kc]+"\\)$"),iu=new RegExp("^rgb\\("+[eu,eu,eu]+"\\)$"),ou=new RegExp("^rgba\\("+[Kc,Kc,Kc,tu]+"\\)$"),au=new RegExp("^rgba\\("+[eu,eu,eu,tu]+"\\)$"),cu=new RegExp("^hsl\\("+[tu,eu,eu]+"\\)$"),uu=new RegExp("^hsla\\("+[tu,eu,eu,tu]+"\\)$"),su={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function lu(){return this.rgb().formatHex()}function fu(){return this.rgb().formatRgb()}function pu(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=nu.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?du(e):3===n?new mu(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?hu(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?hu(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ru.exec(t))?new mu(e[1],e[2],e[3],1):(e=iu.exec(t))?new mu(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ou.exec(t))?hu(e[1],e[2],e[3],e[4]):(e=au.exec(t))?hu(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=cu.exec(t))?wu(e[1],e[2]/100,e[3]/100,1):(e=uu.exec(t))?wu(e[1],e[2]/100,e[3]/100,e[4]):su.hasOwnProperty(t)?du(su[t]):"transparent"===t?new mu(NaN,NaN,NaN,0):null}function du(t){return new mu(t>>16&255,t>>8&255,255&t,1)}function hu(t,e,n,r){return r<=0&&(t=e=n=NaN),new mu(t,e,n,r)}function vu(t){return t instanceof Xc||(t=pu(t)),t?new mu((t=t.rgb()).r,t.g,t.b,t.opacity):new mu}function yu(t,e,n,r){return 1===arguments.length?vu(t):new mu(t,e,n,null==r?1:r)}function mu(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function gu(){return"#"+xu(this.r)+xu(this.g)+xu(this.b)}function bu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function xu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function wu(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Eu(t,e,n,r)}function Iu(t){if(t instanceof Eu)return new Eu(t.h,t.s,t.l,t.opacity);if(t instanceof Xc||(t=pu(t)),!t)return new Eu;if(t instanceof Eu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,c=o-i,u=(o+i)/2;return c?(a=e===o?(n-r)/c+6*(n<r):n===o?(r-e)/c+2:(e-n)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new Eu(a,c,u,t.opacity)}function Eu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Mu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Su(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Yc(Xc,pu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:lu,formatHex:lu,formatHsl:function(){return Iu(this).formatHsl()},formatRgb:fu,toString:fu}),Yc(mu,yu,qc(Xc,{brighter:function(t){return t=null==t?$c:Math.pow($c,t),new mu(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Qc:Math.pow(Qc,t),new mu(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gu,formatHex:gu,formatRgb:bu,toString:bu})),Yc(Eu,(function(t,e,n,r){return 1===arguments.length?Iu(t):new Eu(t,e,n,null==r?1:r)}),qc(Xc,{brighter:function(t){return t=null==t?$c:Math.pow($c,t),new Eu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Qc:Math.pow(Qc,t),new Eu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new mu(Mu(t>=240?t-240:t+120,i,r),Mu(t,i,r),Mu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Ou=t=>()=>t;function ju(t,e){return function(n){return t+n*e}}function _u(t){return 1==(t=+t)?ku:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ou(isNaN(e)?n:e)}}function ku(t,e){var n=e-t;return n?ju(t,n):Ou(isNaN(t)?e:t)}var Tu=function t(e){var n=_u(e);function r(t,e){var r=n((t=yu(t)).r,(e=yu(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ku(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Pu(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=yu(e[n]),o[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return o=t(o),a=t(a),c=t(c),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=c(t),r+""}}}Pu((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,c=r<e-1?t[r+2]:2*o-i;return Su((n-r/e)*e,a,i,o,c)}})),Pu((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],c=t[(r+2)%e];return Su((n-r/e)*e,i,o,a,c)}}));function Nu(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Hu(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Au(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Cu(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Du(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Hu(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Lu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ru=new RegExp(Lu.source,"g");function zu(t,e){var n,r,i,o=Lu.lastIndex=Ru.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(n=Lu.exec(t))&&(r=Ru.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(n=n[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,u.push({i:a,x:Cu(n,r)})),o=Ru.lastIndex;return o<e.length&&(i=e.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)c[(n=u[r]).i]=n.x(t);return c.join("")})}function Wu(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Hu(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?Ou(e):("number"===i?Cu:"string"===i?(n=pu(e))?(e=n,Tu):zu:e instanceof pu?Tu:e instanceof Date?Au:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Nu:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Du:Cu:Wu))(t,e)}function Uu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Bu(t){return+t}var Gu=[0,1];function Zu(t){return t}function Fu(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Vu(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=Fu(i,r),o=n(a,o)):(r=Fu(r,i),o=n(o,a)),function(t){return o(r(t))}}function Ju(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Fu(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=Jc(t,e,1,r)-1;return o[n](i[n](e))}}function Yu(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function qu(){var t,e,n,r,i,o,a=Gu,c=Gu,u=Hu,s=Zu;function l(){var t=Math.min(a.length,c.length);return s!==Zu&&(s=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(a[0],a[t-1])),r=t>2?Ju:Vu,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),c,u)))(t(s(e)))}return f.invert=function(n){return s(e((o||(o=r(c,a.map(t),Cu)))(n)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Bu),l()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),l()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=Uu,l()},f.clamp=function(t){return arguments.length?(s=!!t||Zu,l()):s!==Zu},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Xu(){return qu()(Zu,Zu)}var Qu,$u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(t){if(!(e=$u.exec(t)))throw new Error("invalid format: "+t);var e;return new ts({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ts(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function es(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ns(t){return(t=es(Math.abs(t)))?t[1]:NaN}function rs(t,e){var n=es(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Ku.prototype=ts.prototype,ts.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var is={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rs(100*t,e),r:rs,s:function(t,e){var n=es(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+es(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function os(t){return t}var as,cs,us,ss=Array.prototype.map,ls=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fs(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?os:(e=ss.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,c=e[0],u=0;i>0&&c>0&&(u+c+1>r&&(c=Math.max(1,r-u)),o.push(t.substring(i-=c,i+c)),!((u+=c+1)>r));)c=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?os:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ss.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=Ku(t)).fill,n=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,v=t.comma,y=t.precision,m=t.trim,g=t.type;"n"===g?(v=!0,g="g"):is[g]||(void 0===y&&(y=12),m=!0,g="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",x="$"===p?o:/[%p]/.test(g)?u:"",w=is[g],I=/[defgprs%]/.test(g);function E(t){var i,o,u,p=b,E=x;if("c"===g)E=w(t)+E,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),p=(M?"("===f?f:s:"-"===f||"("===f?"":f)+p,E=("s"===g?ls[8+Qu/3]:"")+E+(M&&"("===f?")":""),I)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){E=(46===u?a+t.slice(i+1):t.slice(i))+E,t=t.slice(0,i);break}}v&&!d&&(t=r(t,1/0));var S=p.length+t.length+E.length,O=S<h?new Array(h-S+1).join(e):"";switch(v&&d&&(t=r(O+t,O.length?h-E.length:1/0),O=""),n){case"<":t=p+t+E+O;break;case"=":t=p+O+t+E;break;case"^":t=O.slice(0,S=O.length>>1)+p+t+E+O.slice(S);break;default:t=O+p+t+E}return c(t)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),E.toString=function(){return t+""},E}return{format:f,formatPrefix:function(t,e){var n=f(((t=Ku(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(ns(e)/3))),i=Math.pow(10,-r),o=ls[8+r/3];return function(t){return n(i*t)+o}}}}function ps(t,e,n,r){var i,o=Uc(t,e,n);switch((r=Ku(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ns(e)/3)))-ns(Math.abs(t)))}(o,a))||(r.precision=i),us(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ns(e)-ns(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-ns(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return cs(r)}function ds(t){var e=t.domain;return t.ticks=function(t){var n=e();return Wc(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return ps(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,c=o.length-1,u=o[a],s=o[c],l=10;for(s<u&&(i=u,u=s,s=i,i=a,a=c,c=i);l-- >0;){if((i=Hc(u,s,n))===r)return o[a]=u,o[c]=s,e(o);if(i>0)u=Math.floor(u/i)*i,s=Math.ceil(s/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,s=Math.floor(s*i)/i}r=i}return t},t}function hs(){var t=Xu();return t.copy=function(){return Yu(t,hs())},qa.apply(t,arguments),ds(t)}function vs(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,Bu),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return vs(t).unknown(e)},t=arguments.length?Array.from(t,Bu):[0,1],ds(n)}function ys(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function ms(t){return Math.log(t)}function gs(t){return Math.exp(t)}function bs(t){return-Math.log(-t)}function xs(t){return-Math.exp(-t)}function ws(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Is(t){return function(e){return-t(-e)}}function Es(t){var e,n,r=t(ms,gs),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?ws:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=Is(e),n=Is(n),t(bs,xs)):t(ms,gs),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),c=a[0],u=a[a.length-1];(r=u<c)&&(p=c,c=u,u=p);var s,l,f,p=e(c),d=e(u),h=null==t?10:+t,v=[];if(!(o%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),c>0){for(;p<=d;++p)for(l=1,s=n(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;v.push(f)}}else for(;p<=d;++p)for(l=o-1,s=n(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;v.push(f)}2*v.length<h&&(v=Wc(c,u,h))}else v=Wc(p,d,Math.min(d-p,h)).map(n);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=cs(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(ys(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function Ms(){var t=Es(qu()).domain([1,10]);return t.copy=function(){return Yu(t,Ms()).base(t.base())},qa.apply(t,arguments),t}function Ss(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Os(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function js(t){var e=1,n=t(Ss(e),Os(e));return n.constant=function(n){return arguments.length?t(Ss(e=+n),Os(e)):e},ds(n)}function _s(){var t=js(qu());return t.copy=function(){return Yu(t,_s()).constant(t.constant())},qa.apply(t,arguments)}function ks(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Ts(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Ps(t){return t<0?-t*t:t*t}function Ns(t){var e=t(Zu,Zu),n=1;function r(){return 1===n?t(Zu,Zu):.5===n?t(Ts,Ps):t(ks(n),ks(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},ds(e)}function As(){var t=Ns(qu());return t.copy=function(){return Yu(t,As()).exponent(t.exponent())},qa.apply(t,arguments),t}function Cs(){return As.apply(null,arguments).exponent(.5)}function Ds(t){return Math.sign(t)*t*t}function Ls(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Rs(){var t,e=Xu(),n=[0,1],r=!1;function i(n){var i=Ls(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(Ds(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,Bu)).map(Ds)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Rs(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},qa.apply(i,arguments),ds(i)}function zs(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function Ws(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Hs(t,e,n=0,r=t.length-1,i=Bc){for(;r>n;){if(r-n>600){const o=r-n+1,a=e-n+1,c=Math.log(o),u=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*u*(o-u)/o)*(a-o/2<0?-1:1);Hs(t,e,Math.max(n,Math.floor(e-a*u/o+s)),Math.min(r,Math.floor(e+(o-a)*u/o+s)),i)}const o=t[e];let a=n,c=r;for(Us(t,n,e),i(t[r],o)>0&&Us(t,n,r);a<c;){for(Us(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[n],o)?Us(t,n,c):(++c,Us(t,c,r)),c<=e&&(n=c+1),e<=c&&(r=c-1)}return t}function Us(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function Bs(t,e,n){if(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length){if((e=+e)<=0||r<2)return Ws(t);if(e>=1)return zs(t);var r,i=(r-1)*e,o=Math.floor(i),a=zs(Hs(t,o).subarray(0,o+1));return a+(Ws(t.subarray(o+1))-a)*(i-o)}}function Gs(t,e,n=Zc){if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function Zs(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=Gs(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:n[Jc(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Bc),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return Zs().domain(e).range(n).unknown(t)},qa.apply(o,arguments)}function Fs(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[Jc(i,e,0,r)]:t}function c(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,c()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,c()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Fs().domain([e,n]).range(o).unknown(t)},qa.apply(ds(a),arguments)}function Vs(){var t,e=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[Jc(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Vs().domain(e).range(n).unknown(t)},qa.apply(i,arguments)}as=fs({thousands:",",grouping:[3],currency:["$",""]}),cs=as.format,us=as.formatPrefix;const Js=1e3,Ys=6e4,qs=36e5,Xs=864e5,Qs=6048e5,$s=2592e6,Ks=31536e6;var tl=new Date,el=new Date;function nl(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,c=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return c;do{c.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return c},i.filter=function(n){return nl((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return tl.setTime(+e),el.setTime(+r),t(tl),t(el),Math.floor(n(tl,el))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var rl=nl((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));rl.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?nl((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):rl:null};var il=rl,ol=(rl.range,nl((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*Js)}),(function(t,e){return(e-t)/Js}),(function(t){return t.getUTCSeconds()}))),al=ol,cl=(ol.range,nl((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Js)}),(function(t,e){t.setTime(+t+e*Ys)}),(function(t,e){return(e-t)/Ys}),(function(t){return t.getMinutes()}))),ul=cl,sl=(cl.range,nl((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Js-t.getMinutes()*Ys)}),(function(t,e){t.setTime(+t+e*qs)}),(function(t,e){return(e-t)/qs}),(function(t){return t.getHours()}))),ll=sl,fl=(sl.range,nl((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ys)/Xs),(t=>t.getDate()-1))),pl=fl;fl.range;function dl(t){return nl((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ys)/Qs}))}var hl=dl(0),vl=dl(1),yl=dl(2),ml=dl(3),gl=dl(4),bl=dl(5),xl=dl(6),wl=(hl.range,vl.range,yl.range,ml.range,gl.range,bl.range,xl.range,nl((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Il=wl,El=(wl.range,nl((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));El.every=function(t){return isFinite(t=Math.floor(t))&&t>0?nl((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Ml=El,Sl=(El.range,nl((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Ys)}),(function(t,e){return(e-t)/Ys}),(function(t){return t.getUTCMinutes()}))),Ol=Sl,jl=(Sl.range,nl((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*qs)}),(function(t,e){return(e-t)/qs}),(function(t){return t.getUTCHours()}))),_l=jl,kl=(jl.range,nl((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Xs}),(function(t){return t.getUTCDate()-1}))),Tl=kl;kl.range;function Pl(t){return nl((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Qs}))}var Nl=Pl(0),Al=Pl(1),Cl=Pl(2),Dl=Pl(3),Ll=Pl(4),Rl=Pl(5),zl=Pl(6),Wl=(Nl.range,Al.range,Cl.range,Dl.range,Ll.range,Rl.range,zl.range,nl((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Hl=Wl,Ul=(Wl.range,nl((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ul.every=function(t){return isFinite(t=Math.floor(t))&&t>0?nl((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Bl=Ul;Ul.range;function Gl(t,e,n,r,i,o){const a=[[al,1,Js],[al,5,5e3],[al,15,15e3],[al,30,3e4],[o,1,Ys],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,qs],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Xs],[r,2,1728e5],[n,1,Qs],[e,1,$s],[e,3,7776e6],[t,1,Ks]];function c(e,n,r){const i=Math.abs(n-e)/r,o=Gc((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(Uc(e/Ks,n/Ks,r));if(0===o)return il.every(Math.max(Uc(e,n,r),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:c(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},c]}const[Zl,Fl]=Gl(Bl,Hl,Nl,Tl,_l,Ol),[Vl,Jl]=Gl(Ml,Il,hl,pl,ll,ul);function Yl(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ql(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Xl(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Ql,$l,Kl,tf={"-":"",_:" ",0:"0"},ef=/^\s*\d+/,nf=/^%/,rf=/[\\^$*+?|[\]().{}]/g;function of(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function af(t){return t.replace(rf,"\\$&")}function cf(t){return new RegExp("^(?:"+t.map(af).join("|")+")","i")}function uf(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function sf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function lf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function ff(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function pf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function df(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function hf(t,e,n){var r=ef.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function vf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yf(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function mf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function gf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function bf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function xf(t,e,n){var r=ef.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function wf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function If(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Ef(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Mf(t,e,n){var r=ef.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Sf(t,e,n){var r=ef.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Of(t,e,n){var r=nf.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function jf(t,e,n){var r=ef.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function _f(t,e,n){var r=ef.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function kf(t,e){return of(t.getDate(),e,2)}function Tf(t,e){return of(t.getHours(),e,2)}function Pf(t,e){return of(t.getHours()%12||12,e,2)}function Nf(t,e){return of(1+pl.count(Ml(t),t),e,3)}function Af(t,e){return of(t.getMilliseconds(),e,3)}function Cf(t,e){return Af(t,e)+"000"}function Df(t,e){return of(t.getMonth()+1,e,2)}function Lf(t,e){return of(t.getMinutes(),e,2)}function Rf(t,e){return of(t.getSeconds(),e,2)}function zf(t){var e=t.getDay();return 0===e?7:e}function Wf(t,e){return of(hl.count(Ml(t)-1,t),e,2)}function Hf(t){var e=t.getDay();return e>=4||0===e?gl(t):gl.ceil(t)}function Uf(t,e){return t=Hf(t),of(gl.count(Ml(t),t)+(4===Ml(t).getDay()),e,2)}function Bf(t){return t.getDay()}function Gf(t,e){return of(vl.count(Ml(t)-1,t),e,2)}function Zf(t,e){return of(t.getFullYear()%100,e,2)}function Ff(t,e){return of((t=Hf(t)).getFullYear()%100,e,2)}function Vf(t,e){return of(t.getFullYear()%1e4,e,4)}function Jf(t,e){var n=t.getDay();return of((t=n>=4||0===n?gl(t):gl.ceil(t)).getFullYear()%1e4,e,4)}function Yf(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+of(e/60|0,"0",2)+of(e%60,"0",2)}function qf(t,e){return of(t.getUTCDate(),e,2)}function Xf(t,e){return of(t.getUTCHours(),e,2)}function Qf(t,e){return of(t.getUTCHours()%12||12,e,2)}function $f(t,e){return of(1+Tl.count(Bl(t),t),e,3)}function Kf(t,e){return of(t.getUTCMilliseconds(),e,3)}function tp(t,e){return Kf(t,e)+"000"}function ep(t,e){return of(t.getUTCMonth()+1,e,2)}function np(t,e){return of(t.getUTCMinutes(),e,2)}function rp(t,e){return of(t.getUTCSeconds(),e,2)}function ip(t){var e=t.getUTCDay();return 0===e?7:e}function op(t,e){return of(Nl.count(Bl(t)-1,t),e,2)}function ap(t){var e=t.getUTCDay();return e>=4||0===e?Ll(t):Ll.ceil(t)}function cp(t,e){return t=ap(t),of(Ll.count(Bl(t),t)+(4===Bl(t).getUTCDay()),e,2)}function up(t){return t.getUTCDay()}function sp(t,e){return of(Al.count(Bl(t)-1,t),e,2)}function lp(t,e){return of(t.getUTCFullYear()%100,e,2)}function fp(t,e){return of((t=ap(t)).getUTCFullYear()%100,e,2)}function pp(t,e){return of(t.getUTCFullYear()%1e4,e,4)}function dp(t,e){var n=t.getUTCDay();return of((t=n>=4||0===n?Ll(t):Ll.ceil(t)).getUTCFullYear()%1e4,e,4)}function hp(){return"+0000"}function vp(){return"%"}function yp(t){return+t}function mp(t){return Math.floor(+t/1e3)}function gp(t){return new Date(t)}function bp(t){return t instanceof Date?+t:+new Date(+t)}function xp(t,e,n,r,i,o,a,c,u,s){var l=Xu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),v=s("%I:%M"),y=s("%I %p"),m=s("%a %d"),g=s("%b %d"),b=s("%B"),x=s("%Y");function w(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?v:o(t)<t?y:r(t)<t?i(t)<t?m:g:n(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,bp)):p().map(gp)},l.ticks=function(e){var n=p();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?w:s(e)},l.nice=function(t){var n=p();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?p(ys(n,t)):l},l.copy=function(){return Yu(l,xp(t,e,n,r,i,o,a,c,u,s))},l}function wp(){return qa.apply(xp(Vl,Jl,Ml,Il,hl,pl,ll,ul,al,$l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ip(){return qa.apply(xp(Zl,Fl,Bl,Hl,Nl,Tl,_l,Ol,al,Kl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ep(){var t,e,n,r,i,o=0,a=1,c=Zu,u=!1;function s(e){return null==e||isNaN(e=+e)?i:c(0===n?.5:(e=(r(e)-t)*n,u?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,c=t(n,r),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(u=!!t,s):u},s.interpolator=function(t){return arguments.length?(c=t,s):c},s.range=l(Hu),s.rangeRound=l(Uu),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),s}}function Mp(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Sp(){var t=ds(Ep()(Zu));return t.copy=function(){return Mp(t,Sp())},Xa.apply(t,arguments)}function Op(){var t=Es(Ep()).domain([1,10]);return t.copy=function(){return Mp(t,Op()).base(t.base())},Xa.apply(t,arguments)}function jp(){var t=js(Ep());return t.copy=function(){return Mp(t,jp()).constant(t.constant())},Xa.apply(t,arguments)}function _p(){var t=Ns(Ep());return t.copy=function(){return Mp(t,_p()).exponent(t.exponent())},Xa.apply(t,arguments)}function kp(){return _p.apply(null,arguments).exponent(.5)}function Tp(){var t=[],e=Zu;function n(n){if(null!=n&&!isNaN(n=+n))return e((Jc(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(Bc),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>Bs(t,r/e)))},n.copy=function(){return Tp(e).domain(t)},Xa.apply(n,arguments)}function Pp(t,e){void 0===e&&(e=t,t=Hu);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}function Np(){var t,e,n,r,i,o,a,c=0,u=.5,s=1,l=1,f=Zu,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=Pp(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,t=o(c=+c),e=o(u=+u),n=o(s=+s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[c,u,s]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(Hu),d.rangeRound=h(Uu),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(c),e=a(u),n=a(s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function Ap(){var t=ds(Np()(Zu));return t.copy=function(){return Mp(t,Ap())},Xa.apply(t,arguments)}function Cp(){var t=Es(Np()).domain([.1,1,10]);return t.copy=function(){return Mp(t,Cp()).base(t.base())},Xa.apply(t,arguments)}function Dp(){var t=js(Np());return t.copy=function(){return Mp(t,Dp()).constant(t.constant())},Xa.apply(t,arguments)}function Lp(){var t=Ns(Np());return t.copy=function(){return Mp(t,Lp()).exponent(t.exponent())},Xa.apply(t,arguments)}function Rp(){return Lp.apply(null,arguments).exponent(.5)}function zp(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<c;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Wp(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Hp(t,e){return t[e]}function Up(t){const e=[];return e.key=t,e}function Bp(t){return function(t){if(Array.isArray(t))return Gp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Gp(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gp(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Zp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zp(Object(n),!0).forEach((function(e){Vp(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jp(t,e,n){return Et()(t)||Et()(e)?n:Y(e)?L()(t,e,n):vt()(e)?e(t):n}function Yp(t,e,n,r){var i=sc()(t,(function(t){return Jp(t,e)}));if("number"===n){var o=i.filter((function(t){return J(t)||parseFloat(t)}));return o.length?[cc()(o),oc()(o)]:[1/0,-1/0]}return(r?i.filter((function(t){return!Et()(t)})):i).map((function(t){return Y(t)||t instanceof Date?t:""}))}!function(t){Ql=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,s=cf(i),l=uf(i),f=cf(o),p=uf(o),d=cf(a),h=uf(a),v=cf(c),y=uf(c),m=cf(u),g=uf(u),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:kf,e:kf,f:Cf,g:Ff,G:Jf,H:Tf,I:Pf,j:Nf,L:Af,m:Df,M:Lf,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:yp,s:mp,S:Rf,u:zf,U:Wf,V:Uf,w:Bf,W:Gf,x:null,X:null,y:Zf,Y:Vf,Z:Yf,"%":vp},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:qf,e:qf,f:tp,g:fp,G:dp,H:Xf,I:Qf,j:$f,L:Kf,m:ep,M:np,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:yp,s:mp,S:rp,u:ip,U:op,V:cp,w:up,W:sp,x:null,X:null,y:lp,Y:pp,Z:hp,"%":vp},w={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return M(t,e,n,r)},d:bf,e:bf,f:Sf,g:vf,G:hf,H:wf,I:wf,j:xf,L:Mf,m:gf,M:If,p:function(t,e,n){var r=s.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:mf,Q:jf,s:_f,S:Ef,u:lf,U:ff,V:pf,w:sf,W:df,x:function(t,e,r){return M(t,n,e,r)},X:function(t,e,n){return M(t,r,e,n)},y:vf,Y:hf,Z:yf,"%":Of};function I(t,e){return function(n){var r,i,o,a=[],c=-1,u=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++c<s;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(i=tf[r=t.charAt(++c)])?r=t.charAt(++c):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function E(t,e){return function(n){var r,i,o=Xl(1900,void 0,1);if(M(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=ql(Xl(o.y,0,1))).getUTCDay(),r=i>4||0===i?Al.ceil(r):Al(r),r=Tl.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Yl(Xl(o.y,0,1))).getDay(),r=i>4||0===i?vl.ceil(r):vl(r),r=pl.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ql(Xl(o.y,0,1)).getUTCDay():Yl(Xl(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ql(o)):Yl(o)}}function M(t,e,n,r){for(var i,o,a=0,c=e.length,u=n.length;a<c;){if(r>=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in tf?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=I(n,b),b.X=I(r,b),b.c=I(e,b),x.x=I(n,x),x.X=I(r,x),x.c=I(e,x),{format:function(t){var e=I(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=E(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=I(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=E(t+="",!0);return e.toString=function(){return t},e}}}(t),$l=Ql.format,Ql.parse,Kl=Ql.utcFormat,Ql.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var qp=function(t){var e,n=t.type.displayName,r=t.props,i=r.stroke,o=r.fill;switch(n){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},Xp=function(t){var e,n=t.children,r=t.formatedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Ho(n,Xr.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(r||[]).reduce((function(t,e){var n=e.item,r=e.props,i=r.sectors||r.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,i=n.name,o=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||o||"square",color:qp(e),value:i||r,payload:e.props}})),Fp(Fp(Fp({},a.props),Xr.getWithHeight(a,i)),{},{payload:e,item:a})):null},Qp=function(t,e,n,r){var i=e.props.children,o=Wo(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!Et()(e)&&!Et()(r))||r.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=Jp(e,n,0),i=z()(r)?[cc()(r),oc()(r)]:[r,r],o=a.reduce((function(t,n){var r=Jp(e,n,0),o=i[0]-Math.abs(z()(r)?r[0]:r),a=i[1]+Math.abs(z()(r)?r[1]:r);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},$p=function(t,e,n,r){var i=e.map((function(e){var i=e.props.dataKey;return"number"===n&&i&&Qp(t,e,i)||Yp(t,i,n,r)}));if("number"===n)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)o[e[n]]||(o[e[n]]=!0,t.push(e[n]));return t}),[])},Kp=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},td=function(t,e,n){var r,i,o=t.map((function(t){return t.coordinate===e&&(r=!0),t.coordinate===n&&(i=!0),t.coordinate}));return r||o.push(e),i||o.push(n),o},ed=function(t,e,n){if(!t)return null;var r=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c=(e||n)&&"category"===o&&r.bandwidth?r.bandwidth()/2:0;return c="angleAxis"===t.axisType?2*F(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:r(e)+c,value:t,offset:c}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+c,value:t,index:e,offset:c}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+c,value:t,offset:c}})):r.domain().map((function(t,e){return{coordinate:r(t)+c,value:i?i[t]:t,index:e,offset:c}}))},nd=function(t,e,n){var r;return vt()(n)?r=n:vt()(e)&&(r=e),vt()(t)||r?function(e,n,i,o){vt()(t)&&t(e,n,i,o),vt()(r)&&r(e,n,i,o)}:null},rd=1e-4,id={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0,a=0;a<e;++a){var c=H()(t[a][n][1])?t[a][n][0]:t[a][n][1];c>=0?(t[a][n][0]=i,t[a][n][1]=i+c,i=t[a][n][1]):(t[a][n][0]=o,t[a][n][1]=o+c,o=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}zp(t,e)}},none:zp,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,c=0;a<n;++a)c+=t[a][r][1]||0;i[r][1]+=i[r][0]=-c/2}zp(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=t[e[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}n[a-1][1]+=n[a-1][0]=o,u&&(o-=s/u)}n[a-1][1]+=n[a-1][0]=o,zp(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0;o<e;++o){var a=H()(t[o][n][1])?t[o][n][0]:t[o][n][1];a>=0?(t[o][n][0]=i,t[o][n][1]=i+a,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}}},od=function(t,e,n){var r=e.map((function(t){return t.props.dataKey}));return function(){var t=dr([]),e=Wp,n=zp,r=Hp;function i(i){var o,a,c=Array.from(t.apply(this,arguments),Up),u=c.length,s=-1;for(const t of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+r(t,c[o].key,s,i)]).data=t;for(o=0,a=vi(e(c));o<u;++o)c[a[o]].index=o;return n(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:dr(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:dr(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Wp:"function"==typeof t?t:dr(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?zp:t,i):n},i}().keys(r).value((function(t,e){return+Jp(t,e,0)})).order(Wp).offset(id[n])(t)},ad=function(t,e){var n=e.realScaleType,r=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=n||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var u=t.domain();if(!u.length)return null;var s=Cc(u,i,a);return t.domain(function(t,e){return"number"===e?[cc()(t),oc()(t)]:t}(s,r)),{niceTicks:s}}if(i&&"number"===r){var l=t.domain();return{niceTicks:Dc(l,i,a)}}return null},cd=function(t){var e=t.axis,n=t.ticks,r=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var c=Jp(o,e.dataKey,e.domain[a]);return Et()(c)?null:e.scale(c)-i/2+r},ud=function(t,e,n){return Object.keys(t).reduce((function(r,i){var o=t[i].stackedData.reduce((function(t,r){var i=r.slice(e,n+1).reduce((function(t,e){return[cc()(e.concat([t[0]]).filter(J)),oc()(e.concat([t[1]]).filter(J))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},sd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ld=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fd=function(t,e,n){if(!z()(t))return e;var r=[];if(J(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(sd.test(t[0])){var i=+sd.exec(t[0])[1];r[0]=e[0]-i}else vt()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if(J(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(ld.test(t[1])){var o=+ld.exec(t[1])[1];r[1]=e[1]+o}else vt()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},pd=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var i=bt()(e,(function(t){return t.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],s=i[a-1];o=Math.min((u.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return 0},dd=function(t,e,n){return t&&t.length?rc()(t,L()(n,"type.defaultProps.domain"))?e:t:e},hd=function(t,e){var n=t.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,c=n.tooltipType;return Fp(Fp({},Nt(t)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:qp(t),value:Jp(e,r),type:c,payload:e})};function vd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vd(Object(n),!0).forEach((function(e){md(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function md(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gd=["Webkit","Moz","O","ms"];function bd(t){return(bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xd(){return(xd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function wd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Id(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wd(Object(n),!0).forEach((function(e){Ed(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ed(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Md(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Sd(t,e){return(Sd=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Od(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kd(t);if(e){var i=kd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jd(this,n)}}function jd(t,e){return!e||"object"!==bd(e)&&"function"!=typeof e?_d(t):e}function _d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kd(t){return(kd=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Td=function(t){return t.changedTouches&&!!t.changedTouches.length},Pd=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}(a,t);var e,n,r,i=Od(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var n=Td(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(_d(e),"startX"),endX:e.handleTravellerDragStart.bind(_d(e),"endX")},e.state={},e}return e=a,r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,i=t.height,a=t.stroke,c=Math.floor(n+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:e,y:n,width:r,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:e+1,y1:c,x2:e+r-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:e+1,y1:c+2,x2:e+r-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):a.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return Id({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=ec().domain(wt()(0,c)).range([i,i+o-a]),s=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(n),endX:u(r),scale:u,scaleValues:s}}({data:n,width:r,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+r-o]);var s=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(e,n),s=Math.max(e,n),l=a.getIndexInRange(r,u),f=a.getIndexInRange(r,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,o=Jp(n[t],i,t);return vt()(r)?r(o,t):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=t.pageX-n;p>0?p=Math.min(p,a+c-u-i,a+c-u-r):p<0&&(p=Math.max(p,a-r,a-i));var d=this.getIndex({startX:r+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:r+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=Td(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,i=n.movingTravellerId,o=n.endX,a=n.startX,c=this.state[i],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onChange,d=u.gap,h=u.data,v={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,s+l-f-c):y<0&&(y=Math.max(y,s-c)),v[i]=c+y;var m=this.getIndex(v),g=m.startIndex,b=m.endIndex;this.setState((Ed(e={},i,c+y),Ed(e,"brushMoveStartX",t.pageX),e),(function(){var t;p&&(t=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===t||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===t)&&p(m))}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.fill,c=t.stroke;return o.createElement("rect",{stroke:c,fill:a,x:e,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.data,c=t.children,u=t.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:e,y:n,width:r,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this.props,r=n.y,i=n.travellerWidth,c=n.height,u=n.traveller,s=Math.max(t,this.props.x),l=Id(Id({},Nt(this.props)),{},{x:s,y:r,width:i,height:c});return o.createElement(Ht,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,i=n.height,a=n.stroke,c=n.travellerWidth,u=Math.min(t,e)+c,s=Math.max(Math.abs(e-t)-c,0);return o.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:r,width:s,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,i=t.height,a=t.travellerWidth,c=t.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(Ht,{className:"recharts-brush-texts"},o.createElement(Ma,xd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:r+i/2},f),this.getTextOfTick(e)),o.createElement(Ma,xd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:r+i/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,i=t.x,a=t.y,c=t.width,u=t.height,s=t.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,v=l.isTravellerMoving;if(!e||!e.length||!J(i)||!J(a)||!J(c)||!J(u)||c<=0||u<=0)return null;var y=A()("recharts-brush",n),m=1===o.Children.count(r),g=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),r=gd.reduce((function(t,r){return yd(yd({},t),{},md({},r+n,e))}),{});return r[t]=e,r}("userSelect","none");return o.createElement(Ht,{className:y,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),m&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||v||s)&&this.renderText())}}])&&Md(e.prototype,n),r&&Md(e,r),a}(o.PureComponent);Pd.displayName="Brush",Pd.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var Nd=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},Ad=n(18345),Cd=n.n(Ad);function Dd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ld(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ld(Object(n),!0).forEach((function(e){zd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ld(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function zd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wd=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},Hd=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,n,r;return e=t,r=[{key:"create",value:function(e){return new t(e)}}],(n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}])&&Dd(e.prototype,n),r&&Dd(e,r),t}();Hd.EPS=1e-4;var Ud=function(t){var e=Object.keys(t).reduce((function(e,n){return Rd(Rd({},e),{},zd({},n,Hd.create(t[n])))}),{});return Rd(Rd({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware;return Cd()(t,(function(t,n){return e[n].apply(t,{bandAware:r})}))},isInRange:function(t){return ft()(t,(function(t,n){return e[n].isInRange(t)}))}})};function Bd(){return(Bd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Gd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gd(Object(n),!0).forEach((function(e){Fd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vd(t){var e=t.x,n=t.y,r=t.r,i=t.alwaysShow,a=t.clipPathId,c=Y(e),u=Y(n);if(et(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(t){var e=t.x,n=t.y,r=t.xAxis,i=t.yAxis,o=Ud({x:r.scale,y:i.scale}),a=o.apply({x:e,y:n},{bandAware:!0});return Nd(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!s)return null;var l=s.x,f=s.y,p=t.shape,d=t.className,h=Zd(Zd({clipPath:Nd(t,"hidden")?"url(#".concat(a,")"):void 0},Nt(t,!0)),{},{cx:l,cy:f});return o.createElement(Ht,{className:A()("recharts-reference-dot",d)},Vd.renderDot(p,h),Na.renderCallByParent(t,{x:l-r,y:f-r,width:2*r,height:2*r}))}Vd.displayName="ReferenceDot",Vd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Vd.renderDot=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(xo,Bd({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var Jd=n(94927),Yd=n.n(Jd);function qd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qd(Object(n),!0).forEach((function(e){Qd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Kd(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kd(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function th(){return(th=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function eh(t){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,a=t.yAxis,c=t.shape,u=t.className,s=t.alwaysShow,l=t.clipPathId;et(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(t,e,n,r,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(n){var f=i.y,p=i.yAxis.orientation,d=t.y.apply(f,{position:l});if(Nd(i,"discard")&&!t.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(e){var v=i.x,y=i.xAxis.orientation,m=t.x.apply(v,{position:l});if(Nd(i,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:c+s},{x:m,y:c}];return"top"===y?g.reverse():g}if(r){var b=i.segment.map((function(e){return t.apply(e,{position:l})}));return Nd(i,"discard")&&Yd()(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Ud({x:i.scale,y:a.scale}),Y(e),Y(n),r&&2===r.length,t);if(!f)return null;var p=$d(f,2),d=p[0],h=d.x,v=d.y,y=p[1],m=y.x,g=y.y,b=Xd(Xd({clipPath:Nd(t,"hidden")?"url(#".concat(l,")"):void 0},Nt(t,!0)),{},{x1:h,y1:v,x2:m,y2:g});return o.createElement(Ht,{className:A()("recharts-reference-line",u)},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement("line",th({},e,{className:"recharts-reference-line-line"}))}(c,b),Na.renderCallByParent(t,function(t){var e=t.x1,n=t.y1,r=t.x2,i=t.y2;return Wd({x:e,y:n},{x:r,y:i})}({x1:h,y1:v,x2:m,y2:g})))}function nh(){return(nh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function rh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ih(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rh(Object(n),!0).forEach((function(e){oh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}eh.displayName="ReferenceLine",eh.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function ah(t){var e=t.x1,n=t.x2,r=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;et(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=Y(e),l=Y(n),f=Y(r),p=Y(i),d=t.shape;if(!(s||l||f||p||d))return null;var h=function(t,e,n,r,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Ud({x:s.scale,y:l.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!Nd(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Wd(p,d):null}(s,l,f,p,t);if(!h&&!d)return null;var v=Nd(t,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(Ht,{className:A()("recharts-reference-area",a)},ah.renderRect(d,ih(ih({clipPath:v},Nt(t,!0)),h)),Na.renderCallByParent(t,h))}ah.displayName="ReferenceArea",ah.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},ah.renderRect=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Po,nh({},e,{className:"recharts-reference-area-rect"}))};var ch=function(t,e,n,r,i){var o=Wo(t,eh.displayName),a=Wo(t,Vd.displayName),c=o.concat(a),u=Wo(t,ah.displayName),s="".concat(r,"Id"),l=r[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[s]===n&&Nd(e.props,"extendDomain")&&J(e.props[l])){var r=e.props[l];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(t,e){if(e.props[s]===n&&Nd(e.props,"extendDomain")&&J(e.props[p])&&J(e.props[d])){var r=e.props[p],i=e.props[d];return[Math.min(t[0],r,i),Math.max(t[1],r,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return J(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},uh=n(2594),sh=new(n.n(uh)());sh.setMaxListeners&&sh.setMaxListeners(10);var lh="recharts.syncMouseEvents";function fh(t){return(fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ph(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||Ih(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dh(){return(dh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function hh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function vh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yh(t,e){return(yh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mh(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=xh(t);if(e){var i=xh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return gh(this,n)}}function gh(t,e){return!e||"object"!==fh(e)&&"function"!=typeof e?bh(t):e}function bh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xh(t){return(xh=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wh(t){return function(t){if(Array.isArray(t))return Eh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ih(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ih(t,e){if(t){if("string"==typeof t)return Eh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eh(t,e):void 0}}function Eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Mh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Sh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mh(Object(n),!0).forEach((function(e){Oh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jh={xAxis:["bottom","top"],yAxis:["left","right"]},_h={x:0,y:0},kh=Number.isFinite?Number.isFinite:isFinite,Th="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Ph="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,Nh=function(t,e,n){var r=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(r||[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(wh(t),wh(n)):t}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:t&&t.length&&J(i)&&J(o)?t.slice(i,o+1):[]},Ah=function(t,e,n,r){var i=t.graphicalItems,o=t.tooltipAxis,a=Nh(e,t);return n<0||!i||!i.length||n>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,c=e.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=tt(void 0===c?a:c,o.dataKey,r):i=c&&c[n]||a[n];return i?[].concat(wh(t),[hd(e,i)]):t}),[])},Ch=function(t,e,n,r){var i=r||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,n),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,s=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null==n?void 0:n.length)&&void 0!==e?e:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,u=0;u<a;u++){var s=u>0?r[u-1].coordinate:r[a-1].coordinate,l=r[u].coordinate,f=u>=a-1?r[0].coordinate:r[u+1].coordinate,p=void 0;if(F(l-s)!==F(f-l)){var d=[];if(F(f-l)===F(c[1]-c[0])){p=f;var h=l+c[1]-c[0];d[0]=Math.min(h,(h+s)/2),d[1]=Math.max(h,(h+s)/2)}else{p=s;var v=f+c[1]-c[0];d[0]=Math.min(l,(v+l)/2),d[1]=Math.max(l,(v+l)/2)}var y=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>y[0]&&t<=y[1]||t>=d[0]&&t<=d[1]){o=r[u].index;break}}else{var m=Math.min(s,f),g=Math.max(s,f);if(t>(m+l)/2&&t<=(g+l)/2){o=r[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2){o=n[b].index;break}}else o=0;return o}(o,a,u,c);if(s>=0&&u){var l=u[s]&&u[s].value;return{activeTooltipIndex:s,activeLabel:l,activePayload:Ah(t,e,s,l),activeCoordinate:function(t,e,n,r){var i=e.find((function(t){return t&&t.index===n}));if(i){if("horizontal"===t)return{x:i.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=r.radius;return Sh(Sh(Sh({},r),Xi(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=r.angle;return Sh(Sh(Sh({},r),Xi(r.cx,r.cy,c,u)),{},{angle:u,radius:c})}return _h}(n,a,s,i)}}return null},Dh=function(t,e){var n=e.axes,r=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=t.stackOffset,p=Kp(s,i);return n.reduce((function(e,n){var d=n.props,h=d.type,v=d.dataKey,y=d.allowDataOverflow,m=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,x=n.props[o],w=Nh(t.data,{graphicalItems:r.filter((function(t){return t.props[o]===x})),dataStartIndex:c,dataEndIndex:u}),I=w.length;if(!e[x]){var E,M,S;if(v){if(E=Yp(w,v,h),"category"===h&&p){var O=function(t){if(!z()(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1}(E);m&&O?(M=E,E=wt()(0,I)):m||(E=dd(n.props.domain,E,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(wh(t),[e])}),[]))}else if("category"===h)E=m?E.filter((function(t){return""!==t&&!Et()(t)})):dd(n.props.domain,E,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Et()(e)?t:[].concat(wh(t),[e])}),[]);else if("number"===h){var j=function(t,e,n,r){var i=e.map((function(e){return Qp(t,e,n,r)})).filter((function(t){return!Et()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),v,i);j&&(E=j)}!p||"number"!==h&&"auto"===g||(S=Yp(w,v,"category"))}else E=p?wt()(0,I):a&&a[x]&&a[x].hasStack&&"number"===h?"expand"===f?[0,1]:ud(a[x].stackGroups,c,u):$p(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),h,!0);if("number"===h)E=ch(l,E,x,i,b),n.props.domain&&(E=fd(n.props.domain,E,y));else if("category"===h&&n.props.domain){var _=n.props.domain;E.every((function(t){return _.indexOf(t)>=0}))&&(E=_)}return Sh(Sh({},e),{},Oh({},x,Sh(Sh({},n.props),{},{axisType:i,domain:E,categoricalDomain:S,duplicateDomain:M,originalDomain:n.props.domain,isCategorical:p,layout:s})))}return e}),{})},Lh=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.children,l="".concat(r,"Id"),f=Wo(s,i),p={};return f&&f.length?p=Dh(t,{axes:f,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(t,e){var n=e.graphicalItems,r=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=Nh(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Kp(s,i),h=-1;return n.reduce((function(t,e){var v,y=e.props[o];return t[y]?t:(h++,d?v=wt()(0,p):a&&a[y]&&a[y].hasStack?(v=ud(a[y].stackGroups,c,u),v=ch(l,v,y,i)):(v=fd(r.defaultProps.domain,$p(f,n.filter((function(t){return t.props[o]===y&&!t.props.hide})),"number"),r.defaultProps.allowDataOverflow),v=ch(l,v,y,i)),Sh(Sh({},t),{},Oh({},y,Sh(Sh({axisType:i},r.defaultProps),{},{hide:!0,orientation:L()(jh,"".concat(i,".").concat(h%2),null),domain:v,originalDomain:r.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},Rh=function(t){var e=t.children,n=t.defaultShowTooltip,r=Ho(e,Pd.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!Et()(n)&&n}},zh=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Wh=function(t,e){var n=t.props,r=(t.graphicalItems,t.xAxisMap),i=void 0===r?{}:r,o=t.yAxisMap,a=void 0===o?{}:o,c=n.width,u=n.height,s=n.children,l=n.margin||{},f=Ho(s,Pd.displayName),p=Ho(s,Xr.displayName),d=Object.keys(a).reduce((function(t,e){var n=a[e],r=n.orientation;return n.mirror||n.hide?t:Sh(Sh({},t),{},Oh({},r,t[r]+n.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(t,e){var n=i[e],r=n.orientation;return n.mirror||n.hide?t:Sh(Sh({},t),{},Oh({},r,L()(t,"".concat(r))+n.height))}),{top:l.top||0,bottom:l.bottom||0}),v=Sh(Sh({},h),d),y=v.bottom;return f&&(v.bottom+=f.props.height||Pd.defaultProps.height),p&&e&&(v=function(t,e,n,r){var i=n.children,o=n.width,a=n.margin,c=o-(a.left||0)-(a.right||0),u=Xp({children:i,legendWidth:c}),s=t;if(u){var l=r||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&J(t[f])&&(s=Fp(Fp({},t),{},Vp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&J(t[p])&&(s=Fp(Fp({},t),{},Vp({},p,s[p]+(l.height||0))))}return s}(v,0,n,e)),Sh(Sh({brushBottom:y},v),{},{width:c-v.left-v.right,height:u-v.top-v.bottom})};function Hh(){return(Hh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Uh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Bh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bh(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Gh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Zh(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,a=t.data,c=t.dataPointFormatter,u=t.xAxis,s=t.yAxis,l=Gh(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=Nt(l),p=a.map((function(t,a){var l=c(t,i),p=l.x,d=l.y,h=l.value,v=l.errorVal;if(!v)return null;var y,m,g=[];if(Array.isArray(v)){var b=Uh(v,2);y=b[0],m=b[1]}else y=m=v;if("vertical"===n){var x=u.scale,w=d+e,I=w+r,E=w-r,M=x(h-y),S=x(h+m);g.push({x1:S,y1:I,x2:S,y2:E}),g.push({x1:M,y1:w,x2:S,y2:w}),g.push({x1:M,y1:I,x2:M,y2:E})}else if("horizontal"===n){var O=s.scale,j=p+e,_=j-r,k=j+r,T=O(h-y),P=O(h+m);g.push({x1:_,y1:P,x2:k,y2:P}),g.push({x1:j,y1:T,x2:j,y2:P}),g.push({x1:_,y1:T,x2:k,y2:T})}return o.createElement(Ht,Hh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(t,e){return o.createElement("line",Hh({},t,{key:"line-".concat(e)}))})))}));return o.createElement(Ht,{className:"recharts-errorBars"},p)}Zh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Zh.displayName="ErrorBar";var Fh=function(t){return null};Fh.displayName="Cell";var Vh=n(16731),Jh=n.n(Vh);function Yh(t){return function(t){if(Array.isArray(t))return qh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return qh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qh(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Xh(){return(Xh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Qh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qh(Object(n),!0).forEach((function(e){Kh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Kh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tv(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var ev={valueAccessor:function(t){return z()(t.value)?Jh()(t.value):t.value}};function nv(t){var e=t.data,n=t.valueAccessor,r=t.dataKey,i=t.clockWise,a=t.id,c=t.textBreakAll,u=tv(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?o.createElement(Ht,{className:"recharts-label-list"},e.map((function(t,e){var s=Et()(r)?n(t,e):Jp(t&&t.payload,r),l=Et()(a)?{}:{id:"".concat(a,"-").concat(e)};return o.createElement(Na,Xh({},Nt(t,!0),u,l,{parentViewBox:t.parentViewBox,index:e,value:s,textBreakAll:c,viewBox:Na.parseViewBox(Et()(i)?t:$h($h({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function rv(t,e){return t?!0===t?o.createElement(nv,{key:"labelList-implicit",data:e}):o.isValidElement(t)||vt()(t)?o.createElement(nv,{key:"labelList-implicit",data:e,content:t}):jt()(t)?o.createElement(nv,Xh({data:e},t,{key:"labelList-implicit"})):null:null}function iv(t){return(iv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ov(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function av(){return(av=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function cv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function uv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cv(Object(n),!0).forEach((function(e){sv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function sv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pv(t,e){return(pv=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dv(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vv(t);if(e){var i=vv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return hv(this,n)}}function hv(t,e){return!e||"object"!==iv(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vv(t){return(vv=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}nv.displayName="LabelList",nv.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Wo(r,nv.displayName).map((function(t,n){return(0,o.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return i;var a=rv(t.label,e);return[a].concat(Yh(i))},nv.defaultProps=ev;var yv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}(a,t);var e,n,r,i=dv(a);function a(){var t;lv(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isAnimationFinished:!1},t.id=X("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Po,e)}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props.shape,r=Nt(this.props);return t&&t.map((function(t,i){var c=uv(uv(uv({},r),t),{},{index:i});return o.createElement(Ht,av({className:"recharts-bar-rectangle"},Ct(e.props,t,i),{key:"rectangle-".concat(i)}),a.renderRectangle(n,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,a=e.animationBegin,c=e.animationDuration,u=e.animationEasing,s=e.animationId,l=this.state.prevData;return o.createElement(ln,{begin:a,duration:c,isActive:i,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,a=n.map((function(t,e){var n=l&&l[e];if(n){var o=K(n.x,t.x),a=K(n.y,t.y),c=K(n.width,t.width),u=K(n.height,t.height);return uv(uv({},t),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===r){var s=K(0,t.height)(i);return uv(uv({},t),{},{y:t.y+t.height-s,height:s})}var f=K(0,t.width)(i);return uv(uv({},t),{},{width:f})}));return o.createElement(Ht,null,t.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&rc()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,n=Nt(this.props.background);return e.map((function(e,r){e.value;var i=e.background,o=ov(e,["value","background"]);if(!i)return null;var c=uv(uv(uv(uv(uv({},o),{},{fill:"#eee"},i),n),Ct(t.props,e,r)),{},{index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return a.renderRectangle(t.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,n=t.xAxis,r=t.yAxis,i=t.layout,a=t.children,c=Wo(a,Zh.displayName);if(!c)return null;var u="vertical"===i?e[0].height/2:e[0].width/2;function s(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Jp(t,e)}}return c.map((function(t,a){return o.cloneElement(t,{key:"error-bar-".concat(a),data:e,xAxis:n,yAxis:r,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,i=t.xAxis,a=t.yAxis,c=t.left,u=t.top,s=t.width,l=t.height,f=t.isAnimationActive,p=t.background,d=t.id;if(e||!n||!n.length)return null;var h=this.state.isAnimationFinished,v=A()("recharts-bar",r),y=i&&i.allowDataOverflow||a&&a.allowDataOverflow,m=Et()(d)?this.id:d;return o.createElement(Ht,{className:v},y?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(m)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(Ht,{className:"recharts-bar-rectangles",clipPath:y?"url(#clipPath-".concat(m,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&nv.renderCallByParent(this.props,n))}}])&&fv(e.prototype,n),r&&fv(e,r),a}(o.PureComponent);yv.displayName="Bar",yv.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!Sn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},yv.getComposedData=function(t){var e=t.props,n=t.item,r=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,s=t.stackedData,l=t.dataStartIndex,f=t.displayedData,p=t.offset,d=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null}(r,n);if(!d)return null;var h=e.layout,v=n.props,y=v.dataKey,m=v.children,g=v.minPointSize,b="horizontal"===h?a:o,x=s?b.scale.domain():null,w=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]}({numericAxis:b}),I=Wo(m,Fh.displayName),E=f.map((function(t,e){var r,f,p,v,m,b;if(s?r=function(t,e){if(!e||2!==e.length||!J(e[0])||!J(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!J(t[0])||t[0]<n)&&(i[0]=n),(!J(t[1])||t[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i}(s[l+e],x):(r=Jp(t,y),z()(r)||(r=[w,r])),"horizontal"===h){if(f=cd({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:t,index:e}),p=a.scale(r[1]),v=d.size,m=a.scale(r[0])-a.scale(r[1]),b={x:f,y:a.y,width:v,height:a.height},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)){var E=F(m||g)*(Math.abs(g)-Math.abs(m));p-=E,m+=E}}else f=o.scale(r[0]),p=cd({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:t,index:e}),v=o.scale(r[1])-o.scale(r[0]),m=d.size,b={x:o.x,y:p,width:o.width,height:m},Math.abs(g)>0&&Math.abs(v)<Math.abs(g)&&(v+=F(v||g)*(Math.abs(g)-Math.abs(v)));return uv(uv(uv({},t),{},{x:f,y:p,width:v,height:m,value:s?r:r[1],payload:t,background:b},I&&I[e]&&I[e].props),{},{tooltipPayload:[hd(n,t)],tooltipPosition:{x:f+v/2,y:p+m/2}})}));return uv({data:E,layout:h},p)};var mv=function(){return null};mv.displayName="XAxis",mv.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var gv=function(){return null};gv.displayName="YAxis",gv.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var bv=function(t){var e,n,r=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,u=t.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=t.axisComponents,f=t.legendContent,p=t.formatAxisMap,d=t.defaultProps,h=function(t,e){var n=e.graphicalItems,r=e.stackGroups,i=e.offset,a=e.updateId,c=e.dataStartIndex,u=e.dataEndIndex,s=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,v=zh(f),y=v.numericAxisName,m=v.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=zo(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n)&&function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,c=o.length;a<c;a++)for(var u=r[o[a]].stackGroups,s=Object.keys(u),l=0,f=s.length;l<f;l++){var p=u[s[l]],d=p.items,h=p.cateAxisId,v=d.filter((function(t){return zo(t.type).indexOf("Bar")>=0}));if(v&&v.length){var y=v[0].props.barSize,m=v[0].props[h];i[m]||(i[m]=[]),i[m].push({item:v[0],stackList:v.slice(1),barSize:Et()(y)?e:y})}}return i}({barSize:s,stackGroups:r}),b=[];return n.forEach((function(n,s){var v=Nh(t.data,{dataStartIndex:c,dataEndIndex:u},n),x=n.props,w=x.dataKey,I=x.maxBarSize,E=n.props["".concat(y,"Id")],M=n.props["".concat(m,"Id")],S=l.reduce((function(t,r){var i,o=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],c=o&&o[a];return Sh(Sh({},t),{},(Oh(i={},r.axisType,c),Oh(i,"".concat(r.axisType,"Ticks"),ed(c)),i))}),{}),O=S[m],j=S["".concat(m,"Ticks")],_=r&&r[E]&&r[E].hasStack&&function(t,e){var n=t.props.stackId;if(Y(n)){var r=e[n];if(r&&r.items.length){for(var i=-1,o=0,a=r.items.length;o<a;o++)if(r.items[o]===t){i=o;break}return i>=0?r.stackedData[i]:null}}return null}(n,r[E].stackGroups),k=zo(n.type).indexOf("Bar")>=0,T=pd(O,j),P=[];if(k){var N=pd(O,j,!0),A=Et()(I)?h:I;P=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,c=o.length;if(c<1)return null;var u,s=Q(e,r,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=r/c,p=o.reduce((function(t,e){return t+e.barSize||0}),0);(p+=(c-1)*s)>=r&&(p-=(c-1)*s,s=0),p>=r&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((r-p)/2>>0)-s,size:0};u=o.reduce((function(t,e){var n=[].concat(Bp(t),[{item:e.item,position:{offset:d.offset+d.size+s,size:l?f:e.barSize}}]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),[])}else{var h=Q(n,r,0,!0);r-2*h-(c-1)*s<=0&&(s=0);var v=(r-2*h-(c-1)*s)/c;v>1&&(v>>=0);var y=a===+a?Math.min(v,a):v;u=o.reduce((function(t,e,n){var r=[].concat(Bp(t),[{item:e.item,position:{offset:h+(v+s)*n+(v-y)/2,size:y}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:N!==T?N:T,sizeList:g[M],maxBarSize:A}),N!==T&&(P=P.map((function(t){return Sh(Sh({},t),{},{position:Sh(Sh({},t.position),{},{offset:t.position.offset-N/2})})})))}var C,D,L,R,z=n&&n.type&&n.type.getComposedData;z&&b.push({props:Sh(Sh({},z(Sh(Sh({},S),{},{displayedData:v,props:t,dataKey:w,item:n,bandSize:T,barPosition:P,offset:i,stackedData:_,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(C={key:n.key||"item-".concat(s)},Oh(C,y,S[y]),Oh(C,m,S[m]),Oh(C,"animationId",a),C)),childIndex:(D=n,L=t.children,R=-1,o.Children.forEach(L,(function(t,e){t===D&&(R=e)})),R),item:n})})),b},v=function(t,e){var n=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!Uo({props:n}))return null;var u=n.children,s=n.layout,f=n.stackOffset,d=n.data,v=n.reverseStackOrder,y=zh(s),m=y.numericAxisName,g=y.cateAxisName,b=Wo(u,i),x=function(t,e,n,r,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[n],c=t[a]||{hasStack:!1,stackGroups:{}};if(Y(o)){var u=c.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};u.items.push(e),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[X("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return Fp(Fp({},t),{},Vp({},a,c))}),{});return Object.keys(a).reduce((function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,o){var a=c.stackGroups[o];return Fp(Fp({},e),{},Vp({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:od(t,a.items,i)}))}),{})),Fp(Fp({},e),{},Vp({},o,c))}),{})}(d,b,"".concat(m,"Id"),"".concat(g,"Id"),f,v),w=l.reduce((function(t,e){var r="".concat(e.axisType,"Map");return Sh(Sh({},t),{},Oh({},r,Lh(n,Sh(Sh({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&x,dataStartIndex:o,dataEndIndex:a}))))}),{}),I=Wh(Sh(Sh({},w),{},{props:n,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(w).forEach((function(t){w[t]=p(n,w[t],I,t.replace("Map",""),r)}));var E,M,S=w["".concat(g,"Map")],O=(E=$(S),{tooltipTicks:M=ed(E,!1,!0),orderedTooltipTicks:bt()(M,(function(t){return t.coordinate})),tooltipAxis:E,tooltipAxisBandSize:pd(E)}),j=h(n,Sh(Sh({},w),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:x,offset:I}));return Sh(Sh({formatedGraphicalItems:j,graphicalItems:b,offset:I,stackGroups:x},O),w)};return n=e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yh(t,e)}(u,t);var e,n,i,a=mh(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!Et()(e.deferId)&&Ph&&Ph(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var n=e.state,r=n.dataStartIndex,i=n.dataEndIndex,o=n.updateId;e.setState(Sh({legendBBox:t},v({props:e.props,dataStartIndex:r,dataEndIndex:i,updateId:o},Sh(Sh({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,n,r){e.props.syncId===t&&n!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=Th&&Th(e.applySyncEvent.bind(bh(e),r)))},e.handleBrushChange=function(t){var n=t.startIndex,r=t.endIndex;if(n!==e.state.dataStartIndex||r!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return Sh({dataStartIndex:n,dataEndIndex:r},v({props:e.props,dataStartIndex:n,dataEndIndex:r,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},e.handleMouseEnter=function(t){var n=e.props.onMouseEnter,r=e.getMouseInfo(t);if(r){var i=Sh(Sh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)}},e.triggeredAfterMouseMove=function(t){var n=e.props.onMouseMove,r=e.getMouseInfo(t),i=r?Sh(Sh({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&vt()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var n=e.props.onMouseLeave,r={isTooltipActive:!1};e.setState(r),e.triggerSyncEvent(r),vt()(n)&&n(r,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var n=function(t){var e=t&&t.type;return e&&Ro[e]?Ro[e]:null}(t),r=L()(e.props,"".concat(n));n&&vt()(r)&&r(/.*touch.*/i.test(n)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var n=e.props.onClick,r=e.getMouseInfo(t);if(r){var i=Sh(Sh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)}},e.handleMouseDown=function(t){var n=e.props.onMouseDown;vt()(n)&&n(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var n=e.props.onMouseUp;vt()(n)&&n(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,n=t.width,r=t.height,i=t.offset;return td(Ja.getTicks(Sh(Sh(Sh({},Ja.defaultProps),e),{},{ticks:ed(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,n=t.width,r=t.height,i=t.offset;return td(Ja.getTicks(Sh(Sh(Sh({},Ja.defaultProps),e),{},{ticks:ed(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return ed(t,!0)},e.renderCursor=function(t){var n=e.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,l=e.getTooltipEventType();if(!(t&&t.props.cursor&&i&&a&&"axis"===l))return null;var f,p=e.props.layout,d=Di;if("ScatterChart"===r)f=a,d=Zi;else if("BarChart"===r)f=e.getCursorRectangle(),d=Po;else if("radial"===p){var h=e.getCursorPoints(),v=h.cx,y=h.cy,m=h.radius;f={cx:v,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:m,outerRadius:m},d=lo}else f={points:e.getCursorPoints()},d=Di;var g=t.key||"_recharts-cursor",b=Sh(Sh(Sh(Sh({stroke:"#ccc",pointerEvents:"none"},u),f),Nt(t.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(t.props.cursor)?(0,o.cloneElement)(t.props.cursor,b):(0,o.createElement)(d,b)},e.renderPolarAxis=function(t,n,r){var i=L()(t,"type.axisType"),a=L()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return(0,o.cloneElement)(t,Sh(Sh({},a),{},{className:i,key:t.key||"".concat(n,"-").concat(r),ticks:ed(a,!0)}))},e.renderXAxis=function(t,n,r){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,n,r)},e.renderYAxis=function(t,n,r){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,n,r)},e.renderGrid=function(t){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,a=n.offset,c=e.props,u=c.width,s=c.height,l=$(r),f=dt()(i,(function(t){return ft()(t.domain,kh)}))||$(i),p=t.props||{};return(0,o.cloneElement)(t,{key:t.key||"grid",x:J(p.x)?p.x:a.left,y:J(p.y)?p.y:a.top,width:J(p.width)?p.width:a.width,height:J(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var n=t.props,r=n.radialLines,i=n.polarAngles,a=n.polarRadius,c=e.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=$(u),f=$(s),p=f.cx,d=f.cy,h=f.innerRadius,v=f.outerRadius;t.props;return(0,o.cloneElement)(t,{polarAngles:z()(i)?i:ed(f,!0).map((function(t){return t.coordinate})),polarRadius:z()(a)?a:ed(l,!0).map((function(t){return t.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:v,key:t.key||"polar-grid",radialLines:r})},e.renderLegend=function(){var t=e.state.formatedGraphicalItems,n=e.props,r=n.children,i=n.width,a=n.height,c=e.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Xp({children:r,formatedGraphicalItems:t,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=hh(s,["item"]);return(0,o.cloneElement)(l,Sh(Sh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,n=Ho(t,zn.displayName);if(!n)return null;var r=e.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.activeLabel,s=r.offset;return(0,o.cloneElement)(n,{viewBox:Sh(Sh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},e.renderBrush=function(t){var n=e.props,r=n.margin,i=n.data,a=e.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:nd(e.handleBrushChange,null,t.props.onChange),data:i,x:J(t.props.x)?t.props.x:c.left,y:J(t.props.y)?t.props.y:c.top+c.height+c.brushBottom-(r.bottom||0),width:J(t.props.width)?t.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},e.renderReferenceElement=function(t,n,r){if(!t)return null;var i=bh(e).clipPathId,a=e.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=t.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(r),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,n=t.activePoint,r=t.basePoint,i=t.childIndex,o=t.isRange,a=[],c=e.props.key,s=e.item.props,l=s.activeDot,f=Sh(Sh({index:i,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:qp(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(c,"-activePoint-").concat(i)},Nt(l)),At(l));return a.push(u.renderActiveDot(l,f)),r?a.push(u.renderActiveDot(l,Sh(Sh({},f),{},{cx:r.x,cy:r.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,n,r){var i=e.filterFormatItem(t,n,r);if(!i)return null;var a=e.getTooltipEventType(),c=e.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=e.props.children,d=Ho(p,zn.displayName),h=i.props,v=h.points,y=h.isRange,m=h.baseLine,g=i.item.props,b=g.activeDot,x=!g.hide&&u&&d&&b&&l>=0,w={};"axis"!==a&&d&&"click"===d.props.trigger?w={onClick:nd(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==a&&(w={onMouseLeave:nd(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:nd(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var I=(0,o.cloneElement)(t,Sh(Sh({},i.props),w));if(x){var E,M;if(s.dataKey&&!s.allowDuplicatedCategory){var S="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());E=tt(v,S,f),M=y&&m&&tt(m,S,f)}else E=v[l],M=y&&m&&m[l];if(!Et()(E))return[I].concat(wh(e.renderActivePoints({item:i,activePoint:E,basePoint:M,childIndex:l,isRange:y})))}return y?[I,null,null]:[I,null]},e.renderCustomized=function(t){return(0,o.cloneElement)(t,Sh(Sh({},e.props),e.state))},e.uniqueChartId=Et()(t.id)?X("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=mt()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=u,(n=[{key:"componentDidMount",value:function(){Et()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){Et()(t.syncId)&&!Et()(this.props.syncId)&&this.addListener(),!Et()(t.syncId)&&Et()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),Et()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Ho(this.props.children,zn.displayName);if(t&&St()(t.props.shared)){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,n,r,i=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}(t,(e=this.container,n=e.ownerDocument.documentElement,r={top:0,left:0},void 0!==e.getBoundingClientRect&&(r=e.getBoundingClientRect()),{top:r.top+window.pageYOffset-n.clientTop,left:r.left+window.pageXOffset-n.clientLeft})),o=this.inRange(i.chartX,i.chartY);if(!o)return null;var a=this.state,c=a.xAxisMap,u=a.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var s=$(c).scale,l=$(u).scale,f=s&&s.invert?s.invert(i.chartX):null,p=l&&l.invert?l.invert(i.chartY):null;return Sh(Sh({},i),{},{xValue:f,yValue:p})}var d=Ch(this.state,this.props.data,this.props.layout,o);return d?Sh(Sh({},i),d):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,n=e.activeCoordinate,r=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?n.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:n.y-o,width:"horizontal"===t?i:r.width-1,height:"horizontal"===t?r.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,n,r,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)n=t=a.x,e=c.top,r=c.top+c.height;else if("vertical"===i)r=e=a.y,t=c.left,n=c.left+c.width;else if(!Et()(a.cx)||!Et()(a.cy)){if("centric"!==i){var u=a.cx,s=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[Xi(u,s,l,f),Xi(u,s,l,p)],cx:u,cy:s,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,v=a.innerRadius,y=a.outerRadius,m=a.angle,g=Xi(d,h,v,m),b=Xi(d,h,y,m);t=g.x,e=g.y,n=b.x,r=b.y}return[{x:t,y:e},{x:n,y:r}]}},{key:"inRange",value:function(t,e){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=$(o);return Ki({x:t,y:e},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=Ho(t,zn.displayName),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Sh(Sh({},At(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){sh.on(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners+1)}},{key:"removeListener",value:function(){sh.removeListener(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;Et()(e)||sh.emit(lh,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,n=e.layout,r=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(Et()(t.dataStartIndex)&&Et()(t.dataEndIndex))if(Et()(t.activeTooltipIndex))this.setState(t);else{var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof r)s=r(p,t);else if("value"===r){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===t.activeLabel){s=d;break}}var h=Sh(Sh({},f),{},{x:f.left,y:f.top}),y=Math.min(c,h.x+h.width),m=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=Ah(this.state,this.props.data,s),x=p[s]?{x:"horizontal"===n?p[s].coordinate:y,y:"horizontal"===n?m:p[s].coordinate}:_h;this.setState(Sh(Sh({},t),{},{activeLabel:g,activeCoordinate:x,activePayload:b,activeTooltipIndex:s}))}else this.setState(Sh({dataStartIndex:o,dataEndIndex:a},v({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formatedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===t||a.props.key===t.key||e===zo(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var i=this.props,a=i.width,c=i.height;return o.createElement(Ja,dh({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,i=e.height,a=e.width;return o.createElement("defs",null,o.createElement("clipPath",{id:t},o.createElement("rect",{x:n,y:r,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ph(e,2),r=n[0],i=n[1];return Sh(Sh({},t),{},Oh({},r,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ph(e,2),r=n[0],i=n[1];return Sh(Sh({},t),{},Oh({},r,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.xAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.yAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formatedGraphicalItems;if(e&&e.length)for(var n=0,r=e.length;n<r;n++){var i=e[n],o=i.props,a=i.item,c=zo(a.type);if("Bar"===c){var u=(o.data||[]).find((function(e){return To(t,e)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(e){return Ki(t,e)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var t=this;if(!Uo(this))return null;var e=this.props,n=e.children,r=e.className,i=e.width,a=e.height,c=e.style,u=e.compact,s=hh(e,["children","className","width","height","style","compact"]),l=Nt(s),f={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(u)return o.createElement(Rt,dh({},l,{width:i,height:a}),this.renderClipPath(),Vo(n,f));var p=this.parseEventsOfWrapper();return o.createElement("div",dh({className:A()("recharts-wrapper",r),style:Sh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(e){t.container=e}}),o.createElement(Rt,dh({},l,{width:i,height:a}),this.renderClipPath(),Vo(n,f)),this.renderLegend(),this.renderTooltip())}}])&&vh(e.prototype,n),i&&vh(e,i),u}(o.Component),e.displayName=r,e.defaultProps=Sh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),e.getDerivedStateFromProps=function(t,e){var n=t.data,r=t.children,i=t.width,o=t.height,a=t.layout,c=t.stackOffset,u=t.margin;if(Et()(e.updateId)){var s=Rh(t);return Sh(Sh(Sh({},s),{},{updateId:0},v(Sh(Sh({props:t},s),{},{updateId:0}),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(n!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||c!==e.prevStackOffset||!Do(u,e.prevMargin)){var l=Rh(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},p=Sh(Sh({},Ch(e,n,a)),{},{updateId:e.updateId+1}),d=Sh(Sh(Sh({},l),f),p);return Sh(Sh(Sh({},d),v(Sh({props:t},d),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(!Zo(r,e.prevChildren)){var h=!Et()(n)?e.updateId:e.updateId+1;return Sh(Sh({updateId:h},v(Sh(Sh({props:t},e),{},{updateId:h}),e)),{},{prevChildren:r})}return null},e.renderActiveDot=function(t,e){var n;return n=(0,o.isValidElement)(t)?(0,o.cloneElement)(t,e):vt()(t)?t(e):o.createElement(xo,e),o.createElement(Ht,{className:"recharts-active-dot",key:e.key},n)},n}({chartName:"BarChart",GraphicalChild:yv,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:mv},{axisType:"yAxis",AxisComp:gv}],formatAxisMap:function(t,e,n,i,o){var a=t.width,c=t.height,u=t.layout,s=t.children,l=Object.keys(e),f={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},p=!!Ho(s,"Bar");return l.reduce((function(t,a){var c,s,l,d,h=e[a],v=h.orientation,y=h.domain,m=h.padding,g=void 0===m?{}:m,b=h.mirror,x=h.reversed,w="".concat(v).concat(b?"Mirror":"");c="xAxis"===i?[n.left+(g.left||0),n.left+n.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[n.top+n.height-(g.bottom||0),n.top+(g.top||0)]:[n.top+(g.top||0),n.top+n.height-(g.bottom||0)]:h.range,x&&(c=[c[1],c[0]]);var I=function(t,e,n){var i=t.scale,o=t.type,a=t.layout,c=t.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Ka(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:hs(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:ec(),realScaleType:"point"}:"category"===o?{scale:Ka(),realScaleType:"band"}:{scale:hs(),realScaleType:"linear"};if(Z()(i)){var u="scale".concat(Hn()(i));return{scale:(r[u]||ec)(),realScaleType:r[u]?u:"point"}}return vt()(i)?{scale:i}:{scale:ec(),realScaleType:"point"}}(h,o,p),E=I.scale,M=I.realScaleType;E.domain(y).range(c),function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),i=Math.min(r[0],r[1])-rd,o=Math.max(r[0],r[1])+rd,a=t(e[0]),c=t(e[n-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[n-1]])}}(E);var S=ad(E,Rd(Rd({},h),{},{realScaleType:M}));"xAxis"===i?(d="top"===v&&!b||"bottom"===v&&b,s=n.left,l=f[w]-d*h.height):"yAxis"===i&&(d="left"===v&&!b||"right"===v&&b,s=f[w]-d*h.width,l=n.top);var O=Rd(Rd(Rd({},h),S),{},{realScaleType:M,x:s,y:l,scale:E,width:"xAxis"===i?n.width:h.width,height:"yAxis"===i?n.height:h.height});return O.bandSize=pd(O,S),h.hide||"xAxis"!==i?h.hide||(f[w]+=(d?-1:1)*O.width):f[w]+=(d?-1:1)*O.height,Rd(Rd({},t),{},zd({},a,O))}),{})}}),xv=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-chart-days-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},"📊 ".concat((0,y.S)("Daily Interaction"))),o.createElement(st,{width:"100%",height:300},o.createElement(bv,{data:t.data},o.createElement(mv,{dataKey:"date"}),o.createElement(gv,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(zn,null),o.createElement(yv,{dataKey:"total",name:(0,y.S)("Interactions"),fill:"#2271b1"})))),wv=t=>0===t.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},t.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,t.label),o.createElement("th",null,(0,y.S)("Total")),o.createElement("th",null,(0,y.S)("Unique")))),o.createElement("tbody",null,t.data.map(((t,e)=>o.createElement("tr",{key:e},o.createElement("td",null,t.name),o.createElement("td",null,t.total),o.createElement("td",null,t.unique)))))));class Iv extends o.Component{constructor(t){super(t),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{M.Z.dashboard.getAnalytics().then((t=>{var e=!1;t&&(e=t.data),this.setState({loading:!1,data:e})}))}))}render(){var{data:t}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(k.Z,null):o.createElement(o.Fragment,null,0===t.total?o.createElement("span",null,(0,y.S)("No actions found for the last 7 days. If you just enabled analytics they should start showing up soon.")):o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xv,{data:t.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wv,{title:"🏆 ".concat((0,y.S)("Top Recipe Interactions (last 7 days)")),label:(0,y.S)("Recipe"),data:t.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wv,{title:"👍 ".concat((0,y.S)("Interactions (last 7 days)")),label:(0,y.S)("Type"),data:t.per_type})))))}}class Ev extends o.Component{constructor(t){super(t),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(m,{title:(0,y.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(Iv,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(S,{title:(0,y.S)("Learn more")},"Go to your ",o.createElement("a",{href:"https://dailygrub.com/dashboard",target:"_blank"},"DailyGrub Dashboard")," for more insights!"):o.createElement(S,{title:"📈 ".concat((0,y.S)("Interested in more data?"))},"WP Recipe Maker partners with ",o.createElement("a",{href:"https://dailygrub.com",target:"_blank"},"DailyGrub")," to offer a full suite of recipe-specific analytics!")):o.createElement(_,{onEnable:()=>{M.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var Mv=n(47750);class Sv extends o.Component{constructor(t){super(t),this.state={rating:0}}render(){return o.createElement(m,{title:(0,y.S)("Feedback")},o.createElement("div",{className:"wprm-admin-dashboard-feedback-container"},0===this.state.rating&&o.createElement(o.Fragment,null,o.createElement("label",null,(0,y.S)("How would you rate WP Recipe Maker?")),o.createElement("div",null,o.createElement(Mv.Z,{rating:this.state.rating,starDimension:"25px",starSpacing:"0",starHoverColor:"#2271b1",changeRating:t=>{this.setState({rating:t},(()=>{M.Z.utilities.giveFeedback(t)}))},numberOfStars:5,name:"feedback"}))),0<this.state.rating&&3>=this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Sorry to hear you don't seem to be enjoying WP Recipe Maker as much as we want you to. It would be great if you could provide us with any feedback at all."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),4==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Happy to hear that you do seem to be enjoying WP Recipe Maker! We are aiming to be a 5-star plugin though, so it would be amazing if you could give us any feedback at all on how we can get there for you."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),5==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Very happy to hear you're enjoying WP Recipe Maker!"),o.createElement("p",null,"It would be amazing if you could help spread the word and leave an honest ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"review over at wordpress.org")," for our plugin. This really helps with getting new users, which leads to more customers and more time we can spend improving WPRM."),o.createElement("a",{className:"button button-primary",href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"Leave a review!"),o.createElement("p",null,"Already left a review? Thanks a lot for taking the time! If you have any further feedback at all, feel free to contact us at ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures"),". We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."))))}}var Ov=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},t.children)),jv=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank"},t.children):t.children),_v=t=>o.createElement(m,{title:(0,y.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(Ov,{title:"🧑‍🎓 ".concat((0,y.S)("Learn More"))},o.createElement(jv,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,y.S)("Documentation in our knowledge base")),o.createElement(jv,{url:"https://demo.wprecipemaker.com/all-features/"},(0,y.S)("All features in action on our demo site")),o.createElement(jv,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,y.S)("Video tutorials and walkthroughs"))),o.createElement(Ov,{title:"🤝 ".concat((0,y.S)("Our Partners"))},o.createElement(jv,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,y.S)("My Emissions carbon footprint labels")),o.createElement(jv,{url:"https://dailygrub.com"},(0,y.S)("DailyGrub recipe analytics suite"))),o.createElement(Ov,{title:"🙋 ".concat((0,y.S)("Get Help"))},o.createElement(jv,{url:"https://www.facebook.com/groups/1741126932849712"},(0,y.S)("WP Recipe Maker Facebook Group")),o.createElement(jv,{url:"mailto:support@bootstrapped.ventures"},(0,y.S)("Email our support team"))))),kv=t=>{var{item:e}=t;if(!e.title)return null;var n=o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-news-item-title-container"},o.createElement("div",{className:"wprm-admin-dashboard-news-item-date"},e.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},e.title)),e.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(e.label_key)},e.label)),r=["wprm-admin-dashboard-news-item"];return e.new&&r.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank",className:r.join(" ")},n):o.createElement("div",{className:r.join(" ")},n))},Tv=t=>{var e=wprm_admin_dashboard.news;return e&&0!==e.length?o.createElement(m,{title:(0,y.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},e.map(((t,e)=>o.createElement(kv,{item:t,key:e}))))):null},Pv=n(62834),Nv=t=>{var{recipe:e}=t,n=e.hasOwnProperty("permalink")&&e.permalink;return o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name-container"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-date"},e.date_formatted?e.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},e.name?e.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},n&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:e.permalink,target:"_blank"},o.createElement(Pv.Z,{type:"eye",title:(0,y.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(Pv.Z,{type:"pencil",title:(0,y.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipe:e,saveCallback:n=>{var r=JSON.parse(JSON.stringify(e));r.name=n.name,t.onUpdate(r)}})}}))))};class Av extends o.Component{constructor(t){super(t),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(m,{title:(0,y.S)("Latest Recipes"),button:(0,y.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:t=>{var e=JSON.parse(JSON.stringify(this.state.recipes)),n=JSON.parse(JSON.stringify(t));n.date_formatted=wprm_admin_dashboard.today_formatted,(e=e.filter((t=>t.id!==n.id))).unshift(n),this.setState({recipes:e})}})}},o.createElement("div",{className:"wprm-admin-dashboard-recipes-container"},0===this.state.recipes.length?o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},(0,y.S)("No recipes found. Welcome to WP Recipe Maker!")):o.createElement(o.Fragment,null,this.state.recipes.map(((t,e)=>o.createElement(Nv,{recipe:t,onUpdate:t=>{var n=JSON.parse(JSON.stringify(this.state.recipes));n[e]=t,this.setState({recipes:n})},key:e})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,y.S)("Manage all recipes...")))))}}var Cv=t=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},t.children),Dv=[o.createElement(Cv,null,"Use the ",o.createElement("strong",null,"TAB key")," while entering ingredients or instructions to easily jump from field to field and create new lines."),o.createElement(Cv,null,"Copying your recipes from other sources?",o.createElement("br",null),"Use our ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Import Recipe from Text")," feature to speed things up."),o.createElement(Cv,null,"Have you seen the ",o.createElement("strong",null,"toolbar at the bottom of the recipe modal")," when editing rich fields (like the summary or instructions)? It gives you quick access to some editing and symbols."),o.createElement(Cv,null,"The ",o.createElement("strong",null,"Bulk Edit column")," on some of the WP Recipe Maker > Manage pages allows you to quickly edit multiple rows at once."),o.createElement(Cv,null,"Make sure to use the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," for roundup posts. This will add itemList metadata that allows those posts to show up as a carousel in Google."),o.createElement(Cv,null,"Give your visitors an easy way to find recipes by course, cuisine, ingredient, calories, ... by combining WPRM with our ",o.createElement("a",{href:"https://demo.wprecipemaker.com/recipe-index/",target:"_blank"},"WP Ultimate Post Grid plugin"),"."),o.createElement(Cv,null,"When adding equipment or ingredient names, the toolbar at the bottom of the recipe modal will ",o.createElement("strong",null,"show suggestions")," that you used before. Just click to use them and keep things consistent!"),o.createElement(Cv,null,o.createElement("strong",null,"Toggle specific columns")," at the top of the WP Recipe Maker > Manage page to customize it to your needs."),o.createElement(Cv,null,"Join the ",o.createElement("a",{href:"https://www.facebook.com/groups/1741126932849712/",target:"_blank"},"WP Recipe Maker Facebook Group")," to get access to a community of WPRM food bloggers, just like you!")];class Lv extends o.Component{constructor(t){super(t);var e=Math.floor(Math.random()*Dv.length);this.changeTip=this.changeTip.bind(this);var n=setInterval(this.changeTip,15e3);this.state={activeTip:e,interval:n,bar:"odd"}}changeTip(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.state.activeTip+t;e<0?e+=Dv.length:e%=Dv.length,clearInterval(this.state.interval),this.setState({activeTip:e,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(m,{title:(0,y.S)("Quick Tips")},o.createElement("div",{className:"wprm-admin-dashboard-tips-container"},o.createElement("div",{className:"wprm-admin-dashboard-tips-prev",onClick:()=>{this.changeTip(-1)}},"<"),o.createElement("div",{className:"wprm-admin-dashboard-tips"},Dv.map(((t,e)=>{var n=["wprm-admin-dashboard-tip-container"];return e===this.state.activeTip&&n.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:n.join(" "),key:e},t)}))),o.createElement("div",{className:"wprm-admin-dashboard-tips-next",onClick:()=>{this.changeTip(1)}},">")),o.createElement("div",{className:"wprm-admin-dashboard-tips-progress"},o.createElement("div",{className:"wprm-admin-dashboard-tips-progress-bar wprm-admin-dashboard-tips-progress-bar-".concat(this.state.bar)})))}}var{hooks:Rv}=WPRecipeMaker["wp-recipe-maker/dist/shared"],zv=Rv.applyFilters("dashboardBlocks",[{id:"recipes",block:Av},{id:"news",block:Tv},{id:"tips",block:Lv},{id:"learn",block:_v},{id:"analytics",block:Ev}]);window.wprm_admin_dashboard.hasOwnProperty("feedback")&&window.wprm_admin_dashboard.feedback&&zv.unshift({id:"feedback",block:Sv});class Wv extends o.Component{render(){var t=!1;return window.wprm_admin_dashboard.hasOwnProperty("marketing")&&window.wprm_admin_dashboard.marketing&&(t=wprm_admin_dashboard.marketing),o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),!1!==t&&o.createElement(E,{campaign:t}),o.createElement(v,{blocks:zv}))}}var Hv=document.getElementById("wprm-admin-dashboard");Hv&&i.render(o.createElement(Wv,null),Hv)},99237:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r=n(46087),i=wprm_admin.endpoints.analytics,o={delete:t=>r.Z.call("".concat(i,"/").concat(t),"DELETE")};function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=wprm_admin.endpoints.custom_taxonomies,s={save(t,e){var n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e),i=t?"PUT":"POST";return r.Z.call(u,i,n)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>r.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(t){var e={id:t};return r.Z.call(p,"DELETE",e)}},h=wprm_admin.endpoints.modal,v={parseIngredients(t){var e={ingredients:t};return r.Z.call("".concat(h,"/ingredient/parse"),"POST",e)}},y=(n(35054),wprm_admin.endpoints.manage),m=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,x=!1,w={getData(t){return b?(x=t,new Promise((t=>t(!1)))):this.getDataDebounced(t)},getDataDebounced(t){return b=!0,r.Z.call("".concat(y,"/").concat(t.route),"POST",t).then((t=>{if(x){var e=x;return x=!1,this.getDataDebounced(e)}return b=!1,t}))},deleteUserRatings:t=>r.Z.call("".concat(m,"/recipe/").concat(t),"DELETE"),getTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e)),createTerm(t,e){var n={name:e};return r.Z.call("".concat(g).concat(t),"POST",n)},deleteTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e,"?force=true"),"DELETE"),renameTerm(t,e,n){var i={name:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},changeTermSlug(t,e,n){var i={slug:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},renameTermLabel(t,e,n){var i={type:t,id:e,label:n};return r.Z.call("".concat(y,"/taxonomy/label"),"POST",i)},mergeTerm(t,e,n){var i={type:t,oldId:e,newId:n};return r.Z.call("".concat(y,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(t,e,n){var i={};return i[t]=n,r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},bulkEdit(t,e,n,i){var o={type:e,ids:n,action:i};return r.Z.call("".concat(y,"/").concat(t,"/bulk"),"POST",o)}},I=wprm_admin.endpoints.modal,E=!1,M=!1,S={getSuggestions(t){return E?(M=t,new Promise((t=>t(!1)))):this.getSuggestionsDebounced(t)},getSuggestionsDebounced(t){return E=!0,r.Z.call("".concat(I,"/suggest"),"POST",t).then((t=>{if(M){var e=M;return M=!1,this.getSuggestionsDebounced(e)}return E=!1,t}))}},O=wprm_admin.endpoints.rating,j={update(t){var e={rating:t};return r.Z.call("".concat(O),"POST",e)},updateComment(t,e){var n={rating:e};return r.Z.call("".concat(O,"/comment/").concat(t),"POST",n)},delete:t=>r.Z.call("".concat(O,"/").concat(t),"DELETE")},_=wprm_admin.endpoints.recipe,k=wprm_admin.endpoints.manage,T={get:t=>r.Z.call("".concat(_,"/").concat(t)),save(t){var e={recipe:t},n=_,i="POST",o=!!t.id&&parseInt(t.id);return o&&(n+="/".concat(o),i="PUT"),r.Z.call(n,i,e)},updateStatus(t,e){var n={status:e};return r.Z.call("".concat(_,"/").concat(t),"PUT",n)},delete(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(_,"/").concat(t);return e&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:t=>r.Z.call("".concat(k,"/revision/").concat(t),"DELETE")},P=wprm_admin.endpoints.setting,N={save(t){var e={settings:t};return r.Z.call(P,"POST",e)}},A=wprm_admin.endpoints.template,C=[],D={},L=null,R={previewShortcode(t,e,n){return D[t]=e,clearTimeout(L),L=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((t=>C.push(t)))},previewShortcodes(t){var e=C,n=D;C=[],D={};var r={recipeId:t,shortcodes:n};fetch("".concat(A,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((t=>t.json().then((n=>{var r=t.ok?n.preview:{};e.forEach((t=>t(r)))}))))},searchRecipes:t=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(t),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((t=>t.json())),save(t){var e={template:t};return r.Z.call(A,"POST",e)},delete(t){var e={slug:t};return r.Z.call(A,"DELETE",e)}},z=wprm_admin.endpoints.utilities,W={saveImage(t){var e={url:t};return r.Z.call("".concat(z,"/save_image"),"POST",e)},giveFeedback(t){var e={feedback:t};return r.Z.call("".concat(z,"/feedback"),"POST",e)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],U=H.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:v,manage:w,modal:S,rating:j,recipe:T,settings:N,template:R,utilities:W})},46087:function(t,e,n){"use strict";n(31807),n(35054),n(22321);e.Z={call(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var i={method:e,headers:{"X-WP-Nonce":r,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==e&&"DELETE"!==e||(i.method="POST",i.headers["X-HTTP-Method-Override"]=e),n&&(i.body=JSON.stringify(n));var o=0;return t=t.replace(/\?/g,(function(t){return 2<=++o?"&":t})),fetch(t,i).then((function(e){if(e.ok)return e.json();console.log(t,i),console.log(e);var n="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",r="".concat(e.url," ").concat(e.redirected?"(redirected)":"","- ").concat(e.status," - ").concat(e.statusText);try{e.text().then((t=>{console.log(t),-1!==t.indexOf("rest_cookie_invalid_nonce")?alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."):alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(t))}))}catch(o){console.log(o),alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(o))}return!1}))}}},62834:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(89526),i=n(49092),o=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE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c3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=t=>{var e=!!a.hasOwnProperty(t.type)&&a[t.type];if(!e)return null;var n=t.title,c=t.className?"wprm-admin-icon ".concat(t.className):"wprm-admin-icon",u=!!t.hasOwnProperty("hidden")&&t.hidden;return u&&(n="",c+=" wprm-admin-icon-hidden"),r.createElement(o.Z,{content:n},r.createElement("span",{className:c,onClick:u?()=>{}:t.onClick},r.createElement(i.Z,{src:e})))}},34133:function(t,e,n){"use strict";var r=n(89526);e.Z=t=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(t,e,n){"use strict";var r=n(89526),i=n(20877);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.Z=t=>{if(!t.content)return t.children;var e=t.hasOwnProperty("style")?t.style:{};return r.createElement(i.Tooltip,{html:r.createElement("div",{dangerouslySetInnerHTML:{__html:t.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:t=>a(a({},t),{},{styles:a(a({},t.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:e},t.children)}},52082:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{S:function(){return c}});var a={};function c(t){return a.hasOwnProperty(t)?a[t]:t}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=i(i({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=i(i({},a),wprm_admin.translations))},64403:function(t,e){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
@@ -215,4 +215,4 @@ break;default:return this.simpleCaseActionClusters[e]}},simpleCaseActionClusters
215
  38:14,
216
  /*! Conditions:: INITIAL */
217
  /*! Rule:: $ */
218
- 39:1},rules:[/^(?:(--[\d\-A-Za-z]*))/,/^(?:\s+)/,/^(?:\*)/,/^(?:\/)/,/^(?:\+)/,/^(?:-)/,/^(?:(\d+(\.\d*)?|\.\d+)px\b)/,/^(?:(\d+(\.\d*)?|\.\d+)cm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)mm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)in\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pt\b)/,/^(?:(\d+(\.\d*)?|\.\d+)pc\b)/,/^(?:(\d+(\.\d*)?|\.\d+)deg\b)/,/^(?:(\d+(\.\d*)?|\.\d+)grad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rad\b)/,/^(?:(\d+(\.\d*)?|\.\d+)turn\b)/,/^(?:(\d+(\.\d*)?|\.\d+)s\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ms\b)/,/^(?:(\d+(\.\d*)?|\.\d+)Hz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)kHz\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpi\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dpcm\b)/,/^(?:(\d+(\.\d*)?|\.\d+)dppx\b)/,/^(?:(\d+(\.\d*)?|\.\d+)em\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ex\b)/,/^(?:(\d+(\.\d*)?|\.\d+)ch\b)/,/^(?:(\d+(\.\d*)?|\.\d+)rem\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vw\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vh\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmin\b)/,/^(?:(\d+(\.\d*)?|\.\d+)vmax\b)/,/^(?:(\d+(\.\d*)?|\.\d+)%)/,/^(?:(\d+(\.\d*)?|\.\d+)\b)/,/^(?:(calc))/,/^(?:(var))/,/^(?:([a-z]+))/,/^(?:\()/,/^(?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}},7402:function(t,e,n){"use strict";n.r(e);var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function c(){a(o)}function u(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function h(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,c=d(r.width),u=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var s=Math.round(c+o)-e,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(i.left,i.top,c,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return i?y(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):v(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),x=function(t,e){var n,r,i,o,a,c,u,s=(r=(n=e).x,i=n.y,o=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:t,contentRect:s})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new x(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,E=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(e,n,this);I.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=I.get(this))[t].apply(e,arguments)}}));var M=void 0!==o.ResizeObserver?o.ResizeObserver:E;e.default=M}},0,[[9039,669]]]);
1
+ var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{16906:function(t,e,n){"use strict";n.r(e);var r={};n.r(r),n.d(r,{scaleBand:function(){return Ka},scaleDiverging:function(){return Ap},scaleDivergingLog:function(){return Cp},scaleDivergingPow:function(){return Lp},scaleDivergingSqrt:function(){return Rp},scaleDivergingSymlog:function(){return Dp},scaleIdentity:function(){return vs},scaleImplicit:function(){return Qa},scaleLinear:function(){return hs},scaleLog:function(){return Ms},scaleOrdinal:function(){return $a},scalePoint:function(){return ec},scalePow:function(){return As},scaleQuantile:function(){return Zs},scaleQuantize:function(){return Fs},scaleRadial:function(){return Rs},scaleSequential:function(){return Sp},scaleSequentialLog:function(){return Op},scaleSequentialPow:function(){return _p},scaleSequentialQuantile:function(){return Tp},scaleSequentialSqrt:function(){return kp},scaleSequentialSymlog:function(){return jp},scaleSqrt:function(){return Cs},scaleSymlog:function(){return _s},scaleThreshold:function(){return Vs},scaleTime:function(){return wp},scaleUtc:function(){return Ip},tickFormat:function(){return ps}});var i=n(73961),o=n(89526);function a(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function c(){return(c=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function u(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function s(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?u(Object(n),!0).forEach((function(e){l(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function l(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}const f={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};class p extends o.Component{constructor(t){let e;super(t),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),e=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:e}}componentDidMount(){this.reCalculateColumnCount(),window&&window.addEventListener("resize",this.reCalculateColumnCountDebounce)}componentDidUpdate(){this.reCalculateColumnCount()}componentWillUnmount(){window&&window.removeEventListener("resize",this.reCalculateColumnCountDebounce)}reCalculateColumnCountDebounce(){window&&window.requestAnimationFrame?(window.cancelAnimationFrame&&window.cancelAnimationFrame(this._lastRecalculateAnimationFrame),this._lastRecalculateAnimationFrame=window.requestAnimationFrame((()=>{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const t=window&&window.innerWidth||1/0;let e=this.props.breakpointCols;"object"!=typeof e&&(e={default:parseInt(e)||2});let n=1/0,r=e.default||2;for(let i in e){const o=parseInt(i);o>0&&t<=o&&o<n&&(n=o,r=e[i])}r=Math.max(1,parseInt(r)||1),this.state.columnCount!==r&&this.setState({columnCount:r})}itemsInColumns(){const t=this.state.columnCount,e=new Array(t),n=o.Children.toArray(this.props.children);for(let r=0;r<n.length;r++){const i=r%t;e[i]||(e[i]=[]),e[i].push(n[r])}return e}renderColumns(){const{column:t,columnAttrs:e={},columnClassName:n}=this.props,r=this.itemsInColumns(),i=100/r.length+"%";let a=n;a&&"string"!=typeof a&&(this.logDeprecated('The property "columnClassName" requires a string'),void 0===a&&(a="my-masonry-grid_column"));const u=s(s(s({},t),e),{},{style:s(s({},e.style),{},{width:i}),className:a});return r.map(((t,e)=>o.createElement("div",c({},u,{key:e}),t)))}logDeprecated(t){console.error("[Masonry]",t)}render(){const t=this.props,{children:e,breakpointCols:n,columnClassName:r,columnAttrs:i,column:u,className:s}=t,l=a(t,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let f=s;return"string"!=typeof s&&(this.logDeprecated('The property "className" requires a string'),void 0===s&&(f="my-masonry-grid")),o.createElement("div",c({},l,{className:f}),this.renderColumns())}}p.defaultProps=f;var d=p,h={default:2,1150:1},v=t=>o.createElement(d,{breakpointCols:h,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},t.blocks.map((t=>{var e=t.block;return o.createElement(e,{key:t.id})}))),y=n(52082),m=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-header"},o.createElement("div",{className:"wprm-admin-dashboard-block-header-title"},t.title),t.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{t.buttonAction()}},t.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},t.children)),g=(n(21682),"undefined"!=typeof window?function(){if(!t)var t={};var e={FONT:"font",VIEW:"view",TRANSFORM:"transform",EASING_FUNCTION:"easing-function",TRANSITION:"transition"},n={};n[e.FONT]={},n[e.VIEW]={},n[e.TRANSFORM]={},n[e.EASING_FUNCTION]={},n[e.TRANSITION]={};var r=function(t,e){if(!n[t])return null;for(var r in e)if(e.hasOwnProperty(r)){if(n[t][r])return null;n[t][r]=e[r]}},i=function(t,e,r){if(!n[t])throw"Can't add extension with type of \""+t+'", "'+t+'" is not a valid extension type. The following types are valid: '+Ze(n);if(!/^[-a-z]+$/.test(e))throw"Can't add extension with name \""+e+'", "'+e+'" is contains invalid characters. Only lowercase alphabetical characters and dashes are allowed.';if(n[t][e])throw"Can't add extension with name \""+e+'", "'+e+'" is already added.';n[t][e]=r},o=function(t,e){if(!n[t])throw"Can't get extension with type of \""+t+'", "'+t+'" is not a valid extension type. The following types are available: '+Ze(n);if(!n[t][e])throw"Can't get extension with name \""+e+'", "'+e+'" is not available. The following extensions are available: '+Ze(n[t]);return n[t][e]},a=2628e6,c={Week:6048e5,Day:864e5,Hour:36e5,Minute:6e4,Second:1e3,Millisecond:1,Month:a,Year:31536e6},u=["Januari","Februari","March","April","May","June","July","August","September","October","November","December"];for(var s in c)if(c.hasOwnProperty(s)){var l=c[s];1===l?(c.mi=l,c.ms=l):l===a?c.M=l:c[s.charAt(0).toLowerCase()]=l,c[s.toLowerCase()]=l,c[s.toLowerCase()+"s"]=l}var f={Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6,Sunday:0},p={M:1,y:12},d=function(t){return t instanceof Date},h=function(t,e){var n=e-t.getDay();return t.setDate(t.getDate()+n),t},v=function(t,e){var n=I(t.getMonth()+1,t.getFullYear());return e="last"===e?n:Math.max(1,Math.min(n,e)),t.setDate(e),t},y=function(t,e){return t.setMonth(u.map((function(t){return t.toLowerCase()})).indexOf(e)),t},m=function(t){var e=6e4*(new Date).getTimezoneOffset();if("Z"===t)return e;var n=t.match(/\+|-|[\d]{2}|[\d]{2}/g);return("-"===n.shift()?-1:1)*(36e5*parseInt(n[0],10)+6e4*parseInt(n[1],10))+e},g=function(t){return new Date(Date.now()+t)},b=function(t,e){return new Date(t.getTime()+e)},x=function(t,e){return t.toDateString()===e.toDateString()},w=function(t,e){return t.getTime()===e.getTime()},I=function(t,e){return new Date(e,t,0).getDate()},E=function(t){return t.match(/(Z)|([+\-][0-9]{2}:?[0-9]*$)/g)?new Date(t):(t+=-1!==t.indexOf("T")?"Z":"",M(new Date(t)))},M=function(t){return new Date(t.getTime()+6e4*t.getTimezoneOffset())},S=function(t,e){return e.map((function(e){var n=c[e],r=Math.max(0,Math.floor(t/n));return t%=n,r}))},O=function(t,e,n){var r=e-t,i=!1;if(r<0){r=t-e;var o=[e,t];t=o[0],e=o[1],i=!0}n||(n=["d","h","m"]);var a=n.indexOf("m");a>=0&&("y"===n[a-1]||"d"===n[a+1])&&(n[a].key="M");var u=void 0,s=void 0,l=void 0,f=n.includes("y"),d=n.includes("M");(d||f)&&(u=new Date(t.valueOf()+r),s=P(u,t),l=d?Math.floor(s):12*Math.floor(s/12),r=u.valueOf()-T(k(t),l).valueOf());var h=n.map((function(t){if("y"===t||"M"===t){var e=Math.max(0,Math.floor(s/p[t]));return s-=e*p[t],e}var n=c[t],i=Math.max(0,Math.floor(r/n));return r%=n,i}));return i?h.map((function(t){return t>0?-t:t})):h},j=function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if("number"==typeof e[0]&&"string"==typeof e[1]){if(!c[e[1]])throw'"'+e[1]+'" is not a valid amount.';return e[0]*c[e[1]]}return d(e[0])?O.apply(void 0,e):"number"==typeof e[0]&&Array.isArray(e[1])?S.apply(void 0,e):null},_=function(){return new Date},k=function(t){return new Date(t.valueOf())},T=function(t,e){return t.setMonth(t.getMonth()+e),t},P=function(t,e){var n=12*(e.getFullYear()-t.getFullYear())+(e.getMonth()-t.getMonth()),r=T(k(t),n);return-(n+(e-r<0?(e-r)/(r-T(k(t),n-1)):(e-r)/(T(k(t),n+1)-r)))},N=function(t){return{destroy:function(){t.destroyed=!0,t.frame&&cancelAnimationFrame(t.frame),t.styleObserver&&t.styleObserver.disconnect(),t.didResizeWindow&&window.removeEventListener("resize",t.didResizeWindow),t.root&&t.root.parentNode&&t.root.parentNode.removeChild(t.root)}}},A=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("span"),n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return t.root=e,t.aligned=null,t.destroyed=!1,e&&n&&(t.root.classList.add("tick-"+n),t.root.setAttribute("data-view",n)),e&&e.dataset.layout&&(t.align=(e.dataset.layout.match(/left|right|center/)||[])[0]||"left"),{appendTo:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"last";!t.root||t.root&&t.root.parentNode||("last"!==n?("first"===n&&(0===e.childNodes.length?e.appendChild(t.root):0===e.children.length&&e.childNodes.length?e.insertBefore(t.root,e.childNodes[e.childNodes.length-1]):e.insertBefore(t.root,e.children[0])),"string"!=typeof n&&e.insertBefore(t.root,n)):e.childNodes.length&&e.childNodes[e.childNodes.length-1].nodeType===Node.TEXT_NODE?e.insertBefore(t.root,e.childNodes[e.childNodes.length-1]):e.appendChild(t.root))}}},C=function(t,e){return t.definition=e,{setDefinition:function(e){t.definition=e}}},D=function(t,e,n,r){return{draw:function(){if(!t.dirty){if(n)n(t)&&L(t);return!1}return e(t,r),L(t),t.dirty=!1,!0}}},L=function(t){if(!t.fit){if(!t.root||!(t.root.getAttribute("data-layout")||"").match(/fit/))return void(t.fit=!1);var e=window.getComputedStyle(t.root,null);t.fit=!0,t.fitInfo={currentFontSize:parseInt(e.getPropertyValue("font-size"),10)}}t.fitInfo.availableWidth=t.root.parentNode.clientWidth,t.fitInfo.currentWidth=t.root.scrollWidth;var n=Math.min(Math.max(4,t.fitInfo.availableWidth/t.fitInfo.currentWidth*t.fitInfo.currentFontSize),1024);Math.abs(n-t.fitInfo.currentFontSize)<=1||(t.fitInfo.currentFontSize=n,t.root.style.fontSize=t.fitInfo.currentFontSize+"px")},R=function(t){return t.dirty=!0,t.value=null,t.valueUpdateCount=0,t.isInitialValue=function(){return t.valueUpdateCount<=1},{reset:function(){t.dirty=!0,t.value=null,t.valueUpdateCount=0},update:function(e){He(t.value,e)||(t.value=e,t.valueUpdateCount++,t.dirty=!0)}}},z=function(t){t.didResizeWindow=function(){t.dirty=!0},window.addEventListener("resize",t.didResizeWindow)},W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},H=(function(){function t(t){this.value=t}function e(e){var n,r;function i(n,r){try{var a=e[n](r),c=a.value;c instanceof t?Promise.resolve(c.value).then((function(t){i("next",t)}),(function(t){i("throw",t)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(t,e){switch(t){case"return":n.resolve({value:e,done:!0});break;case"throw":n.reject(e);break;default:n.resolve({value:e,done:!1})}(n=n.next)?i(n.key,n.arg):r=null}this._invoke=function(t,e){return new Promise((function(o,a){var c={key:t,arg:e,resolve:o,reject:a,next:null};r?r=r.next=c:(n=r=c,i(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}(),function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}),U=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}(),B=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},G=function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)},Z=function(t,e){var n=(t.definition||[]).concat();"right"===t.align&&n.reverse();var r=Array.isArray(t.value)?t.value.concat():"object"===W(t.value)?Ae(t.value):t.value;n.forEach((function(n){if(!n.presenter){if(t.update=e(n),!n.presenter)return;n.presenter.appendTo(t.root)}})),n.filter((function(t){return void 0!==t.presenter})).forEach((function(e){Array.isArray(r)&&t.valueMapping?t.update(e,"indexes"===t.valueMapping?"right"===t.align?r.pop():r.shift():r):e.key&&void 0!==r[e.key]?t.update(e,r[e.key]):t.update(e,r)})),t.views=n,F(t)},F=function(t){var e=!1;return t.views.filter((function(t){return void 0!==t.presenter})).forEach((function(t){t.presenter.draw()&&(e=!0)})),e},V=function(t,e,n){var r=Ce(Array.isArray(t.value)?t.value:(t.value+"").split(""));if("right"===t.align&&r.reverse(),t.definitions.length>r.length)for(;t.definitions.length>r.length;){t.definitions.pop().presenter.destroy()}r.forEach((function(n,r){var i=t.definitions[r];i||(i=t.definitions[r]=ce(t.definition),t.update=e(i),i.presenter.appendTo(t.root,"right"===t.align?"first":"last"))})),r.forEach((function(e,n){return t.update(t.definitions[n],e)})),t.views=r,J(t)},J=function(t){var e=!1;return t.views.forEach((function(n,r){t.definitions[r].presenter.draw()&&(e=!0)})),e},Y="undefined"==typeof document?null:function(){for(var t=["webkit","Moz","ms","O"],e=0,n=t.length,r=document.createElement("div").style;e<n;e++)if(t[e]+"Transform"in r)return t[e];return null}(),q=function(t,e){var n=document.createElement(t);return e&&(n.className=e),n},X=function(t,e,n){var r=new MutationObserver((function(r){e.forEach((function(i){r.filter((function(t){return e.includes(t.attributeName)})).length&&n(t.getAttribute(i))}))}));return r.observe(t,{attributes:!0}),r},Q=function(t){return t instanceof HTMLElement},$=function(t,e){t.style.transformOrigin=e},K=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";t.transforms||(t.transforms=[]);var i=t.transforms.find((function(t){return t.name===e}));i?i.value=n:t.transforms.push({name:e,value:n,unit:r}),tt(t,t.transforms)},tt=function(t,e){t.style.transform=e.map((function(t){return t.name+"("+t.value+t.unit+")"})).join(" ")},et=function(t){var e=t.getBoundingClientRect();return!(e.bottom<0)&&!(e.top>window.scrollY+window.innerHeight)},nt=function(t){return t.trim()},rt={},it=function(t,e){var n=e.toString();return rt[n]||(rt[n]={}),rt[n][t]||(rt[n][t]=e(t)),rt[n][t]},ot=new RegExp("^[0-9]+$"),at=new RegExp("^(true|false)$"),ct=new RegExp("^[0-9.]+$"),ut=new RegExp("color"),st=new RegExp("shadow"),lt=new RegExp("^(follow-gradient|horizontal-gradient|vertical-gradient)"),ft=new RegExp("^[.0-9]+(?:ms|s){1}$"),pt=new RegExp("^transition-?(?:in|out)?$"),dt=new RegExp("^url\\("),ht=function(t){return t?parseFloat(t)*(/ms$/.test(t)?1:1e3):0},vt=function(t){return t.match(/[a-z]+(?:\(.*?\))?\s?(?:origin\(.*?\))?\s?(?:[a-z]+\(.*?\))?[ .a-z-0-9]*/g).map(yt)},yt=function(t){var e=t.match(/([a-z]+(?:\(.*?\))?)\s?(?:origin\((.*?)\))?\s?([a-z]+(?:\(.*?\))?)?\s?(?:([.0-9ms]+)?\s?(?:(ease-[a-z-]+))?\s?([.0-9ms]+)?)?/),n=ye(e[1]),r=void 0,i=void 0,o=void 0,a=void 0,c=void 0;return e.slice(2).filter((function(t){return void 0!==t})).forEach((function(t){ft.test(t)?void 0===i?i=ht(t):a=ht(t):/ /.test(t)?r=t:/^ease-[a-z-]+$/.test(t)?o=t:/^[a-z]+/.test(t)&&(c=ye(t))})),c&&(i=void 0,o=void 0),{name:n.name,parameters:n.parameters,duration:i,ease:o,delay:a,origin:r,resolver:c}},mt=function(t){var e=t.match(/follow-gradient|horizontal-gradient|vertical-gradient/)[0];return{type:e,colors:t.substr(e.length).match(/(?:transparent|rgb\(.*?\)|hsl\(.*?\)|hsla\(.*?\)|rgba\(.*?\)|[a-z]+|#[abcdefABCDEF\d]+)\s?(?:[\d]{1,3}%?)?/g).map(bt)}},gt=/\s([\d]{1,3})%?$/,bt=function(t){var e=t.match(gt);return{offset:e?parseFloat(e[1])/100:null,value:Mt(t.replace(gt,""))}},xt=[],wt=function(t,e){return xt[t]?xt[t].find((function(t){return t.node.parentNode===e})):null},It=function(t,e){xt[t]||(xt[t]=[]),xt[t].push(e)},Et="undefined"==typeof document?function(t){return 0}:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(0==t)return 0;if(n){var r=wt(n,e)||{};return r.node||(r.node=document.createElement("span"),r.node.style.cssText="position:absolute;padding:0;visibility:hidden;",e.appendChild(r.node)),r.node.style.marginTop=t,r.style||(r.style=window.getComputedStyle(r.node)),It(n,r),parseInt(r.style.marginTop,10)}var i=document.createElement("span");return i.style.cssText="position:absolute;padding:0;visibility:hidden;margin-top:"+t,e.appendChild(i),requestAnimationFrame((function(){i.parentNode.removeChild(i)})),parseInt(window.getComputedStyle(i).marginTop,10)},Mt="undefined"==typeof document?function(t){return t}:function(t){if("transparent"===t)return"rgba(0,0,0,0)";var e=document.createElement("span");return e.style.cssText="position:absolute;visibility:hidden;color:"+t,document.body.appendChild(e),requestAnimationFrame((function(){e.parentNode.removeChild(e)})),window.getComputedStyle(e).getPropertyValue("color")},St=function(t){return"string"!=typeof t?t:t.match(/([-.\d]+(?:%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?)|[%#A-Za-z0-9,.()]+/g)},Ot=function(t){var e=t.split(":").map(nt),n=function(t){return t.trim().split("-").map((function(t,e){return e>0?function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(t):t})).join("")}(e[0]),r=function(t,e){return at.test(t)?function(t){return"string"==typeof t?"true"===t:t}(t):ot.test(t)?parseInt(t,10):ct.test(t)?parseFloat(t):dt.test(t)?1===(n=t.match(/url\((.*?)\)/g).map((function(t){return t.substring(4,t.length-1)}))).length?n[0]:n:ut.test(e)?lt.test(t)?it(t,mt):it(t,Mt):st.test(e)?it(t,St):pt.test(e)?"none"===t?t:it(t,vt):t;var n}(e[1],e[0]);return n&&null!=r?{property:n,value:r}:null},jt=function(t){return t},_t=function(t){return t<.5?2*t*t:(4-2*t)*t-1},kt={"ease-linear":jt,"ease-in-sine":function(t){return-1*Math.cos(t*(Math.PI/2))+1},"ease-out-sine":function(t){return Math.sin(t*(Math.PI/2))},"ease-in-out-sine":function(t){return-.5*(Math.cos(Math.PI*t)-1)},"ease-in-cubic":function(t){return t*t*t},"ease-out-cubic":function(t){var e=t-1;return e*e*e+1},"ease-in-out-cubic":function(t){return t<.5?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1},"ease-in-circ":function(t){var e=t/1;return-1*(Math.sqrt(1-e*t)-1)},"ease-out-circ":function(t){var e=t-1;return Math.sqrt(1-e*e)},"ease-in-out-circ":function(t){var e=2*t,n=e-2;return e<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-n*n)+1)},"ease-in-quad":function(t){return t*t},"ease-out-quad":function(t){return t*(2-t)},"ease-in-out-quad":_t,"ease-in-quart":function(t){return t*t*t*t},"ease-out-quart":function(t){return 1- --t*t*t*t},"ease-in-out-quart":function(t){return t<.5?8*t*t*t*t:1-8*--t*t*t*t},"ease-in-expo":function(t){return 0===t?0:Math.pow(2,10*(t-1))},"ease-out-expo":function(t){return 1===t?1:1-Math.pow(2,-10*t)},"ease-in-out-expo":function(t){if(0===t||1===t)return t;var e=2*t,n=e-1;return e<1?.5*Math.pow(2,10*n):.5*(2-Math.pow(2,-10*n))},"ease-in-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=t/1;return n*n*((e+1)*n-e)},"ease-out-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=t/1-1;return n*n*((e+1)*n+e)+1},"ease-in-out-back":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,n=2*t,r=n-2,i=1.525*e;return n<1?.5*n*n*((i+1)*n-i):.5*(r*r*((i+1)*r+i)+2)},"ease-out-elastic":function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7,n=1-e,r=2*t;if(0===t||1===t)return t;var i=n/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*r)*Math.sin((r-i)*(2*Math.PI)/n)+1},"ease-out-bounce":function(t){var e=t/1;if(e<1/2.75)return 7.5625*e*e;if(e<2/2.75){var n=e-1.5/2.75;return 7.5625*n*n+.75}if(e<2.5/2.75){var r=e-2.25/2.75;return 7.5625*r*r+.9375}var i=e-2.625/2.75;return 7.5625*i*i+.984375}};r(e.EASING_FUNCTION,kt);var Tt=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:jt,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return Pt((function(e){t(r(e))}),e,n,i)},Pt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!t)return null;var i=null,o=void 0,a=null,c=function c(u){if(null===i&&(i=u),(o=u-i-r)<n)return t(o>=0?o/n:0),a=requestAnimationFrame(c),null;t(1),e&&e()};return c(ze()),function(){cancelAnimationFrame(a)}},Nt=function(){var t=1e3/24,e=null,n={velocity:0,origin:0,position:0,destination:1},r=function(){cancelAnimationFrame(e)};return{getPosition:function(){return n.position},cancel:r,translate:function(i,o,a,c){r(),null===a?n.destination=o:(n.position=o,n.destination=a,n.velocity=0),n.origin=n.position;var u=null;!function o(a){e=requestAnimationFrame(o),u||(u=a);var s=a-u;s<=t||(u=a-s%t,c(n,r),i(n.position))}(ze())}}},At=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];var i=Nt(),o={update:null,cancel:i.cancel,getPosition:i.getPosition};return"arrive"===t?o.update=Ct.apply(void 0,[i.translate].concat(n)):"spring"===t?o.update=Lt.apply(void 0,[i.translate].concat(n)):"step"===t&&(o.update=Dt.apply(void 0,[i.translate].concat(n))),o},Ct=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return function(r){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(r,i,o,(function(t,r){var i=t.destination-t.position,o=t.origin+.5*(t.destination-t.origin);t.velocity+=2*(-(o-t.origin)+i)*n,t.position+=t.velocity<0?Math.max(t.velocity,-e):Math.min(t.velocity,e),(t.origin<t.destination&&t.position>=t.destination||t.origin>=t.destination&&t.position<=t.destination)&&(r(),t.velocity=0,t.position=t.destination)}))}},Dt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01;return function(n){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(n,r,i,(function(t,n){t.velocity=e,t.position+=t.velocity,(t.origin<t.destination&&t.position>=t.destination||t.origin>=t.destination&&t.position<=t.destination)&&(n(),t.velocity=0,t.position=t.destination)}))}},Lt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;t(i,o,a,(function(t,i){var o=-(t.position-t.destination)*e;t.velocity+=o/r,t.position+=t.velocity,t.velocity*=n,Rt(t.position,t.destination,t.velocity)&&(i(),t.position=t.destination,t.velocity=0)}))}},Rt=function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.001;return Math.abs(t-e)<r&&Math.abs(n)<r},zt=function(t){var e=t.map((function(t){return Ht(Wt(t.name,t.parameters,t.ease),t.origin,t.duration,t.delay)}));return function(t,n,r){if(!Q(t))return!1;var i=e.length;e.forEach((function(e){e(t,n,(function(){!--i&&r&&r(t)}))}))}},Wt=function(t,n,r){var i=r?o(e.EASING_FUNCTION,r):r,a=o(e.TRANSITION,t);return function(t,e,r){a.apply(void 0,[t,r,e,i].concat(G(n)))}},Ht=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"50% 50% 0",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,r=arguments[3];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments[2];$(i,e),Pt((function(e){t(i,o,e)}),a,n,r)}},Ut=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return t.lastAppliedStyles=null,Bt(t,e,t.root.dataset.style),t.styleObserver=X(t.root,["data-style"],(function(n){Bt(t,e,n)})),{setStyle:function(n){Bt(t,e,n)}}},Bt=function(t,n,r){if(t.lastAppliedStyles!==r){t.lastAppliedStyles=r,t.style=r?_e(n,function(t){return t.split(";").filter((function(t){return t.trim().length})).map(Ot).filter((function(t){return null!==t})).reduce((function(t,e){return t[e.property]=e.value,t}),{})}(r)):n;var i=[],a=[];t.style.transitionIn&&t.style.transitionIn.length?(i=t.style.transitionIn,a=t.style.transitionOut):t.style.transition&&"none"!==t.style.transition&&t.style.transition.forEach((function(t){var n=function(t){return o(e.TRANSITION,t.name).apply(void 0,G(t.parameters||[]))}(t);i=i.concat(n.intro),a=a.concat(n.outro)})),i&&a&&(t.transitionIn=zt(i),t.transitionOut=zt(a),t.skipToTransitionInEnd=zt(i.map(Gt)),t.skipToTransitionOutEnd=zt(a.map(Gt))),t.dirty=!0}},Gt=function(t){var e=Ae(t);return e.duration=0,e.delay=0,e},Zt=function(t){return t[Y+"BackingStorePixelRatio"]||t.backingStorePixelRatio||1},Ft=function(){return window.devicePixelRatio||1},Vt=function(t){t.getContext("2d").clearRect(0,0,t.width,t.height)},Jt={text:function(){return function(t){var e={};return Object.assign({},A(e,t,"text"),R(e),D(e,(function(t){t.root.setAttribute("data-value",t.value),function(t,e){var n=t.childNodes[0];n?e!==n.nodeValue&&(n.nodeValue=e):(n=document.createTextNode(e),t.appendChild(n))}(t.root,t.value)})),N(e))}}};r(e.VIEW,Jt);var Yt=function(t,e,n){return function(t,e,n){var r={valueMapping:null};if(t&&t.dataset.valueMapping){var i=t.dataset.valueMapping;r.valueMapping=-1!==["none","indexes"].indexOf(i)?i:null}return Object.assign({},A(r,t),z(r),R(r),C(r,e),D(r,Z,F,n),N(r))}(t,e,n)},qt=function(t,e,n){return function(t,e,n){var r={definitions:[]};return Object.assign({},A(r,t),R(r),C(r,e),D(r,V,J,n),N(r))}(t,e,n)},Xt=function(t,n,r){var i=o(e.VIEW,t);return i?i({Extension:{Type:e,getExtension:o},Utils:{toPixels:Et,toColor:Mt},Canvas:{clear:Vt,getDevicePixelRatio:Ft,getBackingStoreRatio:Zt},DOM:{visible:et,create:q,transform:K},Animation:{animate:Tt},Data:{request:We},Date:{performance:ze},View:{rooter:A,drawer:D,updater:R,styler:Ut,grouper:C,resizer:z,destroyer:N}})(n,r):null},Qt=function(t,e){return"-"===t[e]&&">"===t[e+1]},$t=function(t){return"'"===t||'"'===t},Kt=function(t){return","===t},te=function(t){return"("===t},ee=function(t){return")"===t},ne=function(t){return 0!==t.trim().length},re=function(t,e){return t.push(e.trim())},ie=function(t,e){return ne(e)?(re(t,e),""):e},oe=function(t,e){return t.length&&e.push(t.length>1?t.concat():t[0]),[]},ae=function t(e,n,r){for(var i="",o=[],a=null,c=!1;e<n.length;){var u=n[e];if(te(u)){c=!1;var s=[i.trim()];u=n[e=t(e+1,n,s)],o.push(s),i=""}else{if(ee(u))return c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),ne(i)&&re(o,i),o=oe(o,r),e+1;null!==a&&u!==a?i+=u:u===a?(o.push(i),i="",a=null):$t(u)?(i="",a=u):Qt(n,e)?(c=!0,i.trim().length&&(o.push([i.trim()]),i=""),e+=2):Kt(u)?(c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),o=oe(o,r),i=ie(r,i)):i+=u,e++}}return(c&&i.trim().length||!c&&i.trim().length&&!o.length)&&(o.push([i.trim()]),i=""),oe(o,r),ie(r,i),e},ce=function t(e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="root"!==r?"children"!==r?"repeat"!==r?e[r]:null===e[r]?null:t(e[r]):null===e[r]?null:e[r].map(t):e[r].cloneNode());return n.presenter=null,n},ue={root:null,key:null,view:null,overlay:null,presenter:null,transform:null,layout:null,style:null,repeat:null,children:null,className:null},se=function t(e){return Array.from(e).map((function(e){var n=_e(ue,{root:e});for(var r in e.dataset)e.dataset.hasOwnProperty(r)&&void 0!==n[r]&&(n[r]=e.dataset[r]);return n.repeat?(n.repeat=t(e.children).pop(),Array.from(e.children).forEach((function(t){t.parentNode.removeChild(t)}))):e.children.length&&(n.children=t(e.children)),n}))},le=function t(e){return e.map((function(e){return"string"==typeof(e=_e(ue,e)).root?e.root=document.createElement(e.root):e.root=document.createElement("span"),e.transform&&(e.root.dataset.transform=e.transform),e.className&&(e.root.className=e.className),e.overlay&&(e.root.dataset.overlay=e.overlay),e.view?(e.root.dataset.view=e.view,e.style&&(e.root.dataset.style=e.style),e.repeat=null):(e.layout&&(e.root.dataset.layout=e.layout),e.repeat?(e.root.dataset.repeat=!0,e.repeat=t(e.children).pop()):e.children&&(e.children=t(e.children),e.children.forEach((function(t){e.root.appendChild(t.root)})))),e}))},fe=function(t){var e=!1,n=function(n,i){n.transform(i,(function(t){n.presenter.update(t)}),t),e||(e=!0,r())},r=function e(){t.baseDefinition.presenter.draw(),requestAnimationFrame(e)};return function e(r){return r.presenter=function(t,e){var n=void 0;return t.repeat?n=qt(t.root,t.repeat,e):"string"==typeof t.view?n=Xt(t.view,t.root,t.style):function(t){return t.children&&t.children.length}(t)&&(n=Yt(t.root,t.children,e)),n}(r,e),r.transform=he(r.transform,t),n}(t.baseDefinition)},pe=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return function(e,r){!function e(i,o){n.length<=i?r(o):n[i](o,de(e,[i+1]),t)}(0,e)}},de=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments[2];return function(){var r=Array.from(e);return Array.prototype.push.apply(r,arguments),t.apply(n,r)}},he=function(t,e){if(!t)return function(t,e){return e(t)};if("function"==typeof t)return t;var n=function(t){var e=[];return ae(0,t,e),e}("transform("+(/^[a-z]+$/.test(t)?t+"()":t)+")");return ve(n,e)},ve=function t(n,r){var i=n.map((function(n){var i=n.shift(),a=o(e.TRANSFORM,i)||function(t,e,n){e(t)},c=n.map((function(e){return Array.isArray(e)?"string"==typeof e[0]?t([e],r):t(e,r):Oe(e)}));return a.apply(void 0,G(c))}));return pe.apply(void 0,[r].concat(G(i)))},ye=function(t){var e=t.match(/[a-z]+/)[0];return{name:e,parameters:me(t.substring(e.length))}},me=function(t){return(t.match(/('.+?')|(".+?")|(\[.+?])|([.:\-\d\sa-zA-Z]+%?)/g)||[]).map(Ne).filter((function(t){return t.length})).map(Oe)},ge=function(t){return t.substring(1,t.length-1)},be=/^([\d]{4}-[\d]{1,2}-[\d]{1,2})/,xe=/^(true|false)$/,we=/^[\a-zA-Z]+$/,Ie=/^0[\d]+/,Ee=/^('|")/,Me=/^-?(?:\d+)?(?:\.|0\.)?[\d]+$/,Se=/^(\[)/,Oe=function(t){return xe.test(t)?"true"===t:Se.test(t)?me(ge(t)):be.test(t)?E(t):Ee.test(t)?ge(t):we.test(t)||Ie.test(t)?t:Me.test(t)?parseFloat(t):t},je=function(t){var e=(t+"").match(/(-?[.\d]+)(%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?/);return{value:parseFloat(e[1]),units:e[2]}},_e=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=void 0,r={};for(n in t)t.hasOwnProperty(n)&&(r[n]=void 0===e[n]?t[n]:e[n]);return r},ke=function(t){var e=window,n=t.split(".");return n.forEach((function(t,r){e[n[r]]&&(e=e[n[r]])})),e!==window?e:null},Te=function(t){return/^(?:[\w]+\s?:\s?[\w.]+,\s?)+(?:[\w]+\s?:\s?[\w.]+)$/g.test(t)?t.match(/(?:(\w+)\s?:\s?([\w.]+))/g).reduce((function(t,e){var n=e.split(":");return t[n[0]]=Oe(n[1]),t}),{}):Oe(t)},Pe=function(t){return parseInt(t,10)},Ne=function(t){return t.trim()},Ae=function(t){return"object"===(void 0===t?"undefined":W(t))&&null!==t?JSON.parse(JSON.stringify(t)):t},Ce=function(t){return t.slice()},De=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return t+Math.random()*(e-t)},Le=function(t){for(var e=[],n=0;n<t;n++)e.push(n);return e},Re=function(t){for(var e=t.length;e;e--){var n=Math.floor(Math.random()*e),r=[t[n],t[e-1]];t[e-1]=r[0],t[n]=r[1]}},ze=function(){return window.performance.now()},We=function(t,e,n,r){var i=new XMLHttpRequest;r&&r(i),i.open("GET",t,!0),i.onload=function(){e(i.response)},n&&(i.onerror=function(){n(i,i.status)}),i.send()},He=function(t,e){return Ue(t)?Be(t,e):Array.isArray(t)?Ge(t,e):t===e},Ue=function(t){return t===Object(t)},Be=function(t,e){for(var n in t)if(!e.hasOwnProperty(n)||t[n]!==e[n])return!1;return!0},Ge=function(t,e){return t.length==e.length&&t.every((function(t,n){return t===e[n]}))},Ze=function(t){return Object.keys(t).map((function(t){return'"'+t+'"'})).join(", ")},Fe=function(){function t(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");H(this,t),this._options=_e(t.options(),e),this._element=n,this._value=null,this._observer=null,this._viewDefinition=null,this._constants=null,this._presets=null,this._updater=null,this._didInit=null,this._didDestroy=null,this._willDestroy=null,this._didUpdate=null,this._init()}return U(t,[{key:"isRootElement",value:function(t){return this._element===t}},{key:"setConstant",value:function(t,e){this._constants[t]=e}},{key:"getConstants",value:function(){return this._constants}},{key:"getConstant",value:function(t){return this._constants[t]}},{key:"setPreset",value:function(t,e){this._presets[t]=e}},{key:"getPreset",value:function(t){return this._presets[t]}},{key:"destroy",value:function(){this._willDestroy(this),this._observer.disconnect(),this.baseDefinition.presenter.destroy(),this._didDestroy(this)}},{key:"redraw",value:function(){this.baseDefinition&&this.baseDefinition.presenter&&(this.baseDefinition.presenter.reset(),this.baseDefinition.presenter.draw(),this._updater(this.baseDefinition,this._value))}},{key:"_init",value:function(){var t=this;this._viewDefinition=this._options.view,this._willDestroy=this._options.willDestroy,this._didDestroy=this._options.didDestroy,this._didInit=this._options.didInit,this._didUpdate=this._options.didUpdate,this._value=this._options.value,this._presets=this._options.presets,this._constants=this._options.constants,this._element.classList.contains("tick")||this._element.classList.add("tick"),this._observer=X(this._element,["data-value"],(function(e){t.value=e})),this._viewDefinition.root!==this._element&&(Array.from(this._viewDefinition.root.children).forEach((function(e){t._element.appendChild(e)})),this._viewDefinition.root=this._element),this._viewDefinition.view||this._viewDefinition.children||(this._viewDefinition.view="text"),this._updater=fe(this),null!==this.value&&this._update(this.value),this._element.dataset.state="initialised",this._didInit(this,this.value)}},{key:"_update",value:function(t){this._updater(this.baseDefinition,t),this._didUpdate(this,t)}},{key:"baseDefinition",get:function(){return this._viewDefinition}},{key:"root",get:function(){return this._element}},{key:"value",get:function(){return this._value},set:function(t){this._value="string"==typeof t?Te(t):t,this._update(t)}}],[{key:"options",value:function(){return{constants:Ye(),presets:qe(),value:null,view:null,didInit:function(t){},didUpdate:function(t,e){},willDestroy:function(t){},didDestroy:function(t){}}}}]),t}(),Ve=function(t,e,n,r){return{label:1===t?e:n,progress:t/r,value:t}},Je=[],Ye=function(){return Xe},qe=function(){return Qe},Xe={YEAR_PLURAL:"Years",YEAR_SINGULAR:"Year",MONTH_PLURAL:"Months",MONTH_SINGULAR:"Month",WEEK_PLURAL:"Weeks",WEEK_SINGULAR:"Week",DAY_PLURAL:"Days",DAY_SINGULAR:"Day",HOUR_PLURAL:"Hours",HOUR_SINGULAR:"Hour",MINUTE_PLURAL:"Minutes",MINUTE_SINGULAR:"Minute",SECOND_PLURAL:"Seconds",SECOND_SINGULAR:"Second",MILLISECOND_PLURAL:"Milliseconds",MILLISECOND_SINGULAR:"Millisecond"},Qe={y:function(t,e){return Ve(t,e.YEAR_SINGULAR,e.YEAR_PLURAL,10)},M:function(t,e){return Ve(t,e.MONTH_SINGULAR,e.MONTH_PLURAL,12)},w:function(t,e){return Ve(t,e.WEEK_SINGULAR,e.WEEK_PLURAL,52)},d:function(t,e){return Ve(t,e.DAY_SINGULAR,e.DAY_PLURAL,365)},h:function(t,e){return Ve(t,e.HOUR_SINGULAR,e.HOUR_PLURAL,24)},m:function(t,e){return Ve(t,e.MINUTE_SINGULAR,e.MINUTE_PLURAL,60)},s:function(t,e){return Ve(t,e.SECOND_SINGULAR,e.SECOND_PLURAL,60)},mi:function(t,e){return Ve(t,e.MILLISECOND_SINGULAR,e.MILLISECOND_PLURAL,1e3)}},$e={value:Te,didInit:ke,didUpdate:ke,didDestroy:ke,willDestroy:ke},Ke=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=t.dataset,i={meta:{}};for(var o in r)if(r.hasOwnProperty(o)){var a=e[o],c=r[o];a&&(c=null===(c=a(c))?Ae(n[o]):c,i[o]=c)}return i},tn=function(t){var e=Je.filter((function(e){return e.isRootElement(t)}));return e?e[0]:null},en=function(){return B({},Fe.options(),{constants:B({},Xe),presets:B({},Qe)})},nn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(t&&!Q(t)&&(e=t,t=void 0),!t||!tn(t)){e&&e.view&&(e.view=le([e.view])[0]),!e&&t&&(e=Ke(t,$e,en())),t&&(e||(e={}),e.view||(e.view=se([t])[0]));var n=new Fe(e,t);return Je.push(n),n}},rn=function(t){return function(){setTimeout(t,0)}},on=function(){return Date.now()},an=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=_e({autostart:!0},n),i=null,o=null,a=null,c=0,u=null,s=!1,l=null,f=function(){return s},p=function(){return null!==o},d=function(){return document.hidden},h=function n(){var r=on(),a=i-r,u=e+a;i=r+u,t(r-o-c+a),l=setTimeout(n,u)},v=function(){f()?b():p()||(o=on(),setTimeout((function(){t(0)}),0),S(),d()?I():(i=on()+e,l=setTimeout((function(){h()}),e)))},y=function(){clearTimeout(l),l=null,o=null,i=null,a=null,c=0,u=null,s=!1,M()},m=function(){y(),v()},g=function(){p()&&!d()&&(s=!0,M(),x())},b=function(){f()&&p()&&!d()&&(s=!1,S(),w())},x=function(){clearTimeout(l),a=on(),u=i-a},w=function(){c+=on()-a,a=null,i=on()+u,l=setTimeout((function(){h()}),u)},I=function(){x()},E=function(){p()&&w()},M=function(){document.removeEventListener("visibilitychange",O)},S=function(){document.addEventListener("visibilitychange",O)},O=function(){d()?I():E()};return r.autostart&&v(),{start:v,stop:rn(y),reset:rn(m),pause:rn(g),resume:b}},cn=function(t){/^[\d]+/.test(t)||(t="1 "+t);var e=t.split(" ");return parseFloat(e[0])*c[e[1].toLowerCase()]},un=function(t,e){return function(t,e){return t.setHours(e[0]||0,e[1]||0,e[2]||0,e[3]||0),t}(t,e.split(":").map(Pe))},sn=function(t,e){var n=e.match(/((?:[\d]+\s)?(?:hours|hour|minutes|minute|seconds|second))|((?:from|till)\s[\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(t,e){return/from/.test(e)?t.from=un(t.from,e.split(" ")[1]):/till/.test(e)?t.till=un(t.till,e.split(" ")[1]):/wait/.test(e)?t.idle=cn(e.substr(5)):/hours|hour|minutes|minute|seconds|second/.test(e)&&(t.interval=cn(e)),t}),{idle:null,interval:null,date:null,dist:null,wait:!1,from:un(k(t),"0"),till:un(k(t),"23:59:59:999")});if(t<n.from||t>=n.till)return n;if(n.interval>n.till-n.from)return n;var r=t-n.from,i=n.interval-r%n.interval;return null!==n.idle&&i>=n.interval-n.idle?(n.wait=!0,n):(n.dist=i,n.date=new Date(t.getTime()+n.dist),n)},ln=function(t,e){return/januari|februari|march|april|may|june|july|august|september|october|november|december/.test(e)?function(t,e){var n=e.match(/januari|februari|march|april|may|june|july|august|september|october|november|december|[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/([\d]+th|\dst|\dnd|first|last)/.test(n)&&(e.day=/^[\d]/.test(n)?parseInt(n,10):"first"===n?1:n),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)?e.idle=cn(n.substr(5)):/^[\a-zA-Z]+$/.test(n)&&(e.month=n),e}),{idle:null,day:null,month:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time.setDate(1),o.time=y(o.time,o.month),o.time=v(o.time,o.day);var a=o.time-t,c=0;if(a<0&&(c=a,o.time.setFullYear(o.time.getFullYear()+1),a=o.time-t),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=k(t),o.time.setDate(1),o.time=y(o.time,o.month),o.time=v(o.time,o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&(o.time=k(u.from),o.time.setFullYear(o.time.getFullYear()+1),s=o.time-t),o.dist=s}return o.date=k(o.time),o}(t,e):/month/.test(e)?function(t,e){var n=e.match(/[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/([\d]+th|\dst|\dnd|first|last)/.test(n)&&(e.day=/^[\d]/.test(n)?parseInt(n,10):"first"===n?1:n),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=v(o.time,o.day);var a=o.time-t,c=0;if(a<0&&(c=a,o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),v(o.time,o.day),a=o.time-t),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=v(k(t),o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&(o.time=k(u.from),o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),v(o.time,o.day),s=o.time-t),o.dist=s}return o.date=k(o.time),o}(t,e):/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(e)?function(t,e){var n=e.match(/(?:mon|tues|wednes|thurs|fri|satur|sun)day|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(n.length>1){var r="";n.forEach((function(t){r=e.split(t)[1]||""}));var i=r.trim().match(/wait\s[\d]+\s[a-z]+/);i&&n.push(i[0])}var o=n.reduce((function(e,n){return/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(n)&&(e.day=f[function(t){return t.charAt(0).toUpperCase()+t.slice(1)}(n)]),/^at/.test(n)?e.time=un(k(t),n.substr(3)):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=h(o.time,o.day);var a=o.time-t;if(a<0&&(o.time.setDate(o.time.getDate()+7),a=o.time-t),null!==o.idle&&a>=c.Week-o.idle)return o.wait=!0,o;o.dist=a}else{o.time=h(k(t),o.day);var u=sn(o.time,e);if(u.wait)return o;o.time=k(x(t,o.time)&&u.date?u.date:u.from);var s=o.time-t;s<0&&o.time.setDate(o.time.getDate()+7),o.dist=s}return o.date=k(o.time),o}(t,e):/day at/.test(e)||/^at /.test(e)?function(t,e){var n=e.match(/([\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(e,n){return/^[\d]/.test(n)?e.time=un(k(t),n):/wait/.test(n)&&(e.idle=cn(n.substr(5))),e}),{idle:null,time:null,date:null,wait:!1,dist:null}),r=n.time-t;return r<0&&(n.time.setDate(n.time.getDate()+1),r=n.time-t),null!==n.idle&&r>=c.Day-n.idle?(n.wait=!0,n):(n.dist=r,n.date=k(n.time),n)}(t,e):/hours|hour|minutes|minute|seconds|second/.test(e)?sn(t,e):null},fn=function(t,e){for(var n=e.split(",").map(Ne).map((function(e){return ln(t,e)})),r=null,i=0;i<n.length;i++){var o=n[i];if(null===r&&o.wait)return null;(null===r||null===r.dist&&null!==o.dist||null!==o.dist&&o.dist<r.dist)&&(r=o)}return r.date},pn=function(t,e){!0!==t?"string"!=typeof t?setTimeout((function(){e(0)}),0):setTimeout((function(){e(E(t).getTime()-_().getTime())}),0):function(t){var e=new XMLHttpRequest,n=Date.now();e.open("HEAD",window.location+"?noCache="+n),e.setRequestHeader("Content-Type","text/html"),e.setRequestHeader("Cache-Control","no-cache"),e.onload=function(){var r=.5*(n-Date.now()),i=new Date(e.getResponseHeader("Date"));t(new Date(i.getTime()+r))},e.send()}((function(t){e(t.getTime()-_().getTime())}))},dn={format:["d","h","m","s"],cascade:!0,server:null,interval:1e3},hn=function(t){return B({complete:!1,offset:null,value:null,timer:null,onload:function(){},onupdate:function(t){}},t)},vn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof t)throw'Can\'t start counter, the "milliseconds" parameter is required';var n=(e=_e({units:"seconds",target:0,amount:1e3,interval:1e3},e)).target,r=t,i=hn({target:n,onended:function(){}});return setTimeout((function(){i.timer=an((function(o){if((r=t-o/e.interval*e.amount)<=n)return i.value=e.target,i.onupdate(i.value/c[e.units]),i.timer.stop(),void i.onended();i.value=r,i.onupdate(i.value/c[e.units])}),e.interval,{autostart:!1}),i.complete=!0,i.onload(),i.timer.start()}),0),i},yn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t)throw'Can\'t start counter, the "due" parameter is required';e=_e(dn,e);var n=d(t)?t:E(t),r=hn({due:k(n),onended:function(){}});return pn(e.server,(function(t){r.offset=t;r.timer=an((function(){var i=g(t);if(n-i<=0)return r.value=new Array(e.format.length).fill(0),r.onupdate(r.value),r.timer.stop(),void r.onended();r.value=O(i,n,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r},mn=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(n,r){return r((parseFloat(n)-t)/(e-t))}},gn=function(t,e,n,r){e[t]=n[t],r(Ce(e))},bn={ascii:function(){return function(t,e){return e((t+"").charCodeAt(0))}},char:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",n=t?new RegExp("[^"+t+"]","g"):null;return function(t,r){var i=String.fromCharCode(t);n&&(i=i.replace(n,e)),r(i)}},tween:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ease-linear",r=arguments[2];t=ht(t);var i=o(e.EASING_FUNCTION,n),a=null,c=null;return function(e,n){if(e=parseFloat(e),a&&a(),null===c||e===c)return c=e,void n(e);var o=c,u=e-o;a=Tt((function(t){n(o+t*u)}),(function(){a=null}),t,i,r),c=e}},value:function(t){return function(e,n){return n(t)}},input:function(){return function(t,e){return e(t)}},rotate:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r=Array.isArray(t)?t:[t],i=[],o=e.length;r.forEach((function(t,a){e[a%o](t,(function(t){i[a]=t,a===r.length-1&&n(i)}))}))}},map:function(t){return function(e,n){var r=[],i=e;i.forEach((function(e,o){t(e,(function(t){r[o]=t,o===i.length-1&&n(r.concat())}))}))}},transform:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r=[],i=t;e.forEach((function(t,o){t(i,(function(t){r[o]=t,o===e.length-1&&n(1===r.length?r[0]:r)}))}))}},upper:function(){return function(t,e){return e((t+"").toUpperCase())}},lower:function(){return function(t,e){return e((t+"").toLowerCase())}},abs:function(){return function(t,e){return e(Math.abs(t))}},add:function(t){return function(e,n){return n(e+t)}},subtract:function(t){return function(e,n){return n(e-t)}},modulus:function(t){return function(e,n){return n(e%t)}},pad:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left";return function(n,r){return r(t.length>(""+n).length?"left"===e?(""+t+n).slice(-t.length):(""+n+t).substring(0,t.length):n)}},number:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return function(r,i){i((r<0?"-":"")+parseFloat(Math.abs(r)).toFixed(n).replace(/./g,(function(n,r,i){return"."===n?t:r&&(i.length-r)%3==0?e+n:n})))}},replace:function(t,e){return function(n,r){return r((n+"").replace(new RegExp("."===t?"\\"+t:t,"g"),e))}},round:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(e,n){return n(t?e.toFixed(t):Math.round(e))}},ceil:function(){return function(t,e){return e(Math.ceil(t))}},floor:function(){return function(t,e){return e(Math.floor(t))}},fraction:mn,percentage:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=mn(t,e);return function(t,e){n(t,(function(t){e(100*t)}))}},multiply:function(t){return function(e,n){return n(e*t)}},divide:function(t){return function(e,n){return n(e/t)}},split:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(e,n){return n((e+"").split(t))}},format:function(t){return function(e,n){return n(t.replace(/\$0/gi,e))}},plural:function(t,e){return function(n,r){return r(1===n?t:e)}},limit:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(n,r){return r(Math.min(Math.max(n,t),e))}},reverse:function(){return function(t,e){return e(Array.isArray(t)?t.reverse():(t+"").split("").reverse().join(""))}},arrive:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],i=null,o=null,a=null;return function(c,u){return c=parseFloat(c),null===i?(i=c,void u(c)):(n&&null!==o&&i===c&&(a.cancel(),a=null),r&&null!==o&&c-a.getPosition()>1?(a.cancel(),a=null,o=null,i=c,void u(c)):(a?a.update(u,c):(a=At("arrive",t,e)).update(u,i,c),void(o=c)))}},spring:function(t,e,n){var r=null,i=null;return function(o,a){if(o=parseFloat(o),null===r)return r=o,void a(o);i?i.update(a,o):(i=At("spring",t,e,n)).update(a,r,o)}},delay:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rtl",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,r=null;return function(i,o){if(!r)return r=Ce(i),void o(Ce(r));r="rtl"===t?r.slice(r.length-i.length,r.length):r.slice(0,i.length);var a=Le(i.length);"random"===t&&Re(a),"rtl"===t&&a.reverse();!function t(){gn(a.shift(),r,i,o),a.length&&setTimeout(t,De(e,n))}()}},step:function(t){var e=null,n=null,r=null;return function(i,o){if(i=parseFloat(i),null===e)return e=i,void o(i);null!==n&&e===i&&(r.cancel(),r=null),r?r.update(o,i):(r=At("step",t)).update(o,e,i),n=i}},keys:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){var r={};t.forEach((function(t,n){r[e[n]]=t})),n(r)}},duration:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n){return n(S(t,e))}},substring:function(t,e){return function(n,r){return r((n+"").substring(t,e))}},preset:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];return function(t,n,r){return n(t.map((function(t,n){return r.getPreset(e[n])(t,r.getConstants(),r)})))}}};r(e.TRANSFORM,bn);var xn={x:"translateX",y:"translateY",z:"translateZ"},wn={x:"rotateX",y:"rotateY",z:"rotateZ"},In={both:"scale",x:"scaleX",y:"scaleY"},En=function(t,e,n){return t+(e-t)*n},Mn={fade:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(n<0){var a=[o,i];i=a[0],o=a[1]}t.style.opacity=En(i,o,r(e))},move:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"100%",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"y";if(n<0){var c=[o,i];i=c[0],o=c[1]}var u=it(i,je),s=it(o,je);K(t,xn[a],En(u.value,s.value,r(e)),u.units||s.units)},rotate:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"0",o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:"90deg",a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"x";if(n<0){var c=[o,i];i=c[0],o=c[1]}var u=it(i,je),s=it(o,je);K(t,wn[a],En(u.value,s.value,r(e)),u.units||s.units)},scale:function(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:_t,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1,a=arguments.length>6&&void 0!==arguments[6]?arguments[6]:"both";if(n<0){var c=[o,i];i=c[0],o=c[1]}K(t,In[a],En(i,o,r(e)))},crossfade:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=arguments[1],n=arguments[2];return{intro:[{name:"fade",parameters:[0,1],duration:1e3*t,delay:ht(e)}],outro:[{name:"fade",parameters:[1,0],duration:1e3*t,delay:ht(n)}]}},swap:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3],i=arguments[4];return{intro:[{name:"move",parameters:[""+100*-e,"0%",t],duration:1e3*n,delay:ht(r)}],outro:[{name:"move",parameters:["0%",""+100*e,t],duration:1e3*n,delay:ht(i)}]}},revolve:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments[3],i=arguments[4];return{intro:[{name:"rotate",parameters:[90*-e+"deg","0deg",t],duration:1e3*n,delay:ht(r)}],outro:[{name:"rotate",parameters:["0deg",90*e+"deg",t],duration:1e3*n,delay:ht(i)}]}},zoom:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=arguments[2],r=arguments[3];return{intro:[{name:"scale",parameters:[t,1],duration:1e3*e,delay:ht(n)}],outro:[{name:"scale",parameters:[1,t],duration:1e3*e,delay:ht(r)}]}}};r(e.TRANSITION,Mn);var Sn={supported:function(){var t=window;if(void 0===t)return!1;var e=t.CSS&&t.CSS.supports,n=!!t.MSInputMethodContext&&!!document.documentMode,r=e&&CSS.supports("transform","translateX(0)");return n||e&&r&&!!["MutationObserver","requestAnimationFrame"].filter((function(e){return e in t})).length}(),options:{setConstant:function(t,e){Xe[t]=e},setPreset:function(t,e){Qe[t]=e}},helper:{interval:an,date:function(t){return t?E(t):_()},duration:j},data:{request:We,poll:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return an((function(){We(t,e)}),n)}},DOM:{create:nn,destroy:function(t){var e=function(t,e){for(var n=0,r=t.length;n<r;n++)if(t[n].isRootElement(e))return n;return-1}(Je,t);return!(e<0)&&(Je[e].destroy(),Je.splice(e,1),!0)},parse:function(t){var e,n=void 0,r=void 0,i=[];for(r=(e=t.querySelectorAll(".tick:not([data-state])")).length;r--;)n=e[r],i.push(nn(n));return i},find:tn},count:{down:function(){for(var t=arguments.length,e=Array(t),n=0;n<t;n++)e[n]=arguments[n];if("number"==typeof e[0]&&"string"==typeof e[1]){var r=e[0],i=e[1].toLowerCase();return e.shift(),e[0]=j(r,i),e[1]=e[1]||{},e[1].units=i,vn.apply(void 0,e)}return"string"==typeof e[0]||d(e[0])?yn.apply(void 0,e):null},up:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===t)throw'Can\'t start counter, the "since" parameter is required';e=_e(dn,e);var n=d(t)?t:E(t),r=hn({since:k(n)});return pn(e.server,(function(t){r.offset=t;r.timer=an((function(){var i=g(t);r.value=O(n,i,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r},schedule:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof t)throw'Can\'t start scheduler, "schedule" is a required parameter';var n=(e=_e(B({},dn,{timezone:null}),e)).timezone?m(e.timezone):null,r=hn({waiting:null,nextScheduledDate:null,previouslyScheduledDate:null,onrepeat:function(t,e){},onresume:function(t){},onwait:function(t){}}),i=void 0,o=null;return pn(e.server,(function(a){r.offset=a;r.timer=an((function(){var c=g(a);if(null!==n&&(c=b(c,n)),o=fn(c,t),r.waiting=null===o,r.waiting)return void 0===i&&(i=null),r.value=new Array(e.format.length).fill(0),r.nextScheduledDate&&(r.previouslyScheduledDate=k(r.nextScheduledDate)),r.nextScheduledDate=null===o?null:k(o),void r.onwait(r.previouslyScheduledDate?k(r.previouslyScheduledDate):null);r.nextScheduledDate=k(o),null===i&&r.onresume(k(o)),(null===i||void 0!==i&&!w(i,o))&&(r.onrepeat(k(o),i?k(i):null),i&&(r.previouslyScheduledDate=k(i))),i=k(o),r.value=O(c,o,e.format,e.cascade),r.onupdate(r.value)}),e.interval,{autostart:!1}),r.complete=!0,r.onload(),r.timer.start()})),r}},plugin:{add:function(t,e,n){if("function"==typeof t){var r=t;return i(r.identifier.type,r.identifier.name,r)}return i(t,e,n)}}},On=function(t){if(!e.hasOwnProperty(t))return"continue";Sn.plugin[function(t){return t.replace(/-./g,(function(t){return t.charAt(1).toUpperCase()}))}("add-"+e[t])]=function(n,r){i(e[t],n,r)}};for(var jn in e)On(jn);return t.exports=Sn,t.exports}():null),b="undefined"!=typeof window?function(){if(!t)var t={};!function(){function t(t){this.value=t}function e(e){var n,r;function i(n,r){try{var a=e[n](r),c=a.value;c instanceof t?Promise.resolve(c.value).then((function(t){i("next",t)}),(function(t){i("throw",t)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(t,e){switch(t){case"return":n.resolve({value:e,done:!0});break;case"throw":n.reject(e);break;default:n.resolve({value:e,done:!1})}(n=n.next)?i(n.key,n.arg):r=null}this._invoke=function(t,e){return new Promise((function(o,a){var c={key:t,arg:e,resolve:o,reject:a,next:null};r?r=r.next=c:(n=r=c,i(t,e))}))},"function"!=typeof e.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(e.prototype[Symbol.asyncIterator]=function(){return this}),e.prototype.next=function(t){return this._invoke("next",t)},e.prototype.throw=function(t){return this._invoke("throw",t)},e.prototype.return=function(t){return this._invoke("return",t)}}();var e=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();return t.exports=function(t){var n=t.DOM,r=(t.Animation.animate,t.Extension),i=t.Date.performance,o=t.View,a=o.rooter,c=o.destroyer,u=o.drawer,s=o.updater,l=o.styler,f=r.getExtension(r.Type.EASING_FUNCTION,"ease-out-cubic"),p=r.getExtension(r.Type.EASING_FUNCTION,"ease-out-sine"),d=function(t){if(t.isInitialValue()){t.root.textContent="",t.spacer=n.create("span","tick-flip-spacer"),t.root.appendChild(t.spacer);var e=n.create("span","tick-flip-shadow-top tick-flip-shadow tick-flip-front"),o=n.create("span","tick-flip-shadow-bottom tick-flip-shadow tick-flip-back");t.root.appendChild(e),t.root.appendChild(o),t.shadowCard=n.create("span","tick-flip-card-shadow"),t.root.appendChild(t.shadowCard)}if(t.spacer.textContent=t.value,t.isInitialValue()||n.visible(t.root)){var a=t.cards[t.cards.length-1];if(a&&(a.waiting=!1,a.offset=i(),a.back=t.value),t.isInitialValue()){var c=new h;c.back=t.value,c.offset=null,c.progress=1,t.root.insertBefore(c.root,t.root.firstChild),t.cards.push(c)}var u=new h;if(u.offset=null,u.progress=0,u.visual_progress=0,u.waiting=!0,u.front=t.value,u.rotate(0),t.root.insertBefore(u.root,t.root.firstChild),t.cards.push(u),!t.animating){t.animating=!0;var s=r.getExtension(r.Type.EASING_FUNCTION,t.style.flipEasing);!function e(){var r=t.cards.filter((function(t){return!t.done&&!t.waiting}));if(0!==r.length){r.forEach((function(e){null!==e.offset&&(e.progress=(i()-e.offset)/t.style.flipDuration),e.progress>=1&&(e.progress=1,e.done=!0),e.visual_progress=s(e.progress)}));r.reverse().forEach((function(t,e){var n=r[e-1];n&&t.visual_progress<=n.visual_progress&&(t.visual_progress=n.visual_progress+.01)})),r.reverse(),t.cards.forEach((function(e,n){var r=1-2*Math.abs(e.visual_progress-.5),i=1-(e.visual_progress-.5)/.5;e.shadowFront=r,e.highlightBack=i;var o=t.cards[n+1];o&&e.visual_progress>.5&&e.visual_progress>0&&(e.shadowBack=f(o.visual_progress))})),r.forEach((function(t,e){var n=t.visual_progress;n>.5&&!t.done?t.root.style.zIndex=10+e:t.root.style.removeProperty("z-index"),t.rotate(-180*n)}));var o=0,a=1;r.forEach((function(t){var e=Math.abs(t.visual_progress-.5);e<a&&(a=e,o=t.visual_progress)}));var c=p(o<.5?o/.5:(1-o)/.5);t.shadowCard.style.opacity=c,n.transform(t.shadowCard,"scaleY",c),t.cards.filter((function(t){return t.done})).slice(0,-1).forEach((function(e){t.cards=t.cards.filter((function(t){return t!==e})),e.root.parentNode&&t.root.removeChild(e.root)})),requestAnimationFrame(e)}else t.animating=!1}()}}else t.cards.forEach((function(e){e.back=t.value,e.front=t.value}))},h=function(){function t(){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this._root=n.create("span","tick-flip-card");var e=n.create("span","tick-flip-panel-front tick-flip-front tick-flip-panel"),r=n.create("span","tick-flip-panel-front-text"),i=n.create("span","tick-flip-panel-text-wrapper");r.appendChild(i);var o=n.create("span","tick-flip-panel-front-shadow");e.appendChild(r),e.appendChild(o);var a=n.create("span","tick-flip-panel-back tick-flip-back tick-flip-panel"),c=n.create("span","tick-flip-panel-back-text"),u=n.create("span","tick-flip-panel-text-wrapper");c.appendChild(u);var s=n.create("span","tick-flip-panel-back-highlight"),l=n.create("span","tick-flip-panel-back-shadow");a.appendChild(c),a.appendChild(s),a.appendChild(l),this._root.appendChild(e),this._root.appendChild(a),this._front=e,this._back=a,this._shadowFront=o,this._shadowBack=l,this._highlightBack=s,this._textBack=u,this._textFront=i,this._frontValue=null,this._backValue=null}return e(t,[{key:"rotate",value:function(t){this._front.style.transform="rotateX("+t+"deg)",this._back.style.transform="rotateX("+(-180+t)+"deg)"}},{key:"root",get:function(){return this._root}},{key:"front",set:function(t){this._frontValue=t,this._textFront.textContent=t},get:function(){return this._frontValue}},{key:"back",set:function(t){this._backValue=t,this._textBack.textContent=t},get:function(){return this._backValue}},{key:"highlightBack",set:function(t){this._highlightBack.style.opacity=t}},{key:"shadowBack",set:function(t){this._shadowBack.style.opacity=t}},{key:"shadowFront",set:function(t){this._shadowFront.style.opacity=t}}]),t}();return function(t){var e={cards:[],lastCard:null,initialCard:null,shadowAbove:null,shadowBelow:null,shadowCard:null,currentValue:null,lastValue:null,front:null,back:null};return Object.assign({},a(e,t,"flip"),s(e),l(e,{flipDuration:800,flipEasing:"ease-out-bounce"}),u(e,d),c(e))}},t.exports.identifier={name:"flip",type:"view"},t.exports}():null;g.plugin.add(b);var x=g;class w extends o.Component{constructor(t){super(t),this._tickRef=o.createRef()}componentDidMount(){this._tickInstance=x.DOM.create(this._tickRef.current,{value:this.props.value})}componentDidUpdate(){this._tickInstance&&(this._tickInstance.value=this.props.value)}componentWillUnmount(){this._tickInstance&&x.DOM.destroy(this._tickRef.current)}render(){return o.createElement("div",{ref:this._tickRef,className:"tick"},o.createElement("div",{"data-repeat":"true","aria-hidden":"true"},o.createElement("span",{"data-view":"flip"},"Tick")))}}class I extends o.Component{constructor(t){super(t);var e=0;e+=t.countdown.seconds,e+=60*t.countdown.minutes,e+=60*t.countdown.hours*60,e+=24*t.countdown.days*60*60;var n=setInterval(this.updateCountdown.bind(this),1e3);this.state={start:Date.now(),interval:n,total:e,timeLeft:e}}updateCountdown(){var t=Date.now(),e=Math.round((t-this.state.start)/1e3);this.setState({timeLeft:this.state.total-e})}render(){var{timeLeft:t}=this.state,e=t<=0,n=0,r=0,i=0,a=0;return e||(n=Math.floor(t/86400),r=Math.floor(t%86400/3600),i=Math.floor(t%3600/60),a=Math.floor(t%60)),o.createElement(o.Fragment,null,e?o.createElement("p",{style:{color:"darkred"}},(0,y.S)("You just missed the deadline!")):o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown"},o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:n})," ",1===n?(0,y.S)("day"):(0,y.S)("days")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(r).padStart(2,"0")})," ",1===r?(0,y.S)("hour"):(0,y.S)("hours")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(i).padStart(2,"0")})," ",1===i?(0,y.S)("minute"):(0,y.S)("minutes")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(w,{value:String(a).padStart(2,"0")})," ",1===a?(0,y.S)("second"):(0,y.S)("seconds")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-label"},(0,y.S)("left to grab the discount!"))))}}var E=t=>{var{campaign:e}=t;return console.log(e),o.createElement("div",{className:"wprm-admin-dashboard-marketing"},o.createElement(m,{title:e.page_title},o.createElement("p",{dangerouslySetInnerHTML:{__html:e.page_text}}),o.createElement(I,{countdown:e.countdown}),o.createElement("a",{className:"button button-primary",href:e.url,target:"blank"},(0,y.S)("Learn more about the sale")," 🎉")))},M=n(99237),S=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},t.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},t.children)),O=n(67127),j=t=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(O.Z,{className:"wprm-admin-dashboard-toggle",checked:t.value,onChange:e=>t.onChange(e.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},t.children)),_=t=>o.createElement(o.Fragment,null,o.createElement("p",null,(0,y.S)("Track different visitor actions related to recipes.")," ",(0,y.S)("Find out what recipes visitors are interacting with, what affiliate links are getting clicked on, and more...")),o.createElement(j,{value:!1,onChange:()=>{t.onEnable()}},(0,y.S)("Enable Analytics"))),k=n(34133),T=n(71629),P=n.n(T),N=n(64403),A=n.n(N),C=n(81668),D=n(63774),L=n.n(D),R=n(86901),z=n.n(R),W=n(81027),H=n.n(W),U=n(10442),B=n.n(U),G=n(9338),Z=n.n(G),F=function(t){return 0===t?0:t>0?1:-1},V=function(t){return Z()(t)&&t.indexOf("%")===t.length-1},J=function(t){return B()(t)&&!H()(t)},Y=function(t){return J(t)||Z()(t)},q=0,X=function(t){var e=++q;return"".concat(t||"").concat(e)},Q=function(t,e){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!J(t)&&!Z()(t))return r;if(V(t)){var o=t.indexOf("%");n=e*parseFloat(t.slice(0,o))/100}else n=+t;return H()(n)&&(n=r),i&&n>e&&(n=e),n},$=function(t){if(!t)return null;var e=Object.keys(t);return e&&e.length?t[e[0]]:null},K=function(t,e){return J(t)&&J(e)?function(n){return t+n*(e-t)}:function(){return e}};function tt(t,e,n){return t&&t.length?t.find((function(t){return t&&("function"==typeof e?e(t):L()(t,e))===n})):null}var et=function(t,e){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i]};function nt(t){return(nt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function rt(){return(rt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function it(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ot(t,e){return(ot=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function at(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ut(t);if(e){var i=ut(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ct(this,n)}}function ct(t,e){return!e||"object"!==nt(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ut(t){return(ut=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var st=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ot(t,e)}(a,t);var e,n,r,i=at(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).handleResize=void 0,e.mounted=void 0,e.containerRef=void 0,e.updateDimensionsImmediate=function(){if(e.mounted){var t=e.getContainerSize();if(t){var n=e.state,r=n.containerWidth,i=n.containerHeight,o=t.containerWidth,a=t.containerHeight;o===r&&a===i||e.setState({containerWidth:o,containerHeight:a})}}},e.state={containerWidth:-1,containerHeight:-1},e.handleResize=t.debounce>0?P()(e.updateDimensionsImmediate,t.debounce):e.updateDimensionsImmediate,e.containerRef=o.createRef(),e}return e=a,(n=[{key:"componentDidMount",value:function(){this.mounted=!0;var t=this.getContainerSize();t&&this.setState(t)}},{key:"componentWillUnmount",value:function(){this.mounted=!1}},{key:"getContainerSize",value:function(){return this.containerRef.current?{containerWidth:this.containerRef.current.clientWidth,containerHeight:this.containerRef.current.clientHeight}:null}},{key:"renderChart",value:function(){var t=this.state,e=t.containerWidth,n=t.containerHeight;if(e<0||n<0)return null;var r=this.props,i=r.aspect,a=r.width,c=r.height,u=r.minWidth,s=r.minHeight,l=r.maxHeight,f=r.children;et(V(a)||V(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),et(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=V(a)?e:a,d=V(c)?n:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),et(p>0||d>0,"The width(%s) and height(%s) of chart should be greater than 0,\n please check the style of container, or the props width(%s) and height(%s),\n or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n height and width.",p,d,a,c,u,s,i),o.cloneElement(f,{width:p,height:d})}},{key:"render",value:function(){var t=this.props,e=t.minWidth,n=t.minHeight,r=t.width,i=t.height,a=t.maxHeight,c=t.id,u=t.className,s={width:r,height:i,minWidth:e,minHeight:n,maxHeight:a};return o.createElement(C.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",rt({},null!=c?{id:"".concat(c)}:{},{className:A()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&it(e.prototype,n),r&&it(e,r),a}(o.Component);st.defaultProps={width:"100%",height:"100%",debounce:0};var lt=n(13485),ft=n.n(lt),pt=n(77106),dt=n.n(pt),ht=n(46423),vt=n.n(ht),yt=n(73804),mt=n.n(yt),gt=n(5251),bt=n.n(gt),xt=n(6934),wt=n.n(xt),It=n(14847),Et=n.n(It),Mt=n(47563),St=n.n(Mt),Ot=n(11006),jt=n.n(Ot);function _t(t){return(_t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var kt=["viewBox","children"],Tt=["className","color","height","id","lang","max","media","method","min","name","style","target","type","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","clipRule","colorInterpolation","colorInterpolationFilters","colorProfile","colorRendering","contentScriptType","contentStyleType","cursor","cx","cy","d","decelerate","descent","diffuseConstant","direction","display","divisor","dominantBaseline","dur","dx","dy","edgeMode","elevation","enableBackground","end","exponent","externalResourcesRequired","fill","fillOpacity","fillRule","filter","filterRes","filterUnits","floodColor","floodOpacity","focusable","fontFamily","fontSize","fontSizeAdjust","fontStretch","fontStyle","fontVariant","fontWeight","format","from","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","points","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","seed","shapeRendering","slope","spacing","specularConstant","specularExponent","speed","spreadMethod","startOffset","stdDeviation","stemh","stemv","stitchTiles","stopColor","stopOpacity","strikethroughPosition","strikethroughThickness","string","stroke","strokeDasharray","strokeDashoffset","strokeLinecap","strokeLinejoin","strokeMiterlimit","strokeOpacity","strokeWidth","surfaceScale","systemLanguage","tableValues","targetX","targetY","textAnchor","textDecoration","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],Pt=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],Nt=function(t,e,n){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var r=t;if((0,o.isValidElement)(t)&&(r=t.props),!jt()(r))return null;var i={};return Object.keys(r).forEach((function(t){(Tt.includes(t)||n&&kt.includes(t)||e&&Pt.includes(t))&&(i[t]=r[t])})),i},At=function(t,e){if(!t||"function"==typeof t||"boolean"==typeof t)return null;var n=t;if((0,o.isValidElement)(t)&&(n=t.props),!jt()(n))return null;var r={};return Object.keys(n).forEach((function(t){Pt.includes(t)&&(r[t]=e||function(e){return n[t](n,e)})})),r},Ct=function(t,e,n){if(!jt()(t)||"object"!==_t(t))return null;var r=null;return Object.keys(t).forEach((function(i){var o=t[i];Pt.includes(i)&&"function"==typeof o&&(r||(r={}),r[i]=function(t,e,n){return function(r){return t(e,n,r),null}}(o,e,n))})),r};function Dt(){return(Dt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Lt(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Rt(t){var e=t.children,n=t.width,r=t.height,i=t.viewBox,a=t.className,c=t.style,u=Lt(t,["children","width","height","viewBox","className","style"]),s=i||{width:n,height:r,x:0,y:0},l=A()("recharts-surface",a);return o.createElement("svg",Dt({},Nt(u,!0,!0),{className:l,width:n,height:r,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),e)}function zt(){return(zt=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Wt(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ht(t){var e=t.children,n=t.className,r=Wt(t,["children","className"]),i=A()("recharts-layer",n);return o.createElement("g",zt({className:i},Nt(r,!0)),e)}var Ut=n(36766),Bt=n.n(Ut),Gt=n(2652),Zt=n.n(Gt),Ft=n(44287),Vt=n(61666),Jt=n.n(Vt);function Yt(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1,r=function r(i){n<0&&(n=i),i-n>e?(t(i),n=-1):Jt()(r)};Jt()(r)}function qt(t){return(qt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Xt(t){return function(t){if(Array.isArray(t))return t}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qt(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qt(t,e)}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qt(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function $t(){var t=function(){return null},e=!1,n=function n(r){if(!e){if(Array.isArray(r)){if(!r.length)return;var i=Xt(r),o=i[0],a=i.slice(1);return"number"==typeof o?void Yt(n.bind(null,a),o):(n(o),void Yt(n.bind(null,a)))}"object"===qt(r)&&t(r),"function"==typeof r&&r()}};return{stop:function(){e=!0},start:function(t){e=!1,n(t)},subscribe:function(e){return t=e,function(){t=function(){return null}}}}}function Kt(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function te(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Kt(Object(n),!0).forEach((function(e){ee(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Kt(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ne=["Webkit","Moz","O","ms"],re=["-webkit-","-moz-","-o-","-ms-"],ie=["transform","transformOrigin","transition"],oe=function(t){return t},ae=function(t,e){return Object.keys(e).reduce((function(n,r){return te(te({},n),{},ee({},r,t(r,e[r])))}),{})},ce=function(t){return Object.keys(t).reduce((function(t,e){return te(te({},t),function(t,e){if(-1===ie.indexOf(t))return ee({},t,e);var n="transition"===t,r=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),i=e;return ne.reduce((function(t,o,a){return n&&(i=e.replace(/(transform|transform-origin)/gim,"".concat(re[a],"$1"))),te(te({},t),{},ee({},o+r,i))}),{})}(e,t[e]))}),t)},ue=function(t,e,n){return t.map((function(t){return"".concat((r=t,r.replace(/([A-Z])/g,(function(t){return"-".concat(t.toLowerCase())})))," ").concat(e,"ms ").concat(n);var r})).join(",")};function se(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||fe(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function le(t){return function(t){if(Array.isArray(t))return pe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||fe(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fe(t,e){if(t){if("string"==typeof t)return pe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pe(t,e):void 0}}function pe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var de=1e-4,he=function(t,e){return[0,3*t,3*e-6*t,3*t-3*e+1]},ve=function(t,e){return t.map((function(t,n){return t*Math.pow(e,n)})).reduce((function(t,e){return t+e}))},ye=function(t,e){return function(n){var r=he(t,e);return ve(r,n)}},me=function(t,e){return function(n){var r=he(t,e),i=[].concat(le(r.map((function(t,e){return t*e})).slice(1)),[0]);return ve(i,n)}},ge=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0],i=e[1],o=e[2],a=e[3];if(1===e.length)switch(e[0]){case"linear":r=0,i=0,o=1,a=1;break;case"ease":r=.25,i=.1,o=.25,a=1;break;case"ease-in":r=.42,i=0,o=1,a=1;break;case"ease-out":r=.42,i=0,o=.58,a=1;break;case"ease-in-out":r=0,i=0,o=.58,a=1;break;default:var c=e[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(t){return parseFloat(t)})),s=se(u,4);r=s[0],i=s[1],o=s[2],a=s[3]}}[r,o,i,a].every((function(t){return"number"==typeof t&&t>=0&&t<=1}));var l=ye(r,o),f=ye(i,a),p=me(r,o),d=function(t){return t>1?1:t<0?0:t},h=function(t){for(var e=t>1?1:t,n=e,r=0;r<8;++r){var i=l(n)-e,o=p(n);if(Math.abs(i-e)<de||o<de)return f(n);n=d(n-i/o)}return f(n)};return h.isStepper=!1,h},be=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.stiff,n=void 0===e?100:e,r=t.damping,i=void 0===r?8:r,o=t.dt,a=void 0===o?17:o,c=function(t,e,r){var o=r+(-(t-e)*n-r*i)*a/1e3,c=r*a/1e3+t;return Math.abs(c-e)<de&&Math.abs(o)<de?[e,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function xe(t){return function(t){if(Array.isArray(t))return Oe(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Se(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function we(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ie(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?we(Object(n),!0).forEach((function(e){Ee(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):we(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Me(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||Se(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Se(t,e){if(t){if("string"==typeof t)return Oe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Oe(t,e):void 0}}function Oe(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var je=function(t,e,n){return t+(e-t)*n},_e=function(t){return t.from!==t.to},ke=function t(e,n,r){var i=ae((function(t,n){if(_e(n)){var r=Me(e(n.from,n.to,n.velocity),2),i=r[0],o=r[1];return Ie(Ie({},n),{},{from:i,velocity:o})}return n}),n);return r<1?ae((function(t,e){return _e(e)?Ie(Ie({},e),{},{velocity:je(e.velocity,i[t].velocity,r),from:je(e.from,i[t].from,r)}):e}),n):t(e,i,r-1)},Te=function(t,e,n,r,i){var o,a,c,u,s=(o=t,a=e,[Object.keys(o),Object.keys(a)].reduce((function(t,e){return t.filter((function(t){return e.includes(t)}))}))),l=s.reduce((function(n,r){return Ie(Ie({},n),{},Ee({},r,[t[r],e[r]]))}),{}),f=s.reduce((function(n,r){return Ie(Ie({},n),{},Ee({},r,{from:t[r],velocity:0,to:e[r]}))}),{}),p=-1,d=function(){return null};return d=n.isStepper?function(r){c||(c=r);var o=(r-c)/n.dt;f=ke(n,f,o),i(Ie(Ie(Ie({},t),e),ae((function(t,e){return e.from}),f))),c=r,Object.values(f).filter(_e).length&&(p=Jt()(d))}:function(o){u||(u=o);var a=(o-u)/r,c=ae((function(t,e){return je.apply(void 0,xe(e).concat([n(a)]))}),l);if(i(Ie(Ie(Ie({},t),e),c)),a<1)p=Jt()(d);else{var s=ae((function(t,e){return je.apply(void 0,xe(e).concat([n(1)]))}),l);i(Ie(Ie(Ie({},t),e),s))}},function(){return Jt()(d),function(){(0,Vt.cancel)(p)}}};function Pe(t){return(Pe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ne(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ae(t){return function(t){if(Array.isArray(t))return Ce(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Ce(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ce(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ce(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function De(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Le(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?De(Object(n),!0).forEach((function(e){Re(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function We(t,e){return(We=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function He(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ge(t);if(e){var i=Ge(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ue(this,n)}}function Ue(t,e){return!e||"object"!==Pe(e)&&"function"!=typeof e?Be(t):e}function Be(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ge(t){return(Ge=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ze=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&We(t,e)}(a,t);var e,n,r,i=He(a);function a(t,e){var n;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a);var r=(n=i.call(this,t,e)).props,o=r.isActive,c=r.attributeName,u=r.from,s=r.to,l=r.steps,f=r.children;if(n.handleStyleChange=n.handleStyleChange.bind(Be(n)),n.changeStyle=n.changeStyle.bind(Be(n)),!o)return n.state={style:{}},"function"==typeof f&&(n.state={style:s}),Ue(n);if(l&&l.length)n.state={style:l[0].style};else if(u){if("function"==typeof f)return n.state={style:u},Ue(n);n.state={style:c?Re({},c,u):u}}else n.state={style:{}};return n}return e=a,(n=[{key:"componentDidMount",value:function(){var t=this.props,e=t.isActive,n=t.canBegin;this.mounted=!0,e&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(t){var e=this.props,n=e.isActive,r=e.canBegin,i=e.attributeName,o=e.shouldReAnimate;if(r)if(n){if(!((0,Ft.deepEqual)(t.to,this.props.to)&&t.canBegin&&t.isActive)){var a=!t.canBegin||!t.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:t.to;if(this.state&&this.state.style){var u={style:i?Re({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(Le(Le({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?Re({},i,this.props.to):this.props.to};this.state&&this.state.style&&(i&&this.state.style[i]!==this.props.to||!i&&this.state.style!==this.props.to)&&this.setState(s)}}},{key:"componentWillUnmount",value:function(){this.mounted=!1,this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation()}},{key:"runJSAnimation",value:function(t){var e=this,n=t.from,r=t.to,i=t.duration,o=t.easing,a=t.begin,c=t.onAnimationEnd,u=t.onAnimationStart,s=Te(n,r,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var r=e[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return ge(r);case"spring":return be();default:if("cubic-bezier"===r.split("(")[0])return ge(r)}return"function"==typeof r?r:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){e.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(t){var e=this,n=t.steps,r=t.begin,i=t.onAnimationStart,o=n[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(Ae(n.reduce((function(t,r,i){if(0===i)return t;var o=r.duration,a=r.easing,c=void 0===a?"ease":a,u=r.style,s=r.properties,l=r.onAnimationEnd,f=i>0?n[i-1]:r,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(Ae(t),[e.runJSAnimation.bind(e,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ue(p,o,c),h=Le(Le(Le({},f.style),u),{},{transition:d});return[].concat(Ae(t),[h,o,l]).filter(oe)}),[a,Math.max(u,r)])),[t.onAnimationEnd]))}},{key:"runAnimation",value:function(t){this.manager||(this.manager=$t());var e=t.begin,n=t.duration,r=t.attributeName,i=t.to,o=t.easing,a=t.onAnimationStart,c=t.onAnimationEnd,u=t.steps,s=t.children,l=this.manager;if(this.unSubscribe=l.subscribe(this.handleStyleChange),"function"!=typeof o&&"function"!=typeof s&&"spring"!==o)if(u.length>1)this.runStepAnimation(t);else{var f=r?Re({},r,i):i,p=ue(Object.keys(f),n,o);l.start([a,e,Le(Le({},f),{},{transition:p}),n,c])}else this.runJSAnimation(t)}},{key:"handleStyleChange",value:function(t){this.changeStyle(t)}},{key:"changeStyle",value:function(t){this.mounted&&this.setState({style:t})}},{key:"render",value:function(){var t=this.props,e=t.children,n=(t.begin,t.duration,t.attributeName,t.easing,t.isActive),r=(t.steps,t.from,t.to,t.canBegin,t.onAnimationEnd,t.shouldReAnimate,t.onAnimationReStart,Ne(t,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(e),a=ce(this.state.style);if("function"==typeof e)return e(a);if(!n||0===i)return e;var c=function(t){var e=t.props,n=e.style,i=void 0===n?{}:n,c=e.className;return(0,o.cloneElement)(t,Le(Le({},r),{},{style:Le(Le({},i),a),className:c}))};return 1===i?c(o.Children.only(e)):o.createElement("div",null,o.Children.map(e,(function(t){return c(t)})))}}])&&ze(e.prototype,n),r&&ze(e,r),a}(o.PureComponent);Ze.displayName="Animate",Ze.propTypes={from:Zt().oneOfType([Zt().object,Zt().string]),to:Zt().oneOfType([Zt().object,Zt().string]),attributeName:Zt().string,duration:Zt().number,begin:Zt().number,easing:Zt().oneOfType([Zt().string,Zt().func]),steps:Zt().arrayOf(Zt().shape({duration:Zt().number.isRequired,style:Zt().object.isRequired,easing:Zt().oneOfType([Zt().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),Zt().func]),properties:Zt().arrayOf("string"),onAnimationEnd:Zt().func})),children:Zt().oneOfType([Zt().node,Zt().func]),isActive:Zt().bool,canBegin:Zt().bool,onAnimationEnd:Zt().func,shouldReAnimate:Zt().bool,onAnimationStart:Zt().func,onAnimationReStart:Zt().func},Ze.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var Fe=Ze,Ve=n(33092);function Je(t){return(Je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ye(){return(Ye=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function qe(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Xe(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Qe(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Xe(Object(n),!0).forEach((function(e){$e(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Xe(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function en(t,e){return(en=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function nn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=on(t);if(e){var i=on(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return rn(this,n)}}function rn(t,e){return!e||"object"!==Je(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function on(t){return(on=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}void 0===Number.isFinite&&(Number.isFinite=function(t){return"number"==typeof t&&isFinite(t)});var an=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=t.steps,n=t.duration;return e&&e.length?e.reduce((function(t,e){return t+(Number.isFinite(e.duration)&&e.duration>0?e.duration:0)}),0):Number.isFinite(n)?n:0},cn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&en(t,e)}(a,t);var e,n,r,i=nn(a);function a(){var t;Ke(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isActive:!1},t.handleEnter=function(e,n){var r=t.props,i=r.appearOptions,o=r.enterOptions;t.handleStyleActive(n?i:o)},t.handleExit=function(){t.handleStyleActive(t.props.leaveOptions)},t}return e=a,(n=[{key:"handleStyleActive",value:function(t){if(t){var e=t.onAnimationEnd?function(){t.onAnimationEnd()}:null;this.setState(Qe(Qe({},t),{},{onAnimationEnd:e,isActive:!0}))}}},{key:"parseTimeout",value:function(){var t=this.props,e=t.appearOptions,n=t.enterOptions,r=t.leaveOptions;return an(e)+an(n)+an(r)}},{key:"render",value:function(){var t=this,e=this.props,n=e.children,r=(e.appearOptions,e.enterOptions,e.leaveOptions,qe(e,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Ve.Transition,Ye({},r,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(Fe,t.state,o.Children.only(n))}))}}])&&tn(e.prototype,n),r&&tn(e,r),a}(o.Component);cn.propTypes={appearOptions:Zt().object,enterOptions:Zt().object,leaveOptions:Zt().object,children:Zt().element};var un=cn;function sn(t){var e=t.component,n=t.children,r=t.appear,i=t.enter,a=t.leave;return o.createElement(Ve.TransitionGroup,{component:e},o.Children.map(n,(function(t,e){return o.createElement(un,{appearOptions:r,enterOptions:i,leaveOptions:a,key:"child-".concat(e)},t)})))}sn.propTypes={appear:Zt().object,enter:Zt().object,leave:Zt().object,children:Zt().oneOfType([Zt().array,Zt().element]),component:Zt().any},sn.defaultProps={component:"span"};var ln=Fe;function fn(t){return(fn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function pn(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return dn(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dn(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function hn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function vn(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?hn(Object(n),!0).forEach((function(e){yn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):hn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function bn(t,e){return(bn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function xn(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=In(t);if(e){var i=In(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return wn(this,n)}}function wn(t,e){return!e||"object"!==fn(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function In(t){return(In=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function En(t){return z()(t)&&Y(t[0])&&Y(t[1])?t.join(" ~ "):t}var Mn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&bn(t,e)}(a,t);var e,n,r,i=xn(a);function a(){return mn(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderContent",value:function(){var t=this.props,e=t.payload,n=t.separator,r=t.formatter,i=t.itemStyle,a=t.itemSorter;if(e&&e.length){var c=(a?bt()(e,a):e).map((function(t,a){if("none"===t.type)return null;var c=vn({display:"block",paddingTop:4,paddingBottom:4,color:t.color||"#000"},i),u=t.formatter||r||En,s=t.name,l=t.value;if(u){var f=u(l,s,t,a,e);if(Array.isArray(f)){var p=pn(f,2);l=p[0],s=p[1]}else l=f}return o.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(a),style:c},Y(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,Y(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},n):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},t.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var t=this.props,e=t.wrapperClassName,n=t.contentStyle,r=t.labelClassName,i=t.labelStyle,a=t.label,c=t.labelFormatter,u=t.payload,s=vn({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},n),l=vn({margin:0},i),f=!Et()(a),p=f?a:"",d=A()("recharts-default-tooltip",e),h=A()("recharts-tooltip-label",r);return f&&c&&(p=c(a,u)),o.createElement("div",{className:d,style:s},o.createElement("p",{className:h,style:l},o.isValidElement(p)?p:"".concat(p)),this.renderContent())}}])&&gn(e.prototype,n),r&&gn(e,r),a}(o.PureComponent);Mn.displayName="DefaultTooltipContent",Mn.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var Sn={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(t){return Sn[t]},set:function(t,e){if("string"==typeof t)Sn[t]=e;else{var n=Object.keys(t);n&&n.length&&n.forEach((function(e){Sn[e]=t[e]}))}}};function On(t){return(On="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function jn(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _n(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jn(Object(n),!0).forEach((function(e){kn(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jn(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function kn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Nn(t,e){return(Nn=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function An(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Dn(t);if(e){var i=Dn(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Cn(this,n)}}function Cn(t,e){return!e||"object"!==On(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Dn(t){return(Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ln="recharts-tooltip-wrapper";function Rn(t){return t.dataKey}var zn=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Nn(t,e)}(a,t);var e,n,r,i=An(a);function a(){var t;Tn(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={boxWidth:-1,boxHeight:-1},t.wrapperNode=void 0,t.getTranslate=function(e){var n=e.key,r=e.tooltipDimension,i=e.viewBoxDimension,o=t.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&J(s[n]))return s[n];var f=c[n]-r-u,p=c[n]+u;return a[n]?p:c[n]+r+u>l[n]+i?Math.max(f,l[n]):Math.max(p,l[n])},t}return e=a,(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var r=this.wrapperNode.getBoundingClientRect();(Math.abs(r.width-e)>1||Math.abs(r.height-n)>1)&&this.setState({boxWidth:r.width,boxHeight:r.height})}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var t,e,n,r=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(t,e){return!0===t?Bt()(e,Rn):vt()(t)?Bt()(e,t):e}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(t){return!Et()(t.value)})):a),p=f&&f.length,d=this.props,h=d.content,v=d.viewBox,y=d.coordinate,m=d.position,g=d.active,b=_n({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(m&&J(m.x)&&J(m.y))e=m.x,n=m.y;else{var x=this.state,w=x.boxWidth,I=x.boxHeight;w>0&&I>0&&y?(e=this.getTranslate({key:"x",tooltipDimension:w,viewBoxDimension:v.width}),n=this.getTranslate({key:"y",tooltipDimension:I,viewBoxDimension:v.height})):b.visibility="hidden"}b=_n(_n({},ce({transform:this.props.useTranslate3d?"translate3d(".concat(e,"px, ").concat(n,"px, 0)"):"translate(".concat(e,"px, ").concat(n,"px)")})),b),c&&g&&(b=_n(_n({},ce({transition:"transform ".concat(u,"ms ").concat(s)})),b));var E=A()(Ln,(kn(t={},"".concat(Ln,"-right"),J(e)&&y&&J(y.x)&&e>=y.x),kn(t,"".concat(Ln,"-left"),J(e)&&y&&J(y.x)&&e<y.x),kn(t,"".concat(Ln,"-bottom"),J(n)&&y&&J(y.y)&&n>=y.y),kn(t,"".concat(Ln,"-top"),J(n)&&y&&J(y.y)&&n<y.y),t));return o.createElement("div",{className:E,style:b,ref:function(t){r.wrapperNode=t}},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?o.createElement(t,e):o.createElement(Mn,e)}(h,_n(_n({},this.props),{},{payload:f})))}}])&&Pn(e.prototype,n),r&&Pn(e,r),a}(o.PureComponent);zn.displayName="Tooltip",zn.defaultProps={active:!1,allowEscapeViewBox:{x:!1,y:!1},offset:10,viewBox:{x1:0,x2:0,y1:0,y2:0},coordinate:{x:0,y:0},cursorStyle:{},separator:" : ",wrapperStyle:{},contentStyle:{},itemStyle:{},labelStyle:{},cursor:!0,trigger:"hover",isAnimationActive:!Sn.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var Wn=n(21528),Hn=n.n(Wn),Un=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Bn=2*Un;var Gn={draw:function(t,e){var n=Math.sqrt(e/Un);t.moveTo(n,0),t.arc(0,0,n,0,Bn)}},Zn={draw:function(t,e){var n=Math.sqrt(e/5)/2;t.moveTo(-3*n,-n),t.lineTo(-n,-n),t.lineTo(-n,-3*n),t.lineTo(n,-3*n),t.lineTo(n,-n),t.lineTo(3*n,-n),t.lineTo(3*n,n),t.lineTo(n,n),t.lineTo(n,3*n),t.lineTo(-n,3*n),t.lineTo(-n,n),t.lineTo(-3*n,n),t.closePath()}},Fn=Math.sqrt(1/3),Vn=2*Fn,Jn={draw:function(t,e){var n=Math.sqrt(e/Vn),r=n*Fn;t.moveTo(0,-n),t.lineTo(r,0),t.lineTo(0,n),t.lineTo(-r,0),t.closePath()}},Yn={draw:function(t,e){var n=Math.sqrt(e),r=-n/2;t.rect(r,r,n,n)}},qn=Math.sin(Un/10)/Math.sin(7*Un/10),Xn=Math.sin(Bn/10)*qn,Qn=-Math.cos(Bn/10)*qn,$n={draw:function(t,e){var n=Math.sqrt(.8908130915292852*e),r=Xn*n,i=Qn*n;t.moveTo(0,-n),t.lineTo(r,i);for(var o=1;o<5;++o){var a=Bn*o/5,c=Math.cos(a),u=Math.sin(a);t.lineTo(u*n,-c*n),t.lineTo(c*r-u*i,u*r+c*i)}t.closePath()}},Kn=Math.sqrt(3),tr={draw:function(t,e){var n=-Math.sqrt(e/(3*Kn));t.moveTo(0,2*n),t.lineTo(-Kn*n,-n),t.lineTo(Kn*n,-n),t.closePath()}},er=-.5,nr=Math.sqrt(3)/2,rr=1/Math.sqrt(12),ir=3*(rr/2+1),or={draw:function(t,e){var n=Math.sqrt(e/ir),r=n/2,i=n*rr,o=r,a=n*rr+n,c=-o,u=a;t.moveTo(r,i),t.lineTo(o,a),t.lineTo(c,u),t.lineTo(er*r-nr*i,nr*r+er*i),t.lineTo(er*o-nr*a,nr*o+er*a),t.lineTo(er*c-nr*u,nr*c+er*u),t.lineTo(er*r+nr*i,er*i-nr*r),t.lineTo(er*o+nr*a,er*a-nr*o),t.lineTo(er*c+nr*u,er*u-nr*c),t.closePath()}};const ar=Math.PI,cr=2*ar,ur=1e-6,sr=cr-ur;function lr(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fr(){return new lr}lr.prototype=fr.prototype={constructor:lr,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,r){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+r)},bezierCurveTo:function(t,e,n,r,i,o){this._+="C"+ +t+","+ +e+","+ +n+","+ +r+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(t,e,n,r,i){t=+t,e=+e,n=+n,r=+r,i=+i;var o=this._x1,a=this._y1,c=n-t,u=r-e,s=o-t,l=a-e,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(f>ur)if(Math.abs(l*c-u*s)>ur&&i){var p=n-o,d=r-a,h=c*c+u*u,v=p*p+d*d,y=Math.sqrt(h),m=Math.sqrt(f),g=i*Math.tan((ar-Math.acos((h+f-v)/(2*y*m)))/2),b=g/m,x=g/y;Math.abs(b-1)>ur&&(this._+="L"+(t+b*s)+","+(e+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=t+x*c)+","+(this._y1=e+x*u)}else this._+="L"+(this._x1=t)+","+(this._y1=e);else;},arc:function(t,e,n,r,i,o){t=+t,e=+e,o=!!o;var a=(n=+n)*Math.cos(r),c=n*Math.sin(r),u=t+a,s=e+c,l=1^o,f=o?r-i:i-r;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>ur||Math.abs(this._y1-s)>ur)&&(this._+="L"+u+","+s),n&&(f<0&&(f=f%cr+cr),f>sr?this._+="A"+n+","+n+",0,1,"+l+","+(t-a)+","+(e-c)+"A"+n+","+n+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>ur&&(this._+="A"+n+","+n+",0,"+ +(f>=ar)+","+l+","+(this._x1=t+n*Math.cos(i))+","+(this._y1=e+n*Math.sin(i))))},rect:function(t,e,n,r){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +r+"h"+-n+"Z"},toString:function(){return this._}};var pr=fr;function dr(t){return function(){return t}}function hr(t){return(hr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function vr(){return(vr=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function yr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function gr(t,e){return(gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function br(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=wr(t);if(e){var i=wr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return xr(this,n)}}function xr(t,e){return!e||"object"!==hr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function wr(t){return(wr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Ir={symbolCircle:Gn,symbolCross:Zn,symbolDiamond:Jn,symbolSquare:Yn,symbolStar:$n,symbolTriangle:tr,symbolWye:or},Er=Math.PI/180,Mr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&gr(t,e)}(a,t);var e,n,r,i=br(a);function a(){return yr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t=this.props,e=t.size,n=t.sizeType,r=t.type,i=function(t){var e="symbol".concat(Hn()(t));return Ir[e]||Gn}(r);return function(t,e){var n=null;function r(){var r;if(n||(n=r=pr()),t.apply(this,arguments).draw(n,+e.apply(this,arguments)),r)return n=null,r+""||null}return t="function"==typeof t?t:dr(t||Gn),e="function"==typeof e?e:dr(void 0===e?64:+e),r.type=function(e){return arguments.length?(t="function"==typeof e?e:dr(e),r):t},r.size=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),r):e},r.context=function(t){return arguments.length?(n=null==t?null:t,r):n},r}().type(i).size(function(t,e,n){if("area"===e)return t;switch(n){case"cross":return 5*t*t/9;case"diamond":return.5*t*t/Math.sqrt(3);case"square":return t*t;case"star":var r=18*Er;return 1.25*t*t*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*t*t/4;case"wye":return(21-10*Math.sqrt(3))*t*t/8;default:return Math.PI*t*t/4}}(e,n,r))()}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.cx,r=t.cy,i=t.size;return n===+n&&r===+r&&i===+i?o.createElement("path",vr({},Nt(this.props,!0),{className:A()("recharts-symbols",e),transform:"translate(".concat(n,", ").concat(r,")"),d:this.getPath()})):null}}])&&mr(e.prototype,n),r&&mr(e,r),a}(o.PureComponent);function Sr(t){return(Sr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Or(){return(Or=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function jr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _r(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tr(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Pr(t,e){return(Pr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Nr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Cr(t);if(e){var i=Cr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Ar(this,n)}}function Ar(t,e){return!e||"object"!==Sr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Cr(t){return(Cr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Mr.defaultProps={type:"circle",size:64,sizeType:"area"},Mr.registerSymbol=function(t,e){Ir["symbol".concat(Hn()(t))]=e};var Dr=32,Lr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Pr(t,e)}(a,t);var e,n,r,i=Nr(a);function a(){return kr(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"renderIcon",value:function(t){var e=this.props.inactiveColor,n=16,r=Dr/6,i=Dr/3,a=t.inactive?e:t.color;if("plainline"===t.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:t.payload.strokeDasharray,x1:0,y1:n,x2:Dr,y2:n,className:"recharts-legend-icon"});if("line"===t.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(n,"h").concat(i,"\n A").concat(r,",").concat(r,",0,1,1,").concat(2*i,",").concat(n,"\n H").concat(Dr,"M").concat(2*i,",").concat(n,"\n A").concat(r,",").concat(r,",0,1,1,").concat(i,",").concat(n),className:"recharts-legend-icon"});if("rect"===t.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Dr,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(t.legendIcon)){var c=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?jr(Object(n),!0).forEach((function(e){_r(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):jr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},t);return delete c.legendIcon,o.cloneElement(t.legendIcon,c)}return o.createElement(Mr,{fill:a,cx:n,cy:n,size:Dr,sizeType:"diameter",type:t.type})}},{key:"renderItems",value:function(){var t=this,e=this.props,n=e.payload,r=e.iconSize,i=e.layout,a=e.formatter,c=e.inactiveColor,u={x:0,y:0,width:Dr,height:Dr},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return n.map((function(e,n){var i,f=e.formatter||a,p=A()((_r(i={"recharts-legend-item":!0},"legend-item-".concat(n),!0),_r(i,"inactive",e.inactive),i));if("none"===e.type)return null;var d=e.inactive?c:e.color;return o.createElement("li",Or({className:p,style:s,key:"legend-item-".concat(n)},Ct(t.props,e,n)),o.createElement(Rt,{width:r,height:r,viewBox:u,style:l},t.renderIcon(e)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(e.value,e,n):e.value))}))}},{key:"render",value:function(){var t=this.props,e=t.payload,n=t.layout,r=t.align;if(!e||!e.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===n?r:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Tr(e.prototype,n),r&&Tr(e,r),a}(o.PureComponent);function Rr(t){return(Rr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function zr(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Wr(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?zr(Object(n),!0).forEach((function(e){Hr(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):zr(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Hr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ur(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Br(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Gr(t,e){return(Gr=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Zr(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Vr(t);if(e){var i=Vr(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Fr(this,n)}}function Fr(t,e){return!e||"object"!==Rr(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Vr(t){return(Vr=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function Jr(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Yr(t){return t.value}function qr(t,e){return!0===t?Bt()(e,Yr):vt()(t)?Bt()(e,t):e}Lr.displayName="Legend",Lr.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Xr=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gr(t,e)}(a,t);var e,n,r,i=Zr(a);function a(){var t;Ur(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).wrapperNode=void 0,t.state={boxWidth:-1,boxHeight:-1},t}return e=a,r=[{key:"getWithHeight",value:function(t,e){var n=t.props.layout;return"vertical"===n&&J(t.props.height)?{height:t.props.height}:"horizontal"===n?{width:t.props.width||e}:null}}],(n=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){return this.wrapperNode&&this.wrapperNode.getBoundingClientRect?this.wrapperNode.getBoundingClientRect():null}},{key:"getBBoxSnapshot",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight;return e>=0&&n>=0?{width:e,height:n}:null}},{key:"getDefaultPosition",value:function(t){var e,n,r=this.props,i=r.layout,o=r.align,a=r.verticalAlign,c=r.margin,u=r.chartWidth,s=r.chartHeight;return t&&(void 0!==t.left&&null!==t.left||void 0!==t.right&&null!==t.right)||(e="center"===o&&"vertical"===i?{left:((u||0)-(this.getBBoxSnapshot()||{width:0}).width)/2}:"right"===o?{right:c&&c.right||0}:{left:c&&c.left||0}),t&&(void 0!==t.top&&null!==t.top||void 0!==t.bottom&&null!==t.bottom)||(n="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Wr(Wr({},e),n)}},{key:"updateBBox",value:function(){var t=this.state,e=t.boxWidth,n=t.boxHeight,r=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-e)>1||Math.abs(i.height-n)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){r&&r(i)}))}else-1===e&&-1===n||this.setState({boxWidth:-1,boxHeight:-1},(function(){r&&r(null)}))}},{key:"render",value:function(){var t=this,e=this.props,n=e.content,r=e.width,i=e.height,a=e.wrapperStyle,c=e.payloadUniqBy,u=e.payload,s=Wr(Wr({position:"absolute",width:r||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(e){t.wrapperNode=e}},function(t,e){if(o.isValidElement(t))return o.cloneElement(t,e);if(vt()(t))return o.createElement(t,e);e.ref;var n=Jr(e,["ref"]);return o.createElement(Lr,n)}(n,Wr(Wr({},this.props),{},{payload:qr(c,u)})))}}])&&Br(e.prototype,n),r&&Br(e,r),a}(o.PureComponent);function Qr(){}function $r(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function Kr(t){this._context=t}function ti(t){this._context=t}function ei(t){this._context=t}function ni(t){this._context=t}function ri(t){this._context=t}function ii(t){return new ri(t)}function oi(t){return t<0?-1:1}function ai(t,e,n){var r=t._x1-t._x0,i=e-t._x1,o=(t._y1-t._y0)/(r||i<0&&-0),a=(n-t._y1)/(i||r<0&&-0),c=(o*i+a*r)/(r+i);return(oi(o)+oi(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ci(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function ui(t,e,n){var r=t._x0,i=t._y0,o=t._x1,a=t._y1,c=(o-r)/3;t._context.bezierCurveTo(r+c,i+c*e,o-c,a-c*n,o,a)}function si(t){this._context=t}function li(t){this._context=new fi(t)}function fi(t){this._context=t}function pi(t){this._context=t}function di(t){var e,n,r=t.length-1,i=new Array(r),o=new Array(r),a=new Array(r);for(i[0]=0,o[0]=2,a[0]=t[0]+2*t[1],e=1;e<r-1;++e)i[e]=1,o[e]=4,a[e]=4*t[e]+2*t[e+1];for(i[r-1]=2,o[r-1]=7,a[r-1]=8*t[r-1]+t[r],e=1;e<r;++e)n=i[e]/o[e-1],o[e]-=n,a[e]-=n*a[e-1];for(i[r-1]=a[r-1]/o[r-1],e=r-2;e>=0;--e)i[e]=(a[e]-i[e+1])/o[e];for(o[r-1]=(t[r]+i[r-1])/2,e=0;e<r-1;++e)o[e]=2*t[e+1]-i[e+1];return[i,o]}function hi(t,e){this._context=t,this._t=e}Xr.displayName="Legend",Xr.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Kr.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:$r(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ti.prototype={areaStart:Qr,areaEnd:Qr,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ei.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,r=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:$r(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ni.prototype={areaStart:Qr,areaEnd:Qr,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},ri.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},si.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:ui(this,this._t0,ci(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,ui(this,ci(this,n=ai(this,t,e)),n);break;default:ui(this,this._t0,n=ai(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(li.prototype=Object.create(si.prototype)).point=function(t,e){si.prototype.point.call(this,e,t)},fi.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,r,i,o){this._context.bezierCurveTo(e,t,r,n,o,i)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var r=di(t),i=di(e),o=0,a=1;a<n;++o,++a)this._context.bezierCurveTo(r[0][o],i[0][o],r[1][o],i[1][o],t[a],e[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},hi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}};Array.prototype.slice;function vi(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function yi(t){return t[0]}function mi(t){return t[1]}function gi(t,e){var n=dr(!0),r=null,i=ii,o=null;function a(a){var c,u,s,l=(a=vi(a)).length,f=!1;for(null==r&&(o=i(s=pr())),c=0;c<=l;++c)!(c<l&&n(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+t(u,c,a),+e(u,c,a));if(s)return o=null,s+""||null}return t="function"==typeof t?t:void 0===t?yi:dr(t),e="function"==typeof e?e:void 0===e?mi:dr(e),a.x=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),a):t},a.y=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),a):e},a.defined=function(t){return arguments.length?(n="function"==typeof t?t:dr(!!t),a):n},a.curve=function(t){return arguments.length?(i=t,null!=r&&(o=i(r)),a):i},a.context=function(t){return arguments.length?(null==t?r=o=null:o=i(r=t),a):r},a}function bi(t,e,n){var r=null,i=dr(!0),o=null,a=ii,c=null;function u(u){var s,l,f,p,d,h=(u=vi(u)).length,v=!1,y=new Array(h),m=new Array(h);for(null==o&&(c=a(d=pr())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===v)if(v=!v)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(y[f],m[f]);c.lineEnd(),c.areaEnd()}v&&(y[s]=+t(p,s,u),m[s]=+e(p,s,u),c.point(r?+r(p,s,u):y[s],n?+n(p,s,u):m[s]))}if(d)return c=null,d+""||null}function s(){return gi().defined(i).curve(a).context(o)}return t="function"==typeof t?t:void 0===t?yi:dr(+t),e="function"==typeof e?e:dr(void 0===e?0:+e),n="function"==typeof n?n:void 0===n?mi:dr(+n),u.x=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),r=null,u):t},u.x0=function(e){return arguments.length?(t="function"==typeof e?e:dr(+e),u):t},u.x1=function(t){return arguments.length?(r=null==t?null:"function"==typeof t?t:dr(+t),u):r},u.y=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),n=null,u):e},u.y0=function(t){return arguments.length?(e="function"==typeof t?t:dr(+t),u):e},u.y1=function(t){return arguments.length?(n=null==t?null:"function"==typeof t?t:dr(+t),u):n},u.lineX0=u.lineY0=function(){return s().x(t).y(e)},u.lineY1=function(){return s().x(t).y(n)},u.lineX1=function(){return s().x(r).y(e)},u.defined=function(t){return arguments.length?(i="function"==typeof t?t:dr(!!t),u):i},u.curve=function(t){return arguments.length?(a=t,null!=o&&(c=a(o)),u):a},u.context=function(t){return arguments.length?(null==t?o=c=null:c=a(o=t),u):o},u}function xi(t){return(xi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function wi(){return(wi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ii(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Ei(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ii(Object(n),!0).forEach((function(e){Mi(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ii(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Mi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Si(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function ji(t,e){return(ji=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function _i(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Ti(t);if(e){var i=Ti(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ki(this,n)}}function ki(t,e){return!e||"object"!==xi(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Ti(t){return(Ti=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Pi={curveBasisClosed:function(t){return new ti(t)},curveBasisOpen:function(t){return new ei(t)},curveBasis:function(t){return new Kr(t)},curveLinearClosed:function(t){return new ni(t)},curveLinear:ii,curveMonotoneX:function(t){return new si(t)},curveMonotoneY:function(t){return new li(t)},curveNatural:function(t){return new pi(t)},curveStep:function(t){return new hi(t,.5)},curveStepAfter:function(t){return new hi(t,1)},curveStepBefore:function(t){return new hi(t,0)}},Ni=function(t){return t.x===+t.x&&t.y===+t.y},Ai=function(t){return t.x},Ci=function(t){return t.y},Di=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ji(t,e)}(a,t);var e,n,r,i=_i(a);function a(){return Si(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"getPath",value:function(){var t,e=this.props,n=e.type,r=e.points,i=e.baseLine,o=e.layout,a=e.connectNulls,c=function(t,e){if(vt()(t))return t;var n="curve".concat(Hn()(t));return"curveMonotone"===n&&e?Pi["".concat(n).concat("vertical"===e?"Y":"X")]:Pi[n]||ii}(n,o),u=a?r.filter((function(t){return Ni(t)})):r;if(z()(i)){var s=a?i.filter((function(t){return Ni(t)})):i,l=u.map((function(t,e){return Ei(Ei({},t),{},{base:s[e]})}));return(t="vertical"===o?bi().y(Ci).x1(Ai).x0((function(t){return t.base.x})):bi().x(Ai).y1(Ci).y0((function(t){return t.base.y}))).defined(Ni).curve(c),t(l)}return(t="vertical"===o&&J(i)?bi().y(Ci).x1(Ai).x0(i):J(i)?bi().x(Ai).y1(Ci).y0(i):gi().x(Ai).y(Ci)).defined(Ni).curve(c),t(u)}},{key:"render",value:function(){var t=this.props,e=t.className,n=t.points,r=t.path,i=t.pathRef;if(!(n&&n.length||r))return null;var a=n&&n.length?this.getPath():r;return o.createElement("path",wi({},Nt(this.props),At(this.props),{className:A()("recharts-curve",e),d:a,ref:i}))}}])&&Oi(e.prototype,n),r&&Oi(e,r),a}(o.PureComponent);function Li(t){return(Li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ri(){return(Ri=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wi(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Hi(t,e){return(Hi=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ui(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Gi(t);if(e){var i=Gi(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Bi(this,n)}}function Bi(t,e){return!e||"object"!==Li(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Gi(t){return(Gi=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Di.defaultProps={type:"linear",points:[],connectNulls:!1};var Zi=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hi(t,e)}(a,t);var e,n,r,i=Ui(a);function a(){return zi(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getPath",value:function(t,e,n,r,i,o){return"M".concat(t,",").concat(i,"v").concat(r,"M").concat(o,",").concat(e,"h").concat(n)}}],(n=[{key:"render",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,c=t.top,u=t.left,s=t.className;return J(e)&&J(n)&&J(r)&&J(i)&&J(c)&&J(u)?o.createElement("path",Ri({},Nt(this.props,!0),{className:A()("recharts-cross",s),d:a.getPath(e,n,r,i,c,u)})):null}}])&&Wi(e.prototype,n),r&&Wi(e,r),a}(o.PureComponent);function Fi(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Vi(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Fi(Object(n),!0).forEach((function(e){Ji(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Fi(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ji(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}Zi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Yi=Math.PI/180,qi=function(t){return 180*t/Math.PI},Xi=function(t,e,n,r){return{x:t+Math.cos(-Yi*r)*n,y:e+Math.sin(-Yi*r)*n}},Qi=function(t,e){var n=t.x,r=t.y,i=e.cx,o=e.cy,a=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return Math.sqrt(Math.pow(n-i,2)+Math.pow(r-o,2))}({x:n,y:r},{x:i,y:o});if(a<=0)return{radius:a};var c=(n-i)/a,u=Math.acos(c);return r>o&&(u=2*Math.PI-u),{radius:a,angle:qi(u),angleInRadian:u}},$i=function(t,e){var n=e.startAngle,r=e.endAngle,i=Math.floor(n/360),o=Math.floor(r/360);return t+360*Math.min(i,o)},Ki=function(t,e){var n=t.x,r=t.y,i=Qi({x:n,y:r},e),o=i.radius,a=i.angle,c=e.innerRadius,u=e.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(t){var e=t.startAngle,n=t.endAngle,r=Math.floor(e/360),i=Math.floor(n/360),o=Math.min(r,i);return{startAngle:e-360*o,endAngle:n-360*o}}(e),f=l.startAngle,p=l.endAngle,d=a;if(f<=p){for(;d>p;)d-=360;for(;d<f;)d+=360;s=d>=f&&d<=p}else{for(;d>f;)d-=360;for(;d<p;)d+=360;s=d>=p&&d<=f}return s?Vi(Vi({},e),{},{radius:o,angle:$i(d,e)}):null};function to(t){return(to="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function eo(){return(eo=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function no(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ro(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function io(t,e){return(io=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function oo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=co(t);if(e){var i=co(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return ao(this,n)}}function ao(t,e){return!e||"object"!==to(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function co(t){return(co=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var uo=function(t){var e=t.cx,n=t.cy,r=t.radius,i=t.angle,o=t.sign,a=t.isExternal,c=t.cornerRadius,u=t.cornerIsExternal,s=c*(a?1:-1)+r,l=Math.asin(c/s)/Yi,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Xi(e,n,s,f),circleTangency:Xi(e,n,r,f),lineTangency:Xi(e,n,s*Math.cos(l*Yi),p),theta:l}},so=function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.startAngle,a=function(t,e){return F(e-t)*Math.min(Math.abs(e-t),359.999)}(o,t.endAngle),c=o+a,u=Xi(e,n,i,o),s=Xi(e,n,i,c),l="M ".concat(u.x,",").concat(u.y,"\n A ").concat(i,",").concat(i,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o>c),",\n ").concat(s.x,",").concat(s.y,"\n ");if(r>0){var f=Xi(e,n,r,o),p=Xi(e,n,r,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(r,",").concat(r,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(e,",").concat(n," Z");return l},lo=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&io(t,e)}(a,t);var e,n,r,i=oo(a);function a(){return no(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,a=t.cornerRadius,c=t.forceCornerRadius,u=t.cornerIsExternal,s=t.startAngle,l=t.endAngle,f=t.className;if(i<r||s===l)return null;var p,d=A()("recharts-sector",f),h=i-r,v=Q(a,h,0,!0);return p=v>0&&Math.abs(s-l)<360?function(t){var e=t.cx,n=t.cy,r=t.innerRadius,i=t.outerRadius,o=t.cornerRadius,a=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,s=t.endAngle,l=F(s-u),f=uo({cx:e,cy:n,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,v=uo({cx:e,cy:n,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),y=v.circleTangency,m=v.lineTangency,g=v.theta,b=c?Math.abs(u-s):Math.abs(u-s)-h-g;if(b<0)return a?"M ".concat(d.x,",").concat(d.y,"\n a").concat(o,",").concat(o,",0,0,1,").concat(2*o,",0\n a").concat(o,",").concat(o,",0,0,1,").concat(2*-o,",0\n "):so({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:u,endAngle:s});var x="M ".concat(d.x,",").concat(d.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(p.x,",").concat(p.y,"\n A").concat(i,",").concat(i,",0,").concat(+(b>180),",").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(m.x,",").concat(m.y,"\n ");if(r>0){var w=uo({cx:e,cy:n,radius:r,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),I=w.circleTangency,E=w.lineTangency,M=w.theta,S=uo({cx:e,cy:n,radius:r,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=S.circleTangency,j=S.lineTangency,_=S.theta,k=c?Math.abs(u-s):Math.abs(u-s)-M-_;if(k<0&&0===o)return"".concat(x,"L").concat(e,",").concat(n,"Z");x+="L".concat(j.x,",").concat(j.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(r,",").concat(r,",0,").concat(+(k>180),",").concat(+(l>0),",").concat(I.x,",").concat(I.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(E.x,",").concat(E.y,"Z")}else x+="L".concat(e,",").concat(n,"Z");return x}({cx:e,cy:n,innerRadius:r,outerRadius:i,cornerRadius:Math.min(v,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):so({cx:e,cy:n,innerRadius:r,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",eo({},Nt(this.props,!0),{className:d,d:p}))}}])&&ro(e.prototype,n),r&&ro(e,r),a}(o.PureComponent);function fo(t){return(fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function po(){return(po=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ho(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yo(t,e){return(yo=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=bo(t);if(e){var i=bo(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return go(this,n)}}function go(t,e){return!e||"object"!==fo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function bo(t){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}lo.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var xo=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yo(t,e)}(a,t);var e,n,r,i=mo(a);function a(){return ho(this,a),i.apply(this,arguments)}return e=a,(n=[{key:"render",value:function(){var t=this.props,e=t.cx,n=t.cy,r=t.r,i=t.className,a=A()("recharts-dot",i);return e===+e&&n===+n&&r===+r?o.createElement("circle",po({},Nt(this.props),At(this.props),{className:a,cx:e,cy:n,r:r})):null}}])&&vo(e.prototype,n),r&&vo(e,r),a}(o.PureComponent);function wo(t){return(wo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Io(){return(Io=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Eo(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mo(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function So(t,e){return(So=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Oo(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=_o(t);if(e){var i=_o(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jo(this,n)}}function jo(t,e){return!e||"object"!==wo(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function _o(t){return(_o=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var ko=function(t,e,n,r,i){var o,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),c=r>=0?1:-1,u=n>=0?1:-1,s=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&i instanceof Array){for(var l=[0,0,0,0],f=0;f<4;f++)l[f]=i[f]>a?a:i[f];o="M".concat(t,",").concat(e+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(t+u*l[0],",").concat(e)),o+="L ".concat(t+n-u*l[1],",").concat(e),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(t+n,",").concat(e+c*l[1])),o+="L ".concat(t+n,",").concat(e+r-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(t+n-u*l[2],",").concat(e+r)),o+="L ".concat(t+u*l[3],",").concat(e+r),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(t,",").concat(e+r-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(t,",").concat(e+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+u*p,",").concat(e,"\n L ").concat(t+n-u*p,",").concat(e,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n,",").concat(e+c*p,"\n L ").concat(t+n,",").concat(e+r-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t+n-u*p,",").concat(e+r,"\n L ").concat(t+u*p,",").concat(e+r,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(t,",").concat(e+r-c*p," Z")}else o="M ".concat(t,",").concat(e," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return o},To=function(t,e){if(!t||!e)return!1;var n=t.x,r=t.y,i=e.x,o=e.y,a=e.width,c=e.height;if(Math.abs(a)>0&&Math.abs(c)>0){var u=Math.min(i,i+a),s=Math.max(i,i+a),l=Math.min(o,o+c),f=Math.max(o,o+c);return n>=u&&n<=s&&r>=l&&r<=f}return!1},Po=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&So(t,e)}(a,t);var e,n,r,i=Oo(a);function a(){var t;Eo(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={totalLength:-1},t.node=void 0,t}return e=a,(n=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var t=this.node.getTotalLength();t&&this.setState({totalLength:t})}catch(e){}}},{key:"render",value:function(){var t=this,e=this.props,n=e.x,r=e.y,i=e.width,a=e.height,c=e.radius,u=e.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,v=l.isUpdateAnimationActive;if(n!==+n||r!==+r||i!==+i||a!==+a||0===i||0===a)return null;var y=A()("recharts-rectangle",u);return v?o.createElement(ln,{canBegin:s>0,from:{width:i,height:a,x:n,y:r},to:{width:i,height:a,x:n,y:r},duration:p,animationEasing:f,isActive:v},(function(e){var n=e.width,r=e.height,i=e.x,a=e.y;return o.createElement(ln,{canBegin:s>0,from:"0px ".concat(-1===s?1:s,"px"),to:"".concat(s,"px 0px"),attributeName:"strokeDasharray",begin:d,duration:p,isActive:h,easing:f},o.createElement("path",Io({},Nt(t.props,!0),{className:y,d:ko(i,a,n,r,c),ref:function(e){t.node=e}})))})):o.createElement("path",Io({},Nt(this.props,!0),{className:y,d:ko(n,r,i,a,c)}))}}])&&Mo(e.prototype,n),r&&Mo(e,r),a}(o.PureComponent);Po.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var No=n(70418),Ao=n.n(No),Co=n(32822);function Do(t,e){for(var n in t)if({}.hasOwnProperty.call(t,n)&&(!{}.hasOwnProperty.call(e,n)||t[n]!==e[n]))return!1;for(var r in e)if({}.hasOwnProperty.call(e,r)&&!{}.hasOwnProperty.call(t,r))return!1;return!0}function Lo(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var Ro={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},zo=function(t){return"string"==typeof t?t:t?t.displayName||t.name||"Component":""},Wo=function t(e,n){var r=[],i=[];return i=z()(n)?n.map((function(t){return zo(t)})):[zo(n)],o.Children.forEach(e,(function(e){(0,Co.isFragment)(e)&&(r=r.concat(t(e.props.children,n)));var o=L()(e,"type.displayName")||L()(e,"type.name");-1!==i.indexOf(o)&&r.push(e)})),r},Ho=function(t,e){var n=Wo(t,e);return n&&n[0]},Uo=function(t){if(!t||!t.props)return!1;var e=t.props,n=e.width,r=e.height;return!(!J(n)||n<=0||!J(r)||r<=0)},Bo=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],Go=function(t){return t&&t.type&&Z()(t.type)&&Bo.indexOf(t.type)>=0},Zo=function t(e,n){if(e===n)return!0;if(o.Children.count(e)!==o.Children.count(n))return!1;var r=o.Children.count(e);if(0===r)return!0;if(1===r)return Fo(z()(e)?e[0]:e,z()(n)?n[0]:n);for(var i=0;i<r;i++){var a=e[i],c=n[i];if(z()(a)||z()(c)){if(!t(a,c))return!1}else if(!Fo(a,c))return!1}return!0},Fo=function(t,e){if(Et()(t)&&Et()(e))return!0;if(!Et()(t)&&!Et()(e)){var n=t.props||{},r=n.children,i=Lo(n,["children"]),o=e.props||{},a=o.children,c=Lo(o,["children"]);return r&&a?Do(i,c)&&Zo(r,a):!r&&!a&&Do(i,c)}return!1},Vo=function(t,e){var n=[],r={};return o.Children.forEach(t,(function(t,i){if(Go(t))n.push(t);else if(t){var o=zo(t.type),a=e[o]||{},c=a.handler,u=a.once;if(c&&(!u||!r[o])){var s=c(t,o,i);n.push(s),r[o]=!0}}})),Ao()(n).filter((function(t){return!Et()(t)}))};function Jo(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Yo(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Jo(Object(n),!0).forEach((function(e){qo(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Jo(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function qo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xo(t){return function(t){if(Array.isArray(t))return Qo(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Qo(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qo(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Qo(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var $o={widthCache:{},cacheCount:0},Ko={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ta=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ea="recharts_measurement_span";var na=function(t){return Object.keys(t).reduce((function(e,n){return"".concat(e).concat((r=n,r.split("").reduce((function(t,e){return e===e.toUpperCase()?[].concat(Xo(t),["-",e.toLowerCase()]):[].concat(Xo(t),[e])}),[]).join("")),":").concat(function(t,e){return ta.indexOf(t)>=0&&e===+e?"".concat(e,"px"):e}(n,t[n]),";");var r}),"")},ra=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==t||Sn.isSsr)return{width:0,height:0};var n="".concat(t),r=na(e),i="".concat(n,"-").concat(r);if($o.widthCache[i])return $o.widthCache[i];try{var o=document.getElementById(ea);o||((o=document.createElement("span")).setAttribute("id",ea),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Yo(Yo({},Ko),e);Object.keys(a).map((function(t){return o.style[t]=a[t],t})),o.textContent=n;var c=o.getBoundingClientRect(),u={width:c.width,height:c.height};return $o.widthCache[i]=u,++$o.cacheCount>2e3&&($o.cacheCount=0,$o.widthCache={}),u}catch(s){return{width:0,height:0}}},ia=n(55502),oa=n.n(ia);function aa(t){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ca(){return(ca=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function ua(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function sa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function fa(t,e){return(fa=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function pa(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=ha(t);if(e){var i=ha(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return da(this,n)}}function da(t,e){return!e||"object"!==aa(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function ha(t){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function va(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return ya(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ya(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ya(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ma(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ga(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ma(Object(n),!0).forEach((function(e){ba(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ma(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ba(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var xa=/[ \f\n\r\t\v\u2028\u2029]+/,wa=function(t){try{var e=[];return Et()(t.children)||(e=t.breakAll?t.children.toString().split(""):t.children.toString().split(xa)),{wordsWithComputedWidth:e.map((function(e){return{word:e,width:ra(e,t.style).width}})),spaceWidth:t.breakAll?0:ra(" ",t.style).width}}catch(n){return null}},Ia=function(t){return[{words:Et()(t)?[]:t.toString().split(xa)}]},Ea=function(t,e){if((t.width||t.scaleToFit)&&!Sn.isSsr&&e){var n=wa(t);return n?function(t,e,n,r,i){var o=J(t.maxLines),a=t.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(t,e){var o=e.word,a=e.width,c=t[t.length-1];if(c&&(null==r||i||c.width+a+n<r))c.words.push(o),c.width+=a+n;else{var u={words:[o],width:a};t.push(u)}return t}),[])},u=c(e);if(!o)return u;for(var s,l=function(e){var n=a.slice(0,e),i=wa(ga(ga({},t),{},{children:n+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>t.maxLines||function(t){return t.reduce((function(t,e){return t.width>e.width?t:e}))}(o).width>r,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),v=va(l(h-1),2),y=v[0],m=v[1],g=va(l(h),1)[0];if(y||g||(f=h+1),y&&g&&(p=h-1),!y&&g){s=m;break}d++}return s||u}(t,n.wordsWithComputedWidth,n.spaceWidth,t.width,t.scaleToFit):Ia(t.children)}return Ia(t.children)},Ma=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}(a,t);var e,n,r,i=pa(a);function a(){var t;sa(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){if(t.width!==e.prevWidth||t.scaleToFit!==e.prevScaleToFit||t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll){var n=t.children!==e.prevChildren||t.style!==e.prevStyle||t.breakAll!==e.prevBreakAll;return{prevWidth:t.width,prevScaleToFit:t.scaleToFit,prevChildren:t.children,prevStyle:t.style,wordsByLines:Ea(t,n)}}return null}}],(n=[{key:"render",value:function(){var t=this.props,e=t.dx,n=t.dy,r=t.textAnchor,i=t.verticalAnchor,a=t.scaleToFit,c=t.angle,u=t.lineHeight,s=t.capHeight,l=t.className,f=t.breakAll,p=ua(t,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!Y(p.x)||!Y(p.y))return null;var h,v=p.x+(J(e)?e:0),y=p.y+(J(n)?n:0);switch(i){case"start":h=oa()("calc(".concat(s,")"));break;case"middle":h=oa()("calc(".concat((d.length-1)/2," * -").concat(u," + (").concat(s," / 2))"));break;default:h=oa()("calc(".concat(d.length-1," * -").concat(u,")"))}var m=[];if(a){var g=d[0].width,b=this.props.width;m.push("scale(".concat((J(b)?b/g:1)/g,")"))}return c&&m.push("rotate(".concat(c,", ").concat(v,", ").concat(y,")")),m.length&&(p.transform=m.join(" ")),o.createElement("text",ca({},Nt(p,!0),{x:v,y:y,className:A()("recharts-text",l),textAnchor:r}),d.map((function(t,e){return o.createElement("tspan",{x:v,dy:0===e?h:u,key:e},t.words.join(f?"":" "))})))}}])&&la(e.prototype,n),r&&la(e,r),a}(o.Component);function Sa(t){return function(t){if(Array.isArray(t))return Oa(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Oa(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oa(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oa(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function ja(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function _a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?ja(Object(n),!0).forEach((function(e){ka(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):ja(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function ka(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ta(){return(Ta=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}Ma.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Pa=function(t,e,n){var r,i,a=t.position,c=t.viewBox,u=t.offset,s=t.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,v=l.startAngle,y=l.endAngle,m=l.clockWise,g=(d+h)/2,b=function(t,e){return F(e-t)*Math.min(Math.abs(e-t),360)}(v,y),x=b>=0?1:-1;"insideStart"===a?(r=v+x*u,i=m):"insideEnd"===a?(r=y-x*u,i=!m):"end"===a&&(r=y+x*u,i=m),i=b<=0?i:!i;var w=Xi(f,p,g,r),I=Xi(f,p,g,r+359*(i?1:-1)),E="M".concat(w.x,",").concat(w.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(I.x,",").concat(I.y),M=Et()(t.id)?X("recharts-radial-line-"):t.id;return o.createElement("text",Ta({},n,{dominantBaseline:"central",className:A()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:M,d:E})),o.createElement("textPath",{xlinkHref:"#".concat(M)},e))};function Na(t){var e,n=t.viewBox,r=t.position,i=t.value,a=t.children,c=t.content,u=t.className,s=void 0===u?"":u,l=t.textBreakAll;if(!n||Et()(i)&&Et()(a)&&!(0,o.isValidElement)(c)&&!vt()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,t);if(vt()(c)){if(e=(0,o.createElement)(c,t),(0,o.isValidElement)(e))return e}else e=function(t){var e=t.value,n=t.formatter,r=Et()(t.children)?e:t.children;return vt()(n)?n(r):r}(t);var f=function(t){return J(t.cx)}(n),p=Nt(t,!0);if(f&&("insideStart"===r||"insideEnd"===r||"end"===r))return Pa(t,e,p);var d=f?function(t){var e=t.viewBox,n=t.offset,r=t.position,i=e,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===r){var l=Xi(o,a,u+n,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"end"};var p=Xi(o,a,(c+u)/2,s);return{x:p.x,y:p.y,textAnchor:"middle",verticalAnchor:"middle"}}(t):function(t){var e=t.viewBox,n=t.parentViewBox,r=t.offset,i=t.position,o=e,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*r,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,v=h*r,y=h>0?"end":"start",m=h>0?"start":"end";if("top"===i)return _a(_a({},{x:a+u/2,y:c-l*r,textAnchor:"middle",verticalAnchor:p}),n?{height:Math.max(c-n.y,0),width:u}:{});if("bottom"===i)return _a(_a({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),n?{height:Math.max(n.y+n.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-v,y:c+s/2,textAnchor:y,verticalAnchor:"middle"};return _a(_a({},g),n?{width:Math.max(g.x-n.x,0),height:s}:{})}if("right"===i){var b={x:a+u+v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"};return _a(_a({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:s}:{})}var x=n?{width:u,height:s}:{};return"insideLeft"===i?_a({x:a+v,y:c+s/2,textAnchor:m,verticalAnchor:"middle"},x):"insideRight"===i?_a({x:a+u-v,y:c+s/2,textAnchor:y,verticalAnchor:"middle"},x):"insideTop"===i?_a({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},x):"insideBottom"===i?_a({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},x):"insideTopLeft"===i?_a({x:a+v,y:c+f,textAnchor:m,verticalAnchor:d},x):"insideTopRight"===i?_a({x:a+u-v,y:c+f,textAnchor:y,verticalAnchor:d},x):"insideBottomLeft"===i?_a({x:a+v,y:c+s-f,textAnchor:m,verticalAnchor:p},x):"insideBottomRight"===i?_a({x:a+u-v,y:c+s-f,textAnchor:y,verticalAnchor:p},x):jt()(i)&&(J(i.x)||V(i.x))&&(J(i.y)||V(i.y))?_a({x:a+Q(i.x,u),y:c+Q(i.y,s),textAnchor:"end",verticalAnchor:"end"},x):_a({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(t);return o.createElement(Ma,Ta({className:A()("recharts-label",s)},p,d,{breakAll:l}),e)}Na.displayName="Label",Na.defaultProps={offset:5};var Aa=function(t){var e=t.cx,n=t.cy,r=t.angle,i=t.startAngle,o=t.endAngle,a=t.r,c=t.radius,u=t.innerRadius,s=t.outerRadius,l=t.x,f=t.y,p=t.top,d=t.left,h=t.width,v=t.height,y=t.clockWise,m=t.labelViewBox;if(m)return m;if(J(h)&&J(v)){if(J(l)&&J(f))return{x:l,y:f,width:h,height:v};if(J(p)&&J(d))return{x:p,y:d,width:h,height:v}}return J(l)&&J(f)?{x:l,y:f,width:0,height:0}:J(e)&&J(n)?{cx:e,cy:n,startAngle:i||r||0,endAngle:o||r||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:y}:t.viewBox?t.viewBox:{}},Ca=function(t,e){return t?!0===t?o.createElement(Na,{key:"label-implicit",viewBox:e}):Y(t)?o.createElement(Na,{key:"label-implicit",viewBox:e,value:t}):(0,o.isValidElement)(t)?t.type===Na?(0,o.cloneElement)(t,{key:"label-implicit",viewBox:e}):o.createElement(Na,{key:"label-implicit",content:t,viewBox:e}):vt()(t)?o.createElement(Na,{key:"label-implicit",content:t,viewBox:e}):jt()(t)?o.createElement(Na,Ta({viewBox:e},t,{key:"label-implicit"})):null:null};function Da(t){return(Da="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function La(){return(La=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Ra(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function za(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ra(Object(n),!0).forEach((function(e){Wa(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ra(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Wa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ha(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Ua(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ba(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ga(t,e){return(Ga=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Za(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=Va(t);if(e){var i=Va(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return Fa(this,n)}}function Fa(t,e){return!e||"object"!==Da(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function Va(t){return(Va=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}Na.parseViewBox=Aa,Na.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Aa(t),a=Wo(r,Na.displayName).map((function(t,n){return(0,o.cloneElement)(t,{viewBox:e||i,key:"label-".concat(n)})}));if(!n)return a;var c=Ca(t.label,e||i);return[c].concat(Sa(a))};var Ja=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ga(t,e)}(a,t);var e,n,r,i=Za(a);function a(){return Ua(this,a),i.apply(this,arguments)}return e=a,r=[{key:"getTicks",value:function(t){var e=t.tick,n=t.ticks,r=t.viewBox,i=t.minTickGap,o=t.orientation,c=t.interval,u=t.tickFormatter,s=t.unit;return n&&n.length&&e?J(c)||Sn.isSsr?a.getNumberIntervalTicks(n,"number"==typeof c&&J(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:n,tickFormatter:u,viewBox:r,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(t,e){return t.filter((function(t,n){return n%(e+1)==0}))}},{key:"getTicksStart",value:function(t,e){var n,r,i=t.ticks,o=t.tickFormatter,a=t.viewBox,c=t.orientation,u=t.minTickGap,s=t.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",v=(i||[]).slice(),y=s&&"width"===h?ra(s)[h]:0,m=v.length,g=m>=2?F(v[1].coordinate-v[0].coordinate):1;if(1===g?(n="width"===h?l:f,r="width"===h?l+p:f+d):(n="width"===h?l+p:f+d,r="width"===h?l:f),e){var b=i[m-1],x=vt()(o)?o(b.value,m-1):b.value,w=ra(x)[h]+y,I=g*(b.coordinate+g*w/2-r);v[m-1]=b=za(za({},b),{},{tickCoord:I>0?b.coordinate-I*g:b.coordinate}),g*(b.tickCoord-g*w/2-n)>=0&&g*(b.tickCoord+g*w/2-r)<=0&&(r=b.tickCoord-g*(w/2+u),v[m-1]=za(za({},b),{},{isShow:!0}))}for(var E=e?m-1:m,M=0;M<E;M++){var S=v[M],O=vt()(o)?o(S.value,M):S.value,j=ra(O)[h]+y;if(0===M){var _=g*(S.coordinate-g*j/2-n);v[M]=S=za(za({},S),{},{tickCoord:_<0?S.coordinate-_*g:S.coordinate})}else v[M]=S=za(za({},S),{},{tickCoord:S.coordinate});g*(S.tickCoord-g*j/2-n)>=0&&g*(S.tickCoord+g*j/2-r)<=0&&(n=S.tickCoord+g*(j/2+u),v[M]=za(za({},S),{},{isShow:!0}))}return v.filter((function(t){return t.isShow}))}},{key:"getTicksEnd",value:function(t){var e,n,r=t.ticks,i=t.tickFormatter,o=t.viewBox,a=t.orientation,c=t.minTickGap,u=t.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?ra(u)[d]:0,v=(r||[]).slice(),y=v.length,m=y>=2?F(v[1].coordinate-v[0].coordinate):1;1===m?(e="width"===d?s:l,n="width"===d?s+f:l+p):(e="width"===d?s+f:l+p,n="width"===d?s:l);for(var g=y-1;g>=0;g--){var b=v[g],x=vt()(i)?i(b.value,y-g-1):b.value,w=ra(x)[d]+h;if(g===y-1){var I=m*(b.coordinate+m*w/2-n);v[g]=b=za(za({},b),{},{tickCoord:I>0?b.coordinate-I*m:b.coordinate})}else v[g]=b=za(za({},b),{},{tickCoord:b.coordinate});m*(b.tickCoord-m*w/2-e)>=0&&m*(b.tickCoord+m*w/2-n)<=0&&(n=b.tickCoord-m*(w/2+c),v[g]=za(za({},b),{},{isShow:!0}))}return v.filter((function(t){return t.isShow}))}},{key:"renderTickItem",value:function(t,e,n){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Ma,La({},e,{className:"recharts-cartesian-axis-tick-value"}),n)}}],(n=[{key:"shouldComponentUpdate",value:function(t){var e=t.viewBox,n=Ha(t,["viewBox"]),r=this.props,i=r.viewBox,o=Ha(r,["viewBox"]);return!Do(e,i)||!Do(n,o)}},{key:"getTickLineCoord",value:function(t){var e,n,r,i,o,a,c=this.props,u=c.x,s=c.y,l=c.width,f=c.height,p=c.orientation,d=c.tickSize,h=c.mirror,v=c.tickMargin,y=h?-1:1,m=t.tickSize||d,g=J(t.tickCoord)?t.tickCoord:t.coordinate;switch(p){case"top":e=n=t.coordinate,a=(r=(i=s+ +!h*f)-y*m)-y*v,o=g;break;case"left":r=i=t.coordinate,o=(e=(n=u+ +!h*l)-y*m)-y*v,a=g;break;case"right":r=i=t.coordinate,o=(e=(n=u+ +h*l)+y*m)+y*v,a=g;break;default:e=n=t.coordinate,a=(r=(i=s+ +h*f)+y*m)+y*v,o=g}return{line:{x1:e,y1:r,x2:n,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var t,e=this.props,n=e.orientation,r=e.mirror;switch(n){case"left":t=r?"start":"end";break;case"right":t=r?"end":"start";break;default:t="middle"}return t}},{key:"getTickVerticalAnchor",value:function(){var t=this.props,e=t.orientation,n=t.mirror,r="end";switch(e){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.orientation,c=t.mirror,u=t.axisLine,s=za(za(za({},Nt(this.props)),Nt(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=za(za({},s),{},{x1:e,y1:n+l*i,x2:e+r,y2:n+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=za(za({},s),{},{x1:e+f*r,y1:n,x2:e+f*r,y2:n+i})}return o.createElement("line",La({},s,{className:A()("recharts-cartesian-axis-line",L()(u,"className"))}))}},{key:"renderTicks",value:function(t){var e=this,n=this.props,r=n.tickLine,i=n.stroke,c=n.tick,u=n.tickFormatter,s=n.unit,l=a.getTicks(za(za({},this.props),{},{ticks:t})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=Nt(this.props),h=Nt(c),v=za(za({},d),{},{fill:"none"},Nt(r)),y=l.map((function(t,n){var y=e.getTickLineCoord(t),m=y.line,g=y.tick,b=za(za(za(za({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:n,payload:t,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(Ht,La({className:"recharts-cartesian-axis-tick",key:"tick-".concat(n)},Ct(e.props,t,n)),r&&o.createElement("line",La({},v,m,{className:A()("recharts-cartesian-axis-tick-line",L()(r,"className"))})),c&&a.renderTickItem(c,b,"".concat(vt()(u)?u(t.value,n):t.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},y)}},{key:"render",value:function(){var t=this.props,e=t.axisLine,n=t.width,r=t.height,i=t.ticksGenerator,a=t.className;if(t.hide)return null;var c=this.props,u=c.ticks,s=Ha(c,["ticks"]),l=u;return vt()(i)&&(l=u&&u.length>0?i(this.props):i(s)),n<=0||r<=0||!l||!l.length?null:o.createElement(Ht,{className:A()("recharts-cartesian-axis",a)},e&&this.renderAxisLine(),this.renderTicks(l),Na.renderCallByParent(this.props))}}])&&Ba(e.prototype,n),r&&Ba(e,r),a}(o.Component);function Ya(t,e,n){t=+t,e=+e,n=(i=arguments.length)<2?(e=t,t=0,1):i<3?1:+n;for(var r=-1,i=0|Math.max(0,Math.ceil((e-t)/n)),o=new Array(i);++r<i;)o[r]=t+r*n;return o}function qa(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}function Xa(t,e){switch(arguments.length){case 0:break;case 1:"function"==typeof t?this.interpolator(t):this.range(t);break;default:this.domain(t),"function"==typeof e?this.interpolator(e):this.range(e)}return this}Ja.displayName="CartesianAxis",Ja.defaultProps={x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"};const Qa=Symbol("implicit");function $a(){var t=new Map,e=[],n=[],r=Qa;function i(i){var o=i+"",a=t.get(o);if(!a){if(r!==Qa)return r;t.set(o,a=e.push(i))}return n[(a-1)%n.length]}return i.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Map;for(const r of n){const n=r+"";t.has(n)||t.set(n,e.push(r))}return i},i.range=function(t){return arguments.length?(n=Array.from(t),i):n.slice()},i.unknown=function(t){return arguments.length?(r=t,i):r},i.copy=function(){return $a(e,n).unknown(r)},qa.apply(i,arguments),i}function Ka(){var t,e,n=$a().unknown(void 0),r=n.domain,i=n.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var n=r().length,f=a<o,p=f?a:o,d=f?o:a;t=(d-p)/Math.max(1,n-u+2*s),c&&(t=Math.floor(t)),p+=(d-p-t*(n-u))*l,e=t*(1-u),c&&(p=Math.round(p),e=Math.round(e));var h=Ya(n).map((function(e){return p+t*e}));return i(f?h.reverse():h)}return delete n.unknown,n.domain=function(t){return arguments.length?(r(t),f()):r()},n.range=function(t){return arguments.length?([o,a]=t,o=+o,a=+a,f()):[o,a]},n.rangeRound=function(t){return[o,a]=t,o=+o,a=+a,c=!0,f()},n.bandwidth=function(){return e},n.step=function(){return t},n.round=function(t){return arguments.length?(c=!!t,f()):c},n.padding=function(t){return arguments.length?(u=Math.min(1,s=+t),f()):u},n.paddingInner=function(t){return arguments.length?(u=Math.min(1,t),f()):u},n.paddingOuter=function(t){return arguments.length?(s=+t,f()):s},n.align=function(t){return arguments.length?(l=Math.max(0,Math.min(1,t)),f()):l},n.copy=function(){return Ka(r(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},qa.apply(f(),arguments)}function tc(t){var e=t.copy;return t.padding=t.paddingOuter,delete t.paddingInner,delete t.paddingOuter,t.copy=function(){return tc(e())},t}function ec(){return tc(Ka.apply(null,arguments).paddingInner(1))}var nc=n(60879),rc=n.n(nc),ic=n(11974),oc=n.n(ic),ac=n(33323),cc=n.n(ac),uc=n(41719),sc=n.n(uc),lc=n(26058),fc=n.n(lc);function pc(t){return function(t){if(Array.isArray(t))return dc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return dc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return dc(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}var hc=function(t){return t},vc={"@@functional/placeholder":!0},yc=function(t){return t===vc},mc=function(t){return function e(){return 0===arguments.length||1===arguments.length&&yc(arguments.length<=0?void 0:arguments[0])?e:t.apply(void 0,arguments)}},gc=function t(e,n){return 1===e?n:mc((function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];var a=i.filter((function(t){return t!==vc})).length;return a>=e?n.apply(void 0,i):t(e-a,mc((function(){for(var t=arguments.length,e=new Array(t),r=0;r<t;r++)e[r]=arguments[r];var o=i.map((function(t){return yc(t)?e.shift():t}));return n.apply(void 0,pc(o).concat(e))})))}))},bc=function(t){return gc(t.length,t)},xc=function(t,e){for(var n=[],r=t;r<e;++r)n[r-t]=r;return n},wc=bc((function(t,e){return Array.isArray(e)?e.map(t):Object.keys(e).map((function(t){return e[t]})).map(t)})),Ic=function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];if(!e.length)return hc;var r=e.reverse(),i=r[0],o=r.slice(1);return function(){return o.reduce((function(t,e){return e(t)}),i.apply(void 0,arguments))}},Ec=function(t){return Array.isArray(t)?t.reverse():t.split("").reverse.join("")},Mc=function(t){var e=null,n=null;return function(){for(var r=arguments.length,i=new Array(r),o=0;o<r;o++)i[o]=arguments[o];return e&&i.every((function(t,n){return t===e[n]}))?n:(e=i,n=t.apply(void 0,i))}};var Sc={rangeStep:function(t,e,n){for(var r=new(fc())(t),i=0,o=[];r.lt(e)&&i<1e5;)o.push(r.toNumber()),r=r.add(n),i++;return o},getDigitCount:function(t){return 0===t?1:Math.floor(new(fc())(t).abs().log(10).toNumber())+1},interpolateNumber:bc((function(t,e,n){var r=+t;return r+n*(+e-r)})),uninterpolateNumber:bc((function(t,e,n){var r=e-+t;return(n-t)/(r=r||1/0)})),uninterpolateTruncation:bc((function(t,e,n){var r=e-+t;return r=r||1/0,Math.max(0,Math.min(1,(n-t)/r))}))};function Oc(t){return function(t){if(Array.isArray(t))return kc(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||_c(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jc(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||_c(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _c(t,e){if(t){if("string"==typeof t)return kc(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?kc(t,e):void 0}}function kc(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Tc(t){var e=jc(t,2),n=e[0],r=e[1],i=n,o=r;return n>r&&(i=r,o=n),[i,o]}function Pc(t,e,n){if(t.lte(0))return new(fc())(0);var r=Sc.getDigitCount(t.toNumber()),i=new(fc())(10).pow(r),o=t.div(i),a=1!==r?.05:.1,c=new(fc())(Math.ceil(o.div(a).toNumber())).add(n).mul(a).mul(i);return e?c:new(fc())(Math.ceil(c))}function Nc(t,e,n){var r=1,i=new(fc())(t);if(!i.isint()&&n){var o=Math.abs(t);o<1?(r=new(fc())(10).pow(Sc.getDigitCount(t)-1),i=new(fc())(Math.floor(i.div(r).toNumber())).mul(r)):o>1&&(i=new(fc())(Math.floor(t)))}else 0===t?i=new(fc())(Math.floor((e-1)/2)):n||(i=new(fc())(Math.floor(t)));var a=Math.floor((e-1)/2);return Ic(wc((function(t){return i.add(new(fc())(t-a).mul(r)).toNumber()})),xc)(0,e)}function Ac(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((e-t)/(n-1)))return{step:new(fc())(0),tickMin:new(fc())(0),tickMax:new(fc())(0)};var o,a=Pc(new(fc())(e).sub(t).div(n-1),r,i);o=t<=0&&e>=0?new(fc())(0):(o=new(fc())(t).add(e).div(2)).sub(new(fc())(o).mod(a));var c=Math.ceil(o.sub(t).div(a).toNumber()),u=Math.ceil(new(fc())(e).sub(o).div(a).toNumber()),s=c+u+1;return s>n?Ac(t,e,n,r,i+1):(s<n&&(u=e>0?u+(n-s):u,c=e>0?c:c+(n-s)),{step:a,tickMin:o.sub(new(fc())(c).mul(a)),tickMax:o.add(new(fc())(u).mul(a))})}var Cc=Mc((function(t){var e=jc(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Tc([n,r]),u=jc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(Oc(xc(0,i-1).map((function(){return 1/0})))):[].concat(Oc(xc(0,i-1).map((function(){return-1/0}))),[l]);return n>r?Ec(f):f}if(s===l)return Nc(s,i,o);var p=Ac(s,l,a,o),d=p.step,h=p.tickMin,v=p.tickMax,y=Sc.rangeStep(h,v.add(new(fc())(.1).mul(d)),d);return n>r?Ec(y):y})),Dc=(Mc((function(t){var e=jc(t,2),n=e[0],r=e[1],i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(i,2),c=Tc([n,r]),u=jc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[n,r];if(s===l)return Nc(s,i,o);var f=Pc(new(fc())(l).sub(s).div(a-1),o,0),p=Ic(wc((function(t){return new(fc())(s).add(new(fc())(t).mul(f)).toNumber()})),xc),d=p(0,a).filter((function(t){return t>=s&&t<=l}));return n>r?Ec(d):d})),Mc((function(t,e){var n=jc(t,2),r=n[0],i=n[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Tc([r,i]),c=jc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[r,i];if(u===s)return[u];var l=Math.max(e,2),f=Pc(new(fc())(s).sub(u).div(l-1),o,0),p=[].concat(Oc(Sc.rangeStep(new(fc())(u),new(fc())(s).sub(new(fc())(.99).mul(f)),f)),[s]);return r>i?Ec(p):p}))),Lc=Math.sqrt(50),Rc=Math.sqrt(10),zc=Math.sqrt(2);function Wc(t,e,n){var r,i,o,a,c=-1;if(n=+n,(t=+t)===(e=+e)&&n>0)return[t];if((r=e<t)&&(i=t,t=e,e=i),0===(a=Hc(t,e,n))||!isFinite(a))return[];if(a>0){let n=Math.round(t/a),r=Math.round(e/a);for(n*a<t&&++n,r*a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)*a}else{a=-a;let n=Math.round(t*a),r=Math.round(e*a);for(n/a<t&&++n,r/a>e&&--r,o=new Array(i=r-n+1);++c<i;)o[c]=(n+c)/a}return r&&o.reverse(),o}function Hc(t,e,n){var r=(e-t)/Math.max(0,n),i=Math.floor(Math.log(r)/Math.LN10),o=r/Math.pow(10,i);return i>=0?(o>=Lc?10:o>=Rc?5:o>=zc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Lc?10:o>=Rc?5:o>=zc?2:1)}function Uc(t,e,n){var r=Math.abs(e-t)/Math.max(0,n),i=Math.pow(10,Math.floor(Math.log(r)/Math.LN10)),o=r/i;return o>=Lc?i*=10:o>=Rc?i*=5:o>=zc&&(i*=2),e<t?-i:i}function Bc(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Gc(t){let e=t,n=t;function r(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)<0?r=o+1:i=o}return r}return 1===t.length&&(e=(e,n)=>t(e)-n,n=function(t){return(e,n)=>Bc(t(e),n)}(t)),{left:r,center:function(t,n,i,o){null==i&&(i=0),null==o&&(o=t.length);const a=r(t,n,i,o-1);return a>i&&e(t[a-1],n)>-e(t[a],n)?a-1:a},right:function(t,e,r,i){for(null==r&&(r=0),null==i&&(i=t.length);r<i;){const o=r+i>>>1;n(t[o],e)>0?i=o:r=o+1}return r}}}function Zc(t){return null===t?NaN:+t}const Fc=Gc(Bc),Vc=Fc.right;Fc.left,Gc(Zc).center;var Jc=Vc;function Yc(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function qc(t,e){var n=Object.create(t.prototype);for(var r in e)n[r]=e[r];return n}function Xc(){}var Qc=.7,$c=1/Qc,Kc="\\s*([+-]?\\d+)\\s*",tu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",nu=/^#([0-9a-f]{3,8})$/,ru=new RegExp("^rgb\\("+[Kc,Kc,Kc]+"\\)$"),iu=new RegExp("^rgb\\("+[eu,eu,eu]+"\\)$"),ou=new RegExp("^rgba\\("+[Kc,Kc,Kc,tu]+"\\)$"),au=new RegExp("^rgba\\("+[eu,eu,eu,tu]+"\\)$"),cu=new RegExp("^hsl\\("+[tu,eu,eu]+"\\)$"),uu=new RegExp("^hsla\\("+[tu,eu,eu,tu]+"\\)$"),su={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function lu(){return this.rgb().formatHex()}function fu(){return this.rgb().formatRgb()}function pu(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=nu.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?du(e):3===n?new mu(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?hu(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?hu(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=ru.exec(t))?new mu(e[1],e[2],e[3],1):(e=iu.exec(t))?new mu(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=ou.exec(t))?hu(e[1],e[2],e[3],e[4]):(e=au.exec(t))?hu(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=cu.exec(t))?wu(e[1],e[2]/100,e[3]/100,1):(e=uu.exec(t))?wu(e[1],e[2]/100,e[3]/100,e[4]):su.hasOwnProperty(t)?du(su[t]):"transparent"===t?new mu(NaN,NaN,NaN,0):null}function du(t){return new mu(t>>16&255,t>>8&255,255&t,1)}function hu(t,e,n,r){return r<=0&&(t=e=n=NaN),new mu(t,e,n,r)}function vu(t){return t instanceof Xc||(t=pu(t)),t?new mu((t=t.rgb()).r,t.g,t.b,t.opacity):new mu}function yu(t,e,n,r){return 1===arguments.length?vu(t):new mu(t,e,n,null==r?1:r)}function mu(t,e,n,r){this.r=+t,this.g=+e,this.b=+n,this.opacity=+r}function gu(){return"#"+xu(this.r)+xu(this.g)+xu(this.b)}function bu(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"rgb(":"rgba(")+Math.max(0,Math.min(255,Math.round(this.r)||0))+", "+Math.max(0,Math.min(255,Math.round(this.g)||0))+", "+Math.max(0,Math.min(255,Math.round(this.b)||0))+(1===t?")":", "+t+")")}function xu(t){return((t=Math.max(0,Math.min(255,Math.round(t)||0)))<16?"0":"")+t.toString(16)}function wu(t,e,n,r){return r<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Eu(t,e,n,r)}function Iu(t){if(t instanceof Eu)return new Eu(t.h,t.s,t.l,t.opacity);if(t instanceof Xc||(t=pu(t)),!t)return new Eu;if(t instanceof Eu)return t;var e=(t=t.rgb()).r/255,n=t.g/255,r=t.b/255,i=Math.min(e,n,r),o=Math.max(e,n,r),a=NaN,c=o-i,u=(o+i)/2;return c?(a=e===o?(n-r)/c+6*(n<r):n===o?(r-e)/c+2:(e-n)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new Eu(a,c,u,t.opacity)}function Eu(t,e,n,r){this.h=+t,this.s=+e,this.l=+n,this.opacity=+r}function Mu(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function Su(t,e,n,r,i){var o=t*t,a=o*t;return((1-3*t+3*o-a)*e+(4-6*o+3*a)*n+(1+3*t+3*o-3*a)*r+a*i)/6}Yc(Xc,pu,{copy:function(t){return Object.assign(new this.constructor,this,t)},displayable:function(){return this.rgb().displayable()},hex:lu,formatHex:lu,formatHsl:function(){return Iu(this).formatHsl()},formatRgb:fu,toString:fu}),Yc(mu,yu,qc(Xc,{brighter:function(t){return t=null==t?$c:Math.pow($c,t),new mu(this.r*t,this.g*t,this.b*t,this.opacity)},darker:function(t){return t=null==t?Qc:Math.pow(Qc,t),new mu(this.r*t,this.g*t,this.b*t,this.opacity)},rgb:function(){return this},displayable:function(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:gu,formatHex:gu,formatRgb:bu,toString:bu})),Yc(Eu,(function(t,e,n,r){return 1===arguments.length?Iu(t):new Eu(t,e,n,null==r?1:r)}),qc(Xc,{brighter:function(t){return t=null==t?$c:Math.pow($c,t),new Eu(this.h,this.s,this.l*t,this.opacity)},darker:function(t){return t=null==t?Qc:Math.pow(Qc,t),new Eu(this.h,this.s,this.l*t,this.opacity)},rgb:function(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*e,i=2*n-r;return new mu(Mu(t>=240?t-240:t+120,i,r),Mu(t,i,r),Mu(t<120?t+240:t-120,i,r),this.opacity)},displayable:function(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl:function(){var t=this.opacity;return(1===(t=isNaN(t)?1:Math.max(0,Math.min(1,t)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===t?")":", "+t+")")}}));var Ou=t=>()=>t;function ju(t,e){return function(n){return t+n*e}}function _u(t){return 1==(t=+t)?ku:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(r){return Math.pow(t+r*e,n)}}(e,n,t):Ou(isNaN(e)?n:e)}}function ku(t,e){var n=e-t;return n?ju(t,n):Ou(isNaN(t)?e:t)}var Tu=function t(e){var n=_u(e);function r(t,e){var r=n((t=yu(t)).r,(e=yu(e)).r),i=n(t.g,e.g),o=n(t.b,e.b),a=ku(t.opacity,e.opacity);return function(e){return t.r=r(e),t.g=i(e),t.b=o(e),t.opacity=a(e),t+""}}return r.gamma=t,r}(1);function Pu(t){return function(e){var n,r,i=e.length,o=new Array(i),a=new Array(i),c=new Array(i);for(n=0;n<i;++n)r=yu(e[n]),o[n]=r.r||0,a[n]=r.g||0,c[n]=r.b||0;return o=t(o),a=t(a),c=t(c),r.opacity=1,function(t){return r.r=o(t),r.g=a(t),r.b=c(t),r+""}}}Pu((function(t){var e=t.length-1;return function(n){var r=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),i=t[r],o=t[r+1],a=r>0?t[r-1]:2*i-o,c=r<e-1?t[r+2]:2*o-i;return Su((n-r/e)*e,a,i,o,c)}})),Pu((function(t){var e=t.length;return function(n){var r=Math.floor(((n%=1)<0?++n:n)*e),i=t[(r+e-1)%e],o=t[r%e],a=t[(r+1)%e],c=t[(r+2)%e];return Su((n-r/e)*e,i,o,a,c)}}));function Nu(t,e){var n,r=e?e.length:0,i=t?Math.min(r,t.length):0,o=new Array(i),a=new Array(r);for(n=0;n<i;++n)o[n]=Hu(t[n],e[n]);for(;n<r;++n)a[n]=e[n];return function(t){for(n=0;n<i;++n)a[n]=o[n](t);return a}}function Au(t,e){var n=new Date;return t=+t,e=+e,function(r){return n.setTime(t*(1-r)+e*r),n}}function Cu(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Du(t,e){var n,r={},i={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?r[n]=Hu(t[n],e[n]):i[n]=e[n];return function(t){for(n in r)i[n]=r[n](t);return i}}var Lu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ru=new RegExp(Lu.source,"g");function zu(t,e){var n,r,i,o=Lu.lastIndex=Ru.lastIndex=0,a=-1,c=[],u=[];for(t+="",e+="";(n=Lu.exec(t))&&(r=Ru.exec(e));)(i=r.index)>o&&(i=e.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(n=n[0])===(r=r[0])?c[a]?c[a]+=r:c[++a]=r:(c[++a]=null,u.push({i:a,x:Cu(n,r)})),o=Ru.lastIndex;return o<e.length&&(i=e.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(t){return function(e){return t(e)+""}}(u[0].x):function(t){return function(){return t}}(e):(e=u.length,function(t){for(var n,r=0;r<e;++r)c[(n=u[r]).i]=n.x(t);return c.join("")})}function Wu(t,e){e||(e=[]);var n,r=t?Math.min(e.length,t.length):0,i=e.slice();return function(o){for(n=0;n<r;++n)i[n]=t[n]*(1-o)+e[n]*o;return i}}function Hu(t,e){var n,r,i=typeof e;return null==e||"boolean"===i?Ou(e):("number"===i?Cu:"string"===i?(n=pu(e))?(e=n,Tu):zu:e instanceof pu?Tu:e instanceof Date?Au:(r=e,!ArrayBuffer.isView(r)||r instanceof DataView?Array.isArray(e)?Nu:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Du:Cu:Wu))(t,e)}function Uu(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Bu(t){return+t}var Gu=[0,1];function Zu(t){return t}function Fu(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Vu(t,e,n){var r=t[0],i=t[1],o=e[0],a=e[1];return i<r?(r=Fu(i,r),o=n(a,o)):(r=Fu(r,i),o=n(o,a)),function(t){return o(r(t))}}function Ju(t,e,n){var r=Math.min(t.length,e.length)-1,i=new Array(r),o=new Array(r),a=-1;for(t[r]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++a<r;)i[a]=Fu(t[a],t[a+1]),o[a]=n(e[a],e[a+1]);return function(e){var n=Jc(t,e,1,r)-1;return o[n](i[n](e))}}function Yu(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function qu(){var t,e,n,r,i,o,a=Gu,c=Gu,u=Hu,s=Zu;function l(){var t=Math.min(a.length,c.length);return s!==Zu&&(s=function(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}(a[0],a[t-1])),r=t>2?Ju:Vu,i=o=null,f}function f(e){return null==e||isNaN(e=+e)?n:(i||(i=r(a.map(t),c,u)))(t(s(e)))}return f.invert=function(n){return s(e((o||(o=r(c,a.map(t),Cu)))(n)))},f.domain=function(t){return arguments.length?(a=Array.from(t,Bu),l()):a.slice()},f.range=function(t){return arguments.length?(c=Array.from(t),l()):c.slice()},f.rangeRound=function(t){return c=Array.from(t),u=Uu,l()},f.clamp=function(t){return arguments.length?(s=!!t||Zu,l()):s!==Zu},f.interpolate=function(t){return arguments.length?(u=t,l()):u},f.unknown=function(t){return arguments.length?(n=t,f):n},function(n,r){return t=n,e=r,l()}}function Xu(){return qu()(Zu,Zu)}var Qu,$u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(t){if(!(e=$u.exec(t)))throw new Error("invalid format: "+t);var e;return new ts({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ts(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function es(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,r=t.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+t.slice(n+1)]}function ns(t){return(t=es(Math.abs(t)))?t[1]:NaN}function rs(t,e){var n=es(t,e);if(!n)return t+"";var r=n[0],i=n[1];return i<0?"0."+new Array(-i).join("0")+r:r.length>i+1?r.slice(0,i+1)+"."+r.slice(i+1):r+new Array(i-r.length+2).join("0")}Ku.prototype=ts.prototype,ts.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};var is={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>rs(100*t,e),r:rs,s:function(t,e){var n=es(t,e);if(!n)return t+"";var r=n[0],i=n[1],o=i-(Qu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=r.length;return o===a?r:o>a?r+new Array(o-a+1).join("0"):o>0?r.slice(0,o)+"."+r.slice(o):"0."+new Array(1-o).join("0")+es(t,Math.max(0,e+o-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function os(t){return t}var as,cs,us,ss=Array.prototype.map,ls=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function fs(t){var e,n,r=void 0===t.grouping||void 0===t.thousands?os:(e=ss.call(t.grouping,Number),n=t.thousands+"",function(t,r){for(var i=t.length,o=[],a=0,c=e[0],u=0;i>0&&c>0&&(u+c+1>r&&(c=Math.max(1,r-u)),o.push(t.substring(i-=c,i+c)),!((u+=c+1)>r));)c=e[a=(a+1)%e.length];return o.reverse().join(n)}),i=void 0===t.currency?"":t.currency[0]+"",o=void 0===t.currency?"":t.currency[1]+"",a=void 0===t.decimal?".":t.decimal+"",c=void 0===t.numerals?os:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(ss.call(t.numerals,String)),u=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function f(t){var e=(t=Ku(t)).fill,n=t.align,f=t.sign,p=t.symbol,d=t.zero,h=t.width,v=t.comma,y=t.precision,m=t.trim,g=t.type;"n"===g?(v=!0,g="g"):is[g]||(void 0===y&&(y=12),m=!0,g="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",x="$"===p?o:/[%p]/.test(g)?u:"",w=is[g],I=/[defgprs%]/.test(g);function E(t){var i,o,u,p=b,E=x;if("c"===g)E=w(t)+E,t="";else{var M=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:w(Math.abs(t),y),m&&(t=function(t){t:for(var e,n=t.length,r=1,i=-1;r<n;++r)switch(t[r]){case".":i=e=r;break;case"0":0===i&&(i=r),e=r;break;default:if(!+t[r])break t;i>0&&(i=0)}return i>0?t.slice(0,i)+t.slice(e+1):t}(t)),M&&0==+t&&"+"!==f&&(M=!1),p=(M?"("===f?f:s:"-"===f||"("===f?"":f)+p,E=("s"===g?ls[8+Qu/3]:"")+E+(M&&"("===f?")":""),I)for(i=-1,o=t.length;++i<o;)if(48>(u=t.charCodeAt(i))||u>57){E=(46===u?a+t.slice(i+1):t.slice(i))+E,t=t.slice(0,i);break}}v&&!d&&(t=r(t,1/0));var S=p.length+t.length+E.length,O=S<h?new Array(h-S+1).join(e):"";switch(v&&d&&(t=r(O+t,O.length?h-E.length:1/0),O=""),n){case"<":t=p+t+E+O;break;case"=":t=p+O+t+E;break;case"^":t=O.slice(0,S=O.length>>1)+p+t+E+O.slice(S);break;default:t=O+p+t+E}return c(t)}return y=void 0===y?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,y)):Math.max(0,Math.min(20,y)),E.toString=function(){return t+""},E}return{format:f,formatPrefix:function(t,e){var n=f(((t=Ku(t)).type="f",t)),r=3*Math.max(-8,Math.min(8,Math.floor(ns(e)/3))),i=Math.pow(10,-r),o=ls[8+r/3];return function(t){return n(i*t)+o}}}}function ps(t,e,n,r){var i,o=Uc(t,e,n);switch((r=Ku(null==r?",f":r)).type){case"s":var a=Math.max(Math.abs(t),Math.abs(e));return null!=r.precision||isNaN(i=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(ns(e)/3)))-ns(Math.abs(t)))}(o,a))||(r.precision=i),us(r,a);case"":case"e":case"g":case"p":case"r":null!=r.precision||isNaN(i=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,ns(e)-ns(t))+1}(o,Math.max(Math.abs(t),Math.abs(e))))||(r.precision=i-("e"===r.type));break;case"f":case"%":null!=r.precision||isNaN(i=function(t){return Math.max(0,-ns(Math.abs(t)))}(o))||(r.precision=i-2*("%"===r.type))}return cs(r)}function ds(t){var e=t.domain;return t.ticks=function(t){var n=e();return Wc(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var r=e();return ps(r[0],r[r.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var r,i,o=e(),a=0,c=o.length-1,u=o[a],s=o[c],l=10;for(s<u&&(i=u,u=s,s=i,i=a,a=c,c=i);l-- >0;){if((i=Hc(u,s,n))===r)return o[a]=u,o[c]=s,e(o);if(i>0)u=Math.floor(u/i)*i,s=Math.ceil(s/i)*i;else{if(!(i<0))break;u=Math.ceil(u*i)/i,s=Math.floor(s*i)/i}r=i}return t},t}function hs(){var t=Xu();return t.copy=function(){return Yu(t,hs())},qa.apply(t,arguments),ds(t)}function vs(t){var e;function n(t){return null==t||isNaN(t=+t)?e:t}return n.invert=n,n.domain=n.range=function(e){return arguments.length?(t=Array.from(e,Bu),n):t.slice()},n.unknown=function(t){return arguments.length?(e=t,n):e},n.copy=function(){return vs(t).unknown(e)},t=arguments.length?Array.from(t,Bu):[0,1],ds(n)}function ys(t,e){var n,r=0,i=(t=t.slice()).length-1,o=t[r],a=t[i];return a<o&&(n=r,r=i,i=n,n=o,o=a,a=n),t[r]=e.floor(o),t[i]=e.ceil(a),t}function ms(t){return Math.log(t)}function gs(t){return Math.exp(t)}function bs(t){return-Math.log(-t)}function xs(t){return-Math.exp(-t)}function ws(t){return isFinite(t)?+("1e"+t):t<0?0:t}function Is(t){return function(e){return-t(-e)}}function Es(t){var e,n,r=t(ms,gs),i=r.domain,o=10;function a(){return e=function(t){return t===Math.E?Math.log:10===t&&Math.log10||2===t&&Math.log2||(t=Math.log(t),function(e){return Math.log(e)/t})}(o),n=function(t){return 10===t?ws:t===Math.E?Math.exp:function(e){return Math.pow(t,e)}}(o),i()[0]<0?(e=Is(e),n=Is(n),t(bs,xs)):t(ms,gs),r}return r.base=function(t){return arguments.length?(o=+t,a()):o},r.domain=function(t){return arguments.length?(i(t),a()):i()},r.ticks=function(t){var r,a=i(),c=a[0],u=a[a.length-1];(r=u<c)&&(p=c,c=u,u=p);var s,l,f,p=e(c),d=e(u),h=null==t?10:+t,v=[];if(!(o%1)&&d-p<h){if(p=Math.floor(p),d=Math.ceil(d),c>0){for(;p<=d;++p)for(l=1,s=n(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;v.push(f)}}else for(;p<=d;++p)for(l=o-1,s=n(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;v.push(f)}2*v.length<h&&(v=Wc(c,u,h))}else v=Wc(p,d,Math.min(d-p,h)).map(n);return r?v.reverse():v},r.tickFormat=function(t,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=cs(i)),t===1/0)return i;null==t&&(t=10);var a=Math.max(1,o*t/r.ticks().length);return function(t){var r=t/n(Math.round(e(t)));return r*o<o-.5&&(r*=o),r<=a?i(t):""}},r.nice=function(){return i(ys(i(),{floor:function(t){return n(Math.floor(e(t)))},ceil:function(t){return n(Math.ceil(e(t)))}}))},r}function Ms(){var t=Es(qu()).domain([1,10]);return t.copy=function(){return Yu(t,Ms()).base(t.base())},qa.apply(t,arguments),t}function Ss(t){return function(e){return Math.sign(e)*Math.log1p(Math.abs(e/t))}}function Os(t){return function(e){return Math.sign(e)*Math.expm1(Math.abs(e))*t}}function js(t){var e=1,n=t(Ss(e),Os(e));return n.constant=function(n){return arguments.length?t(Ss(e=+n),Os(e)):e},ds(n)}function _s(){var t=js(qu());return t.copy=function(){return Yu(t,_s()).constant(t.constant())},qa.apply(t,arguments)}function ks(t){return function(e){return e<0?-Math.pow(-e,t):Math.pow(e,t)}}function Ts(t){return t<0?-Math.sqrt(-t):Math.sqrt(t)}function Ps(t){return t<0?-t*t:t*t}function Ns(t){var e=t(Zu,Zu),n=1;function r(){return 1===n?t(Zu,Zu):.5===n?t(Ts,Ps):t(ks(n),ks(1/n))}return e.exponent=function(t){return arguments.length?(n=+t,r()):n},ds(e)}function As(){var t=Ns(qu());return t.copy=function(){return Yu(t,As()).exponent(t.exponent())},qa.apply(t,arguments),t}function Cs(){return As.apply(null,arguments).exponent(.5)}function Ds(t){return Math.sign(t)*t*t}function Ls(t){return Math.sign(t)*Math.sqrt(Math.abs(t))}function Rs(){var t,e=Xu(),n=[0,1],r=!1;function i(n){var i=Ls(e(n));return isNaN(i)?t:r?Math.round(i):i}return i.invert=function(t){return e.invert(Ds(t))},i.domain=function(t){return arguments.length?(e.domain(t),i):e.domain()},i.range=function(t){return arguments.length?(e.range((n=Array.from(t,Bu)).map(Ds)),i):n.slice()},i.rangeRound=function(t){return i.range(t).round(!0)},i.round=function(t){return arguments.length?(r=!!t,i):r},i.clamp=function(t){return arguments.length?(e.clamp(t),i):e.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Rs(e.domain(),n).round(r).clamp(e.clamp()).unknown(t)},qa.apply(i,arguments),ds(i)}function zs(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n<r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n<i||void 0===n&&i>=i)&&(n=i)}return n}function Ws(t,e){let n;if(void 0===e)for(const r of t)null!=r&&(n>r||void 0===n&&r>=r)&&(n=r);else{let r=-1;for(let i of t)null!=(i=e(i,++r,t))&&(n>i||void 0===n&&i>=i)&&(n=i)}return n}function Hs(t,e,n=0,r=t.length-1,i=Bc){for(;r>n;){if(r-n>600){const o=r-n+1,a=e-n+1,c=Math.log(o),u=.5*Math.exp(2*c/3),s=.5*Math.sqrt(c*u*(o-u)/o)*(a-o/2<0?-1:1);Hs(t,e,Math.max(n,Math.floor(e-a*u/o+s)),Math.min(r,Math.floor(e+(o-a)*u/o+s)),i)}const o=t[e];let a=n,c=r;for(Us(t,n,e),i(t[r],o)>0&&Us(t,n,r);a<c;){for(Us(t,a,c),++a,--c;i(t[a],o)<0;)++a;for(;i(t[c],o)>0;)--c}0===i(t[n],o)?Us(t,n,c):(++c,Us(t,c,r)),c<=e&&(n=c+1),e<=c&&(r=c-1)}return t}function Us(t,e,n){const r=t[e];t[e]=t[n],t[n]=r}function Bs(t,e,n){if(r=(t=Float64Array.from(function*(t,e){if(void 0===e)for(let n of t)null!=n&&(n=+n)>=n&&(yield n);else{let n=-1;for(let r of t)null!=(r=e(r,++n,t))&&(r=+r)>=r&&(yield r)}}(t,n))).length){if((e=+e)<=0||r<2)return Ws(t);if(e>=1)return zs(t);var r,i=(r-1)*e,o=Math.floor(i),a=zs(Hs(t,o).subarray(0,o+1));return a+(Ws(t.subarray(o+1))-a)*(i-o)}}function Gs(t,e,n=Zc){if(r=t.length){if((e=+e)<=0||r<2)return+n(t[0],0,t);if(e>=1)return+n(t[r-1],r-1,t);var r,i=(r-1)*e,o=Math.floor(i),a=+n(t[o],o,t);return a+(+n(t[o+1],o+1,t)-a)*(i-o)}}function Zs(){var t,e=[],n=[],r=[];function i(){var t=0,i=Math.max(1,n.length);for(r=new Array(i-1);++t<i;)r[t-1]=Gs(e,t/i);return o}function o(e){return null==e||isNaN(e=+e)?t:n[Jc(r,e)]}return o.invertExtent=function(t){var i=n.indexOf(t);return i<0?[NaN,NaN]:[i>0?r[i-1]:e[0],i<r.length?r[i]:e[e.length-1]]},o.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let n of t)null==n||isNaN(n=+n)||e.push(n);return e.sort(Bc),i()},o.range=function(t){return arguments.length?(n=Array.from(t),i()):n.slice()},o.unknown=function(e){return arguments.length?(t=e,o):t},o.quantiles=function(){return r.slice()},o.copy=function(){return Zs().domain(e).range(n).unknown(t)},qa.apply(o,arguments)}function Fs(){var t,e=0,n=1,r=1,i=[.5],o=[0,1];function a(e){return null!=e&&e<=e?o[Jc(i,e,0,r)]:t}function c(){var t=-1;for(i=new Array(r);++t<r;)i[t]=((t+1)*n-(t-r)*e)/(r+1);return a}return a.domain=function(t){return arguments.length?([e,n]=t,e=+e,n=+n,c()):[e,n]},a.range=function(t){return arguments.length?(r=(o=Array.from(t)).length-1,c()):o.slice()},a.invertExtent=function(t){var a=o.indexOf(t);return a<0?[NaN,NaN]:a<1?[e,i[0]]:a>=r?[i[r-1],n]:[i[a-1],i[a]]},a.unknown=function(e){return arguments.length?(t=e,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Fs().domain([e,n]).range(o).unknown(t)},qa.apply(ds(a),arguments)}function Vs(){var t,e=[.5],n=[0,1],r=1;function i(i){return null!=i&&i<=i?n[Jc(e,i,0,r)]:t}return i.domain=function(t){return arguments.length?(e=Array.from(t),r=Math.min(e.length,n.length-1),i):e.slice()},i.range=function(t){return arguments.length?(n=Array.from(t),r=Math.min(e.length,n.length-1),i):n.slice()},i.invertExtent=function(t){var r=n.indexOf(t);return[e[r-1],e[r]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return Vs().domain(e).range(n).unknown(t)},qa.apply(i,arguments)}as=fs({thousands:",",grouping:[3],currency:["$",""]}),cs=as.format,us=as.formatPrefix;const Js=1e3,Ys=6e4,qs=36e5,Xs=864e5,Qs=6048e5,$s=2592e6,Ks=31536e6;var tl=new Date,el=new Date;function nl(t,e,n,r){function i(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return i.floor=function(e){return t(e=new Date(+e)),e},i.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},i.round=function(t){var e=i(t),n=i.ceil(t);return t-e<n-t?e:n},i.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},i.range=function(n,r,o){var a,c=[];if(n=i.ceil(n),o=null==o?1:Math.floor(o),!(n<r&&o>0))return c;do{c.push(a=new Date(+n)),e(n,o),t(n)}while(a<n&&n<r);return c},i.filter=function(n){return nl((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),(function(t,r){if(t>=t)if(r<0)for(;++r<=0;)for(;e(t,-1),!n(t););else for(;--r>=0;)for(;e(t,1),!n(t););}))},n&&(i.count=function(e,r){return tl.setTime(+e),el.setTime(+r),t(tl),t(el),Math.floor(n(tl,el))},i.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?i.filter(r?function(e){return r(e)%t==0}:function(e){return i.count(0,e)%t==0}):i:null}),i}var rl=nl((function(){}),(function(t,e){t.setTime(+t+e)}),(function(t,e){return e-t}));rl.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?nl((function(e){e.setTime(Math.floor(e/t)*t)}),(function(e,n){e.setTime(+e+n*t)}),(function(e,n){return(n-e)/t})):rl:null};var il=rl,ol=(rl.range,nl((function(t){t.setTime(t-t.getMilliseconds())}),(function(t,e){t.setTime(+t+e*Js)}),(function(t,e){return(e-t)/Js}),(function(t){return t.getUTCSeconds()}))),al=ol,cl=(ol.range,nl((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Js)}),(function(t,e){t.setTime(+t+e*Ys)}),(function(t,e){return(e-t)/Ys}),(function(t){return t.getMinutes()}))),ul=cl,sl=(cl.range,nl((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*Js-t.getMinutes()*Ys)}),(function(t,e){t.setTime(+t+e*qs)}),(function(t,e){return(e-t)/qs}),(function(t){return t.getHours()}))),ll=sl,fl=(sl.range,nl((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ys)/Xs),(t=>t.getDate()-1))),pl=fl;fl.range;function dl(t){return nl((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),(function(t,e){t.setDate(t.getDate()+7*e)}),(function(t,e){return(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ys)/Qs}))}var hl=dl(0),vl=dl(1),yl=dl(2),ml=dl(3),gl=dl(4),bl=dl(5),xl=dl(6),wl=(hl.range,vl.range,yl.range,ml.range,gl.range,bl.range,xl.range,nl((function(t){t.setDate(1),t.setHours(0,0,0,0)}),(function(t,e){t.setMonth(t.getMonth()+e)}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}))),Il=wl,El=(wl.range,nl((function(t){t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,e){t.setFullYear(t.getFullYear()+e)}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()})));El.every=function(t){return isFinite(t=Math.floor(t))&&t>0?nl((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,n){e.setFullYear(e.getFullYear()+n*t)})):null};var Ml=El,Sl=(El.range,nl((function(t){t.setUTCSeconds(0,0)}),(function(t,e){t.setTime(+t+e*Ys)}),(function(t,e){return(e-t)/Ys}),(function(t){return t.getUTCMinutes()}))),Ol=Sl,jl=(Sl.range,nl((function(t){t.setUTCMinutes(0,0,0)}),(function(t,e){t.setTime(+t+e*qs)}),(function(t,e){return(e-t)/qs}),(function(t){return t.getUTCHours()}))),_l=jl,kl=(jl.range,nl((function(t){t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+e)}),(function(t,e){return(e-t)/Xs}),(function(t){return t.getUTCDate()-1}))),Tl=kl;kl.range;function Pl(t){return nl((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e)}),(function(t,e){return(e-t)/Qs}))}var Nl=Pl(0),Al=Pl(1),Cl=Pl(2),Dl=Pl(3),Ll=Pl(4),Rl=Pl(5),zl=Pl(6),Wl=(Nl.range,Al.range,Cl.range,Dl.range,Ll.range,Rl.range,zl.range,nl((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e)}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()}))),Hl=Wl,Ul=(Wl.range,nl((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e)}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()})));Ul.every=function(t){return isFinite(t=Math.floor(t))&&t>0?nl((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null};var Bl=Ul;Ul.range;function Gl(t,e,n,r,i,o){const a=[[al,1,Js],[al,5,5e3],[al,15,15e3],[al,30,3e4],[o,1,Ys],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,qs],[i,3,108e5],[i,6,216e5],[i,12,432e5],[r,1,Xs],[r,2,1728e5],[n,1,Qs],[e,1,$s],[e,3,7776e6],[t,1,Ks]];function c(e,n,r){const i=Math.abs(n-e)/r,o=Gc((([,,t])=>t)).right(a,i);if(o===a.length)return t.every(Uc(e/Ks,n/Ks,r));if(0===o)return il.every(Math.max(Uc(e,n,r),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(t,e,n){const r=e<t;r&&([t,e]=[e,t]);const i=n&&"function"==typeof n.range?n:c(t,e,n),o=i?i.range(t,+e+1):[];return r?o.reverse():o},c]}const[Zl,Fl]=Gl(Bl,Hl,Nl,Tl,_l,Ol),[Vl,Jl]=Gl(Ml,Il,hl,pl,ll,ul);function Yl(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function ql(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Xl(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Ql,$l,Kl,tf={"-":"",_:" ",0:"0"},ef=/^\s*\d+/,nf=/^%/,rf=/[\\^$*+?|[\]().{}]/g;function of(t,e,n){var r=t<0?"-":"",i=(r?-t:t)+"",o=i.length;return r+(o<n?new Array(n-o+1).join(e)+i:i)}function af(t){return t.replace(rf,"\\$&")}function cf(t){return new RegExp("^(?:"+t.map(af).join("|")+")","i")}function uf(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function sf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.w=+r[0],n+r[0].length):-1}function lf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.u=+r[0],n+r[0].length):-1}function ff(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.U=+r[0],n+r[0].length):-1}function pf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.V=+r[0],n+r[0].length):-1}function df(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.W=+r[0],n+r[0].length):-1}function hf(t,e,n){var r=ef.exec(e.slice(n,n+4));return r?(t.y=+r[0],n+r[0].length):-1}function vf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function yf(t,e,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return r?(t.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function mf(t,e,n){var r=ef.exec(e.slice(n,n+1));return r?(t.q=3*r[0]-3,n+r[0].length):-1}function gf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.m=r[0]-1,n+r[0].length):-1}function bf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.d=+r[0],n+r[0].length):-1}function xf(t,e,n){var r=ef.exec(e.slice(n,n+3));return r?(t.m=0,t.d=+r[0],n+r[0].length):-1}function wf(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.H=+r[0],n+r[0].length):-1}function If(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.M=+r[0],n+r[0].length):-1}function Ef(t,e,n){var r=ef.exec(e.slice(n,n+2));return r?(t.S=+r[0],n+r[0].length):-1}function Mf(t,e,n){var r=ef.exec(e.slice(n,n+3));return r?(t.L=+r[0],n+r[0].length):-1}function Sf(t,e,n){var r=ef.exec(e.slice(n,n+6));return r?(t.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function Of(t,e,n){var r=nf.exec(e.slice(n,n+1));return r?n+r[0].length:-1}function jf(t,e,n){var r=ef.exec(e.slice(n));return r?(t.Q=+r[0],n+r[0].length):-1}function _f(t,e,n){var r=ef.exec(e.slice(n));return r?(t.s=+r[0],n+r[0].length):-1}function kf(t,e){return of(t.getDate(),e,2)}function Tf(t,e){return of(t.getHours(),e,2)}function Pf(t,e){return of(t.getHours()%12||12,e,2)}function Nf(t,e){return of(1+pl.count(Ml(t),t),e,3)}function Af(t,e){return of(t.getMilliseconds(),e,3)}function Cf(t,e){return Af(t,e)+"000"}function Df(t,e){return of(t.getMonth()+1,e,2)}function Lf(t,e){return of(t.getMinutes(),e,2)}function Rf(t,e){return of(t.getSeconds(),e,2)}function zf(t){var e=t.getDay();return 0===e?7:e}function Wf(t,e){return of(hl.count(Ml(t)-1,t),e,2)}function Hf(t){var e=t.getDay();return e>=4||0===e?gl(t):gl.ceil(t)}function Uf(t,e){return t=Hf(t),of(gl.count(Ml(t),t)+(4===Ml(t).getDay()),e,2)}function Bf(t){return t.getDay()}function Gf(t,e){return of(vl.count(Ml(t)-1,t),e,2)}function Zf(t,e){return of(t.getFullYear()%100,e,2)}function Ff(t,e){return of((t=Hf(t)).getFullYear()%100,e,2)}function Vf(t,e){return of(t.getFullYear()%1e4,e,4)}function Jf(t,e){var n=t.getDay();return of((t=n>=4||0===n?gl(t):gl.ceil(t)).getFullYear()%1e4,e,4)}function Yf(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+of(e/60|0,"0",2)+of(e%60,"0",2)}function qf(t,e){return of(t.getUTCDate(),e,2)}function Xf(t,e){return of(t.getUTCHours(),e,2)}function Qf(t,e){return of(t.getUTCHours()%12||12,e,2)}function $f(t,e){return of(1+Tl.count(Bl(t),t),e,3)}function Kf(t,e){return of(t.getUTCMilliseconds(),e,3)}function tp(t,e){return Kf(t,e)+"000"}function ep(t,e){return of(t.getUTCMonth()+1,e,2)}function np(t,e){return of(t.getUTCMinutes(),e,2)}function rp(t,e){return of(t.getUTCSeconds(),e,2)}function ip(t){var e=t.getUTCDay();return 0===e?7:e}function op(t,e){return of(Nl.count(Bl(t)-1,t),e,2)}function ap(t){var e=t.getUTCDay();return e>=4||0===e?Ll(t):Ll.ceil(t)}function cp(t,e){return t=ap(t),of(Ll.count(Bl(t),t)+(4===Bl(t).getUTCDay()),e,2)}function up(t){return t.getUTCDay()}function sp(t,e){return of(Al.count(Bl(t)-1,t),e,2)}function lp(t,e){return of(t.getUTCFullYear()%100,e,2)}function fp(t,e){return of((t=ap(t)).getUTCFullYear()%100,e,2)}function pp(t,e){return of(t.getUTCFullYear()%1e4,e,4)}function dp(t,e){var n=t.getUTCDay();return of((t=n>=4||0===n?Ll(t):Ll.ceil(t)).getUTCFullYear()%1e4,e,4)}function hp(){return"+0000"}function vp(){return"%"}function yp(t){return+t}function mp(t){return Math.floor(+t/1e3)}function gp(t){return new Date(t)}function bp(t){return t instanceof Date?+t:+new Date(+t)}function xp(t,e,n,r,i,o,a,c,u,s){var l=Xu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),v=s("%I:%M"),y=s("%I %p"),m=s("%a %d"),g=s("%b %d"),b=s("%B"),x=s("%Y");function w(t){return(u(t)<t?d:c(t)<t?h:a(t)<t?v:o(t)<t?y:r(t)<t?i(t)<t?m:g:n(t)<t?b:x)(t)}return l.invert=function(t){return new Date(f(t))},l.domain=function(t){return arguments.length?p(Array.from(t,bp)):p().map(gp)},l.ticks=function(e){var n=p();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?w:s(e)},l.nice=function(t){var n=p();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?p(ys(n,t)):l},l.copy=function(){return Yu(l,xp(t,e,n,r,i,o,a,c,u,s))},l}function wp(){return qa.apply(xp(Vl,Jl,Ml,Il,hl,pl,ll,ul,al,$l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ip(){return qa.apply(xp(Zl,Fl,Bl,Hl,Nl,Tl,_l,Ol,al,Kl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ep(){var t,e,n,r,i,o=0,a=1,c=Zu,u=!1;function s(e){return null==e||isNaN(e=+e)?i:c(0===n?.5:(e=(r(e)-t)*n,u?Math.max(0,Math.min(1,e)):e))}function l(t){return function(e){var n,r;return arguments.length?([n,r]=e,c=t(n,r),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,t=r(o=+o),e=r(a=+a),n=t===e?0:1/(e-t),s):[o,a]},s.clamp=function(t){return arguments.length?(u=!!t,s):u},s.interpolator=function(t){return arguments.length?(c=t,s):c},s.range=l(Hu),s.rangeRound=l(Uu),s.unknown=function(t){return arguments.length?(i=t,s):i},function(i){return r=i,t=i(o),e=i(a),n=t===e?0:1/(e-t),s}}function Mp(t,e){return e.domain(t.domain()).interpolator(t.interpolator()).clamp(t.clamp()).unknown(t.unknown())}function Sp(){var t=ds(Ep()(Zu));return t.copy=function(){return Mp(t,Sp())},Xa.apply(t,arguments)}function Op(){var t=Es(Ep()).domain([1,10]);return t.copy=function(){return Mp(t,Op()).base(t.base())},Xa.apply(t,arguments)}function jp(){var t=js(Ep());return t.copy=function(){return Mp(t,jp()).constant(t.constant())},Xa.apply(t,arguments)}function _p(){var t=Ns(Ep());return t.copy=function(){return Mp(t,_p()).exponent(t.exponent())},Xa.apply(t,arguments)}function kp(){return _p.apply(null,arguments).exponent(.5)}function Tp(){var t=[],e=Zu;function n(n){if(null!=n&&!isNaN(n=+n))return e((Jc(t,n,1)-1)/(t.length-1))}return n.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null==n||isNaN(n=+n)||t.push(n);return t.sort(Bc),n},n.interpolator=function(t){return arguments.length?(e=t,n):e},n.range=function(){return t.map(((n,r)=>e(r/(t.length-1))))},n.quantiles=function(e){return Array.from({length:e+1},((n,r)=>Bs(t,r/e)))},n.copy=function(){return Tp(e).domain(t)},Xa.apply(n,arguments)}function Pp(t,e){void 0===e&&(e=t,t=Hu);for(var n=0,r=e.length-1,i=e[0],o=new Array(r<0?0:r);n<r;)o[n]=t(i,i=e[++n]);return function(t){var e=Math.max(0,Math.min(r-1,Math.floor(t*=r)));return o[e](t-e)}}function Np(){var t,e,n,r,i,o,a,c=0,u=.5,s=1,l=1,f=Zu,p=!1;function d(t){return isNaN(t=+t)?a:(t=.5+((t=+o(t))-e)*(l*t<l*e?r:i),f(p?Math.max(0,Math.min(1,t)):t))}function h(t){return function(e){var n,r,i;return arguments.length?([n,r,i]=e,f=Pp(t,[n,r,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,t=o(c=+c),e=o(u=+u),n=o(s=+s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d):[c,u,s]},d.clamp=function(t){return arguments.length?(p=!!t,d):p},d.interpolator=function(t){return arguments.length?(f=t,d):f},d.range=h(Hu),d.rangeRound=h(Uu),d.unknown=function(t){return arguments.length?(a=t,d):a},function(a){return o=a,t=a(c),e=a(u),n=a(s),r=t===e?0:.5/(e-t),i=e===n?0:.5/(n-e),l=e<t?-1:1,d}}function Ap(){var t=ds(Np()(Zu));return t.copy=function(){return Mp(t,Ap())},Xa.apply(t,arguments)}function Cp(){var t=Es(Np()).domain([.1,1,10]);return t.copy=function(){return Mp(t,Cp()).base(t.base())},Xa.apply(t,arguments)}function Dp(){var t=js(Np());return t.copy=function(){return Mp(t,Dp()).constant(t.constant())},Xa.apply(t,arguments)}function Lp(){var t=Ns(Np());return t.copy=function(){return Mp(t,Lp()).exponent(t.exponent())},Xa.apply(t,arguments)}function Rp(){return Lp.apply(null,arguments).exponent(.5)}function zp(t,e){if((i=t.length)>1)for(var n,r,i,o=1,a=t[e[0]],c=a.length;o<i;++o)for(r=a,a=t[e[o]],n=0;n<c;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function Wp(t){for(var e=t.length,n=new Array(e);--e>=0;)n[e]=e;return n}function Hp(t,e){return t[e]}function Up(t){const e=[];return e.key=t,e}function Bp(t){return function(t){if(Array.isArray(t))return Gp(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return Gp(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Gp(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Gp(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Zp(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Fp(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Zp(Object(n),!0).forEach((function(e){Vp(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Zp(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Vp(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jp(t,e,n){return Et()(t)||Et()(e)?n:Y(e)?L()(t,e,n):vt()(e)?e(t):n}function Yp(t,e,n,r){var i=sc()(t,(function(t){return Jp(t,e)}));if("number"===n){var o=i.filter((function(t){return J(t)||parseFloat(t)}));return o.length?[cc()(o),oc()(o)]:[1/0,-1/0]}return(r?i.filter((function(t){return!Et()(t)})):i).map((function(t){return Y(t)||t instanceof Date?t:""}))}!function(t){Ql=function(t){var e=t.dateTime,n=t.date,r=t.time,i=t.periods,o=t.days,a=t.shortDays,c=t.months,u=t.shortMonths,s=cf(i),l=uf(i),f=cf(o),p=uf(o),d=cf(a),h=uf(a),v=cf(c),y=uf(c),m=cf(u),g=uf(u),b={a:function(t){return a[t.getDay()]},A:function(t){return o[t.getDay()]},b:function(t){return u[t.getMonth()]},B:function(t){return c[t.getMonth()]},c:null,d:kf,e:kf,f:Cf,g:Ff,G:Jf,H:Tf,I:Pf,j:Nf,L:Af,m:Df,M:Lf,p:function(t){return i[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:yp,s:mp,S:Rf,u:zf,U:Wf,V:Uf,w:Bf,W:Gf,x:null,X:null,y:Zf,Y:Vf,Z:Yf,"%":vp},x={a:function(t){return a[t.getUTCDay()]},A:function(t){return o[t.getUTCDay()]},b:function(t){return u[t.getUTCMonth()]},B:function(t){return c[t.getUTCMonth()]},c:null,d:qf,e:qf,f:tp,g:fp,G:dp,H:Xf,I:Qf,j:$f,L:Kf,m:ep,M:np,p:function(t){return i[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:yp,s:mp,S:rp,u:ip,U:op,V:cp,w:up,W:sp,x:null,X:null,y:lp,Y:pp,Z:hp,"%":vp},w={a:function(t,e,n){var r=d.exec(e.slice(n));return r?(t.w=h.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(t,e,n){var r=f.exec(e.slice(n));return r?(t.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(t,e,n){var r=m.exec(e.slice(n));return r?(t.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(t,e,n){var r=v.exec(e.slice(n));return r?(t.m=y.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(t,n,r){return M(t,e,n,r)},d:bf,e:bf,f:Sf,g:vf,G:hf,H:wf,I:wf,j:xf,L:Mf,m:gf,M:If,p:function(t,e,n){var r=s.exec(e.slice(n));return r?(t.p=l.get(r[0].toLowerCase()),n+r[0].length):-1},q:mf,Q:jf,s:_f,S:Ef,u:lf,U:ff,V:pf,w:sf,W:df,x:function(t,e,r){return M(t,n,e,r)},X:function(t,e,n){return M(t,r,e,n)},y:vf,Y:hf,Z:yf,"%":Of};function I(t,e){return function(n){var r,i,o,a=[],c=-1,u=0,s=t.length;for(n instanceof Date||(n=new Date(+n));++c<s;)37===t.charCodeAt(c)&&(a.push(t.slice(u,c)),null!=(i=tf[r=t.charAt(++c)])?r=t.charAt(++c):i="e"===r?" ":"0",(o=e[r])&&(r=o(n,i)),a.push(r),u=c+1);return a.push(t.slice(u,c)),a.join("")}}function E(t,e){return function(n){var r,i,o=Xl(1900,void 0,1);if(M(o,t,n+="",0)!=n.length)return null;if("Q"in o)return new Date(o.Q);if("s"in o)return new Date(1e3*o.s+("L"in o?o.L:0));if(e&&!("Z"in o)&&(o.Z=0),"p"in o&&(o.H=o.H%12+12*o.p),void 0===o.m&&(o.m="q"in o?o.q:0),"V"in o){if(o.V<1||o.V>53)return null;"w"in o||(o.w=1),"Z"in o?(i=(r=ql(Xl(o.y,0,1))).getUTCDay(),r=i>4||0===i?Al.ceil(r):Al(r),r=Tl.offset(r,7*(o.V-1)),o.y=r.getUTCFullYear(),o.m=r.getUTCMonth(),o.d=r.getUTCDate()+(o.w+6)%7):(i=(r=Yl(Xl(o.y,0,1))).getDay(),r=i>4||0===i?vl.ceil(r):vl(r),r=pl.offset(r,7*(o.V-1)),o.y=r.getFullYear(),o.m=r.getMonth(),o.d=r.getDate()+(o.w+6)%7)}else("W"in o||"U"in o)&&("w"in o||(o.w="u"in o?o.u%7:"W"in o?1:0),i="Z"in o?ql(Xl(o.y,0,1)).getUTCDay():Yl(Xl(o.y,0,1)).getDay(),o.m=0,o.d="W"in o?(o.w+6)%7+7*o.W-(i+5)%7:o.w+7*o.U-(i+6)%7);return"Z"in o?(o.H+=o.Z/100|0,o.M+=o.Z%100,ql(o)):Yl(o)}}function M(t,e,n,r){for(var i,o,a=0,c=e.length,u=n.length;a<c;){if(r>=u)return-1;if(37===(i=e.charCodeAt(a++))){if(i=e.charAt(a++),!(o=w[i in tf?e.charAt(a++):i])||(r=o(t,n,r))<0)return-1}else if(i!=n.charCodeAt(r++))return-1}return r}return b.x=I(n,b),b.X=I(r,b),b.c=I(e,b),x.x=I(n,x),x.X=I(r,x),x.c=I(e,x),{format:function(t){var e=I(t+="",b);return e.toString=function(){return t},e},parse:function(t){var e=E(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=I(t+="",x);return e.toString=function(){return t},e},utcParse:function(t){var e=E(t+="",!0);return e.toString=function(){return t},e}}}(t),$l=Ql.format,Ql.parse,Kl=Ql.utcFormat,Ql.utcParse}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});var qp=function(t){var e,n=t.type.displayName,r=t.props,i=r.stroke,o=r.fill;switch(n){case"Line":e=i;break;case"Area":case"Radar":e=i&&"none"!==i?i:o;break;default:e=o}return e},Xp=function(t){var e,n=t.children,r=t.formatedGraphicalItems,i=t.legendWidth,o=t.legendContent,a=Ho(n,Xr.displayName);return a?(e=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(r||[]).reduce((function(t,e){var n=e.item,r=e.props,i=r.sectors||r.data||[];return t.concat(i.map((function(t){return{type:a.props.iconType||n.props.legendType,value:t.name,color:t.fill,payload:t}})))}),[]):(r||[]).map((function(t){var e=t.item,n=e.props,r=n.dataKey,i=n.name,o=n.legendType;return{inactive:n.hide,dataKey:r,type:a.props.iconType||o||"square",color:qp(e),value:i||r,payload:e.props}})),Fp(Fp(Fp({},a.props),Xr.getWithHeight(a,i)),{},{payload:e,item:a})):null},Qp=function(t,e,n,r){var i=e.props.children,o=Wo(i,"ErrorBar").filter((function(t){var e=t.props.direction;return!(!Et()(e)&&!Et()(r))||r.indexOf(e)>=0}));if(o&&o.length){var a=o.map((function(t){return t.props.dataKey}));return t.reduce((function(t,e){var r=Jp(e,n,0),i=z()(r)?[cc()(r),oc()(r)]:[r,r],o=a.reduce((function(t,n){var r=Jp(e,n,0),o=i[0]-Math.abs(z()(r)?r[0]:r),a=i[1]+Math.abs(z()(r)?r[1]:r);return[Math.min(o,t[0]),Math.max(a,t[1])]}),[1/0,-1/0]);return[Math.min(o[0],t[0]),Math.max(o[1],t[1])]}),[1/0,-1/0])}return null},$p=function(t,e,n,r){var i=e.map((function(e){var i=e.props.dataKey;return"number"===n&&i&&Qp(t,e,i)||Yp(t,i,n,r)}));if("number"===n)return i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(t,e){for(var n=0,r=e.length;n<r;n++)o[e[n]]||(o[e[n]]=!0,t.push(e[n]));return t}),[])},Kp=function(t,e){return"horizontal"===t&&"xAxis"===e||"vertical"===t&&"yAxis"===e||"centric"===t&&"angleAxis"===e||"radial"===t&&"radiusAxis"===e},td=function(t,e,n){var r,i,o=t.map((function(t){return t.coordinate===e&&(r=!0),t.coordinate===n&&(i=!0),t.coordinate}));return r||o.push(e),i||o.push(n),o},ed=function(t,e,n){if(!t)return null;var r=t.scale,i=t.duplicateDomain,o=t.type,a=t.range,c=(e||n)&&"category"===o&&r.bandwidth?r.bandwidth()/2:0;return c="angleAxis"===t.axisType?2*F(a[0]-a[1])*c:c,e&&(t.ticks||t.niceTicks)?(t.ticks||t.niceTicks).map((function(t){var e=i?i.indexOf(t):t;return{coordinate:r(e)+c,value:t,offset:c}})):t.isCategorical&&t.categoricalDomain?t.categoricalDomain.map((function(t,e){return{coordinate:r(t)+c,value:t,index:e,offset:c}})):r.ticks&&!n?r.ticks(t.tickCount).map((function(t){return{coordinate:r(t)+c,value:t,offset:c}})):r.domain().map((function(t,e){return{coordinate:r(t)+c,value:i?i[t]:t,index:e,offset:c}}))},nd=function(t,e,n){var r;return vt()(n)?r=n:vt()(e)&&(r=e),vt()(t)||r?function(e,n,i,o){vt()(t)&&t(e,n,i,o),vt()(r)&&r(e,n,i,o)}:null},rd=1e-4,id={sign:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0,a=0;a<e;++a){var c=H()(t[a][n][1])?t[a][n][0]:t[a][n][1];c>=0?(t[a][n][0]=i,t[a][n][1]=i+c,i=t[a][n][1]):(t[a][n][0]=o,t[a][n][1]=o+c,o=t[a][n][1])}},expand:function(t,e){if((r=t.length)>0){for(var n,r,i,o=0,a=t[0].length;o<a;++o){for(i=n=0;n<r;++n)i+=t[n][o][1]||0;if(i)for(n=0;n<r;++n)t[n][o][1]/=i}zp(t,e)}},none:zp,silhouette:function(t,e){if((n=t.length)>0){for(var n,r=0,i=t[e[0]],o=i.length;r<o;++r){for(var a=0,c=0;a<n;++a)c+=t[a][r][1]||0;i[r][1]+=i[r][0]=-c/2}zp(t,e)}},wiggle:function(t,e){if((i=t.length)>0&&(r=(n=t[e[0]]).length)>0){for(var n,r,i,o=0,a=1;a<r;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=t[e[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=t[e[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}n[a-1][1]+=n[a-1][0]=o,u&&(o-=s/u)}n[a-1][1]+=n[a-1][0]=o,zp(t,e)}},positive:function(t){var e=t.length;if(!(e<=0))for(var n=0,r=t[0].length;n<r;++n)for(var i=0,o=0;o<e;++o){var a=H()(t[o][n][1])?t[o][n][0]:t[o][n][1];a>=0?(t[o][n][0]=i,t[o][n][1]=i+a,i=t[o][n][1]):(t[o][n][0]=0,t[o][n][1]=0)}}},od=function(t,e,n){var r=e.map((function(t){return t.props.dataKey}));return function(){var t=dr([]),e=Wp,n=zp,r=Hp;function i(i){var o,a,c=Array.from(t.apply(this,arguments),Up),u=c.length,s=-1;for(const t of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+r(t,c[o].key,s,i)]).data=t;for(o=0,a=vi(e(c));o<u;++o)c[a[o]].index=o;return n(c,a),c}return i.keys=function(e){return arguments.length?(t="function"==typeof e?e:dr(Array.from(e)),i):t},i.value=function(t){return arguments.length?(r="function"==typeof t?t:dr(+t),i):r},i.order=function(t){return arguments.length?(e=null==t?Wp:"function"==typeof t?t:dr(Array.from(t)),i):e},i.offset=function(t){return arguments.length?(n=null==t?zp:t,i):n},i}().keys(r).value((function(t,e){return+Jp(t,e,0)})).order(Wp).offset(id[n])(t)},ad=function(t,e){var n=e.realScaleType,r=e.type,i=e.tickCount,o=e.originalDomain,a=e.allowDecimals,c=n||e.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===r&&o&&("auto"===o[0]||"auto"===o[1])){var u=t.domain();if(!u.length)return null;var s=Cc(u,i,a);return t.domain(function(t,e){return"number"===e?[cc()(t),oc()(t)]:t}(s,r)),{niceTicks:s}}if(i&&"number"===r){var l=t.domain();return{niceTicks:Dc(l,i,a)}}return null},cd=function(t){var e=t.axis,n=t.ticks,r=t.offset,i=t.bandSize,o=t.entry,a=t.index;if("category"===e.type)return n[a]?n[a].coordinate+r:null;var c=Jp(o,e.dataKey,e.domain[a]);return Et()(c)?null:e.scale(c)-i/2+r},ud=function(t,e,n){return Object.keys(t).reduce((function(r,i){var o=t[i].stackedData.reduce((function(t,r){var i=r.slice(e,n+1).reduce((function(t,e){return[cc()(e.concat([t[0]]).filter(J)),oc()(e.concat([t[1]]).filter(J))]}),[1/0,-1/0]);return[Math.min(t[0],i[0]),Math.max(t[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],r[0]),Math.max(o[1],r[1])]}),[1/0,-1/0]).map((function(t){return t===1/0||t===-1/0?0:t}))},sd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ld=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fd=function(t,e,n){if(!z()(t))return e;var r=[];if(J(t[0]))r[0]=n?t[0]:Math.min(t[0],e[0]);else if(sd.test(t[0])){var i=+sd.exec(t[0])[1];r[0]=e[0]-i}else vt()(t[0])?r[0]=t[0](e[0]):r[0]=e[0];if(J(t[1]))r[1]=n?t[1]:Math.max(t[1],e[1]);else if(ld.test(t[1])){var o=+ld.exec(t[1])[1];r[1]=e[1]+o}else vt()(t[1])?r[1]=t[1](e[1]):r[1]=e[1];return r},pd=function(t,e,n){if(t&&t.scale&&t.scale.bandwidth){var r=t.scale.bandwidth();if(!n||r>0)return r}if(t&&e&&e.length>=2){for(var i=bt()(e,(function(t){return t.coordinate})),o=1/0,a=1,c=i.length;a<c;a++){var u=i[a],s=i[a-1];o=Math.min((u.coordinate||0)-(s.coordinate||0),o)}return o===1/0?0:o}return 0},dd=function(t,e,n){return t&&t.length?rc()(t,L()(n,"type.defaultProps.domain"))?e:t:e},hd=function(t,e){var n=t.props,r=n.dataKey,i=n.name,o=n.unit,a=n.formatter,c=n.tooltipType;return Fp(Fp({},Nt(t)),{},{dataKey:r,unit:o,formatter:a,name:i||r,color:qp(t),value:Jp(e,r),type:c,payload:e})};function vd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function yd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?vd(Object(n),!0).forEach((function(e){md(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):vd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function md(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var gd=["Webkit","Moz","O","ms"];function bd(t){return(bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function xd(){return(xd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function wd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Id(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?wd(Object(n),!0).forEach((function(e){Ed(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):wd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Ed(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Md(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Sd(t,e){return(Sd=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Od(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=kd(t);if(e){var i=kd(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return jd(this,n)}}function jd(t,e){return!e||"object"!==bd(e)&&"function"!=typeof e?_d(t):e}function _d(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kd(t){return(kd=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}var Td=function(t){return t.changedTouches&&!!t.changedTouches.length},Pd=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Sd(t,e)}(a,t);var e,n,r,i=Od(a);function a(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,a),(e=i.call(this,t)).leaveTimer=void 0,e.travellerDragStartHandlers=void 0,e.handleDrag=function(t){e.leaveTimer&&(clearTimeout(e.leaveTimer),e.leaveTimer=null),e.state.isTravellerMoving?e.handleTravellerMove(t):e.state.isSlideMoving&&e.handleSlideDrag(t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleDrag(t.changedTouches[0])},e.handleDragEnd=function(){e.setState({isTravellerMoving:!1,isSlideMoving:!1}),e.detachDragEndListener()},e.handleLeaveWrapper=function(){(e.state.isTravellerMoving||e.state.isSlideMoving)&&(e.leaveTimer=window.setTimeout(e.handleDragEnd,e.props.leaveTimeOut))},e.handleEnterSlideOrTraveller=function(){e.setState({isTextActive:!0})},e.handleLeaveSlideOrTraveller=function(){e.setState({isTextActive:!1})},e.handleSlideDragStart=function(t){var n=Td(t)?t.changedTouches[0]:t;e.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:n.pageX}),e.attachDragEndListener()},e.travellerDragStartHandlers={startX:e.handleTravellerDragStart.bind(_d(e),"startX"),endX:e.handleTravellerDragStart.bind(_d(e),"endX")},e.state={},e}return e=a,r=[{key:"renderDefaultTraveller",value:function(t){var e=t.x,n=t.y,r=t.width,i=t.height,a=t.stroke,c=Math.floor(n+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:e,y:n,width:r,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:e+1,y1:c,x2:e+r-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:e+1,y1:c+2,x2:e+r-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):a.renderDefaultTraveller(e)}},{key:"getDerivedStateFromProps",value:function(t,e){var n=t.data,r=t.width,i=t.x,o=t.travellerWidth,a=t.updateId,c=t.startIndex,u=t.endIndex;if(n!==e.prevData||a!==e.prevUpdateId)return Id({prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r},n&&n.length?function(t){var e=t.data,n=t.startIndex,r=t.endIndex,i=t.x,o=t.width,a=t.travellerWidth;if(!e||!e.length)return{};var c=e.length,u=ec().domain(wt()(0,c)).range([i,i+o-a]),s=u.domain().map((function(t){return u(t)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(n),endX:u(r),scale:u,scaleValues:s}}({data:n,width:r,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(e.scale&&(r!==e.prevWidth||i!==e.prevX||o!==e.prevTravellerWidth)){e.scale.range([i,i+r-o]);var s=e.scale.domain().map((function(t){return e.scale(t)}));return{prevData:n,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:r,startX:e.scale(t.startIndex),endX:e.scale(t.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(t,e){for(var n=0,r=t.length-1;r-n>1;){var i=Math.floor((n+r)/2);t[i]>e?r=i:n=i}return e>=t[r]?r:n}}],(n=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(t){var e=t.startX,n=t.endX,r=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(e,n),s=Math.max(e,n),l=a.getIndexInRange(r,u),f=a.getIndexInRange(r,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(t){var e=this.props,n=e.data,r=e.tickFormatter,i=e.dataKey,o=Jp(n[t],i,t);return vt()(r)?r(o,t):o}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0)}},{key:"handleSlideDrag",value:function(t){var e=this.state,n=e.slideMoveStartX,r=e.startX,i=e.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=t.pageX-n;p>0?p=Math.min(p,a+c-u-i,a+c-u-r):p<0&&(p=Math.max(p,a-r,a-i));var d=this.getIndex({startX:r+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:r+p,endX:i+p,slideMoveStartX:t.pageX})}},{key:"handleTravellerDragStart",value:function(t,e){var n=Td(e)?e.changedTouches[0]:e;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:t,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(t){var e,n=this.state,r=n.brushMoveStartX,i=n.movingTravellerId,o=n.endX,a=n.startX,c=this.state[i],u=this.props,s=u.x,l=u.width,f=u.travellerWidth,p=u.onChange,d=u.gap,h=u.data,v={startX:this.state.startX,endX:this.state.endX},y=t.pageX-r;y>0?y=Math.min(y,s+l-f-c):y<0&&(y=Math.max(y,s-c)),v[i]=c+y;var m=this.getIndex(v),g=m.startIndex,b=m.endIndex;this.setState((Ed(e={},i,c+y),Ed(e,"brushMoveStartX",t.pageX),e),(function(){var t;p&&(t=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===t||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===t)&&p(m))}))}},{key:"renderBackground",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.fill,c=t.stroke;return o.createElement("rect",{stroke:c,fill:a,x:e,y:n,width:r,height:i})}},{key:"renderPanorama",value:function(){var t=this.props,e=t.x,n=t.y,r=t.width,i=t.height,a=t.data,c=t.children,u=t.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:e,y:n,width:r,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(t,e){var n=this.props,r=n.y,i=n.travellerWidth,c=n.height,u=n.traveller,s=Math.max(t,this.props.x),l=Id(Id({},Nt(this.props)),{},{x:s,y:r,width:i,height:c});return o.createElement(Ht,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[e],onTouchStart:this.travellerDragStartHandlers[e],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(t,e){var n=this.props,r=n.y,i=n.height,a=n.stroke,c=n.travellerWidth,u=Math.min(t,e)+c,s=Math.max(Math.abs(e-t)-c,0);return o.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:u,y:r,width:s,height:i})}},{key:"renderText",value:function(){var t=this.props,e=t.startIndex,n=t.endIndex,r=t.y,i=t.height,a=t.travellerWidth,c=t.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(Ht,{className:"recharts-brush-texts"},o.createElement(Ma,xd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:r+i/2},f),this.getTextOfTick(e)),o.createElement(Ma,xd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:r+i/2},f),this.getTextOfTick(n)))}},{key:"render",value:function(){var t=this.props,e=t.data,n=t.className,r=t.children,i=t.x,a=t.y,c=t.width,u=t.height,s=t.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,v=l.isTravellerMoving;if(!e||!e.length||!J(i)||!J(a)||!J(c)||!J(u)||c<=0||u<=0)return null;var y=A()("recharts-brush",n),m=1===o.Children.count(r),g=function(t,e){if(!t)return null;var n=t.replace(/(\w)/,(function(t){return t.toUpperCase()})),r=gd.reduce((function(t,r){return yd(yd({},t),{},md({},r+n,e))}),{});return r[t]=e,r}("userSelect","none");return o.createElement(Ht,{className:y,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),m&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||v||s)&&this.renderText())}}])&&Md(e.prototype,n),r&&Md(e,r),a}(o.PureComponent);Pd.displayName="Brush",Pd.defaultProps={height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1};var Nd=function(t,e){var n=t.alwaysShow,r=t.ifOverflow;return n&&(r="extendDomain"),r===e},Ad=n(18345),Cd=n.n(Ad);function Dd(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ld(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Rd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Ld(Object(n),!0).forEach((function(e){zd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Ld(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function zd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Wd=function(t,e){var n=t.x,r=t.y,i=e.x,o=e.y;return{x:Math.min(n,i),y:Math.min(r,o),width:Math.abs(i-n),height:Math.abs(o-r)}},Hd=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.scale=void 0,this.scale=e}var e,n,r;return e=t,r=[{key:"create",value:function(e){return new t(e)}}],(n=[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.bandAware,r=e.position;if(void 0!==t){if(r)switch(r){case"start":return this.scale(t);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(t)+o;default:return this.scale(t)}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(t)+a}return this.scale(t)}}},{key:"isInRange",value:function(t){var e=this.range(),n=e[0],r=e[e.length-1];return n<=r?t>=n&&t<=r:t>=r&&t<=n}}])&&Dd(e.prototype,n),r&&Dd(e,r),t}();Hd.EPS=1e-4;var Ud=function(t){var e=Object.keys(t).reduce((function(e,n){return Rd(Rd({},e),{},zd({},n,Hd.create(t[n])))}),{});return Rd(Rd({},e),{},{apply:function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware;return Cd()(t,(function(t,n){return e[n].apply(t,{bandAware:r})}))},isInRange:function(t){return ft()(t,(function(t,n){return e[n].isInRange(t)}))}})};function Bd(){return(Bd=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Gd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Zd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Gd(Object(n),!0).forEach((function(e){Fd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Gd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Fd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Vd(t){var e=t.x,n=t.y,r=t.r,i=t.alwaysShow,a=t.clipPathId,c=Y(e),u=Y(n);if(et(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(t){var e=t.x,n=t.y,r=t.xAxis,i=t.yAxis,o=Ud({x:r.scale,y:i.scale}),a=o.apply({x:e,y:n},{bandAware:!0});return Nd(t,"discard")&&!o.isInRange(a)?null:a}(t);if(!s)return null;var l=s.x,f=s.y,p=t.shape,d=t.className,h=Zd(Zd({clipPath:Nd(t,"hidden")?"url(#".concat(a,")"):void 0},Nt(t,!0)),{},{cx:l,cy:f});return o.createElement(Ht,{className:A()("recharts-reference-dot",d)},Vd.renderDot(p,h),Na.renderCallByParent(t,{x:l-r,y:f-r,width:2*r,height:2*r}))}Vd.displayName="ReferenceDot",Vd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Vd.renderDot=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(xo,Bd({},e,{cx:e.cx,cy:e.cy,className:"recharts-reference-dot-dot"}))};var Jd=n(94927),Yd=n.n(Jd);function qd(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Xd(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?qd(Object(n),!0).forEach((function(e){Qd(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):qd(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Qd(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $d(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Kd(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Kd(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kd(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function th(){return(th=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function eh(t){var e=t.x,n=t.y,r=t.segment,i=t.xAxis,a=t.yAxis,c=t.shape,u=t.className,s=t.alwaysShow,l=t.clipPathId;et(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(t,e,n,r,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(n){var f=i.y,p=i.yAxis.orientation,d=t.y.apply(f,{position:l});if(Nd(i,"discard")&&!t.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(e){var v=i.x,y=i.xAxis.orientation,m=t.x.apply(v,{position:l});if(Nd(i,"discard")&&!t.x.isInRange(m))return null;var g=[{x:m,y:c+s},{x:m,y:c}];return"top"===y?g.reverse():g}if(r){var b=i.segment.map((function(e){return t.apply(e,{position:l})}));return Nd(i,"discard")&&Yd()(b,(function(e){return!t.isInRange(e)}))?null:b}return null}(Ud({x:i.scale,y:a.scale}),Y(e),Y(n),r&&2===r.length,t);if(!f)return null;var p=$d(f,2),d=p[0],h=d.x,v=d.y,y=p[1],m=y.x,g=y.y,b=Xd(Xd({clipPath:Nd(t,"hidden")?"url(#".concat(l,")"):void 0},Nt(t,!0)),{},{x1:h,y1:v,x2:m,y2:g});return o.createElement(Ht,{className:A()("recharts-reference-line",u)},function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement("line",th({},e,{className:"recharts-reference-line-line"}))}(c,b),Na.renderCallByParent(t,function(t){var e=t.x1,n=t.y1,r=t.x2,i=t.y2;return Wd({x:e,y:n},{x:r,y:i})}({x1:h,y1:v,x2:m,y2:g})))}function nh(){return(nh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function rh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function ih(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?rh(Object(n),!0).forEach((function(e){oh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):rh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}eh.displayName="ReferenceLine",eh.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function ah(t){var e=t.x1,n=t.x2,r=t.y1,i=t.y2,a=t.className,c=t.alwaysShow,u=t.clipPathId;et(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=Y(e),l=Y(n),f=Y(r),p=Y(i),d=t.shape;if(!(s||l||f||p||d))return null;var h=function(t,e,n,r,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Ud({x:s.scale,y:l.scale}),p={x:t?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:n?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:e?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:r?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!Nd(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Wd(p,d):null}(s,l,f,p,t);if(!h&&!d)return null;var v=Nd(t,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(Ht,{className:A()("recharts-reference-area",a)},ah.renderRect(d,ih(ih({clipPath:v},Nt(t,!0)),h)),Na.renderCallByParent(t,h))}ah.displayName="ReferenceArea",ah.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1},ah.renderRect=function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Po,nh({},e,{className:"recharts-reference-area-rect"}))};var ch=function(t,e,n,r,i){var o=Wo(t,eh.displayName),a=Wo(t,Vd.displayName),c=o.concat(a),u=Wo(t,ah.displayName),s="".concat(r,"Id"),l=r[0],f=e;if(c.length&&(f=c.reduce((function(t,e){if(e.props[s]===n&&Nd(e.props,"extendDomain")&&J(e.props[l])){var r=e.props[l];return[Math.min(t[0],r),Math.max(t[1],r)]}return t}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(t,e){if(e.props[s]===n&&Nd(e.props,"extendDomain")&&J(e.props[p])&&J(e.props[d])){var r=e.props[p],i=e.props[d];return[Math.min(t[0],r,i),Math.max(t[1],r,i)]}return t}),f)}return i&&i.length&&(f=i.reduce((function(t,e){return J(e)?[Math.min(t[0],e),Math.max(t[1],e)]:t}),f)),f},uh=n(2594),sh=new(n.n(uh)());sh.setMaxListeners&&sh.setMaxListeners(10);var lh="recharts.syncMouseEvents";function fh(t){return(fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ph(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||Ih(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dh(){return(dh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function hh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function vh(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function yh(t,e){return(yh=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function mh(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=xh(t);if(e){var i=xh(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return gh(this,n)}}function gh(t,e){return!e||"object"!==fh(e)&&"function"!=typeof e?bh(t):e}function bh(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xh(t){return(xh=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}function wh(t){return function(t){if(Array.isArray(t))return Eh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||Ih(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ih(t,e){if(t){if("string"==typeof t)return Eh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Eh(t,e):void 0}}function Eh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Mh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function Sh(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Mh(Object(n),!0).forEach((function(e){Oh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Mh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Oh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var jh={xAxis:["bottom","top"],yAxis:["left","right"]},_h={x:0,y:0},kh=Number.isFinite?Number.isFinite:isFinite,Th="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Ph="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,Nh=function(t,e,n){var r=e.graphicalItems,i=e.dataStartIndex,o=e.dataEndIndex,a=(r||[]).reduce((function(t,e){var n=e.props.data;return n&&n.length?[].concat(wh(t),wh(n)):t}),[]);return a&&a.length>0?a:n&&n.props&&n.props.data&&n.props.data.length>0?n.props.data:t&&t.length&&J(i)&&J(o)?t.slice(i,o+1):[]},Ah=function(t,e,n,r){var i=t.graphicalItems,o=t.tooltipAxis,a=Nh(e,t);return n<0||!i||!i.length||n>=a.length?null:i.reduce((function(t,e){if(e.props.hide)return t;var i,c=e.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=tt(void 0===c?a:c,o.dataKey,r):i=c&&c[n]||a[n];return i?[].concat(wh(t),[hd(e,i)]):t}),[])},Ch=function(t,e,n,r){var i=r||{x:t.chartX,y:t.chartY},o=function(t,e){return"horizontal"===e?t.x:"vertical"===e?t.y:"centric"===e?t.angle:t.radius}(i,n),a=t.orderedTooltipTicks,c=t.tooltipAxis,u=t.tooltipTicks,s=function(t){var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(e=null==n?void 0:n.length)&&void 0!==e?e:0;if(a>1){if(i&&"angleAxis"===i.axisType&&Math.abs(Math.abs(i.range[1]-i.range[0])-360)<=1e-6)for(var c=i.range,u=0;u<a;u++){var s=u>0?r[u-1].coordinate:r[a-1].coordinate,l=r[u].coordinate,f=u>=a-1?r[0].coordinate:r[u+1].coordinate,p=void 0;if(F(l-s)!==F(f-l)){var d=[];if(F(f-l)===F(c[1]-c[0])){p=f;var h=l+c[1]-c[0];d[0]=Math.min(h,(h+s)/2),d[1]=Math.max(h,(h+s)/2)}else{p=s;var v=f+c[1]-c[0];d[0]=Math.min(l,(v+l)/2),d[1]=Math.max(l,(v+l)/2)}var y=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(t>y[0]&&t<=y[1]||t>=d[0]&&t<=d[1]){o=r[u].index;break}}else{var m=Math.min(s,f),g=Math.max(s,f);if(t>(m+l)/2&&t<=(g+l)/2){o=r[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2&&t<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&t>(n[b].coordinate+n[b-1].coordinate)/2){o=n[b].index;break}}else o=0;return o}(o,a,u,c);if(s>=0&&u){var l=u[s]&&u[s].value;return{activeTooltipIndex:s,activeLabel:l,activePayload:Ah(t,e,s,l),activeCoordinate:function(t,e,n,r){var i=e.find((function(t){return t&&t.index===n}));if(i){if("horizontal"===t)return{x:i.coordinate,y:r.y};if("vertical"===t)return{x:r.x,y:i.coordinate};if("centric"===t){var o=i.coordinate,a=r.radius;return Sh(Sh(Sh({},r),Xi(r.cx,r.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=r.angle;return Sh(Sh(Sh({},r),Xi(r.cx,r.cy,c,u)),{},{angle:u,radius:c})}return _h}(n,a,s,i)}}return null},Dh=function(t,e){var n=e.axes,r=e.graphicalItems,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=t.stackOffset,p=Kp(s,i);return n.reduce((function(e,n){var d=n.props,h=d.type,v=d.dataKey,y=d.allowDataOverflow,m=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,x=n.props[o],w=Nh(t.data,{graphicalItems:r.filter((function(t){return t.props[o]===x})),dataStartIndex:c,dataEndIndex:u}),I=w.length;if(!e[x]){var E,M,S;if(v){if(E=Yp(w,v,h),"category"===h&&p){var O=function(t){if(!z()(t))return!1;for(var e=t.length,n={},r=0;r<e;r++){if(n[t[r]])return!0;n[t[r]]=!0}return!1}(E);m&&O?(M=E,E=wt()(0,I)):m||(E=dd(n.props.domain,E,n).reduce((function(t,e){return t.indexOf(e)>=0?t:[].concat(wh(t),[e])}),[]))}else if("category"===h)E=m?E.filter((function(t){return""!==t&&!Et()(t)})):dd(n.props.domain,E,n).reduce((function(t,e){return t.indexOf(e)>=0||""===e||Et()(e)?t:[].concat(wh(t),[e])}),[]);else if("number"===h){var j=function(t,e,n,r){var i=e.map((function(e){return Qp(t,e,n,r)})).filter((function(t){return!Et()(t)}));return i&&i.length?i.reduce((function(t,e){return[Math.min(t[0],e[0]),Math.max(t[1],e[1])]}),[1/0,-1/0]):null}(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),v,i);j&&(E=j)}!p||"number"!==h&&"auto"===g||(S=Yp(w,v,"category"))}else E=p?wt()(0,I):a&&a[x]&&a[x].hasStack&&"number"===h?"expand"===f?[0,1]:ud(a[x].stackGroups,c,u):$p(w,r.filter((function(t){return t.props[o]===x&&!t.props.hide})),h,!0);if("number"===h)E=ch(l,E,x,i,b),n.props.domain&&(E=fd(n.props.domain,E,y));else if("category"===h&&n.props.domain){var _=n.props.domain;E.every((function(t){return _.indexOf(t)>=0}))&&(E=_)}return Sh(Sh({},e),{},Oh({},x,Sh(Sh({},n.props),{},{axisType:i,domain:E,categoricalDomain:S,duplicateDomain:M,originalDomain:n.props.domain,isCategorical:p,layout:s})))}return e}),{})},Lh=function(t,e){var n=e.axisType,r=void 0===n?"xAxis":n,i=e.AxisComp,o=e.graphicalItems,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.children,l="".concat(r,"Id"),f=Wo(s,i),p={};return f&&f.length?p=Dh(t,{axes:f,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(t,e){var n=e.graphicalItems,r=e.Axis,i=e.axisType,o=e.axisIdKey,a=e.stackGroups,c=e.dataStartIndex,u=e.dataEndIndex,s=t.layout,l=t.children,f=Nh(t.data,{graphicalItems:n,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Kp(s,i),h=-1;return n.reduce((function(t,e){var v,y=e.props[o];return t[y]?t:(h++,d?v=wt()(0,p):a&&a[y]&&a[y].hasStack?(v=ud(a[y].stackGroups,c,u),v=ch(l,v,y,i)):(v=fd(r.defaultProps.domain,$p(f,n.filter((function(t){return t.props[o]===y&&!t.props.hide})),"number"),r.defaultProps.allowDataOverflow),v=ch(l,v,y,i)),Sh(Sh({},t),{},Oh({},y,Sh(Sh({axisType:i},r.defaultProps),{},{hide:!0,orientation:L()(jh,"".concat(i,".").concat(h%2),null),domain:v,originalDomain:r.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(t,{Axis:i,graphicalItems:o,axisType:r,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},Rh=function(t){var e=t.children,n=t.defaultShowTooltip,r=Ho(e,Pd.displayName);return{chartX:0,chartY:0,dataStartIndex:r&&r.props&&r.props.startIndex||0,dataEndIndex:r&&r.props&&r.props.endIndex||t.data&&t.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!Et()(n)&&n}},zh=function(t){return"horizontal"===t?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===t?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===t?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Wh=function(t,e){var n=t.props,r=(t.graphicalItems,t.xAxisMap),i=void 0===r?{}:r,o=t.yAxisMap,a=void 0===o?{}:o,c=n.width,u=n.height,s=n.children,l=n.margin||{},f=Ho(s,Pd.displayName),p=Ho(s,Xr.displayName),d=Object.keys(a).reduce((function(t,e){var n=a[e],r=n.orientation;return n.mirror||n.hide?t:Sh(Sh({},t),{},Oh({},r,t[r]+n.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(t,e){var n=i[e],r=n.orientation;return n.mirror||n.hide?t:Sh(Sh({},t),{},Oh({},r,L()(t,"".concat(r))+n.height))}),{top:l.top||0,bottom:l.bottom||0}),v=Sh(Sh({},h),d),y=v.bottom;return f&&(v.bottom+=f.props.height||Pd.defaultProps.height),p&&e&&(v=function(t,e,n,r){var i=n.children,o=n.width,a=n.margin,c=o-(a.left||0)-(a.right||0),u=Xp({children:i,legendWidth:c}),s=t;if(u){var l=r||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&J(t[f])&&(s=Fp(Fp({},t),{},Vp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&J(t[p])&&(s=Fp(Fp({},t),{},Vp({},p,s[p]+(l.height||0))))}return s}(v,0,n,e)),Sh(Sh({brushBottom:y},v),{},{width:c-v.left-v.right,height:u-v.top-v.bottom})};function Hh(){return(Hh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Uh(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(t)))return;var n=[],r=!0,i=!1,o=void 0;try{for(var a,c=t[Symbol.iterator]();!(r=(a=c.next()).done)&&(n.push(a.value),!e||n.length!==e);r=!0);}catch(u){i=!0,o=u}finally{try{r||null==c.return||c.return()}finally{if(i)throw o}}return n}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return Bh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bh(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Bh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Gh(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function Zh(t){var e=t.offset,n=t.layout,r=t.width,i=t.dataKey,a=t.data,c=t.dataPointFormatter,u=t.xAxis,s=t.yAxis,l=Gh(t,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=Nt(l),p=a.map((function(t,a){var l=c(t,i),p=l.x,d=l.y,h=l.value,v=l.errorVal;if(!v)return null;var y,m,g=[];if(Array.isArray(v)){var b=Uh(v,2);y=b[0],m=b[1]}else y=m=v;if("vertical"===n){var x=u.scale,w=d+e,I=w+r,E=w-r,M=x(h-y),S=x(h+m);g.push({x1:S,y1:I,x2:S,y2:E}),g.push({x1:M,y1:w,x2:S,y2:w}),g.push({x1:M,y1:I,x2:M,y2:E})}else if("horizontal"===n){var O=s.scale,j=p+e,_=j-r,k=j+r,T=O(h-y),P=O(h+m);g.push({x1:_,y1:P,x2:k,y2:P}),g.push({x1:j,y1:T,x2:j,y2:P}),g.push({x1:_,y1:T,x2:k,y2:T})}return o.createElement(Ht,Hh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(t,e){return o.createElement("line",Hh({},t,{key:"line-".concat(e)}))})))}));return o.createElement(Ht,{className:"recharts-errorBars"},p)}Zh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},Zh.displayName="ErrorBar";var Fh=function(t){return null};Fh.displayName="Cell";var Vh=n(16731),Jh=n.n(Vh);function Yh(t){return function(t){if(Array.isArray(t))return qh(t)}(t)||function(t){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(t))return Array.from(t)}(t)||function(t,e){if(!t)return;if("string"==typeof t)return qh(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);"Object"===n&&t.constructor&&(n=t.constructor.name);if("Map"===n||"Set"===n)return Array.from(t);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qh(t,e)}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qh(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function Xh(){return(Xh=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function Qh(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function $h(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?Qh(Object(n),!0).forEach((function(e){Kh(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):Qh(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function Kh(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tv(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}var ev={valueAccessor:function(t){return z()(t.value)?Jh()(t.value):t.value}};function nv(t){var e=t.data,n=t.valueAccessor,r=t.dataKey,i=t.clockWise,a=t.id,c=t.textBreakAll,u=tv(t,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return e&&e.length?o.createElement(Ht,{className:"recharts-label-list"},e.map((function(t,e){var s=Et()(r)?n(t,e):Jp(t&&t.payload,r),l=Et()(a)?{}:{id:"".concat(a,"-").concat(e)};return o.createElement(Na,Xh({},Nt(t,!0),u,l,{parentViewBox:t.parentViewBox,index:e,value:s,textBreakAll:c,viewBox:Na.parseViewBox(Et()(i)?t:$h($h({},t),{},{clockWise:i})),key:"label-".concat(e)}))}))):null}function rv(t,e){return t?!0===t?o.createElement(nv,{key:"labelList-implicit",data:e}):o.isValidElement(t)||vt()(t)?o.createElement(nv,{key:"labelList-implicit",data:e,content:t}):jt()(t)?o.createElement(nv,Xh({data:e},t,{key:"labelList-implicit"})):null:null}function iv(t){return(iv="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function ov(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n,r,i={},o=Object.keys(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||(i[n]=t[n]);return i}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(r=0;r<o.length;r++)n=o[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function av(){return(av=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t}).apply(this,arguments)}function cv(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function uv(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?cv(Object(n),!0).forEach((function(e){sv(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):cv(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function sv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fv(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function pv(t,e){return(pv=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function dv(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,r=vv(t);if(e){var i=vv(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return hv(this,n)}}function hv(t,e){return!e||"object"!==iv(e)&&"function"!=typeof e?function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t):e}function vv(t){return(vv=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}nv.displayName="LabelList",nv.renderCallByParent=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!t||!t.children&&n&&!t.label)return null;var r=t.children,i=Wo(r,nv.displayName).map((function(t,n){return(0,o.cloneElement)(t,{data:e,key:"labelList-".concat(n)})}));if(!n)return i;var a=rv(t.label,e);return[a].concat(Yh(i))},nv.defaultProps=ev;var yv=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pv(t,e)}(a,t);var e,n,r,i=dv(a);function a(){var t;lv(this,a);for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return(t=i.call.apply(i,[this].concat(n))).state={isAnimationFinished:!1},t.id=X("recharts-bar-"),t.handleAnimationEnd=function(){var e=t.props.onAnimationEnd;t.setState({isAnimationFinished:!0}),e&&e()},t.handleAnimationStart=function(){var e=t.props.onAnimationStart;t.setState({isAnimationFinished:!1}),e&&e()},t}return e=a,r=[{key:"getDerivedStateFromProps",value:function(t,e){return t.animationId!==e.prevAnimationId?{prevAnimationId:t.animationId,curData:t.data,prevData:e.curData}:t.data!==e.curData?{curData:t.data}:null}},{key:"renderRectangle",value:function(t,e){return o.isValidElement(t)?o.cloneElement(t,e):vt()(t)?t(e):o.createElement(Po,e)}}],(n=[{key:"renderRectanglesStatically",value:function(t){var e=this,n=this.props.shape,r=Nt(this.props);return t&&t.map((function(t,i){var c=uv(uv(uv({},r),t),{},{index:i});return o.createElement(Ht,av({className:"recharts-bar-rectangle"},Ct(e.props,t,i),{key:"rectangle-".concat(i)}),a.renderRectangle(n,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var t=this,e=this.props,n=e.data,r=e.layout,i=e.isAnimationActive,a=e.animationBegin,c=e.animationDuration,u=e.animationEasing,s=e.animationId,l=this.state.prevData;return o.createElement(ln,{begin:a,duration:c,isActive:i,easing:u,from:{t:0},to:{t:1},key:"bar-".concat(s),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(e){var i=e.t,a=n.map((function(t,e){var n=l&&l[e];if(n){var o=K(n.x,t.x),a=K(n.y,t.y),c=K(n.width,t.width),u=K(n.height,t.height);return uv(uv({},t),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===r){var s=K(0,t.height)(i);return uv(uv({},t),{},{y:t.y+t.height-s,height:s})}var f=K(0,t.width)(i);return uv(uv({},t),{},{width:f})}));return o.createElement(Ht,null,t.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var t=this.props,e=t.data,n=t.isAnimationActive,r=this.state.prevData;return!(n&&e&&e.length)||r&&rc()(r,e)?this.renderRectanglesStatically(e):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var t=this,e=this.props.data,n=Nt(this.props.background);return e.map((function(e,r){e.value;var i=e.background,o=ov(e,["value","background"]);if(!i)return null;var c=uv(uv(uv(uv(uv({},o),{},{fill:"#eee"},i),n),Ct(t.props,e,r)),{},{index:r,key:"background-bar-".concat(r),className:"recharts-bar-background-rectangle"});return a.renderRectangle(t.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var t=this.props,e=t.data,n=t.xAxis,r=t.yAxis,i=t.layout,a=t.children,c=Wo(a,Zh.displayName);if(!c)return null;var u="vertical"===i?e[0].height/2:e[0].width/2;function s(t,e){return{x:t.x,y:t.y,value:t.value,errorVal:Jp(t,e)}}return c.map((function(t,a){return o.cloneElement(t,{key:"error-bar-".concat(a),data:e,xAxis:n,yAxis:r,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var t=this.props,e=t.hide,n=t.data,r=t.className,i=t.xAxis,a=t.yAxis,c=t.left,u=t.top,s=t.width,l=t.height,f=t.isAnimationActive,p=t.background,d=t.id;if(e||!n||!n.length)return null;var h=this.state.isAnimationFinished,v=A()("recharts-bar",r),y=i&&i.allowDataOverflow||a&&a.allowDataOverflow,m=Et()(d)?this.id:d;return o.createElement(Ht,{className:v},y?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(m)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(Ht,{className:"recharts-bar-rectangles",clipPath:y?"url(#clipPath-".concat(m,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&nv.renderCallByParent(this.props,n))}}])&&fv(e.prototype,n),r&&fv(e,r),a}(o.PureComponent);yv.displayName="Bar",yv.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!Sn.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},yv.getComposedData=function(t){var e=t.props,n=t.item,r=t.barPosition,i=t.bandSize,o=t.xAxis,a=t.yAxis,c=t.xAxisTicks,u=t.yAxisTicks,s=t.stackedData,l=t.dataStartIndex,f=t.displayedData,p=t.offset,d=function(t,e){if(!t)return null;for(var n=0,r=t.length;n<r;n++)if(t[n].item===e)return t[n].position;return null}(r,n);if(!d)return null;var h=e.layout,v=n.props,y=v.dataKey,m=v.children,g=v.minPointSize,b="horizontal"===h?a:o,x=s?b.scale.domain():null,w=function(t){var e=t.numericAxis,n=e.scale.domain();if("number"===e.type){var r=Math.min(n[0],n[1]),i=Math.max(n[0],n[1]);return r<=0&&i>=0?0:i<0?i:r}return n[0]}({numericAxis:b}),I=Wo(m,Fh.displayName),E=f.map((function(t,e){var r,f,p,v,m,b;if(s?r=function(t,e){if(!e||2!==e.length||!J(e[0])||!J(e[1]))return t;var n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]),i=[t[0],t[1]];return(!J(t[0])||t[0]<n)&&(i[0]=n),(!J(t[1])||t[1]>r)&&(i[1]=r),i[0]>r&&(i[0]=r),i[1]<n&&(i[1]=n),i}(s[l+e],x):(r=Jp(t,y),z()(r)||(r=[w,r])),"horizontal"===h){if(f=cd({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:t,index:e}),p=a.scale(r[1]),v=d.size,m=a.scale(r[0])-a.scale(r[1]),b={x:f,y:a.y,width:v,height:a.height},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)){var E=F(m||g)*(Math.abs(g)-Math.abs(m));p-=E,m+=E}}else f=o.scale(r[0]),p=cd({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:t,index:e}),v=o.scale(r[1])-o.scale(r[0]),m=d.size,b={x:o.x,y:p,width:o.width,height:m},Math.abs(g)>0&&Math.abs(v)<Math.abs(g)&&(v+=F(v||g)*(Math.abs(g)-Math.abs(v)));return uv(uv(uv({},t),{},{x:f,y:p,width:v,height:m,value:s?r:r[1],payload:t,background:b},I&&I[e]&&I[e].props),{},{tooltipPayload:[hd(n,t)],tooltipPosition:{x:f+v/2,y:p+m/2}})}));return uv({data:E,layout:h},p)};var mv=function(){return null};mv.displayName="XAxis",mv.defaultProps={allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",domain:[0,"auto"],padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0};var gv=function(){return null};gv.displayName="YAxis",gv.defaultProps={allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",domain:[0,"auto"],padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1};var bv=function(t){var e,n,r=t.chartName,i=t.GraphicalChild,a=t.defaultTooltipEventType,c=void 0===a?"axis":a,u=t.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=t.axisComponents,f=t.legendContent,p=t.formatAxisMap,d=t.defaultProps,h=function(t,e){var n=e.graphicalItems,r=e.stackGroups,i=e.offset,a=e.updateId,c=e.dataStartIndex,u=e.dataEndIndex,s=t.barSize,f=t.layout,p=t.barGap,d=t.barCategoryGap,h=t.maxBarSize,v=zh(f),y=v.numericAxisName,m=v.cateAxisName,g=function(t){return!(!t||!t.length)&&t.some((function(t){var e=zo(t&&t.type);return e&&e.indexOf("Bar")>=0}))}(n)&&function(t){var e=t.barSize,n=t.stackGroups,r=void 0===n?{}:n;if(!r)return{};for(var i={},o=Object.keys(r),a=0,c=o.length;a<c;a++)for(var u=r[o[a]].stackGroups,s=Object.keys(u),l=0,f=s.length;l<f;l++){var p=u[s[l]],d=p.items,h=p.cateAxisId,v=d.filter((function(t){return zo(t.type).indexOf("Bar")>=0}));if(v&&v.length){var y=v[0].props.barSize,m=v[0].props[h];i[m]||(i[m]=[]),i[m].push({item:v[0],stackList:v.slice(1),barSize:Et()(y)?e:y})}}return i}({barSize:s,stackGroups:r}),b=[];return n.forEach((function(n,s){var v=Nh(t.data,{dataStartIndex:c,dataEndIndex:u},n),x=n.props,w=x.dataKey,I=x.maxBarSize,E=n.props["".concat(y,"Id")],M=n.props["".concat(m,"Id")],S=l.reduce((function(t,r){var i,o=e["".concat(r.axisType,"Map")],a=n.props["".concat(r.axisType,"Id")],c=o&&o[a];return Sh(Sh({},t),{},(Oh(i={},r.axisType,c),Oh(i,"".concat(r.axisType,"Ticks"),ed(c)),i))}),{}),O=S[m],j=S["".concat(m,"Ticks")],_=r&&r[E]&&r[E].hasStack&&function(t,e){var n=t.props.stackId;if(Y(n)){var r=e[n];if(r&&r.items.length){for(var i=-1,o=0,a=r.items.length;o<a;o++)if(r.items[o]===t){i=o;break}return i>=0?r.stackedData[i]:null}}return null}(n,r[E].stackGroups),k=zo(n.type).indexOf("Bar")>=0,T=pd(O,j),P=[];if(k){var N=pd(O,j,!0),A=Et()(I)?h:I;P=function(t){var e=t.barGap,n=t.barCategoryGap,r=t.bandSize,i=t.sizeList,o=void 0===i?[]:i,a=t.maxBarSize,c=o.length;if(c<1)return null;var u,s=Q(e,r,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=r/c,p=o.reduce((function(t,e){return t+e.barSize||0}),0);(p+=(c-1)*s)>=r&&(p-=(c-1)*s,s=0),p>=r&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((r-p)/2>>0)-s,size:0};u=o.reduce((function(t,e){var n=[].concat(Bp(t),[{item:e.item,position:{offset:d.offset+d.size+s,size:l?f:e.barSize}}]);return d=n[n.length-1].position,e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){n.push({item:t,position:d})})),n}),[])}else{var h=Q(n,r,0,!0);r-2*h-(c-1)*s<=0&&(s=0);var v=(r-2*h-(c-1)*s)/c;v>1&&(v>>=0);var y=a===+a?Math.min(v,a):v;u=o.reduce((function(t,e,n){var r=[].concat(Bp(t),[{item:e.item,position:{offset:h+(v+s)*n+(v-y)/2,size:y}}]);return e.stackList&&e.stackList.length&&e.stackList.forEach((function(t){r.push({item:t,position:r[r.length-1].position})})),r}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:N!==T?N:T,sizeList:g[M],maxBarSize:A}),N!==T&&(P=P.map((function(t){return Sh(Sh({},t),{},{position:Sh(Sh({},t.position),{},{offset:t.position.offset-N/2})})})))}var C,D,L,R,z=n&&n.type&&n.type.getComposedData;z&&b.push({props:Sh(Sh({},z(Sh(Sh({},S),{},{displayedData:v,props:t,dataKey:w,item:n,bandSize:T,barPosition:P,offset:i,stackedData:_,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(C={key:n.key||"item-".concat(s)},Oh(C,y,S[y]),Oh(C,m,S[m]),Oh(C,"animationId",a),C)),childIndex:(D=n,L=t.children,R=-1,o.Children.forEach(L,(function(t,e){t===D&&(R=e)})),R),item:n})})),b},v=function(t,e){var n=t.props,o=t.dataStartIndex,a=t.dataEndIndex,c=t.updateId;if(!Uo({props:n}))return null;var u=n.children,s=n.layout,f=n.stackOffset,d=n.data,v=n.reverseStackOrder,y=zh(s),m=y.numericAxisName,g=y.cateAxisName,b=Wo(u,i),x=function(t,e,n,r,i,o){if(!t)return null;var a=(o?e.reverse():e).reduce((function(t,e){var i=e.props,o=i.stackId;if(i.hide)return t;var a=e.props[n],c=t[a]||{hasStack:!1,stackGroups:{}};if(Y(o)){var u=c.stackGroups[o]||{numericAxisId:n,cateAxisId:r,items:[]};u.items.push(e),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[X("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[e]};return Fp(Fp({},t),{},Vp({},a,c))}),{});return Object.keys(a).reduce((function(e,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(e,o){var a=c.stackGroups[o];return Fp(Fp({},e),{},Vp({},o,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:od(t,a.items,i)}))}),{})),Fp(Fp({},e),{},Vp({},o,c))}),{})}(d,b,"".concat(m,"Id"),"".concat(g,"Id"),f,v),w=l.reduce((function(t,e){var r="".concat(e.axisType,"Map");return Sh(Sh({},t),{},Oh({},r,Lh(n,Sh(Sh({},e),{},{graphicalItems:b,stackGroups:e.axisType===m&&x,dataStartIndex:o,dataEndIndex:a}))))}),{}),I=Wh(Sh(Sh({},w),{},{props:n,graphicalItems:b}),null==e?void 0:e.legendBBox);Object.keys(w).forEach((function(t){w[t]=p(n,w[t],I,t.replace("Map",""),r)}));var E,M,S=w["".concat(g,"Map")],O=(E=$(S),{tooltipTicks:M=ed(E,!1,!0),orderedTooltipTicks:bt()(M,(function(t){return t.coordinate})),tooltipAxis:E,tooltipAxisBandSize:pd(E)}),j=h(n,Sh(Sh({},w),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:x,offset:I}));return Sh(Sh({formatedGraphicalItems:j,graphicalItems:b,offset:I,stackGroups:x},O),w)};return n=e=function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yh(t,e)}(u,t);var e,n,i,a=mh(u);function u(t){var e;return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,u),(e=a.call(this,t)).uniqueChartId=void 0,e.clipPathId=void 0,e.legendInstance=void 0,e.deferId=void 0,e.container=void 0,e.clearDeferId=function(){!Et()(e.deferId)&&Ph&&Ph(e.deferId),e.deferId=null},e.handleLegendBBoxUpdate=function(t){if(t&&e.legendInstance){var n=e.state,r=n.dataStartIndex,i=n.dataEndIndex,o=n.updateId;e.setState(Sh({legendBBox:t},v({props:e.props,dataStartIndex:r,dataEndIndex:i,updateId:o},Sh(Sh({},e.state),{},{legendBBox:t}))))}},e.handleReceiveSyncEvent=function(t,n,r){e.props.syncId===t&&n!==e.uniqueChartId&&(e.clearDeferId(),e.deferId=Th&&Th(e.applySyncEvent.bind(bh(e),r)))},e.handleBrushChange=function(t){var n=t.startIndex,r=t.endIndex;if(n!==e.state.dataStartIndex||r!==e.state.dataEndIndex){var i=e.state.updateId;e.setState((function(){return Sh({dataStartIndex:n,dataEndIndex:r},v({props:e.props,dataStartIndex:n,dataEndIndex:r,updateId:i},e.state))})),e.triggerSyncEvent({dataStartIndex:n,dataEndIndex:r})}},e.handleMouseEnter=function(t){var n=e.props.onMouseEnter,r=e.getMouseInfo(t);if(r){var i=Sh(Sh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)}},e.triggeredAfterMouseMove=function(t){var n=e.props.onMouseMove,r=e.getMouseInfo(t),i=r?Sh(Sh({},r),{},{isTooltipActive:!0}):{isTooltipActive:!1};e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)},e.handleItemMouseEnter=function(t){e.setState((function(){return{isTooltipActive:!0,activeItem:t,activePayload:t.tooltipPayload,activeCoordinate:t.tooltipPosition||{x:t.cx,y:t.cy}}}))},e.handleItemMouseLeave=function(){e.setState((function(){return{isTooltipActive:!1}}))},e.handleMouseMove=function(t){t&&vt()(t.persist)&&t.persist(),e.triggeredAfterMouseMove(t)},e.handleMouseLeave=function(t){var n=e.props.onMouseLeave,r={isTooltipActive:!1};e.setState(r),e.triggerSyncEvent(r),vt()(n)&&n(r,t),e.cancelThrottledTriggerAfterMouseMove()},e.handleOuterEvent=function(t){var n=function(t){var e=t&&t.type;return e&&Ro[e]?Ro[e]:null}(t),r=L()(e.props,"".concat(n));n&&vt()(r)&&r(/.*touch.*/i.test(n)?e.getMouseInfo(t.changedTouches[0]):e.getMouseInfo(t),t)},e.handleClick=function(t){var n=e.props.onClick,r=e.getMouseInfo(t);if(r){var i=Sh(Sh({},r),{},{isTooltipActive:!0});e.setState(i),e.triggerSyncEvent(i),vt()(n)&&n(i,t)}},e.handleMouseDown=function(t){var n=e.props.onMouseDown;vt()(n)&&n(e.getMouseInfo(t),t)},e.handleMouseUp=function(t){var n=e.props.onMouseUp;vt()(n)&&n(e.getMouseInfo(t),t)},e.handleTouchMove=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseMove(t.changedTouches[0])},e.handleTouchStart=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseDown(t.changedTouches[0])},e.handleTouchEnd=function(t){null!=t.changedTouches&&t.changedTouches.length>0&&e.handleMouseUp(t.changedTouches[0])},e.verticalCoordinatesGenerator=function(t){var e=t.xAxis,n=t.width,r=t.height,i=t.offset;return td(Ja.getTicks(Sh(Sh(Sh({},Ja.defaultProps),e),{},{ticks:ed(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.left,i.left+i.width)},e.horizontalCoordinatesGenerator=function(t){var e=t.yAxis,n=t.width,r=t.height,i=t.offset;return td(Ja.getTicks(Sh(Sh(Sh({},Ja.defaultProps),e),{},{ticks:ed(e,!0),viewBox:{x:0,y:0,width:n,height:r}})),i.top,i.top+i.height)},e.axesTicksGenerator=function(t){return ed(t,!0)},e.renderCursor=function(t){var n=e.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.offset,s=n.activeTooltipIndex,l=e.getTooltipEventType();if(!(t&&t.props.cursor&&i&&a&&"axis"===l))return null;var f,p=e.props.layout,d=Di;if("ScatterChart"===r)f=a,d=Zi;else if("BarChart"===r)f=e.getCursorRectangle(),d=Po;else if("radial"===p){var h=e.getCursorPoints(),v=h.cx,y=h.cy,m=h.radius;f={cx:v,cy:y,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:m,outerRadius:m},d=lo}else f={points:e.getCursorPoints()},d=Di;var g=t.key||"_recharts-cursor",b=Sh(Sh(Sh(Sh({stroke:"#ccc",pointerEvents:"none"},u),f),Nt(t.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(t.props.cursor)?(0,o.cloneElement)(t.props.cursor,b):(0,o.createElement)(d,b)},e.renderPolarAxis=function(t,n,r){var i=L()(t,"type.axisType"),a=L()(e.state,"".concat(i,"Map"))[t.props["".concat(i,"Id")]];return(0,o.cloneElement)(t,Sh(Sh({},a),{},{className:i,key:t.key||"".concat(n,"-").concat(r),ticks:ed(a,!0)}))},e.renderXAxis=function(t,n,r){var i=e.state.xAxisMap[t.props.xAxisId];return e.renderAxis(i,t,n,r)},e.renderYAxis=function(t,n,r){var i=e.state.yAxisMap[t.props.yAxisId];return e.renderAxis(i,t,n,r)},e.renderGrid=function(t){var n=e.state,r=n.xAxisMap,i=n.yAxisMap,a=n.offset,c=e.props,u=c.width,s=c.height,l=$(r),f=dt()(i,(function(t){return ft()(t.domain,kh)}))||$(i),p=t.props||{};return(0,o.cloneElement)(t,{key:t.key||"grid",x:J(p.x)?p.x:a.left,y:J(p.y)?p.y:a.top,width:J(p.width)?p.width:a.width,height:J(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||e.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||e.horizontalCoordinatesGenerator})},e.renderPolarGrid=function(t){var n=t.props,r=n.radialLines,i=n.polarAngles,a=n.polarRadius,c=e.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=$(u),f=$(s),p=f.cx,d=f.cy,h=f.innerRadius,v=f.outerRadius;t.props;return(0,o.cloneElement)(t,{polarAngles:z()(i)?i:ed(f,!0).map((function(t){return t.coordinate})),polarRadius:z()(a)?a:ed(l,!0).map((function(t){return t.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:v,key:t.key||"polar-grid",radialLines:r})},e.renderLegend=function(){var t=e.state.formatedGraphicalItems,n=e.props,r=n.children,i=n.width,a=n.height,c=e.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Xp({children:r,formatedGraphicalItems:t,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=hh(s,["item"]);return(0,o.cloneElement)(l,Sh(Sh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(t){e.legendInstance=t},onBBoxUpdate:e.handleLegendBBoxUpdate}))},e.renderTooltip=function(){var t=e.props.children,n=Ho(t,zn.displayName);if(!n)return null;var r=e.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.activeLabel,s=r.offset;return(0,o.cloneElement)(n,{viewBox:Sh(Sh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},e.renderBrush=function(t){var n=e.props,r=n.margin,i=n.data,a=e.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(t,{key:t.key||"_recharts-brush",onChange:nd(e.handleBrushChange,null,t.props.onChange),data:i,x:J(t.props.x)?t.props.x:c.left,y:J(t.props.y)?t.props.y:c.top+c.height+c.brushBottom-(r.bottom||0),width:J(t.props.width)?t.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},e.renderReferenceElement=function(t,n,r){if(!t)return null;var i=bh(e).clipPathId,a=e.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=t.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(t,{key:t.key||"".concat(n,"-").concat(r),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},e.renderActivePoints=function(t){var e=t.item,n=t.activePoint,r=t.basePoint,i=t.childIndex,o=t.isRange,a=[],c=e.props.key,s=e.item.props,l=s.activeDot,f=Sh(Sh({index:i,dataKey:s.dataKey,cx:n.x,cy:n.y,r:4,fill:qp(e.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value,key:"".concat(c,"-activePoint-").concat(i)},Nt(l)),At(l));return a.push(u.renderActiveDot(l,f)),r?a.push(u.renderActiveDot(l,Sh(Sh({},f),{},{cx:r.x,cy:r.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},e.renderGraphicChild=function(t,n,r){var i=e.filterFormatItem(t,n,r);if(!i)return null;var a=e.getTooltipEventType(),c=e.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=e.props.children,d=Ho(p,zn.displayName),h=i.props,v=h.points,y=h.isRange,m=h.baseLine,g=i.item.props,b=g.activeDot,x=!g.hide&&u&&d&&b&&l>=0,w={};"axis"!==a&&d&&"click"===d.props.trigger?w={onClick:nd(e.handleItemMouseEnter,null,t.props.onCLick)}:"axis"!==a&&(w={onMouseLeave:nd(e.handleItemMouseLeave,null,t.props.onMouseLeave),onMouseEnter:nd(e.handleItemMouseEnter,null,t.props.onMouseEnter)});var I=(0,o.cloneElement)(t,Sh(Sh({},i.props),w));if(x){var E,M;if(s.dataKey&&!s.allowDuplicatedCategory){var S="function"==typeof s.dataKey?function(t){return"function"==typeof s.dataKey?s.dataKey(t.payload):null}:"payload.".concat(s.dataKey.toString());E=tt(v,S,f),M=y&&m&&tt(m,S,f)}else E=v[l],M=y&&m&&m[l];if(!Et()(E))return[I].concat(wh(e.renderActivePoints({item:i,activePoint:E,basePoint:M,childIndex:l,isRange:y})))}return y?[I,null,null]:[I,null]},e.renderCustomized=function(t){return(0,o.cloneElement)(t,Sh(Sh({},e.props),e.state))},e.uniqueChartId=Et()(t.id)?X("recharts"):t.id,e.clipPathId="".concat(e.uniqueChartId,"-clip"),t.throttleDelay&&(e.triggeredAfterMouseMove=mt()(e.triggeredAfterMouseMove,t.throttleDelay)),e.state={},e}return e=u,(n=[{key:"componentDidMount",value:function(){Et()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(t){Et()(t.syncId)&&!Et()(this.props.syncId)&&this.addListener(),!Et()(t.syncId)&&Et()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),Et()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var t=Ho(this.props.children,zn.displayName);if(t&&St()(t.props.shared)){var e=t.props.shared?"axis":"item";return s.indexOf(e)>=0?e:c}return c}},{key:"getMouseInfo",value:function(t){if(!this.container)return null;var e,n,r,i=function(t,e){return{chartX:Math.round(t.pageX-e.left),chartY:Math.round(t.pageY-e.top)}}(t,(e=this.container,n=e.ownerDocument.documentElement,r={top:0,left:0},void 0!==e.getBoundingClientRect&&(r=e.getBoundingClientRect()),{top:r.top+window.pageYOffset-n.clientTop,left:r.left+window.pageXOffset-n.clientLeft})),o=this.inRange(i.chartX,i.chartY);if(!o)return null;var a=this.state,c=a.xAxisMap,u=a.yAxisMap;if("axis"!==this.getTooltipEventType()&&c&&u){var s=$(c).scale,l=$(u).scale,f=s&&s.invert?s.invert(i.chartX):null,p=l&&l.invert?l.invert(i.chartY):null;return Sh(Sh({},i),{},{xValue:f,yValue:p})}var d=Ch(this.state,this.props.data,this.props.layout,o);return d?Sh(Sh({},i),d):null}},{key:"getCursorRectangle",value:function(){var t=this.props.layout,e=this.state,n=e.activeCoordinate,r=e.offset,i=e.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===t?n.x-o:r.left+.5,y:"horizontal"===t?r.top+.5:n.y-o,width:"horizontal"===t?i:r.width-1,height:"horizontal"===t?r.height-1:i}}},{key:"getCursorPoints",value:function(){var t,e,n,r,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)n=t=a.x,e=c.top,r=c.top+c.height;else if("vertical"===i)r=e=a.y,t=c.left,n=c.left+c.width;else if(!Et()(a.cx)||!Et()(a.cy)){if("centric"!==i){var u=a.cx,s=a.cy,l=a.radius,f=a.startAngle,p=a.endAngle;return{points:[Xi(u,s,l,f),Xi(u,s,l,p)],cx:u,cy:s,radius:l,startAngle:f,endAngle:p}}var d=a.cx,h=a.cy,v=a.innerRadius,y=a.outerRadius,m=a.angle,g=Xi(d,h,v,m),b=Xi(d,h,y,m);t=g.x,e=g.y,n=b.x,r=b.y}return[{x:t,y:e},{x:n,y:r}]}},{key:"inRange",value:function(t,e){var n=this.props.layout;if("horizontal"===n||"vertical"===n){var r=this.state.offset;return t>=r.left&&t<=r.left+r.width&&e>=r.top&&e<=r.top+r.height?{x:t,y:e}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=$(o);return Ki({x:t,y:e},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var t=this.props.children,e=this.getTooltipEventType(),n=Ho(t,zn.displayName),r={};return n&&"axis"===e&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Sh(Sh({},At(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){sh.on(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners+1)}},{key:"removeListener",value:function(){sh.removeListener(lh,this.handleReceiveSyncEvent),sh.setMaxListeners&&sh._maxListeners&&sh.setMaxListeners(sh._maxListeners-1)}},{key:"triggerSyncEvent",value:function(t){var e=this.props.syncId;Et()(e)||sh.emit(lh,e,this.uniqueChartId,t)}},{key:"applySyncEvent",value:function(t){var e=this.props,n=e.layout,r=e.syncMethod,i=this.state.updateId,o=t.dataStartIndex,a=t.dataEndIndex;if(Et()(t.dataStartIndex)&&Et()(t.dataEndIndex))if(Et()(t.activeTooltipIndex))this.setState(t);else{var c=t.chartX,u=t.chartY,s=t.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof r)s=r(p,t);else if("value"===r){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===t.activeLabel){s=d;break}}var h=Sh(Sh({},f),{},{x:f.left,y:f.top}),y=Math.min(c,h.x+h.width),m=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=Ah(this.state,this.props.data,s),x=p[s]?{x:"horizontal"===n?p[s].coordinate:y,y:"horizontal"===n?m:p[s].coordinate}:_h;this.setState(Sh(Sh({},t),{},{activeLabel:g,activeCoordinate:x,activePayload:b,activeTooltipIndex:s}))}else this.setState(Sh({dataStartIndex:o,dataEndIndex:a},v({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(t,e,n){for(var r=this.state.formatedGraphicalItems,i=0,o=r.length;i<o;i++){var a=r[i];if(a.item===t||a.props.key===t.key||e===zo(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderAxis",value:function(t,e,n,r){var i=this.props,a=i.width,c=i.height;return o.createElement(Ja,dh({},t,{className:"recharts-".concat(t.axisType," ").concat(t.axisType),key:e.key||"".concat(n,"-").concat(r),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var t=this.clipPathId,e=this.state.offset,n=e.left,r=e.top,i=e.height,a=e.width;return o.createElement("defs",null,o.createElement("clipPath",{id:t},o.createElement("rect",{x:n,y:r,height:i,width:a})))}},{key:"getXScales",value:function(){var t=this.state.xAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ph(e,2),r=n[0],i=n[1];return Sh(Sh({},t),{},Oh({},r,i.scale))}),{}):null}},{key:"getYScales",value:function(){var t=this.state.yAxisMap;return t?Object.entries(t).reduce((function(t,e){var n=ph(e,2),r=n[0],i=n[1];return Sh(Sh({},t),{},Oh({},r,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.xAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getYScaleByAxisId",value:function(t){var e,n;return null===(e=this.state.yAxisMap)||void 0===e||null===(n=e[t])||void 0===n?void 0:n.scale}},{key:"getItemByXY",value:function(t){var e=this.state.formatedGraphicalItems;if(e&&e.length)for(var n=0,r=e.length;n<r;n++){var i=e[n],o=i.props,a=i.item,c=zo(a.type);if("Bar"===c){var u=(o.data||[]).find((function(e){return To(t,e)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(e){return Ki(t,e)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var t=this;if(!Uo(this))return null;var e=this.props,n=e.children,r=e.className,i=e.width,a=e.height,c=e.style,u=e.compact,s=hh(e,["children","className","width","height","style","compact"]),l=Nt(s),f={CartesianGrid:{handler:this.renderGrid,once:!0},ReferenceArea:{handler:this.renderReferenceElement},ReferenceLine:{handler:this.renderReferenceElement},ReferenceDot:{handler:this.renderReferenceElement},XAxis:{handler:this.renderXAxis},YAxis:{handler:this.renderYAxis},Brush:{handler:this.renderBrush,once:!0},Bar:{handler:this.renderGraphicChild},Line:{handler:this.renderGraphicChild},Area:{handler:this.renderGraphicChild},Radar:{handler:this.renderGraphicChild},RadialBar:{handler:this.renderGraphicChild},Scatter:{handler:this.renderGraphicChild},Pie:{handler:this.renderGraphicChild},Funnel:{handler:this.renderGraphicChild},Tooltip:{handler:this.renderCursor,once:!0},PolarGrid:{handler:this.renderPolarGrid,once:!0},PolarAngleAxis:{handler:this.renderPolarAxis},PolarRadiusAxis:{handler:this.renderPolarAxis},Customized:{handler:this.renderCustomized}};if(u)return o.createElement(Rt,dh({},l,{width:i,height:a}),this.renderClipPath(),Vo(n,f));var p=this.parseEventsOfWrapper();return o.createElement("div",dh({className:A()("recharts-wrapper",r),style:Sh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(e){t.container=e}}),o.createElement(Rt,dh({},l,{width:i,height:a}),this.renderClipPath(),Vo(n,f)),this.renderLegend(),this.renderTooltip())}}])&&vh(e.prototype,n),i&&vh(e,i),u}(o.Component),e.displayName=r,e.defaultProps=Sh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),e.getDerivedStateFromProps=function(t,e){var n=t.data,r=t.children,i=t.width,o=t.height,a=t.layout,c=t.stackOffset,u=t.margin;if(Et()(e.updateId)){var s=Rh(t);return Sh(Sh(Sh({},s),{},{updateId:0},v(Sh(Sh({props:t},s),{},{updateId:0}),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(n!==e.prevData||i!==e.prevWidth||o!==e.prevHeight||a!==e.prevLayout||c!==e.prevStackOffset||!Do(u,e.prevMargin)){var l=Rh(t),f={chartX:e.chartX,chartY:e.chartY,isTooltipActive:e.isTooltipActive},p=Sh(Sh({},Ch(e,n,a)),{},{updateId:e.updateId+1}),d=Sh(Sh(Sh({},l),f),p);return Sh(Sh(Sh({},d),v(Sh({props:t},d),e)),{},{prevData:n,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:r})}if(!Zo(r,e.prevChildren)){var h=!Et()(n)?e.updateId:e.updateId+1;return Sh(Sh({updateId:h},v(Sh(Sh({props:t},e),{},{updateId:h}),e)),{},{prevChildren:r})}return null},e.renderActiveDot=function(t,e){var n;return n=(0,o.isValidElement)(t)?(0,o.cloneElement)(t,e):vt()(t)?t(e):o.createElement(xo,e),o.createElement(Ht,{className:"recharts-active-dot",key:e.key},n)},n}({chartName:"BarChart",GraphicalChild:yv,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:mv},{axisType:"yAxis",AxisComp:gv}],formatAxisMap:function(t,e,n,i,o){var a=t.width,c=t.height,u=t.layout,s=t.children,l=Object.keys(e),f={left:n.left,leftMirror:n.left,right:a-n.right,rightMirror:a-n.right,top:n.top,topMirror:n.top,bottom:c-n.bottom,bottomMirror:c-n.bottom},p=!!Ho(s,"Bar");return l.reduce((function(t,a){var c,s,l,d,h=e[a],v=h.orientation,y=h.domain,m=h.padding,g=void 0===m?{}:m,b=h.mirror,x=h.reversed,w="".concat(v).concat(b?"Mirror":"");c="xAxis"===i?[n.left+(g.left||0),n.left+n.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[n.top+n.height-(g.bottom||0),n.top+(g.top||0)]:[n.top+(g.top||0),n.top+n.height-(g.bottom||0)]:h.range,x&&(c=[c[1],c[0]]);var I=function(t,e,n){var i=t.scale,o=t.type,a=t.layout,c=t.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Ka(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:hs(),realScaleType:"linear"}:"category"===o&&e&&(e.indexOf("LineChart")>=0||e.indexOf("AreaChart")>=0||e.indexOf("ComposedChart")>=0&&!n)?{scale:ec(),realScaleType:"point"}:"category"===o?{scale:Ka(),realScaleType:"band"}:{scale:hs(),realScaleType:"linear"};if(Z()(i)){var u="scale".concat(Hn()(i));return{scale:(r[u]||ec)(),realScaleType:r[u]?u:"point"}}return vt()(i)?{scale:i}:{scale:ec(),realScaleType:"point"}}(h,o,p),E=I.scale,M=I.realScaleType;E.domain(y).range(c),function(t){var e=t.domain();if(e&&!(e.length<=2)){var n=e.length,r=t.range(),i=Math.min(r[0],r[1])-rd,o=Math.max(r[0],r[1])+rd,a=t(e[0]),c=t(e[n-1]);(a<i||a>o||c<i||c>o)&&t.domain([e[0],e[n-1]])}}(E);var S=ad(E,Rd(Rd({},h),{},{realScaleType:M}));"xAxis"===i?(d="top"===v&&!b||"bottom"===v&&b,s=n.left,l=f[w]-d*h.height):"yAxis"===i&&(d="left"===v&&!b||"right"===v&&b,s=f[w]-d*h.width,l=n.top);var O=Rd(Rd(Rd({},h),S),{},{realScaleType:M,x:s,y:l,scale:E,width:"xAxis"===i?n.width:h.width,height:"yAxis"===i?n.height:h.height});return O.bandSize=pd(O,S),h.hide||"xAxis"!==i?h.hide||(f[w]+=(d?-1:1)*O.width):f[w]+=(d?-1:1)*O.height,Rd(Rd({},t),{},zd({},a,O))}),{})}}),xv=t=>o.createElement("div",{className:"wprm-admin-dashboard-block-chart-days-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},"📊 ".concat((0,y.S)("Daily Interaction"))),o.createElement(st,{width:"100%",height:300},o.createElement(bv,{data:t.data},o.createElement(mv,{dataKey:"date"}),o.createElement(gv,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(zn,null),o.createElement(yv,{dataKey:"total",name:(0,y.S)("Interactions"),fill:"#2271b1"})))),wv=t=>0===t.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},t.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,t.label),o.createElement("th",null,(0,y.S)("Total")),o.createElement("th",null,(0,y.S)("Unique")))),o.createElement("tbody",null,t.data.map(((t,e)=>o.createElement("tr",{key:e},o.createElement("td",null,t.name),o.createElement("td",null,t.total),o.createElement("td",null,t.unique)))))));class Iv extends o.Component{constructor(t){super(t),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{M.Z.dashboard.getAnalytics().then((t=>{var e=!1;t&&(e=t.data),this.setState({loading:!1,data:e})}))}))}render(){var{data:t}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(k.Z,null):o.createElement(o.Fragment,null,0===t.total?o.createElement("span",null,(0,y.S)("No actions found for the last 7 days. If you just enabled analytics they should start showing up soon.")):o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xv,{data:t.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wv,{title:"🏆 ".concat((0,y.S)("Top Recipe Interactions (last 7 days)")),label:(0,y.S)("Recipe"),data:t.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(wv,{title:"👍 ".concat((0,y.S)("Interactions (last 7 days)")),label:(0,y.S)("Type"),data:t.per_type})))))}}class Ev extends o.Component{constructor(t){super(t),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(m,{title:(0,y.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(Iv,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(S,{title:(0,y.S)("Learn more")},"Go to your ",o.createElement("a",{href:"https://dailygrub.com/dashboard",target:"_blank"},"DailyGrub Dashboard")," for more insights!"):o.createElement(S,{title:"📈 ".concat((0,y.S)("Interested in more data?"))},"WP Recipe Maker partners with ",o.createElement("a",{href:"https://dailygrub.com",target:"_blank"},"DailyGrub")," to offer a full suite of recipe-specific analytics!")):o.createElement(_,{onEnable:()=>{M.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var Mv=n(47750);class Sv extends o.Component{constructor(t){super(t),this.state={rating:0}}render(){return o.createElement(m,{title:(0,y.S)("Feedback")},o.createElement("div",{className:"wprm-admin-dashboard-feedback-container"},0===this.state.rating&&o.createElement(o.Fragment,null,o.createElement("label",null,(0,y.S)("How would you rate WP Recipe Maker?")),o.createElement("div",null,o.createElement(Mv.Z,{rating:this.state.rating,starDimension:"25px",starSpacing:"0",starHoverColor:"#2271b1",changeRating:t=>{this.setState({rating:t},(()=>{M.Z.utilities.giveFeedback(t)}))},numberOfStars:5,name:"feedback"}))),0<this.state.rating&&3>=this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Sorry to hear you don't seem to be enjoying WP Recipe Maker as much as we want you to. It would be great if you could provide us with any feedback at all."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),4==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Happy to hear that you do seem to be enjoying WP Recipe Maker! We are aiming to be a 5-star plugin though, so it would be amazing if you could give us any feedback at all on how we can get there for you."),o.createElement("p",null,"Email ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures")," with any problems, frustrations or suggestions and we'll be happy to help you out! We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."),o.createElement("a",{className:"button button-primary",href:"mailto:support@bootstrapped.ventures",target:"_blank"},"Contact us now!")),5==this.state.rating&&o.createElement(o.Fragment,null,o.createElement("p",null,"Very happy to hear you're enjoying WP Recipe Maker!"),o.createElement("p",null,"It would be amazing if you could help spread the word and leave an honest ",o.createElement("a",{href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"review over at wordpress.org")," for our plugin. This really helps with getting new users, which leads to more customers and more time we can spend improving WPRM."),o.createElement("a",{className:"button button-primary",href:"https://wordpress.org/support/plugin/wp-recipe-maker/reviews/#new-post",target:"_blank"},"Leave a review!"),o.createElement("p",null,"Already left a review? Thanks a lot for taking the time! If you have any further feedback at all, feel free to contact us at ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures",target:"_blank"},"support@bootstrapped.ventures"),". We improve the plugin weekly based on customer feedback, so your thoughts can really make a difference."))))}}var Ov=n(62834);var jv=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},t.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},t.children)),_v=t=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank"},t.children):t.children),kv=t=>o.createElement(m,{title:(0,y.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(jv,{title:"🧑‍🎓 ".concat((0,y.S)("Learn More"))},o.createElement(_v,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,y.S)("Documentation in our knowledge base")),o.createElement(_v,{url:"https://demo.wprecipemaker.com/all-features/"},(0,y.S)("All features in action on our demo site")),o.createElement(_v,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,y.S)("Video tutorials and walkthroughs"))),o.createElement(jv,{title:"🤝 ".concat((0,y.S)("Our Partners"))},o.createElement(_v,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,y.S)("My Emissions carbon footprint labels")),o.createElement(_v,{url:"https://dailygrub.com"},(0,y.S)("DailyGrub recipe analytics suite"))),o.createElement(jv,{title:"🙋 ".concat((0,y.S)("Get Help"))},o.createElement(_v,{url:"https://www.facebook.com/groups/1741126932849712"},(0,y.S)("WP Recipe Maker Facebook Group")),o.createElement(_v,{url:"mailto:support@bootstrapped.ventures"},(0,y.S)("Email our support team"))))),Tv=t=>{var{item:e}=t;if(!e.title)return null;var n=o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-dashboard-news-item-title-container"},o.createElement("div",{className:"wprm-admin-dashboard-news-item-date"},e.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},e.title)),e.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(e.label_key)},e.label)),r=["wprm-admin-dashboard-news-item"];return e.new&&r.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank",className:r.join(" ")},n):o.createElement("div",{className:r.join(" ")},n))},Pv=t=>{var e=wprm_admin_dashboard.news;return e&&0!==e.length?o.createElement(m,{title:(0,y.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},e.map(((t,e)=>o.createElement(Tv,{item:t,key:e}))))):null},Nv=t=>{var{recipe:e}=t,n=e.hasOwnProperty("permalink")&&e.permalink;return o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name-container"},o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-date"},e.date_formatted?e.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},e.name?e.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},n&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:e.permalink,target:"_blank"},o.createElement(Ov.Z,{type:"eye",title:(0,y.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(Ov.Z,{type:"pencil",title:(0,y.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipe:e,saveCallback:n=>{var r=JSON.parse(JSON.stringify(e));r.name=n.name,t.onUpdate(r)}})}}))))};class Av extends o.Component{constructor(t){super(t),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(m,{title:(0,y.S)("Latest Recipes"),button:(0,y.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:t=>{var e=JSON.parse(JSON.stringify(this.state.recipes)),n=JSON.parse(JSON.stringify(t));n.date_formatted=wprm_admin_dashboard.today_formatted,(e=e.filter((t=>t.id!==n.id))).unshift(n),this.setState({recipes:e})}})}},o.createElement("div",{className:"wprm-admin-dashboard-recipes-container"},0===this.state.recipes.length?o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},(0,y.S)("No recipes found. Welcome to WP Recipe Maker!")):o.createElement(o.Fragment,null,this.state.recipes.map(((t,e)=>o.createElement(Nv,{recipe:t,onUpdate:t=>{var n=JSON.parse(JSON.stringify(this.state.recipes));n[e]=t,this.setState({recipes:n})},key:e})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,y.S)("Manage all recipes...")))))}}var Cv=t=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},t.children),Dv=[o.createElement(Cv,null,"Use the ",o.createElement("strong",null,"TAB key")," while entering ingredients or instructions to easily jump from field to field and create new lines."),o.createElement(Cv,null,"Copying your recipes from other sources?",o.createElement("br",null),"Use our ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Import Recipe from Text")," feature to speed things up."),o.createElement(Cv,null,"Have you seen the ",o.createElement("strong",null,"toolbar at the bottom of the recipe modal")," when editing rich fields (like the summary or instructions)? It gives you quick access to some editing and symbols."),o.createElement(Cv,null,"The ",o.createElement("strong",null,"Bulk Edit column")," on some of the WP Recipe Maker > Manage pages allows you to quickly edit multiple rows at once."),o.createElement(Cv,null,"Make sure to use the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," for roundup posts. This will add itemList metadata that allows those posts to show up as a carousel in Google."),o.createElement(Cv,null,"Give your visitors an easy way to find recipes by course, cuisine, ingredient, calories, ... by combining WPRM with our ",o.createElement("a",{href:"https://demo.wprecipemaker.com/recipe-index/",target:"_blank"},"WP Ultimate Post Grid plugin"),"."),o.createElement(Cv,null,"When adding equipment or ingredient names, the toolbar at the bottom of the recipe modal will ",o.createElement("strong",null,"show suggestions")," that you used before. Just click to use them and keep things consistent!"),o.createElement(Cv,null,o.createElement("strong",null,"Toggle specific columns")," at the top of the WP Recipe Maker > Manage page to customize it to your needs."),o.createElement(Cv,null,"Join the ",o.createElement("a",{href:"https://www.facebook.com/groups/1741126932849712/",target:"_blank"},"WP Recipe Maker Facebook Group")," to get access to a community of WPRM food bloggers, just like you!")];class Lv extends o.Component{constructor(t){super(t);var e=Math.floor(Math.random()*Dv.length);this.changeTip=this.changeTip.bind(this);var n=setInterval(this.changeTip,15e3);this.state={activeTip:e,interval:n,bar:"odd"}}changeTip(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,e=this.state.activeTip+t;e<0?e+=Dv.length:e%=Dv.length,clearInterval(this.state.interval),this.setState({activeTip:e,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(m,{title:(0,y.S)("Quick Tips")},o.createElement("div",{className:"wprm-admin-dashboard-tips-container"},o.createElement("div",{className:"wprm-admin-dashboard-tips-prev",onClick:()=>{this.changeTip(-1)}},"<"),o.createElement("div",{className:"wprm-admin-dashboard-tips"},Dv.map(((t,e)=>{var n=["wprm-admin-dashboard-tip-container"];return e===this.state.activeTip&&n.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:n.join(" "),key:e},t)}))),o.createElement("div",{className:"wprm-admin-dashboard-tips-next",onClick:()=>{this.changeTip(1)}},">")),o.createElement("div",{className:"wprm-admin-dashboard-tips-progress"},o.createElement("div",{className:"wprm-admin-dashboard-tips-progress-bar wprm-admin-dashboard-tips-progress-bar-".concat(this.state.bar)})))}}var{hooks:Rv}=WPRecipeMaker["wp-recipe-maker/dist/shared"],zv=Rv.applyFilters("dashboardBlocks",[{id:"recipes",block:Av},{id:"news",block:Pv},{id:"tips",block:Lv},{id:"learn",block:kv},{id:"analytics",block:Ev}]);window.wprm_admin_dashboard.hasOwnProperty("feedback")&&window.wprm_admin_dashboard.feedback&&zv.unshift({id:"feedback",block:Sv});class Wv extends o.Component{render(){var t=!1;return window.wprm_admin_dashboard.hasOwnProperty("marketing")&&window.wprm_admin_dashboard.marketing&&(t=wprm_admin_dashboard.marketing),o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),!1!==t&&o.createElement(E,{campaign:t}),o.createElement(v,{blocks:zv}))}}var Hv=document.getElementById("wprm-admin-dashboard");Hv&&i.render(o.createElement(Wv,null),Hv)},99237:function(t,e,n){"use strict";n.d(e,{Z:function(){return U}});var r=n(46087),i=wprm_admin.endpoints.analytics,o={delete:t=>r.Z.call("".concat(i,"/").concat(t),"DELETE")};function a(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var u=wprm_admin.endpoints.custom_taxonomies,s={save(t,e){var n=function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?a(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},e),i=t?"PUT":"POST";return r.Z.call(u,i,n)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>r.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(t){var e={id:t};return r.Z.call(p,"DELETE",e)}},h=wprm_admin.endpoints.modal,v={parseIngredients(t){var e={ingredients:t};return r.Z.call("".concat(h,"/ingredient/parse"),"POST",e)}},y=(n(35054),wprm_admin.endpoints.manage),m=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,x=!1,w={getData(t){return b?(x=t,new Promise((t=>t(!1)))):this.getDataDebounced(t)},getDataDebounced(t){return b=!0,r.Z.call("".concat(y,"/").concat(t.route),"POST",t).then((t=>{if(x){var e=x;return x=!1,this.getDataDebounced(e)}return b=!1,t}))},deleteUserRatings:t=>r.Z.call("".concat(m,"/recipe/").concat(t),"DELETE"),getTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e)),createTerm(t,e){var n={name:e};return r.Z.call("".concat(g).concat(t),"POST",n)},deleteTerm:(t,e)=>r.Z.call("".concat(g).concat(t,"/").concat(e,"?force=true"),"DELETE"),renameTerm(t,e,n){var i={name:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},changeTermSlug(t,e,n){var i={slug:n};return r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},renameTermLabel(t,e,n){var i={type:t,id:e,label:n};return r.Z.call("".concat(y,"/taxonomy/label"),"POST",i)},mergeTerm(t,e,n){var i={type:t,oldId:e,newId:n};return r.Z.call("".concat(y,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(t,e,n){var i={};return i[t]=n,r.Z.call("".concat(g).concat(t,"/").concat(e),"POST",i)},bulkEdit(t,e,n,i){var o={type:e,ids:n,action:i};return r.Z.call("".concat(y,"/").concat(t,"/bulk"),"POST",o)}},I=wprm_admin.endpoints.modal,E=!1,M=!1,S={getSuggestions(t){return E?(M=t,new Promise((t=>t(!1)))):this.getSuggestionsDebounced(t)},getSuggestionsDebounced(t){return E=!0,r.Z.call("".concat(I,"/suggest"),"POST",t).then((t=>{if(M){var e=M;return M=!1,this.getSuggestionsDebounced(e)}return E=!1,t}))}},O=wprm_admin.endpoints.rating,j={update(t){var e={rating:t};return r.Z.call("".concat(O),"POST",e)},updateComment(t,e){var n={rating:e};return r.Z.call("".concat(O,"/comment/").concat(t),"POST",n)},delete:t=>r.Z.call("".concat(O,"/").concat(t),"DELETE")},_=wprm_admin.endpoints.recipe,k=wprm_admin.endpoints.manage,T={get:t=>r.Z.call("".concat(_,"/").concat(t)),save(t){var e={recipe:t},n=_,i="POST",o=!!t.id&&parseInt(t.id);return o&&(n+="/".concat(o),i="PUT"),r.Z.call(n,i,e)},updateStatus(t,e){var n={status:e};return r.Z.call("".concat(_,"/").concat(t),"PUT",n)},delete(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(_,"/").concat(t);return e&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:t=>r.Z.call("".concat(k,"/revision/").concat(t),"DELETE")},P=wprm_admin.endpoints.setting,N={save(t){var e={settings:t};return r.Z.call(P,"POST",e)}},A=wprm_admin.endpoints.template,C=[],D={},L=null,R={previewShortcode(t,e,n){return D[t]=e,clearTimeout(L),L=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((t=>C.push(t)))},previewShortcodes(t){var e=C,n=D;C=[],D={};var r={recipeId:t,shortcodes:n};fetch("".concat(A,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((t=>t.json().then((n=>{var r=t.ok?n.preview:{};e.forEach((t=>t(r)))}))))},searchRecipes:t=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(t),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((t=>t.json())),save(t){var e={template:t};return r.Z.call(A,"POST",e)},delete(t){var e={slug:t};return r.Z.call(A,"DELETE",e)}},z=wprm_admin.endpoints.utilities,W={saveImage(t){var e={url:t};return r.Z.call("".concat(z,"/save_image"),"POST",e)},giveFeedback(t){var e={feedback:t};return r.Z.call("".concat(z,"/feedback"),"POST",e)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],U=H.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:v,manage:w,modal:S,rating:j,recipe:T,settings:N,template:R,utilities:W})},46087:function(t,e,n){"use strict";n(31807),n(35054),n(22321);e.Z={call(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var i={method:e,headers:{"X-WP-Nonce":r,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==e&&"DELETE"!==e||(i.method="POST",i.headers["X-HTTP-Method-Override"]=e),n&&(i.body=JSON.stringify(n));var o=0;return t=t.replace(/\?/g,(function(t){return 2<=++o?"&":t})),fetch(t,i).then((function(e){if(e.ok)return e.json();console.log(t,i),console.log(e);var n="",r=parseInt(e.status),o=!1;300<=r&&r<=399?o="A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===r||403===r?o="Something is blocking access. Are you or your webhost using a firewall like Cloudflare WAF or Sucuri? Try whitelisting your own IP address or this specific action.":404===r?o="The rest API endpoint could not be found. Are your permalinks set up correctly?":500<=r&&r<=599&&(o="The server is throwing an error. It could be hitting a memory or execution limit. Check with your webhost what the exact error is in the logs."),o&&(n+="".concat(o,"\r\n\r\n")),n+="Press OK to contact support@bootstrapped.ventures for support (opens an email popup).";var a="".concat(e.url," ").concat(e.redirected?"(redirected)":"","- ").concat(e.status," - ").concat(e.statusText);n+="\r\n\r\n".concat(a);try{e.text().then((t=>{if(console.log(t),-1!==t.indexOf("rest_cookie_invalid_nonce"))return alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."),!1;n+="\r\n\r\n".concat(t)}))}catch(u){console.log(u),n+="\r\n\r\n".concat(u)}if(confirm(n)){var c="I received the error message below at ".concat(window.location.href,"\r\n\r\n").concat(n);window.open("mailto:".concat(encodeURIComponent("support@bootstrapped.ventures"),"?subject=").concat(encodeURIComponent("WP Recipe Maker Error Message"),"&body=").concat(encodeURIComponent(c)))}return!1}))}}},62834:function(t,e,n){"use strict";n.d(e,{Z:function(){return c}});var r=n(89526),i=n(49092),o=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL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Wl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=t=>{var e=!!a.hasOwnProperty(t.type)&&a[t.type];if(!e)return null;var n=t.title,c=t.className?"wprm-admin-icon ".concat(t.className):"wprm-admin-icon",u=!!t.hasOwnProperty("hidden")&&t.hidden;return u&&(n="",c+=" wprm-admin-icon-hidden"),r.createElement(o.Z,{content:n},r.createElement("span",{className:c,onClick:u?()=>{}:t.onClick},r.createElement(i.Z,{src:e})))}},34133:function(t,e,n){"use strict";var r=n(89526);e.Z=t=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(t,e,n){"use strict";var r=n(89526),i=n(20877);function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function a(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){c(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function c(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}e.Z=t=>{if(!t.content)return t.children;var e=t.hasOwnProperty("style")?t.style:{};return r.createElement(i.Tooltip,{html:r.createElement("div",{dangerouslySetInnerHTML:{__html:t.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:t=>a(a({},t),{},{styles:a(a({},t.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:e},t.children)}},52082:function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r(Object(n),!0).forEach((function(e){o(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function o(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.d(e,{S:function(){return c}});var a={};function c(t){return a.hasOwnProperty(t)?a[t]:t}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=i(i({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=i(i({},a),wprm_admin.translations))},64403:function(t,e){var n;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed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?:\))/,/^(?:,)/,/^(?:$)/],conditions:{INITIAL:{rules:[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39],inclusive:!0}}}}();function a(){this.yy={}}return i.lexer=o,a.prototype=i,i.Parser=a,new a}();e.parser=n,e.Parser=n.Parser,e.parse=function(){return n.parse.apply(n,arguments)}},7402:function(t,e,n){"use strict";n.r(e);var r=function(){if("undefined"!=typeof Map)return Map;function t(t,e){var n=-1;return t.some((function(t,r){return t[0]===e&&(n=r,!0)})),n}return function(){function e(){this.__entries__=[]}return Object.defineProperty(e.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),e.prototype.get=function(e){var n=t(this.__entries__,e),r=this.__entries__[n];return r&&r[1]},e.prototype.set=function(e,n){var r=t(this.__entries__,e);~r?this.__entries__[r][1]=n:this.__entries__.push([e,n])},e.prototype.delete=function(e){var n=this.__entries__,r=t(n,e);~r&&n.splice(r,1)},e.prototype.has=function(e){return!!~t(this.__entries__,e)},e.prototype.clear=function(){this.__entries__.splice(0)},e.prototype.forEach=function(t,e){void 0===e&&(e=null);for(var n=0,r=this.__entries__;n<r.length;n++){var i=r[n];t.call(e,i[1],i[0])}},e}()}(),i="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,o=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),a="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(o):function(t){return setTimeout((function(){return t(Date.now())}),1e3/60)};var c=["top","right","bottom","left","width","height","size","weight"],u="undefined"!=typeof MutationObserver,s=function(){function t(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(t,e){var n=!1,r=!1,i=0;function o(){n&&(n=!1,t()),r&&u()}function c(){a(o)}function u(){var t=Date.now();if(n){if(t-i<2)return;r=!0}else n=!0,r=!1,setTimeout(c,e);i=t}return u}(this.refresh.bind(this),20)}return t.prototype.addObserver=function(t){~this.observers_.indexOf(t)||this.observers_.push(t),this.connected_||this.connect_()},t.prototype.removeObserver=function(t){var e=this.observers_,n=e.indexOf(t);~n&&e.splice(n,1),!e.length&&this.connected_&&this.disconnect_()},t.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},t.prototype.updateObservers_=function(){var t=this.observers_.filter((function(t){return t.gatherActive(),t.hasActive()}));return t.forEach((function(t){return t.broadcastActive()})),t.length>0},t.prototype.connect_=function(){i&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),u?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},t.prototype.disconnect_=function(){i&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},t.prototype.onTransitionEnd_=function(t){var e=t.propertyName,n=void 0===e?"":e;c.some((function(t){return!!~n.indexOf(t)}))&&this.refresh()},t.getInstance=function(){return this.instance_||(this.instance_=new t),this.instance_},t.instance_=null,t}(),l=function(t,e){for(var n=0,r=Object.keys(e);n<r.length;n++){var i=r[n];Object.defineProperty(t,i,{value:e[i],enumerable:!1,writable:!1,configurable:!0})}return t},f=function(t){return t&&t.ownerDocument&&t.ownerDocument.defaultView||o},p=g(0,0,0,0);function d(t){return parseFloat(t)||0}function h(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return e.reduce((function(e,n){return e+d(t["border-"+n+"-width"])}),0)}function v(t){var e=t.clientWidth,n=t.clientHeight;if(!e&&!n)return p;var r=f(t).getComputedStyle(t),i=function(t){for(var e={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var i=r[n],o=t["padding-"+i];e[i]=d(o)}return e}(r),o=i.left+i.right,a=i.top+i.bottom,c=d(r.width),u=d(r.height);if("border-box"===r.boxSizing&&(Math.round(c+o)!==e&&(c-=h(r,"left","right")+o),Math.round(u+a)!==n&&(u-=h(r,"top","bottom")+a)),!function(t){return t===f(t).document.documentElement}(t)){var s=Math.round(c+o)-e,l=Math.round(u+a)-n;1!==Math.abs(s)&&(c-=s),1!==Math.abs(l)&&(u-=l)}return g(i.left,i.top,c,u)}var y="undefined"!=typeof SVGGraphicsElement?function(t){return t instanceof f(t).SVGGraphicsElement}:function(t){return t instanceof f(t).SVGElement&&"function"==typeof t.getBBox};function m(t){return i?y(t)?function(t){var e=t.getBBox();return g(0,0,e.width,e.height)}(t):v(t):p}function g(t,e,n,r){return{x:t,y:e,width:n,height:r}}var b=function(){function t(t){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=g(0,0,0,0),this.target=t}return t.prototype.isActive=function(){var t=m(this.target);return this.contentRect_=t,t.width!==this.broadcastWidth||t.height!==this.broadcastHeight},t.prototype.broadcastRect=function(){var t=this.contentRect_;return this.broadcastWidth=t.width,this.broadcastHeight=t.height,t},t}(),x=function(t,e){var n,r,i,o,a,c,u,s=(r=(n=e).x,i=n.y,o=n.width,a=n.height,c="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,u=Object.create(c.prototype),l(u,{x:r,y:i,width:o,height:a,top:i,right:r+o,bottom:a+i,left:r}),u);l(this,{target:t,contentRect:s})},w=function(){function t(t,e,n){if(this.activeObservations_=[],this.observations_=new r,"function"!=typeof t)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=t,this.controller_=e,this.callbackCtx_=n}return t.prototype.observe=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)||(e.set(t,new b(t)),this.controller_.addObserver(this),this.controller_.refresh())}},t.prototype.unobserve=function(t){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(t instanceof f(t).Element))throw new TypeError('parameter 1 is not of type "Element".');var e=this.observations_;e.has(t)&&(e.delete(t),e.size||this.controller_.removeObserver(this))}},t.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},t.prototype.gatherActive=function(){var t=this;this.clearActive(),this.observations_.forEach((function(e){e.isActive()&&t.activeObservations_.push(e)}))},t.prototype.broadcastActive=function(){if(this.hasActive()){var t=this.callbackCtx_,e=this.activeObservations_.map((function(t){return new x(t.target,t.broadcastRect())}));this.callback_.call(t,e,t),this.clearActive()}},t.prototype.clearActive=function(){this.activeObservations_.splice(0)},t.prototype.hasActive=function(){return this.activeObservations_.length>0},t}(),I="undefined"!=typeof WeakMap?new WeakMap:new r,E=function t(e){if(!(this instanceof t))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=s.getInstance(),r=new w(e,n,this);I.set(this,r)};["observe","unobserve","disconnect"].forEach((function(t){E.prototype[t]=function(){var e;return(e=I.get(this))[t].apply(e,arguments)}}));var M=void 0!==o.ResizeObserver?o.ResizeObserver:E;e.default=M}},0,[[16906,669]]]);
dist/admin-faq.css CHANGED
@@ -2,9 +2,9 @@
2
 
3
  .wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
4
 
5
- .wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}@media only screen and (max-width: 600px){.wprm-recipe-details-unit{font-size:1em}}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-recipe-image picture{border:none !important}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient{display:flex}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit{margin-right:10px;flex-shrink:0}.wprm-ingredient-style-table-2-align .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align .wprm-recipe-ingredient-amount-unit{text-align:right}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes{flex:1}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name{margin-right:10px}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes{flex:1}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-instruction-ingredients-inline .wprm-recipe-instruction-ingredient{display:inline-block}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-toggle-switch-container{display:flex;align-items:center;margin:10px 0}.wprm-toggle-switch-container .wprm-toggle-switch{margin-right:10px}.wprm-toggle-switch-container label{cursor:pointer;margin:0;font-size:1em;flex-shrink:0}.wprm-toggle-switch-container .wprm-prevent-sleep-description{margin-left:10px;font-size:0.8em;line-height:1.1em}.wprm-toggle-switch{position:relative;display:inline-block;width:40px;height:20px}.wprm-toggle-switch input{opacity:0;width:0;height:0;margin:0;padding:0}.wprm-toggle-switch .wprm-toggle-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cccccc;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch .wprm-toggle-switch-slider:before{position:absolute;content:"";height:80%;left:7%;right:50%;bottom:10%;background-color:white;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider{background-color:#333333 !important}.wprm-toggle-switch input:focus+.wprm-toggle-switch-slider{box-shadow:0 0 0 3px rgba(0,0,0,0.12)}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider:before{left:50%;right:7%}.wprm-toggle-switch-rounded .wprm-toggle-switch-slider:before{border-radius:50%}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
6
 
7
- .wprm-recipe-equipment-container,.wprm-recipe-ingredients-container,.wprm-recipe-instructions-container{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list.wprm-advanced-list-reset{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list li{list-style-type:none}ul.wprm-advanced-list li:before{counter-increment:wprm-advanced-list-counter;content:counter(wprm-advanced-list-counter);display:flex;align-items:center;justify-content:center;float:left;font-weight:bold;margin:2px 0 0 -32px;border-radius:100%;border:0}.rtl ul.wprm-advanced-list li:before{float:right;margin:2px -32px 0 0}.wprm-checkbox-container{margin-left:-16px}.rtl .wprm-checkbox-container{margin-left:0;margin-right:-16px}.wprm-checkbox-container input[type="checkbox"]{width:16px !important;margin:0 !important;opacity:0}.wprm-checkbox-container label.wprm-checkbox-label{position:relative;display:inline !important;margin:0 !important;left:0;padding-left:26px}.wprm-checkbox-container label::before,.wprm-checkbox-container label::after{position:absolute;content:"";display:inline-block}.rtl ​.wprm-checkbox-container label::before{right:0}.rtl .wprm-checkbox-container label::after{right:5px}.wprm-checkbox-container label::before{height:18px;width:18px;border:1px solid;left:0;top:0}.wprm-checkbox-container label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg);left:5px;top:5px}.wprm-checkbox-container input[type="checkbox"]+label::after{content:none}.wprm-checkbox-container input[type="checkbox"]:checked+label::after{content:""}.wprm-checkbox-container input[type="checkbox"]:focus+label::before{outline:#3b99fc auto 5px}.wprm-recipe-equipment li,.wprm-recipe-ingredients li,.wprm-recipe-instructions li{position:relative}.wprm-recipe-equipment li .wprm-checkbox-container,.wprm-recipe-ingredients li .wprm-checkbox-container,.wprm-recipe-instructions li .wprm-checkbox-container{display:inline-block;position:absolute;left:-32px;top:0.25em;line-height:0.9em}.wprm-recipe-equipment li.wprm-checkbox-is-checked,.wprm-recipe-ingredients li.wprm-checkbox-is-checked,.wprm-recipe-instructions li.wprm-checkbox-is-checked{text-decoration:line-through}.wprm-recipe-equipment li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-ingredients li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-instructions li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient{text-decoration:line-through}.rtl .wprm-recipe-equipment li .wprm-checkbox-container,.rtl .wprm-recipe-ingredients li .wprm-checkbox-container,.rtl .wprm-recipe-instructions li .wprm-checkbox-container{left:inherit;right:-32px}.wprm-list-checkbox-container:before{display:none !important}.wprm-list-checkbox-container.wprm-list-checkbox-checked{text-decoration:line-through}.wprm-list-checkbox-container .wprm-list-checkbox:hover{cursor:pointer}.wprm-recipe-equipment-images{margin:5px -5px;display:flex;flex-wrap:wrap}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-center{justify-content:center}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-right{justify-content:flex-end}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-spaced{justify-content:space-evenly}.wprm-recipe-equipment-images a{border:0 !important;background:0 !important;box-shadow:none !important;float:none !important;margin:0 !important;padding:0 !important;opacity:1 !important}.wprm-recipe-equipment-images .wprm-recipe-equipment-item{margin:5px}.wprm-recipe-equipment-images .wprm-recipe-equipment-item img{margin:0}.wprm-recipe-equipment-images .wprm-recipe-equipment-item .wprm-recipe-equipment-name{text-align:center}.wprm-nutrition-label,html body .wprm-recipe-container .wprm-nutrition-label{display:inline-block;max-width:250px;border:1px solid #333;padding:5px;font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:16px;text-align:left !important;color:black}.wprm-nutrition-label .nutrition-title,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-title{font-weight:bold;font-size:24px;line-height:24px}.wprm-nutrition-label .nutrition-serving,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-serving{font-size:10px;line-height:14px;font-weight:bold}.wprm-nutrition-label .nutrition-item,.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{border-top:1px solid #333;clear:both}.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:14px}.wprm-nutrition-label .nutrition-percentage,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:right}.wprm-nutrition-label .nutrition-line,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line{background-color:#333;height:5px;font-size:1px}.wprm-nutrition-label .nutrition-line.nutrition-line-big,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line.nutrition-line-big{height:10px}.wprm-nutrition-label .nutrition-warning,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-warning{border-top:1px solid #333;clear:both;padding-top:5px;font-size:10px;color:#999}.rtl .wprm-nutrition-label,html body.rtl .wprm-recipe-container .wprm-nutrition-label{text-align:right !important}.rtl .wprm-nutrition-label .nutrition-sub-item,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:0;margin-right:14px}.rtl .wprm-nutrition-label .nutrition-percentage,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:left}input[type=number].wprm-recipe-servings{display:inline;width:60px;margin:0;padding:5px}.wprm-recipe-servings-text-buttons-container{display:inline-flex}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings{display:inline;width:40px;margin:0;padding:0;vertical-align:top;text-align:center;outline:none;border-radius:0 !important}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings,.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{border:1px solid #333333;height:30px;user-select:none;font-size:16px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{display:inline-block;width:20px;line-height:26px;background:#333333;color:white;text-align:center;cursor:pointer;border-radius:3px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change:active{font-weight:bold}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-decrement{border-right:none;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-increment{border-left:none;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.wprm-recipe-servings-container .tippy-box{padding:5px 10px}input[type=range].wprm-recipe-servings-slider{-webkit-appearance:none;width:100%;min-width:150px;margin:0;background:none;border:0}input[type=range].wprm-recipe-servings-slider:focus{outline:none}input[type=range].wprm-recipe-servings-slider::-webkit-slider-runnable-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-webkit-slider-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-6.9px}input[type=range].wprm-recipe-servings-slider:focus::-webkit-slider-runnable-track{background:#bcbcbc}input[type=range].wprm-recipe-servings-slider::-moz-range-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-moz-range-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer}input[type=range].wprm-recipe-servings-slider::-ms-track{width:100%;height:9.2px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range].wprm-recipe-servings-slider::-ms-fill-lower{background:#989898;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-fill-upper{background:#aaaaaa;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;height:9.2px}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-lower{background:#aaaaaa}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-upper{background:#bcbcbc}.wprm-recipe-tag-term{display:inline-flex;align-items:center;margin:5px}.wprm-recipe-tag-term .wprm-recipe-tag-term-image{display:flex}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left{flex-direction:row}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left .wprm-recipe-tag-term-image{margin-right:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right{flex-direction:row-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right .wprm-recipe-tag-term-image{margin-left:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top{flex-direction:column}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top .wprm-recipe-tag-term-image{margin-bottom:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom{flex-direction:column-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom .wprm-recipe-tag-term-image{margin-top:5px}
8
 
9
  .wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
10
 
2
 
3
  .wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
4
 
5
+ .wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}@media only screen and (max-width: 600px){.wprm-recipe-details-unit{font-size:1em}}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-recipe-image picture{border:none !important}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient{display:flex}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit{margin-right:10px;flex-shrink:0}.wprm-ingredient-style-table-2-align .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align .wprm-recipe-ingredient-amount-unit{text-align:right}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes{flex:1}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name{margin-right:10px}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes{flex:1}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-instruction-ingredients-inline .wprm-recipe-instruction-ingredient{display:inline-block}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.wprm-recipe-link.wprm-recipe-link-disabled{cursor:not-allowed}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-toggle-switch-container{display:flex;align-items:center;margin:10px 0}.wprm-toggle-switch-container .wprm-toggle-switch{margin-right:10px}.wprm-toggle-switch-container label{cursor:pointer;margin:0;font-size:1em;flex-shrink:0}.wprm-toggle-switch-container .wprm-prevent-sleep-description{margin-left:10px;font-size:0.8em;line-height:1.1em}.wprm-toggle-switch{position:relative;display:inline-block;width:40px;height:20px}.wprm-toggle-switch input{opacity:0;width:0;height:0;margin:0;padding:0}.wprm-toggle-switch .wprm-toggle-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cccccc;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch .wprm-toggle-switch-slider:before{position:absolute;content:"";height:80%;left:7%;right:50%;bottom:10%;background-color:white;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider{background-color:#333333 !important}.wprm-toggle-switch input:focus+.wprm-toggle-switch-slider{box-shadow:0 0 0 3px rgba(0,0,0,0.12)}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider:before{left:50%;right:7%}.wprm-toggle-switch-rounded .wprm-toggle-switch-slider:before{border-radius:50%}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
6
 
7
+ .wprm-recipe-equipment-container,.wprm-recipe-ingredients-container,.wprm-recipe-instructions-container{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list.wprm-advanced-list-reset{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list li{list-style-type:none}ul.wprm-advanced-list li:before{counter-increment:wprm-advanced-list-counter;content:counter(wprm-advanced-list-counter);display:flex;align-items:center;justify-content:center;float:left;font-weight:bold;margin:2px 0 0 -32px;border-radius:100%;border:0}.rtl ul.wprm-advanced-list li:before{float:right;margin:2px -32px 0 0}.wprm-checkbox-container{margin-left:-16px}.rtl .wprm-checkbox-container{margin-left:0;margin-right:-16px}.wprm-checkbox-container input[type="checkbox"]{width:16px !important;margin:0 !important;opacity:0}.wprm-checkbox-container label.wprm-checkbox-label{position:relative;display:inline !important;margin:0 !important;left:0;padding-left:26px}.wprm-checkbox-container label::before,.wprm-checkbox-container label::after{position:absolute;content:"";display:inline-block}.rtl ​.wprm-checkbox-container label::before{right:0}.rtl .wprm-checkbox-container label::after{right:5px}.wprm-checkbox-container label::before{height:18px;width:18px;border:1px solid;left:0;top:0}.wprm-checkbox-container label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg);left:5px;top:5px}.wprm-checkbox-container input[type="checkbox"]+label::after{content:none}.wprm-checkbox-container input[type="checkbox"]:checked+label::after{content:""}.wprm-checkbox-container input[type="checkbox"]:focus+label::before{outline:#3b99fc auto 5px}.wprm-recipe-equipment li,.wprm-recipe-ingredients li,.wprm-recipe-instructions li{position:relative}.wprm-recipe-equipment li .wprm-checkbox-container,.wprm-recipe-ingredients li .wprm-checkbox-container,.wprm-recipe-instructions li .wprm-checkbox-container{display:inline-block;position:absolute;left:-32px;top:0.25em;line-height:0.9em}.wprm-recipe-equipment li.wprm-checkbox-is-checked,.wprm-recipe-ingredients li.wprm-checkbox-is-checked,.wprm-recipe-instructions li.wprm-checkbox-is-checked{text-decoration:line-through}.wprm-recipe-equipment li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-ingredients li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient,.wprm-recipe-instructions li.wprm-checkbox-is-checked .wprm-recipe-instruction-ingredient{text-decoration:line-through}.rtl .wprm-recipe-equipment li .wprm-checkbox-container,.rtl .wprm-recipe-ingredients li .wprm-checkbox-container,.rtl .wprm-recipe-instructions li .wprm-checkbox-container{left:inherit;right:-32px}.wprm-list-checkbox-container:before{display:none !important}.wprm-list-checkbox-container.wprm-list-checkbox-checked{text-decoration:line-through}.wprm-list-checkbox-container .wprm-list-checkbox:hover{cursor:pointer}.wprm-recipe-equipment-images{margin:5px -5px;display:flex;flex-wrap:wrap}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-center{justify-content:center}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-right{justify-content:flex-end}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-spaced{justify-content:space-evenly}.wprm-recipe-equipment-images a{border:0 !important;background:0 !important;box-shadow:none !important;float:none !important;margin:0 !important;padding:0 !important;opacity:1 !important}.wprm-recipe-equipment-images .wprm-recipe-equipment-item{margin:5px}.wprm-recipe-equipment-images .wprm-recipe-equipment-item img{margin:0}.wprm-recipe-equipment-images .wprm-recipe-equipment-item .wprm-recipe-equipment-name{text-align:center}.wprm-nutrition-label,html body .wprm-recipe-container .wprm-nutrition-label{display:inline-block;max-width:250px;border:1px solid #333;padding:5px;font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:16px;text-align:left !important;color:black}.wprm-nutrition-label .nutrition-title,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-title{font-weight:bold;font-size:24px;line-height:24px}.wprm-nutrition-label .nutrition-serving,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-serving{font-size:10px;line-height:14px;font-weight:bold}.wprm-nutrition-label .nutrition-item,.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{border-top:1px solid #333;clear:both}.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:14px}.wprm-nutrition-label .nutrition-percentage,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:right}.wprm-nutrition-label .nutrition-line,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line{background-color:#333;height:5px;font-size:1px}.wprm-nutrition-label .nutrition-line.nutrition-line-big,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line.nutrition-line-big{height:10px}.wprm-nutrition-label .nutrition-warning,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-warning{border-top:1px solid #333;clear:both;padding-top:5px;font-size:10px;color:#999}.rtl .wprm-nutrition-label,html body.rtl .wprm-recipe-container .wprm-nutrition-label{text-align:right !important}.rtl .wprm-nutrition-label .nutrition-sub-item,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:0;margin-right:14px}.rtl .wprm-nutrition-label .nutrition-percentage,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:left}.no-js .wprm-recipe-private-notes-header,.no-js .wprm-private-notes-container{display:none}.wprm-private-notes-container{cursor:pointer}.wprm-private-notes-container .wprm-private-notes-user,.wprm-private-notes-container .wprm-private-notes-input{display:none}.wprm-private-notes-container.wprm-private-notes-has-notes .wprm-private-notes-placeholder{display:none}.wprm-private-notes-container.wprm-private-notes-has-notes .wprm-private-notes-user{display:block}.wprm-private-notes-container.wprm-private-notes-editing .wprm-private-notes-placeholder,.wprm-private-notes-container.wprm-private-notes-editing .wprm-private-notes-user{display:none}.wprm-private-notes-container.wprm-private-notes-editing .wprm-private-notes-input{display:block}.wprm-private-notes-container .wprm-private-notes-user{white-space:pre-wrap}.wprm-private-notes-container .wprm-private-notes-input{resize:none;width:100%;height:100px;padding:5px;overflow:hidden;box-sizing:border-box}.wprm-print .wprm-private-notes-container{cursor:default}.wprm-print .wprm-private-notes-container .wprm-private-notes-placeholder,.wprm-print .wprm-private-notes-container .wprm-private-notes-input{display:none !important}.wprm-print .wprm-private-notes-container .wprm-private-notes-user{display:block !important}input[type=number].wprm-recipe-servings{display:inline;width:60px;margin:0;padding:5px}.wprm-recipe-servings-text-buttons-container{display:inline-flex}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings{display:inline;width:40px;margin:0;padding:0;vertical-align:top;text-align:center;outline:none;border-radius:0 !important}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings,.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{border:1px solid #333333;height:30px;user-select:none;font-size:16px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{display:inline-block;width:20px;line-height:26px;background:#333333;color:white;text-align:center;cursor:pointer;border-radius:3px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change:active{font-weight:bold}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-decrement{border-right:none;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-increment{border-left:none;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.wprm-recipe-servings-container .tippy-box{padding:5px 10px}input[type=range].wprm-recipe-servings-slider{-webkit-appearance:none;width:100%;min-width:150px;margin:0;background:none;border:0}input[type=range].wprm-recipe-servings-slider:focus{outline:none}input[type=range].wprm-recipe-servings-slider::-webkit-slider-runnable-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-webkit-slider-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-6.9px}input[type=range].wprm-recipe-servings-slider:focus::-webkit-slider-runnable-track{background:#bcbcbc}input[type=range].wprm-recipe-servings-slider::-moz-range-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-moz-range-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer}input[type=range].wprm-recipe-servings-slider::-ms-track{width:100%;height:9.2px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range].wprm-recipe-servings-slider::-ms-fill-lower{background:#989898;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-fill-upper{background:#aaaaaa;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;height:9.2px}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-lower{background:#aaaaaa}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-upper{background:#bcbcbc}.wprm-recipe-tag-term{display:inline-flex;align-items:center;margin:5px}.wprm-recipe-tag-term .wprm-recipe-tag-term-image{display:flex}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left{flex-direction:row}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left .wprm-recipe-tag-term-image{margin-right:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right{flex-direction:row-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right .wprm-recipe-tag-term-image{margin-left:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top{flex-direction:column}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top .wprm-recipe-tag-term-image{margin-bottom:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom{flex-direction:column-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom .wprm-recipe-tag-term-image{margin-top:5px}
8
 
9
  .wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
10
 
dist/admin-faq.js CHANGED
@@ -1,4 +1,4 @@
1
- var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-faq"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[437],{98453:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(35054),n(37932)),a=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-welcome"},o.createElement("p",null,"Welcome to WP Recipe Maker!"),o.createElement("p",null,"These onboarding steps will get you up and running in no time by ",o.createElement("strong",null,"choosing the correct options for your situation")," and showing you how to get the most out of this plugin."),o.createElement("div",{className:"wprm-admin-onboarding-step-welcome-buttons"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.jumpToStep(1)}},"Start the onboarding!"),o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1"},"or click here to skip")));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?g(e):t}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function x(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,u=t.allowZeroExpanded,s=void 0!==u&&u;l(this,e),c(this,"expanded",void 0),c(this,"allowMultipleExpanded",void 0),c(this,"allowZeroExpanded",void 0),c(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(x(n.expanded),[e]):[e]})})),c(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),c(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),c(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),c(this,"getHeadingAttributes",(function(){return{role:"heading"}})),c(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),c(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),c(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),c(this,"augment",(function(t){return new e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=s},I=(0,o.createContext)(null),S=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"state",new E({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),c(g(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),c(g(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),c(g(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),c(g(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),c(g(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),c(g(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return s(n,[{key:"render",value:function(){var e=this.state,t=e.allowZeroExpanded,n=e.allowMultipleExpanded;return(0,o.createElement)(I.Provider,{value:{allowMultipleExpanded:n,allowZeroExpanded:t,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),n}(o.PureComponent);c(S,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var M,C=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(I.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),k=function(e){var t=e.className,n=void 0===t?"accordion":t,r=e.allowMultipleExpanded,i=e.allowZeroExpanded,a=e.onChange,l=e.preExpanded,u=v(e,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return(0,o.createElement)(S,{preExpanded:l,allowMultipleExpanded:r,allowZeroExpanded:i,onChange:a},(0,o.createElement)("div",p({"data-accordion-component":"Accordion",className:n},u)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(M||(M={}));var O=M,j=0;function P(){var e=j;return j+=1,"raa-".concat(e)}var T=/[\u0009\u000a\u000c\u000d\u0020]/g;function L(e){return""!==e&&!T.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var D=(0,o.createContext)(null),A=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"toggleExpanded",(function(){e.props.accordionContext.toggleExpanded(e.props.uuid)})),c(g(e),"renderChildren",(function(t){var n=e.props,r=n.uuid,i=n.dangerouslySetExpanded,a=null!=i?i:t.isItemExpanded(r),l=t.isItemDisabled(r),u=t.getPanelAttributes(r,i),s=t.getHeadingAttributes(r),c=t.getButtonAttributes(r,i);return(0,o.createElement)(D.Provider,{value:{uuid:r,expanded:a,disabled:l,toggleExpanded:e.toggleExpanded,panelAttributes:u,headingAttributes:s,buttonAttributes:c}},e.props.children)})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(C,null,this.renderChildren)}}]),n}(o.Component),_=function(e){return(0,o.createElement)(C,null,(function(t){return(0,o.createElement)(A,p({},e,{accordionContext:t}))}))},N=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(D.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),B=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"instanceUuid",P()),c(g(e),"renderChildren",(function(t){var n=e.props,r=(n.uuid,n.className),i=n.activeClassName,a=(n.dangerouslySetExpanded,v(n,["uuid","className","activeClassName","dangerouslySetExpanded"])),l=t.expanded&&i?i:r;return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItem",className:l},a))})),e}return s(n,[{key:"render",value:function(){var e=this.props,t=e.uuid,n=void 0===t?this.instanceUuid:t,r=e.dangerouslySetExpanded,i=v(e,["uuid","dangerouslySetExpanded"]);return L(n),i.id&&L(i.id),(0,o.createElement)(_,{uuid:n,dangerouslySetExpanded:r},(0,o.createElement)(N,null,this.renderChildren))}}]),n}(o.Component);function R(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:R(e.parentElement))}function H(e){var t=R(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}c(B,"defaultProps",{className:"accordion__item"}),c(B,"displayName",O.AccordionItem);var F="40",Z="35",W="13",z="36",G="37",U="39",V="32",J="38",Y=function(e){var t=e.toggleExpanded,n=e.className,r=void 0===n?"accordion__button":n,i=v(e,["toggleExpanded","className"]);return i.id&&L(i.id),(0,o.createElement)("div",p({className:r},i,{role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){var n,r,o=e.which.toString();if(o!==W&&o!==V||(e.preventDefault(),t()),e.target instanceof HTMLElement)switch(o){case z:e.preventDefault(),n=e.target,(r=(H(n)||[])[0])&&r.focus();break;case Z:e.preventDefault(),function(e){var t=H(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case G:case J:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case U:case F:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},Q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.toggleExpanded,r=t.buttonAttributes;return(0,o.createElement)(Y,p({toggleExpanded:n},e,r))}))},X=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"ref",void 0),c(g(e),"setRef",(function(t){e.ref=t})),e}return s(n,[{key:"componentDidUpdate",value:function(){n.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){n.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),n}(o.PureComponent);c(X,"defaultProps",{className:"accordion__heading","aria-level":3});var q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.headingAttributes;return e.id&&L(e.id),(0,o.createElement)(X,p({},e,n))}))};q.displayName=O.AccordionItemHeading;var $=function(e){var t=e.className,n=void 0===t?"accordion__panel":t,r=e.id,i=v(e,["className","id"]),a=function(e){var t=e.panelAttributes;return r&&L(r),(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemPanel",className:n},i,t))};return(0,o.createElement)(N,null,a)},K=e=>o.createElement("div",{className:"wprm-admin-onboarding-accordion-container"},e.hasOwnProperty("title")&&o.createElement("h2",null,e.title),o.createElement(k,{className:"wprm-admin-onboarding-accordion",allowZeroExpanded:!0},e.items.map(((e,t)=>o.createElement(B,{key:t},o.createElement(q,null,o.createElement(Q,null,e.header)),o.createElement($,null,e.content)))))),ee=wprm_admin.wprm_url+"assets/images/faq/creating/",te=e=>o.createElement(K,{items:[{header:"Gutenberg Block Editor (WordPress default)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"This is the default editor for WordPress and the one we recommend. To add a recipe you ",o.createElement("strong",null,"add a WPRM Recipe block")," to the post content."),o.createElement("img",{src:ee+"gutenberg-block.png"}),o.createElement("p",null,"After adding a WPRM Recipe block you can click a button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'),o.createElement("img",{src:ee+"gutenberg-block-buttons.png"}),o.createElement("p",null,"Clicking on a button will open up the recipe modal for you to fill in."))},{header:"Classic Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"You won't get a nice preview of the recipe, but we still fully support the Classic Editor. To add a recipe, ",o.createElement("strong",null,"click on the WP Recipe Maker button or icon")," in the visual editor."),o.createElement("img",{src:ee+"classic-editor-buttons.png"}),o.createElement("p",null,"After clicking a modal will show up with all things that WP Recipe Maker can insert for you."),o.createElement("img",{src:ee+"classic-editor-modal.png"}),o.createElement("p",null,"Click the button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'))},{header:"Elementor Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We integrate with the Elementor Page Builder so you can simply ",o.createElement("strong",null,"add a WPRM Recipe widget to your post"),"."),o.createElement("img",{src:ee+"elementor-widget.png"}),o.createElement("p",null,'When you click on "Create or edit Recipe" it will take you to the ',o.createElement("strong",null,"WP Recipe Maker Manage page explained below"),", as recipes can't be created or edited in the Elementor interface."),o.createElement("p",null,"Once you've create a recipe you can just ",o.createElement("strong",null,"search for its name")," to insert it."),o.createElement("img",{src:ee+"elementor-select-recipe.png"}))},{header:"Other Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you're using a page builder that we don't integrate with you can still use WP Recipe Maker. You'll ",o.createElement("strong",null,"create a recipe on the WP Recipe Maker Manage page explained below"),"."),o.createElement("p",null,"After creating a recipe you ",o.createElement("strong",null,"type the recipe shortcode")," where you want the recipe to appear."),o.createElement("img",{src:ee+"page-builder.png"}))},{header:"WordPress.com Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If your interface ",o.createElement("strong",null,"looks like the classic editor but doesn't have the WP Recipe Maker button")," you might be using the WordPress.com interface."),o.createElement("img",{src:ee+"wordpress-com-interface.png"}),o.createElement("p",null,"One option you have is to ",o.createElement("strong",null,'type the recipe shortcode as shown under "Other Page Builder"')," above."),o.createElement("p",null,"Or you could revert to the ",o.createElement("strong",null,"classic WP Admin interface")," through the menu link."),o.createElement("img",{src:ee+"wordpress-com-admin-link.png"}),o.createElement("p",null,"Once in the classic interface you can follow the ",o.createElement("strong",null,"Classic Editor")," instructions above."))}]}),ne=wprm_admin.wprm_url+"assets/images/faq/creating/",re=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-creating"},o.createElement("p",null,"An important thing about WP Recipe Maker is that ",o.createElement("strong",null,"recipes do not exist on their own"),". You create a recipe and then ",o.createElement("strong",null,"add it to a regular post")," on your website."),o.createElement("p",null,"The way to add a recipe to a post depends on the editor you're using."),o.createElement("h2",null,"What editor are you using?"),o.createElement("p",null,"Click on the editor you use on your website to get instructions on how to add a recipe."),o.createElement(te,null),o.createElement("h2",null,"Using the WP Recipe Maker Manage page"),o.createElement("p",null,"Whatever editor you're using, an easy way to ",o.createElement("strong",null,"create, edit, and manage")," your recipes is through the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page that will be available after going through these onboarding steps."),o.createElement("p",null,"On the Manage page you will find an ",o.createElement("strong",null,"overview of all the recipes on your website"),"."),o.createElement("img",{src:ne+"manage-overview.png"}),o.createElement("p",null,"There is a LOT to explore on the manage page, but for now just focus on the ",o.createElement("strong",null,'blue "Create Recipe" button')," in the top right. Simply clicking this will create a new recipe for you."),o.createElement("p",null,"It's worth repeating that ",o.createElement("strong",null,"this new recipe won't get displayed anywhere automatically"),". It has to be added to a post using one of the methods shown above. This will then become ",o.createElement("strong",null,"the parent post for the recipe"),", the place on your website where the recipe is displayed."),o.createElement("p",null,"Now that you know how to create recipes it's time to have a look at them!")),oe=n(720),ie=n(99237);class ae extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("chic")&&(t=wprm_admin_template.templates.chic),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"recipe"===t.type&&"excerpt"!==t.slug&&"compact-howto"!==t.slug&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-template"},o.createElement("p",null,"WP Recipe Maker includes a ",o.createElement("strong",null,"full Template Editor to customize the entire look and feel of your recipes")," to match your needs. It can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("p",null,"For now let's just start by choosing one of our default templates. You'll have time to dive into the customization rabbit hole later!"),o.createElement("h2",null,"Select a template for your recipes"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(1)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_template_mode:"modern",default_recipe_template_modern:this.state.template.slug}),this.props.jumpToStep(3)):alert("Please select a template above.")}},"Use the above Template")))}}class le extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("snippet-basic-buttons")&&(t=wprm_admin_template.templates["snippet-basic-buttons"]),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"snippet"===t.type&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-snippet"},o.createElement("p",null,"Most people have content before the actual recipe. Often, there are some paragrahs with additional information or backstory. Maybe a few ads in between? You want people to read this, but if they are in a hurry you could ",o.createElement("strong",null,"give your visitors the option to jump directly to the recipe as well"),"!"),o.createElement("p",null,'That\'s where the Recipe Snippets feature comes in. These snippets usually contain a "Jump to Recipe" and "Print Recipe" button but can include any field you want, really. Have a look at the ',o.createElement("em",null,"Snippet Summary")," template below, for example."),o.createElement("p",null,"These snippets are ",o.createElement("strong",null,"fully customizable in the Template Editor")," as well. So you can change colors, text and add more information afterwards."),o.createElement("h2",null,"Select a snippet template"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}),o.createElement("p",null,"This would be the start of your regular post content, so the snippet appears right at the top of your post."))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(2)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"skip-button",onClick:()=>{this.props.jumpToStep(4)}},"Do not enable snippets right now"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_snippets_automatically_add_modern:!0,recipe_snippets_template:this.state.template.slug}),this.props.jumpToStep(4)):alert("Please select a template above.")}},"Use the above Snippet Template")))}}var ue=e=>o.createElement(K,{items:[{header:"Earn affiliate income with ingredient and equipment links",content:o.createElement(o.Fragment,null,!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium"),"."),o.createElement("p",null,"Ingredient and equipment links are perfect for affiliate marketing: you set the link once and it will automatically get displayed whenever you use that ingredient/equipment in a recipe."),o.createElement("p",null,"For equipment you even have the ability to add an image to increase the changes of having visitors click on the link."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/29-ingredient-links",target:"_blank"},"Learn about ingredient links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/193-equipment-links",target:"_blank"},"Learn about equipment links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/203-equipment-images",target:"_blank"},"Adding equipment images"))))},{header:"Calculating and adding nutrition facts to your recipes",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Provide your visitors with the complete recipe details by including a full nutrition label. With the Pro Bundle we can even ",o.createElement("strong",null,"help calculated these nutrition facts for you"),"."),o.createElement("p",null,"You have full control over the values that get displayed and can even ",o.createElement("strong",null,"create your own custom and calculated nutrients"),". This can be used for fields like Net Carbs, for example."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/22-nutrition-label",target:"_blank"},"Nutrition Label")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/21-nutrition-facts-calculation",target:"_blank"},"Calculating Nutrition Facts")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/199-custom-and-calculated-nutrients",target:"_blank"},"Custom and Calculated Nutrients"))))},{header:"Reach an international audience with US and Metric units",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Some of your readers might have a hard time making your recipes because they simply don't use the units you write them in. Not everyone is familiar with cups or grams, for example."),o.createElement("p",null,"Our unit conversion allows you to ",o.createElement("strong",null,"offer both unit system")," to your visitors and have them switch back and forth. To get these values we integrate with an API that helps calculate them for you!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/18-unit-conversion",target:"_blank"},"Setting up the Unit Conversion feature"))))},{header:"Set up Meal Planning with the recipe collections feature",content:o.createElement(o.Fragment,null,!wprm_admin.addons.elite&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Elite Bundle"),"."),o.createElement("p",null,"Recipe Collections allow your visitors to ",o.createElement("strong",null,"save the recipes on your website in their own collections and then generate a shopping list")," for them. Can be used for collecting favorites, meal planning and much more!"),o.createElement("p",null,"As the site owner you can also ",o.createElement("strong",null,"create your own saved collections to present to your users"),". This can include as many recipes (and individual ingredients) as you want and you can even total the nutrition facts for those recipes."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/148-recipe-collections",target:"_blank"},"Learn more about Recipe Collections")),o.createElement("li",null,o.createElement("a",{href:"https://demo.wprecipemaker.com/saved-recipe-collection/",target:"_blank"},"See a Saved Recipe Collection in action"))))}]}),se=e=>o.createElement(o.Fragment,null,o.createElement("p",null,"We built an email course full of ",o.createElement("strong",null,"tips and tricks")," to help you get the most out of WP Recipe Maker."),o.createElement("p",null,"During the course you'll get introduced to a ",o.createElement("strong",null,"private Facebook group")," full of WP Recipe Maker Food Bloggers to learn from and we'll even ",o.createElement("strong",null,"help promote your recipes on social media")," for free."),o.createElement("form",{action:"https://www.getdrip.com/forms/917801565/submissions",method:"post",className:"wprm-drip-form","data-drip-embedded-form":"917801565",target:"_blank"},o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"drip-email"},"Email Address"),o.createElement("br",null),o.createElement("input",{type:"email",id:"drip-email",name:"fields[email]",defaultValue:wprm_faq.user.email}),o.createElement("input",{type:"hidden",id:"drip-customer-website",name:"fields[customer_website]",value:wprm_faq.user.website})),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent]",id:"drip-eu-consent-denied",value:"denied"}),o.createElement("input",{type:"checkbox",name:"fields[eu_consent]",id:"drip-eu-consent",value:"granted"}),o.createElement("label",{htmlFor:"drip-eu-consent"},"I understand and agree to the ",o.createElement("a",{href:"https://www.iubenda.com/privacy-policy/82708778"},"privacy policy"))),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent_message]",value:"I understand and agree to the privacy policy (https://www.iubenda.com/privacy-policy/82708778)"}))),o.createElement("div",null,o.createElement("input",{type:"submit",name:"submit",value:"Help me get the most out of WP Recipe Maker!",className:"button button-primary","data-drip-attribute":"sign-up-button"})))),ce=wprm_admin.wprm_url+"assets/images/faq/getting-started/",pe=e=>o.createElement(K,{items:[{header:"Using WPRM in a different language (or multilingual site)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We follow WordPress standards to make sure all text in WP Recipe Maker can be translated to fit your needs. Learn more here:"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/128-translating-text-in-the-plugin",target:"_blank"},"Translating any text in WP Recipe Maker")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/132-how-to-use-this-for-a-multilingual-blog",target:"_blank"},"Using WPRM on a multilingual website"))))},{header:"Importing recipes from another plugin",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Already have recipes on your website that were created in a different plugin? There's a good chance we can import them for you! If there are recipes we can import, you will find them on the ",o.createElement("em",null,"WP Recipe Maker > Import Recipes"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/69-importing-recipes-from-other-plugins",target:"_blank"},"All the plugins we can import from")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/86-custom-recipe-importer",target:"_blank"},"Develop your own recipe importer"))))},{header:"Adding recipes from Word, Google Docs, ...",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you already have your recipes in another document, filling in all the individual fields can be a bit tedious. Use our ",o.createElement("strong",null,"import recipe from text feature")," to paste in that recipe entirely and speed up the process."),o.createElement("p",null,"The field to paste in the recipe can be found after scrolling up all the way in the recipe modal:"),o.createElement("img",{src:ce+"import-from-text.png"}),o.createElement("p",null,"This will open up a new modal where you can follow the steps to import."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Learn more about the import recipe from text feature"))))},{header:"Recipe metadata and SEO",content:o.createElement(o.Fragment,null,o.createElement("p",null,"An important reason for using a recipe plugin is to have it ",o.createElement("strong",null,"automatically add the recipe metadata that Google wants to see"),"."),o.createElement("p",null,"But WP Recipe Maker can only add that metadata if you actually fill in all the fields. To find out if you've done that, have a look at the SEO column on the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page and make sure you ",o.createElement("strong",null,"get a green light there"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/51-recipe-metadata-for-seo",target:"_blank"},"Learn more about Recipe Metadata for SEO")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank"},"Using the Recipe Metadata Checker"))))},{header:"Using the Template Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Everyone is unique so we want you to be able to ",o.createElement("strong",null,"completely change the recipe template to your liking"),". Not everyone will have the budget for a completely custom-coded template though, so that's what we built the Template Editor for!"),o.createElement("p",null,"With a little bit of a learning curve everyone should be able to add or remove specific parts of the recipe box, change labels and colors or add custom text. The Template Editor can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/118-template-editor-101",target:"_blank"},"Go through the Template Editor 101 documentation first")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/category/25-template-editor-faq",target:"_blank"},"Learn more in these Template Editor FAQs"))))},{header:"WPRM for recipe roundup posts",content:o.createElement(o.Fragment,null,o.createElement("p",null,'WP Recipe Maker can also be used for recipe roundup posts (think "Easy Valentine\'s Day Menu" or "10 Scary Halloween Recipes"), ',o.createElement("strong",null,"linking to both recipes on your own website and others"),"."),o.createElement("p",null,"A good reason for using WPRM for these kind of posts is that we'll automatically include the ",o.createElement("strong",null,"ItemList metadata that Google needs to display your recipes in a Carousel"),". That should definitely get you some extra visits!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Learn about using recipe roundup feature"))))}]}),de=e=>o.createElement("div",{id:"wprm-admin-faq-container"},o.createElement("h1",null,"Get the most out of WP Recipe Maker"),o.createElement(se,null),o.createElement("h1",null,"Explainer Videos"),o.createElement("p",null,"Are you a visual learner? Make sure to check out the ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/videos/",target:"_blank"},"WP Recipe Maker Explainer Videos"),' we have on several topics. "Introduction to WP Recipe Maker" is a good one to start with:'),o.createElement("iframe",{width:"640",height:"433",src:"https://www.loom.com/embed/9f268e92cc064be9a45580a46fc84084",frameborder:"0",webkitallowfullscreen:!0,mozallowfullscreen:!0,allowfullscreen:!0}),o.createElement("h1",null,"Documentation & Support"),o.createElement("p",null,"We've listed some frequently asked questions below. If you need more help we recommend checking out the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base")," and the ",o.createElement("a",{href:"https://demo.wprecipemaker.com",target:"_blank"},"WPRM Demo Site")," that shows all features in action."),o.createElement("p",null,"If you have any other questions or suggestions at all, ",o.createElement("strong",null,"contact us using the blue question mark in the bottom right")," of this page or by emailing ",o.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," directly. We answer all tickets within 24 hours, and usually a lot faster."),o.createElement("h1",null,"Frequently Asked Questions"),o.createElement("p",null,"Just click on the different sections to learn more!"),o.createElement("h2",null,"Getting started with WP Recipe Maker"),o.createElement(pe,null),o.createElement("h2",null,"Adding recipes in different editors"),o.createElement(te,null),o.createElement("h2",null,"Advanced WPRM Usage"),o.createElement(ue,null),o.createElement("p",null,"Need more? Go to the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker",target:"_blank"},"WP Recipe Maker Knowledge Base"),".")),fe=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-next"},o.createElement("p",null,"You made it to the end of the onboarding! There is a lot left to explore, but we recommend just starting by creating a recipe now. And don't forget to ",o.createElement("strong",null,"sign up for the email course")," below to get the most out of this plugin. You won't regret it!"),o.createElement("p",null,"No need to worry about leaving this page either. The information below will be available on the ",o.createElement("em",null,"WP Recipe Maker > FAQ & Support")," page at any time."),o.createElement(de,null),o.createElement("div",{className:"footer-buttons"},o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1",className:"button button-primary"},"Continue to the Manage page"))),he=[{name:"Welcome",component:o.createElement(a,null)},{name:"Creating Recipes",component:o.createElement(re,null)},{name:"Template",component:o.createElement(ae,null)},{name:"Snippets",component:o.createElement(le,null)},{name:"Next Steps",component:o.createElement(fe,null)}];class me extends o.Component{render(){return wprm_faq.onboarded?o.createElement(de,null):o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),o.createElement("div",{id:"wprm-admin-onboarding-steps"},o.createElement(i.Z,{steps:he,stepsNavigation:!1,prevBtnOnLastStep:!1,backButtonCls:"button",nextButtonCls:"button button-primary",onStepChange:e=>{e===he.length-1&&fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_finished_onboarding&security="+wprm_admin.nonce,headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}})}})))}}var ve=document.getElementById("wprm-admin-faq");ve&&r.render(o.createElement(me,null),ve)},5308:function(e,t,n){"use strict";n(87191);var r=n(52082),o={selectImage(e){this.select("image",e)},selectVideo(e){this.select("video",e)},select(e,t){var n={title:(0,r.S)("Select Media"),button:{text:(0,r.S)("Select")},multiple:!1};"video"===e?(n.frame="video",n.state="video-details"):n.library={type:"image"};var o=wp.media(n);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){var e=o.state().media.attachment;e&&t(e)})),o.open()}};t.Z=o},57573:function(e,t,n){"use strict";n(54883),n(72975),n(33290),n(19985),n(22321),n(68995);t.Z={parseCSS(e){var t=e.style.css;for(var n of Object.values(e.style.properties)){var r="";Object.entries(n).forEach((e=>{var[t,n]=e;["id","name","default","value","options"].includes(t)||(r=" ".concat(t,"=").concat(n))}));var o="".concat(n.value,"; /*wprm_").concat(n.id).concat(r,"*/");t=t.replace(new RegExp("%wprm_".concat(n.id,"%s*;"),"g"),o)}return t},getShortcodeName(e){var t=e.replace("wprm-","");return t=(t=t.replace(/-/g," ")).toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()}))},getFullShortcode(e){var t="["+e.id;for(var n in e.attributes)if(e.attributes.hasOwnProperty(n)){var r=e.attributes[n];t+=" "+n+'="'+(r=(r=r.replace(/"/gm,"&quot;")).replace(/\]/gm,"&#93;"))+'"'}return t+="]"},dependencyMet(e,t){var n=!0;if(t&&e.hasOwnProperty("dependency")){var r=e.dependency;Array.isArray(r)||(r=[r]);var o=e.hasOwnProperty("dependency_compare")?e.dependency_compare:"AND",i=!0;for(var a of r)if(t.hasOwnProperty(a.id)){var l=!1,u=t[a.id].value,s=a.hasOwnProperty("type")?a.type:"match";"inverse"==s?u!=a.value&&(l=!0):"includes"==s?u.includes(a.value)&&(l=!0):u==a.value&&(l=!0),"OR"===o?(i&&(n=!1,i=!1),n=n||l):n=n&&l}}return n}}},720:function(e,t,n){"use strict";n.d(t,{Z:function(){return j}});n(31807),n(54883),n(55281),n(75668),n(22321),n(68995);var r=n(89526),o=n(14264),i=n.n(o),a=n(57573),l=n(34133),u=(n(29897),n(98373)),s=n.n(u),c=n(99237),p=n(73961),d=e=>p.createPortal(e.children,document.getElementById("wprm-block-properties")),f=n(42458);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){v(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function v(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}class g extends r.Component{constructor(e){super(e),this.state={fullShortcode:"",html:"",loading:!1,blockMode:"edit"}}componentDidMount(){this.checkShortcodeChange()}componentDidUpdate(e){this.checkShortcodeChange(),e.recipeId!==this.props.recipeId&&this.updatePreview(),e.editingBlock!==this.props.editingBlock&&this.onChangeBlockMode("edit")}checkShortcodeChange(){var e=a.Z.getFullShortcode(this.props.shortcode);e!==this.state.fullShortcode&&this.setState({fullShortcode:e},this.updatePreview)}updatePreview(){this.setState({loading:!0}),c.Z.template.previewShortcode(this.props.shortcode.uid,this.state.fullShortcode,this.props.recipeId).then((e=>{this.setState({html:e.hasOwnProperty(this.props.shortcode.uid)?e[this.props.shortcode.uid]:"",loading:!1})}))}getBlockProperties(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.props.shortcode,t={},n=!!wprm_admin_template.shortcodes.hasOwnProperty(e.id)&&wprm_admin_template.shortcodes[e.id];return n&&Object.entries(n).forEach((n=>{var[r,o]=n;if(o.type){var i=o.name?o.name:r.replace(/_/g," ").toLowerCase().replace(/\b[a-z]/g,(function(e){return e.toUpperCase()})),a=e.attributes.hasOwnProperty(r)?e.attributes[r]:o.default;a=(a=a.replace(/&quot;/gm,'"')).replace(/&#93;/gm,"]"),t[r]=m(m({},o),{},{id:r,name:i,value:a})}})),t}onChangeBlockMode(e){e!==this.state.blockMode&&this.setState({blockMode:e})}onCopyPasteStyle(e,t){var n=this.getBlockProperties(this.props.shortcodes[e]),r=this.getBlockProperties(this.props.shortcodes[t]),o={};Object.entries(r).forEach((e=>{var[t,r]=e;n.hasOwnProperty(t)&&n[t].value!==r.value&&"icon"!==t&&"text"!==t&&"label"!==t&&"header"!==t&&n[t].type===r.type&&("dropdown"!==r.type||r.options.hasOwnProperty(n[t].value))&&(o[t]=n[t].value)})),Object.keys(o).length&&this.props.onBlockPropertiesChange(t,o)}render(){var e=this.getBlockProperties();return r.createElement(r.Fragment,null,this.state.loading?r.createElement(l.Z,null):r.createElement(r.Fragment,null,i()(this.state.html.trim(),{replace:function(e){if(!e.parent&&this.props.shortcode.uid===this.props.hoveringBlock)return e.attribs||(e.attribs={}),e.attribs.class=e.attribs.class?e.attribs.class+" wprm-template-block-hovering":"wprm-template-block-hovering",s()(e)}.bind(this)})),this.props.shortcode.uid===this.props.editingBlock?r.createElement(d,null,"edit"===this.state.blockMode&&r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-template-menu-block-details"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.props.onChangeEditingBlock(!1))},"Blocks")," > ",this.props.shortcode.name),r.createElement("div",{className:"wprm-template-menu-block-quick-edit"},r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("copy")}},"Copy styles to...")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("paste")}},"Paste styles from...")),Object.values(e).map(((t,n)=>r.createElement(f.Z,{properties:e,property:t,onPropertyChange:(e,t)=>this.props.onBlockPropertyChange(this.props.shortcode.uid,e,t),key:n}))),!Object.keys(e).length&&r.createElement("p",null,"There are no adjustable properties for this block.")),("copy"===this.state.blockMode||"paste"===this.state.blockMode)&&r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeBlockMode("edit")}},"Stop"),r.createElement("p",null,"copy"===this.state.blockMode?"Copy styles to:":"Paste styles from:"),this.props.shortcodes.map(((e,t)=>e.uid===this.props.shortcode.uid?r.createElement("div",{key:t,className:"wprm-template-menu-block wprm-template-menu-block-self"},"copy"===this.state.blockMode?"Copying from":"Pasting to"," ",e.name):r.createElement("div",{key:t,className:e.uid===this.props.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{var t="copy"===this.state.blockMode?this.props.shortcode.uid:e.uid,n="copy"===this.state.blockMode?e.uid:this.props.shortcode.uid;this.onCopyPasteStyle(t,n)},onMouseEnter:()=>this.props.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.props.onChangeHoveringBlock(!1)},e.name))))):null)}}var b=e=>p.createPortal(e.children,document.getElementById("wprm-add-blocks")),y=e=>p.createPortal(e.children,document.getElementById("wprm-remove-blocks")),x=(n(35054),n(45624));class w extends r.Component{getOptions(e){return e?c.Z.template.searchRecipes(e).then((e=>e.data.recipes_with_id)):Promise.resolve({options:[]})}render(){return r.createElement(x.ZP,{className:"wprm-main-container-preview-recipe",placeholder:"Select or search a recipe to preview",value:this.props.recipe,onChange:this.props.onRecipeChange,getOptionValue:e=>{var{id:t}=e;return t},getOptionLabel:e=>{var{text:t}=e;return t},defaultOptions:wprm_admin.latest_recipes,loadOptions:this.getOptions.bind(this),noOptionsMessage:()=>"Create a recipe on the Manage page",clearable:!1})}}function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function I(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){S(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function S(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=["wprm-spacer","wprm-text","wprm-link","wprm-image","wprm-call-to-action","wprm-icon","wprm-prevent-sleep"],C=[],k=Object.keys(wprm_admin_template.shortcodes).sort();for(var O of k)M.includes(O)||C.push(O);class j extends r.Component{constructor(e){super(e);var t=wprm_admin_template.preview_recipe;"demo"!==t&&0!==t.id||(t={id:"demo",text:"Use WPRM Demo Recipe"}),this.state={recipe:t,html:"",htmlMap:"",parsedHtml:"",shortcodes:[],editingBlock:!1,addingBlock:!1,hoveringBlock:!1,hasError:!1}}componentDidCatch(){this.setState({hasError:!0})}componentDidMount(){this.checkHtmlChange()}componentDidUpdate(e){"blocks"===this.props.mode&&this.props.mode!==e.mode?this.onChangeEditingBlock(!1):this.checkHtmlChange()}checkHtmlChange(){this.props.template.html!==this.state.html&&this.changeHtml()}changeHtml(){var e=this.parseHtml(this.props.template.html);this.setState({html:this.props.template.html,htmlMap:e.htmlMap,parsedHtml:e.html,shortcodes:e.shortcodes,hasError:!1})}parseHtml(e){for(var t,n=e,o=[],u=/\[([^\s\]]*)\s*([^\]]*?)\]/gim;null!==(t=u.exec(e));){var s={},c=t[2].match(/(\w+=\"[^\"]*?\"|\w+=\'[^\']*?\'|\w+=\w*)/gim);if(c)for(var p=0;p<c.length;p++){var d=c[p],f=d.substring(0,d.indexOf("=")),h=d.substring(d.indexOf("=")+1);'"'!==h[0]&&"'"!==h[0]||(h=h.substr(1,h.length-2)),s[f]=h}var m=t[1],v=a.Z.getShortcodeName(m),b=o.length;n=n.replace(t[0],'<wprm-replace-shortcode-with-block uid="'+b+'"></wprm-replace-shortcode-with-block>'),o.push({uid:b,id:m,name:v,attributes:s})}var y=r.createElement(l.Z,null);try{y=i()(n,{replace:function(e){if("wprm-replace-shortcode-with-block"==e.name){var t=!!this.state.recipe&&this.state.recipe.id;return r.createElement(g,{recipeId:t,shortcode:o[e.attribs.uid],shortcodes:o,onBlockPropertyChange:this.onBlockPropertyChange.bind(this),onBlockPropertiesChange:this.onBlockPropertiesChange.bind(this),editingBlock:this.state.editingBlock,onChangeEditingBlock:this.onChangeEditingBlock.bind(this),hoveringBlock:this.state.hoveringBlock,onChangeHoveringBlock:this.onChangeHoveringBlock.bind(this)})}}.bind(this)})}catch(x){}return{htmlMap:n,html:y,shortcodes:o}}unparseHtml(){var e=this.state.htmlMap;for(var t of this.state.shortcodes){var n=a.Z.getFullShortcode(t);e=e.replace('<wprm-replace-shortcode-with-block uid="'+t.uid+'"></wprm-replace-shortcode-with-block>',n)}return e}onBlockPropertyChange(e,t,n){var r={};r[t]=n,this.onBlockPropertiesChange(e,r)}onBlockPropertiesChange(e,t){var n=this.state;n.shortcodes[e].attributes=I(I({},n.shortcodes[e].attributes),t),this.setState(n,(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}onChangeEditingBlock(e){e!==this.state.editingBlock&&this.setState({editingBlock:e,hoveringBlock:!1},this.changeHtml)}onChangeHoveringBlock(e){e!==this.state.hoveringBlock&&this.setState({hoveringBlock:e},this.changeHtml)}onChangeAddingBlock(e){e!==this.state.addingBlock&&this.setState({addingBlock:e})}onAddBlockAfter(e){var t=this.state.htmlMap,n="["+this.state.addingBlock+"]",r='<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>';(t=t.replace(r,r+"\n"+n))!==this.state.htmlMap&&this.setState({addingBlock:!1,hoveringBlock:!1,htmlMap:t},(()=>{var t=this.unparseHtml();this.props.onChangeHTML(t),this.props.onChangeMode("blocks"),this.setState({addingBlock:!1,hoveringBlock:!1},(()=>{this.onChangeEditingBlock(e+1)}))}))}onRemoveBlock(e){var t=this.state.htmlMap;(t=t.replace('<wprm-replace-shortcode-with-block uid="'+e+'"></wprm-replace-shortcode-with-block>',""))!==this.state.htmlMap&&this.setState({htmlMap:t},(()=>{var e=this.unparseHtml();this.props.onChangeHTML(e)}))}render(){var e=this.state.hasError?r.createElement(l.Z,null):this.state.parsedHtml;return"onboarding"===this.props.mode?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),"snippet"===this.props.template.type&&r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e)):r.createElement(r.Fragment,null,r.createElement("div",{className:"wprm-main-container"},r.createElement("h2",{className:"wprm-main-container-name"},"Preview"),r.createElement("div",{className:"wprm-main-container-preview"},r.createElement(w,{recipe:this.state.recipe,onRecipeChange:e=>{e!==this.state.recipe&&this.setState({recipe:e,html:""})}}),this.state.recipe&&this.state.recipe.id?r.createElement(r.Fragment,null,r.createElement("style",null,a.Z.parseCSS(this.props.template)),"recipe"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null,"This is an example paragraph that could be appearing before the recipe box, just to give some context to this preview. After this paragraph the recipe box will appear."),r.createElement("div",{className:"wprm-recipe wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This is a paragraph appearing after the recipe box.")),"snippet"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("p",null," "),r.createElement("div",{className:"wprm-recipe wprm-recipe-snippet wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("p",null,"This would be the start of your post content, as the recipe snippets should automatically appear above. We'll be adding some example content below to give you a realistic preview."),r.createElement("p",null,"Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo. Mauris nec arcu blandit, ultrices nisi sit amet, scelerisque tortor. Mauris vitae odio sed nisl posuere feugiat eu sit amet nunc. Vivamus varius rutrum tortor, ut viverra mi. Pellentesque sed justo eget lectus eleifend consectetur. Curabitur hendrerit purus velit, ut auctor orci fringilla sed. Phasellus commodo luctus nulla, et rutrum risus lobortis in. Aenean ullamcorper, magna congue viverra consequat, libero elit blandit magna, in ultricies quam risus et magna. Aenean viverra lorem leo, eget laoreet quam suscipit viverra. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque sodales dolor mauris. Ut sed tempus erat. Nulla metus diam, luctus ac erat bibendum, placerat maximus nisi. Nullam hendrerit eleifend lobortis."),r.createElement("p",null,"Proin tempus hendrerit orci, tincidunt bibendum justo tincidunt vel. Morbi porttitor finibus magna non imperdiet. Fusce sollicitudin ex auctor interdum ultricies. Proin efficitur eleifend lacus, dapibus eleifend nibh tempus at. Pellentesque feugiat imperdiet turpis, sed consequat diam tincidunt a. Mauris mollis justo nec tellus aliquam, efficitur scelerisque nunc semper. Morbi rhoncus ultricies congue. Sed semper aliquet interdum."),r.createElement("p",null,"Nam ultricies, tellus nec vulputate varius, ligula ipsum viverra libero, lacinia ultrices sapien erat id mi. Duis vel dignissim lectus. Aliquam vehicula finibus tortor, cursus fringilla leo sodales ut. Vestibulum nec erat pretium, finibus odio et, porta lorem. Nunc in mi lobortis, aliquet sem sollicitudin, accumsan mi. Nam pretium nibh nunc, vel varius ex sagittis at. Vestibulum ac turpis vitae dui congue iaculis et non massa. Duis sed gravida nunc. Vivamus blandit dapibus orci, eu maximus velit faucibus eu."),r.createElement("div",{id:"wprm-recipe-container-".concat(this.state.recipe.id),className:"wprm-preview-snippet-recipe-box"},r.createElement("p",null,"This is an example recipe box."),r.createElement("p",{id:"wprm-recipe-video-container-".concat(this.state.recipe.id)},"It includes an example video.")),r.createElement("p",null,"Some more random content could be appearing after the recipe box. Morbi dignissim euismod vestibulum. Interdum et malesuada fames ac ante ipsum primis in faucibus. Vestibulum eu faucibus lectus. Donec sit amet mattis erat, at vulputate elit. Morbi ullamcorper, justo nec porttitor porta, dui lectus euismod est, convallis tempor lorem elit nec leo. Praesent hendrerit auctor risus sed mollis. Integer suscipit arcu at risus efficitur, et interdum arcu fringilla. Aliquam mollis accumsan blandit. Nam vestibulum urna id velit scelerisque, eu commodo urna imperdiet. Mauris sed risus libero. Integer lacinia nec lectus in posuere. Sed feugiat dolor eros, ac scelerisque tellus hendrerit sit amet. Sed nisl lacus, condimentum id orci eu, malesuada mattis sem. Quisque ipsum velit, viverra et magna a, laoreet porta lorem. Praesent porttitor lorem quis quam lobortis, lacinia tincidunt odio sodales.")),"roundup"===this.props.template.type&&r.createElement(r.Fragment,null,r.createElement("h2",null,"Our first recipe"),r.createElement("p",null,"This is the first example recipe in this recipe roundup. We can have as much information and images as we want here and then end with the roundup template for this particular recipe."),r.createElement("div",{className:"wprm-recipe wprm-recipe-roundup-item wprm-recipe-template-".concat(this.props.template.slug)},e),r.createElement("h2",null,"Our second recipe"),r.createElement("p",null,"A roundup would have multiple recipes, so here is another one with some more demo text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. In eleifend vitae nisl et pharetra. Sed euismod nisi convallis arcu lobortis commodo."),r.createElement("p",null,"..."))):r.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You have to select a recipe to preview the template. Use the dropdown above or set a default recipe to use for the preview on the settings page."))),!1===this.state.editingBlock||this.state.shortcodes.length<=this.state.editingBlock?r.createElement(d,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onChangeEditingBlock(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no adjustable blocks.")):null,r.createElement(b,null,this.state.addingBlock?r.createElement(r.Fragment,null,r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.onChangeAddingBlock(!1)}},"Cancel"),r.createElement("p",null,'Add "',a.Z.getShortcodeName(this.state.addingBlock),'" after:'),this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>this.onAddBlockAfter(e.uid),onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks in the Template.")):r.createElement(r.Fragment,null,r.createElement("p",null,"Select block to add:"),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"General Blocks"),M.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))),r.createElement("div",{className:"wprm-template-menu-add-block-group"},"Recipe Blocks"),C.map(((e,t)=>r.createElement("div",{key:t,className:"wprm-template-menu-block",onClick:()=>this.onChangeAddingBlock(e)},a.Z.getShortcodeName(e)))))),r.createElement(y,null,this.state.shortcodes.map(((e,t)=>r.createElement("div",{key:t,className:e.uid===this.state.hoveringBlock?"wprm-template-menu-block wprm-template-menu-block-hover":"wprm-template-menu-block",onClick:()=>{confirm('Are you sure you want to delete the "'+e.name+'" block?')&&this.onRemoveBlock(e.uid)},onMouseEnter:()=>this.onChangeHoveringBlock(e.uid),onMouseLeave:()=>this.onChangeHoveringBlock(!1)},e.name))),!this.state.shortcodes.length&&r.createElement("p",null,"There are no blocks to remove.")))}}},42458:function(e,t,n){"use strict";n.d(t,{Z:function(){return C}});var r=n(89526),o=n(62834),i=n(57573),a=n(29790),l=n(8612);class u extends r.Component{constructor(e){super(e),this.state={displayColorPicker:!1}}handleClick(){this.setState({displayColorPicker:!this.state.displayColorPicker})}handleClose(){this.setState({displayColorPicker:!1})}handleChange(e){this.props.onValueChange(e.hex)}render(){var e=(0,a.default)({default:{color:{width:"36px",height:"14px",borderRadius:"2px",background:"".concat(this.props.value)},swatch:{padding:"5px",background:"#fff",borderRadius:"1px",boxShadow:"0 0 0 1px rgba(0,0,0,.1)",display:"inline-block",cursor:"pointer"},popover:{position:"absolute",zIndex:"2",right:"0",bottom:"30px"},cover:{position:"fixed",top:"0px",right:"0px",bottom:"0px",left:"0px"}}});return r.createElement("div",{className:"wprm-template-property-input"},r.createElement("div",{style:e.swatch,onClick:this.handleClick.bind(this)},r.createElement("div",{style:e.color})),this.state.displayColorPicker?r.createElement("div",{style:e.popover},r.createElement("div",{style:e.cover,onClick:this.handleClose.bind(this)}),r.createElement(l.xS,{color:this.props.value,onChange:this.handleChange.bind(this),disableAlpha:!0})):null)}}var s=n(844),c=e=>{var t=[];for(var n in e.property.options)t.push({value:n,label:e.property.options[n]});return r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:t.filter((t=>{var{value:n}=t;return n===e.value})),onChange:t=>e.onValueChange(t.value),options:t,clearable:!1})};n(19985);function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){f(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function f(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var h=e=>{var t=[{label:"General",options:[{value:"custom",label:"Set custom font"},{value:"inherit",label:"Inherit from parent"},{value:'-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif',label:"System Font"}]},{label:"Default Serif Fonts",options:[{value:"Georgia, serif",label:"Georgia"},{value:'"Palatino Linotype", "Book Antiqua", Palatino, serif',label:"Palatino"},{value:'"Times New Roman", Times, serif',label:"Times New Roman"}]},{label:"Default Sans-Serif Fonts",options:[{value:"Arial, Helvetica, sans-serif",label:"Arial"},{value:'"Arial Black", Gadget, sans-serif',label:"Arial Black"},{value:'"Comic Sans MS", cursive, sans-serif',label:"Comic Sans MS"},{value:"Helvetica, sans-serif",label:"Helvetica"},{value:"Impact, Charcoal, sans-serif",label:"Impact"},{value:'"Lucida Sans Unicode", "Lucida Grande", sans-serif',label:"Lucida"},{value:"Tahoma, Geneva, sans-serif",label:"Tahoma"},{value:'"Trebuchet MS", Helvetica, sans-serif',label:"Trebuchet MS"},{value:"Verdana, Geneva, sans-serif",label:"Verdana"}]},{label:"Default Monospace Fonts",options:[{value:'"Courier New", Courier, monospace',label:"Courier New"},{value:'"Lucida Console", Monaco, monospace',label:"Lucida Console"}]}],n=t.reduce(((e,t)=>e.concat(t.options)),[]),o=n.map((e=>e.value)),i=!e.value||!o.includes(e.value),a=i?"custom":e.value,l={option:(e,t)=>{var{data:n,isDisabled:r,isFocused:o,isSelected:i}=t,a="custom"===n.value?"inherit":n.value;return d(d({},e),{},{fontFamily:a})}};return r.createElement(r.Fragment,null,r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:n.filter((e=>{var{value:t}=e;return t===a})),onChange:t=>{var n="custom"===t.value?"":t.value;return e.onValueChange(n)},options:t,styles:l,clearable:!1}),i&&r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}))},m=(n(55281),n(49092));class v extends r.Component{constructor(e){super(e),this.state={selectingIcon:!1}}render(){var e=wprm_admin_template.icons.hasOwnProperty(this.props.value)?wprm_admin_template.icons[this.props.value].url:this.props.value;return r.createElement(r.Fragment,null,this.state.selectingIcon?r.createElement("div",{className:"wprm-template-property-icon-select-container"},r.createElement("a",{href:"#",onClick:e=>(e.preventDefault(),this.setState({selectingIcon:!1}),this.props.onValueChange(""))},"Clear icon")," | ",r.createElement("a",{href:"#",onClick:e=>{e.preventDefault();var t=prompt("Set a custom URL for the icon");if(t)return this.setState({selectingIcon:!1}),this.props.onValueChange(t)}},"Set custom URL")," | Select:",r.createElement("div",{className:"wprm-template-property-icon-select-container-icons"},Object.keys(wprm_admin_template.icons).sort().map(((e,t)=>{var n=wprm_admin_template.icons[e];return r.createElement("span",{href:"#",onClick:()=>{if(this.setState({selectingIcon:!1}),n.id!==this.props.value)return this.props.onValueChange(n.id)},key:t},r.createElement(m.Z,{src:n.url,className:n.id===this.props.value?"wprm-template-property-icon-select wprm-template-property-icon-selected":"wprm-template-property-icon-select"}))})))):r.createElement("span",{className:"wprm-template-property-icon-selected-container"},e&&r.createElement(m.Z,{src:e,className:"wprm-template-property-icon-select"}),r.createElement("a",{href:"#",onClick:e=>{e.preventDefault(),this.setState({selectingIcon:!0})}},e?"Change...":"Select...")))}}var g=n(5308),b=e=>{var t=0<parseInt(e.value);return r.createElement("a",{href:"#",onClick:t=>{t.preventDefault(),g.Z.selectImage((t=>{e.onValueChange(""+t.id)}))}},t?"Change...":"Select...")},y=(n(31807),n(54883),n(68995),Array.isArray(wprm_admin_template.thumbnail_sizes)?wprm_admin_template.thumbnail_sizes:Object.values(wprm_admin_template.thumbnail_sizes));class x extends r.Component{constructor(e){super(e),this.state={width:"",height:""}}componentDidMount(){this.checkSize()}componentDidUpdate(){this.checkSize()}checkSize(){var e=this.props.value;if(""!==e){var t=e.indexOf("x"),n=t>0?parseInt(e.substr(0,t)):0,r=t>0?parseInt(e.substr(t+1)):0;r=0<r?r:"",(n=0<n?n:"")===this.state.width&&r===this.state.height||this.setState({width:n,height:r})}}changeSize(e,t){if("width"===e||"height"===e){var n=this.state;n[e]=parseInt(t),this.setState(n,(()=>{(0<this.state.width||0<this.state.height)&&this.props.onValueChange("".concat(this.state.width,"x").concat(this.state.height))}))}}render(){var e=[];for(var t of y)e.push({value:t,label:t});return r.createElement(r.Fragment,null,r.createElement("label",null,"Select existing thumbnail size:"),r.createElement(s.ZP,{className:"wprm-template-property-input",menuPlacement:"top",value:y.includes(this.props.value)?e.filter((e=>{var{value:t}=e;return t===this.props.value})):"",onChange:e=>e?this.props.onValueChange(e.value):this.props.onValueChange(""),options:e,clearable:!0}),r.createElement("label",null,"...or set a specific width and height:"),r.createElement("div",{className:"wprm-template-property-input-width-height"},r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.width,onChange:e=>this.changeSize("width",e.target.value)})," x ",r.createElement("input",{className:"wprm-template-property-input",type:"number",value:this.state.height,onChange:e=>this.changeSize("height",e.target.value)})))}}n(22321);var w=e=>{var t=e.property.hasOwnProperty("suffix")?e.property.suffix:"",n=t?e.value.replace(t,""):e.value;return r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",value:n,onChange:n=>{var r="".concat(n.target.value).concat(t);return e.onValueChange(r)}}),t&&r.createElement("span",{className:"wprm-template-property-number-suffix"}," ",t))};n(75668);class E extends r.Component{constructor(e){super(e),this.state={number:"",unit:""}}changeNumber(e){e!==this.state.number&&this.props.onValueChange("".concat(e).concat(this.state.unit))}changeUnit(e){e!==this.state.unit&&this.props.onValueChange("".concat(this.state.number).concat(e))}componentDidMount(){this.checkNumber()}componentDidUpdate(){this.checkNumber()}checkNumber(){var e=this.props.value.match(/([+-]?\d*\.?\d*)\s*([^;]*)/),t=e?e[1]:"",n=e?e[2]:"";t===this.state.number&&n===this.state.unit||this.setState({number:t,unit:n})}render(){var e=["px","em"];return this.state.unit&&!e.includes(this.state.unit)&&e.push(this.state.unit),r.createElement(r.Fragment,null,r.createElement("input",{className:"wprm-template-property-input",type:"number",step:"px"===this.state.unit?"1":"0.1",value:this.state.number,onChange:e=>this.changeNumber(e.target.value)}),e.map(((e,t)=>r.createElement("span",{className:e===this.state.unit?"wprm-template-property-value-size-unit wprm-template-property-value-size-unit-selected":"wprm-template-property-value-size-unit",onClick:()=>this.changeUnit(e),key:t},e))))}}var I=e=>r.createElement("input",{className:"wprm-template-property-input",type:"text",value:e.value,onChange:t=>e.onValueChange(t.target.value)}),S=n(67127),M={color:u,align:c,border:c,dropdown:c,float:c,font:h,font_size:E,icon:v,image:b,image_size:x,percentage:w,number:w,size:E,text:I,toggle:e=>r.createElement(S.Z,{className:"wprm-template-property-input",checked:"1"===e.value,onChange:t=>{var n=t.target.checked?"1":"0";return e.onValueChange(n)}})},C=e=>{var t=!!M.hasOwnProperty(e.property.type)&&M[e.property.type];if(!t)return null;if(!i.Z.dependencyMet(e.property,e.properties))return null;var n=null;return e.property.hasOwnProperty("help")&&(n=r.createElement(o.Z,{type:"question",title:e.property.help,className:"wprm-admin-icon-help"})),r.createElement("div",{className:"wprm-template-property"},r.createElement("div",{className:"wprm-template-property-label"},e.property.name," ",n),r.createElement("div",{className:"wprm-template-property-value wprm-template-property-value-".concat(e.property.type)},r.createElement(t,{property:e.property,value:e.property.value,onValueChange:t=>{e.onPropertyChange(e.property.id,t)}})))}},99237:function(e,t,n){"use strict";n.d(t,{Z:function(){return Z}});var r=n(46087),o=wprm_admin.endpoints.analytics,i={delete:e=>r.Z.call("".concat(o,"/").concat(e),"DELETE")};function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t),o=e?"PUT":"POST";return r.Z.call(u,o,n)}},c=wprm_admin.endpoints.dashboard,p={getAnalytics:()=>r.Z.call("".concat(c,"/analytics"))},d=wprm_admin.endpoints.notices,f={dismissNotice(e){var t={id:e};return r.Z.call(d,"DELETE",t)}},h=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return r.Z.call("".concat(h,"/ingredient/parse"),"POST",t)}},v=(n(35054),wprm_admin.endpoints.manage),g=wprm_admin.endpoints.rating,b=wprm_admin.endpoints.taxonomy,y=!1,x=!1,w={getData(e){return y?(x=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return y=!0,r.Z.call("".concat(v,"/").concat(e.route),"POST",e).then((e=>{if(x){var t=x;return x=!1,this.getDataDebounced(t)}return y=!1,e}))},deleteUserRatings:e=>r.Z.call("".concat(g,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>r.Z.call("".concat(b).concat(e,"/").concat(t)),createTerm(e,t){var n={name:t};return r.Z.call("".concat(b).concat(e),"POST",n)},deleteTerm:(e,t)=>r.Z.call("".concat(b).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,n){var o={name:n};return r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},changeTermSlug(e,t,n){var o={slug:n};return r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},renameTermLabel(e,t,n){var o={type:e,id:t,label:n};return r.Z.call("".concat(v,"/taxonomy/label"),"POST",o)},mergeTerm(e,t,n){var o={type:e,oldId:t,newId:n};return r.Z.call("".concat(v,"/taxonomy/merge"),"POST",o)},updateTaxonomyMeta(e,t,n){var o={};return o[e]=n,r.Z.call("".concat(b).concat(e,"/").concat(t),"POST",o)},bulkEdit(e,t,n,o){var i={type:t,ids:n,action:o};return r.Z.call("".concat(v,"/").concat(e,"/bulk"),"POST",i)}},E=wprm_admin.endpoints.modal,I=!1,S=!1,M={getSuggestions(e){return I?(S=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){return I=!0,r.Z.call("".concat(E,"/suggest"),"POST",e).then((e=>{if(S){var t=S;return S=!1,this.getSuggestionsDebounced(t)}return I=!1,e}))}},C=wprm_admin.endpoints.rating,k={update(e){var t={rating:e};return r.Z.call("".concat(C),"POST",t)},updateComment(e,t){var n={rating:t};return r.Z.call("".concat(C,"/comment/").concat(e),"POST",n)},delete:e=>r.Z.call("".concat(C,"/").concat(e),"DELETE")},O=wprm_admin.endpoints.recipe,j=wprm_admin.endpoints.manage,P={get:e=>r.Z.call("".concat(O,"/").concat(e)),save(e){var t={recipe:e},n=O,o="POST",i=!!e.id&&parseInt(e.id);return i&&(n+="/".concat(i),o="PUT"),r.Z.call(n,o,t)},updateStatus(e,t){var n={status:t};return r.Z.call("".concat(O,"/").concat(e),"PUT",n)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="".concat(O,"/").concat(e);return t&&(n+="?force=true"),r.Z.call(n,"DELETE")},deleteRevision:e=>r.Z.call("".concat(j,"/revision/").concat(e),"DELETE")},T=wprm_admin.endpoints.setting,L={save(e){var t={settings:e};return r.Z.call(T,"POST",t)}},D=wprm_admin.endpoints.template,A=[],_={},N=null,B={previewShortcode(e,t,n){return _[e]=t,clearTimeout(N),N=setTimeout((()=>{this.previewShortcodes(n)}),500),new Promise((e=>A.push(e)))},previewShortcodes(e){var t=A,n=_;A=[],_={};var r={recipeId:e,shortcodes:n};fetch("".concat(D,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(r)}).then((e=>e.json().then((n=>{var r=e.ok?n.preview:{};t.forEach((e=>e(r)))}))))},searchRecipes:e=>fetch(wprm_admin.ajax_url,{method:"POST",credentials:"same-origin",body:"action=wprm_search_recipes&security="+wprm_admin.nonce+"&search="+encodeURIComponent(e),headers:{Accept:"application/json, text/plain, */*","Content-Type":"application/x-www-form-urlencoded; charset=utf-8"}}).then((e=>e.json())),save(e){var t={template:e};return r.Z.call(D,"POST",t)},delete(e){var t={slug:e};return r.Z.call(D,"DELETE",t)}},R=wprm_admin.endpoints.utilities,H={saveImage(e){var t={url:e};return r.Z.call("".concat(R,"/save_image"),"POST",t)},giveFeedback(e){var t={feedback:e};return r.Z.call("".concat(R,"/feedback"),"POST",t)}},{hooks:F}=WPRecipeMaker["wp-recipe-maker/dist/shared"],Z=F.applyFilters("api",{analytics:i,customTaxonomy:s,dashboard:p,general:f,import:m,manage:w,modal:M,rating:k,recipe:P,settings:L,template:B,utilities:H})},46087:function(e,t,n){"use strict";n(31807),n(35054),n(22321);t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(r=window.wpApiSettings.nonce);var o={method:t,headers:{"X-WP-Nonce":r,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};"PUT"!==t&&"DELETE"!==t||(o.method="POST",o.headers["X-HTTP-Method-Override"]=t),n&&(o.body=JSON.stringify(n));var i=0;return e=e.replace(/\?/g,(function(e){return 2<=++i?"&":e})),fetch(e,o).then((function(t){if(t.ok)return t.json();console.log(e,o),console.log(t);var n="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",r="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.text().then((e=>{console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."):alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(e))}))}catch(i){console.log(i),alert("".concat(n,"\r\n\r\n").concat(r,"\r\n\r\n").concat(i))}return!1}))}}},62834:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(89526),o=n(49092),i=n(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIg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MS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},l=e=>{var t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;var n=e.title,l=e.className?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(n="",l+=" wprm-admin-icon-hidden"),r.createElement(i.Z,{content:n},r.createElement("span",{className:l,onClick:u?()=>{}:e.onClick},r.createElement(o.Z,{src:t})))}},34133:function(e,t,n){"use strict";var r=n(89526);t.Z=e=>r.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,n){"use strict";var r=n(89526),o=n(20877);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){l(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return r.createElement(o.Tooltip,{html:r.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:e=>a(a({},e),{},{styles:a(a({},e.styles),{},{zIndex:1e5})})},preventOverflow:{boundariesElement:"window"}}},style:t},e.children)}},52082:function(e,t,n){"use strict";function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{S:function(){return l}});var a={};function l(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=o(o({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=o(o({},a),wprm_admin.translations))},71236:function(e,t,n){"use strict";var r=n(59833),o=n(24697),i="/*|*/";function a(e){e&&l.current.insert(e+"}")}var l={current:null},u=function(e,t,n,r,o,u,s,c,p,d){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return l.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===c)return t+i;break;case 3:switch(c){case 102:case 112:return l.current.insert(n[0]+t),"";default:return t+(0===d?i:"")}case-2:t.split("/*|*/}").forEach(a)}};t.Z=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var i=new o.Z(t);var a,s={};a=e.container||document.head;var c,p=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(p,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){s[e]=!0})),e.parentNode!==a&&a.appendChild(e)})),i.use(e.stylisPlugins)(u),c=function(e,t,n,r){var o=t.name;l.current=n,i(e,t.styles),r&&(d.inserted[o]=!0)};var d={key:n,sheet:new r.m({key:n,container:a,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:s,registered:{},insert:c};return d}},12821:function(e,t,n){"use strict";n.d(t,{nq:function(){return p},tZ:function(){return g},F4:function(){return b},ms:function(){return w}});var r=n(89526),o=n(71236),i=n(56002),a=n(26794),l=n(59833),u=n(72144);var s=(0,r.createContext)((0,o.Z)()),c=(0,r.createContext)({}),p=s.Provider,d=function(e){return(0,r.forwardRef)((function(t,n){return(0,r.createElement)(s.Consumer,null,(function(r){return e(t,r,n)}))}))},f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=Object.prototype.hasOwnProperty,m=function(e,t,n,o){var l=t[f],u=[],s="",c=null===n?t.css:t.css(n);"string"==typeof c&&void 0!==e.registered[c]&&(c=e.registered[c]),u.push(c),void 0!==t.className&&(s=(0,i.f)(e.registered,u,t.className));var p=(0,a.O)(u);(0,i.M)(e,p,"string"==typeof l);s+=e.key+"-"+p.name;var d={};for(var m in t)h.call(t,m)&&"css"!==m&&m!==f&&(d[m]=t[m]);return d.ref=o,d.className=s,(0,r.createElement)(l,d)},v=d((function(e,t,n){return"function"==typeof e.css?(0,r.createElement)(c.Consumer,null,(function(r){return m(t,e,r,n)})):m(t,e,null,n)}));var g=function(e,t){var n=arguments;if(null==t||null==t.css)return r.createElement.apply(void 0,n);var o=n.length,i=new Array(o);i[0]=v;var a={};for(var l in t)h.call(t,l)&&(a[l]=t[l]);a[f]=e,i[1]=a;for(var u=2;u<o;u++)i[u]=n[u];return r.createElement.apply(null,i)},b=(r.Component,function(){var e=u.Z.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}),y=function e(t){for(var n=t.length,r=0,o="";r<n;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var l in a="",i)i[l]&&l&&(a&&(a+=" "),a+=l);break;default:a=i}a&&(o&&(o+=" "),o+=a)}}return o};function x(e,t,n){var r=[],o=(0,i.f)(e,r,n);return r.length<2?n:o+t(r)}var w=d((function(e,t){return(0,r.createElement)(c.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=(0,a.O)(n,t.registered);return(0,i.M)(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return x(t.registered,r,y(n))},theme:n},l=e.children(o);return!0,l}))}))},72144:function(e,t,n){"use strict";var r=n(26794);t.Z=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,r.O)(t)}},95862:function(e,t){"use strict";t.Z=function(e){for(var t,n=e.length,r=n^n,o=0;n>=4;)t=1540483477*(65535&(t=255&e.charCodeAt(o)|(255&e.charCodeAt(++o))<<8|(255&e.charCodeAt(++o))<<16|(255&e.charCodeAt(++o))<<24))+((1540483477*(t>>>16)&65535)<<16),r=1540483477*(65535&r)+((1540483477*(r>>>16)&65535)<<16)^(t=1540483477*(65535&(t^=t>>>24))+((1540483477*(t>>>16)&65535)<<16)),n-=4,++o;switch(n){case 3:r^=(255&e.charCodeAt(o+2))<<16;case 2:r^=(255&e.charCodeAt(o+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(o)))+((1540483477*(r>>>16)&65535)<<16)}return r=1540483477*(65535&(r^=r>>>13))+((1540483477*(r>>>16)&65535)<<16),((r^=r>>>15)>>>0).toString(36)}},93059:function(e,t){"use strict";t.Z=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}},26794:function(e,t,n){"use strict";n.d(t,{O:function(){return f}});var r=n(95862),o=n(8560),i=n(93059),a=/[A-Z]|^ms/g,l=/_EMO_([^_]+?)_([^]*?)_EMO_/g,u=(0,i.Z)((function(e){return e.replace(a,"-$&").toLowerCase()})),s=function(e,t){if(null==t||"boolean"==typeof t)return"";switch(e){case"animation":case"animationName":"string"==typeof t&&(t=t.replace(l,(function(e,t,n){return p={name:t,styles:n,next:p},t})))}return 1!==o.Z[e]&&45!==e.charCodeAt(1)&&"number"==typeof t&&0!==t?t+"px":t};function c(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)p={name:o.name,styles:o.styles,next:p},o=o.next;return n.styles}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=c(e,t,n[o],!1);else for(var i in n){var a=n[i];if("object"!=typeof a)null!=t&&void 0!==t[a]?r+=i+"{"+t[a]+"}":r+=u(i)+":"+s(i,a)+";";else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]])r+=i+"{"+c(e,t,a,!1)+"}";else for(var l=0;l<a.length;l++)r+=u(i)+":"+s(i,a[l])+";"}return r}(e,t,n);case"function":if(void 0!==e){var i=p,a=n(e);return p=i,c(e,t,a,r)}default:if(null==t)return n;var l=t[n];return void 0===l||r?n:l}}var p,d=/label:\s*([^\s;\n{]+)\s*;/g;var f=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var o=!0,i="";p=void 0;var a=e[0];null==a||void 0===a.raw?(o=!1,i+=c(n,t,a,!1)):i+=a[0];for(var l=1;l<e.length;l++)i+=c(n,t,e[l],46===i.charCodeAt(i.length-1)),o&&(i+=a[l]);d.lastIndex=0;for(var u,s="";null!==(u=d.exec(i));)s+="-"+u[1];return{name:(0,r.Z)(i)+s,styles:i,next:p}}},59833:function(e,t,n){"use strict";n.d(t,{m:function(){return r}});var r=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var i=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,i?0:o.cssRules.length)}catch(a){0}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}()},24697:function(e,t){"use strict";t.Z=function(e){function t(e,r,u,s,d){for(var f,h,m,v,x,E=0,I=0,S=0,M=0,C=0,L=0,A=m=f=0,N=0,B=0,R=0,H=0,F=u.length,Z=F-1,W="",z="",G="",U="";N<F;){if(h=u.charCodeAt(N),N===Z&&0!==I+M+S+E&&(0!==I&&(h=47===I?10:47),M=S=E=0,F++,Z++),0===I+M+S+E){if(N===Z&&(0<B&&(W=W.replace(p,"")),0<W.trim().length)){switch(h){case 32:case 9:case 59:case 13:case 10:break;default:W+=u.charAt(N)}h=59}switch(h){case 123:for(f=(W=W.trim()).charCodeAt(0),m=1,H=++N;N<F;){switch(h=u.charCodeAt(N)){case 123:m++;break;case 125:m--;break;case 47:switch(h=u.charCodeAt(N+1)){case 42:case 47:e:{for(A=N+1;A<Z;++A)switch(u.charCodeAt(A)){case 47:if(42===h&&42===u.charCodeAt(A-1)&&N+2!==A){N=A+1;break e}break;case 10:if(47===h){N=A+1;break e}}N=A}}break;case 91:h++;case 40:h++;case 34:case 39:for(;N++<Z&&u.charCodeAt(N)!==h;);}if(0===m)break;N++}switch(m=u.substring(H,N),0===f&&(f=(W=W.replace(c,"").trim()).charCodeAt(0)),f){case 64:switch(0<B&&(W=W.replace(p,"")),h=W.charCodeAt(1)){case 100:case 109:case 115:case 45:B=r;break;default:B=T}if(H=(m=t(r,B,m,h,d+1)).length,0<D&&(x=l(3,m,B=n(T,W,R),r,O,k,H,h,d,s),W=B.join(""),void 0!==x&&0===(H=(m=x.trim()).length)&&(h=0,m="")),0<H)switch(h){case 115:W=W.replace(w,a);case 100:case 109:case 45:m=W+"{"+m+"}";break;case 107:m=(W=W.replace(g,"$1 $2"))+"{"+m+"}",m=1===P||2===P&&i("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=W+m,112===s&&(z+=m,m="")}else m="";break;default:m=t(r,n(r,W,R),m,s,d+1)}G+=m,m=R=B=A=f=0,W="",h=u.charCodeAt(++N);break;case 125:case 59:if(1<(H=(W=(0<B?W.replace(p,""):W).trim()).length))switch(0===A&&(f=W.charCodeAt(0),45===f||96<f&&123>f)&&(H=(W=W.replace(" ",":")).length),0<D&&void 0!==(x=l(1,W,r,e,O,k,z.length,s,d,s))&&0===(H=(W=x.trim()).length)&&(W="\0\0"),f=W.charCodeAt(0),h=W.charCodeAt(1),f){case 0:break;case 64:if(105===h||99===h){U+=W+u.charAt(N);break}default:58!==W.charCodeAt(H-1)&&(z+=o(W,f,h,W.charCodeAt(2)))}R=B=A=f=0,W="",h=u.charCodeAt(++N)}}switch(h){case 13:case 10:47===I?I=0:0===1+f&&107!==s&&0<W.length&&(B=1,W+="\0"),0<D*_&&l(0,W,r,e,O,k,z.length,s,d,s),k=1,O++;break;case 59:case 125:if(0===I+M+S+E){k++;break}default:switch(k++,v=u.charAt(N),h){case 9:case 32:if(0===M+E+I)switch(C){case 44:case 58:case 9:case 32:v="";break;default:32!==h&&(v=" ")}break;case 0:v="\\0";break;case 12:v="\\f";break;case 11:v="\\v";break;case 38:0===M+I+E&&(B=R=1,v="\f"+v);break;case 108:if(0===M+I+E+j&&0<A)switch(N-A){case 2:112===C&&58===u.charCodeAt(N-3)&&(j=C);case 8:111===L&&(j=L)}break;case 58:0===M+I+E&&(A=N);break;case 44:0===I+S+M+E&&(B=1,v+="\r");break;case 34:case 39:0===I&&(M=M===h?0:0===M?h:M);break;case 91:0===M+I+S&&E++;break;case 93:0===M+I+S&&E--;break;case 41:0===M+I+E&&S--;break;case 40:if(0===M+I+E){if(0===f)switch(2*C+3*L){case 533:break;default:f=1}S++}break;case 64:0===I+S+M+E+A+m&&(m=1);break;case 42:case 47:if(!(0<M+E+S))switch(I){case 0:switch(2*h+3*u.charCodeAt(N+1)){case 235:I=47;break;case 220:H=N,I=42}break;case 42:47===h&&42===C&&H+2!==N&&(33===u.charCodeAt(H+2)&&(z+=u.substring(H,N+1)),v="",I=0)}}0===I&&(W+=v)}L=C,C=h,N++}if(0<(H=z.length)){if(B=r,0<D&&(void 0!==(x=l(2,z,B,e,O,k,H,s,d,s))&&0===(z=x).length))return U+z+G;if(z=B.join(",")+"{"+z+"}",0!=P*j){switch(2!==P||i(z,2)||(j=0),j){case 111:z=z.replace(y,":-moz-$1")+z;break;case 112:z=z.replace(b,"::-webkit-input-$1")+z.replace(b,"::-moz-$1")+z.replace(b,":-ms-input-$1")+z}j=0}}return U+z+G}function n(e,t,n){var o=t.trim().split(m);t=o;var i=o.length,a=e.length;switch(a){case 0:case 1:var l=0;for(e=0===a?"":e[0]+" ";l<i;++l)t[l]=r(e,t[l],n).trim();break;default:var u=l=0;for(t=[];l<i;++l)for(var s=0;s<a;++s)t[u++]=r(e[s]+" ",o[l],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(v,"$1"+e.trim());case 58:return e.trim()+t.replace(v,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(v,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var a=e+";",l=2*t+3*n+4*r;if(944===l){e=a.indexOf(":",9)+1;var u=a.substring(e,a.length-1).trim();return u=a.substring(0,e).trim()+u+";",1===P||2===P&&i(u,1)?"-webkit-"+u+u:u}if(0===P||2===P&&!i(a,1))return a;switch(l){case 1015:return 97===a.charCodeAt(10)?"-webkit-"+a+a:a;case 951:return 116===a.charCodeAt(3)?"-webkit-"+a+a:a;case 963:return 110===a.charCodeAt(5)?"-webkit-"+a+a:a;case 1009:if(100!==a.charCodeAt(4))break;case 969:case 942:return"-webkit-"+a+a;case 978:return"-webkit-"+a+"-moz-"+a+a;case 1019:case 983:return"-webkit-"+a+"-moz-"+a+"-ms-"+a+a;case 883:if(45===a.charCodeAt(8))return"-webkit-"+a+a;if(0<a.indexOf("image-set(",11))return a.replace(C,"$1-webkit-$2")+a;break;case 932:if(45===a.charCodeAt(4))switch(a.charCodeAt(5)){case 103:return"-webkit-box-"+a.replace("-grow","")+"-webkit-"+a+"-ms-"+a.replace("grow","positive")+a;case 115:return"-webkit-"+a+"-ms-"+a.replace("shrink","negative")+a;case 98:return"-webkit-"+a+"-ms-"+a.replace("basis","preferred-size")+a}return"-webkit-"+a+"-ms-"+a+a;case 964:return"-webkit-"+a+"-ms-flex-"+a+a;case 1023:if(99!==a.charCodeAt(8))break;return"-webkit-box-pack"+(u=a.substring(a.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+a+"-ms-flex-pack"+u+a;case 1005:return f.test(a)?a.replace(d,":-webkit-")+a.replace(d,":-moz-")+a:a;case 1e3:switch(t=(u=a.substring(13).trim()).indexOf("-")+1,u.charCodeAt(0)+u.charCodeAt(t)){case 226:u=a.replace(x,"tb");break;case 232:u=a.replace(x,"tb-rl");break;case 220:u=a.replace(x,"lr");break;default:return a}return"-webkit-"+a+"-ms-"+u+a;case 1017:if(-1===a.indexOf("sticky",9))break;case 975:switch(t=(a=e).length-10,l=(u=(33===a.charCodeAt(t)?a.substring(0,t):a).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|u.charCodeAt(7))){case 203:if(111>u.charCodeAt(8))break;case 115:a=a.replace(u,"-webkit-"+u)+";"+a;break;case 207:case 102:a=a.replace(u,"-webkit-"+(102<l?"inline-":"")+"box")+";"+a.replace(u,"-webkit-"+u)+";"+a.replace(u,"-ms-"+u+"box")+";"+a}return a+";";case 938:if(45===a.charCodeAt(5))switch(a.charCodeAt(6)){case 105:return u=a.replace("-items",""),"-webkit-"+a+"-webkit-box-"+u+"-ms-flex-"+u+a;case 115:return"-webkit-"+a+"-ms-flex-item-"+a.replace(I,"")+a;default:return"-webkit-"+a+"-ms-flex-line-pack"+a.replace("align-content","").replace(I,"")+a}break;case 973:case 989:if(45!==a.charCodeAt(3)||122===a.charCodeAt(4))break;case 931:case 953:if(!0===M.test(e))return 115===(u=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):a.replace(u,"-webkit-"+u)+a.replace(u,"-moz-"+u.replace("fill-",""))+a;break;case 962:if(a="-webkit-"+a+(102===a.charCodeAt(5)?"-ms-"+a:"")+a,211===n+r&&105===a.charCodeAt(13)&&0<a.indexOf("transform",10))return a.substring(0,a.indexOf(";",27)+1).replace(h,"$1-webkit-$2")+a}return a}function i(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),A(2!==t?r:r.replace(S,"$1"),n,t)}function a(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function l(e,t,n,r,o,i,a,l,u,c){for(var p,d=0,f=t;d<D;++d)switch(p=L[d].call(s,e,f,n,r,o,i,a,l,u,c)){case void 0:case!1:case!0:case null:break;default:f=p}if(f!==t)return f}function u(e){return void 0!==(e=e.prefix)&&(A=null,e?"function"!=typeof e?P=1:(P=2,A=e):P=0),u}function s(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<D){var o=l(-1,n,r,r,O,k,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var i=t(T,r,n,0,0);return 0<D&&(void 0!==(o=l(-2,i,r,r,O,k,i.length,0,0,0))&&(i=o)),"",j=0,k=O=1,i}var c=/^\0+/g,p=/[\0\r\f]/g,d=/: */g,f=/zoo|gra/,h=/([,: ])(transform)/g,m=/,\r+?/g,v=/([\t\r\n ])*\f?&/g,g=/@(k\w+)\s*(\S*)\s*/,b=/::(place)/g,y=/:(read-only)/g,x=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,I=/-self|flex-/g,S=/[^]*?(:[rp][el]a[\w-]+)[^]*/,M=/stretch|:\s*\w+\-(?:conte|avail)/,C=/([^-])(image-set\()/,k=1,O=1,j=0,P=1,T=[],L=[],D=0,A=null,_=0;return s.use=function e(t){switch(t){case void 0:case null:D=L.length=0;break;default:if("function"==typeof t)L[D++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else _=0|!!t}return e},s.set=u,void 0!==e&&u(e),s}},8560:function(e,t){"use strict";t.Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1}},56002:function(e,t,n){"use strict";n.d(t,{f:function(){return r},M:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0);o=o.next}while(void 0!==o)}}},21112:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},47327:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(89526),a=(r=i)&&r.__esModule?r:{default:r};t.default=function(e){var t=e.fill,n=void 0===t?"currentColor":t,r=e.width,i=void 0===r?24:r,l=e.height,u=void 0===l?24:l,s=e.style,c=void 0===s?{}:s,p=function(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}(e,["fill","width","height","style"]);return a.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:n,width:i,height:u},c)},p),a.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},17449:function(e,t,n){"use strict";var r=n(99850),o=[],i=[],a=r.makeRequestCallFromTimer((function(){if(i.length)throw i.shift()}));function l(e){var t;(t=o.length?o.pop():new u).task=e,r(t)}function u(){this.task=null}e.exports=l,u.prototype.call=function(){try{this.task.call()}catch(e){l.onerror?l.onerror(e):(i.push(e),a())}finally{this.task=null,o[o.length]=this}}},99850:function(e,t,n){"use strict";function r(e){i.length||(o(),!0),i[i.length]=e}e.exports=r;var o,i=[],a=0;function l(){for(;a<i.length;){var e=a;if(a+=1,i[e].call(),a>1024){for(var t=0,n=i.length-a;t<n;t++)i[t]=i[t+a];i.length-=a,a=0}}i.length=0,a=0,!1}var u,s,c,p=void 0!==n.g?n.g:self,d=p.MutationObserver||p.WebKitMutationObserver;function f(e){return function(){var t=setTimeout(r,0),n=setInterval(r,50);function r(){clearTimeout(t),clearInterval(n),e()}}}"function"==typeof d?(u=1,s=new d(l),c=document.createTextNode(""),s.observe(c,{characterData:!0}),o=function(){u=-u,c.data=u}):o=f(l),r.requestFlush=o,r.makeRequestCallFromTimer=f},64403:function(e,t){var n;
1
+ var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-faq"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[437],{98453:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(35054),n(37932)),a=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-welcome"},o.createElement("p",null,"Welcome to WP Recipe Maker!"),o.createElement("p",null,"These onboarding steps will get you up and running in no time by ",o.createElement("strong",null,"choosing the correct options for your situation")," and showing you how to get the most out of this plugin."),o.createElement("div",{className:"wprm-admin-onboarding-step-welcome-buttons"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.jumpToStep(1)}},"Start the onboarding!"),o.createElement("a",{href:wprm_admin.manage_url+"&skip_onboarding=1"},"or click here to skip")));function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function s(e,t,n){return t&&u(e.prototype,t),n&&u(e,n),e}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function p(){return(p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&m(e,t)}function h(e){return(h=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function v(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function g(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function b(e,t){return!t||"object"!=typeof t&&"function"!=typeof t?g(e):t}function y(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=h(e);if(t){var o=h(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return b(this,n)}}function x(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var E=function e(t){var n=this,r=t.expanded,o=void 0===r?[]:r,i=t.allowMultipleExpanded,a=void 0!==i&&i,u=t.allowZeroExpanded,s=void 0!==u&&u;l(this,e),c(this,"expanded",void 0),c(this,"allowMultipleExpanded",void 0),c(this,"allowZeroExpanded",void 0),c(this,"toggleExpanded",(function(e){return n.isItemDisabled(e)?n:n.isItemExpanded(e)?n.augment({expanded:n.expanded.filter((function(t){return t!==e}))}):n.augment({expanded:n.allowMultipleExpanded?[].concat(x(n.expanded),[e]):[e]})})),c(this,"isItemDisabled",(function(e){var t=n.isItemExpanded(e),r=1===n.expanded.length;return Boolean(t&&!n.allowZeroExpanded&&r)})),c(this,"isItemExpanded",(function(e){return-1!==n.expanded.indexOf(e)})),c(this,"getPanelAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e);return{role:n.allowMultipleExpanded?void 0:"region","aria-hidden":n.allowMultipleExpanded?!r:void 0,"aria-labelledby":n.getButtonId(e),id:n.getPanelId(e),hidden:!r||void 0}})),c(this,"getHeadingAttributes",(function(){return{role:"heading"}})),c(this,"getButtonAttributes",(function(e,t){var r=null!=t?t:n.isItemExpanded(e),o=n.isItemDisabled(e);return{id:n.getButtonId(e),"aria-disabled":o,"aria-expanded":r,"aria-controls":n.getPanelId(e),role:"button",tabIndex:0}})),c(this,"getPanelId",(function(e){return"accordion__panel-".concat(e)})),c(this,"getButtonId",(function(e){return"accordion__heading-".concat(e)})),c(this,"augment",(function(t){return new e(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({expanded:n.expanded,allowMultipleExpanded:n.allowMultipleExpanded,allowZeroExpanded:n.allowZeroExpanded},t))})),this.expanded=o,this.allowMultipleExpanded=a,this.allowZeroExpanded=s},I=(0,o.createContext)(null),S=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"state",new E({expanded:e.props.preExpanded,allowMultipleExpanded:e.props.allowMultipleExpanded,allowZeroExpanded:e.props.allowZeroExpanded})),c(g(e),"toggleExpanded",(function(t){e.setState((function(e){return e.toggleExpanded(t)}),(function(){e.props.onChange&&e.props.onChange(e.state.expanded)}))})),c(g(e),"isItemDisabled",(function(t){return e.state.isItemDisabled(t)})),c(g(e),"isItemExpanded",(function(t){return e.state.isItemExpanded(t)})),c(g(e),"getPanelAttributes",(function(t,n){return e.state.getPanelAttributes(t,n)})),c(g(e),"getHeadingAttributes",(function(){return e.state.getHeadingAttributes()})),c(g(e),"getButtonAttributes",(function(t,n){return e.state.getButtonAttributes(t,n)})),e}return s(n,[{key:"render",value:function(){var e=this.state,t=e.allowZeroExpanded,n=e.allowMultipleExpanded;return(0,o.createElement)(I.Provider,{value:{allowMultipleExpanded:n,allowZeroExpanded:t,toggleExpanded:this.toggleExpanded,isItemDisabled:this.isItemDisabled,isItemExpanded:this.isItemExpanded,getPanelAttributes:this.getPanelAttributes,getHeadingAttributes:this.getHeadingAttributes,getButtonAttributes:this.getButtonAttributes}},this.props.children||null)}}]),n}(o.PureComponent);c(S,"defaultProps",{allowMultipleExpanded:!1,allowZeroExpanded:!1});var M,C=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(I.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),k=function(e){var t=e.className,n=void 0===t?"accordion":t,r=e.allowMultipleExpanded,i=e.allowZeroExpanded,a=e.onChange,l=e.preExpanded,u=v(e,["className","allowMultipleExpanded","allowZeroExpanded","onChange","preExpanded"]);return(0,o.createElement)(S,{preExpanded:l,allowMultipleExpanded:r,allowZeroExpanded:i,onChange:a},(0,o.createElement)("div",p({"data-accordion-component":"Accordion",className:n},u)))};!function(e){e.Accordion="Accordion",e.AccordionItem="AccordionItem",e.AccordionItemButton="AccordionItemButton",e.AccordionItemHeading="AccordionItemHeading",e.AccordionItemPanel="AccordionItemPanel"}(M||(M={}));var O=M,j=0;function P(){var e=j;return j+=1,"raa-".concat(e)}var T=/[\u0009\u000a\u000c\u000d\u0020]/g;function L(e){return""!==e&&!T.test(e)||(console.error('uuid must be a valid HTML5 id but was given "'.concat(e,'", ASCII whitespaces are forbidden')),!1)}var D=(0,o.createContext)(null),A=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"toggleExpanded",(function(){e.props.accordionContext.toggleExpanded(e.props.uuid)})),c(g(e),"renderChildren",(function(t){var n=e.props,r=n.uuid,i=n.dangerouslySetExpanded,a=null!=i?i:t.isItemExpanded(r),l=t.isItemDisabled(r),u=t.getPanelAttributes(r,i),s=t.getHeadingAttributes(r),c=t.getButtonAttributes(r,i);return(0,o.createElement)(D.Provider,{value:{uuid:r,expanded:a,disabled:l,toggleExpanded:e.toggleExpanded,panelAttributes:u,headingAttributes:s,buttonAttributes:c}},e.props.children)})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(C,null,this.renderChildren)}}]),n}(o.Component),_=function(e){return(0,o.createElement)(C,null,(function(t){return(0,o.createElement)(A,p({},e,{accordionContext:t}))}))},N=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"renderChildren",(function(t){return t?e.props.children(t):null})),e}return s(n,[{key:"render",value:function(){return(0,o.createElement)(D.Consumer,null,this.renderChildren)}}]),n}(o.PureComponent),B=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return c(g(e=t.call.apply(t,[this].concat(i))),"instanceUuid",P()),c(g(e),"renderChildren",(function(t){var n=e.props,r=(n.uuid,n.className),i=n.activeClassName,a=(n.dangerouslySetExpanded,v(n,["uuid","className","activeClassName","dangerouslySetExpanded"])),l=t.expanded&&i?i:r;return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItem",className:l},a))})),e}return s(n,[{key:"render",value:function(){var e=this.props,t=e.uuid,n=void 0===t?this.instanceUuid:t,r=e.dangerouslySetExpanded,i=v(e,["uuid","dangerouslySetExpanded"]);return L(n),i.id&&L(i.id),(0,o.createElement)(_,{uuid:n,dangerouslySetExpanded:r},(0,o.createElement)(N,null,this.renderChildren))}}]),n}(o.Component);function R(e){return e&&(e.matches('[data-accordion-component="Accordion"]')?e:R(e.parentElement))}function H(e){var t=R(e);return t&&Array.from(t.querySelectorAll('[data-accordion-component="AccordionItemButton"]'))}c(B,"defaultProps",{className:"accordion__item"}),c(B,"displayName",O.AccordionItem);var F="40",Z="35",W="13",z="36",G="37",U="39",V="32",J="38",Y=function(e){var t=e.toggleExpanded,n=e.className,r=void 0===n?"accordion__button":n,i=v(e,["toggleExpanded","className"]);return i.id&&L(i.id),(0,o.createElement)("div",p({className:r},i,{role:"button",tabIndex:0,onClick:t,onKeyDown:function(e){var n,r,o=e.which.toString();if(o!==W&&o!==V||(e.preventDefault(),t()),e.target instanceof HTMLElement)switch(o){case z:e.preventDefault(),n=e.target,(r=(H(n)||[])[0])&&r.focus();break;case Z:e.preventDefault(),function(e){var t=H(e)||[],n=t[t.length-1];n&&n.focus()}(e.target);break;case G:case J:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n-1];r&&r.focus()}}(e.target);break;case U:case F:e.preventDefault(),function(e){var t=H(e)||[],n=t.indexOf(e);if(-1!==n){var r=t[n+1];r&&r.focus()}}(e.target)}},"data-accordion-component":"AccordionItemButton"}))},Q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.toggleExpanded,r=t.buttonAttributes;return(0,o.createElement)(Y,p({toggleExpanded:n},e,r))}))},X=function(e){f(n,e);var t=y(n);function n(){var e;l(this,n);for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return c(g(e=t.call.apply(t,[this].concat(o))),"ref",void 0),c(g(e),"setRef",(function(t){e.ref=t})),e}return s(n,[{key:"componentDidUpdate",value:function(){n.VALIDATE(this.ref)}},{key:"componentDidMount",value:function(){n.VALIDATE(this.ref)}},{key:"render",value:function(){return(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemHeading"},this.props,{ref:this.setRef}))}}],[{key:"VALIDATE",value:function(e){if(void 0===e)throw new Error("ref is undefined");if(1!==e.childElementCount||!e.firstElementChild||"AccordionItemButton"!==e.firstElementChild.getAttribute("data-accordion-component"))throw new Error("AccordionItemButton may contain only one child element, which must be an instance of AccordionItemButton.\n\nFrom the WAI-ARIA spec (https://www.w3.org/TR/wai-aria-practices-1.1/#accordion):\n\n“The button element is the only element inside the heading element. That is, if there are other visually persistent elements, they are not included inside the heading element.”\n\n")}}]),n}(o.PureComponent);c(X,"defaultProps",{className:"accordion__heading","aria-level":3});var q=function(e){return(0,o.createElement)(N,null,(function(t){var n=t.headingAttributes;return e.id&&L(e.id),(0,o.createElement)(X,p({},e,n))}))};q.displayName=O.AccordionItemHeading;var $=function(e){var t=e.className,n=void 0===t?"accordion__panel":t,r=e.id,i=v(e,["className","id"]),a=function(e){var t=e.panelAttributes;return r&&L(r),(0,o.createElement)("div",p({"data-accordion-component":"AccordionItemPanel",className:n},i,t))};return(0,o.createElement)(N,null,a)},K=e=>o.createElement("div",{className:"wprm-admin-onboarding-accordion-container"},e.hasOwnProperty("title")&&o.createElement("h2",null,e.title),o.createElement(k,{className:"wprm-admin-onboarding-accordion",allowZeroExpanded:!0},e.items.map(((e,t)=>o.createElement(B,{key:t},o.createElement(q,null,o.createElement(Q,null,e.header)),o.createElement($,null,e.content)))))),ee=wprm_admin.wprm_url+"assets/images/faq/creating/",te=e=>o.createElement(K,{items:[{header:"Gutenberg Block Editor (WordPress default)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"This is the default editor for WordPress and the one we recommend. To add a recipe you ",o.createElement("strong",null,"add a WPRM Recipe block")," to the post content."),o.createElement("img",{src:ee+"gutenberg-block.png"}),o.createElement("p",null,"After adding a WPRM Recipe block you can click a button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'),o.createElement("img",{src:ee+"gutenberg-block-buttons.png"}),o.createElement("p",null,"Clicking on a button will open up the recipe modal for you to fill in."))},{header:"Classic Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"You won't get a nice preview of the recipe, but we still fully support the Classic Editor. To add a recipe, ",o.createElement("strong",null,"click on the WP Recipe Maker button or icon")," in the visual editor."),o.createElement("img",{src:ee+"classic-editor-buttons.png"}),o.createElement("p",null,"After clicking a modal will show up with all things that WP Recipe Maker can insert for you."),o.createElement("img",{src:ee+"classic-editor-modal.png"}),o.createElement("p",null,"Click the button to ",o.createElement("strong",null,"create a new recipe or insert an existing one"),'. The "Create new from Existing Recipe" button can be used to duplicate an existing recipe to start your new recipe from.'))},{header:"Elementor Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We integrate with the Elementor Page Builder so you can simply ",o.createElement("strong",null,"add a WPRM Recipe widget to your post"),"."),o.createElement("img",{src:ee+"elementor-widget.png"}),o.createElement("p",null,'When you click on "Create or edit Recipe" it will take you to the ',o.createElement("strong",null,"WP Recipe Maker Manage page explained below"),", as recipes can't be created or edited in the Elementor interface."),o.createElement("p",null,"Once you've create a recipe you can just ",o.createElement("strong",null,"search for its name")," to insert it."),o.createElement("img",{src:ee+"elementor-select-recipe.png"}))},{header:"Other Page Builder",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you're using a page builder that we don't integrate with you can still use WP Recipe Maker. You'll ",o.createElement("strong",null,"create a recipe on the WP Recipe Maker Manage page explained below"),"."),o.createElement("p",null,"After creating a recipe you ",o.createElement("strong",null,"type the recipe shortcode")," where you want the recipe to appear."),o.createElement("img",{src:ee+"page-builder.png"}))},{header:"WordPress.com Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If your interface ",o.createElement("strong",null,"looks like the classic editor but doesn't have the WP Recipe Maker button")," you might be using the WordPress.com interface."),o.createElement("img",{src:ee+"wordpress-com-interface.png"}),o.createElement("p",null,"One option you have is to ",o.createElement("strong",null,'type the recipe shortcode as shown under "Other Page Builder"')," above."),o.createElement("p",null,"Or you could revert to the ",o.createElement("strong",null,"classic WP Admin interface")," through the menu link."),o.createElement("img",{src:ee+"wordpress-com-admin-link.png"}),o.createElement("p",null,"Once in the classic interface you can follow the ",o.createElement("strong",null,"Classic Editor")," instructions above."))}]}),ne=wprm_admin.wprm_url+"assets/images/faq/creating/",re=e=>o.createElement("div",{className:"wprm-admin-onboarding-step-creating"},o.createElement("p",null,"An important thing about WP Recipe Maker is that ",o.createElement("strong",null,"recipes do not exist on their own"),". You create a recipe and then ",o.createElement("strong",null,"add it to a regular post")," on your website."),o.createElement("p",null,"The way to add a recipe to a post depends on the editor you're using."),o.createElement("h2",null,"What editor are you using?"),o.createElement("p",null,"Click on the editor you use on your website to get instructions on how to add a recipe."),o.createElement(te,null),o.createElement("h2",null,"Using the WP Recipe Maker Manage page"),o.createElement("p",null,"Whatever editor you're using, an easy way to ",o.createElement("strong",null,"create, edit, and manage")," your recipes is through the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page that will be available after going through these onboarding steps."),o.createElement("p",null,"On the Manage page you will find an ",o.createElement("strong",null,"overview of all the recipes on your website"),"."),o.createElement("img",{src:ne+"manage-overview.png"}),o.createElement("p",null,"There is a LOT to explore on the manage page, but for now just focus on the ",o.createElement("strong",null,'blue "Create Recipe" button')," in the top right. Simply clicking this will create a new recipe for you."),o.createElement("p",null,"It's worth repeating that ",o.createElement("strong",null,"this new recipe won't get displayed anywhere automatically"),". It has to be added to a post using one of the methods shown above. This will then become ",o.createElement("strong",null,"the parent post for the recipe"),", the place on your website where the recipe is displayed."),o.createElement("p",null,"Now that you know how to create recipes it's time to have a look at them!")),oe=n(720),ie=n(99237);class ae extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("chic")&&(t=wprm_admin_template.templates.chic),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"recipe"===t.type&&"excerpt"!==t.slug&&"compact-howto"!==t.slug&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-template"},o.createElement("p",null,"WP Recipe Maker includes a ",o.createElement("strong",null,"full Template Editor to customize the entire look and feel of your recipes")," to match your needs. It can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("p",null,"For now let's just start by choosing one of our default templates. You'll have time to dive into the customization rabbit hole later!"),o.createElement("h2",null,"Select a template for your recipes"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(1)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_template_mode:"modern",default_recipe_template_modern:this.state.template.slug}),this.props.jumpToStep(3)):alert("Please select a template above.")}},"Use the above Template")))}}class le extends o.Component{constructor(e){super(e);var t=!1;wprm_admin_template.templates.hasOwnProperty("snippet-basic-buttons")&&(t=wprm_admin_template.templates["snippet-basic-buttons"]),this.state={template:t}}render(){var e=[];return Object.values(wprm_admin_template.templates).forEach((t=>{"snippet"===t.type&&e.push(t)})),o.createElement("div",{className:"wprm-admin-onboarding-step-snippet"},o.createElement("p",null,"Most people have content before the actual recipe. Often, there are some paragrahs with additional information or backstory. Maybe a few ads in between? You want people to read this, but if they are in a hurry you could ",o.createElement("strong",null,"give your visitors the option to jump directly to the recipe as well"),"!"),o.createElement("p",null,'That\'s where the Recipe Snippets feature comes in. These snippets usually contain a "Jump to Recipe" and "Print Recipe" button but can include any field you want, really. Have a look at the ',o.createElement("em",null,"Snippet Summary")," template below, for example."),o.createElement("p",null,"These snippets are ",o.createElement("strong",null,"fully customizable in the Template Editor")," as well. So you can change colors, text and add more information afterwards."),o.createElement("h2",null,"Select a snippet template"),o.createElement("div",{className:"wprm-admin-onboarding-step-template-select"},e.map(((e,t)=>{var n="wprm-manage-templates-template";return n+=!1!==this.state.template&&this.state.template.slug===e.slug?" wprm-manage-templates-template-selected":"",n+=e.premium&&!wprm_admin.addons.premium?" wprm-manage-templates-template-premium":"",o.createElement("div",{key:t,className:n,onClick:()=>{this.setState({template:e})}},e.name)}))),o.createElement("div",{className:"wprm-admin-onboarding-step-template-preview"},!1!==this.state.template&&o.createElement(o.Fragment,null,this.state.template.premium&&!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred",textAlign:"center"}},"You need ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium")," to use this template."),o.createElement(oe.Z,{template:this.state.template,mode:"onboarding",onChangeMode:()=>{},onChangeHTML:()=>{}}),o.createElement("p",null,"This would be the start of your regular post content, so the snippet appears right at the top of your post."))),o.createElement("div",{className:"footer-buttons"},o.createElement("button",{type:"button",className:"button",id:"prev-button",onClick:()=>{this.props.jumpToStep(2)}},"Previous"),o.createElement("button",{type:"button",className:"button button-primary",id:"skip-button",onClick:()=>{this.props.jumpToStep(4)}},"Do not enable snippets right now"),o.createElement("button",{type:"button",className:"button button-primary",id:"next-button",onClick:()=>{this.state.template?this.state.template.premium&&!wprm_admin.addons.premium?alert("This template is only available in WP Recipe Maker Premium."):(ie.Z.settings.save({recipe_snippets_automatically_add_modern:!0,recipe_snippets_template:this.state.template.slug}),this.props.jumpToStep(4)):alert("Please select a template above.")}},"Use the above Snippet Template")))}}var ue=e=>o.createElement(K,{items:[{header:"Earn affiliate income with ingredient and equipment links",content:o.createElement(o.Fragment,null,!wprm_admin.addons.premium&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium"),"."),o.createElement("p",null,"Ingredient and equipment links are perfect for affiliate marketing: you set the link once and it will automatically get displayed whenever you use that ingredient/equipment in a recipe."),o.createElement("p",null,"For equipment you even have the ability to add an image to increase the changes of having visitors click on the link."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/29-ingredient-links",target:"_blank"},"Learn about ingredient links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/193-equipment-links",target:"_blank"},"Learn about equipment links")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/203-equipment-images",target:"_blank"},"Adding equipment images"))))},{header:"Calculating and adding nutrition facts to your recipes",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Provide your visitors with the complete recipe details by including a full nutrition label. With the Pro Bundle we can even ",o.createElement("strong",null,"help calculated these nutrition facts for you"),"."),o.createElement("p",null,"You have full control over the values that get displayed and can even ",o.createElement("strong",null,"create your own custom and calculated nutrients"),". This can be used for fields like Net Carbs, for example."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/22-nutrition-label",target:"_blank"},"Nutrition Label")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/21-nutrition-facts-calculation",target:"_blank"},"Calculating Nutrition Facts")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/199-custom-and-calculated-nutrients",target:"_blank"},"Custom and Calculated Nutrients"))))},{header:"Reach an international audience with US and Metric units",content:o.createElement(o.Fragment,null,!wprm_admin.addons.pro&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Pro Bundle"),"."),o.createElement("p",null,"Some of your readers might have a hard time making your recipes because they simply don't use the units you write them in. Not everyone is familiar with cups or grams, for example."),o.createElement("p",null,"Our unit conversion allows you to ",o.createElement("strong",null,"offer both unit system")," to your visitors and have them switch back and forth. To get these values we integrate with an API that helps calculate them for you!"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/18-unit-conversion",target:"_blank"},"Setting up the Unit Conversion feature"))))},{header:"Set up Meal Planning with the recipe collections feature",content:o.createElement(o.Fragment,null,!wprm_admin.addons.elite&&o.createElement("p",{style:{color:"darkred"}},"This feature is available in ",o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker Premium - Elite Bundle"),"."),o.createElement("p",null,"Recipe Collections allow your visitors to ",o.createElement("strong",null,"save the recipes on your website in their own collections and then generate a shopping list")," for them. Can be used for collecting favorites, meal planning and much more!"),o.createElement("p",null,"As the site owner you can also ",o.createElement("strong",null,"create your own saved collections to present to your users"),". This can include as many recipes (and individual ingredients) as you want and you can even total the nutrition facts for those recipes."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/148-recipe-collections",target:"_blank"},"Learn more about Recipe Collections")),o.createElement("li",null,o.createElement("a",{href:"https://demo.wprecipemaker.com/saved-recipe-collection/",target:"_blank"},"See a Saved Recipe Collection in action"))))}]}),se=e=>o.createElement(o.Fragment,null,o.createElement("p",null,"We built an email course full of ",o.createElement("strong",null,"tips and tricks")," to help you get the most out of WP Recipe Maker."),o.createElement("p",null,"During the course you'll get introduced to a ",o.createElement("strong",null,"private Facebook group")," full of WP Recipe Maker Food Bloggers to learn from and we'll even ",o.createElement("strong",null,"help promote your recipes on social media")," for free."),o.createElement("form",{action:"https://www.getdrip.com/forms/917801565/submissions",method:"post",className:"wprm-drip-form","data-drip-embedded-form":"917801565",target:"_blank"},o.createElement("div",null,o.createElement("div",null,o.createElement("label",{htmlFor:"drip-email"},"Email Address"),o.createElement("br",null),o.createElement("input",{type:"email",id:"drip-email",name:"fields[email]",defaultValue:wprm_faq.user.email}),o.createElement("input",{type:"hidden",id:"drip-customer-website",name:"fields[customer_website]",value:wprm_faq.user.website})),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent]",id:"drip-eu-consent-denied",value:"denied"}),o.createElement("input",{type:"checkbox",name:"fields[eu_consent]",id:"drip-eu-consent",value:"granted"}),o.createElement("label",{htmlFor:"drip-eu-consent"},"I understand and agree to the ",o.createElement("a",{href:"https://www.iubenda.com/privacy-policy/82708778"},"privacy policy"))),o.createElement("div",null,o.createElement("input",{type:"hidden",name:"fields[eu_consent_message]",value:"I understand and agree to the privacy policy (https://www.iubenda.com/privacy-policy/82708778)"}))),o.createElement("div",null,o.createElement("input",{type:"submit",name:"submit",value:"Help me get the most out of WP Recipe Maker!",className:"button button-primary","data-drip-attribute":"sign-up-button"})))),ce=wprm_admin.wprm_url+"assets/images/faq/getting-started/",pe=e=>o.createElement(K,{items:[{header:"Using WPRM in a different language (or multilingual site)",content:o.createElement(o.Fragment,null,o.createElement("p",null,"We follow WordPress standards to make sure all text in WP Recipe Maker can be translated to fit your needs. Learn more here:"),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/128-translating-text-in-the-plugin",target:"_blank"},"Translating any text in WP Recipe Maker")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/132-how-to-use-this-for-a-multilingual-blog",target:"_blank"},"Using WPRM on a multilingual website"))))},{header:"Importing recipes from another plugin",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Already have recipes on your website that were created in a different plugin? There's a good chance we can import them for you! If there are recipes we can import, you will find them on the ",o.createElement("em",null,"WP Recipe Maker > Import Recipes"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/69-importing-recipes-from-other-plugins",target:"_blank"},"All the plugins we can import from")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/86-custom-recipe-importer",target:"_blank"},"Develop your own recipe importer"))))},{header:"Adding recipes from Word, Google Docs, ...",content:o.createElement(o.Fragment,null,o.createElement("p",null,"If you already have your recipes in another document, filling in all the individual fields can be a bit tedious. Use our ",o.createElement("strong",null,"import recipe from text feature")," to paste in that recipe entirely and speed up the process."),o.createElement("p",null,"The field to paste in the recipe can be found after scrolling up all the way in the recipe modal:"),o.createElement("img",{src:ce+"import-from-text.png"}),o.createElement("p",null,"This will open up a new modal where you can follow the steps to import."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/70-import-recipe-from-text",target:"_blank"},"Learn more about the import recipe from text feature"))))},{header:"Recipe metadata and SEO",content:o.createElement(o.Fragment,null,o.createElement("p",null,"An important reason for using a recipe plugin is to have it ",o.createElement("strong",null,"automatically add the recipe metadata that Google wants to see"),"."),o.createElement("p",null,"But WP Recipe Maker can only add that metadata if you actually fill in all the fields. To find out if you've done that, have a look at the SEO column on the ",o.createElement("em",null,"WP Recipe Maker > Manage")," page and make sure you ",o.createElement("strong",null,"get a green light there"),"."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/51-recipe-metadata-for-seo",target:"_blank"},"Learn more about Recipe Metadata for SEO")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/74-recipe-metadata-checker",target:"_blank"},"Using the Recipe Metadata Checker"))))},{header:"Using the Template Editor",content:o.createElement(o.Fragment,null,o.createElement("p",null,"Everyone is unique so we want you to be able to ",o.createElement("strong",null,"completely change the recipe template to your liking"),". Not everyone will have the budget for a completely custom-coded template though, so that's what we built the Template Editor for!"),o.createElement("p",null,"With a little bit of a learning curve everyone should be able to add or remove specific parts of the recipe box, change labels and colors or add custom text. The Template Editor can be accessed through the ",o.createElement("em",null,"WP Recipe Maker > Settings")," page."),o.createElement("ul",null,o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/article/118-template-editor-101",target:"_blank"},"Go through the Template Editor 101 documentation first")),o.createElement("li",null,o.createElement("a",{href:"https://help.bootstrapped.ventures/category/25-template-editor-faq",target:"_blank"},"Learn more in these Template Editor FAQs"))))},{header:"WPRM for recipe roundup posts",content:o.createElement(o.Fragment,null,o.createElement("p",null,'WP Recipe Maker can also be used for recipe roundup posts (think "Easy Valentine\'s Day Menu" or "10 Scary Halloween Recipes"), ',o.createElement("strong",null,"linking to both recipes on your own website and others"),"."),o.createElement("p",null,"A good reason for using WPRM for these kind of posts is that we'll automatically include the ",o.createElement("strong",null,"ItemList metadata that Google needs to display your recip