WP Recipe Maker - Version 8.0.0

Version Description

  • Feature: Health Check section on the dashboard page
  • Feature: Setting for automatic ItemList metadata for archive pages
  • Feature: Allow sorting and filtering by SEO on manage page
  • Feature: Rich text editor for the roundup item summary
  • Feature: Set custom name and summary for internal roundup item
  • Feature: Set custom button text for roundup item link
  • Feature: Import Recipes Generator embed code
  • Improvement: Further rate limiting of ingredient and equipment suggestions to prevent errors
  • Improvement: Setting to use HTML code for print credit
  • Improvement: Show warning in block editor preview if recipe block has an incorrect ID
  • Improvement: Recognizing JSON-LD HTML for import
  • Improvement: Better metadata for video clip IDs
  • Improvement: Ability to dismiss marketing notice on dashboard page
  • Improvement: Faster loading of manage page with 10,000+ recipes
  • Improvement: Ability to remove fixed filter on the manage page
  • Improvement: WP Extended Search compatibility when using WP Ultimate Post Grid
  • Fix: Prevent recipes from taking over custom post statusses
  • Fix: Problem with + in URL of external roundup links
  • Fix: Have separator inside span for ingredients associated with instructions
  • Fix: Prevent huge stars on comment overview page
  • Fix: Delete comment rating when associated comment gets permanently deleted
  • Fix: Bulk deleting comment ratings not removing stars from comment
  • Fix: PHP notice on comment overview page
  • Fix: Prevent error message in Visual Composer editor
  • Fix: Not always replacing Tasty Recipes block after importing
  • Fix: Elementor widget icon
Download this release

Release Info

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

Code changes from version 7.7.0 to 8.0.0

Files changed (57) hide show
  1. assets/css/admin/comments.scss +10 -0
  2. assets/css/admin/dashboard/health-check.scss +64 -4
  3. assets/css/admin/dashboard/marketing.scss +11 -0
  4. assets/css/admin/manage/recipes.scss +6 -1
  5. assets/css/admin/modal/recipe/fields/equipment.scss +104 -42
  6. assets/css/admin/modal/recipe/fields/general.scss +15 -0
  7. assets/css/admin/modal/recipe/fields/media.scss +8 -0
  8. assets/css/admin/modal/roundup.scss +6 -0
  9. assets/css/admin/template/main.scss +16 -4
  10. assets/css/blocks/recipe.scss +8 -0
  11. assets/icons/settings/health.svg +1 -0
  12. assets/js/admin-dashboard/App.js +1 -1
  13. assets/js/admin-dashboard/Marketing/index.js +39 -23
  14. assets/js/admin-dashboard/blocks/HealthCheck/Item.js +18 -7
  15. assets/js/admin-dashboard/blocks/HealthCheck/ItemCompatibility.js +21 -0
  16. assets/js/admin-dashboard/blocks/HealthCheck/ItemDuplicateNames.js +36 -0
  17. assets/js/admin-dashboard/blocks/HealthCheck/ItemMissingThumbnails.js +40 -0
  18. assets/js/admin-dashboard/blocks/HealthCheck/ItemMultipleParents.js +56 -0
  19. assets/js/admin-dashboard/blocks/HealthCheck/ItemSeoTypes.js +52 -0
  20. assets/js/admin-dashboard/blocks/HealthCheck/index.js +40 -8
  21. assets/js/admin-dashboard/blocks/Recipes/Recipe.js +1 -1
  22. assets/js/admin-manage/App.js +5 -1
  23. assets/js/admin-manage/DataTable.js +2 -1
  24. assets/js/admin-manage/general/Totals.js +18 -3
  25. assets/js/admin-manage/recipes/Columns.js +21 -3
  26. assets/js/admin-manage/recipes/SeoIndicator.js +13 -4
  27. assets/js/admin-modal/bulk-edit/ActionsEquipment.js +18 -0
  28. assets/js/admin-modal/bulk-edit/ActionsRecipe.js +47 -1
  29. assets/js/admin-modal/fields/FieldAdvancedServings.js +137 -0
  30. assets/js/admin-modal/fields/FieldEquipment.js +32 -16
  31. assets/js/admin-modal/fields/FieldPinImage.js +100 -0
  32. assets/js/admin-modal/fields/FieldRichText/RichEditor.js +20 -17
  33. assets/js/admin-modal/fields/FieldRichText/Toolbar/index.js +50 -35
  34. assets/js/admin-modal/menu/index.js +14 -6
  35. assets/js/admin-modal/recipe/edit/{RecipeEquipment.js → RecipeEquipment/EquipmentEdit.js} +16 -7
  36. assets/js/admin-modal/recipe/edit/RecipeEquipment/index.js +74 -0
  37. assets/js/admin-modal/recipe/edit/RecipeGeneral.js +17 -0
  38. assets/js/admin-modal/recipe/edit/RecipeMedia.js +13 -4
  39. assets/js/admin-modal/recipe/edit/RecipePostType.js +10 -0
  40. assets/js/admin-modal/recipe/edit/index.js +5 -0
  41. assets/js/admin-modal/recipe/index.js +19 -0
  42. assets/js/admin-modal/roundup/index.js +82 -20
  43. assets/js/admin-settings/general/Icon.js +2 -0
  44. assets/js/admin-template/main/preview-template/Block.js +1 -1
  45. assets/js/admin-template/main/preview-template/index.js +9 -3
  46. assets/js/admin-template/menu/Property.js +21 -11
  47. assets/js/admin-template/menu/properties/Info.js +20 -0
  48. assets/js/blocks/recipe-roundup/index.js +20 -0
  49. assets/js/other/elementor.js +0 -1
  50. assets/js/print/index.js +5 -1
  51. assets/js/public-legacy.js +1 -0
  52. assets/js/public/pinterest.js +56 -0
  53. assets/js/public/print.js +10 -3
  54. assets/js/shared/Api/Modal.js +14 -0
  55. assets/js/shared/Icon.js +1 -0
  56. dist/admin-dashboard.css +6 -6
  57. dist/admin-dashboard.js +3 -4
assets/css/admin/comments.scss CHANGED
@@ -13,6 +13,16 @@
13
  }
14
  }
15
 
 
 
 
 
 
 
 
 
 
 
16
  // Make empty stars faded.
17
  fieldset.wprm-comment-ratings-container legend + input + span svg {
18
  opacity: 0.3;
13
  }
14
  }
15
 
16
+ // Prevent huge stars in backend.
17
+ fieldset.wprm-comment-ratings-container input[type=radio] {
18
+ max-width: 16px;
19
+ max-height: 16px;
20
+ }
21
+ fieldset.wprm-comment-ratings-container span {
22
+ max-width: 80px;
23
+ max-height: 16px;
24
+ }
25
+
26
  // Make empty stars faded.
27
  fieldset.wprm-comment-ratings-container legend + input + span svg {
28
  opacity: 0.3;
assets/css/admin/dashboard/health-check.scss CHANGED
@@ -3,10 +3,70 @@
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
  }
3
  float: right;
4
  margin-left: 10px;
5
  margin-bottom: 10px;
6
+ font-size: 0.9em;
7
+ cursor: help;
8
 
9
+ &.wprm-admin-dashboard-health-check-last-update-ok { color: darkgreen; }
10
+ &.wprm-admin-dashboard-health-check-last-update-fair { color: darkblue; }
11
+ &.wprm-admin-dashboard-health-check-last-update-bad { color: darkgoldenrod; }
12
+ &.wprm-admin-dashboard-health-check-last-update-asap { color: darkred; }
13
+ &.wprm-admin-dashboard-health-check-last-update-never {
14
+ color: darkred;
15
+ cursor: auto;
16
+ }
17
+ }
18
+ .wprm-admin-dashboard-health-check-description {
19
+ margin-bottom: 10px;
20
+ }
21
+
22
+ .wprm-admin-dashboard-health-check-item {
23
+ .wprm-admin-dashboard-health-check-header {
24
+ padding: 10px 0;
25
+ border-top: 1px solid #ddd;
26
+ font-weight: bold;
27
+ font-size: 1.1em;
28
+ cursor: pointer;
29
+ }
30
+
31
+ .wprm-admin-dashboard-health-check-content {
32
+ margin-bottom: 20px;
33
+ }
34
+ }
35
+
36
+ .wprm-admin-dashboard-health-check-list {
37
+ .wprm-admin-dashboard-health-check-list-item {
38
+ padding: 3px 0;
39
+
40
+ display: flex;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+
44
+ .wprm-admin-dashboard-health-check-list-item-side {
45
+ margin-left: 10px;
46
+ font-size: 0.9em;
47
+ }
48
+ }
49
+ }
50
+
51
+ .wprm-admin-dashboard-health-check-multiple-parents {
52
+ margin-bottom: 10px;
53
+
54
+ .wprm-admin-dashboard-health-check-multiple-parents-recipe {
55
+ font-weight: bold;
56
+ }
57
+ .wprm-admin-dashboard-health-check-multiple-parents-posts {
58
+ a {
59
+ text-decoration: none;
60
+ }
61
+ }
62
+ }
63
+
64
+ .wprm-admin-dashboard-health-check-learn-more {
65
+ border-top: 1px solid #ddd;
66
+ padding-top: 5px;
67
+
68
+ a {
69
+ text-decoration: none;
70
+ }
71
  }
72
  }
assets/css/admin/dashboard/marketing.scss CHANGED
@@ -2,6 +2,17 @@
2
  .wprm-admin-dashboard-block-container {
3
  margin-bottom: 0;
4
  }
 
 
 
 
 
 
 
 
 
 
 
5
  }
6
 
7
  .wprm-admin-dashboard-marketing-countdown {
2
  .wprm-admin-dashboard-block-container {
3
  margin-bottom: 0;
4
  }
5
+
6
+ .wprm-admin-dashboard-marketing-actions {
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: space-between;
10
+
11
+ a.wprm-admin-dashboard-marketing-actions-remove {
12
+ font-size: 12px;
13
+ margin: 0 10px;
14
+ }
15
+ }
16
  }
17
 
18
  .wprm-admin-dashboard-marketing-countdown {
assets/css/admin/manage/recipes.scss CHANGED
@@ -59,12 +59,17 @@
59
  }
60
  }
61
 
62
- &.wprm-admin-manage-seo-indicator-other {
 
63
  display: block;
64
  font-size: 10px;
65
  line-height: 10px;
66
  text-align: center;
67
  }
 
 
 
 
68
  &.wprm-admin-manage-seo-indicator-bad {
69
  border-color: darken( #e74c3c, 25% );
70
  .wprm-admin-manage-seo-indicator-block {
59
  }
60
  }
61
 
62
+ &.wprm-admin-manage-seo-indicator-other,
63
+ &.wprm-admin-manage-seo-indicator-missing {
64
  display: block;
65
  font-size: 10px;
66
  line-height: 10px;
67
  text-align: center;
68
  }
69
+ &.wprm-admin-manage-seo-indicator-missing {
70
+ border-color: darken( #e74c3c, 25% );
71
+ color: darken( #e74c3c, 25% );
72
+ }
73
  &.wprm-admin-manage-seo-indicator-bad {
74
  border-color: darken( #e74c3c, 25% );
75
  .wprm-admin-manage-seo-indicator-block {
assets/css/admin/modal/recipe/fields/equipment.scss CHANGED
@@ -1,56 +1,61 @@
1
  .wprm-admin-modal-field-equipment,
2
  .wprm-admin-modal-field-equipment-group {
3
- margin-bottom: 5px;
 
 
4
  background-color: white;
5
 
6
- .wprm-admin-modal-field-equipment-main-container {
7
- display: flex;
8
- flex: auto;
9
- align-items: center;
10
 
11
- .wprm-admin-modal-field-equipment-handle {
12
- flex-shrink: 0;
13
-
14
- .wprm-admin-icon {
15
- margin: 0 5px;
16
- cursor: move;
17
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
18
  }
19
  }
20
  }
21
 
22
  .wprm-admin-modal-field-equipment {
23
- .wprm-admin-modal-field-equipment-name-container {
24
- flex: auto;
25
  display: flex;
 
 
26
  align-items: center;
27
 
28
- .wprm-admin-icon {
29
- flex-shrink: 0;
30
- margin: 0 5px;
31
- cursor: move;
32
- }
33
-
34
  .wprm-admin-modal-field-richtext,
35
  .wprm-admin-modal-field-richtext-legacy {
36
- flex: auto;
37
  }
38
  }
39
- .wprm-admin-modal-field-equipment-after-container {
40
- display: flex;
41
- flex-direction: row-reverse;
42
- justify-content: space-between;
43
 
44
- .wprm-admin-modal-field-equipment-after-container-icons {
45
- flex-shrink: 0;
46
- margin: 5px;
 
47
 
48
- .wprm-admin-icon {
49
- margin-right: 5px;
50
 
51
- &:last-child {
52
- margin-right: 0;
53
- }
54
  }
55
  }
56
  }
@@ -70,13 +75,57 @@
70
  }
71
  }
72
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  @media screen and (min-width: 782px) {
74
  .wprm-admin-modal-field-equipment {
75
- .wprm-admin-modal-field-equipment-main-container {
76
- flex: 0 0 60%;
77
- }
78
- .wprm-admin-modal-field-equipment-after-container {
79
- flex: auto;
 
 
 
 
 
 
 
 
 
 
 
80
  }
81
  }
82
 
@@ -84,10 +133,23 @@
84
  display: flex;
85
  align-items: center;
86
 
87
- .wprm-admin-modal-field-equipment-after-container {
88
- flex-direction: row;
89
- flex-wrap: wrap;
90
- align-items: center;
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  }
92
  }
93
  }
1
  .wprm-admin-modal-field-equipment,
2
  .wprm-admin-modal-field-equipment-group {
3
+ display: flex;
4
+ align-items: center;
5
+ margin-bottom: 10px;
6
  background-color: white;
7
 
8
+ .wprm-admin-modal-field-equipment-handle {
9
+ flex-shrink: 0;
 
 
10
 
11
+ .wprm-admin-icon {
12
+ margin: 0 5px;
13
+ cursor: move;
14
+ }
15
+ }
16
+ }
17
+
18
+ .wprm-admin-modal-field-equipment-header-container {
19
+ display: flex;
20
+ align-items: center;
21
+ margin: 0 26px 10px 26px;
22
+ font-weight: bold;
23
+
24
+ .wprm-admin-modal-field-equipment-header {
25
+ display: none;
26
+
27
+ .wprm-admin-modal-field-equipment-header-required {
28
+ font-size: 0.8em;
29
+ font-weight: normal;
30
+ color: darkred;
31
  }
32
  }
33
  }
34
 
35
  .wprm-admin-modal-field-equipment {
36
+ .wprm-admin-modal-field-equipment-text-container {
 
37
  display: flex;
38
+ flex: auto;
39
+ flex-wrap: wrap;
40
  align-items: center;
41
 
 
 
 
 
 
 
42
  .wprm-admin-modal-field-richtext,
43
  .wprm-admin-modal-field-richtext-legacy {
44
+ flex: 0 0 100%;
45
  }
46
  }
47
+ }
 
 
 
48
 
49
+ .wprm-admin-modal-field-equipment-after-container {
50
+ .wprm-admin-modal-field-equipment-after-container-icons {
51
+ flex-shrink: 0;
52
+ margin: 5px;
53
 
54
+ .wprm-admin-icon {
55
+ margin-right: 5px;
56
 
57
+ &:last-child {
58
+ margin-right: 0;
 
59
  }
60
  }
61
  }
75
  }
76
  }
77
 
78
+ @media screen and (min-width: 550px) {
79
+ .wprm-admin-modal-field-equipment-header-container {
80
+ .wprm-admin-modal-field-equipment-header {
81
+ display: block;
82
+
83
+ &:nth-child(1),
84
+ &:nth-child(3) {
85
+ flex: 0 0 25%;
86
+ }
87
+
88
+ &:nth-child(2) {
89
+ flex: 0 0 50%;
90
+ }
91
+ }
92
+ }
93
+
94
+ .wprm-admin-modal-field-equipment {
95
+ .wprm-admin-modal-field-equipment-text-container {
96
+ .wprm-admin-modal-field-richtext,
97
+ .wprm-admin-modal-field-richtext-legacy {
98
+ &:nth-child(1),
99
+ &:nth-child(3) {
100
+ flex: 0 0 25%;
101
+ }
102
+
103
+ &:nth-child(2) {
104
+ flex: 0 0 50%;
105
+ }
106
+ }
107
+ }
108
+ }
109
+ }
110
+
111
  @media screen and (min-width: 782px) {
112
  .wprm-admin-modal-field-equipment {
113
+ margin-bottom: 5px;
114
+ }
115
+
116
+ .wprm-admin-modal-field-equipment-header-container {
117
+ .wprm-admin-modal-field-equipment-header {
118
+ &:nth-child(1) {
119
+ flex: 0 0 75px;
120
+ margin-right: 5px;
121
+ }
122
+ &:nth-child(2) {
123
+ flex: 0 0 300px;
124
+ margin-right: 5px;
125
+ }
126
+ &:nth-child(3) {
127
+ flex: auto;
128
+ }
129
  }
130
  }
131
 
133
  display: flex;
134
  align-items: center;
135
 
136
+ .wprm-admin-modal-field-equipment-text-container {
137
+ flex-wrap: nowrap;
138
+
139
+ .wprm-admin-modal-field-richtext,
140
+ .wprm-admin-modal-field-richtext-legacy {
141
+ &:nth-child(1) {
142
+ flex: 0 0 75px;
143
+ margin-right: 5px;
144
+ }
145
+ &:nth-child(2) {
146
+ flex: 0 0 300px;
147
+ margin-right: 5px;
148
+ }
149
+ &:nth-child(3) {
150
+ flex: auto;
151
+ }
152
+ }
153
  }
154
  }
155
  }
assets/css/admin/modal/recipe/fields/general.scss CHANGED
@@ -46,6 +46,21 @@
46
  }
47
  }
48
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  .wprm-admin-modal-field-container-cost {
50
  input {
51
  max-width: 200px;
46
  }
47
  }
48
 
49
+ .wprm-admin-modal-field-advanced-servings-details {
50
+ display: flex;
51
+ align-items: center;
52
+
53
+ margin-top: 10px;
54
+
55
+ input[type="number"] {
56
+ max-width: 65px;
57
+ }
58
+
59
+ .wprm-admin-modal-field-advanced-servings-details-text {
60
+ margin: 0 5px;
61
+ }
62
+ }
63
+
64
  .wprm-admin-modal-field-container-cost {
65
  input {
66
  max-width: 200px;
assets/css/admin/modal/recipe/fields/media.scss CHANGED
@@ -20,9 +20,17 @@
20
  margin-right: 5px;
21
  }
22
 
 
 
 
 
23
  textarea {
24
  min-height: 110px;
25
  }
 
 
 
 
26
  }
27
 
28
  @media screen and (min-width: 782px) {
20
  margin-right: 5px;
21
  }
22
 
23
+ input {
24
+ max-width: 200px;
25
+ }
26
+
27
  textarea {
28
  min-height: 110px;
29
  }
30
+
31
+ a {
32
+ display: block;
33
+ }
34
  }
35
 
36
  @media screen and (min-width: 782px) {
assets/css/admin/modal/roundup.scss CHANGED
@@ -25,5 +25,11 @@
25
  display: flex;
26
  align-items: center;
27
  }
 
 
 
 
 
 
28
  }
29
  }
25
  display: flex;
26
  align-items: center;
27
  }
28
+
29
+ .wprm-admin-modal-roundup-override {
30
+ margin-top: 30px;
31
+ margin-bottom: 5px;
32
+ font-style: italic;
33
+ }
34
  }
35
  }
assets/css/admin/template/main.scss CHANGED
@@ -1,10 +1,22 @@
1
  #wprm-template-main {
 
 
 
 
 
 
 
 
 
 
2
  .wprm-main-container-preview {
3
- max-width: 600px;
4
- margin: 0 auto;
 
5
 
6
- &, & > p {
7
- font-size: 16px;
 
8
  }
9
 
10
  .wprm-main-container-preview-recipe {
1
  #wprm-template-main {
2
+ .wprm-main-container-name {
3
+ input {
4
+ display: inline-block;
5
+ width: 85px;
6
+ font-size: 18px;
7
+ margin-right: 5px;
8
+ padding-right: 0;
9
+ }
10
+ }
11
+
12
  .wprm-main-container-preview {
13
+ .wprm-main-container-preview-content {
14
+ margin: 0 auto;
15
+ max-width: 100%;
16
 
17
+ &, & > p {
18
+ font-size: 16px;
19
+ }
20
  }
21
 
22
  .wprm-main-container-preview-recipe {
assets/css/blocks/recipe.scss CHANGED
@@ -7,4 +7,12 @@
7
 
8
  .editor-styles-wrapper .wp-block-wp-recipe-maker-recipe img {
9
  max-width: 100% !important;
 
 
 
 
 
 
 
 
10
  }
7
 
8
  .editor-styles-wrapper .wp-block-wp-recipe-maker-recipe img {
9
  max-width: 100% !important;
10
+ }
11
+
12
+ .editor-styles-wrapper .wp-block-wp-recipe-maker-recipe .wprm-recipe-block-invalid {
13
+ padding: 10px;
14
+ border: 1px solid darkred;
15
+ color: darkred;
16
+ font-family: monospace;
17
+ font-size: 16px;
18
  }
assets/icons/settings/health.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><g class="nc-icon-wrapper" stroke-width="1" fill="#111111" stroke="#111111"><polygon points="15.5 5.5 10.5 5.5 10.5 0.5 5.5 0.5 5.5 5.5 0.5 5.5 0.5 10.5 5.5 10.5 5.5 15.5 10.5 15.5 10.5 10.5 15.5 10.5 15.5 5.5" fill="none" stroke="#111111" stroke-linecap="round" stroke-linejoin="round"/></g></svg>
assets/js/admin-dashboard/App.js CHANGED
@@ -17,7 +17,7 @@ import Tips from './blocks/Tips';
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 },
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/Marketing/index.js CHANGED
@@ -1,32 +1,48 @@
1
- import React, { Fragment } from 'react';
2
 
3
  import '../../../css/admin/dashboard/marketing.scss';
4
 
 
5
  import { __wprm } from 'Shared/Translations';
6
  import Block from '../layout/Block';
7
 
8
  import Countdown from './Countdown';
9
 
10
- const Marketing = (props) => {
11
- const { campaign } = props;
12
- console.log( campaign );
 
 
 
 
13
 
14
- return (
15
- <div className="wprm-admin-dashboard-marketing">
16
- <Block
17
- title={ campaign.page_title }
18
- >
19
- <p dangerouslySetInnerHTML={ { __html: campaign.page_text } } />
20
- <Countdown
21
- countdown={ campaign.countdown }
22
- />
23
- <a
24
- className="button button-primary"
25
- href={ campaign.url }
26
- target="blank"
27
- >{ __wprm( 'Learn more about the sale' ) } 🎉</a>
28
- </Block>
29
- </div>
30
- );
31
- }
32
- export default Marketing;
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Component, Fragment } from 'react';
2
 
3
  import '../../../css/admin/dashboard/marketing.scss';
4
 
5
+ import Api from 'Shared/Api';
6
  import { __wprm } from 'Shared/Translations';
7
  import Block from '../layout/Block';
8
 
9
  import Countdown from './Countdown';
10
 
11
+ export default class Marketing extends Component {
12
+ render() {
13
+ const { campaign } = this.props;
14
+ // Hide after dismissing.
15
+ if ( campaign.hasOwnProperty( 'dismissed' ) && campaign.dismissed ) {
16
+ return null;
17
+ }
18
 
19
+ return (
20
+ <div className="wprm-admin-dashboard-marketing">
21
+ <Block
22
+ title={ campaign.page_title }
23
+ >
24
+ <p dangerouslySetInnerHTML={ { __html: campaign.page_text } } />
25
+ <Countdown
26
+ countdown={ campaign.countdown }
27
+ />
28
+ <div class="wprm-admin-dashboard-marketing-actions">
29
+ <a
30
+ className="button button-primary"
31
+ href={ campaign.url }
32
+ target="_blank"
33
+ >{ __wprm( 'Learn more about the sale' ) } 🎉</a>
34
+ <a
35
+ href="#"
36
+ class="wprm-admin-dashboard-marketing-actions-remove"
37
+ onClick={() => {
38
+ Api.general.dismissNotice( `dashboard_${ campaign.id }` );
39
+ campaign.dismissed = true;
40
+ this.forceUpdate();
41
+ }}
42
+ >{ __wprm( 'Remove Notice' ) }</a>
43
+ </div>
44
+ </Block>
45
+ </div>
46
+ );
47
+ }
48
+ }
assets/js/admin-dashboard/blocks/HealthCheck/Item.js CHANGED
@@ -1,7 +1,4 @@
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) {
@@ -13,11 +10,25 @@ export default class Item extends Component {
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
  }
1
+ import React, { Component } from 'react';
 
 
 
2
 
3
  export default class Item extends Component {
4
  constructor(props) {
10
  }
11
 
12
  render() {
 
 
13
  return (
14
  <div className="wprm-admin-dashboard-health-check-item">
15
+ <div
16
+ className="wprm-admin-dashboard-health-check-header"
17
+ onClick={ () => {
18
+ this.setState({
19
+ open: ! this.state.open,
20
+ });
21
+ } }
22
+ >
23
+ { this.props.header }
24
+ </div>
25
+ {
26
+ this.state.open
27
+ &&
28
+ <div className="wprm-admin-dashboard-health-check-content">
29
+ { this.props.children }
30
+ </div>
31
+ }
32
  </div>
33
  );
34
  }
assets/js/admin-dashboard/blocks/HealthCheck/ItemCompatibility.js ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import Item from './Item';
4
+
5
+ const ItemCompatibility = ( props ) => {
6
+ return (
7
+ <Fragment>
8
+ {
9
+ props.item.includes( 'litespeed-cache' )
10
+ &&
11
+ <Item
12
+ header="🔌 LiteSpeed Cache might be breaking recipe saving"
13
+ >
14
+ <p>There have been issues with LiteSpeed Cache breaking the recipe saving if the "Cache REST API" setting is enabled on the <em>LiteSpeed Cache &gt; Cache</em> page.</p>
15
+ <p>We recommend setting that setting to "Off".</p>
16
+ </Item>
17
+ }
18
+ </Fragment>
19
+ );
20
+ }
21
+ export default ItemCompatibility;
assets/js/admin-dashboard/blocks/HealthCheck/ItemDuplicateNames.js ADDED
@@ -0,0 +1,36 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import Item from './Item';
4
+
5
+ const ItemDuplicateNames = ( props ) => {
6
+ const duplicates = props.item;
7
+
8
+ if ( ! duplicates.length ) {
9
+ return null;
10
+ }
11
+
12
+ return (
13
+ <Item
14
+ header={ `✍️ Duplicate recipe names: ${ duplicates.length }` }>
15
+ <p>These recipe names are used in more than 1 recipe and might be duplicates. Click to find them on the manage page:</p>
16
+ <div className="wprm-admin-dashboard-health-check-list">
17
+ {
18
+ duplicates.map( ( duplicate, index ) => {
19
+ return (
20
+ <div
21
+ className="wprm-admin-dashboard-health-check-list-item"
22
+ key={ index }
23
+ >
24
+ <div className="wprm-admin-dashboard-health-check-list-item-main">
25
+ <a href={ `${ wprm_admin.manage_url}#recipe/name=${ encodeURIComponent( duplicate.name ) }`}>{ duplicate.name }</a>
26
+ </div>
27
+ <div className="wprm-admin-dashboard-health-check-list-item-side">{ duplicate.recipes.length } recipes</div>
28
+ </div>
29
+ )
30
+ })
31
+ }
32
+ </div>
33
+ </Item>
34
+ );
35
+ }
36
+ export default ItemDuplicateNames;
assets/js/admin-dashboard/blocks/HealthCheck/ItemMissingThumbnails.js ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import Item from './Item';
4
+
5
+ const ItemMissingThumbnails = ( props ) => {
6
+ const missingThumbnails = props.item;
7
+
8
+ if ( ! missingThumbnails || ! Object.keys( missingThumbnails ).length ) {
9
+ return null;
10
+ }
11
+
12
+ return (
13
+ <Item
14
+ header={ `📸 Missing recipe thumbnails: ${ Object.keys( missingThumbnails ).length }` }>
15
+ <p>Google expects to see 3 different ratios for the recipe image in the recipe metadata. WP Recipe Maker automatically generates those ratios for the recipe images, but some of them seem to be missing. This can happen if you converted those recipes from another plugin, for example.</p>
16
+ <p>Try using a plugin like <a href="https://wordpress.org/plugins/regenerate-thumbnails/" target="_blank">Regenerate Thumbnails</a> to make sure all thumbnail sizes exist.</p>
17
+ <p>If that doesn't fix things, the problem could also be that the original recipe image is too small. A recipe image should be at least 500 by 500 pixels to be able to generate all thumbnail sizes.</p>
18
+ <p>Click through to find the problem recipes on the Manage page:</p>
19
+ <div className="wprm-admin-dashboard-health-check-list">
20
+ {
21
+ Object.keys( missingThumbnails ).map( ( recipe, index ) => {
22
+ const name = missingThumbnails[ recipe ] ? missingThumbnails[ recipe ] : 'n/a';
23
+
24
+ return (
25
+ <div
26
+ className="wprm-admin-dashboard-health-check-list-item"
27
+ key={ index }
28
+ >
29
+ <div className="wprm-admin-dashboard-health-check-list-item-main">
30
+ <a href={ `${ wprm_admin.manage_url}#recipe/id=${ encodeURIComponent( recipe ) }`}>{ name }</a>
31
+ </div>
32
+ </div>
33
+ )
34
+ })
35
+ }
36
+ </div>
37
+ </Item>
38
+ );
39
+ }
40
+ export default ItemMissingThumbnails;
assets/js/admin-dashboard/blocks/HealthCheck/ItemMultipleParents.js ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+ import he from 'he';
3
+
4
+ import Item from './Item';
5
+
6
+ const ItemMultipleParents = ( props ) => {
7
+ const recipes = props.item;
8
+
9
+ if ( ! Object.keys( recipes ).length ) {
10
+ return null;
11
+ }
12
+
13
+ return (
14
+ <Item
15
+ header={ `📑 Recipes used in multiple places: ${ Object.keys( recipes ).length }` }>
16
+ <p>These recipes have been added to more than 1 post or page. A recipe should generally only exist in 1 parent post. References should be made using the <a href="https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts" target="_blank">Recipe Roundup feature</a> instead. Click on a post to edit it:</p>
17
+ <div className="wprm-admin-dashboard-health-check-list">
18
+ {
19
+ Object.keys( recipes ).map( ( id, index ) => {
20
+ const recipe = recipes[ id ];
21
+
22
+ return (
23
+ <div
24
+ className="wprm-admin-dashboard-health-check-multiple-parents"
25
+ key={ index }
26
+ >
27
+ <div className="wprm-admin-dashboard-health-check-multiple-parents-recipe">{ id } - { recipe.name }</div>
28
+ <div className="wprm-admin-dashboard-health-check-multiple-parents-posts">
29
+ {
30
+ recipe.posts.map( ( post, postIndex ) => {
31
+ const label = `${ post.id } - ${ post.name ? post.name : 'n/a' }`;
32
+ return (
33
+ <div className="wprm-admin-dashboard-health-check-multiple-parents-post" key={ postIndex }>
34
+ {
35
+ post.edit_url
36
+ ?
37
+ <Fragment>
38
+ <a href={ he.decode( post.edit_url ) }>{ label }</a>{ parseInt( recipe.parent_post_id ) === parseInt( post.id ) && ` (parent post)` }
39
+ </Fragment>
40
+ :
41
+ label
42
+ }
43
+ </div>
44
+ )
45
+ } )
46
+ }
47
+ </div>
48
+ </div>
49
+ )
50
+ })
51
+ }
52
+ </div>
53
+ </Item>
54
+ );
55
+ }
56
+ export default ItemMultipleParents;
assets/js/admin-dashboard/blocks/HealthCheck/ItemSeoTypes.js ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import Item from './Item';
4
+
5
+ const ItemSeoTypes = ( props ) => {
6
+ const seo = props.item;
7
+ const totalNbrRecipes = Object.values( seo ).reduce( (a, b) => a + b );
8
+
9
+ if ( 0 === totalNbrRecipes ) {
10
+ return (
11
+ <Item
12
+ header={ `🤷‍♂️ No recipes yet` }>
13
+ <p>We can't seem to find any recipes yet. Start adding them!</p>
14
+ </Item>
15
+ )
16
+ }
17
+
18
+ const seoTypes = {
19
+ good: 'Good SEO',
20
+ rating: 'Only missing recipe ratings',
21
+ warning: 'Missing some recommended fields',
22
+ bad: 'Missing some required fields',
23
+ other: 'Not using metadata (excluded from count)',
24
+ }
25
+
26
+ return (
27
+ <Item
28
+ header={ `🔍 Recipes with a good SEO rating: ${ seo.good } of ${ totalNbrRecipes - seo.other }` }>
29
+ <p>Google has a list of required and recommended fields they want to see in the metadata. You definitely need to fill in all required fields. Not filling in recommended fields will get you a warning, but is not a huge problem. Click to see those recipes on the manage page:</p>
30
+ <div className="wprm-admin-dashboard-health-check-list">
31
+ {
32
+ Object.keys( seoTypes ).map( ( type, index ) => {
33
+ const label = seoTypes[ type ];
34
+
35
+ return (
36
+ <div
37
+ className="wprm-admin-dashboard-health-check-list-item"
38
+ key={ index }
39
+ >
40
+ <div className="wprm-admin-dashboard-health-check-list-item-main">
41
+ <a href={ `${ wprm_admin.manage_url}#recipe/seo=${ type }` }>{ label }</a>
42
+ </div>
43
+ <div className="wprm-admin-dashboard-health-check-list-item-side">{ seo[ type ] } { 1 === seo[ type ] ? 'recipe' : 'recipes' }</div>
44
+ </div>
45
+ )
46
+ })
47
+ }
48
+ </div>
49
+ </Item>
50
+ );
51
+ }
52
+ export default ItemSeoTypes;
assets/js/admin-dashboard/blocks/HealthCheck/index.js CHANGED
@@ -5,8 +5,19 @@ import '../../../../css/admin/dashboard/health-check.scss';
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);
@@ -17,31 +28,52 @@ export default class Recipes extends Component {
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
  );
5
  import { __wprm } from 'Shared/Translations';
6
 
7
  import Block from '../../layout/Block';
8
+ import ItemCompatibility from './ItemCompatibility';
9
+ import ItemDuplicateNames from './ItemDuplicateNames';
10
+ import ItemMissingThumbnails from './ItemMissingThumbnails';
11
+ import ItemMultipleParents from './ItemMultipleParents';
12
+ import ItemSeoTypes from './ItemSeoTypes';
13
 
14
+ const itemBlocks = {
15
+ compatibility: ItemCompatibility,
16
+ duplicate_names: ItemDuplicateNames,
17
+ missing_thumbnails: ItemMissingThumbnails,
18
+ multiple_parents: ItemMultipleParents,
19
+ seo_types: ItemSeoTypes,
20
+ }
21
  export default class Recipes extends Component {
22
  constructor(props) {
23
  super(props);
28
  }
29
 
30
  render() {
 
 
31
  return (
32
  <Block
33
  title={ __wprm( 'Health Check' ) }
34
  button={ __wprm( 'Run Check' ) }
35
  buttonAction={ () => {
36
+ window.location = wprm_admin_dashboard.health.tool;
37
  }}
38
  >
39
  <div className="wprm-admin-dashboard-health-check-container">
40
+ <div
41
+ className={ `wprm-admin-dashboard-health-check-last-update wprm-admin-dashboard-health-check-last-update-${ wprm_admin_dashboard.health.urgency }` }
42
+ title={ wprm_admin_dashboard.health.date ? wprm_admin_dashboard.health.date_formatted_full : null }
43
+ >
44
+ { __wprm( 'Last check:' ) } { wprm_admin_dashboard.health.date_formatted }{ wprm_admin_dashboard.health.updated && ` (${ __wprm( 'outdated version' ) })`}
45
+ </div>
46
  <div className="wprm-admin-dashboard-health-check-description">
47
+ {
48
+ __wprm( 'Use the Health Check feature to search for any WPRM-related issues and improve your recipes.' )
49
+ } {
50
+ 'never' === wprm_admin_dashboard.health.urgency
51
+ ?
52
+ __wprm( 'Recommended to run occassionally by clicking on the blue button.' )
53
+ :
54
+ __wprm( 'Most recent results:' )
55
+ }
56
  </div>
57
  {
58
+ Object.keys( this.state.items ).map( ( type, index ) => {
59
+ const item = this.state.items[ type ];
60
+ let ItemBlock = itemBlocks.hasOwnProperty( type ) ? itemBlocks[ type ] : false;
61
+
62
+ if ( ! ItemBlock ) {
63
+ return null;
64
+ }
65
+
66
  return (
67
+ <ItemBlock
68
  item={ item }
69
  key={ index }
70
  />
71
  )
72
  } )
73
  }
74
+ <div className="wprm-admin-dashboard-health-check-learn-more">
75
+ <a href="https://help.bootstrapped.ventures/article/306-health-check" target="_blank">{ __wprm( 'Learn more about the Health Check feature' ) }</a>
76
+ </div>
77
  </div>
78
  </Block>
79
  );
assets/js/admin-dashboard/blocks/Recipes/Recipe.js CHANGED
@@ -32,7 +32,7 @@ const Recipe = (props) => {
32
  title={ __wprm( 'Edit Recipe' ) }
33
  onClick={() => {
34
  WPRM_Modal.open( 'recipe', {
35
- recipe,
36
  saveCallback: ( savedRecipe ) => {
37
  let newRecipe = JSON.parse( JSON.stringify( recipe ) );
38
  newRecipe.name = savedRecipe.name;
32
  title={ __wprm( 'Edit Recipe' ) }
33
  onClick={() => {
34
  WPRM_Modal.open( 'recipe', {
35
+ recipeId: recipe.id, // Make sure it loads the latest version to prevent issues after already making changes.
36
  saveCallback: ( savedRecipe ) => {
37
  let newRecipe = JSON.parse( JSON.stringify( recipe ) );
38
  newRecipe.name = savedRecipe.name;
assets/js/admin-manage/App.js CHANGED
@@ -1,5 +1,5 @@
1
  import React, { Component } from 'react';
2
- import { Route } from 'react-router-dom';
3
 
4
  import Menu from './Menu';
5
  import Notices from './Notices';
@@ -46,6 +46,10 @@ export default class App extends Component {
46
  <DataTable
47
  type={ type }
48
  filter={ filter }
 
 
 
 
49
  options={ datatables[ type ] }
50
  />
51
  )
1
  import React, { Component } from 'react';
2
+ import { Route, useHistory } from 'react-router-dom';
3
 
4
  import Menu from './Menu';
5
  import Notices from './Notices';
46
  <DataTable
47
  type={ type }
48
  filter={ filter }
49
+ onRemoveFilter={ () => {
50
+ const history = useHistory();
51
+ history.push( `/${type}` );
52
+ }}
53
  options={ datatables[ type ] }
54
  />
55
  )
assets/js/admin-manage/DataTable.js CHANGED
@@ -46,7 +46,7 @@ export default class DataTable extends Component {
46
  }
47
 
48
  componentDidUpdate( prevProps ) {
49
- if ( this.props.type !== prevProps.type ) {
50
  this.initDataTable( true );
51
  }
52
  }
@@ -272,6 +272,7 @@ export default class DataTable extends Component {
272
  filtered={this.state.countFiltered}
273
  total={this.state.countTotal}
274
  filter={this.props.filter}
 
275
  />
276
  <div className="wprm-admin-manage-table-inner">
277
  <ReactTable
46
  }
47
 
48
  componentDidUpdate( prevProps ) {
49
+ if ( this.props.type !== prevProps.type || this.props.filter !== prevProps.filter ) {
50
  this.initDataTable( true );
51
  }
52
  }
272
  filtered={this.state.countFiltered}
273
  total={this.state.countTotal}
274
  filter={this.props.filter}
275
+ onRemoveFilter={this.props.onRemoveFilter}
276
  />
277
  <div className="wprm-admin-manage-table-inner">
278
  <ReactTable
assets/js/admin-manage/general/Totals.js CHANGED
@@ -9,6 +9,15 @@ const Totals = (props) => {
9
 
10
  const isFiltered = false !== props.filtered && props.filtered != props.total;
11
 
 
 
 
 
 
 
 
 
 
12
  return (
13
  <div className="wprm-admin-table-totals">
14
  {
@@ -29,9 +38,15 @@ const Totals = (props) => {
29
  {
30
  false !== props.filter
31
  &&
32
- <div className="wprm-admin-table-totals-filter">
33
- { `${__wprm( 'Filter' ) }: ${ props.filter[0] } = ${ props.filter[1] }` }
34
- </div>
 
 
 
 
 
 
35
  }
36
  </div>
37
  );
9
 
10
  const isFiltered = false !== props.filtered && props.filtered != props.total;
11
 
12
+ // Try to decode filter.
13
+ let decodedFilter = '';
14
+ if ( false !== props.filter ) {
15
+ decodedFilter = props.filter[1];
16
+ try {
17
+ decodedFilter = decodeURIComponent( props.filter[1] );
18
+ } catch(e) {}
19
+ }
20
+
21
  return (
22
  <div className="wprm-admin-table-totals">
23
  {
38
  {
39
  false !== props.filter
40
  &&
41
+ <Fragment>
42
+ <div className="wprm-admin-table-totals-filter">
43
+ { `${__wprm( 'Filter' ) }: ${ props.filter[0] } = ${ decodedFilter }` }
44
+ </div>
45
+ <a
46
+ href="#"
47
+ onClick={ () => props.onRemoveFilter() }
48
+ >{ __wprm( 'Remove fixed filter' ) }</a>
49
+ </Fragment>
50
  }
51
  </div>
52
  );
assets/js/admin-manage/recipes/Columns.js CHANGED
@@ -116,9 +116,21 @@ export default {
116
  Header: __wprm( 'SEO' ),
117
  id: 'seo',
118
  accessor: 'seo',
119
- width: 65,
120
- sortable: false,
121
- filterable: false,
 
 
 
 
 
 
 
 
 
 
 
 
122
  Cell: row => (
123
  <SeoIndicator
124
  seo={ row.value }
@@ -259,6 +271,12 @@ export default {
259
  }
260
  </div>
261
  ),
 
 
 
 
 
 
262
  },{
263
  Header: __wprm( 'Video' ),
264
  id: 'video',
116
  Header: __wprm( 'SEO' ),
117
  id: 'seo',
118
  accessor: 'seo',
119
+ width: 80,
120
+ Filter: ({ filter, onChange }) => (
121
+ <select
122
+ onChange={event => onChange(event.target.value)}
123
+ style={{ width: '100%', fontSize: '1em' }}
124
+ value={filter ? filter.value : 'all'}
125
+ >
126
+ <option value="all">{ __wprm( 'Show All' ) }</option>
127
+ <option value="other">{ 'n/a' }</option>
128
+ <option value="bad">{ __wprm( 'Bad' ) }</option>
129
+ <option value="warning">{ __wprm( 'Warnings' ) }</option>
130
+ <option value="rating">{ __wprm( 'No Ratings' ) }</option>
131
+ <option value="good">{ __wprm( 'Good' ) }</option>
132
+ </select>
133
+ ),
134
  Cell: row => (
135
  <SeoIndicator
136
  seo={ row.value }
271
  }
272
  </div>
273
  ),
274
+ },{
275
+ Header: __wprm( 'Repin ID' ),
276
+ id: 'pin_image_repin_id',
277
+ accessor: 'pin_image_repin_id',
278
+ width: 170,
279
+ Filter: (props) => (<TextFilter {...props}/>),
280
  },{
281
  Header: __wprm( 'Video' ),
282
  id: 'video',
assets/js/admin-manage/recipes/SeoIndicator.js CHANGED
@@ -1,6 +1,7 @@
1
  import React, { Fragment } from 'react';
2
 
3
  import Tooltip from 'Shared/Tooltip';
 
4
 
5
  const SeoIndicator = (props) => {
6
  if ( ! props.seo ) {
@@ -22,10 +23,18 @@ const SeoIndicator = (props) => {
22
  'n/a'
23
  :
24
  <Fragment>
25
- <div className="wprm-admin-manage-seo-indicator-block"></div>
26
- <div className="wprm-admin-manage-seo-indicator-block"></div>
27
- <div className="wprm-admin-manage-seo-indicator-block"></div>
28
- <div className="wprm-admin-manage-seo-indicator-block"></div>
 
 
 
 
 
 
 
 
29
  </Fragment>
30
  }
31
  </div>
1
  import React, { Fragment } from 'react';
2
 
3
  import Tooltip from 'Shared/Tooltip';
4
+ import { __wprm } from 'Shared/Translations';
5
 
6
  const SeoIndicator = (props) => {
7
  if ( ! props.seo ) {
23
  'n/a'
24
  :
25
  <Fragment>
26
+ {
27
+ 'missing' === props.seo.type
28
+ ?
29
+ __wprm( 'missing' )
30
+ :
31
+ <Fragment>
32
+ <div className="wprm-admin-manage-seo-indicator-block"></div>
33
+ <div className="wprm-admin-manage-seo-indicator-block"></div>
34
+ <div className="wprm-admin-manage-seo-indicator-block"></div>
35
+ <div className="wprm-admin-manage-seo-indicator-block"></div>
36
+ </Fragment>
37
+ }
38
  </Fragment>
39
  }
40
  </div>
assets/js/admin-modal/bulk-edit/ActionsEquipment.js CHANGED
@@ -9,6 +9,7 @@ const ActionsEquipment = (props) => {
9
  const actionOptions = [
10
  { value: 'change-link', label: __wprm( 'Change Link' ), default: '' },
11
  { value: 'change-nofollow', label: __wprm( 'Change Link Nofollow' ), default: 'default' },
 
12
  { value: 'export', label: __wprm( 'Export Equipment' ), default: false, required: 'premium' },
13
  { value: 'delete', label: __wprm( 'Delete Equipment' ), default: false },
14
  ];
@@ -75,6 +76,23 @@ const ActionsEquipment = (props) => {
75
  options: value,
76
  }
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  props.onActionChange(newAction);
79
  }}
80
  />
9
  const actionOptions = [
10
  { value: 'change-link', label: __wprm( 'Change Link' ), default: '' },
11
  { value: 'change-nofollow', label: __wprm( 'Change Link Nofollow' ), default: 'default' },
12
+ { value: 'change-html', label: __wprm( 'Change Affiliate HTML' ), default: '' },
13
  { value: 'export', label: __wprm( 'Export Equipment' ), default: false, required: 'premium' },
14
  { value: 'delete', label: __wprm( 'Delete Equipment' ), default: false },
15
  ];
76
  options: value,
77
  }
78
 
79
+ props.onActionChange(newAction);
80
+ }}
81
+ />
82
+ }
83
+ {
84
+ 'change-html' === selectedAction
85
+ &&
86
+ <FieldText
87
+ name="equipment-html"
88
+ value={props.action.options}
89
+ placeholder={ __wprm( 'Affiliate HTML' ) }
90
+ onChange={(group) => {
91
+ const newAction = {
92
+ ...props.action,
93
+ options: group,
94
+ }
95
+
96
  props.onActionChange(newAction);
97
  }}
98
  />
assets/js/admin-modal/bulk-edit/ActionsRecipe.js CHANGED
@@ -53,10 +53,26 @@ const ActionsRecipe = (props) => {
53
  { value: 'change-author', label: __wprm( 'Change Display Author' ), default: { author: 'default', author_name: '', author_link: '' } },
54
  { value: 'change-servings', label: __wprm( 'Change Servings' ), default: { servings: '', servings_unit: '' } },
55
  { value: 'recalculate-time', label: __wprm( 'Recalculate Total Time' ), default: false },
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  { value: 'print', label: __wprm( 'Print Recipes' ), default: false },
57
  { value: 'export', label: __wprm( 'Export Recipes' ), default: 'recipe', required: 'premium' },
58
  { value: 'delete', label: __wprm( 'Delete Recipes' ), default: false },
59
- )
60
 
61
  return (
62
  <form>
@@ -295,6 +311,36 @@ const ActionsRecipe = (props) => {
295
  />
296
  </Fragment>
297
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
298
  {
299
  'export' === selectedAction
300
  &&
53
  { value: 'change-author', label: __wprm( 'Change Display Author' ), default: { author: 'default', author_name: '', author_link: '' } },
54
  { value: 'change-servings', label: __wprm( 'Change Servings' ), default: { servings: '', servings_unit: '' } },
55
  { value: 'recalculate-time', label: __wprm( 'Recalculate Total Time' ), default: false },
56
+ );
57
+
58
+ if ( wprm_admin.addons.premium ) {
59
+ actionOptions.push(
60
+ { value: 'custom-nutrition-ingredient', label: __wprm( 'Create Custom Nutrition Ingredient' ), default: false },
61
+ );
62
+ }
63
+ if ( wprm_admin.addons.pro ) {
64
+ actionOptions.push(
65
+ { value: 'switch-unit-system', label: __wprm( 'Switch ingredient units with converted ones (does not change label)' ), default: false },
66
+ { value: 'change-unit-system', label: __wprm( 'Change unit system label (does not change ingredients)' ), default: 'default' },
67
+ );
68
+ }
69
+
70
+ // Default options (part 2).
71
+ actionOptions.push(
72
  { value: 'print', label: __wprm( 'Print Recipes' ), default: false },
73
  { value: 'export', label: __wprm( 'Export Recipes' ), default: 'recipe', required: 'premium' },
74
  { value: 'delete', label: __wprm( 'Delete Recipes' ), default: false },
75
+ );
76
 
77
  return (
78
  <form>
311
  />
312
  </Fragment>
313
  }
314
+ {
315
+ 'change-unit-system' === selectedAction
316
+ &&
317
+ <FieldRadio
318
+ id="type"
319
+ options={ [
320
+ {
321
+ value: 'default',
322
+ label: `${ __wprm( 'Use Default' ) } (${ wprm_admin_modal.unit_conversion.systems[ parseInt( wprm_admin_modal.unit_conversion.default_system ) ].label })`,
323
+ },
324
+ {
325
+ value: '1',
326
+ label: `${ __wprm( 'First Unit System' ) } (${ wprm_admin_modal.unit_conversion.systems[1].label })`,
327
+ },
328
+ {
329
+ value: '2',
330
+ label: `${ __wprm( 'Second Unit System' ) } (${ wprm_admin_modal.unit_conversion.systems[2].label })`,
331
+ },
332
+ ] }
333
+ value={props.action.options}
334
+ onChange={(value) => {
335
+ const newAction = {
336
+ ...props.action,
337
+ options: value,
338
+ }
339
+
340
+ props.onActionChange(newAction);
341
+ }}
342
+ />
343
+ }
344
  {
345
  'export' === selectedAction
346
  &&
assets/js/admin-modal/fields/FieldAdvancedServings.js ADDED
@@ -0,0 +1,137 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import { __wprm } from 'Shared/Translations';
4
+
5
+ import FieldCheckbox from './FieldCheckbox';
6
+ import FieldDropdown from './FieldDropdown';
7
+ import FieldText from './FieldText';
8
+
9
+ const FieldAdvancedServings = (props) => {
10
+ const servings = {
11
+ shape: 'round',
12
+ unit: 'inch',
13
+ diameter: 0,
14
+ width: 0,
15
+ length: 0,
16
+ height: 0,
17
+ ...props.servings,
18
+ }
19
+
20
+ return (
21
+ <div className="wprm-admin-modal-field-advanced-servings">
22
+ <FieldCheckbox
23
+ name="advanced-servings"
24
+ value={ props.enabled }
25
+ onChange={ (enabled) => {
26
+ props.onChangeEnabled( enabled );
27
+ }}
28
+ />
29
+ {
30
+ props.enabled
31
+ &&
32
+ <Fragment>
33
+ {
34
+ ! wprm_admin.addons.premium
35
+ &&
36
+ <p>{ __wprm( 'This feature is only available in' ) } <a href="https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/" target="_blank">WP Recipe Maker Premium</a>. { __wprm( 'You can already fill in the values, but the adjustable changer will not show up yet.' ) }</p>
37
+ }
38
+ <div className="wprm-admin-modal-field-advanced-servings-details">
39
+ <FieldDropdown
40
+ options={ [{ value: 'round', label: __wprm( 'Round' ) }, { value: 'rectangle', label: __wprm( 'Rectangle' ) } ] }
41
+ value={ servings.shape }
42
+ onChange={ (shape) => {
43
+ props.onChangeServings( {
44
+ ...servings,
45
+ shape,
46
+ } );
47
+ }}
48
+ width={ 147 }
49
+ />
50
+ <div className="wprm-admin-modal-field-advanced-servings-details-text">{ __wprm( 'measured in' ) }</div>
51
+ <FieldDropdown
52
+ options={ [{ value: 'inch', label: __wprm( 'inch' ) }, { value: 'cm', label: __wprm( 'cm' ) } ] }
53
+ value={ servings.unit }
54
+ onChange={ (unit) => {
55
+ props.onChangeServings( {
56
+ ...servings,
57
+ unit,
58
+ } );
59
+ }}
60
+ width={ 100 }
61
+ />
62
+ </div>
63
+ <div className="wprm-admin-modal-field-advanced-servings-details">
64
+ {
65
+ 'round' === servings.shape
66
+ ?
67
+ <Fragment>
68
+ <FieldText
69
+ placeholder="6"
70
+ type="number"
71
+ min="0"
72
+ step="any"
73
+ value={ 0 != servings.diameter ? servings.diameter : '' }
74
+ onChange={ (diameter) => {
75
+ props.onChangeServings( {
76
+ ...servings,
77
+ diameter,
78
+ } );
79
+ }}
80
+ />
81
+ <div className="wprm-admin-modal-field-advanced-servings-details-text">{ servings.unit } { __wprm( 'diameter' ) }</div>
82
+ </Fragment>
83
+ :
84
+ <Fragment>
85
+ <FieldText
86
+ placeholder="6"
87
+ type="number"
88
+ min="0"
89
+ step="any"
90
+ value={ 0 != servings.width ? servings.width : '' }
91
+ onChange={ (width) => {
92
+ props.onChangeServings( {
93
+ ...servings,
94
+ width,
95
+ } );
96
+ }}
97
+ />
98
+ <div className="wprm-admin-modal-field-advanced-servings-details-text">x</div>
99
+ <FieldText
100
+ placeholder="6"
101
+ type="number"
102
+ min="0"
103
+ step="any"
104
+ value={ 0 != servings.length ? servings.length : '' }
105
+ onChange={ (length) => {
106
+ props.onChangeServings( {
107
+ ...servings,
108
+ length,
109
+ } );
110
+ }}
111
+ />
112
+ <div className="wprm-admin-modal-field-advanced-servings-details-text">{ servings.unit } { __wprm( 'area' ) }</div>
113
+ </Fragment>
114
+ }
115
+ </div>
116
+ <div className="wprm-admin-modal-field-advanced-servings-details">
117
+ <FieldText
118
+ placeholder=""
119
+ type="number"
120
+ min="0"
121
+ step="any"
122
+ value={ 0 != servings.height ? servings.height : '' }
123
+ onChange={ (height) => {
124
+ props.onChangeServings( {
125
+ ...servings,
126
+ height,
127
+ } );
128
+ }}
129
+ />
130
+ <div className="wprm-admin-modal-field-advanced-servings-details-text">{ servings.unit } { __wprm( 'height' ) } ({ __wprm( 'optional' ) })</div>
131
+ </div>
132
+ </Fragment>
133
+ }
134
+ </div>
135
+ );
136
+ }
137
+ export default FieldAdvancedServings;
assets/js/admin-modal/fields/FieldEquipment.js CHANGED
@@ -23,6 +23,9 @@ export default class FieldEquipment extends Component {
23
  }
24
 
25
  render() {
 
 
 
26
  return (
27
  <Draggable
28
  draggableId={ `equipment-${this.props.uid}` }
@@ -35,22 +38,35 @@ export default class FieldEquipment extends Component {
35
  ref={provided.innerRef}
36
  {...provided.draggableProps}
37
  >
38
- <div className="wprm-admin-modal-field-equipment-main-container">
39
- { handle(provided) }
40
- <div className="wprm-admin-modal-field-equipment-name-container">
41
- <FieldRichText
42
- singleLine
43
- toolbar="equipment"
44
- value={ this.props.name }
45
- placeholder={ 'howto' === this.props.recipeType ? __wprm( 'Pair of scissors' ) : __wprm( 'Pressure cooker' ) }
46
- onChange={(value) => this.props.onChangeName(value)}
47
- onKeyDown={(event) => {
48
- if ( isTabHotkey(event) ) {
49
- this.props.onTab(event);
50
- }
51
- }}
52
- />
53
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
54
  </div>
55
  <div className="wprm-admin-modal-field-equipment-after-container">
56
  <div className="wprm-admin-modal-field-equipment-after-container-icons">
23
  }
24
 
25
  render() {
26
+ const amount = this.props.amount ? this.props.amount : '';
27
+ const notes = this.props.notes ? this.props.notes : '';
28
+
29
  return (
30
  <Draggable
31
  draggableId={ `equipment-${this.props.uid}` }
38
  ref={provided.innerRef}
39
  {...provided.draggableProps}
40
  >
41
+ { handle(provided) }
42
+ <div className="wprm-admin-modal-field-equipment-text-container">
43
+ <FieldRichText
44
+ singleLine
45
+ toolbar={ wprm_admin.addons.premium ? 'all' : 'no-link' }
46
+ className="wprm-admin-modal-field-equipment-amount"
47
+ value={ amount }
48
+ placeholder="1"
49
+ onChange={ (amount) => this.props.onChangeEquipment( { amount } ) }
50
+ />
51
+ <FieldRichText
52
+ singleLine
53
+ toolbar="equipment"
54
+ value={ this.props.name }
55
+ placeholder={ 'howto' === this.props.recipeType ? __wprm( 'Pair of scissors' ) : __wprm( 'Pressure cooker' ) }
56
+ onChange={ (name) => this.props.onChangeEquipment( { name } ) }
57
+ />
58
+ <FieldRichText
59
+ singleLine
60
+ toolbar={ wprm_admin.addons.premium ? 'all' : 'no-link' }
61
+ value={ notes }
62
+ placeholder={ __wprm( 'optional' ) }
63
+ onChange={ (notes) => this.props.onChangeEquipment( { notes } ) }
64
+ onKeyDown={(event) => {
65
+ if ( isTabHotkey(event) ) {
66
+ this.props.onTab(event);
67
+ }
68
+ }}
69
+ />
70
  </div>
71
  <div className="wprm-admin-modal-field-equipment-after-container">
72
  <div className="wprm-admin-modal-field-equipment-after-container-icons">
assets/js/admin-modal/fields/FieldPinImage.js ADDED
@@ -0,0 +1,100 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Fragment } from 'react';
2
+
3
+ import Media from '../general/Media';
4
+ import Button from 'Shared/Button';
5
+ import { __wprm } from 'Shared/Translations';
6
+
7
+ import FieldText from './FieldText';
8
+
9
+ const FieldPinImage = (props) => {
10
+ const hasUpload = props.id > 0;
11
+ const hasRepinId = ! hasUpload && ( -1 == props.id || props.repin );
12
+ const hasImage = hasUpload || hasRepinId;
13
+
14
+ const selectImage = (e) => {
15
+ e.preventDefault();
16
+
17
+ Media.selectImage((attachment) => {
18
+ if ( props.hasOwnProperty( 'requirements' ) ) {
19
+ let warnings = [];
20
+
21
+ if ( props.requirements.hasOwnProperty( 'width' ) && attachment.width && attachment.width < props.requirements.width ) {
22
+ warnings.push( `${ __wprm( 'The image should have at least this width:' ) } ${ props.requirements.width }px` );
23
+ }
24
+ if ( props.requirements.hasOwnProperty( 'height' ) && attachment.height && attachment.height < props.requirements.height ) {
25
+ warnings.push( `${ __wprm( 'The image should have at least this height:' ) } ${ props.requirements.width }px` );
26
+ }
27
+
28
+ if ( warnings.length ) {
29
+ alert( `${ __wprm( 'Warning! We recommend making sure the image meets the following requirements:' ) }\n\n${ warnings.join( '\n' ) }` );
30
+ }
31
+ }
32
+
33
+ props.onChange( attachment.id, attachment.url );
34
+ });
35
+ }
36
+
37
+ return (
38
+ <div className="wprm-admin-modal-field-image">
39
+ {
40
+ hasImage
41
+ ?
42
+ <Fragment>
43
+ {
44
+ hasUpload
45
+ ?
46
+ <div className="wprm-admin-modal-field-image-preview">
47
+ <img
48
+ onClick={ selectImage }
49
+ src={ props.url }
50
+ />
51
+ <a
52
+ href="#"
53
+ tabIndex={ props.disableTab ? '-1' : null }
54
+ onClick={ (e) => {
55
+ e.preventDefault();
56
+ props.onChange( 0, '' );
57
+ } }
58
+ >{ __wprm( 'Remove Image' ) }</a>
59
+ </div>
60
+ :
61
+ <Fragment>
62
+ <FieldText
63
+ value={ props.repin }
64
+ onChange={(repin) => {
65
+ props.onChange( -1, '', repin );
66
+ }}
67
+ placeholder="123455679"
68
+ />
69
+ <a
70
+ href="#"
71
+ onClick={ (e) => {
72
+ e.preventDefault();
73
+ props.onChange( 0, '', '' );
74
+ } }
75
+ >{ __wprm( 'Remove Repin ID' ) }</a>
76
+ </Fragment>
77
+ }
78
+ </Fragment>
79
+ :
80
+ <Fragment>
81
+ <Button
82
+ required={ props.required }
83
+ disableTab={ props.disableTab }
84
+ onClick={ selectImage }
85
+
86
+ >{ __wprm( 'Select Image' ) }</Button>
87
+ <Button
88
+ required={ props.required }
89
+ disableTab={ props.disableTab }
90
+ onClick={ (e) => {
91
+ e.preventDefault();
92
+ props.onChange( -1, '' );
93
+ } }
94
+ >{ __wprm( 'Use Repin ID' ) }</Button>
95
+ </Fragment>
96
+ }
97
+ </div>
98
+ );
99
+ }
100
+ export default FieldPinImage;
assets/js/admin-modal/fields/FieldRichText/RichEditor.js CHANGED
@@ -88,24 +88,24 @@ const RichEditor = (props) => {
88
  type={ props.toolbar ? props.toolbar : 'all' }
89
  isMarkActive={ isMarkActive }
90
  toggleMark={ toggleMark }
91
- setValue={ value => {
92
- setValue( value );
93
 
94
  // Convoluted way to force immediate update.
95
- Transforms.deselect( editor );
96
- Transforms.select( editor, {
97
- path: [0,0],
98
- offset: 0,
99
- });
100
- Transforms.move( editor, {
101
- unit: 'line',
102
- edge: 'end',
103
- });
104
- Transforms.collapse( editor, {
105
- edge: 'end',
106
- });
107
- }
108
- }
109
  />
110
  <Editable
111
  className={ `wprm-admin-modal-field-richtext${ props.className ? ` ${ props.className }` : ''}${ props.singleLine ? ` wprm-admin-modal-field-richtext-singleline` : ''}` }
@@ -113,7 +113,10 @@ const RichEditor = (props) => {
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, []),
88
  type={ props.toolbar ? props.toolbar : 'all' }
89
  isMarkActive={ isMarkActive }
90
  toggleMark={ toggleMark }
91
+ // setValue={ value => {
92
+ // console.log( setValue( value ) );
93
 
94
  // Convoluted way to force immediate update.
95
+ // Transforms.deselect( editor );
96
+ // Transforms.select( editor, {
97
+ // path: [0,0],
98
+ // offset: 0,
99
+ // });
100
+ // Transforms.move( editor, {
101
+ // unit: 'line',
102
+ // edge: 'end',
103
+ // });
104
+ // Transforms.collapse( editor, {
105
+ // edge: 'end',
106
+ // });
107
+ // }
108
+ // }
109
  />
110
  <Editable
111
  className={ `wprm-admin-modal-field-richtext${ props.className ? ` ${ props.className }` : ''}${ props.singleLine ? ` wprm-admin-modal-field-richtext-singleline` : ''}` }
113
  renderElement={ useCallback(props => <Element {...props} />, []) }
114
  renderLeaf={ useCallback(props => <Leaf {...props} />, []) }
115
  onFocus={() => {
116
+ // Firefox problems:
117
+ // If used, cursor will always show up at the end of the content, even when clicking inside.
118
+ // If not used, no cursor shows up when content is empty, so do apply in Firefox then as well.
119
+ if ( ! isFirefox() || '' === props.value || '<p></p>' === props.value ) {
120
  Transforms.deselect( editor );
121
  Transforms.select(editor, {
122
  anchor: Editor.start(editor, []),
assets/js/admin-modal/fields/FieldRichText/Toolbar/index.js CHANGED
@@ -1,4 +1,5 @@
1
- import React from 'react';
 
2
  import { useFocused, useSlate } from 'slate-react';
3
  import { serialize } from '../html';
4
 
@@ -66,10 +67,18 @@ const Toolbar = (props) => {
66
  <ToolbarSuggest
67
  value={ value }
68
  onSelect={ (value) => {
69
- props.setValue([{
70
- type: 'paragraph',
71
- children: [{ text: value }],
72
- }]);
 
 
 
 
 
 
 
 
73
  }}
74
  type={ props.type }
75
  />
@@ -102,36 +111,42 @@ const Toolbar = (props) => {
102
  IconAdd={ () => <Icon type="code" title={ __wprm( 'Add HTML or Shortcode' ) } /> }
103
  IconRemove={ () => <Icon type="code" title={ __wprm( 'Remove HTML or Shortcode' ) } /> }
104
  />
105
- <ButtonWrap
106
- before="[adjustable]"
107
- after="[/adjustable]"
108
- Icon={ () => <Icon type="adjustable" title={ __wprm( 'Add Adjustable Shortcode' ) } /> }
109
- />
110
- <ButtonWrap
111
- before="[timer minutes=0]"
112
- after="[/timer]"
113
- Icon={ () => <Icon type="clock" title={ __wprm( 'Add Timer Shortcode' ) } /> }
114
- />
115
- <Spacer />
116
- <ButtonCharacter character="½" />
117
- <ButtonCharacter character="" />
118
- <ButtonCharacter character="⅔" />
119
- <ButtonCharacter character="¼" />
120
- <ButtonCharacter character="¾" />
121
- <ButtonCharacter character="" />
122
- <ButtonCharacter character="" />
123
- <ButtonCharacter character="" />
124
- <ButtonCharacter character="" />
125
- <ButtonCharacter character="" />
126
- <ButtonCharacter character="" />
127
- <ButtonCharacter character="" />
128
- <ButtonCharacter character="" />
129
- <ButtonCharacter character="" />
130
- <ButtonCharacter character="" />
131
- <ButtonCharacter character="" />
132
- <Spacer />
133
- <ButtonCharacter character="°" />
134
- <ButtonCharacter character="Ø" />
 
 
 
 
 
 
135
  </div>
136
  </ModalToolbar>
137
  );
1
+ import React, { Fragment } from 'react';
2
+ import { Editor, Transforms } from 'slate';
3
  import { useFocused, useSlate } from 'slate-react';
4
  import { serialize } from '../html';
5
 
67
  <ToolbarSuggest
68
  value={ value }
69
  onSelect={ (value) => {
70
+ // Select all, delete and insert.
71
+ Transforms.deselect( editor );
72
+ Transforms.select( editor, {
73
+ path: [0,0],
74
+ offset: 0,
75
+ });
76
+ Transforms.move( editor, {
77
+ unit: 'line',
78
+ edge: 'end',
79
+ });
80
+ Transforms.delete(editor);
81
+ Editor.insertText( editor, value );
82
  }}
83
  type={ props.type }
84
  />
111
  IconAdd={ () => <Icon type="code" title={ __wprm( 'Add HTML or Shortcode' ) } /> }
112
  IconRemove={ () => <Icon type="code" title={ __wprm( 'Remove HTML or Shortcode' ) } /> }
113
  />
114
+ {
115
+ 'roundup' !== props.type
116
+ &&
117
+ <Fragment>
118
+ <ButtonWrap
119
+ before="[adjustable]"
120
+ after="[/adjustable]"
121
+ Icon={ () => <Icon type="adjustable" title={ __wprm( 'Add Adjustable Shortcode' ) } /> }
122
+ />
123
+ <ButtonWrap
124
+ before="[timer minutes=0]"
125
+ after="[/timer]"
126
+ Icon={ () => <Icon type="clock" title={ __wprm( 'Add Timer Shortcode' ) } /> }
127
+ />
128
+ <Spacer />
129
+ <ButtonCharacter character="½" />
130
+ <ButtonCharacter character="" />
131
+ <ButtonCharacter character="" />
132
+ <ButtonCharacter character="¼" />
133
+ <ButtonCharacter character="¾" />
134
+ <ButtonCharacter character="" />
135
+ <ButtonCharacter character="" />
136
+ <ButtonCharacter character="" />
137
+ <ButtonCharacter character="" />
138
+ <ButtonCharacter character="" />
139
+ <ButtonCharacter character="" />
140
+ <ButtonCharacter character="" />
141
+ <ButtonCharacter character="⅛" />
142
+ <ButtonCharacter character="" />
143
+ <ButtonCharacter character="" />
144
+ <ButtonCharacter character="⅞" />
145
+ <Spacer />
146
+ <ButtonCharacter character="°" />
147
+ <ButtonCharacter character="Ø" />
148
+ </Fragment>
149
+ }
150
  </div>
151
  </ModalToolbar>
152
  );
assets/js/admin-modal/menu/index.js CHANGED
@@ -212,12 +212,16 @@ export default class Menu extends Component {
212
  WPRM_Modal.open( 'roundup', {
213
  insertCallback: ( fields ) => {
214
  if ( 'function' === typeof this.props.args.insertCallback ) {
 
 
215
  if ( ! fields.hasOwnProperty( 'type' ) || 'external' !== fields.type ) {
216
  // Default to internal link.
217
- this.props.args.insertCallback( `[wprm-recipe-roundup-item id="${ fields.recipe.id }"]` );
218
- } else {
219
- let shortcode = '[wprm-recipe-roundup-item';
220
 
 
 
 
 
221
  shortcode += ` link="${ cleanUpShortcodeAttribute( fields.link ) }"`;
222
  shortcode += fields.nofollow ? ' nofollow="1"' : '';
223
  shortcode += fields.newtab ? '' : ' newtab="0"';
@@ -230,10 +234,14 @@ export default class Menu extends Component {
230
  if ( -1 === fields.image.id && fields.image.url ) {
231
  shortcode += fields.image.url ? ` image_url="${ fields.image.url }"` : '';
232
  }
233
-
234
- shortcode += ']';
235
- this.props.args.insertCallback( shortcode );
236
  }
 
 
 
 
 
 
 
237
  }
238
  },
239
  }, true );
212
  WPRM_Modal.open( 'roundup', {
213
  insertCallback: ( fields ) => {
214
  if ( 'function' === typeof this.props.args.insertCallback ) {
215
+ let shortcode = '[wprm-recipe-roundup-item';
216
+
217
  if ( ! fields.hasOwnProperty( 'type' ) || 'external' !== fields.type ) {
218
  // Default to internal link.
219
+ shortcode += ` id="${ fields.recipe.id }"`;
 
 
220
 
221
+ // Optional override fields.
222
+ if ( fields.name ) { shortcode += ` name="${ cleanUpShortcodeAttribute( fields.name ) }"`; }
223
+ if ( fields.summary ) { shortcode += ` summary="${ cleanUpShortcodeAttribute( fields.summary ) }"`; }
224
+ } else {
225
  shortcode += ` link="${ cleanUpShortcodeAttribute( fields.link ) }"`;
226
  shortcode += fields.nofollow ? ' nofollow="1"' : '';
227
  shortcode += fields.newtab ? '' : ' newtab="0"';
234
  if ( -1 === fields.image.id && fields.image.url ) {
235
  shortcode += fields.image.url ? ` image_url="${ fields.image.url }"` : '';
236
  }
 
 
 
237
  }
238
+
239
+ // Both internal and external.
240
+ if ( fields.button ) { shortcode += ` button="${ cleanUpShortcodeAttribute( fields.button ) }"`; }
241
+
242
+ // Close and insert shortcode.
243
+ shortcode += ']';
244
+ this.props.args.insertCallback( shortcode );
245
  }
246
  },
247
  }, true );
assets/js/admin-modal/recipe/edit/{RecipeEquipment.js → RecipeEquipment/EquipmentEdit.js} RENAMED
@@ -1,12 +1,12 @@
1
  import React, { Component } from 'react';
2
  import { DragDropContext, Droppable } from 'react-beautiful-dnd';
3
 
4
- import '../../../../css/admin/modal/recipe/fields/equipment.scss';
5
 
6
  import { __wprm } from 'Shared/Translations';
7
- import FieldEquipment from '../../fields/FieldEquipment';
8
 
9
- export default class RecipeEquipment extends Component {
10
  constructor(props) {
11
  super(props);
12
 
@@ -21,7 +21,7 @@ export default class RecipeEquipment extends Component {
21
 
22
  componentDidUpdate( prevProps ) {
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();
@@ -71,7 +71,7 @@ export default class RecipeEquipment extends Component {
71
  render() {
72
  return (
73
  <div
74
- className="wprm-admin-modal-field-equipment-container"
75
  ref={ this.container }
76
  >
77
  <DragDropContext
@@ -86,6 +86,11 @@ export default class RecipeEquipment extends Component {
86
  ref={provided.innerRef}
87
  {...provided.droppableProps}
88
  >
 
 
 
 
 
89
  {
90
  this.props.equipment.map((field, index) => (
91
  <FieldEquipment
@@ -106,9 +111,13 @@ export default class RecipeEquipment extends Component {
106
  onAdd={ () => {
107
  this.addField(index);
108
  }}
109
- onChangeName={ ( name ) => {
110
  let newFields = JSON.parse( JSON.stringify( this.props.equipment ) );
111
- newFields[index].name = name;
 
 
 
 
112
 
113
  this.props.onRecipeChange({
114
  equipment: newFields,
1
  import React, { Component } from 'react';
2
  import { DragDropContext, Droppable } from 'react-beautiful-dnd';
3
 
4
+ import '../../../../../css/admin/modal/recipe/fields/equipment.scss';
5
 
6
  import { __wprm } from 'Shared/Translations';
7
+ import FieldEquipment from '../../../fields/FieldEquipment';
8
 
9
+ export default class EquipmentEdit extends Component {
10
  constructor(props) {
11
  super(props);
12
 
21
 
22
  componentDidUpdate( prevProps ) {
23
  if ( this.props.equipment.length > prevProps.equipment.length ) {
24
+ const inputs = this.container.current.querySelectorAll('.wprm-admin-modal-field-equipment-amount');
25
 
26
  if ( inputs.length && inputs[ this.lastAddedIndex ] ) {
27
  inputs[ this.lastAddedIndex ].focus();
71
  render() {
72
  return (
73
  <div
74
+ className="wprm-admin-modal-field-equipment-edit-container"
75
  ref={ this.container }
76
  >
77
  <DragDropContext
86
  ref={provided.innerRef}
87
  {...provided.droppableProps}
88
  >
89
+ <div className="wprm-admin-modal-field-equipment-header-container">
90
+ <div className="wprm-admin-modal-field-equipment-header">{ __wprm( 'Amount' ) }</div>
91
+ <div className="wprm-admin-modal-field-equipment-header">{ __wprm( 'Name' ) } <span className="wprm-admin-modal-field-equipment-header-required">({ __wprm( 'required' ) })</span></div>
92
+ <div className="wprm-admin-modal-field-equipment-header">{ __wprm( 'Notes' ) }</div>
93
+ </div>
94
  {
95
  this.props.equipment.map((field, index) => (
96
  <FieldEquipment
111
  onAdd={ () => {
112
  this.addField(index);
113
  }}
114
+ onChangeEquipment={ ( equipment ) => {
115
  let newFields = JSON.parse( JSON.stringify( this.props.equipment ) );
116
+
117
+ newFields[index] = {
118
+ ...newFields[index],
119
+ ...equipment,
120
+ }
121
 
122
  this.props.onRecipeChange({
123
  equipment: newFields,
assets/js/admin-modal/recipe/edit/RecipeEquipment/index.js ADDED
@@ -0,0 +1,74 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React, { Component } from 'react';
2
+
3
+ import '../../../../../css/admin/modal/recipe/fields/equipment.scss';
4
+
5
+ import EditMode from '../../../general/EditMode';
6
+ import { __wprm } from 'Shared/Translations';
7
+ const { hooks } = WPRecipeMaker['wp-recipe-maker/dist/shared'];
8
+
9
+ import EquipmentEdit from './EquipmentEdit';
10
+
11
+ export default class RecipeEquipment extends Component {
12
+ constructor(props) {
13
+ super(props);
14
+
15
+ this.state = {
16
+ mode: 'edit',
17
+ }
18
+ }
19
+
20
+ shouldComponentUpdate(nextProps, nextState) {
21
+ return this.state.mode !== nextState.mode
22
+ || this.props.type !== nextProps.type
23
+ || JSON.stringify( this.props.equipment ) !== JSON.stringify( nextProps.equipment );
24
+ }
25
+
26
+ render() {
27
+ let modes = {
28
+ edit: {
29
+ label: __wprm( 'Edit Equipment' ),
30
+ block: EquipmentEdit,
31
+ },
32
+ 'equipment-affiliate': {
33
+ label: __wprm( 'Equipment Affiliate Fields' ),
34
+ block: () => ( <p>{ __wprm( 'This feature is only available in' ) } <a href="https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/" target="_blank">WP Recipe Maker Premium</a>.</p> ),
35
+ },
36
+ };
37
+
38
+ const allModes = hooks.applyFilters( 'modalRecipeEquipment', modes );
39
+ const Content = allModes.hasOwnProperty(this.state.mode) ? allModes[this.state.mode].block : false;
40
+
41
+ if ( ! Content ) {
42
+ return null;
43
+ }
44
+
45
+ let mode = null;
46
+ switch ( this.state.mode ) {
47
+ default:
48
+ mode = (
49
+ <Content
50
+ type={ this.props.type }
51
+ equipment={ this.props.equipment }
52
+ instructions={ this.props.instructions }
53
+ onRecipeChange={ this.props.onRecipeChange }
54
+ onModeChange={ this.props.onModeChange }
55
+ />
56
+ );
57
+ }
58
+
59
+ return (
60
+ <div className="wprm-admin-modal-field-equipment-container">
61
+ <EditMode
62
+ modes={ modes }
63
+ mode={ this.state.mode }
64
+ onModeChange={(mode) => {
65
+ this.setState({
66
+ mode,
67
+ })
68
+ }}
69
+ />
70
+ { mode }
71
+ </div>
72
+ );
73
+ }
74
+ }
assets/js/admin-modal/recipe/edit/RecipeGeneral.js CHANGED
@@ -10,6 +10,7 @@ import FieldDropdown from '../../fields/FieldDropdown';
10
  import FieldText from '../../fields/FieldText';
11
  import FieldRadio from '../../fields/FieldRadio';
12
  import FieldRichText from '../../fields/FieldRichText';
 
13
 
14
  const RecipeGeneral = (props) => {
15
  const author = wprm_admin_modal.options.author.find((option) => option.value === props.author.display );
@@ -120,6 +121,22 @@ const RecipeGeneral = (props) => {
120
  }}
121
  />
122
  </FieldContainer>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
123
  <FieldContainer
124
  id="cost"
125
  label={ __wprm( 'Estimated Cost' ) }
10
  import FieldText from '../../fields/FieldText';
11
  import FieldRadio from '../../fields/FieldRadio';
12
  import FieldRichText from '../../fields/FieldRichText';
13
+ import FieldAdvancedServings from '../../fields/FieldAdvancedServings';
14
 
15
  const RecipeGeneral = (props) => {
16
  const author = wprm_admin_modal.options.author.find((option) => option.value === props.author.display );
121
  }}
122
  />
123
  </FieldContainer>
124
+ <FieldContainer
125
+ id="advanced-servings"
126
+ label={ __wprm( 'Advanced Servings' ) }
127
+ help={ __wprm( `Enable to have an advanced servings calculator, useful for different baking forms` ) }
128
+ >
129
+ <FieldAdvancedServings
130
+ enabled={ props.servings_advanced_enabled }
131
+ onChangeEnabled={ (servings_advanced_enabled) => {
132
+ props.onRecipeChange( { servings_advanced_enabled } );
133
+ }}
134
+ servings={ props.servings_advanced }
135
+ onChangeServings={ (servings_advanced) => {
136
+ props.onRecipeChange( { servings_advanced } );
137
+ }}
138
+ />
139
+ </FieldContainer>
140
  <FieldContainer
141
  id="cost"
142
  label={ __wprm( 'Estimated Cost' ) }
assets/js/admin-modal/recipe/edit/RecipeMedia.js CHANGED
@@ -5,6 +5,7 @@ import '../../../../css/admin/modal/recipe/fields/media.scss';
5
  import { __wprm } from 'Shared/Translations';
6
  import FieldContainer from '../../fields/FieldContainer';
7
  import FieldImage from '../../fields/FieldImage';
 
8
  import FieldVideo from '../../fields/FieldVideo';
9
 
10
  const RecipeMedia = (props) => {
@@ -30,17 +31,25 @@ const RecipeMedia = (props) => {
30
  'recipe_image' !== wprm_admin.settings.pinterest_use_for_image
31
  ?
32
  <FieldContainer label={ __wprm( 'Pin Image' ) } help={ __wprm( 'Optionally set a different image to use for the "Pin Recipe" button.' ) }>
33
- <FieldImage
34
  required="premium"
35
  id={ props.pinImage.id }
36
  url={ props.pinImage.url }
37
- onChange={ ( pin_image_id, pin_image_url ) => {
38
- props.onRecipeChange( {
 
39
  pin_image_id,
40
  pin_image_url,
41
- } );
 
 
 
 
 
 
42
  }}
43
  />
 
44
  </FieldContainer>
45
  :
46
  null
5
  import { __wprm } from 'Shared/Translations';
6
  import FieldContainer from '../../fields/FieldContainer';
7
  import FieldImage from '../../fields/FieldImage';
8
+ import FieldPinImage from '../../fields/FieldPinImage';
9
  import FieldVideo from '../../fields/FieldVideo';
10
 
11
  const RecipeMedia = (props) => {
31
  'recipe_image' !== wprm_admin.settings.pinterest_use_for_image
32
  ?
33
  <FieldContainer label={ __wprm( 'Pin Image' ) } help={ __wprm( 'Optionally set a different image to use for the "Pin Recipe" button.' ) }>
34
+ <FieldPinImage
35
  required="premium"
36
  id={ props.pinImage.id }
37
  url={ props.pinImage.url }
38
+ repin={ props.pinImage.repin }
39
+ onChange={ ( pin_image_id, pin_image_url, pin_image_repin_id = false ) => {
40
+ let image = {
41
  pin_image_id,
42
  pin_image_url,
43
+ };
44
+
45
+ if ( pin_image_repin_id !== false ) {
46
+ image.pin_image_repin_id = pin_image_repin_id;
47
+ }
48
+
49
+ props.onRecipeChange( image );
50
  }}
51
  />
52
+
53
  </FieldContainer>
54
  :
55
  null
assets/js/admin-modal/recipe/edit/RecipePostType.js CHANGED
@@ -35,6 +35,16 @@ const RecipePostType = (props) => {
35
  width={ 300 }
36
  />
37
  </FieldContainer>
 
 
 
 
 
 
 
 
 
 
38
  {
39
  1 < languageOptions.length
40
  &&
35
  width={ 300 }
36
  />
37
  </FieldContainer>
38
+ <FieldContainer id="post_author" label={ __wprm( 'Post Author' ) }>
39
+ <FieldDropdown
40
+ options={ wprm_admin_modal.options.post_author }
41
+ value={ parseInt( props.post_author ) }
42
+ onChange={ (post_author) => {
43
+ props.onRecipeChange( { post_author } );
44
+ }}
45
+ width={ 300 }
46
+ />
47
+ </FieldContainer>
48
  {
49
  1 < languageOptions.length
50
  &&
assets/js/admin-modal/recipe/edit/index.js CHANGED
@@ -49,6 +49,7 @@ const EditRecipe = (props) => {
49
  pinImage={{
50
  id: props.recipe.pin_image_id,
51
  url: props.recipe.pin_image_url,
 
52
  }}
53
  video={{
54
  id: props.recipe.video_id,
@@ -68,6 +69,7 @@ const EditRecipe = (props) => {
68
  <RecipePostType
69
  slug={ props.recipe.slug }
70
  post_status={ props.recipe.post_status }
 
71
  language={ props.recipe.language }
72
  onRecipeChange={ props.onRecipeChange }
73
  />
@@ -91,6 +93,8 @@ const EditRecipe = (props) => {
91
  amount: props.recipe.servings,
92
  unit: props.recipe.servings_unit,
93
  }}
 
 
94
  cost={ props.recipe.cost }
95
  my_emissions={ props.recipe.my_emissions }
96
  onRecipeChange={ props.onRecipeChange }
@@ -139,6 +143,7 @@ const EditRecipe = (props) => {
139
  type={ props.recipe.type }
140
  equipment={ props.recipe.equipment }
141
  onRecipeChange={ props.onRecipeChange }
 
142
  />
143
  )
144
  });
49
  pinImage={{
50
  id: props.recipe.pin_image_id,
51
  url: props.recipe.pin_image_url,
52
+ repin: props.recipe.pin_image_repin_id,
53
  }}
54
  video={{
55
  id: props.recipe.video_id,
69
  <RecipePostType
70
  slug={ props.recipe.slug }
71
  post_status={ props.recipe.post_status }
72
+ post_author={ props.recipe.post_author }
73
  language={ props.recipe.language }
74
  onRecipeChange={ props.onRecipeChange }
75
  />
93
  amount: props.recipe.servings,
94
  unit: props.recipe.servings_unit,
95
  }}
96
+ servings_advanced_enabled={ props.recipe.servings_advanced_enabled }
97
+ servings_advanced={ props.recipe.servings_advanced }
98
  cost={ props.recipe.cost }
99
  my_emissions={ props.recipe.my_emissions }
100
  onRecipeChange={ props.onRecipeChange }
143
  type={ props.recipe.type }
144
  equipment={ props.recipe.equipment }
145
  onRecipeChange={ props.onRecipeChange }
146
+ onModeChange={ props.onModeChange }
147
  />
148
  )
149
  });
assets/js/admin-modal/recipe/index.js CHANGED
@@ -177,6 +177,9 @@ export default class Recipe extends Component {
177
  this.onModeChange( 'recipe', 'nutrition' );
178
  }
179
  return false;
 
 
 
180
  case 'ingredient-links':
181
  this.onModeChange( 'recipe', 'ingredients' );
182
  return false;
@@ -239,6 +242,22 @@ export default class Recipe extends Component {
239
  }}
240
  />
241
  );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  case 'ingredient-links':
243
  return (
244
  <Content
177
  this.onModeChange( 'recipe', 'nutrition' );
178
  }
179
  return false;
180
+ case 'equipment-affiliate':
181
+ this.onModeChange( 'recipe', 'equipment' );
182
+ return false;
183
  case 'ingredient-links':
184
  this.onModeChange( 'recipe', 'ingredients' );
185
  return false;
242
  }}
243
  />
244
  );
245
+ case 'equipment-affiliate':
246
+ return (
247
+ <Content
248
+ onCloseModal={ this.props.maybeCloseModal }
249
+ onCancel={() => {
250
+ this.onModeChange( 'recipe', 'equipment' );
251
+ }}
252
+ equipment={ this.state.recipe.equipment }
253
+ onEquipmentChange={ (equipment) => {
254
+ this.onRecipeChange({
255
+ equipment,
256
+ });
257
+ this.onModeChange( 'recipe', 'equipment' );
258
+ }}
259
+ />
260
+ );
261
  case 'ingredient-links':
262
  return (
263
  <Content
assets/js/admin-modal/roundup/index.js CHANGED
@@ -11,6 +11,7 @@ import Footer from '../general/Footer';
11
  import FieldImage from '../fields/FieldImage';
12
  import FieldRadio from '../fields/FieldRadio';
13
  import FieldText from '../fields/FieldText';
 
14
  import FieldTextarea from '../fields/FieldTextarea';
15
  import SelectRecipe from '../select/SelectRecipe';
16
 
@@ -19,42 +20,64 @@ export default class Roundup extends Component {
19
  super(props);
20
 
21
  let type = 'internal';
 
22
  let link = '';
23
  let nofollow = false;
24
  let newtab = true;
25
  let name = '';
26
  let summary = '';
 
27
  let image = {
28
  id: 0,
29
  url: '',
30
  }
31
 
 
 
 
32
  if ( props.args.fields && props.args.fields.roundup ) {
33
  const roundup = props.args.fields.roundup;
34
 
35
- if ( ! roundup.id && roundup.link ) {
 
 
 
 
 
 
 
 
 
36
  type = 'external';
37
  link = roundup.link;
38
  nofollow = roundup.nofollow ? true : false;
39
  newtab = roundup.newtab ? true : false;
40
  name = roundup.name;
41
- summary = roundup.summary;
 
42
  image.id = roundup.image;
43
  image.url = roundup.image_url;
 
 
 
 
 
44
  }
45
  }
46
 
47
  this.state = {
48
  type,
49
- recipe: false,
50
  link,
51
  nofollow,
52
  newtab,
53
  name,
54
  summary,
55
  image,
 
56
  loading: false,
57
  saving: false,
 
58
  };
59
 
60
  this.loadDetailsFromURL = this.loadDetailsFromURL.bind(this);
@@ -280,28 +303,67 @@ export default class Roundup extends Component {
280
  }
281
  </Fragment>
282
  }
283
- <div className="wprm-admin-modal-roundup-field-label">{ __wprm( 'Name' ) }</div>
284
- <FieldText
285
- name="recipe-name"
286
- placeholder={ __wprm( 'Recipe Name' ) }
287
- value={ this.state.name }
288
- onChange={ (name) => {
289
- this.setState({ name });
290
- }}
291
- />
292
- <div className="wprm-admin-modal-roundup-field-label">{ __wprm( 'Summary' ) }</div>
293
- <FieldTextarea
294
- placeholder={ __wprm( 'Short description of this recipe...' ) }
295
- value={ this.state.summary }
296
- onChange={ (summary) => {
297
- this.setState({ summary });
298
- }}
299
- />
300
  </Fragment>
301
  }
302
  </Fragment>
303
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
304
  </div>
 
305
  <Footer
306
  savingChanges={ this.state.loading || this.state.saving }
307
  >
11
  import FieldImage from '../fields/FieldImage';
12
  import FieldRadio from '../fields/FieldRadio';
13
  import FieldText from '../fields/FieldText';
14
+ import FieldRichText from '../fields/FieldRichText';
15
  import FieldTextarea from '../fields/FieldTextarea';
16
  import SelectRecipe from '../select/SelectRecipe';
17
 
20
  super(props);
21
 
22
  let type = 'internal';
23
+ let recipe = false;
24
  let link = '';
25
  let nofollow = false;
26
  let newtab = true;
27
  let name = '';
28
  let summary = '';
29
+ let button = '';
30
  let image = {
31
  id: 0,
32
  url: '',
33
  }
34
 
35
+ // Fallback to classic textarea if summary existed before and wasn't created in rich editor.
36
+ let fallbackToTextarea = false;
37
+
38
  if ( props.args.fields && props.args.fields.roundup ) {
39
  const roundup = props.args.fields.roundup;
40
 
41
+ if ( roundup.id ) {
42
+ type = 'internal';
43
+ recipe = {
44
+ id: roundup.id,
45
+ text: `${ __wprm( 'Recipe' ) } #${ roundup.id }`,
46
+ };
47
+ name = roundup.name;
48
+ summary = roundup.summary.replaceAll( '%0A', '\n');
49
+ button = roundup.button;
50
+ } else if ( roundup.link ) {
51
  type = 'external';
52
  link = roundup.link;
53
  nofollow = roundup.nofollow ? true : false;
54
  newtab = roundup.newtab ? true : false;
55
  name = roundup.name;
56
+ summary = roundup.summary.replaceAll( '%0A', '\n');
57
+ button = roundup.button;
58
  image.id = roundup.image;
59
  image.url = roundup.image_url;
60
+
61
+ // Existing roundup summary that doesn't start with "<p>" => created as regular textarea.
62
+ if ( summary && '<p>' !== summary.substr( 0, 3 ) ) {
63
+ fallbackToTextarea = true;
64
+ }
65
  }
66
  }
67
 
68
  this.state = {
69
  type,
70
+ recipe,
71
  link,
72
  nofollow,
73
  newtab,
74
  name,
75
  summary,
76
  image,
77
+ button,
78
  loading: false,
79
  saving: false,
80
+ fallbackToTextarea,
81
  };
82
 
83
  this.loadDetailsFromURL = this.loadDetailsFromURL.bind(this);
303
  }
304
  </Fragment>
305
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  </Fragment>
307
  }
308
  </Fragment>
309
  }
310
+ {
311
+ 'internal' === this.state.type
312
+ &&
313
+ <p className="wprm-admin-modal-roundup-override">{ __wprm( 'Optionally fill in these fields to use instead of the recipe values:' ) }</p>
314
+ }
315
+ {
316
+ /* Shared by internal and external */
317
+ ! this.state.loading
318
+ &&
319
+ <Fragment>
320
+ <div className="wprm-admin-modal-roundup-field-label">{ __wprm( 'Name' ) }</div>
321
+ <FieldText
322
+ name="recipe-name"
323
+ placeholder={ __wprm( 'Recipe Name' ) }
324
+ value={ this.state.name }
325
+ onChange={ (name) => {
326
+ this.setState({ name });
327
+ }}
328
+ />
329
+ <div className="wprm-admin-modal-roundup-field-label">{ __wprm( 'Summary' ) }</div>
330
+ {
331
+ this.state.fallbackToTextarea
332
+ ?
333
+ <FieldTextarea
334
+ placeholder={ __wprm( 'Short description of this recipe...' ) }
335
+ value={ this.state.summary }
336
+ onChange={ (summary) => {
337
+ this.setState({ summary });
338
+ }}
339
+ />
340
+ :
341
+ <FieldRichText
342
+ toolbar="roundup"
343
+ placeholder={ __wprm( 'Short description of this recipe...' ) }
344
+ value={ this.state.summary }
345
+ onChange={ (summary) => {
346
+ // Remove empty lines before saving.
347
+ summary = summary.replaceAll( '<p></p>', '' );
348
+ summary = summary.replaceAll( '<p><br></p>', '' );
349
+ summary = summary.replaceAll( '<p><br/></p>', '' );
350
+
351
+ this.setState({ summary });
352
+ }}
353
+ />
354
+ }
355
+ <div className="wprm-admin-modal-roundup-field-label">{ __wprm( 'Custom Button Text' ) }</div>
356
+ <FieldText
357
+ placeholder={ __wprm( 'Leave blank to use default from template' ) }
358
+ value={ this.state.button }
359
+ onChange={ (button) => {
360
+ this.setState({ button });
361
+ }}
362
+ />
363
+ </Fragment>
364
+ }
365
  </div>
366
+ <div id="wprm-admin-modal-toolbar-container"></div>
367
  <Footer
368
  savingChanges={ this.state.loading || this.state.saving }
369
  >
assets/js/admin-settings/general/Icon.js CHANGED
@@ -14,6 +14,7 @@ import IconDocApple from '../../../icons/settings/doc-apple.svg';
14
  import IconDoc from '../../../icons/settings/doc.svg';
15
  import IconEdit from '../../../icons/settings/edit.svg';
16
  import IconFiles from '../../../icons/settings/files.svg';
 
17
  import IconImport from '../../../icons/settings/import.svg';
18
  import IconKey from '../../../icons/settings/key.svg';
19
  import IconKnife from '../../../icons/settings/knife.svg';
@@ -51,6 +52,7 @@ const icons = {
51
  doc: IconDoc,
52
  edit: IconEdit,
53
  files: IconFiles,
 
54
  import: IconImport,
55
  key: IconKey,
56
  knife: IconKnife,
14
  import IconDoc from '../../../icons/settings/doc.svg';
15
  import IconEdit from '../../../icons/settings/edit.svg';
16
  import IconFiles from '../../../icons/settings/files.svg';
17
+ import IconHealth from '../../../icons/settings/health.svg';
18
  import IconImport from '../../../icons/settings/import.svg';
19
  import IconKey from '../../../icons/settings/key.svg';
20
  import IconKnife from '../../../icons/settings/knife.svg';
52
  doc: IconDoc,
53
  edit: IconEdit,
54
  files: IconFiles,
55
+ health: IconHealth,
56
  import: IconImport,
57
  key: IconKey,
58
  knife: IconKnife,
assets/js/admin-template/main/preview-template/Block.js CHANGED
@@ -68,7 +68,7 @@ export default class Block extends Component {
68
 
69
  if (structure) {
70
  Object.entries(structure).forEach(([id, options]) => {
71
- if(options.type) {
72
  let name = options.name ? options.name : id.replace(/_/g, ' ').toLowerCase().replace(/\b[a-z]/g, function(letter) {
73
  return letter.toUpperCase();
74
  });
68
 
69
  if (structure) {
70
  Object.entries(structure).forEach(([id, options]) => {
71
+ if ( options.type ) {
72
  let name = options.name ? options.name : id.replace(/_/g, ' ').toLowerCase().replace(/\b[a-z]/g, function(letter) {
73
  return letter.toUpperCase();
74
  });
assets/js/admin-template/main/preview-template/index.js CHANGED
@@ -46,6 +46,7 @@ export default class PreviewTemplate extends Component {
46
 
47
  this.state = {
48
  recipe,
 
49
  html: '',
50
  htmlMap: '',
51
  parsedHtml: '',
@@ -295,7 +296,7 @@ export default class PreviewTemplate extends Component {
295
  return (
296
  <Fragment>
297
  <div className="wprm-main-container">
298
- <h2 className="wprm-main-container-name">Preview</h2>
299
  <div className="wprm-main-container-preview">
300
  <PreviewRecipe
301
  recipe={ this.state.recipe }
@@ -311,7 +312,12 @@ export default class PreviewTemplate extends Component {
311
  {
312
  this.state.recipe && this.state.recipe.id
313
  ?
314
- <Fragment>
 
 
 
 
 
315
  <style>{ Helpers.parseCSS( this.props.template ) }</style>
316
  {
317
  'recipe' === this.props.template.type
@@ -351,7 +357,7 @@ export default class PreviewTemplate extends Component {
351
  <p>...</p>
352
  </Fragment>
353
  }
354
- </Fragment>
355
  :
356
  <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.</p>
357
  }
46
 
47
  this.state = {
48
  recipe,
49
+ width: 600,
50
  html: '',
51
  htmlMap: '',
52
  parsedHtml: '',
296
  return (
297
  <Fragment>
298
  <div className="wprm-main-container">
299
+ <h2 className="wprm-main-container-name">Preview at <input type="number" min="1" value={ this.state.width } onChange={ (e) => { this.setState({ width: e.target.value } ); } } />px</h2>
300
  <div className="wprm-main-container-preview">
301
  <PreviewRecipe
302
  recipe={ this.state.recipe }
312
  {
313
  this.state.recipe && this.state.recipe.id
314
  ?
315
+ <div
316
+ className="wprm-main-container-preview-content"
317
+ style={{
318
+ width: `${this.state.width}px`,
319
+ }}
320
+ >
321
  <style>{ Helpers.parseCSS( this.props.template ) }</style>
322
  {
323
  'recipe' === this.props.template.type
357
  <p>...</p>
358
  </Fragment>
359
  }
360
+ </div>
361
  :
362
  <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.</p>
363
  }
assets/js/admin-template/menu/Property.js CHANGED
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
 
3
  import '../../../css/admin/template/property.scss';
4
 
@@ -11,6 +11,7 @@ import PropertyFont from './properties/Font';
11
  import PropertyIcon from './properties/Icon';
12
  import PropertyImage from './properties/Image';
13
  import PropertyImageSize from './properties/ImageSize';
 
14
  import PropertyNumber from './properties/Number';
15
  import PropertySize from './properties/Size';
16
  import PropertyText from './properties/Text';
@@ -27,6 +28,7 @@ const propertyTypes = {
27
  icon: PropertyIcon,
28
  image: PropertyImage,
29
  image_size: PropertyImageSize,
 
30
  percentage: PropertyNumber,
31
  number: PropertyNumber,
32
  size: PropertySize,
@@ -58,16 +60,24 @@ const Property = (props) => {
58
 
59
  return (
60
  <div className="wprm-template-property">
61
- <div className="wprm-template-property-label">
62
- { props.property.name } { helpIcon }
63
- </div>
64
- <div className={ `wprm-template-property-value wprm-template-property-value-${props.property.type}` }>
65
- <PropertyComponent
66
- property={props.property}
67
- value={props.property.value}
68
- onValueChange={(value) => { props.onPropertyChange(props.property.id, value); } }
69
- />
70
- </div>
 
 
 
 
 
 
 
 
71
  </div>
72
  );
73
  }
1
+ import React, { Fragment } from 'react';
2
 
3
  import '../../../css/admin/template/property.scss';
4
 
11
  import PropertyIcon from './properties/Icon';
12
  import PropertyImage from './properties/Image';
13
  import PropertyImageSize from './properties/ImageSize';
14
+ import PropertyInfo from './properties/Info';
15
  import PropertyNumber from './properties/Number';
16
  import PropertySize from './properties/Size';
17
  import PropertyText from './properties/Text';
28
  icon: PropertyIcon,
29
  image: PropertyImage,
30
  image_size: PropertyImageSize,
31
+ info: PropertyInfo,
32
  percentage: PropertyNumber,
33
  number: PropertyNumber,
34
  size: PropertySize,
60
 
61
  return (
62
  <div className="wprm-template-property">
63
+ {
64
+ 'info' === props.property.type
65
+ ?
66
+ <PropertyComponent property={props.property} />
67
+ :
68
+ <Fragment>
69
+ <div className="wprm-template-property-label">
70
+ { props.property.name } { helpIcon }
71
+ </div>
72
+ <div className={ `wprm-template-property-value wprm-template-property-value-${props.property.type}` }>
73
+ <PropertyComponent
74
+ property={props.property}
75
+ value={props.property.value}
76
+ onValueChange={(value) => { props.onPropertyChange(props.property.id, value); } }
77
+ />
78
+ </div>
79
+ </Fragment>
80
+ }
81
  </div>
82
  );
83
  }
assets/js/admin-template/menu/properties/Info.js ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import React from 'react';
2
+
3
+ const PropertyInfo = (props) => {
4
+
5
+ let style = {};
6
+ if ( props.property.hasOwnProperty( 'color' ) ) {
7
+ style.color = props.property.color;
8
+ }
9
+
10
+ return (
11
+ <div
12
+ className="wprm-template-property-info"
13
+ style={ style }
14
+ >
15
+ { props.property.text }
16
+ </div>
17
+ );
18
+ }
19
+
20
+ export default PropertyInfo;
assets/js/blocks/recipe-roundup/index.js CHANGED
@@ -96,6 +96,12 @@ registerBlockType( 'wp-recipe-maker/recipe-roundup-item', {
96
  return summary.replace( 'summary', '' );
97
  },
98
  },
 
 
 
 
 
 
99
  template: {
100
  type: 'string',
101
  shortcode: ( { named: { template = '' } } ) => {
@@ -118,6 +124,7 @@ registerBlockType( 'wp-recipe-maker/recipe-roundup-item', {
118
  image: parseInt( fields.image.id ),
119
  image_url: fields.image.url,
120
  name: fields.name,
 
121
  summary: fields.summary.replace(/\r?\n|\r/gm, '%0A'),
122
  });
123
  }
@@ -179,6 +186,15 @@ registerBlockType( 'wp-recipe-maker/recipe-roundup-item', {
179
  if ( attributes.template ) {
180
  shortcode += ` template="${attributes.template}"`;
181
  }
 
 
 
 
 
 
 
 
 
182
  shortcode += ']';
183
  return shortcode;
184
  } else if ( attributes.link ) {
@@ -189,6 +205,10 @@ registerBlockType( 'wp-recipe-maker/recipe-roundup-item', {
189
  shortcode += ` name="${ cleanUpShortcodeAttribute( attributes.name ) }"`;
190
  shortcode += ` summary="${ cleanUpShortcodeAttribute( attributes.summary ) }"`;
191
 
 
 
 
 
192
  shortcode += attributes.image ? ` image="${ attributes.image }"` : '';
193
 
194
  if ( -1 === attributes.image && attributes.image_url ) {
96
  return summary.replace( 'summary', '' );
97
  },
98
  },
99
+ button: {
100
+ type: 'string',
101
+ shortcode: ( { named: { button = '' } } ) => {
102
+ return button.replace( 'button', '' );
103
+ },
104
+ },
105
  template: {
106
  type: 'string',
107
  shortcode: ( { named: { template = '' } } ) => {
124
  image: parseInt( fields.image.id ),
125
  image_url: fields.image.url,
126
  name: fields.name,
127
+ button: fields.button,
128
  summary: fields.summary.replace(/\r?\n|\r/gm, '%0A'),
129
  });
130
  }
186
  if ( attributes.template ) {
187
  shortcode += ` template="${attributes.template}"`;
188
  }
189
+ if ( attributes.name ) {
190
+ shortcode += ` name="${ cleanUpShortcodeAttribute( attributes.name ) }"`;
191
+ }
192
+ if ( attributes.summary ) {
193
+ shortcode += ` summary="${ cleanUpShortcodeAttribute( attributes.summary ) }"`;
194
+ }
195
+ if ( attributes.button ) {
196
+ shortcode += ` button="${ cleanUpShortcodeAttribute( attributes.button ) }"`;
197
+ }
198
  shortcode += ']';
199
  return shortcode;
200
  } else if ( attributes.link ) {
205
  shortcode += ` name="${ cleanUpShortcodeAttribute( attributes.name ) }"`;
206
  shortcode += ` summary="${ cleanUpShortcodeAttribute( attributes.summary ) }"`;
207
 
208
+ if ( attributes.button ) {
209
+ shortcode += ` button="${ cleanUpShortcodeAttribute( attributes.button ) }"`;
210
+ }
211
+
212
  shortcode += attributes.image ? ` image="${ attributes.image }"` : '';
213
 
214
  if ( -1 === attributes.image && attributes.image_url ) {
assets/js/other/elementor.js CHANGED
@@ -8,7 +8,6 @@ window.WPRecipeMaker.elementor = {
8
  }, true );
9
  });
10
  elementor.channels.editor.on( 'wprm:recipe:edit', function( view ) {
11
- console.log( view );
12
  WPRM_Modal.open( 'recipe', {
13
  recipeId: view.container.settings.attributes.wprm_recipe_id,
14
  saveCallback: ( recipe ) => {
8
  }, true );
9
  });
10
  elementor.channels.editor.on( 'wprm:recipe:edit', function( view ) {
 
11
  WPRM_Modal.open( 'recipe', {
12
  recipeId: view.container.settings.attributes.wprm_recipe_id,
13
  saveCallback: ( recipe ) => {
assets/js/print/index.js CHANGED
@@ -74,7 +74,11 @@ window.WPRMPrint = {
74
  elems = document.querySelectorAll( '.wprm-recipe-image' );
75
  } else if ( 'wprm-print-toggle-recipe-instruction-media' === toggle.id ) {
76
  elems = document.querySelectorAll( '.wprm-recipe-instruction-media' );
77
- } else if ( 'wprm-print-toggle-collection' === toggle.id ) {
 
 
 
 
78
  elems = document.querySelectorAll( '.wprmprc-shopping-list-collection' );
79
  } else if ( 'wprm-print-toggle-shopping-list' === toggle.id ) {
80
  elems = document.querySelectorAll( '.wprmprc-shopping-list-list' );
74
  elems = document.querySelectorAll( '.wprm-recipe-image' );
75
  } else if ( 'wprm-print-toggle-recipe-instruction-media' === toggle.id ) {
76
  elems = document.querySelectorAll( '.wprm-recipe-instruction-media' );
77
+ } else if ( 'wprm-print-toggle-collection-images' === toggle.id ) {
78
+ elems = document.querySelectorAll( '.wprmprc-collection-item-image' );
79
+ } else if ( 'wprm-print-toggle-collection-servings' === toggle.id ) {
80
+ elems = document.querySelectorAll( '.wprmprc-collection-item-servings' );
81
+ } else if ( 'wprm-print-toggle-shopping-list-collection' === toggle.id ) {
82
  elems = document.querySelectorAll( '.wprmprc-shopping-list-collection' );
83
  } else if ( 'wprm-print-toggle-shopping-list' === toggle.id ) {
84
  elems = document.querySelectorAll( '.wprmprc-shopping-list-list' );
assets/js/public-legacy.js CHANGED
@@ -6,6 +6,7 @@ import './public/analytics';
6
  import './public/comment-rating';
7
  import './public/grow';
8
  import './public/media-toggle';
 
9
  import './public/print';
10
  import './public/slickstream';
11
  import './public/smooth-scroll';
6
  import './public/comment-rating';
7
  import './public/grow';
8
  import './public/media-toggle';
9
+ import './public/pinterest';
10
  import './public/print';
11
  import './public/slickstream';
12
  import './public/smooth-scroll';
assets/js/public/pinterest.js ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ window.WPRecipeMaker.pinterest = {
2
+ init() {
3
+ document.addEventListener( 'click', function(e) {
4
+ for ( var target = e.target; target && target != this; target = target.parentNode ) {
5
+ if ( target.matches( '.wprm-recipe-pin' ) ) {
6
+ WPRecipeMaker.pinterest.onClick( target, e );
7
+ break;
8
+ }
9
+ }
10
+ }, false );
11
+ },
12
+ onClick( el, e ) {
13
+ e.preventDefault();
14
+
15
+ const pinUtils = this.getPinUtils();
16
+
17
+ if ( pinUtils ) {
18
+ const url = el.dataset.url;
19
+ const media = el.dataset.media;
20
+ const description = el.dataset.description;
21
+ const repin = el.dataset.repin;
22
+
23
+ if ( repin ) {
24
+ PinUtils.repin( repin );
25
+ } else {
26
+ pinUtils.pinOne({
27
+ url,
28
+ media,
29
+ description,
30
+ });
31
+ }
32
+ } else {
33
+ // Default popup to open when pinit.js is not loaded.
34
+ window.open( el.href, 'targetWindow', 'toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,resizable=yes,width=500,height=500' );
35
+ }
36
+ },
37
+ getPinUtils() {
38
+ if ( window.hasOwnProperty( 'PinUtils' ) ) {
39
+ return window.PinUtils;
40
+ }
41
+
42
+ return false;
43
+ },
44
+ };
45
+
46
+ ready(() => {
47
+ window.WPRecipeMaker.pinterest.init();
48
+ });
49
+
50
+ function ready( fn ) {
51
+ if (document.readyState != 'loading'){
52
+ fn();
53
+ } else {
54
+ document.addEventListener('DOMContentLoaded', fn);
55
+ }
56
+ }
assets/js/public/print.js CHANGED
@@ -50,7 +50,8 @@ window.WPRecipeMaker.print = {
50
  },
51
  recipeAsIs: ( id ) => {
52
  let servings = false,
53
- system = 1;
 
54
 
55
  // Get recipe servings.
56
  if ( window.WPRecipeMaker.hasOwnProperty( 'quantities' ) ) {
@@ -66,9 +67,14 @@ window.WPRecipeMaker.print = {
66
  }
67
  }
68
 
69
- WPRecipeMaker.print.recipe( id, servings, system );
 
 
 
 
 
70
  },
71
- recipe: ( id, servings = false, system = 1 ) => {
72
  const url = WPRecipeMaker.print.getUrl( id );
73
  const target = wprm_public.settings.print_new_tab ? '_blank' : '_self';
74
  const printWindow = window.open( url, target );
@@ -78,6 +84,7 @@ window.WPRecipeMaker.print = {
78
  printWindow.WPRMPrint.setArgs({
79
  system,
80
  servings,
 
81
  });
82
  };
83
  },
50
  },
51
  recipeAsIs: ( id ) => {
52
  let servings = false,
53
+ system = 1,
54
+ advancedServings = false;
55
 
56
  // Get recipe servings.
57
  if ( window.WPRecipeMaker.hasOwnProperty( 'quantities' ) ) {
67
  }
68
  }
69
 
70
+ // Get advanced servings.
71
+ if ( window.WPRecipeMaker.hasOwnProperty( 'advancedServings' ) ) {
72
+ advancedServings = WPRecipeMaker.advancedServings.getRecipe( id );
73
+ }
74
+
75
+ WPRecipeMaker.print.recipe( id, servings, system, advancedServings );
76
  },
77
+ recipe: ( id, servings = false, system = 1, advancedServings = false ) => {
78
  const url = WPRecipeMaker.print.getUrl( id );
79
  const target = wprm_public.settings.print_new_tab ? '_blank' : '_self';
80
  const printWindow = window.open( url, target );
84
  printWindow.WPRMPrint.setArgs({
85
  system,
86
  servings,
87
+ advancedServings,
88
  });
89
  };
90
  },
assets/js/shared/Api/Modal.js CHANGED
@@ -2,7 +2,10 @@ const modalEndpoint = wprm_admin.endpoints.modal;
2
 
3
  import ApiWrapper from '../ApiWrapper';
4
 
 
 
5
  let gettingSuggestions = false;
 
6
  let gettingSuggestionsNextArgs = false;
7
 
8
  export default {
@@ -16,6 +19,17 @@ export default {
16
  },
17
  getSuggestionsDebounced(args) {
18
  gettingSuggestions = true;
 
 
 
 
 
 
 
 
 
 
 
19
 
20
  return ApiWrapper.call( `${modalEndpoint}/suggest`, 'POST', args ).then(json => {
21
  // Check if another request is queued.
2
 
3
  import ApiWrapper from '../ApiWrapper';
4
 
5
+ const rateLimit = 500;
6
+
7
  let gettingSuggestions = false;
8
+ let gettingSuggestionsAt = false;
9
  let gettingSuggestionsNextArgs = false;
10
 
11
  export default {
19
  },
20
  getSuggestionsDebounced(args) {
21
  gettingSuggestions = true;
22
+ const now = Date.now();
23
+
24
+ if ( false !== gettingSuggestionsAt && rateLimit > now - gettingSuggestionsAt ) {
25
+ return new Promise(r => {
26
+ setTimeout(() => {
27
+ r( this.getSuggestionsDebounced( args ) );
28
+ }, now - gettingSuggestionsAt );
29
+ });
30
+ }
31
+
32
+ gettingSuggestionsAt = now;
33
 
34
  return ApiWrapper.call( `${modalEndpoint}/suggest`, 'POST', args ).then(json => {
35
  // Check if another request is queued.
assets/js/shared/Icon.js CHANGED
@@ -68,6 +68,7 @@ const icons = {
68
  superscript: IconSuperscript,
69
  trash: IconTrash,
70
  underline: IconUnderline,
 
71
  videoplayer: IconVideoplayer,
72
  };
73
 
68
  superscript: IconSuperscript,
69
  trash: IconTrash,
70
  underline: IconUnderline,
71
+ unlink: IconUnlink,
72
  videoplayer: IconVideoplayer,
73
  };
74
 
dist/admin-dashboard.css CHANGED
@@ -1,6 +1,6 @@
1
  #wpbody-content>*:not(#wprm-admin-dashboard,.wprm-wrap),#wpfooter,#wpbody-content #wprm-admin-dashboard .fs-notice{display:none !important}#wprm-admin-dashboard{color:#444}#wprm-admin-dashboard,#wprm-admin-dashboard p{font-size:14px}.wprm-admin-dashboard-block-container{margin:20px 0;background-color:white;border-radius:5px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header{height:28px;display:flex;align-items:center;justify-content:space-between;font-weight:bold;font-size:1.2em;border-bottom:1px solid #ddd}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header,.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block{padding:10px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:first-child{margin-top:0}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:last-child{margin-bottom:0}.wprm-admin-dashboard-block-footer-container{margin:10px -10px -10px -10px;padding:10px;border-top:1px solid #ddd}.wprm-admin-dashboard-block-footer-container .wprm-admin-dashboard-block-footer-title{font-weight:bold;font-size:1.1em;margin-bottom:10px}.wprm-admin-dashboard-blocks-grid{display:flex;margin-left:-20px;width:auto}.wprm-admin-dashboard-blocks-grid-column{padding-left:20px;background-clip:padding-box}
2
 
3
- .wprm-admin-dashboard-marketing .wprm-admin-dashboard-block-container{margin-bottom:0}.wprm-admin-dashboard-marketing-countdown{display:flex;align-items:center;margin-bottom:20px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-unit{display:flex;align-items:center;margin-right:10px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-unit .tick{margin-right:5px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-label{margin-left:-5px}
4
 
5
  .tick{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;position:relative;z-index:1;line-height:1.4}.tick *{box-sizing:inherit}.tick [data-view]{max-width:100%}.tick span[data-view]{display:inline-block}.tick [data-layout~=pad]{margin:-.25em}.tick [data-layout~=pad]>*{margin:.25em}.tick [data-layout~=horizontal]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=baseline]{-ms-flex-align:baseline;align-items:baseline}.tick [data-layout~=horizontal][data-layout~=center]{-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=right]{-ms-flex-pack:end;justify-content:flex-end}.tick [data-layout~=horizontal][data-layout~=left]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=horizontal][data-layout~=fill],.tick [data-layout~=horizontal][data-layout~=stretch]{-ms-flex-line-pack:stretch;align-content:stretch;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tick [data-layout~=horizontal][data-layout~=fill]>*,.tick [data-layout~=horizontal][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0;width:100%}.tick [data-layout~=horizontal][data-layout~=multi-line]{-ms-flex-wrap:wrap;flex-wrap:wrap}.tick [data-layout~=horizontal][data-layout~=fit]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:center;align-content:center;white-space:nowrap;-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.tick [data-layout~=vertical][data-layout~=top]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical][data-layout~=bottom]{-ms-flex-pack:end;justify-content:flex-end;min-height:100%}.tick [data-layout~=vertical][data-layout~=middle]{-ms-flex-pack:center;justify-content:center;min-height:100%}.tick [data-layout~=vertical][data-layout~=left]{-ms-flex-align:start;align-items:flex-start}.tick [data-layout~=vertical][data-layout~=right]{-ms-flex-align:end;align-items:flex-end}.tick [data-layout~=vertical][data-layout~=center]{text-align:center}.tick [data-layout~=vertical][data-layout~=fill],.tick [data-layout~=vertical][data-layout~=stretch]{-ms-flex-align:stretch;align-items:stretch;min-height:100%}.tick [data-layout~=vertical][data-layout~=fill]>*,.tick [data-layout~=vertical][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0}.tick [data-layout~=vertical]>*+*{margin-top:.5em}.tick [data-layout~=overlay]{position:relative}.tick [data-layout~=overlay]>*{margin:0}.tick [data-layout~=overlay][data-layout~=center]{text-align:center}.tick [data-layout~=overlay][data-layout~=left]{text-align:left}.tick [data-layout~=overlay][data-layout~=right]{text-align:right}.tick [data-layout~=overlay]>[data-overlay=fill],.tick [data-layout~=overlay]>[data-overlay=stretch]{position:absolute;left:0;right:0;top:0;bottom:0}.tick [data-layout~=overlay]>[data-overlay=center]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:0;right:0;top:0;bottom:0}.tick-flip{position:relative;text-align:center}.tick-flip *{border-radius:inherit;white-space:pre;letter-spacing:inherit;text-indent:inherit}.tick-flip-front{border-bottom-left-radius:0;border-bottom-right-radius:0}.tick-flip-back{border-top-left-radius:0;border-top-right-radius:0}.tick-flip-spacer{display:block;visibility:hidden}.tick-flip-shadow{position:absolute;left:1px;right:1px;top:1px;bottom:1px;color:transparent !important;background:transparent !important}.tick-flip-shadow-top{bottom:calc(50% - 1px)}.tick-flip-shadow-bottom{top:calc(50% + 1px)}.tick-flip-card-shadow{position:absolute;left:.15em;right:.15em;bottom:.125em;height:.5em;background-color:transparent;border-radius:0;opacity:0;transform-origin:0 100%;box-shadow:0 0.125em 0.25em rgba(0,0,0,0.5),0 0.125em 0.5em rgba(0,0,0,0.75);z-index:0}.tick-flip-card{position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;perspective:4em}.tick-flip-panel-back,.tick-flip-panel-front{position:absolute;left:0;width:100%;height:51%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.tick-flip-panel-back-text,.tick-flip-panel-front-text{position:absolute;left:-1px;top:0;right:-1px;height:100%;overflow:hidden}.tick-flip-panel-text-wrapper{position:absolute;left:0;top:0;right:0;height:100%}.tick-flip-panel-back-text .tick-flip-panel-text-wrapper{height:200%;top:-100%}.tick-flip-panel-front{transform-origin:center bottom;top:0;z-index:2;box-shadow:inset 0 1px rgba(255,255,255,0.05)}.tick-flip-panel-back{transform-origin:center top;top:50%;z-index:1;box-shadow:inset 0 -1px rgba(0,0,0,0.1)}.tick-flip-panel-back:after{z-index:1;content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:linear-gradient(180deg, rgba(0,0,0,0.3) 1px, rgba(0,0,0,0.15) 0, transparent 30%)}.tick-flip-panel-back-shadow{z-index:2}.tick-flip-panel-back-highlight{z-index:3}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow,.tick-flip-panel-front-shadow{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0}.tick-flip-panel-front-shadow{background-image:linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.3))}.tick-flip-panel-back-shadow{background-image:linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5))}.tick-flip-panel-back-highlight{background-image:linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.3))}.tick [data-style*="shadow:inner"],.tick [data-style*="shadow:inner"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back,.tick [data-style*="shadow:none"] .tick-flip-panel-front,.tick [data-style*="shadow:none"] .tick-flip-shadow{box-shadow:none}.tick [data-style*="shadow:none"] .tick-flip-back:after,.tick [data-style*="shadow:none"] .tick-flip-panel-back-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back-text:after,.tick [data-style*="shadow:none"] .tick-flip-panel-front-shadow{background-image:none}.tick [data-style*="rounded:none"]{border-radius:0}.tick [data-style*="rounded:panels"] .tick-flip-front,.tick [data-style*="rounded:panels"] .tick-flip-shadow-bottom{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick [data-style*="rounded:panels"] .tick-flip-back,.tick [data-style*="rounded:panels"] .tick-flip-panel-back:after,.tick [data-style*="rounded:panels"] .tick-flip-shadow-top{border-top-left-radius:inherit;border-top-right-radius:inherit}.tick-flip{margin-left:.0625em;margin-right:.0625em;min-width:1.125em;border-radius:.125em;letter-spacing:.25em;text-indent:.25em}.tick-flip-panel{color:#edebeb;background-color:#333232}.tick-flip-shadow{box-shadow:0 0.125em 0.3125em rgba(0,0,0,0.25),0 0.02125em 0.06125em rgba(0,0,0,0.25)}
6
 
@@ -14,11 +14,7 @@
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
 
@@ -26,5 +22,9 @@
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
 
1
  #wpbody-content>*:not(#wprm-admin-dashboard,.wprm-wrap),#wpfooter,#wpbody-content #wprm-admin-dashboard .fs-notice{display:none !important}#wprm-admin-dashboard{color:#444}#wprm-admin-dashboard,#wprm-admin-dashboard p{font-size:14px}.wprm-admin-dashboard-block-container{margin:20px 0;background-color:white;border-radius:5px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header{height:28px;display:flex;align-items:center;justify-content:space-between;font-weight:bold;font-size:1.2em;border-bottom:1px solid #ddd}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block-header,.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block{padding:10px}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:first-child{margin-top:0}.wprm-admin-dashboard-block-container .wprm-admin-dashboard-block p:last-child{margin-bottom:0}.wprm-admin-dashboard-block-footer-container{margin:10px -10px -10px -10px;padding:10px;border-top:1px solid #ddd}.wprm-admin-dashboard-block-footer-container .wprm-admin-dashboard-block-footer-title{font-weight:bold;font-size:1.1em;margin-bottom:10px}.wprm-admin-dashboard-blocks-grid{display:flex;margin-left:-20px;width:auto}.wprm-admin-dashboard-blocks-grid-column{padding-left:20px;background-clip:padding-box}
2
 
3
+ .wprm-admin-dashboard-marketing .wprm-admin-dashboard-block-container{margin-bottom:0}.wprm-admin-dashboard-marketing .wprm-admin-dashboard-marketing-actions{display:flex;align-items:center;justify-content:space-between}.wprm-admin-dashboard-marketing .wprm-admin-dashboard-marketing-actions a.wprm-admin-dashboard-marketing-actions-remove{font-size:12px;margin:0 10px}.wprm-admin-dashboard-marketing-countdown{display:flex;align-items:center;margin-bottom:20px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-unit{display:flex;align-items:center;margin-right:10px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-unit .tick{margin-right:5px}.wprm-admin-dashboard-marketing-countdown .wprm-admin-dashboard-marketing-countdown-label{margin-left:-5px}
4
 
5
  .tick{box-sizing:border-box;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default;position:relative;z-index:1;line-height:1.4}.tick *{box-sizing:inherit}.tick [data-view]{max-width:100%}.tick span[data-view]{display:inline-block}.tick [data-layout~=pad]{margin:-.25em}.tick [data-layout~=pad]>*{margin:.25em}.tick [data-layout~=horizontal]{display:-ms-flexbox;display:flex;-ms-flex-direction:row;flex-direction:row;-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=baseline]{-ms-flex-align:baseline;align-items:baseline}.tick [data-layout~=horizontal][data-layout~=center]{-ms-flex-pack:center;justify-content:center}.tick [data-layout~=horizontal][data-layout~=right]{-ms-flex-pack:end;justify-content:flex-end}.tick [data-layout~=horizontal][data-layout~=left]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=horizontal][data-layout~=fill],.tick [data-layout~=horizontal][data-layout~=stretch]{-ms-flex-line-pack:stretch;align-content:stretch;-ms-flex-wrap:nowrap;flex-wrap:nowrap}.tick [data-layout~=horizontal][data-layout~=fill]>*,.tick [data-layout~=horizontal][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0;width:100%}.tick [data-layout~=horizontal][data-layout~=multi-line]{-ms-flex-wrap:wrap;flex-wrap:wrap}.tick [data-layout~=horizontal][data-layout~=fit]{display:-ms-inline-flexbox;display:inline-flex;-ms-flex-wrap:nowrap;flex-wrap:nowrap;-ms-flex-line-pack:center;align-content:center;white-space:nowrap;-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical]{display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center}.tick [data-layout~=vertical][data-layout~=top]{-ms-flex-pack:start;justify-content:flex-start}.tick [data-layout~=vertical][data-layout~=bottom]{-ms-flex-pack:end;justify-content:flex-end;min-height:100%}.tick [data-layout~=vertical][data-layout~=middle]{-ms-flex-pack:center;justify-content:center;min-height:100%}.tick [data-layout~=vertical][data-layout~=left]{-ms-flex-align:start;align-items:flex-start}.tick [data-layout~=vertical][data-layout~=right]{-ms-flex-align:end;align-items:flex-end}.tick [data-layout~=vertical][data-layout~=center]{text-align:center}.tick [data-layout~=vertical][data-layout~=fill],.tick [data-layout~=vertical][data-layout~=stretch]{-ms-flex-align:stretch;align-items:stretch;min-height:100%}.tick [data-layout~=vertical][data-layout~=fill]>*,.tick [data-layout~=vertical][data-layout~=stretch]>*{-ms-flex:1 0 0px;flex:1 0 0}.tick [data-layout~=vertical]>*+*{margin-top:.5em}.tick [data-layout~=overlay]{position:relative}.tick [data-layout~=overlay]>*{margin:0}.tick [data-layout~=overlay][data-layout~=center]{text-align:center}.tick [data-layout~=overlay][data-layout~=left]{text-align:left}.tick [data-layout~=overlay][data-layout~=right]{text-align:right}.tick [data-layout~=overlay]>[data-overlay=fill],.tick [data-layout~=overlay]>[data-overlay=stretch]{position:absolute;left:0;right:0;top:0;bottom:0}.tick [data-layout~=overlay]>[data-overlay=center]{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;position:absolute;left:0;right:0;top:0;bottom:0}.tick-flip{position:relative;text-align:center}.tick-flip *{border-radius:inherit;white-space:pre;letter-spacing:inherit;text-indent:inherit}.tick-flip-front{border-bottom-left-radius:0;border-bottom-right-radius:0}.tick-flip-back{border-top-left-radius:0;border-top-right-radius:0}.tick-flip-spacer{display:block;visibility:hidden}.tick-flip-shadow{position:absolute;left:1px;right:1px;top:1px;bottom:1px;color:transparent !important;background:transparent !important}.tick-flip-shadow-top{bottom:calc(50% - 1px)}.tick-flip-shadow-bottom{top:calc(50% + 1px)}.tick-flip-card-shadow{position:absolute;left:.15em;right:.15em;bottom:.125em;height:.5em;background-color:transparent;border-radius:0;opacity:0;transform-origin:0 100%;box-shadow:0 0.125em 0.25em rgba(0,0,0,0.5),0 0.125em 0.5em rgba(0,0,0,0.75);z-index:0}.tick-flip-card{position:absolute;z-index:1;left:0;top:0;width:100%;height:100%;perspective:4em}.tick-flip-panel-back,.tick-flip-panel-front{position:absolute;left:0;width:100%;height:51%;-webkit-backface-visibility:hidden;backface-visibility:hidden;transform-style:preserve-3d}.tick-flip-panel-back-text,.tick-flip-panel-front-text{position:absolute;left:-1px;top:0;right:-1px;height:100%;overflow:hidden}.tick-flip-panel-text-wrapper{position:absolute;left:0;top:0;right:0;height:100%}.tick-flip-panel-back-text .tick-flip-panel-text-wrapper{height:200%;top:-100%}.tick-flip-panel-front{transform-origin:center bottom;top:0;z-index:2;box-shadow:inset 0 1px rgba(255,255,255,0.05)}.tick-flip-panel-back{transform-origin:center top;top:50%;z-index:1;box-shadow:inset 0 -1px rgba(0,0,0,0.1)}.tick-flip-panel-back:after{z-index:1;content:"";position:absolute;left:0;top:0;width:100%;height:100%;background-image:linear-gradient(180deg, rgba(0,0,0,0.3) 1px, rgba(0,0,0,0.15) 0, transparent 30%)}.tick-flip-panel-back-shadow{z-index:2}.tick-flip-panel-back-highlight{z-index:3}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick-flip-panel-back-highlight,.tick-flip-panel-back-shadow,.tick-flip-panel-front-shadow{position:absolute;left:0;top:0;right:0;bottom:0;opacity:0}.tick-flip-panel-front-shadow{background-image:linear-gradient(0deg, rgba(0,0,0,0.8), rgba(0,0,0,0.3))}.tick-flip-panel-back-shadow{background-image:linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5))}.tick-flip-panel-back-highlight{background-image:linear-gradient(180deg, rgba(255,255,255,0.15), rgba(255,255,255,0.3))}.tick [data-style*="shadow:inner"],.tick [data-style*="shadow:inner"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-card-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back,.tick [data-style*="shadow:none"] .tick-flip-panel-front,.tick [data-style*="shadow:none"] .tick-flip-shadow{box-shadow:none}.tick [data-style*="shadow:none"] .tick-flip-back:after,.tick [data-style*="shadow:none"] .tick-flip-panel-back-shadow,.tick [data-style*="shadow:none"] .tick-flip-panel-back-text:after,.tick [data-style*="shadow:none"] .tick-flip-panel-front-shadow{background-image:none}.tick [data-style*="rounded:none"]{border-radius:0}.tick [data-style*="rounded:panels"] .tick-flip-front,.tick [data-style*="rounded:panels"] .tick-flip-shadow-bottom{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.tick [data-style*="rounded:panels"] .tick-flip-back,.tick [data-style*="rounded:panels"] .tick-flip-panel-back:after,.tick [data-style*="rounded:panels"] .tick-flip-shadow-top{border-top-left-radius:inherit;border-top-right-radius:inherit}.tick-flip{margin-left:.0625em;margin-right:.0625em;min-width:1.125em;border-radius:.125em;letter-spacing:.25em;text-indent:.25em}.tick-flip-panel{color:#edebeb;background-color:#333232}.tick-flip-shadow{box-shadow:0 0.125em 0.3125em rgba(0,0,0,0.25),0 0.02125em 0.06125em rgba(0,0,0,0.25)}
6
 
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;font-size:0.9em;cursor:help}.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}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-last-update.wprm-admin-dashboard-health-check-last-update-never{color:darkred;cursor:auto}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-description{margin-bottom:10px}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-item .wprm-admin-dashboard-health-check-header{padding:10px 0;border-top:1px solid #ddd;font-weight:bold;font-size:1.1em;cursor:pointer}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-item .wprm-admin-dashboard-health-check-content{margin-bottom:20px}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-list .wprm-admin-dashboard-health-check-list-item{padding:3px 0;display:flex;justify-content:space-between;align-items:center}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-list .wprm-admin-dashboard-health-check-list-item .wprm-admin-dashboard-health-check-list-item-side{margin-left:10px;font-size:0.9em}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-multiple-parents{margin-bottom:10px}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-multiple-parents .wprm-admin-dashboard-health-check-multiple-parents-recipe{font-weight:bold}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-multiple-parents .wprm-admin-dashboard-health-check-multiple-parents-posts a{text-decoration:none}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-learn-more{border-top:1px solid #ddd;padding-top:5px}.wprm-admin-dashboard-health-check-container .wprm-admin-dashboard-health-check-learn-more a{text-decoration:none}
 
 
 
 
18
 
19
  .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}
20
 
22
 
23
  .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}
24
 
25
+ .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}
26
+
27
+ .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)}}
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,14 +1,14 @@
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,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOS41IiB5MT0iMy41IiB4Mj0iMTUuNSIgeTI9IjMuNSI+PC9saW5lPiA8cmVjdCBkYXRhLWNvbG9yPSJjb2xvci0yIiB4PSIzLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHdpZHRoPSIzIiBoZWlnaHQ9IjYiPjwvcmVjdD4gPHJlY3QgZGF0YS1jb2xvcj0iY29sb3ItMiIgeD0iOS41IiB5PSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB3aWR0aD0iMyIgaGVpZ2h0PSI2Ij48L3JlY3Q+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwLjUiIHkxPSIxMi41IiB4Mj0iNi41IiB5Mj0iMTIuNSI+PC9saW5lPiA8L2c+PC9zdmc+",bold:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZD0iTTIuNSwxLjVoNmEzLDMsMCwwLDEsMywzaDBhMywzLDAsMCwxLTMsM2gtNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPHBhdGggZD0iTTQuNSw3LjVIMTBBMy41LDMuNSwwLDAsMSwxMy41LDExaDBBMy41LDMuNSwwLDAsMSwxMCwxNC41SDIuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPGxpbmUgeDE9IjQuNSIgeTE9IjEuNSIgeDI9IjQuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",clock:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOC41IiBjeT0iOC41IiByPSI3Ij48L2NpcmNsZT4gPHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA1LjUsNS41IDguNSw4LjUgMTMuNSw4LjUgIj48L3BvbHlsaW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjMuNSIgeDI9IjguNSIgeTI9IjQuNSI+PC9saW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjEzLjUiIHgyPSI4LjUiIHkyPSIxMi41Ij48L2xpbmU+IDxsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMy41IiB5MT0iOC41IiB4Mj0iNC41IiB5Mj0iOC41Ij48L2xpbmU+IDwvZz48L3N2Zz4=",close:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjUiIHkxPSIyLjUiIHgyPSIyLjUiIHkyPSIxMy41IiBkYXRhLWNhcD0iYnV0dCI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMi41IiB5MT0iMi41IiB4Mj0iMTMuNSIgeTI9IjEzLjUiIGRhdGEtY2FwPSJidXR0Ij48L2xpbmU+IDwvZz48L3N2Zz4=",code:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48bGluZSB4MT0iMTAuNSIgeTE9IjEuNSIgeDI9IjUuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8cG9seWxpbmUgcG9pbnRzPSIzLjUgNC41IDAuNSA3LjUgMy41IDEwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCI+PC9wb2x5bGluZT4gPHBvbHlsaW5lIHBvaW50cz0iMTIuNSA0LjUgMTUuNSA3LjUgMTIuNSAxMC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZGF0YS1jYXA9ImJ1dHQiPjwvcG9seWxpbmU+PC9nPjwvc3ZnPg==","checkbox-alternate":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA0LjUsNi41IDcuNSw5LjUgMTUuNSwxLjUgIi8+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xMy41LDcuNXY2IGMwLDAuNTUyLTAuNDQ4LDEtMSwxaC0xMWMtMC41NTIsMC0xLTAuNDQ4LTEtMXYtMTFjMC0wLjU1MiwwLjQ0OC0xLDEtMWg5Ii8+IDwvZz48L3N2Zz4=","checkbox-checked":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNC41LDcuNSA3LDEwIDEyLDUgIj48L3BvbHlsaW5lPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xNC41LDE1LjVoLTEzYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiI+PC9wYXRoPjwvZz48L3N2Zz4=","checkbox-empty":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDQ0NDQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTNjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTEzYzAtMC41NTIsMC40NDgtMSwxLTFoMTNjMC41NTIsMCwxLDAuNDQ4LDEsMXYxM0MxNS41LDE1LjA1MiwxNS4wNTIsMTUuNSwxNC41LDE1LjV6Ij48L3BhdGg+PC9nPjwvc3ZnPg==",checkmark:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMSA5LjUgNS41IDE0IDE1IDEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+PC9nPjwvc3ZnPg==",duplicate:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY2FwPSJidXR0Ii8+IDxwb2x5bGluZSBwb2ludHM9IjEzLjUgNC41IDE1LjUgNC41IDE1LjUgMTUuNSA0LjUgMTUuNSA0LjUgMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPjwvZz48L3N2Zz4=",drag:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjUuNSIgeDI9IjE1LjUiIHkyPSI1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PGxpbmUgeDE9IjAuNSIgeTE9IjEwLjUiIHgyPSIxNS41IiB5Mj0iMTAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+PC9nPjwvc3ZnPg==","eafl-link":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+","eafl-unlink":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",eye:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTAuNSw4IGMwLDAsMy01LjUsNy41LTUuNVMxNS41LDgsMTUuNSw4cy0zLDUuNS03LjUsNS41UzAuNSw4LDAuNSw4eiIvPiA8Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjgiIHI9IjIuNSIvPiA8L2c+PC9zdmc+",italic:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjYuNSIgeTE9IjAuNSIgeDI9IjEyLjUiIHkyPSIwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxNS41IiB4Mj0iOS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPGxpbmUgeDE9IjkuNSIgeTE9IjAuNSIgeDI9IjYuNSIgeTI9IjE1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",link:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+",merge:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxMC41IiB5MT0iMTIuNSIgeDI9IjEzLjUiIHkyPSIxNS41IiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjQuNSw0LjUgOC41LDAuNSAxMi41LDQuNSAiPjwvcG9seWxpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjguNSwwLjUgOC41LDEwLjUgMy41LDE1LjUgIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",movie:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjIuNSIgY3k9IjIuNSIgcj0iMiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8Y2lyY2xlIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjMiIHI9IjEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTAuNSw5LjV2LTIgYzAtMC41NTItMC40NDgtMS0xLTFoLThjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMmw1LDJ2LTdMMTAuNSw5LjV6Ii8+PC9nPjwvc3ZnPg==",pencil:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48cG9seWdvbiBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiAxMywwLjUgMTUuNSwzIDcuNSwxMSA0LDEyIDUsOC41ICI+PC9wb2x5Z29uPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEiIHkxPSIyLjUiIHgyPSIxMy41IiB5Mj0iNSI+PC9saW5lPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTMuNSw5LjV2NSBjMCwwLjU1Mi0wLjQ0OCwxLTEsMWgtMTFjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTExYzAtMC41NTIsMC40NDgtMSwxLTFoNSI+PC9wYXRoPiA8L2c+PC9zdmc+",photo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPiA8cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMi41LDEyLjUgOS41LDcuNSAxMy41LDExLjUgIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+IDxjaXJjbGUgY3g9IjQuNSIgY3k9IjUuNSIgcj0iMS41IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIgZGF0YS1zdHJva2U9Im5vbmUiIHN0cm9rZT0ibm9uZSIvPjwvZz48L3N2Zz4=",plus:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjQuNSIgeDI9IjguNSIgeTI9IjEyLjUiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuNSIgeTE9IjguNSIgeDI9IjEyLjUiIHkyPSI4LjUiLz4gPC9nPjwvc3ZnPg==",print:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMy41IDMuNSAzLjUgMC41IDEyLjUgMC41IDEyLjUgMy41IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBvbHlsaW5lIHBvaW50cz0iMy41IDEyLjUgMC41IDEyLjUgMC41IDUuNSAxNS41IDUuNSAxNS41IDEyLjUgMTIuNSAxMi41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPiA8cmVjdCB4PSIzLjUiIHk9IjkuNSIgd2lkdGg9IjkiIGhlaWdodD0iNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L2c+PC9zdmc+",question:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGN4PSI4IiBjeT0iMTMuNSIgcj0iMS41Ii8+IDxwYXRoIGZpbGw9IiMxMTExMTEiIGQ9Ik04LDBDNi4zMDksMCw0Ljc5MiwxLjA3Miw0LjIyOSwyLjY2N0wzLjg5NSwzLjYwOUw1Ljc4LDQuMjc2bDAuMzMzLTAuOTQzQzYuMzk2LDIuNTM2LDcuMTU0LDIsOCwyIGMxLjEwMywwLDIsMC44OTcsMiwyYzAsMC42MzItMC4yNDUsMC44MzktMC45NTIsMS4zNDdDOC4xODQsNS45NjcsNyw2LjgxNyw3LDl2MWgyVjljMC0xLjE1NywwLjQ4Mi0xLjUwMywxLjIxNC0yLjAyOCBDMTAuOTY4LDYuNDMxLDEyLDUuNjksMTIsNEMxMiwxLjc5NCwxMC4yMDYsMCw4LDB6Ii8+PC9nPjwvc3ZnPg==",restore:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wLjUsNS41bDUtNXYzIGMzLjE1NiwwLDcsMS44NTQsNyw3Yy0xLjU1OS0yLjUyMy00LjUtMy03LTN2M0wwLjUsNS41eiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMC41LDEwLjV2NCBjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxM2MwLjU1MiwwLDEtMC40NDgsMS0xdi0xMWMwLTAuNTUyLTAuNDQ4LTEtMS0xaC0yIi8+PC9nPjwvc3ZnPg==","star-empty":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMCkiPjxwb2x5Z29uIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM0MzQzNCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMTIsMi42IDE1LDkgMjEuNCw5IDE2LjcsMTMuOSAxOC42LDIxLjQgMTIsMTcuNiA1LjQsMjEuNCA3LjMsMTMuOSAyLjYsOSA5LDkgIiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==","star-full":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyA+PHBhdGggZmlsbD0iIzM0MzQzNCIgZD0iTTEyLjcxMiwxLjk0MmwyLjk2OSw2LjAxNWw2LjYzOCwwLjk2NWMwLjY1MSwwLjA5NSwwLjkxMSwwLjg5NSwwLjQ0LDEuMzU0bC00LjgwNCw0LjY4MmwxLjEzNCw2LjYxMmMwLjExMSwwLjY0OS0wLjU3LDEuMTQzLTEuMTUyLDAuODM3TDEyLDE5LjI4NmwtNS45MzgsMy4xMjJDNS40OCwyMi43MTQsNC43OTksMjIuMjE5LDQuOTEsMjEuNTdsMS4xMzQtNi42MTJsLTQuODA0LTQuNjgyYy0wLjQ3MS0wLjQ1OS0wLjIxMS0xLjI2LDAuNDQtMS4zNTRsNi42MzgtMC45NjVsMi45NjktNi4wMTVDMTEuNTc5LDEuMzUyLDEyLjQyMSwxLjM1MiwxMi43MTIsMS45NDJ6Ii8+PC9nPjwvc3ZnPg==",subscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMi41IDQuNSAyLjUgMi41IDEyLjUgMi41IDEyLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjcuNSIgeTE9IjIuNSIgeDI9IjcuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSI1LjUiIHkxPSIxMy41IiB4Mj0iOS41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE1LDE1LjMyNEgxMS45MDd2LS43NThsMS4wNC0xLjA1M3EuNDQ3LS40NjUuNTg0LS42MzZhMS40MzcsMS40MzcsMCwwLDAsLjE5MS0uMjkzLjY1LjY1LDAsMCwwLC4wNTMtLjI1Ny4zMzUuMzM1LDAsMCwwLS4xMDctLjI2Mi40NDQuNDQ0LDAsMCwwLS4zLS4xLjgyLjgyLDAsMCwwLS40MDYuMTE1LDIuOTM1LDIuOTM1LDAsMCwwLS40NjUuMzRsLS42MzMtLjc0MWEzLjQ1NCwzLjQ1NCwwLDAsMSwuNTU0LS40MjEsMS45NzIsMS45NzIsMCwwLDEsLjQ4OC0uMTkzQTIuMzU0LDIuMzU0LDAsMCwxLDEzLjUsMTFhMS44LDEuOCwwLDAsMSwuNzM5LjE0NiwxLjE1NSwxLjE1NSwwLDAsMSwuNS40MTYsMS4wNjMsMS4wNjMsMCwwLDEsLjE3OS42LDEuNTcyLDEuNTcyLDAsMCwxLS4yNTYuODgzLDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE1WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",superscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMC41IDQuNSAwLjUgMi41IDEwLjUgMi41IDEwLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjUuNSIgeTE9IjIuNSIgeDI9IjUuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxMy41IiB4Mj0iNy41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE2LDQuMzI0SDEyLjkwN1YzLjU2NmwxLjA0LTEuMDUzcS40NDctLjQ2NS41ODQtLjYzNmExLjQzNywxLjQzNywwLDAsMCwuMTkxLS4yOTMuNjUuNjUsMCwwLDAsLjA1My0uMjU3LjMzNS4zMzUsMCwwLDAtLjEwNy0uMjYyLjQ0NC40NDQsMCwwLDAtLjMtLjEuODIuODIsMCwwLDAtLjQwNi4xMTUsMi45MzUsMi45MzUsMCwwLDAtLjQ2NS4zNEwxMi44Ni42ODJhMy40NTQsMy40NTQsMCwwLDEsLjU1NC0uNDIxQTEuOTcyLDEuOTcyLDAsMCwxLDEzLjkuMDY4LDIuMzU0LDIuMzU0LDAsMCwxLDE0LjUsMGExLjgsMS44LDAsMCwxLC43MzkuMTQ2LDEuMTU1LDEuMTU1LDAsMCwxLC41LjQxNiwxLjA2MywxLjA2MywwLDAsMSwuMTc5LjYsMS42MjcsMS42MjcsMCwwLDEtLjA2My40NjQsMS42NCwxLjY0LDAsMCwxLS4xOTMuNDE5LDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE2WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",trash:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTIuNSw2LjV2NyBjMCwxLjEwNSwwLjg5NSwyLDIsMmg4YzEuMTA1LDAsMi0wLjg5NSwyLTJ2LTciLz4gPGxpbmUgZGF0YS1jb2xvcj0iY29sb3ItMiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxLjUiIHkxPSIzLjUiIHgyPSIxNS41IiB5Mj0iMy41Ii8+IDxwb2x5bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIgNi41LDMuNSA2LjUsMC41IDEwLjUsMC41IDEwLjUsMy41ICIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOC41IiB5MT0iNy41IiB4Mj0iOC41IiB5Mj0iMTIuNSIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEuNSIgeTE9IjcuNSIgeDI9IjExLjUiIHkyPSIxMi41Ii8+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSI1LjUiIHkxPSI3LjUiIHgyPSI1LjUiIHkyPSIxMi41Ii8+IDwvZz48L3N2Zz4=",underline:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjE1LjUiIHgyPSIxNS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwYXRoIGQ9Ik0xMi41LDEuNVY4QTQuNSw0LjUsMCwwLDEsOCwxMi41SDhBNC41LDQuNSwwLDAsMSwzLjUsOFYxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+IDxsaW5lIHgxPSIxLjUiIHkxPSIxLjUiIHgyPSI1LjUiIHkyPSIxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIxMC41IiB5MT0iMS41IiB4Mj0iMTQuNSIgeTI9IjEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT48L2c+PC9zdmc+",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},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
5
  http://jedwatson.github.io/classnames
6
- */!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var t=[],e=0;e<arguments.length;e++){var n=arguments[e];if(n){var o=typeof n;if("string"===o||"number"===o)t.push(n);else if(Array.isArray(n)&&n.length){var a=i.apply(null,n);a&&t.push(a)}else if("object"===o)for(var c in n)r.call(n,c)&&n[c]&&t.push(c)}}return t.join(" ")}t.exports?(i.default=i,t.exports=i):void 0===(n=function(){return i}.apply(e,[]))||(t.exports=n)}()},28641:function(t){t.exports=function(t){if("function"!=typeof t)throw TypeError(String(t)+" is not a function");return t}},13350:function(t,e,n){"use strict";var r=n(91140).charAt;t.exports=function(t,e,n){return e+(n?r(t,e).length:1)}},9519:function(t){t.exports=function(t,e,n){if(!(t instanceof e))throw TypeError("Incorrect "+(n?n+" ":"")+"invocation");return t}},83875:function(t,e,n){var r=n(52786);t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},37190:function(t,e,n){var r=n(29580),i=n(35108),o=n(32565),a=function(t){return function(e,n,a){var c,u=r(e),s=i(u.length),l=o(a,s);if(t&&n!=n){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((t||l in u)&&u[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},54324:function(t,e,n){"use strict";var r=n(79044);t.exports=function(t,e){var n=[][t];return!!n&&r((function(){n.call(null,e||function(){throw 1},1)}))}},5673:function(t,e,n){var r=n(7493),i=n(79044),o=n(40454),a=Object.defineProperty,c={},u=function(t){throw t};t.exports=function(t,e){if(o(c,t))return c[t];e||(e={});var n=[][t],s=!!o(e,"ACCESSORS")&&e.ACCESSORS,l=o(e,0)?e[0]:u,f=o(e,1)?e[1]:void 0;return c[t]=!!n&&!i((function(){if(s&&!r)return!0;var t={length:-1};s?a(t,1,{enumerable:!0,get:u}):t[1]=1,n.call(t,l,f)}))}},9637:function(t,e,n){var r=n(83875);t.exports=function(t,e,n,i){try{return i?e(r(n)[0],n[1]):e(n)}catch(a){var o=t.return;throw void 0!==o&&r(o.call(t)),a}}},8662:function(t,e,n){var r=n(52280)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[r]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}t.exports=function(t,e){if(!e&&!i)return!1;var n=!1;try{var o={};o[r]=function(){return{next:function(){return{done:n=!0}}}},t(o)}catch(c){}return n}},79159:function(t){var e={}.toString;t.exports=function(t){return e.call(t).slice(8,-1)}},36994:function(t,e,n){var r=n(57301),i=n(79159),o=n(52280)("toStringTag"),a="Arguments"==i(function(){return arguments}());t.exports=r?i:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=function(t,e){try{return t[e]}catch(n){}}(e=Object(t),o))?n:a?i(e):"Object"==(r=i(e))&&"function"==typeof e.callee?"Arguments":r}},73870:function(t,e,n){var r=n(40454),i=n(31561),o=n(66012),a=n(86385);t.exports=function(t,e){for(var n=i(e),c=a.f,u=o.f,s=0;s<n.length;s++){var l=n[s];r(t,l)||c(t,l,u(e,l))}}},45899:function(t,e,n){var r=n(7493),i=n(86385),o=n(69199);t.exports=r?function(t,e,n){return i.f(t,e,o(1,n))}:function(t,e,n){return t[e]=n,t}},69199:function(t){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},7493:function(t,e,n){var r=n(79044);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},92750:function(t,e,n){var r=n(98363),i=n(52786),o=r.document,a=i(o)&&i(o.createElement);t.exports=function(t){return a?o.createElement(t):{}}},53121:function(t,e,n){var r=n(82647);t.exports=/(iphone|ipod|ipad).*applewebkit/i.test(r)},82647:function(t,e,n){var r=n(22773);t.exports=r("navigator","userAgent")||""},11197:function(t,e,n){var r,i,o=n(98363),a=n(82647),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(r=s.split("."))[0]+r[1]:a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(i=r[1]),t.exports=i&&+i},48869:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(t,e,n){var r=n(98363),i=n(66012).f,o=n(45899),a=n(35974),c=n(51621),u=n(73870),s=n(86291);t.exports=function(t,e){var n,l,f,p,d,h=t.target,v=t.global,y=t.stat;if(n=v?r:y?r[h]||c(h,{}):(r[h]||{}).prototype)for(l in e){if(p=e[l],f=t.noTargetGet?(d=i(n,l))&&d.value:n[l],!s(v?l:h+(y?".":"#")+l,t.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(t.sham||f&&f.sham)&&o(p,"sham",!0),a(n,l,p,t)}}},79044:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},81492:function(t,e,n){"use strict";n(39275);var r=n(35974),i=n(79044),o=n(52280),a=n(99749),c=n(45899),u=o("species"),s=!i((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var t=/(?:)/,e=t.exec;t.exec=function(){return e.apply(this,arguments)};var n="ab".split(t);return 2!==n.length||"a"!==n[0]||"b"!==n[1]}));t.exports=function(t,e,n,f){var h=o(t),v=!i((function(){var e={};return e[h]=function(){return 7},7!=""[t](e)})),y=v&&!i((function(){var e=!1,n=/a/;return"split"===t&&((n={}).constructor={},n.constructor[u]=function(){return n},n.flags="",n[h]=/./[h]),n.exec=function(){return e=!0,null},n[h](""),!e}));if(!v||!y||"replace"===t&&(!s||!l||p)||"split"===t&&!d){var m=/./[h],g=n(h,""[t],(function(t,e,n,r,i){return e.exec===a?v&&!i?{done:!0,value:m.call(e,n,r)}:{done:!0,value:t.call(n,e,r)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],x=g[1];r(String.prototype,t,b),r(RegExp.prototype,h,2==e?function(t,e){return x.call(t,this,e)}:function(t){return x.call(t,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},98166:function(t,e,n){var r=n(28641);t.exports=function(t,e,n){if(r(t),void 0===e)return t;switch(n){case 0:return function(){return t.call(e)};case 1:return function(n){return t.call(e,n)};case 2:return function(n,r){return t.call(e,n,r)};case 3:return function(n,r,i){return t.call(e,n,r,i)}}return function(){return t.apply(e,arguments)}}},22773:function(t,e,n){var r=n(67290),i=n(98363),o=function(t){return"function"==typeof t?t:void 0};t.exports=function(t,e){return arguments.length<2?o(r[t])||o(i[t]):r[t]&&r[t][e]||i[t]&&i[t][e]}},77193:function(t,e,n){var r=n(36994),i=n(44818),o=n(52280)("iterator");t.exports=function(t){if(null!=t)return t[o]||t["@@iterator"]||i[r(t)]}},98363:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||Function("return this")()},40454:function(t){var e={}.hasOwnProperty;t.exports=function(t,n){return e.call(t,n)}},47505:function(t){t.exports={}},46271:function(t,e,n){var r=n(98363);t.exports=function(t,e){var n=r.console;n&&n.error&&(1===arguments.length?n.error(t):n.error(t,e))}},47055:function(t,e,n){var r=n(22773);t.exports=r("document","documentElement")},67548:function(t,e,n){var r=n(7493),i=n(79044),o=n(92750);t.exports=!r&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(t,e,n){var r=n(79044),i=n(79159),o="".split;t.exports=r((function(){return!Object("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?o.call(t,""):Object(t)}:Object},56429:function(t,e,n){var r=n(49415),i=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return i.call(t)}),t.exports=r.inspectSource},20821:function(t,e,n){var r,i,o,a=n(36830),c=n(98363),u=n(52786),s=n(45899),l=n(40454),f=n(50466),p=n(47505),d=c.WeakMap;if(a){var h=new d,v=h.get,y=h.has,m=h.set;r=function(t,e){return m.call(h,t,e),e},i=function(t){return v.call(h,t)||{}},o=function(t){return y.call(h,t)}}else{var g=f("state");p[g]=!0,r=function(t,e){return s(t,g,e),e},i=function(t){return l(t,g)?t[g]:{}},o=function(t){return l(t,g)}}t.exports={set:r,get:i,has:o,enforce:function(t){return o(t)?i(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!u(e)||(n=i(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}}}},68089:function(t,e,n){var r=n(52280),i=n(44818),o=r("iterator"),a=Array.prototype;t.exports=function(t){return void 0!==t&&(i.Array===t||a[o]===t)}},86291:function(t,e,n){var r=n(79044),i=/#|\.prototype\./,o=function(t,e){var n=c[a(t)];return n==s||n!=u&&("function"==typeof e?r(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";t.exports=o},52786:function(t){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},21178:function(t){t.exports=!1},5166:function(t,e,n){var r=n(83875),i=n(68089),o=n(35108),a=n(98166),c=n(77193),u=n(9637),s=function(t,e){this.stopped=t,this.result=e};(t.exports=function(t,e,n,l,f){var p,d,h,v,y,m,g,b=a(e,n,l?2:1);if(f)p=t;else{if("function"!=typeof(d=c(t)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,v=o(t.length);v>h;h++)if((y=l?b(r(g=t[h])[0],g[1]):b(t[h]))&&y instanceof s)return y;return new s(!1)}p=d.call(t)}for(m=p.next;!(g=m.call(p)).done;)if("object"==typeof(y=u(p,b,g.value,l))&&y&&y instanceof s)return y;return new s(!1)}).stop=function(t){return new s(!0,t)}},44818:function(t){t.exports={}},71800:function(t,e,n){var r,i,o,a,c,u,s,l,f=n(98363),p=n(66012).f,d=n(79159),h=n(84643).set,v=n(53121),y=f.MutationObserver||f.WebKitMutationObserver,m=f.process,g=f.Promise,b="process"==d(m),x=p(f,"queueMicrotask"),w=x&&x.value;w||(r=function(){var t,e;for(b&&(t=m.domain)&&t.exit();i;){e=i.fn,i=i.next;try{e()}catch(n){throw i?a():o=void 0,n}}o=void 0,t&&t.enter()},b?a=function(){m.nextTick(r)}:y&&!v?(c=!0,u=document.createTextNode(""),new y(r).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):g&&g.resolve?(s=g.resolve(void 0),l=s.then,a=function(){l.call(s,r)}):a=function(){h.call(f,r)}),t.exports=w||function(t){var e={fn:t,next:void 0};o&&(o.next=e),i||(i=e,a()),o=e}},58369:function(t,e,n){var r=n(98363);t.exports=r.Promise},3850:function(t,e,n){var r=n(79044);t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},36830:function(t,e,n){var r=n(98363),i=n(56429),o=r.WeakMap;t.exports="function"==typeof o&&/native code/.test(i(o))},29269:function(t,e,n){"use strict";var r=n(28641),i=function(t){var e,n;this.promise=new t((function(t,r){if(void 0!==e||void 0!==n)throw TypeError("Bad Promise constructor");e=t,n=r})),this.resolve=r(e),this.reject=r(n)};t.exports.f=function(t){return new i(t)}},86385:function(t,e,n){var r=n(7493),i=n(67548),o=n(83875),a=n(21893),c=Object.defineProperty;e.f=r?c:function(t,e,n){if(o(t),e=a(e,!0),o(n),i)try{return c(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},66012:function(t,e,n){var r=n(7493),i=n(81513),o=n(69199),a=n(29580),c=n(21893),u=n(40454),s=n(67548),l=Object.getOwnPropertyDescriptor;e.f=r?l:function(t,e){if(t=a(t),e=c(e,!0),s)try{return l(t,e)}catch(n){}if(u(t,e))return o(!i.f.call(t,e),t[e])}},87994:function(t,e,n){var r=n(18794),i=n(48869).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,i)}},89612:function(t,e){e.f=Object.getOwnPropertySymbols},18794:function(t,e,n){var r=n(40454),i=n(29580),o=n(37190).indexOf,a=n(47505);t.exports=function(t,e){var n,c=i(t),u=0,s=[];for(n in c)!r(a,n)&&r(c,n)&&s.push(n);for(;e.length>u;)r(c,n=e[u++])&&(~o(s,n)||s.push(n));return s}},81513:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);e.f=i?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},31561:function(t,e,n){var r=n(22773),i=n(87994),o=n(89612),a=n(83875);t.exports=r("Reflect","ownKeys")||function(t){var e=i.f(a(t)),n=o.f;return n?e.concat(n(t)):e}},67290:function(t,e,n){var r=n(98363);t.exports=r},74443:function(t){t.exports=function(t){try{return{error:!1,value:t()}}catch(e){return{error:!0,value:e}}}},11621:function(t,e,n){var r=n(83875),i=n(52786),o=n(29269);t.exports=function(t,e){if(r(t),i(e)&&e.constructor===t)return e;var n=o.f(t);return(0,n.resolve)(e),n.promise}},7592:function(t,e,n){var r=n(35974);t.exports=function(t,e,n){for(var i in e)r(t,i,e[i],n);return t}},35974:function(t,e,n){var r=n(98363),i=n(45899),o=n(40454),a=n(51621),c=n(56429),u=n(20821),s=u.get,l=u.enforce,f=String(String).split("String");(t.exports=function(t,e,n,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof n&&("string"!=typeof e||o(n,"name")||i(n,"name",e),l(n).source=f.join("string"==typeof e?e:"")),t!==r?(u?!p&&t[e]&&(s=!0):delete t[e],s?t[e]=n:i(t,e,n)):s?t[e]=n:a(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},94088:function(t,e,n){var r=n(79159),i=n(99749);t.exports=function(t,e){var n=t.exec;if("function"==typeof n){var o=n.call(t,e);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==r(t))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(t,e)}},99749:function(t,e,n){"use strict";var r,i,o=n(58083),a=n(97047),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(r=/a/,i=/b*/g,c.call(r,"a"),c.call(i,"a"),0!==r.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(t){var e,n,r,i,a=this,s=f&&a.sticky,d=o.call(a),h=a.source,v=0,y=t;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),y=String(t).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==t[a.lastIndex-1])&&(h="(?: "+h+")",y=" "+y,v++),n=new RegExp("^(?:"+h+")",d)),p&&(n=new RegExp("^"+h+"$(?!\\s)",d)),l&&(e=a.lastIndex),r=c.call(s?n:a,y),s?r?(r.input=r.input.slice(v),r[0]=r[0].slice(v),r.index=a.lastIndex,a.lastIndex+=r[0].length):a.lastIndex=0:l&&r&&(a.lastIndex=a.global?r.index+r[0].length:e),p&&r&&r.length>1&&u.call(r[0],n,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(r[i]=void 0)})),r}),t.exports=s},58083:function(t,e,n){"use strict";var r=n(83875);t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},97047:function(t,e,n){"use strict";var r=n(79044);function i(t,e){return RegExp(t,e)}e.UNSUPPORTED_Y=r((function(){var t=i("a","y");return t.lastIndex=2,null!=t.exec("abcd")})),e.BROKEN_CARET=r((function(){var t=i("^r","gy");return t.lastIndex=2,null!=t.exec("str")}))},96411:function(t){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},51621:function(t,e,n){var r=n(98363),i=n(45899);t.exports=function(t,e){try{i(r,t,e)}catch(n){r[t]=e}return e}},57323:function(t,e,n){"use strict";var r=n(22773),i=n(86385),o=n(52280),a=n(7493),c=o("species");t.exports=function(t){var e=r(t),n=i.f;a&&e&&!e[c]&&n(e,c,{configurable:!0,get:function(){return this}})}},60878:function(t,e,n){var r=n(86385).f,i=n(40454),o=n(52280)("toStringTag");t.exports=function(t,e,n){t&&!i(t=n?t:t.prototype,o)&&r(t,o,{configurable:!0,value:e})}},50466:function(t,e,n){var r=n(53580),i=n(34524),o=r("keys");t.exports=function(t){return o[t]||(o[t]=i(t))}},49415:function(t,e,n){var r=n(98363),i=n(51621),o="__core-js_shared__",a=r[o]||i(o,{});t.exports=a},53580:function(t,e,n){var r=n(21178),i=n(49415);(t.exports=function(t,e){return i[t]||(i[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.6.5",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7270:function(t,e,n){var r=n(83875),i=n(28641),o=n(52280)("species");t.exports=function(t,e){var n,a=r(t).constructor;return void 0===a||null==(n=r(a)[o])?e:i(n)}},91140:function(t,e,n){var r=n(98330),i=n(96411),o=function(t){return function(e,n){var o,a,c=String(i(e)),u=r(n),s=c.length;return u<0||u>=s?t?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?t?c.charAt(u):o:t?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};t.exports={codeAt:o(!1),charAt:o(!0)}},5167:function(t,e,n){var r=n(82647);t.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r)},98385:function(t,e,n){var r=n(35108),i=n(26031),o=n(96411),a=Math.ceil,c=function(t){return function(e,n,c){var u,s,l=String(o(e)),f=l.length,p=void 0===c?" ":String(c),d=r(n);return d<=f||""==p?l:(u=d-f,(s=i.call(p,a(u/p.length))).length>u&&(s=s.slice(0,u)),t?l+s:s+l)}};t.exports={start:c(!1),end:c(!0)}},26031:function(t,e,n){"use strict";var r=n(98330),i=n(96411);t.exports="".repeat||function(t){var e=String(i(this)),n="",o=r(t);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(e+=e))1&o&&(n+=e);return n}},84643:function(t,e,n){var r,i,o,a=n(98363),c=n(79044),u=n(79159),s=n(98166),l=n(47055),f=n(92750),p=n(53121),d=a.location,h=a.setImmediate,v=a.clearImmediate,y=a.process,m=a.MessageChannel,g=a.Dispatch,b=0,x={},w="onreadystatechange",I=function(t){if(x.hasOwnProperty(t)){var e=x[t];delete x[t],e()}},E=function(t){return function(){I(t)}},M=function(t){I(t.data)},S=function(t){a.postMessage(t+"",d.protocol+"//"+d.host)};h&&v||(h=function(t){for(var e=[],n=1;arguments.length>n;)e.push(arguments[n++]);return x[++b]=function(){("function"==typeof t?t:Function(t)).apply(void 0,e)},r(b),b},v=function(t){delete x[t]},"process"==u(y)?r=function(t){y.nextTick(E(t))}:g&&g.now?r=function(t){g.now(E(t))}:m&&!p?(o=(i=new m).port2,i.port1.onmessage=M,r=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(S)||"file:"===d.protocol?r=w in f("script")?function(t){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),I(t)}}:function(t){setTimeout(E(t),0)}:(r=S,a.addEventListener("message",M,!1))),t.exports={set:h,clear:v}},32565:function(t,e,n){var r=n(98330),i=Math.max,o=Math.min;t.exports=function(t,e){var n=r(t);return n<0?i(n+e,0):o(n,e)}},29580:function(t,e,n){var r=n(78609),i=n(96411);t.exports=function(t){return r(i(t))}},98330:function(t){var e=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:e)(t)}},35108:function(t,e,n){var r=n(98330),i=Math.min;t.exports=function(t){return t>0?i(r(t),9007199254740991):0}},30744:function(t,e,n){var r=n(96411);t.exports=function(t){return Object(r(t))}},21893:function(t,e,n){var r=n(52786);t.exports=function(t,e){if(!r(t))return t;var n,i;if(e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;if("function"==typeof(n=t.valueOf)&&!r(i=n.call(t)))return i;if(!e&&"function"==typeof(n=t.toString)&&!r(i=n.call(t)))return i;throw TypeError("Can't convert object to primitive value")}},57301:function(t,e,n){var r={};r[n(52280)("toStringTag")]="z",t.exports="[object z]"===String(r)},34524:function(t){var e=0,n=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++e+n).toString(36)}},189:function(t,e,n){var r=n(3850);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52280:function(t,e,n){var r=n(98363),i=n(53580),o=n(40454),a=n(34524),c=n(3850),u=n(189),s=i("wks"),l=r.Symbol,f=u?l:l&&l.withoutSetter||a;t.exports=function(t){return o(s,t)||(c&&o(l,t)?s[t]=l[t]:s[t]=f("Symbol."+t)),s[t]}},31807:function(t,e,n){"use strict";var r=n(19882),i=n(37190).indexOf,o=n(54324),a=n(5673),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});r({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(t){return u?c.apply(this,arguments)||0:i(this,t,arguments.length>1?arguments[1]:void 0)}})},35054:function(t,e,n){"use strict";var r,i,o,a,c=n(19882),u=n(21178),s=n(98363),l=n(22773),f=n(58369),p=n(35974),d=n(7592),h=n(60878),v=n(57323),y=n(52786),m=n(28641),g=n(9519),b=n(79159),x=n(56429),w=n(5166),I=n(8662),E=n(7270),M=n(84643).set,S=n(71800),O=n(11621),j=n(46271),_=n(29269),k=n(74443),T=n(20821),P=n(86291),N=n(52280),A=n(11197),C=N("species"),D="Promise",L=T.get,R=T.set,z=T.getterFor(D),W=f,H=s.TypeError,U=s.document,B=s.process,G=l("fetch"),Z=_.f,F=Z,V="process"==b(B),J=!!(U&&U.createEvent&&s.dispatchEvent),Y="unhandledrejection",q=P(D,(function(){if(!(x(W)!==String(W))){if(66===A)return!0;if(!V&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!W.prototype.finally)return!0;if(A>=51&&/native code/.test(W))return!1;var t=W.resolve(1),e=function(t){t((function(){}),(function(){}))};return(t.constructor={})[C]=e,!(t.then((function(){}))instanceof e)})),X=q||!I((function(t){W.all(t).catch((function(){}))})),Q=function(t){var e;return!(!y(t)||"function"!=typeof(e=t.then))&&e},$=function(t,e,n){if(!e.notified){e.notified=!0;var r=e.reactions;S((function(){for(var i=e.value,o=1==e.state,a=0;r.length>a;){var c,u,s,l=r[a++],f=o?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(o||(2===e.rejection&&nt(t,e),e.rejection=1),!0===f?c=i:(h&&h.enter(),c=f(i),h&&(h.exit(),s=!0)),c===l.promise?d(H("Promise-chain cycle")):(u=Q(c))?u.call(c,p,d):p(c)):d(i)}catch(v){h&&!s&&h.exit(),d(v)}}e.reactions=[],e.notified=!1,n&&!e.rejection&&tt(t,e)}))}},K=function(t,e,n){var r,i;J?((r=U.createEvent("Event")).promise=e,r.reason=n,r.initEvent(t,!1,!0),s.dispatchEvent(r)):r={promise:e,reason:n},(i=s["on"+t])?i(r):t===Y&&j("Unhandled promise rejection",n)},tt=function(t,e){M.call(s,(function(){var n,r=e.value;if(et(e)&&(n=k((function(){V?B.emit("unhandledRejection",r,t):K(Y,t,r)})),e.rejection=V||et(e)?2:1,n.error))throw n.value}))},et=function(t){return 1!==t.rejection&&!t.parent},nt=function(t,e){M.call(s,(function(){V?B.emit("rejectionHandled",t):K("rejectionhandled",t,e.value)}))},rt=function(t,e,n,r){return function(i){t(e,n,i,r)}},it=function(t,e,n,r){e.done||(e.done=!0,r&&(e=r),e.value=n,e.state=2,$(t,e,!0))},ot=function(t,e,n,r){if(!e.done){e.done=!0,r&&(e=r);try{if(t===n)throw H("Promise can't be resolved itself");var i=Q(n);i?S((function(){var r={done:!1};try{i.call(n,rt(ot,t,r,e),rt(it,t,r,e))}catch(o){it(t,r,o,e)}})):(e.value=n,e.state=1,$(t,e,!1))}catch(o){it(t,{done:!1},o,e)}}};q&&(W=function(t){g(this,W,D),m(t),r.call(this);var e=L(this);try{t(rt(ot,this,e),rt(it,this,e))}catch(n){it(this,e,n)}},(r=function(t){R(this,{type:D,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(W.prototype,{then:function(t,e){var n=z(this),r=Z(E(this,W));return r.ok="function"!=typeof t||t,r.fail="function"==typeof e&&e,r.domain=V?B.domain:void 0,n.parent=!0,n.reactions.push(r),0!=n.state&&$(this,n,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),i=function(){var t=new r,e=L(t);this.promise=t,this.resolve=rt(ot,t,e),this.reject=rt(it,t,e)},_.f=Z=function(t){return t===W||t===o?new i(t):F(t)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(t,e){var n=this;return new W((function(t,e){a.call(n,t,e)})).then(t,e)}),{unsafe:!0}),"function"==typeof G&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(t){return O(W,G.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:q},{Promise:W}),h(W,D,!1,!0),v(D),o=l(D),c({target:D,stat:!0,forced:q},{reject:function(t){var e=Z(this);return e.reject.call(void 0,t),e.promise}}),c({target:D,stat:!0,forced:u||q},{resolve:function(t){return O(u&&this===o?W:this,t)}}),c({target:D,stat:!0,forced:X},{all:function(t){var e=this,n=Z(e),r=n.resolve,i=n.reject,o=k((function(){var n=m(e.resolve),o=[],a=0,c=1;w(t,(function(t){var u=a++,s=!1;o.push(void 0),c++,n.call(e,t).then((function(t){s||(s=!0,o[u]=t,--c||r(o))}),i)})),--c||r(o)}));return o.error&&i(o.value),n.promise},race:function(t){var e=this,n=Z(e),r=n.reject,i=k((function(){var i=m(e.resolve);w(t,(function(t){i.call(e,t).then(n.resolve,r)}))}));return i.error&&r(i.value),n.promise}})},39275:function(t,e,n){"use strict";var r=n(19882),i=n(99749);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},21682:function(t,e,n){"use strict";var r=n(19882),i=n(98385).start;r({target:"String",proto:!0,forced:n(5167)},{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}})},22321:function(t,e,n){"use strict";var r=n(81492),i=n(83875),o=n(30744),a=n(35108),c=n(98330),u=n(96411),s=n(13350),l=n(94088),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,v=/\$([$&'`]|\d\d?)/g;r("replace",2,(function(t,e,n,r){var y=r.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,m=r.REPLACE_KEEPS_$0,g=y?"$":"$0";return[function(n,r){var i=u(this),o=null==n?void 0:n[t];return void 0!==o?o.call(n,i,r):e.call(String(i),n,r)},function(t,r){if(!y&&m||"string"==typeof r&&-1===r.indexOf(g)){var o=n(e,t,this,r);if(o.done)return o.value}var u=i(t),d=String(this),h="function"==typeof r;h||(r=String(r));var v=u.global;if(v){var x=u.unicode;u.lastIndex=0}for(var w=[];;){var I=l(u,d);if(null===I)break;if(w.push(I),!v)break;""===String(I[0])&&(u.lastIndex=s(d,a(u.lastIndex),x))}for(var E,M="",S=0,O=0;O<w.length;O++){I=w[O];for(var j=String(I[0]),_=f(p(c(I.index),d.length),0),k=[],T=1;T<I.length;T++)k.push(void 0===(E=I[T])?E:String(E));var P=I.groups;if(h){var N=[j].concat(k,_,d);void 0!==P&&N.push(P);var A=String(r.apply(void 0,N))}else A=b(j,d,_,k,P,r);_>=S&&(M+=d.slice(S,_)+A,S=_+j.length)}return M+d.slice(S)}];function b(t,n,r,i,a,c){var u=r+t.length,s=i.length,l=v;return void 0!==a&&(a=o(a),l=h),e.call(c,l,(function(e,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,r);case"'":return n.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return e;if(l>s){var f=d(l/10);return 0===f?e:f<=s?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):e}c=i[l-1]}return void 0===c?"":c}))}}))},68598:function(t){var e={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};t.exports=function(t,n,r,i){if(!e.hasOwnProperty(r))throw new Error("Cannot convert to "+r);if(!e[r].hasOwnProperty(n))throw new Error("Cannot convert from "+n+" to "+r);return i=Math.pow(10,parseInt(i)||5),Math.round(e[r][n]*t*i)/i}},26058:function(t,e,n){var r;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(i){"use strict";var o,a=1e9,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,v=1e7,y=9007199254740991,m=p(1286742750677284.5),g={};function b(t,e){var n,r,i,o,a,c,s,l,f=t.constructor,p=f.precision;if(!t.s||!e.s)return e.s||(e=new f(t)),u?k(e,p):e;if(s=t.d,l=e.d,a=t.e,i=e.e,s=s.slice(),o=a-i){for(o<0?(r=s,o=-o,c=l.length):(r=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,r.length=1),r.reverse();o--;)r.push(0);r.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,r=l,l=s,s=r),n=0;o;)n=(s[--o]=s[o]+l[o]+n)/v|0,s[o]%=v;for(n&&(s.unshift(n),++i),c=s.length;0==s[--c];)s.pop();return e.d=s,e.e=i,u?k(e,p):e}function x(t,e,n){if(t!==~~t||t<e||t>n)throw Error(l+t)}function w(t){var e,n,r,i=t.length-1,o="",a=t[0];if(i>0){for(o+=a,e=1;e<i;e++)(n=7-(r=t[e]+"").length)&&(o+=O(n)),o+=r;(n=7-(r=(a=t[e])+"").length)&&(o+=O(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var t=new this.constructor(this);return t.s&&(t.s=1),t},g.comparedTo=g.cmp=function(t){var e,n,r,i,o=this;if(t=new o.constructor(t),o.s!==t.s)return o.s||-t.s;if(o.e!==t.e)return o.e>t.e^o.s<0?1:-1;for(e=0,n=(r=o.d.length)<(i=t.d.length)?r:i;e<n;++e)if(o.d[e]!==t.d[e])return o.d[e]>t.d[e]^o.s<0?1:-1;return r===i?0:r>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var t=this,e=t.d.length-1,n=7*(e-t.e);if(e=t.d[e])for(;e%10==0;e/=10)n--;return n<0?0:n},g.dividedBy=g.div=function(t){return I(this,new this.constructor(t))},g.dividedToIntegerBy=g.idiv=function(t){var e=this.constructor;return k(I(this,new e(t),0,1),e.precision)},g.equals=g.eq=function(t){return!this.cmp(t)},g.exponent=function(){return M(this)},g.greaterThan=g.gt=function(t){return this.cmp(t)>0},g.greaterThanOrEqualTo=g.gte=function(t){return this.cmp(t)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(t){return this.cmp(t)<0},g.lessThanOrEqualTo=g.lte=function(t){return this.cmp(t)<1},g.logarithm=g.log=function(t){var e,n=this,r=n.constructor,i=r.precision,a=i+5;if(void 0===t)t=new r(10);else if((t=new r(t)).s<1||t.eq(o))throw Error(s+"NaN");if(n.s<1)throw Error(s+(n.s?"NaN":"-Infinity"));return n.eq(o)?new r(0):(u=!1,e=I(j(n,a),j(t,a),a),u=!0,k(e,i))},g.minus=g.sub=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?T(e,t):b(e,(t.s=-t.s,t))},g.modulo=g.mod=function(t){var e,n=this,r=n.constructor,i=r.precision;if(!(t=new r(t)).s)throw Error(s+"NaN");return n.s?(u=!1,e=I(n,t,0,1).times(t),u=!0,n.minus(e)):k(new r(n),i)},g.naturalExponential=g.exp=function(){return E(this)},g.naturalLogarithm=g.ln=function(){return j(this)},g.negated=g.neg=function(){var t=new this.constructor(this);return t.s=-t.s||0,t},g.plus=g.add=function(t){var e=this;return t=new e.constructor(t),e.s==t.s?b(e,t):T(e,(t.s=-t.s,t))},g.precision=g.sd=function(t){var e,n,r,i=this;if(void 0!==t&&t!==!!t&&1!==t&&0!==t)throw Error(l+t);if(e=M(i)+1,n=7*(r=i.d.length-1)+1,r=i.d[r]){for(;r%10==0;r/=10)n--;for(r=i.d[0];r>=10;r/=10)n++}return t&&e>n?e:n},g.squareRoot=g.sqrt=function(){var t,e,n,r,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(t=M(c),u=!1,0==(i=Math.sqrt(+c))||i==1/0?(((e=w(c.d)).length+t)%2==0&&(e+="0"),i=Math.sqrt(e),t=p((t+1)/2)-(t<0||t%2),r=new l(e=i==1/0?"5e"+t:(e=i.toExponential()).slice(0,e.indexOf("e")+1)+t)):r=new l(i.toString()),i=a=(n=l.precision)+3;;)if(r=(o=r).plus(I(c,o,a+2)).times(.5),w(o.d).slice(0,a)===(e=w(r.d)).slice(0,a)){if(e=e.slice(a-3,a+1),i==a&&"4999"==e){if(k(o,n+1,0),o.times(o).eq(c)){r=o;break}}else if("9999"!=e)break;a+=4}return u=!0,k(r,n)},g.times=g.mul=function(t){var e,n,r,i,o,a,c,s,l,f=this,p=f.constructor,d=f.d,h=(t=new p(t)).d;if(!f.s||!t.s)return new p(0);for(t.s*=f.s,n=f.e+t.e,(s=d.length)<(l=h.length)&&(o=d,d=h,h=o,a=s,s=l,l=a),o=[],r=a=s+l;r--;)o.push(0);for(r=l;--r>=0;){for(e=0,i=s+r;i>r;)c=o[i]+h[r]*d[i-r-1]+e,o[i--]=c%v|0,e=c/v|0;o[i]=(o[i]+e)%v|0}for(;!o[--a];)o.pop();return e?++n:o.shift(),t.d=o,t.e=n,u?k(t,p.precision):t},g.toDecimalPlaces=g.todp=function(t,e){var n=this,r=n.constructor;return n=new r(n),void 0===t?n:(x(t,0,a),void 0===e?e=r.rounding:x(e,0,8),k(n,t+M(n)+1,e))},g.toExponential=function(t,e){var n,r=this,i=r.constructor;return void 0===t?n=P(r,!0):(x(t,0,a),void 0===e?e=i.rounding:x(e,0,8),n=P(r=k(new i(r),t+1,e),!0,t+1)),n},g.toFixed=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?P(i):(x(t,0,a),void 0===e?e=o.rounding:x(e,0,8),n=P((r=k(new o(i),t+M(i)+1,e)).abs(),!1,t+M(r)+1),i.isneg()&&!i.isZero()?"-"+n:n)},g.toInteger=g.toint=function(){var t=this,e=t.constructor;return k(new e(t),M(t)+1,e.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(t){var e,n,r,i,a,c,l=this,f=l.constructor,d=+(t=new f(t));if(!t.s)return new f(o);if(!(l=new f(l)).s){if(t.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(r=f.precision,t.eq(o))return k(l,r);if(c=(e=t.e)>=(n=t.d.length-1),a=l.s,c){if((n=d<0?-d:d)<=y){for(i=new f(o),e=Math.ceil(r/7+4),u=!1;n%2&&N((i=i.times(l)).d,e),0!==(n=p(n/2));)N((l=l.times(l)).d,e);return u=!0,t.s<0?new f(o).div(i):k(i,r)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&t.d[Math.max(e,n)]?-1:1,l.s=1,u=!1,i=t.times(j(l,r+12)),u=!0,(i=E(i)).s=a,i},g.toPrecision=function(t,e){var n,r,i=this,o=i.constructor;return void 0===t?r=P(i,(n=M(i))<=o.toExpNeg||n>=o.toExpPos):(x(t,1,a),void 0===e?e=o.rounding:x(e,0,8),r=P(i=k(new o(i),t,e),t<=(n=M(i))||n<=o.toExpNeg,t)),r},g.toSignificantDigits=g.tosd=function(t,e){var n=this.constructor;return void 0===t?(t=n.precision,e=n.rounding):(x(t,1,a),void 0===e?e=n.rounding:x(e,0,8)),k(new n(this),t,e)},g.toString=g.valueOf=g.val=g.toJSON=function(){var t=this,e=M(t),n=t.constructor;return P(t,e<=n.toExpNeg||e>=n.toExpPos)};var I=function(){function t(t,e){var n,r=0,i=t.length;for(t=t.slice();i--;)n=t[i]*e+r,t[i]=n%v|0,r=n/v|0;return r&&t.unshift(r),t}function e(t,e,n,r){var i,o;if(n!=r)o=n>r?1:-1;else for(i=o=0;i<n;i++)if(t[i]!=e[i]){o=t[i]>e[i]?1:-1;break}return o}function n(t,e,n){for(var r=0;n--;)t[n]-=r,r=t[n]<e[n]?1:0,t[n]=r*v+t[n]-e[n];for(;!t[0]&&t.length>1;)t.shift()}return function(r,i,o,a){var c,u,l,f,p,d,h,y,m,g,b,x,w,I,E,S,O,j,_=r.constructor,T=r.s==i.s?1:-1,P=r.d,N=i.d;if(!r.s)return new _(r);if(!i.s)throw Error(s+"Division by zero");for(u=r.e-i.e,O=N.length,E=P.length,y=(h=new _(T)).d=[],l=0;N[l]==(P[l]||0);)++l;if(N[l]>(P[l]||0)&&--u,(x=null==o?o=_.precision:a?o+(M(r)-M(i))+1:o)<0)return new _(0);if(x=x/7+2|0,l=0,1==O)for(f=0,N=N[0],x++;(l<E||f)&&x--;l++)w=f*v+(P[l]||0),y[l]=w/N|0,f=w%N|0;else{for((f=v/(N[0]+1)|0)>1&&(N=t(N,f),P=t(P,f),O=N.length,E=P.length),I=O,g=(m=P.slice(0,O)).length;g<O;)m[g++]=0;(j=N.slice()).unshift(0),S=N[0],N[1]>=v/2&&++S;do{f=0,(c=e(N,m,O,g))<0?(b=m[0],O!=g&&(b=b*v+(m[1]||0)),(f=b/S|0)>1?(f>=v&&(f=v-1),1==(c=e(p=t(N,f),m,d=p.length,g=m.length))&&(f--,n(p,O<d?j:N,d))):(0==f&&(c=f=1),p=N.slice()),(d=p.length)<g&&p.unshift(0),n(m,p,g),-1==c&&(c=e(N,m,O,g=m.length))<1&&(f++,n(m,O<g?j:N,g)),g=m.length):0===c&&(f++,m=[0]),y[l++]=f,c&&m[0]?m[g++]=P[I]||0:(m=[P[I]],g=1)}while((I++<E||void 0!==m[0])&&x--)}return y[0]||y.shift(),h.e=u,k(h,a?o+M(h)+1:o)}}();function E(t,e){var n,r,i,a,c,s=0,l=0,p=t.constructor,h=p.precision;if(M(t)>16)throw Error(f+M(t));if(!t.s)return new p(o);for(null==e?(u=!1,c=h):c=e,a=new p(.03125);t.abs().gte(.1);)t=t.times(a),l+=5;for(c+=Math.log(d(2,l))/Math.LN10*2+5|0,n=r=i=new p(o),p.precision=c;;){if(r=k(r.times(t),c),n=n.times(++s),w((a=i.plus(I(r,n,c))).d).slice(0,c)===w(i.d).slice(0,c)){for(;l--;)i=k(i.times(i),c);return p.precision=h,null==e?(u=!0,k(i,h)):i}i=a}}function M(t){for(var e=7*t.e,n=t.d[0];n>=10;n/=10)e++;return e}function S(t,e,n){if(e>t.LN10.sd())throw u=!0,n&&(t.precision=n),Error(s+"LN10 precision limit exceeded");return k(new t(t.LN10),e)}function O(t){for(var e="";t--;)e+="0";return e}function j(t,e){var n,r,i,a,c,l,f,p,d,h=1,v=t,y=v.d,m=v.constructor,g=m.precision;if(v.s<1)throw Error(s+(v.s?"NaN":"-Infinity"));if(v.eq(o))return new m(0);if(null==e?(u=!1,p=g):p=e,v.eq(10))return null==e&&(u=!0),S(m,p);if(p+=10,m.precision=p,r=(n=w(y)).charAt(0),a=M(v),!(Math.abs(a)<15e14))return f=S(m,p+2,g).times(a+""),v=j(new m(r+"."+n.slice(1)),p-10).plus(f),m.precision=g,null==e?(u=!0,k(v,g)):v;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=w((v=v.times(t)).d)).charAt(0),h++;for(a=M(v),r>1?(v=new m("0."+n),a++):v=new m(r+"."+n.slice(1)),l=c=v=I(v.minus(o),v.plus(o),p),d=k(v.times(v),p),i=3;;){if(c=k(c.times(d),p),w((f=l.plus(I(c,new m(i),p))).d).slice(0,p)===w(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(S(m,p+2,g).times(a+""))),l=I(l,new m(h),p),m.precision=g,null==e?(u=!0,k(l,g)):l;l=f,i+=2}}function _(t,e){var n,r,i;for((n=e.indexOf("."))>-1&&(e=e.replace(".","")),(r=e.search(/e/i))>0?(n<0&&(n=r),n+=+e.slice(r+1),e=e.substring(0,r)):n<0&&(n=e.length),r=0;48===e.charCodeAt(r);)++r;for(i=e.length;48===e.charCodeAt(i-1);)--i;if(e=e.slice(r,i)){if(i-=r,n=n-r-1,t.e=p(n/7),t.d=[],r=(n+1)%7,n<0&&(r+=7),r<i){for(r&&t.d.push(+e.slice(0,r)),i-=7;r<i;)t.d.push(+e.slice(r,r+=7));r=7-(e=e.slice(r)).length}else r-=i;for(;r--;)e+="0";if(t.d.push(+e),u&&(t.e>m||t.e<-m))throw Error(f+n)}else t.s=0,t.e=0,t.d=[0];return t}function k(t,e,n){var r,i,o,a,c,s,l,h,y=t.d;for(a=1,o=y[0];o>=10;o/=10)a++;if((r=e-a)<0)r+=7,i=e,l=y[h=0];else{if((h=Math.ceil((r+1)/7))>=(o=y.length))return t;for(l=o=y[h],a=1;o>=10;o/=10)a++;i=(r%=7)-7+a}if(void 0!==n&&(c=l/(o=d(10,a-i-1))%10|0,s=e<0||void 0!==y[h+1]||l%o,s=n<4?(c||s)&&(0==n||n==(t.s<0?3:2)):c>5||5==c&&(4==n||s||6==n&&(r>0?i>0?l/d(10,a-i):0:y[h-1])%10&1||n==(t.s<0?8:7))),e<1||!y[0])return s?(o=M(t),y.length=1,e=e-o-1,y[0]=d(10,(7-e%7)%7),t.e=p(-e/7)||0):(y.length=1,y[0]=t.e=t.s=0),t;if(0==r?(y.length=h,o=1,h--):(y.length=h+1,o=d(10,7-r),y[h]=i>0?(l/d(10,a-i)%d(10,i)|0)*o:0),s)for(;;){if(0==h){(y[0]+=o)==v&&(y[0]=1,++t.e);break}if(y[h]+=o,y[h]!=v)break;y[h--]=0,o=1}for(r=y.length;0===y[--r];)y.pop();if(u&&(t.e>m||t.e<-m))throw Error(f+M(t));return t}function T(t,e){var n,r,i,o,a,c,s,l,f,p,d=t.constructor,h=d.precision;if(!t.s||!e.s)return e.s?e.s=-e.s:e=new d(t),u?k(e,h):e;if(s=t.d,p=e.d,r=e.e,l=t.e,s=s.slice(),a=l-r){for((f=a<0)?(n=s,a=-a,c=p.length):(n=p,r=l,c=s.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,n.length=1),n.reverse(),i=a;i--;)n.push(0);n.reverse()}else{for((f=(i=s.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(n=s,s=p,p=n,e.s=-e.s),c=s.length,i=p.length-c;i>0;--i)s[c++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=v-1;--s[o],s[i]+=v}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--r;return s[0]?(e.d=s,e.e=r,u?k(e,h):e):new d(0)}function P(t,e,n){var r,i=M(t),o=w(t.d),a=o.length;return e?(n&&(r=n-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(r):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,n&&(r=n-a)>0&&(o+=O(r))):i>=a?(o+=O(i+1-a),n&&(r=n-i-1)>0&&(o=o+"."+O(r))):((r=i+1)<a&&(o=o.slice(0,r)+"."+o.slice(r)),n&&(r=n-a)>0&&(i+1===a&&(o+="."),o+=O(r))),t.s<0?"-"+o:o}function N(t,e){if(t.length>e)return t.length=e,!0}function A(t){if(!t||"object"!=typeof t)throw Error(s+"Object expected");var e,n,r,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(e=0;e<i.length;e+=3)if(void 0!==(r=t[n=i[e]])){if(!(p(r)===r&&r>=i[e+1]&&r<=i[e+2]))throw Error(l+n+": "+r);this[n]=r}if(void 0!==(r=t[n="LN10"])){if(r!=Math.LN10)throw Error(l+n+": "+r);this[n]=new this(r)}return this}(c=function t(e){var n,r,i;function o(t){var e=this;if(!(e instanceof o))return new o(t);if(e.constructor=o,t instanceof o)return e.s=t.s,e.e=t.e,void(e.d=(t=t.d)?t.slice():t);if("number"==typeof t){if(0*t!=0)throw Error(l+t);if(t>0)e.s=1;else{if(!(t<0))return e.s=0,e.e=0,void(e.d=[0]);t=-t,e.s=-1}return t===~~t&&t<1e7?(e.e=0,void(e.d=[t])):_(e,t.toString())}if("string"!=typeof t)throw Error(l+t);if(45===t.charCodeAt(0)?(t=t.slice(1),e.s=-1):e.s=1,!h.test(t))throw Error(l+t);_(e,t)}if(o.prototype=g,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=t,o.config=o.set=A,void 0===e&&(e={}),e)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<i.length;)e.hasOwnProperty(r=i[n++])||(e[r]=this[r]);return o.config(e),o}(c)).default=c.Decimal=c,o=new c(1),void 0===(r=function(){return c}.call(e,n,e,t))||(t.exports=r)}()},37941:function(t,e,n){var r;
7
  /*!
8
  Copyright (c) 2015 Jed Watson.
9
  Based on code that is Copyright 2013-2015, Facebook, Inc.
10
  All rights reserved.
11
- */!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(r=function(){return o}.call(e,n,e,t))||(t.exports=r)}()},44287:function(t,e){!function(t){"use strict";var e="function"==typeof WeakSet,n=Object.keys;function r(t,e){return t===e||t!=t&&e!=e}function i(t){return t.constructor===Object||null==t.constructor}function o(t){return!!t&&"function"==typeof t.then}function a(t){return!(!t||!t.$$typeof)}function c(){var t=[];return{add:function(e){t.push(e)},has:function(e){return-1!==t.indexOf(e)}}}var u=e?function(){return new WeakSet}:c;function s(t){return function(e){var n=t||e;return function(t,e,r){void 0===r&&(r=u());var i=!!t&&"object"==typeof t,o=!!e&&"object"==typeof e;if(i||o){var a=i&&r.has(t),c=o&&r.has(e);if(a||c)return a&&c;i&&r.add(t),o&&r.add(e)}return n(t,e,r)}}}function l(t,e,n,r){var i=t.length;if(e.length!==i)return!1;for(;i-- >0;)if(!n(t[i],e[i],r))return!1;return!0}function f(t,e,n,r){var i=t.size===e.size;return i&&t.size&&t.forEach((function(t,o){i&&(i=!1,e.forEach((function(e,a){!i&&n(o,a,r)&&(i=n(t,e,r))})))})),i}var p="_owner",d=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(t,e,r,i){var o=n(t),c=o.length;if(n(e).length!==c)return!1;if(c)for(var u=void 0;c-- >0;){if((u=o[c])===p){var s=a(t),l=a(e);if((s||l)&&s!==l)return!1}if(!d(e,u)||!r(t[u],e[u],i))return!1}return!0}function v(t,e){return t.source===e.source&&t.global===e.global&&t.ignoreCase===e.ignoreCase&&t.multiline===e.multiline&&t.unicode===e.unicode&&t.sticky===e.sticky&&t.lastIndex===e.lastIndex}function y(t,e,n,r){var i=t.size===e.size;return i&&t.size&&t.forEach((function(t){i&&(i=!1,e.forEach((function(e){i||(i=n(t,e,r))})))})),i}var m="function"==typeof Map,g="function"==typeof Set;function b(t){var e="function"==typeof t?t(n):n;function n(t,n,a){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(i(t)&&i(n))return h(t,n,e,a);var c=Array.isArray(t),u=Array.isArray(n);return c||u?c===u&&l(t,n,e,a):(c=t instanceof Date,u=n instanceof Date,c||u?c===u&&r(t.getTime(),n.getTime()):(c=t instanceof RegExp,u=n instanceof RegExp,c||u?c===u&&v(t,n):o(t)||o(n)?t===n:m&&(c=t instanceof Map,u=n instanceof Map,c||u)?c===u&&f(t,n,e,a):g&&(c=t instanceof Set,u=n instanceof Set,c||u)?c===u&&y(t,n,e,a):h(t,n,e,a)))}return t!=t&&n!=n}return n}var x=b(),w=b((function(){return r})),I=b(s()),E=b(s(r));t.circularDeepEqual=I,t.circularShallowEqual=E,t.createCustomEqual=b,t.deepEqual=x,t.sameValueZeroEqual=r,t.shallowEqual=w,Object.defineProperty(t,"__esModule",{value:!0})}(e)},18492:function(t,e,n){var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,s="object"==typeof self&&self&&self.Object===Object&&self,l=u||s||Function("return this")(),f=Object.prototype.toString,p=Math.max,d=Math.min,h=function(){return l.Date.now()};function v(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function y(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==f.call(t)}(t))return NaN;if(v(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=v(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(r,"");var n=o.test(t);return n||a.test(t)?c(t.slice(2),n?2:8):i.test(t)?NaN:+t}t.exports=function(t,e,n){var r,i,o,a,c,u,s=0,l=!1,f=!1,m=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function g(e){var n=r,o=i;return r=i=void 0,s=e,a=t.apply(o,n)}function b(t){return s=t,c=setTimeout(w,e),l?g(t):a}function x(t){var n=t-u;return void 0===u||n>=e||n<0||f&&t-s>=o}function w(){var t=h();if(x(t))return I(t);c=setTimeout(w,function(t){var n=e-(t-u);return f?d(n,o-(t-s)):n}(t))}function I(t){return c=void 0,m&&r?g(t):(r=i=void 0,a)}function E(){var t=h(),n=x(t);if(r=arguments,i=this,u=t,n){if(void 0===c)return b(u);if(f)return c=setTimeout(w,e),g(u)}return void 0===c&&(c=setTimeout(w,e)),a}return e=y(e)||0,v(n)&&(l=!!n.leading,o=(f="maxWait"in n)?p(y(n.maxWait)||0,e):o,m="trailing"in n?!!n.trailing:m),E.cancel=function(){void 0!==c&&clearTimeout(c),s=0,r=u=i=c=void 0},E.flush=function(){return void 0===c?a:I(h())},E}},7362:function(t,e,n){var r="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=s||l||Function("return this")(),p=Object.prototype.toString,d=Math.max,h=Math.min,v=function(){return f.Date.now()};function y(t,e,n){var i,o,a,c,u,s,l=0,f=!1,p=!1,y=!0;if("function"!=typeof t)throw new TypeError(r);function b(e){var n=i,r=o;return i=o=void 0,l=e,c=t.apply(r,n)}function x(t){return l=t,u=setTimeout(I,e),f?b(t):c}function w(t){var n=t-s;return void 0===s||n>=e||n<0||p&&t-l>=a}function I(){var t=v();if(w(t))return E(t);u=setTimeout(I,function(t){var n=e-(t-s);return p?h(n,a-(t-l)):n}(t))}function E(t){return u=void 0,y&&i?b(t):(i=o=void 0,c)}function M(){var t=v(),n=w(t);if(i=arguments,o=this,s=t,n){if(void 0===u)return x(s);if(p)return u=setTimeout(I,e),b(s)}return void 0===u&&(u=setTimeout(I,e)),c}return e=g(e)||0,m(n)&&(f=!!n.leading,a=(p="maxWait"in n)?d(g(n.maxWait)||0,e):a,y="trailing"in n?!!n.trailing:y),M.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=s=o=u=void 0},M.flush=function(){return void 0===u?c:E(v())},M}function m(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function g(t){if("number"==typeof t)return t;if(function(t){return"symbol"==typeof t||function(t){return!!t&&"object"==typeof t}(t)&&"[object Symbol]"==p.call(t)}(t))return NaN;if(m(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=m(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(i,"");var n=a.test(t);return n||c.test(t)?u(t.slice(2),n?2:8):o.test(t)?NaN:+t}t.exports=function(t,e,n){var i=!0,o=!0;if("function"!=typeof t)throw new TypeError(r);return m(n)&&(i="leading"in n?!!n.leading:i,o="trailing"in n?!!n.trailing:o),y(t,e,{leading:i,maxWait:e,trailing:o})}},76279:function(t){(function(){var e,n,r,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?t.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(t.exports=function(){return(e()-o)/1e6},n=process.hrtime,i=(e=function(){var t;return 1e9*(t=n())[0]+t[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(t.exports=function(){return Date.now()-r},r=Date.now()):(t.exports=function(){return(new Date).getTime()-r},r=(new Date).getTime())}).call(this)},65276:function(t,e,n){"use strict";n.r(e);for(
12
  /**!
13
  * @fileOverview Kickass library to create and place poppers near their reference elements.
14
  * @version 1.15.0
@@ -33,72 +33,72 @@ var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-re
33
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
  * SOFTWARE.
35
  */
36
- var r="undefined"!=typeof window&&"undefined"!=typeof document,i=["Edge","Trident","Firefox"],o=0,a=0;a<i.length;a+=1)if(r&&navigator.userAgent.indexOf(i[a])>=0){o=1;break}var c=r&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),o))}};function u(t){return t&&"[object Function]"==={}.toString.call(t)}function s(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function l(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function f(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=s(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/(auto|scroll|overlay)/.test(n+i+r)?t:f(l(t))}var p=r&&!(!window.MSInputMethodContext||!document.documentMode),d=r&&/MSIE 10/.test(navigator.userAgent);function h(t){return 11===t?p:10===t?d:p||d}function v(t){if(!t)return document.documentElement;for(var e=h(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var r=n&&n.nodeName;return r&&"BODY"!==r&&"HTML"!==r?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===s(n,"position")?v(n):n:t?t.ownerDocument.documentElement:document.documentElement}function y(t){return null!==t.parentNode?y(t.parentNode):t}function m(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,r=n?t:e,i=n?e:t,o=document.createRange();o.setStart(r,0),o.setEnd(i,0);var a,c,u=o.commonAncestorContainer;if(t!==u&&e!==u||r.contains(i))return"BODY"===(c=(a=u).nodeName)||"HTML"!==c&&v(a.firstElementChild)!==a?v(u):u;var s=y(t);return s.host?m(s.host,e):m(t,y(e).host)}function g(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",r=t.nodeName;if("BODY"===r||"HTML"===r){var i=t.ownerDocument.documentElement,o=t.ownerDocument.scrollingElement||i;return o[n]}return t[n]}function b(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=g(e,"top"),i=g(e,"left"),o=n?-1:1;return t.top+=r*o,t.bottom+=r*o,t.left+=i*o,t.right+=i*o,t}function x(t,e){var n="x"===e?"Left":"Top",r="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+r+"Width"],10)}function w(t,e,n,r){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],h(10)?parseInt(n["offset"+t])+parseInt(r["margin"+("Height"===t?"Top":"Left")])+parseInt(r["margin"+("Height"===t?"Bottom":"Right")]):0)}function I(t){var e=t.body,n=t.documentElement,r=h(10)&&getComputedStyle(n);return{height:w("Height",e,n,r),width:w("Width",e,n,r)}}var E=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},M=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}}(),S=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t},O=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};function j(t){return O({},t,{right:t.left+t.width,bottom:t.top+t.height})}function _(t){var e={};try{if(h(10)){e=t.getBoundingClientRect();var n=g(t,"top"),r=g(t,"left");e.top+=n,e.left+=r,e.bottom+=n,e.right+=r}else e=t.getBoundingClientRect()}catch(p){}var i={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},o="HTML"===t.nodeName?I(t.ownerDocument):{},a=o.width||t.clientWidth||i.right-i.left,c=o.height||t.clientHeight||i.bottom-i.top,u=t.offsetWidth-a,l=t.offsetHeight-c;if(u||l){var f=s(t);u-=x(f,"x"),l-=x(f,"y"),i.width-=u,i.height-=l}return j(i)}function k(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],r=h(10),i="HTML"===e.nodeName,o=_(t),a=_(e),c=f(t),u=s(e),l=parseFloat(u.borderTopWidth,10),p=parseFloat(u.borderLeftWidth,10);n&&i&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var d=j({top:o.top-a.top-l,left:o.left-a.left-p,width:o.width,height:o.height});if(d.marginTop=0,d.marginLeft=0,!r&&i){var v=parseFloat(u.marginTop,10),y=parseFloat(u.marginLeft,10);d.top-=l-v,d.bottom-=l-v,d.left-=p-y,d.right-=p-y,d.marginTop=v,d.marginLeft=y}return(r&&!n?e.contains(c):e===c&&"BODY"!==c.nodeName)&&(d=b(d,e)),d}function T(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,r=k(t,n),i=Math.max(n.clientWidth,window.innerWidth||0),o=Math.max(n.clientHeight,window.innerHeight||0),a=e?0:g(n),c=e?0:g(n,"left"),u={top:a-r.top+r.marginTop,left:c-r.left+r.marginLeft,width:i,height:o};return j(u)}function P(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===s(t,"position"))return!0;var n=l(t);return!!n&&P(n)}function N(t){if(!t||!t.parentElement||h())return document.documentElement;for(var e=t.parentElement;e&&"none"===s(e,"transform");)e=e.parentElement;return e||document.documentElement}function A(t,e,n,r){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o={top:0,left:0},a=i?N(t):m(t,e);if("viewport"===r)o=T(a,i);else{var c=void 0;"scrollParent"===r?"BODY"===(c=f(l(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===r?t.ownerDocument.documentElement:r;var u=k(c,a,i);if("HTML"!==c.nodeName||P(a))o=u;else{var s=I(t.ownerDocument),p=s.height,d=s.width;o.top+=u.top-u.marginTop,o.bottom=p+u.top,o.left+=u.left-u.marginLeft,o.right=d+u.left}}var h="number"==typeof(n=n||0);return o.left+=h?n:n.left||0,o.top+=h?n:n.top||0,o.right-=h?n:n.right||0,o.bottom-=h?n:n.bottom||0,o}function C(t){return t.width*t.height}function D(t,e,n,r,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var a=A(n,r,o,i),c={top:{width:a.width,height:e.top-a.top},right:{width:a.right-e.right,height:a.height},bottom:{width:a.width,height:a.bottom-e.bottom},left:{width:e.left-a.left,height:a.height}},u=Object.keys(c).map((function(t){return O({key:t},c[t],{area:C(c[t])})})).sort((function(t,e){return e.area-t.area})),s=u.filter((function(t){var e=t.width,r=t.height;return e>=n.clientWidth&&r>=n.clientHeight})),l=s.length>0?s[0].key:u[0].key,f=t.split("-")[1];return l+(f?"-"+f:"")}function L(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=r?N(e):m(e,n);return k(n,i,r)}function R(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),r=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+r,height:t.offsetHeight+n}}function z(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function W(t,e,n){n=n.split("-")[0];var r=R(t),i={width:r.width,height:r.height},o=-1!==["right","left"].indexOf(n),a=o?"top":"left",c=o?"left":"top",u=o?"height":"width",s=o?"width":"height";return i[a]=e[a]+e[u]/2-r[u]/2,i[c]=n===c?e[c]-r[s]:e[z(c)],i}function H(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function U(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var r=H(t,(function(t){return t[e]===n}));return t.indexOf(r)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&u(n)&&(e.offsets.popper=j(e.offsets.popper),e.offsets.reference=j(e.offsets.reference),e=n(e,t))})),e}function B(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=D(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=W(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=U(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function G(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function Z(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),r=0;r<e.length;r++){var i=e[r],o=i?""+i+n:t;if(void 0!==document.body.style[o])return o}return null}function F(){return this.state.isDestroyed=!0,G(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.position="",this.popper.style.top="",this.popper.style.left="",this.popper.style.right="",this.popper.style.bottom="",this.popper.style.willChange="",this.popper.style[Z("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function V(t){var e=t.ownerDocument;return e?e.defaultView:window}function J(t,e,n,r){var i="BODY"===t.nodeName,o=i?t.ownerDocument.defaultView:t;o.addEventListener(e,n,{passive:!0}),i||J(f(o.parentNode),e,n,r),r.push(o)}function Y(t,e,n,r){n.updateBound=r,V(t).addEventListener("resize",n.updateBound,{passive:!0});var i=f(t);return J(i,"scroll",n.updateBound,n.scrollParents),n.scrollElement=i,n.eventsEnabled=!0,n}function q(){this.state.eventsEnabled||(this.state=Y(this.reference,this.options,this.state,this.scheduleUpdate))}function X(){var t,e;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(t=this.reference,e=this.state,V(t).removeEventListener("resize",e.updateBound),e.scrollParents.forEach((function(t){t.removeEventListener("scroll",e.updateBound)})),e.updateBound=null,e.scrollParents=[],e.scrollElement=null,e.eventsEnabled=!1,e))}function Q(t){return""!==t&&!isNaN(parseFloat(t))&&isFinite(t)}function $(t,e){Object.keys(e).fo
1
+ var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-dashboard"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[752],{81162:function(e,t,r){"use strict";r.r(t);var n={};r.r(n),r.d(n,{scaleBand:function(){return Ka},scaleDiverging:function(){return Pp},scaleDivergingLog:function(){return Np},scaleDivergingPow:function(){return Lp},scaleDivergingSqrt:function(){return Rp},scaleDivergingSymlog:function(){return Cp},scaleIdentity:function(){return ms},scaleImplicit:function(){return Qa},scaleLinear:function(){return hs},scaleLog:function(){return Ss},scaleOrdinal:function(){return $a},scalePoint:function(){return tc},scalePow:function(){return Ps},scaleQuantile:function(){return qs},scaleQuantize:function(){return Zs},scaleRadial:function(){return Rs},scaleSequential:function(){return Mp},scaleSequentialLog:function(){return Op},scaleSequentialPow:function(){return jp},scaleSequentialQuantile:function(){return Dp},scaleSequentialSqrt:function(){return Tp},scaleSequentialSymlog:function(){return kp},scaleSqrt:function(){return Ns},scaleSymlog:function(){return js},scaleThreshold:function(){return Fs},scaleTime:function(){return xp},scaleUtc:function(){return Ep},tickFormat:function(){return ps}});var i=r(73961),o=r(89526);function a(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function c(){return(c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?u(Object(r),!0).forEach((function(t){l(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function l(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}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(e){let t;super(e),this.reCalculateColumnCount=this.reCalculateColumnCount.bind(this),this.reCalculateColumnCountDebounce=this.reCalculateColumnCountDebounce.bind(this),t=this.props.breakpointCols&&this.props.breakpointCols.default?this.props.breakpointCols.default:parseInt(this.props.breakpointCols)||2,this.state={columnCount:t}}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 e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let r=1/0,n=t.default||2;for(let i in t){const o=parseInt(i);o>0&&e<=o&&o<r&&(r=o,n=t[i])}n=Math.max(1,parseInt(n)||1),this.state.columnCount!==n&&this.setState({columnCount:n})}itemsInColumns(){const e=this.state.columnCount,t=new Array(e),r=o.Children.toArray(this.props.children);for(let n=0;n<r.length;n++){const i=n%e;t[i]||(t[i]=[]),t[i].push(r[n])}return t}renderColumns(){const{column:e,columnAttrs:t={},columnClassName:r}=this.props,n=this.itemsInColumns(),i=100/n.length+"%";let a=r;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({},e),t),{},{style:s(s({},t.style),{},{width:i}),className:a});return n.map(((e,t)=>o.createElement("div",c({},u,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:r,columnClassName:n,columnAttrs:i,column:u,className:s}=e,l=a(e,["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},m=e=>o.createElement(d,{breakpointCols:h,className:"wprm-admin-dashboard-blocks-grid",columnClassName:"wprm-admin-dashboard-blocks-grid-column"},e.blocks.map((e=>{var t=e.block;return o.createElement(t,{key:e.id})}))),v=r(99237),y=r(52082),g=e=>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"},e.title),e.hasOwnProperty("button")&&o.createElement("div",{className:"wprm-admin-dashboard-block-header-button"},o.createElement("button",{className:"button button-primary",onClick:()=>{e.buttonAction()}},e.button))),o.createElement("div",{className:"wprm-admin-dashboard-block"},e.children)),b=(r(21682),"undefined"!=typeof window?function(){if(!e)var e={};var t={FONT:"font",VIEW:"view",TRANSFORM:"transform",EASING_FUNCTION:"easing-function",TRANSITION:"transition"},r={};r[t.FONT]={},r[t.VIEW]={},r[t.TRANSFORM]={},r[t.EASING_FUNCTION]={},r[t.TRANSITION]={};var n=function(e,t){if(!r[e])return null;for(var n in t)if(t.hasOwnProperty(n)){if(r[e][n])return null;r[e][n]=t[n]}},i=function(e,t,n){if(!r[e])throw"Can't add extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are valid: '+qt(r);if(!/^[-a-z]+$/.test(t))throw"Can't add extension with name \""+t+'", "'+t+'" is contains invalid characters. Only lowercase alphabetical characters and dashes are allowed.';if(r[e][t])throw"Can't add extension with name \""+t+'", "'+t+'" is already added.';r[e][t]=n},o=function(e,t){if(!r[e])throw"Can't get extension with type of \""+e+'", "'+e+'" is not a valid extension type. The following types are available: '+qt(r);if(!r[e][t])throw"Can't get extension with name \""+t+'", "'+t+'" is not available. The following extensions are available: '+qt(r[e]);return r[e][t]},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(e){return e instanceof Date},h=function(e,t){var r=t-e.getDay();return e.setDate(e.getDate()+r),e},m=function(e,t){var r=E(e.getMonth()+1,e.getFullYear());return t="last"===t?r:Math.max(1,Math.min(r,t)),e.setDate(t),e},v=function(e,t){return e.setMonth(u.map((function(e){return e.toLowerCase()})).indexOf(t)),e},y=function(e){var t=6e4*(new Date).getTimezoneOffset();if("Z"===e)return t;var r=e.match(/\+|-|[\d]{2}|[\d]{2}/g);return("-"===r.shift()?-1:1)*(36e5*parseInt(r[0],10)+6e4*parseInt(r[1],10))+t},g=function(e){return new Date(Date.now()+e)},b=function(e,t){return new Date(e.getTime()+t)},w=function(e,t){return e.toDateString()===t.toDateString()},x=function(e,t){return e.getTime()===t.getTime()},E=function(e,t){return new Date(t,e,0).getDate()},I=function(e){return e.match(/(Z)|([+\-][0-9]{2}:?[0-9]*$)/g)?new Date(e):(e+=-1!==e.indexOf("T")?"Z":"",S(new Date(e)))},S=function(e){return new Date(e.getTime()+6e4*e.getTimezoneOffset())},M=function(e,t){return t.map((function(t){var r=c[t],n=Math.max(0,Math.floor(e/r));return e%=r,n}))},O=function(e,t,r){var n=t-e,i=!1;if(n<0){n=e-t;var o=[t,e];e=o[0],t=o[1],i=!0}r||(r=["d","h","m"]);var a=r.indexOf("m");a>=0&&("y"===r[a-1]||"d"===r[a+1])&&(r[a].key="M");var u=void 0,s=void 0,l=void 0,f=r.includes("y"),d=r.includes("M");(d||f)&&(u=new Date(e.valueOf()+n),s=A(u,e),l=d?Math.floor(s):12*Math.floor(s/12),n=u.valueOf()-D(T(e),l).valueOf());var h=r.map((function(e){if("y"===e||"M"===e){var t=Math.max(0,Math.floor(s/p[e]));return s-=t*p[e],t}var r=c[e],i=Math.max(0,Math.floor(n/r));return n%=r,i}));return i?h.map((function(e){return e>0?-e:e})):h},k=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){if(!c[t[1]])throw'"'+t[1]+'" is not a valid amount.';return t[0]*c[t[1]]}return d(t[0])?O.apply(void 0,t):"number"==typeof t[0]&&Array.isArray(t[1])?M.apply(void 0,t):null},j=function(){return new Date},T=function(e){return new Date(e.valueOf())},D=function(e,t){return e.setMonth(e.getMonth()+t),e},A=function(e,t){var r=12*(t.getFullYear()-e.getFullYear())+(t.getMonth()-e.getMonth()),n=D(T(e),r);return-(r+(t-n<0?(t-n)/(n-D(T(e),r-1)):(t-n)/(D(T(e),r+1)-n)))},_=function(e){return{destroy:function(){e.destroyed=!0,e.frame&&cancelAnimationFrame(e.frame),e.styleObserver&&e.styleObserver.disconnect(),e.didResizeWindow&&window.removeEventListener("resize",e.didResizeWindow),e.root&&e.root.parentNode&&e.root.parentNode.removeChild(e.root)}}},P=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("span"),r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;return e.root=t,e.aligned=null,e.destroyed=!1,t&&r&&(e.root.classList.add("tick-"+r),e.root.setAttribute("data-view",r)),t&&t.dataset.layout&&(e.align=(t.dataset.layout.match(/left|right|center/)||[])[0]||"left"),{appendTo:function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"last";!e.root||e.root&&e.root.parentNode||("last"!==r?("first"===r&&(0===t.childNodes.length?t.appendChild(e.root):0===t.children.length&&t.childNodes.length?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.insertBefore(e.root,t.children[0])),"string"!=typeof r&&t.insertBefore(e.root,r)):t.childNodes.length&&t.childNodes[t.childNodes.length-1].nodeType===Node.TEXT_NODE?t.insertBefore(e.root,t.childNodes[t.childNodes.length-1]):t.appendChild(e.root))}}},N=function(e,t){return e.definition=t,{setDefinition:function(t){e.definition=t}}},C=function(e,t,r,n){return{draw:function(){if(!e.dirty){if(r)r(e)&&L(e);return!1}return t(e,n),L(e),e.dirty=!1,!0}}},L=function(e){if(!e.fit){if(!e.root||!(e.root.getAttribute("data-layout")||"").match(/fit/))return void(e.fit=!1);var t=window.getComputedStyle(e.root,null);e.fit=!0,e.fitInfo={currentFontSize:parseInt(t.getPropertyValue("font-size"),10)}}e.fitInfo.availableWidth=e.root.parentNode.clientWidth,e.fitInfo.currentWidth=e.root.scrollWidth;var r=Math.min(Math.max(4,e.fitInfo.availableWidth/e.fitInfo.currentWidth*e.fitInfo.currentFontSize),1024);Math.abs(r-e.fitInfo.currentFontSize)<=1||(e.fitInfo.currentFontSize=r,e.root.style.fontSize=e.fitInfo.currentFontSize+"px")},R=function(e){return e.dirty=!0,e.value=null,e.valueUpdateCount=0,e.isInitialValue=function(){return e.valueUpdateCount<=1},{reset:function(){e.dirty=!0,e.value=null,e.valueUpdateCount=0},update:function(t){zt(e.value,t)||(e.value=t,e.valueUpdateCount++,e.dirty=!0)}}},B=function(e){e.didResizeWindow=function(){e.dirty=!0},window.addEventListener("resize",e.didResizeWindow)},U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},z=(function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}(),function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}),H=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),G=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W=function(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}return Array.from(e)},q=function(e,t){var r=(e.definition||[]).concat();"right"===e.align&&r.reverse();var n=Array.isArray(e.value)?e.value.concat():"object"===U(e.value)?Pt(e.value):e.value;r.forEach((function(r){if(!r.presenter){if(e.update=t(r),!r.presenter)return;r.presenter.appendTo(e.root)}})),r.filter((function(e){return void 0!==e.presenter})).forEach((function(t){Array.isArray(n)&&e.valueMapping?e.update(t,"indexes"===e.valueMapping?"right"===e.align?n.pop():n.shift():n):t.key&&void 0!==n[t.key]?e.update(t,n[t.key]):e.update(t,n)})),e.views=r,Z(e)},Z=function(e){var t=!1;return e.views.filter((function(e){return void 0!==e.presenter})).forEach((function(e){e.presenter.draw()&&(t=!0)})),t},F=function(e,t,r){var n=Nt(Array.isArray(e.value)?e.value:(e.value+"").split(""));if("right"===e.align&&n.reverse(),e.definitions.length>n.length)for(;e.definitions.length>n.length;){e.definitions.pop().presenter.destroy()}n.forEach((function(r,n){var i=e.definitions[n];i||(i=e.definitions[n]=ct(e.definition),e.update=t(i),i.presenter.appendTo(e.root,"right"===e.align?"first":"last"))})),n.forEach((function(t,r){return e.update(e.definitions[r],t)})),e.views=n,V(e)},V=function(e){var t=!1;return e.views.forEach((function(r,n){e.definitions[n].presenter.draw()&&(t=!0)})),t},J="undefined"==typeof document?null:function(){for(var e=["webkit","Moz","ms","O"],t=0,r=e.length,n=document.createElement("div").style;t<r;t++)if(e[t]+"Transform"in n)return e[t];return null}(),Y=function(e,t){var r=document.createElement(e);return t&&(r.className=t),r},X=function(e,t,r){var n=new MutationObserver((function(n){t.forEach((function(i){n.filter((function(e){return t.includes(e.attributeName)})).length&&r(e.getAttribute(i))}))}));return n.observe(e,{attributes:!0}),n},Q=function(e){return e instanceof HTMLElement},$=function(e,t){e.style.transformOrigin=t},K=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";e.transforms||(e.transforms=[]);var i=e.transforms.find((function(e){return e.name===t}));i?i.value=r:e.transforms.push({name:t,value:r,unit:n}),ee(e,e.transforms)},ee=function(e,t){e.style.transform=t.map((function(e){return e.name+"("+e.value+e.unit+")"})).join(" ")},te=function(e){var t=e.getBoundingClientRect();return!(t.bottom<0)&&!(t.top>window.scrollY+window.innerHeight)},re=function(e){return e.trim()},ne={},ie=function(e,t){var r=t.toString();return ne[r]||(ne[r]={}),ne[r][e]||(ne[r][e]=t(e)),ne[r][e]},oe=new RegExp("^[0-9]+$"),ae=new RegExp("^(true|false)$"),ce=new RegExp("^[0-9.]+$"),ue=new RegExp("color"),se=new RegExp("shadow"),le=new RegExp("^(follow-gradient|horizontal-gradient|vertical-gradient)"),fe=new RegExp("^[.0-9]+(?:ms|s){1}$"),pe=new RegExp("^transition-?(?:in|out)?$"),de=new RegExp("^url\\("),he=function(e){return e?parseFloat(e)*(/ms$/.test(e)?1:1e3):0},me=function(e){return e.match(/[a-z]+(?:\(.*?\))?\s?(?:origin\(.*?\))?\s?(?:[a-z]+\(.*?\))?[ .a-z-0-9]*/g).map(ve)},ve=function(e){var t=e.match(/([a-z]+(?:\(.*?\))?)\s?(?:origin\((.*?)\))?\s?([a-z]+(?:\(.*?\))?)?\s?(?:([.0-9ms]+)?\s?(?:(ease-[a-z-]+))?\s?([.0-9ms]+)?)?/),r=vt(t[1]),n=void 0,i=void 0,o=void 0,a=void 0,c=void 0;return t.slice(2).filter((function(e){return void 0!==e})).forEach((function(e){fe.test(e)?void 0===i?i=he(e):a=he(e):/ /.test(e)?n=e:/^ease-[a-z-]+$/.test(e)?o=e:/^[a-z]+/.test(e)&&(c=vt(e))})),c&&(i=void 0,o=void 0),{name:r.name,parameters:r.parameters,duration:i,ease:o,delay:a,origin:n,resolver:c}},ye=function(e){var t=e.match(/follow-gradient|horizontal-gradient|vertical-gradient/)[0];return{type:t,colors:e.substr(t.length).match(/(?:transparent|rgb\(.*?\)|hsl\(.*?\)|hsla\(.*?\)|rgba\(.*?\)|[a-z]+|#[abcdefABCDEF\d]+)\s?(?:[\d]{1,3}%?)?/g).map(be)}},ge=/\s([\d]{1,3})%?$/,be=function(e){var t=e.match(ge);return{offset:t?parseFloat(t[1])/100:null,value:Se(e.replace(ge,""))}},we=[],xe=function(e,t){return we[e]?we[e].find((function(e){return e.node.parentNode===t})):null},Ee=function(e,t){we[e]||(we[e]=[]),we[e].push(t)},Ie="undefined"==typeof document?function(e){return 0}:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.body,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;if(0==e)return 0;if(r){var n=xe(r,t)||{};return n.node||(n.node=document.createElement("span"),n.node.style.cssText="position:absolute;padding:0;visibility:hidden;",t.appendChild(n.node)),n.node.style.marginTop=e,n.style||(n.style=window.getComputedStyle(n.node)),Ee(r,n),parseInt(n.style.marginTop,10)}var i=document.createElement("span");return i.style.cssText="position:absolute;padding:0;visibility:hidden;margin-top:"+e,t.appendChild(i),requestAnimationFrame((function(){i.parentNode.removeChild(i)})),parseInt(window.getComputedStyle(i).marginTop,10)},Se="undefined"==typeof document?function(e){return e}:function(e){if("transparent"===e)return"rgba(0,0,0,0)";var t=document.createElement("span");return t.style.cssText="position:absolute;visibility:hidden;color:"+e,document.body.appendChild(t),requestAnimationFrame((function(){t.parentNode.removeChild(t)})),window.getComputedStyle(t).getPropertyValue("color")},Me=function(e){return"string"!=typeof e?e:e.match(/([-.\d]+(?:%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?)|[%#A-Za-z0-9,.()]+/g)},Oe=function(e){var t=e.split(":").map(re),r=function(e){return e.trim().split("-").map((function(e,t){return t>0?function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(e):e})).join("")}(t[0]),n=function(e,t){return ae.test(e)?function(e){return"string"==typeof e?"true"===e:e}(e):oe.test(e)?parseInt(e,10):ce.test(e)?parseFloat(e):de.test(e)?1===(r=e.match(/url\((.*?)\)/g).map((function(e){return e.substring(4,e.length-1)}))).length?r[0]:r:ue.test(t)?le.test(e)?ie(e,ye):ie(e,Se):se.test(t)?ie(e,Me):pe.test(t)?"none"===e?e:ie(e,me):e;var r}(t[1],t[0]);return r&&null!=n?{property:r,value:n}:null},ke=function(e){return e},je=function(e){return e<.5?2*e*e:(4-2*e)*e-1},Te={"ease-linear":ke,"ease-in-sine":function(e){return-1*Math.cos(e*(Math.PI/2))+1},"ease-out-sine":function(e){return Math.sin(e*(Math.PI/2))},"ease-in-out-sine":function(e){return-.5*(Math.cos(Math.PI*e)-1)},"ease-in-cubic":function(e){return e*e*e},"ease-out-cubic":function(e){var t=e-1;return t*t*t+1},"ease-in-out-cubic":function(e){return e<.5?4*e*e*e:(e-1)*(2*e-2)*(2*e-2)+1},"ease-in-circ":function(e){var t=e/1;return-1*(Math.sqrt(1-t*e)-1)},"ease-out-circ":function(e){var t=e-1;return Math.sqrt(1-t*t)},"ease-in-out-circ":function(e){var t=2*e,r=t-2;return t<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-r*r)+1)},"ease-in-quad":function(e){return e*e},"ease-out-quad":function(e){return e*(2-e)},"ease-in-out-quad":je,"ease-in-quart":function(e){return e*e*e*e},"ease-out-quart":function(e){return 1- --e*e*e*e},"ease-in-out-quart":function(e){return e<.5?8*e*e*e*e:1-8*--e*e*e*e},"ease-in-expo":function(e){return 0===e?0:Math.pow(2,10*(e-1))},"ease-out-expo":function(e){return 1===e?1:1-Math.pow(2,-10*e)},"ease-in-out-expo":function(e){if(0===e||1===e)return e;var t=2*e,r=t-1;return t<1?.5*Math.pow(2,10*r):.5*(2-Math.pow(2,-10*r))},"ease-in-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1;return r*r*((t+1)*r-t)},"ease-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=e/1-1;return r*r*((t+1)*r+t)+1},"ease-in-out-back":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1.70158,r=2*e,n=r-2,i=1.525*t;return r<1?.5*r*r*((i+1)*r-i):.5*(n*n*((i+1)*n+i)+2)},"ease-out-elastic":function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.7,r=1-t,n=2*e;if(0===e||1===e)return e;var i=r/(2*Math.PI)*Math.asin(1);return Math.pow(2,-10*n)*Math.sin((n-i)*(2*Math.PI)/r)+1},"ease-out-bounce":function(e){var t=e/1;if(t<1/2.75)return 7.5625*t*t;if(t<2/2.75){var r=t-1.5/2.75;return 7.5625*r*r+.75}if(t<2.5/2.75){var n=t-2.25/2.75;return 7.5625*n*n+.9375}var i=t-2.625/2.75;return 7.5625*i*i+.984375}};n(t.EASING_FUNCTION,Te);var De=function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:ke,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;return Ae((function(t){e(n(t))}),t,r,i)},Ae=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;if(!e)return null;var i=null,o=void 0,a=null,c=function c(u){if(null===i&&(i=u),(o=u-i-n)<r)return e(o>=0?o/r:0),a=requestAnimationFrame(c),null;e(1),t&&t()};return c(Bt()),function(){cancelAnimationFrame(a)}},_e=function(){var e=1e3/24,t=null,r={velocity:0,origin:0,position:0,destination:1},n=function(){cancelAnimationFrame(t)};return{getPosition:function(){return r.position},cancel:n,translate:function(i,o,a,c){n(),null===a?r.destination=o:(r.position=o,r.destination=a,r.velocity=0),r.origin=r.position;var u=null;!function o(a){t=requestAnimationFrame(o),u||(u=a);var s=a-u;s<=e||(u=a-s%e,c(r,n),i(r.position))}(Bt())}}},Pe=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=_e(),o={update:null,cancel:i.cancel,getPosition:i.getPosition};return"arrive"===e?o.update=Ne.apply(void 0,[i.translate].concat(r)):"spring"===e?o.update=Le.apply(void 0,[i.translate].concat(r)):"step"===e&&(o.update=Ce.apply(void 0,[i.translate].concat(r))),o},Ne=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.01;return function(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(n,i,o,(function(e,n){var i=e.destination-e.position,o=e.origin+.5*(e.destination-e.origin);e.velocity+=2*(-(o-e.origin)+i)*r,e.position+=e.velocity<0?Math.max(e.velocity,-t):Math.min(e.velocity,t),(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(n(),e.velocity=0,e.position=e.destination)}))}},Ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.01;return function(r){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;e(r,n,i,(function(e,r){e.velocity=t,e.position+=e.velocity,(e.origin<e.destination&&e.position>=e.destination||e.origin>=e.destination&&e.position<=e.destination)&&(r(),e.velocity=0,e.position=e.destination)}))}},Le=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:.5,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:.75,n=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;e(i,o,a,(function(e,i){var o=-(e.position-e.destination)*t;e.velocity+=o/n,e.position+=e.velocity,e.velocity*=r,Re(e.position,e.destination,e.velocity)&&(i(),e.position=e.destination,e.velocity=0)}))}},Re=function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:.001;return Math.abs(e-t)<n&&Math.abs(r)<n},Be=function(e){var t=e.map((function(e){return ze(Ue(e.name,e.parameters,e.ease),e.origin,e.duration,e.delay)}));return function(e,r,n){if(!Q(e))return!1;var i=t.length;t.forEach((function(t){t(e,r,(function(){!--i&&n&&n(e)}))}))}},Ue=function(e,r,n){var i=n?o(t.EASING_FUNCTION,n):n,a=o(t.TRANSITION,e);return function(e,t,n){a.apply(void 0,[e,n,t,i].concat(W(r)))}},ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"50% 50% 0",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:500,n=arguments[3];return function(i){var o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,a=arguments[2];$(i,t),Ae((function(t){e(i,o,t)}),a,r,n)}},He=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return e.lastAppliedStyles=null,Ge(e,t,e.root.dataset.style),e.styleObserver=X(e.root,["data-style"],(function(r){Ge(e,t,r)})),{setStyle:function(r){Ge(e,t,r)}}},Ge=function(e,r,n){if(e.lastAppliedStyles!==n){e.lastAppliedStyles=n,e.style=n?jt(r,function(e){return e.split(";").filter((function(e){return e.trim().length})).map(Oe).filter((function(e){return null!==e})).reduce((function(e,t){return e[t.property]=t.value,e}),{})}(n)):r;var i=[],a=[];e.style.transitionIn&&e.style.transitionIn.length?(i=e.style.transitionIn,a=e.style.transitionOut):e.style.transition&&"none"!==e.style.transition&&e.style.transition.forEach((function(e){var r=function(e){return o(t.TRANSITION,e.name).apply(void 0,W(e.parameters||[]))}(e);i=i.concat(r.intro),a=a.concat(r.outro)})),i&&a&&(e.transitionIn=Be(i),e.transitionOut=Be(a),e.skipToTransitionInEnd=Be(i.map(We)),e.skipToTransitionOutEnd=Be(a.map(We))),e.dirty=!0}},We=function(e){var t=Pt(e);return t.duration=0,t.delay=0,t},qe=function(e){return e[J+"BackingStorePixelRatio"]||e.backingStorePixelRatio||1},Ze=function(){return window.devicePixelRatio||1},Fe=function(e){e.getContext("2d").clearRect(0,0,e.width,e.height)},Ve={text:function(){return function(e){var t={};return Object.assign({},P(t,e,"text"),R(t),C(t,(function(e){e.root.setAttribute("data-value",e.value),function(e,t){var r=e.childNodes[0];r?t!==r.nodeValue&&(r.nodeValue=t):(r=document.createTextNode(t),e.appendChild(r))}(e.root,e.value)})),_(t))}}};n(t.VIEW,Ve);var Je=function(e,t,r){return function(e,t,r){var n={valueMapping:null};if(e&&e.dataset.valueMapping){var i=e.dataset.valueMapping;n.valueMapping=-1!==["none","indexes"].indexOf(i)?i:null}return Object.assign({},P(n,e),B(n),R(n),N(n,t),C(n,q,Z,r),_(n))}(e,t,r)},Ye=function(e,t,r){return function(e,t,r){var n={definitions:[]};return Object.assign({},P(n,e),R(n),N(n,t),C(n,F,V,r),_(n))}(e,t,r)},Xe=function(e,r,n){var i=o(t.VIEW,e);return i?i({Extension:{Type:t,getExtension:o},Utils:{toPixels:Ie,toColor:Se},Canvas:{clear:Fe,getDevicePixelRatio:Ze,getBackingStoreRatio:qe},DOM:{visible:te,create:Y,transform:K},Animation:{animate:De},Data:{request:Ut},Date:{performance:Bt},View:{rooter:P,drawer:C,updater:R,styler:He,grouper:N,resizer:B,destroyer:_}})(r,n):null},Qe=function(e,t){return"-"===e[t]&&">"===e[t+1]},$e=function(e){return"'"===e||'"'===e},Ke=function(e){return","===e},et=function(e){return"("===e},tt=function(e){return")"===e},rt=function(e){return 0!==e.trim().length},nt=function(e,t){return e.push(t.trim())},it=function(e,t){return rt(t)?(nt(e,t),""):t},ot=function(e,t){return e.length&&t.push(e.length>1?e.concat():e[0]),[]},at=function e(t,r,n){for(var i="",o=[],a=null,c=!1;t<r.length;){var u=r[t];if(et(u)){c=!1;var s=[i.trim()];u=r[t=e(t+1,r,s)],o.push(s),i=""}else{if(tt(u))return c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),rt(i)&&nt(o,i),o=ot(o,n),t+1;null!==a&&u!==a?i+=u:u===a?(o.push(i),i="",a=null):$e(u)?(i="",a=u):Qe(r,t)?(c=!0,i.trim().length&&(o.push([i.trim()]),i=""),t+=2):Ke(u)?(c&&i.trim().length&&(o.push([i.trim()]),i="",c=!1),o=ot(o,n),i=it(n,i)):i+=u,t++}}return(c&&i.trim().length||!c&&i.trim().length&&!o.length)&&(o.push([i.trim()]),i=""),ot(o,n),it(n,i),t},ct=function e(t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]="root"!==n?"children"!==n?"repeat"!==n?t[n]:null===t[n]?null:e(t[n]):null===t[n]?null:t[n].map(e):t[n].cloneNode());return r.presenter=null,r},ut={root:null,key:null,view:null,overlay:null,presenter:null,transform:null,layout:null,style:null,repeat:null,children:null,className:null},st=function e(t){return Array.from(t).map((function(t){var r=jt(ut,{root:t});for(var n in t.dataset)t.dataset.hasOwnProperty(n)&&void 0!==r[n]&&(r[n]=t.dataset[n]);return r.repeat?(r.repeat=e(t.children).pop(),Array.from(t.children).forEach((function(e){e.parentNode.removeChild(e)}))):t.children.length&&(r.children=e(t.children)),r}))},lt=function e(t){return t.map((function(t){return"string"==typeof(t=jt(ut,t)).root?t.root=document.createElement(t.root):t.root=document.createElement("span"),t.transform&&(t.root.dataset.transform=t.transform),t.className&&(t.root.className=t.className),t.overlay&&(t.root.dataset.overlay=t.overlay),t.view?(t.root.dataset.view=t.view,t.style&&(t.root.dataset.style=t.style),t.repeat=null):(t.layout&&(t.root.dataset.layout=t.layout),t.repeat?(t.root.dataset.repeat=!0,t.repeat=e(t.children).pop()):t.children&&(t.children=e(t.children),t.children.forEach((function(e){t.root.appendChild(e.root)})))),t}))},ft=function(e){var t=!1,r=function(r,i){r.transform(i,(function(e){r.presenter.update(e)}),e),t||(t=!0,n())},n=function t(){e.baseDefinition.presenter.draw(),requestAnimationFrame(t)};return function t(n){return n.presenter=function(e,t){var r=void 0;return e.repeat?r=Ye(e.root,e.repeat,t):"string"==typeof e.view?r=Xe(e.view,e.root,e.style):function(e){return e.children&&e.children.length}(e)&&(r=Je(e.root,e.children,t)),r}(n,t),n.transform=ht(n.transform,e),r}(e.baseDefinition)},pt=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return function(t,n){!function t(i,o){r.length<=i?n(o):r[i](o,dt(t,[i+1]),e)}(0,t)}},dt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments[2];return function(){var n=Array.from(t);return Array.prototype.push.apply(n,arguments),e.apply(r,n)}},ht=function(e,t){if(!e)return function(e,t){return t(e)};if("function"==typeof e)return e;var r=function(e){var t=[];return at(0,e,t),t}("transform("+(/^[a-z]+$/.test(e)?e+"()":e)+")");return mt(r,t)},mt=function e(r,n){var i=r.map((function(r){var i=r.shift(),a=o(t.TRANSFORM,i)||function(e,t,r){t(e)},c=r.map((function(t){return Array.isArray(t)?"string"==typeof t[0]?e([t],n):e(t,n):Ot(t)}));return a.apply(void 0,W(c))}));return pt.apply(void 0,[n].concat(W(i)))},vt=function(e){var t=e.match(/[a-z]+/)[0];return{name:t,parameters:yt(e.substring(t.length))}},yt=function(e){return(e.match(/('.+?')|(".+?")|(\[.+?])|([.:\-\d\sa-zA-Z]+%?)/g)||[]).map(_t).filter((function(e){return e.length})).map(Ot)},gt=function(e){return e.substring(1,e.length-1)},bt=/^([\d]{4}-[\d]{1,2}-[\d]{1,2})/,wt=/^(true|false)$/,xt=/^[\a-zA-Z]+$/,Et=/^0[\d]+/,It=/^('|")/,St=/^-?(?:\d+)?(?:\.|0\.)?[\d]+$/,Mt=/^(\[)/,Ot=function(e){return wt.test(e)?"true"===e:Mt.test(e)?yt(gt(e)):bt.test(e)?I(e):It.test(e)?gt(e):xt.test(e)||Et.test(e)?e:St.test(e)?parseFloat(e):e},kt=function(e){var t=(e+"").match(/(-?[.\d]+)(%|ms|s|deg|cm|em|ch|ex|q|in|mm|pc|pt|px|vh|vw|vmin|vmax)?/);return{value:parseFloat(t[1]),units:t[2]}},jt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=void 0,n={};for(r in e)e.hasOwnProperty(r)&&(n[r]=void 0===t[r]?e[r]:t[r]);return n},Tt=function(e){var t=window,r=e.split(".");return r.forEach((function(e,n){t[r[n]]&&(t=t[r[n]])})),t!==window?t:null},Dt=function(e){return/^(?:[\w]+\s?:\s?[\w.]+,\s?)+(?:[\w]+\s?:\s?[\w.]+)$/g.test(e)?e.match(/(?:(\w+)\s?:\s?([\w.]+))/g).reduce((function(e,t){var r=t.split(":");return e[r[0]]=Ot(r[1]),e}),{}):Ot(e)},At=function(e){return parseInt(e,10)},_t=function(e){return e.trim()},Pt=function(e){return"object"===(void 0===e?"undefined":U(e))&&null!==e?JSON.parse(JSON.stringify(e)):e},Nt=function(e){return e.slice()},Ct=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e+Math.random()*(t-e)},Lt=function(e){for(var t=[],r=0;r<e;r++)t.push(r);return t},Rt=function(e){for(var t=e.length;t;t--){var r=Math.floor(Math.random()*t),n=[e[r],e[t-1]];e[t-1]=n[0],e[r]=n[1]}},Bt=function(){return window.performance.now()},Ut=function(e,t,r,n){var i=new XMLHttpRequest;n&&n(i),i.open("GET",e,!0),i.onload=function(){t(i.response)},r&&(i.onerror=function(){r(i,i.status)}),i.send()},zt=function(e,t){return Ht(e)?Gt(e,t):Array.isArray(e)?Wt(e,t):e===t},Ht=function(e){return e===Object(e)},Gt=function(e,t){for(var r in e)if(!t.hasOwnProperty(r)||e[r]!==t[r])return!1;return!0},Wt=function(e,t){return e.length==t.length&&e.every((function(e,r){return e===t[r]}))},qt=function(e){return Object.keys(e).map((function(e){return'"'+e+'"'})).join(", ")},Zt=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document.createElement("div");z(this,e),this._options=jt(e.options(),t),this._element=r,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 H(e,[{key:"isRootElement",value:function(e){return this._element===e}},{key:"setConstant",value:function(e,t){this._constants[e]=t}},{key:"getConstants",value:function(){return this._constants}},{key:"getConstant",value:function(e){return this._constants[e]}},{key:"setPreset",value:function(e,t){this._presets[e]=t}},{key:"getPreset",value:function(e){return this._presets[e]}},{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 e=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(t){e.value=t})),this._viewDefinition.root!==this._element&&(Array.from(this._viewDefinition.root.children).forEach((function(t){e._element.appendChild(t)})),this._viewDefinition.root=this._element),this._viewDefinition.view||this._viewDefinition.children||(this._viewDefinition.view="text"),this._updater=ft(this),null!==this.value&&this._update(this.value),this._element.dataset.state="initialised",this._didInit(this,this.value)}},{key:"_update",value:function(e){this._updater(this.baseDefinition,e),this._didUpdate(this,e)}},{key:"baseDefinition",get:function(){return this._viewDefinition}},{key:"root",get:function(){return this._element}},{key:"value",get:function(){return this._value},set:function(e){this._value="string"==typeof e?Dt(e):e,this._update(e)}}],[{key:"options",value:function(){return{constants:Jt(),presets:Yt(),value:null,view:null,didInit:function(e){},didUpdate:function(e,t){},willDestroy:function(e){},didDestroy:function(e){}}}}]),e}(),Ft=function(e,t,r,n){return{label:1===e?t:r,progress:e/n,value:e}},Vt=[],Jt=function(){return Xt},Yt=function(){return Qt},Xt={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"},Qt={y:function(e,t){return Ft(e,t.YEAR_SINGULAR,t.YEAR_PLURAL,10)},M:function(e,t){return Ft(e,t.MONTH_SINGULAR,t.MONTH_PLURAL,12)},w:function(e,t){return Ft(e,t.WEEK_SINGULAR,t.WEEK_PLURAL,52)},d:function(e,t){return Ft(e,t.DAY_SINGULAR,t.DAY_PLURAL,365)},h:function(e,t){return Ft(e,t.HOUR_SINGULAR,t.HOUR_PLURAL,24)},m:function(e,t){return Ft(e,t.MINUTE_SINGULAR,t.MINUTE_PLURAL,60)},s:function(e,t){return Ft(e,t.SECOND_SINGULAR,t.SECOND_PLURAL,60)},mi:function(e,t){return Ft(e,t.MILLISECOND_SINGULAR,t.MILLISECOND_PLURAL,1e3)}},$t={value:Dt,didInit:Tt,didUpdate:Tt,didDestroy:Tt,willDestroy:Tt},Kt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.dataset,i={meta:{}};for(var o in n)if(n.hasOwnProperty(o)){var a=t[o],c=n[o];a&&(c=null===(c=a(c))?Pt(r[o]):c,i[o]=c)}return i},er=function(e){var t=Vt.filter((function(t){return t.isRootElement(e)}));return t?t[0]:null},tr=function(){return G({},Zt.options(),{constants:G({},Xt),presets:G({},Qt)})},rr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:void 0;if(e&&!Q(e)&&(t=e,e=void 0),!e||!er(e)){t&&t.view&&(t.view=lt([t.view])[0]),!t&&e&&(t=Kt(e,$t,tr())),e&&(t||(t={}),t.view||(t.view=st([e])[0]));var r=new Zt(t,e);return Vt.push(r),r}},nr=function(e){return function(){setTimeout(e,0)}},ir=function(){return Date.now()},or=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1e3,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=jt({autostart:!0},r),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 r(){var n=ir(),a=i-n,u=t+a;i=n+u,e(n-o-c+a),l=setTimeout(r,u)},m=function(){f()?b():p()||(o=ir(),setTimeout((function(){e(0)}),0),M(),d()?E():(i=ir()+t,l=setTimeout((function(){h()}),t)))},v=function(){clearTimeout(l),l=null,o=null,i=null,a=null,c=0,u=null,s=!1,S()},y=function(){v(),m()},g=function(){p()&&!d()&&(s=!0,S(),w())},b=function(){f()&&p()&&!d()&&(s=!1,M(),x())},w=function(){clearTimeout(l),a=ir(),u=i-a},x=function(){c+=ir()-a,a=null,i=ir()+u,l=setTimeout((function(){h()}),u)},E=function(){w()},I=function(){p()&&x()},S=function(){document.removeEventListener("visibilitychange",O)},M=function(){document.addEventListener("visibilitychange",O)},O=function(){d()?E():I()};return n.autostart&&m(),{start:m,stop:nr(v),reset:nr(y),pause:nr(g),resume:b}},ar=function(e){/^[\d]+/.test(e)||(e="1 "+e);var t=e.split(" ");return parseFloat(t[0])*c[t[1].toLowerCase()]},cr=function(e,t){return function(e,t){return e.setHours(t[0]||0,t[1]||0,t[2]||0,t[3]||0),e}(e,t.split(":").map(At))},ur=function(e,t){var r=t.match(/((?:[\d]+\s)?(?:hours|hour|minutes|minute|seconds|second))|((?:from|till)\s[\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(e,t){return/from/.test(t)?e.from=cr(e.from,t.split(" ")[1]):/till/.test(t)?e.till=cr(e.till,t.split(" ")[1]):/wait/.test(t)?e.idle=ar(t.substr(5)):/hours|hour|minutes|minute|seconds|second/.test(t)&&(e.interval=ar(t)),e}),{idle:null,interval:null,date:null,dist:null,wait:!1,from:cr(T(e),"0"),till:cr(T(e),"23:59:59:999")});if(e<r.from||e>=r.till)return r;if(r.interval>r.till-r.from)return r;var n=e-r.from,i=r.interval-n%r.interval;return null!==r.idle&&i>=r.interval-r.idle?(r.wait=!0,r):(r.dist=i,r.date=new Date(e.getTime()+r.dist),r)},sr=function(e,t){return/januari|februari|march|april|may|june|july|august|september|october|november|december/.test(t)?function(e,t){var r=t.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(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)?t.idle=ar(r.substr(5)):/^[\a-zA-Z]+$/.test(r)&&(t.month=r),t}),{idle:null,day:null,month:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setFullYear(o.time.getFullYear()+1),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=T(e),o.time.setDate(1),o.time=v(o.time,o.month),o.time=m(o.time,o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setFullYear(o.time.getFullYear()+1),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/month/.test(t)?function(e,t){var r=t.match(/[\d]+th|\dst|\dnd|first|last|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/([\d]+th|\dst|\dnd|first|last)/.test(r)&&(t.day=/^[\d]/.test(r)?parseInt(r,10):"first"===r?1:r),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,day:null,time:null,date:null,dist:null,wait:!1});if(o.time){o.time=m(o.time,o.day);var a=o.time-e,c=0;if(a<0&&(c=a,o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),a=o.time-e),null!==o.idle&&c+o.idle>0)return o.wait=!0,o;o.dist=a}else{o.time=m(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&(o.time=T(u.from),o.time.setDate(1),o.time.setMonth(o.time.getMonth()+1),m(o.time,o.day),s=o.time-e),o.dist=s}return o.date=T(o.time),o}(e,t):/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(t)?function(e,t){var r=t.match(/(?:mon|tues|wednes|thurs|fri|satur|sun)day|at\s[\d]+(?::[\d]+)?(?::[\d]+)?/g);if(r.length>1){var n="";r.forEach((function(e){n=t.split(e)[1]||""}));var i=n.trim().match(/wait\s[\d]+\s[a-z]+/);i&&r.push(i[0])}var o=r.reduce((function(t,r){return/(?:mon|tues|wednes|thurs|fri|satur|sun)day/.test(r)&&(t.day=f[function(e){return e.charAt(0).toUpperCase()+e.slice(1)}(r)]),/^at/.test(r)?t.time=cr(T(e),r.substr(3)):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{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-e;if(a<0&&(o.time.setDate(o.time.getDate()+7),a=o.time-e),null!==o.idle&&a>=c.Week-o.idle)return o.wait=!0,o;o.dist=a}else{o.time=h(T(e),o.day);var u=ur(o.time,t);if(u.wait)return o;o.time=T(w(e,o.time)&&u.date?u.date:u.from);var s=o.time-e;s<0&&o.time.setDate(o.time.getDate()+7),o.dist=s}return o.date=T(o.time),o}(e,t):/day at/.test(t)||/^at /.test(t)?function(e,t){var r=t.match(/([\d]+(?::[\d]+)?(?::[\d]+)?)|(wait\s[\d]+\s[a-z]+)/g).reduce((function(t,r){return/^[\d]/.test(r)?t.time=cr(T(e),r):/wait/.test(r)&&(t.idle=ar(r.substr(5))),t}),{idle:null,time:null,date:null,wait:!1,dist:null}),n=r.time-e;return n<0&&(r.time.setDate(r.time.getDate()+1),n=r.time-e),null!==r.idle&&n>=c.Day-r.idle?(r.wait=!0,r):(r.dist=n,r.date=T(r.time),r)}(e,t):/hours|hour|minutes|minute|seconds|second/.test(t)?ur(e,t):null},lr=function(e,t){for(var r=t.split(",").map(_t).map((function(t){return sr(e,t)})),n=null,i=0;i<r.length;i++){var o=r[i];if(null===n&&o.wait)return null;(null===n||null===n.dist&&null!==o.dist||null!==o.dist&&o.dist<n.dist)&&(n=o)}return n.date},fr=function(e,t){!0!==e?"string"!=typeof e?setTimeout((function(){t(0)}),0):setTimeout((function(){t(I(e).getTime()-j().getTime())}),0):function(e){var t=new XMLHttpRequest,r=Date.now();t.open("HEAD",window.location+"?noCache="+r),t.setRequestHeader("Content-Type","text/html"),t.setRequestHeader("Cache-Control","no-cache"),t.onload=function(){var n=.5*(r-Date.now()),i=new Date(t.getResponseHeader("Date"));e(new Date(i.getTime()+n))},t.send()}((function(e){t(e.getTime()-j().getTime())}))},pr={format:["d","h","m","s"],cascade:!0,server:null,interval:1e3},dr=function(e){return G({complete:!1,offset:null,value:null,timer:null,onload:function(){},onupdate:function(e){}},e)},hr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("number"!=typeof e)throw'Can\'t start counter, the "milliseconds" parameter is required';var r=(t=jt({units:"seconds",target:0,amount:1e3,interval:1e3},t)).target,n=e,i=dr({target:r,onended:function(){}});return setTimeout((function(){i.timer=or((function(o){if((n=e-o/t.interval*t.amount)<=r)return i.value=t.target,i.onupdate(i.value/c[t.units]),i.timer.stop(),void i.onended();i.value=n,i.onupdate(i.value/c[t.units])}),t.interval,{autostart:!1}),i.complete=!0,i.onload(),i.timer.start()}),0),i},mr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "due" parameter is required';t=jt(pr,t);var r=d(e)?e:I(e),n=dr({due:T(r),onended:function(){}});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);if(r-i<=0)return n.value=new Array(t.format.length).fill(0),n.onupdate(n.value),n.timer.stop(),void n.onended();n.value=O(i,r,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},vr=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100;return function(r,n){return n((parseFloat(r)-e)/(t-e))}},yr=function(e,t,r,n){t[e]=r[e],n(Nt(t))},gr={ascii:function(){return function(e,t){return t((e+"").charCodeAt(0))}},char:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",r=e?new RegExp("[^"+e+"]","g"):null;return function(e,n){var i=String.fromCharCode(e);r&&(i=i.replace(r,t)),n(i)}},tween:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"ease-linear",n=arguments[2];e=he(e);var i=o(t.EASING_FUNCTION,r),a=null,c=null;return function(t,r){if(t=parseFloat(t),a&&a(),null===c||t===c)return c=t,void r(t);var o=c,u=t-o;a=De((function(e){r(o+e*u)}),(function(){a=null}),e,i,n),c=t}},value:function(e){return function(t,r){return r(e)}},input:function(){return function(e,t){return t(e)}},rotate:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=Array.isArray(e)?e:[e],i=[],o=t.length;n.forEach((function(e,a){t[a%o](e,(function(e){i[a]=e,a===n.length-1&&r(i)}))}))}},map:function(e){return function(t,r){var n=[],i=t;i.forEach((function(t,o){e(t,(function(e){n[o]=e,o===i.length-1&&r(n.concat())}))}))}},transform:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n=[],i=e;t.forEach((function(e,o){e(i,(function(e){n[o]=e,o===t.length-1&&r(1===n.length?n[0]:n)}))}))}},upper:function(){return function(e,t){return t((e+"").toUpperCase())}},lower:function(){return function(e,t){return t((e+"").toLowerCase())}},abs:function(){return function(e,t){return t(Math.abs(e))}},add:function(e){return function(t,r){return r(t+e)}},subtract:function(e){return function(t,r){return r(t-e)}},modulus:function(e){return function(t,r){return r(t%e)}},pad:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"left";return function(r,n){return n(e.length>(""+r).length?"left"===t?(""+e+r).slice(-e.length):(""+r+e).substring(0,e.length):r)}},number:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:",",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2;return function(n,i){i((n<0?"-":"")+parseFloat(Math.abs(n)).toFixed(r).replace(/./g,(function(r,n,i){return"."===r?e:n&&(i.length-n)%3==0?t+r:r})))}},replace:function(e,t){return function(r,n){return n((r+"").replace(new RegExp("."===e?"\\"+e:e,"g"),t))}},round:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return function(t,r){return r(e?t.toFixed(e):Math.round(t))}},ceil:function(){return function(e,t){return t(Math.ceil(e))}},floor:function(){return function(e,t){return t(Math.floor(e))}},fraction:vr,percentage:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,r=vr(e,t);return function(e,t){r(e,(function(e){t(100*e)}))}},multiply:function(e){return function(t,r){return r(t*e)}},divide:function(e){return function(t,r){return r(t/e)}},split:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return function(t,r){return r((t+"").split(e))}},format:function(e){return function(t,r){return r(e.replace(/\$0/gi,t))}},plural:function(e,t){return function(r,n){return n(1===r?e:t)}},limit:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return function(r,n){return n(Math.min(Math.max(r,e),t))}},reverse:function(){return function(e,t){return t(Array.isArray(e)?e.reverse():(e+"").split("").reverse().join(""))}},arrive:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=!(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)):(r&&null!==o&&i===c&&(a.cancel(),a=null),n&&null!==o&&c-a.getPosition()>1?(a.cancel(),a=null,o=null,i=c,void u(c)):(a?a.update(u,c):(a=Pe("arrive",e,t)).update(u,i,c),void(o=c)))}},spring:function(e,t,r){var n=null,i=null;return function(o,a){if(o=parseFloat(o),null===n)return n=o,void a(o);i?i.update(a,o):(i=Pe("spring",e,t,r)).update(a,n,o)}},delay:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"rtl",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:50,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:50,n=null;return function(i,o){if(!n)return n=Nt(i),void o(Nt(n));n="rtl"===e?n.slice(n.length-i.length,n.length):n.slice(0,i.length);var a=Lt(i.length);"random"===e&&Rt(a),"rtl"===e&&a.reverse();!function e(){yr(a.shift(),n,i,o),a.length&&setTimeout(e,Ct(t,r))}()}},step:function(e){var t=null,r=null,n=null;return function(i,o){if(i=parseFloat(i),null===t)return t=i,void o(i);null!==r&&t===i&&(n.cancel(),n=null),n?n.update(o,i):(n=Pe("step",e)).update(o,t,i),r=i}},keys:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){var n={};e.forEach((function(e,r){n[t[r]]=e})),r(n)}},duration:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r){return r(M(e,t))}},substring:function(e,t){return function(r,n){return n((r+"").substring(e,t))}},preset:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e,r,n){return r(e.map((function(e,r){return n.getPreset(t[r])(e,n.getConstants(),n)})))}}};n(t.TRANSFORM,gr);var br={x:"translateX",y:"translateY",z:"translateZ"},wr={x:"rotateX",y:"rotateY",z:"rotateZ"},xr={both:"scale",x:"scaleX",y:"scaleY"},Er=function(e,t,r){return e+(t-e)*r},Ir={fade:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0,o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:1;if(r<0){var a=[o,i];i=a[0],o=a[1]}e.style.opacity=Er(i,o,n(t))},move:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,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(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,br[a],Er(u.value,s.value,n(t)),u.units||s.units)},rotate:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,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(r<0){var c=[o,i];i=c[0],o=c[1]}var u=ie(i,kt),s=ie(o,kt);K(e,wr[a],Er(u.value,s.value,n(t)),u.units||s.units)},scale:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:je,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(r<0){var c=[o,i];i=c[0],o=c[1]}K(e,xr[a],Er(i,o,n(t)))},crossfade:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=arguments[1],r=arguments[2];return{intro:[{name:"fade",parameters:[0,1],duration:1e3*e,delay:he(t)}],outro:[{name:"fade",parameters:[1,0],duration:1e3*e,delay:he(r)}]}},swap:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"move",parameters:[""+100*-t,"0%",e],duration:1e3*r,delay:he(n)}],outro:[{name:"move",parameters:["0%",""+100*t,e],duration:1e3*r,delay:he(i)}]}},revolve:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"y",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,n=arguments[3],i=arguments[4];return{intro:[{name:"rotate",parameters:[90*-t+"deg","0deg",e],duration:1e3*r,delay:he(n)}],outro:[{name:"rotate",parameters:["0deg",90*t+"deg",e],duration:1e3*r,delay:he(i)}]}},zoom:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,r=arguments[2],n=arguments[3];return{intro:[{name:"scale",parameters:[e,1],duration:1e3*t,delay:he(r)}],outro:[{name:"scale",parameters:[1,e],duration:1e3*t,delay:he(n)}]}}};n(t.TRANSITION,Ir);var Sr={supported:function(){var e=window;if(void 0===e)return!1;var t=e.CSS&&e.CSS.supports,r=!!e.MSInputMethodContext&&!!document.documentMode,n=t&&CSS.supports("transform","translateX(0)");return r||t&&n&&!!["MutationObserver","requestAnimationFrame"].filter((function(t){return t in e})).length}(),options:{setConstant:function(e,t){Xt[e]=t},setPreset:function(e,t){Qt[e]=t}},helper:{interval:or,date:function(e){return e?I(e):j()},duration:k},data:{request:Ut,poll:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:6e4;return or((function(){Ut(e,t)}),r)}},DOM:{create:rr,destroy:function(e){var t=function(e,t){for(var r=0,n=e.length;r<n;r++)if(e[r].isRootElement(t))return r;return-1}(Vt,e);return!(t<0)&&(Vt[t].destroy(),Vt.splice(t,1),!0)},parse:function(e){var t,r=void 0,n=void 0,i=[];for(n=(t=e.querySelectorAll(".tick:not([data-state])")).length;n--;)r=t[n],i.push(rr(r));return i},find:er},count:{down:function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if("number"==typeof t[0]&&"string"==typeof t[1]){var n=t[0],i=t[1].toLowerCase();return t.shift(),t[0]=k(n,i),t[1]=t[1]||{},t[1].units=i,hr.apply(void 0,t)}return"string"==typeof t[0]||d(t[0])?mr.apply(void 0,t):null},up:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(void 0===e)throw'Can\'t start counter, the "since" parameter is required';t=jt(pr,t);var r=d(e)?e:I(e),n=dr({since:T(r)});return fr(t.server,(function(e){n.offset=e;n.timer=or((function(){var i=g(e);n.value=O(r,i,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n},schedule:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if("string"!=typeof e)throw'Can\'t start scheduler, "schedule" is a required parameter';var r=(t=jt(G({},pr,{timezone:null}),t)).timezone?y(t.timezone):null,n=dr({waiting:null,nextScheduledDate:null,previouslyScheduledDate:null,onrepeat:function(e,t){},onresume:function(e){},onwait:function(e){}}),i=void 0,o=null;return fr(t.server,(function(a){n.offset=a;n.timer=or((function(){var c=g(a);if(null!==r&&(c=b(c,r)),o=lr(c,e),n.waiting=null===o,n.waiting)return void 0===i&&(i=null),n.value=new Array(t.format.length).fill(0),n.nextScheduledDate&&(n.previouslyScheduledDate=T(n.nextScheduledDate)),n.nextScheduledDate=null===o?null:T(o),void n.onwait(n.previouslyScheduledDate?T(n.previouslyScheduledDate):null);n.nextScheduledDate=T(o),null===i&&n.onresume(T(o)),(null===i||void 0!==i&&!x(i,o))&&(n.onrepeat(T(o),i?T(i):null),i&&(n.previouslyScheduledDate=T(i))),i=T(o),n.value=O(c,o,t.format,t.cascade),n.onupdate(n.value)}),t.interval,{autostart:!1}),n.complete=!0,n.onload(),n.timer.start()})),n}},plugin:{add:function(e,t,r){if("function"==typeof e){var n=e;return i(n.identifier.type,n.identifier.name,n)}return i(e,t,r)}}},Mr=function(e){if(!t.hasOwnProperty(e))return"continue";Sr.plugin[function(e){return e.replace(/-./g,(function(e){return e.charAt(1).toUpperCase()}))}("add-"+t[e])]=function(r,n){i(t[e],r,n)}};for(var Or in t)Mr(Or);return e.exports=Sr,e.exports}():null),w="undefined"!=typeof window?function(){if(!e)var e={};!function(){function e(e){this.value=e}function t(t){var r,n;function i(r,n){try{var a=t[r](n),c=a.value;c instanceof e?Promise.resolve(c.value).then((function(e){i("next",e)}),(function(e){i("throw",e)})):o(a.done?"return":"normal",a.value)}catch(u){o("throw",u)}}function o(e,t){switch(e){case"return":r.resolve({value:t,done:!0});break;case"throw":r.reject(t);break;default:r.resolve({value:t,done:!1})}(r=r.next)?i(r.key,r.arg):n=null}this._invoke=function(e,t){return new Promise((function(o,a){var c={key:e,arg:t,resolve:o,reject:a,next:null};n?n=n.next=c:(r=n=c,i(e,t))}))},"function"!=typeof t.return&&(this.return=void 0)}"function"==typeof Symbol&&Symbol.asyncIterator&&(t.prototype[Symbol.asyncIterator]=function(){return this}),t.prototype.next=function(e){return this._invoke("next",e)},t.prototype.throw=function(e){return this._invoke("throw",e)},t.prototype.return=function(e){return this._invoke("return",e)}}();var t=function(){function e(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}();return e.exports=function(e){var r=e.DOM,n=(e.Animation.animate,e.Extension),i=e.Date.performance,o=e.View,a=o.rooter,c=o.destroyer,u=o.drawer,s=o.updater,l=o.styler,f=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-cubic"),p=n.getExtension(n.Type.EASING_FUNCTION,"ease-out-sine"),d=function(e){if(e.isInitialValue()){e.root.textContent="",e.spacer=r.create("span","tick-flip-spacer"),e.root.appendChild(e.spacer);var t=r.create("span","tick-flip-shadow-top tick-flip-shadow tick-flip-front"),o=r.create("span","tick-flip-shadow-bottom tick-flip-shadow tick-flip-back");e.root.appendChild(t),e.root.appendChild(o),e.shadowCard=r.create("span","tick-flip-card-shadow"),e.root.appendChild(e.shadowCard)}if(e.spacer.textContent=e.value,e.isInitialValue()||r.visible(e.root)){var a=e.cards[e.cards.length-1];if(a&&(a.waiting=!1,a.offset=i(),a.back=e.value),e.isInitialValue()){var c=new h;c.back=e.value,c.offset=null,c.progress=1,e.root.insertBefore(c.root,e.root.firstChild),e.cards.push(c)}var u=new h;if(u.offset=null,u.progress=0,u.visual_progress=0,u.waiting=!0,u.front=e.value,u.rotate(0),e.root.insertBefore(u.root,e.root.firstChild),e.cards.push(u),!e.animating){e.animating=!0;var s=n.getExtension(n.Type.EASING_FUNCTION,e.style.flipEasing);!function t(){var n=e.cards.filter((function(e){return!e.done&&!e.waiting}));if(0!==n.length){n.forEach((function(t){null!==t.offset&&(t.progress=(i()-t.offset)/e.style.flipDuration),t.progress>=1&&(t.progress=1,t.done=!0),t.visual_progress=s(t.progress)}));n.reverse().forEach((function(e,t){var r=n[t-1];r&&e.visual_progress<=r.visual_progress&&(e.visual_progress=r.visual_progress+.01)})),n.reverse(),e.cards.forEach((function(t,r){var n=1-2*Math.abs(t.visual_progress-.5),i=1-(t.visual_progress-.5)/.5;t.shadowFront=n,t.highlightBack=i;var o=e.cards[r+1];o&&t.visual_progress>.5&&t.visual_progress>0&&(t.shadowBack=f(o.visual_progress))})),n.forEach((function(e,t){var r=e.visual_progress;r>.5&&!e.done?e.root.style.zIndex=10+t:e.root.style.removeProperty("z-index"),e.rotate(-180*r)}));var o=0,a=1;n.forEach((function(e){var t=Math.abs(e.visual_progress-.5);t<a&&(a=t,o=e.visual_progress)}));var c=p(o<.5?o/.5:(1-o)/.5);e.shadowCard.style.opacity=c,r.transform(e.shadowCard,"scaleY",c),e.cards.filter((function(e){return e.done})).slice(0,-1).forEach((function(t){e.cards=e.cards.filter((function(e){return e!==t})),t.root.parentNode&&e.root.removeChild(t.root)})),requestAnimationFrame(t)}else e.animating=!1}()}}else e.cards.forEach((function(t){t.back=e.value,t.front=e.value}))},h=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this._root=r.create("span","tick-flip-card");var t=r.create("span","tick-flip-panel-front tick-flip-front tick-flip-panel"),n=r.create("span","tick-flip-panel-front-text"),i=r.create("span","tick-flip-panel-text-wrapper");n.appendChild(i);var o=r.create("span","tick-flip-panel-front-shadow");t.appendChild(n),t.appendChild(o);var a=r.create("span","tick-flip-panel-back tick-flip-back tick-flip-panel"),c=r.create("span","tick-flip-panel-back-text"),u=r.create("span","tick-flip-panel-text-wrapper");c.appendChild(u);var s=r.create("span","tick-flip-panel-back-highlight"),l=r.create("span","tick-flip-panel-back-shadow");a.appendChild(c),a.appendChild(s),a.appendChild(l),this._root.appendChild(t),this._root.appendChild(a),this._front=t,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 t(e,[{key:"rotate",value:function(e){this._front.style.transform="rotateX("+e+"deg)",this._back.style.transform="rotateX("+(-180+e)+"deg)"}},{key:"root",get:function(){return this._root}},{key:"front",set:function(e){this._frontValue=e,this._textFront.textContent=e},get:function(){return this._frontValue}},{key:"back",set:function(e){this._backValue=e,this._textBack.textContent=e},get:function(){return this._backValue}},{key:"highlightBack",set:function(e){this._highlightBack.style.opacity=e}},{key:"shadowBack",set:function(e){this._shadowBack.style.opacity=e}},{key:"shadowFront",set:function(e){this._shadowFront.style.opacity=e}}]),e}();return function(e){var t={cards:[],lastCard:null,initialCard:null,shadowAbove:null,shadowBelow:null,shadowCard:null,currentValue:null,lastValue:null,front:null,back:null};return Object.assign({},a(t,e,"flip"),s(t),l(t,{flipDuration:800,flipEasing:"ease-out-bounce"}),u(t,d),c(t))}},e.exports.identifier={name:"flip",type:"view"},e.exports}():null;b.plugin.add(w);var x=b;class E extends o.Component{constructor(e){super(e),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(e){super(e);var t=0;t+=e.countdown.seconds,t+=60*e.countdown.minutes,t+=60*e.countdown.hours*60,t+=24*e.countdown.days*60*60;var r=setInterval(this.updateCountdown.bind(this),1e3);this.state={start:Date.now(),interval:r,total:t,timeLeft:t}}updateCountdown(){var e=Date.now(),t=Math.round((e-this.state.start)/1e3);this.setState({timeLeft:this.state.total-t})}render(){var{timeLeft:e}=this.state,t=e<=0,r=0,n=0,i=0,a=0;return t||(r=Math.floor(e/86400),n=Math.floor(e%86400/3600),i=Math.floor(e%3600/60),a=Math.floor(e%60)),o.createElement(o.Fragment,null,t?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(E,{value:r})," ",1===r?(0,y.S)("day"):(0,y.S)("days")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{value:String(n).padStart(2,"0")})," ",1===n?(0,y.S)("hour"):(0,y.S)("hours")),o.createElement("div",{className:"wprm-admin-dashboard-marketing-countdown-unit"},o.createElement(E,{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(E,{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!"))))}}class S extends o.Component{render(){var{campaign:e}=this.props;return e.hasOwnProperty("dismissed")&&e.dismissed?null:o.createElement("div",{className:"wprm-admin-dashboard-marketing"},o.createElement(g,{title:e.page_title},o.createElement("p",{dangerouslySetInnerHTML:{__html:e.page_text}}),o.createElement(I,{countdown:e.countdown}),o.createElement("div",{class:"wprm-admin-dashboard-marketing-actions"},o.createElement("a",{className:"button button-primary",href:e.url,target:"_blank"},(0,y.S)("Learn more about the sale")," 🎉"),o.createElement("a",{href:"#",class:"wprm-admin-dashboard-marketing-actions-remove",onClick:()=>{v.Z.general.dismissNotice("dashboard_".concat(e.id)),e.dismissed=!0,this.forceUpdate()}},(0,y.S)("Remove Notice")))))}}var M=e=>o.createElement("div",{className:"wprm-admin-dashboard-block-footer-container"},e.hasOwnProperty("title")&&o.createElement("div",{className:"wprm-admin-dashboard-block-footer-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-block-footer"},e.children)),O=r(67127),k=e=>o.createElement("label",{className:"wprm-admin-dashboard-toggle-container"},o.createElement(O.Z,{className:"wprm-admin-dashboard-toggle",checked:e.value,onChange:t=>e.onChange(t.target.checked)}),o.createElement("span",{className:"wprm-admin-dashboard-toggle-label"},e.children)),j=e=>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(k,{value:!1,onChange:()=>{e.onEnable()}},(0,y.S)("Enable Analytics"))),T=r(34133),D=r(71629),A=r.n(D),_=r(64403),P=r.n(_),N=r(81668),C=r(63774),L=r.n(C),R=r(86901),B=r.n(R),U=r(81027),z=r.n(U),H=r(10442),G=r.n(H),W=r(9338),q=r.n(W),Z=function(e){return 0===e?0:e>0?1:-1},F=function(e){return q()(e)&&e.indexOf("%")===e.length-1},V=function(e){return G()(e)&&!z()(e)},J=function(e){return V(e)||q()(e)},Y=0,X=function(e){var t=++Y;return"".concat(e||"").concat(t)},Q=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!V(e)&&!q()(e))return n;if(F(e)){var o=e.indexOf("%");r=t*parseFloat(e.slice(0,o))/100}else r=+e;return z()(r)&&(r=n),i&&r>t&&(r=t),r},$=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},K=function(e,t){return V(e)&&V(t)?function(r){return e+r*(t-e)}:function(){return t}};function ee(e,t,r){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):L()(e,t))===r})):null}var te=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i]};function re(e){return(re="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ne(){return(ne=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ie(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function oe(e,t){return(oe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ae(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ue(e);if(t){var i=ue(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ce(this,r)}}function ce(e,t){return!t||"object"!==re(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ue(e){return(ue=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var se=function(e){!function(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&&oe(e,t)}(a,e);var t,r,n,i=ae(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).handleResize=void 0,t.mounted=void 0,t.containerRef=void 0,t.updateDimensionsImmediate=function(){if(t.mounted){var e=t.getContainerSize();if(e){var r=t.state,n=r.containerWidth,i=r.containerHeight,o=e.containerWidth,a=e.containerHeight;o===n&&a===i||t.setState({containerWidth:o,containerHeight:a})}}},t.state={containerWidth:-1,containerHeight:-1},t.handleResize=e.debounce>0?A()(t.updateDimensionsImmediate,e.debounce):t.updateDimensionsImmediate,t.containerRef=o.createRef(),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.mounted=!0;var e=this.getContainerSize();e&&this.setState(e)}},{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 e=this.state,t=e.containerWidth,r=e.containerHeight;if(t<0||r<0)return null;var n=this.props,i=n.aspect,a=n.width,c=n.height,u=n.minWidth,s=n.minHeight,l=n.maxHeight,f=n.children;te(F(a)||F(c),"The width(%s) and height(%s) are both fixed numbers,\n maybe you don't need to use a ResponsiveContainer.",a,c),te(!i||i>0,"The aspect(%s) must be greater than zero.",i);var p=F(a)?t:a,d=F(c)?r:c;return i&&i>0&&(p?d=p/i:d&&(p=d*i),l&&d>l&&(d=l)),te(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 e=this.props,t=e.minWidth,r=e.minHeight,n=e.width,i=e.height,a=e.maxHeight,c=e.id,u=e.className,s={width:n,height:i,minWidth:t,minHeight:r,maxHeight:a};return o.createElement(N.ZP,{handleWidth:!0,handleHeight:!0,onResize:this.handleResize,targetRef:this.containerRef},o.createElement("div",ne({},null!=c?{id:"".concat(c)}:{},{className:P()("recharts-responsive-container",u),style:s,ref:this.containerRef}),this.renderChart()))}}])&&ie(t.prototype,r),n&&ie(t,n),a}(o.Component);se.defaultProps={width:"100%",height:"100%",debounce:0};var le=r(13485),fe=r.n(le),pe=r(77106),de=r.n(pe),he=r(46423),me=r.n(he),ve=r(73804),ye=r.n(ve),ge=r(5251),be=r.n(ge),we=r(6934),xe=r.n(we),Ee=r(14847),Ie=r.n(Ee),Se=r(47563),Me=r.n(Se),Oe=r(11006),ke=r.n(Oe);function je(e){return(je="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Te=["viewBox","children"],De=["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"],Ae=["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"],_e=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var n=e;if((0,o.isValidElement)(e)&&(n=e.props),!ke()(n))return null;var i={};return Object.keys(n).forEach((function(e){(De.includes(e)||r&&Te.includes(e)||t&&Ae.includes(e))&&(i[e]=n[e])})),i},Pe=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,o.isValidElement)(e)&&(r=e.props),!ke()(r))return null;var n={};return Object.keys(r).forEach((function(e){Ae.includes(e)&&(n[e]=t||function(t){return r[e](r,t)})})),n},Ne=function(e,t,r){if(!ke()(e)||"object"!==je(e))return null;var n=null;return Object.keys(e).forEach((function(i){var o=e[i];Ae.includes(i)&&"function"==typeof o&&(n||(n={}),n[i]=function(e,t,r){return function(n){return e(t,r,n),null}}(o,t,r))})),n};function Ce(){return(Ce=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Le(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Re(e){var t=e.children,r=e.width,n=e.height,i=e.viewBox,a=e.className,c=e.style,u=Le(e,["children","width","height","viewBox","className","style"]),s=i||{width:r,height:n,x:0,y:0},l=P()("recharts-surface",a);return o.createElement("svg",Ce({},_e(u,!0,!0),{className:l,width:r,height:n,style:c,viewBox:"".concat(s.x," ").concat(s.y," ").concat(s.width," ").concat(s.height),version:"1.1"}),t)}function Be(){return(Be=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ue(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function ze(e){var t=e.children,r=e.className,n=Ue(e,["children","className"]),i=P()("recharts-layer",r);return o.createElement("g",Be({className:i},_e(n,!0)),t)}var He=r(36766),Ge=r.n(He),We=r(2652),qe=r.n(We),Ze=r(44287),Fe=r(61666),Ve=r.n(Fe);function Je(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=-1,n=function n(i){r<0&&(r=i),i-r>t?(e(i),r=-1):Ve()(n)};Ve()(n)}function Ye(e){return(Ye="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Xe(e){return function(e){if(Array.isArray(e))return 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 Qe(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qe(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 Qe(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function $e(){var e=function(){return null},t=!1,r=function r(n){if(!t){if(Array.isArray(n)){if(!n.length)return;var i=Xe(n),o=i[0],a=i.slice(1);return"number"==typeof o?void Je(r.bind(null,a),o):(r(o),void Je(r.bind(null,a)))}"object"===Ye(n)&&e(n),"function"==typeof n&&n()}};return{stop:function(){t=!0},start:function(e){t=!1,r(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function Ke(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ke(Object(r),!0).forEach((function(t){tt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ke(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rt=["Webkit","Moz","O","ms"],nt=["-webkit-","-moz-","-o-","-ms-"],it=["transform","transformOrigin","transition"],ot=function(e){return e},at=function(e,t){return Object.keys(t).reduce((function(r,n){return et(et({},r),{},tt({},n,e(n,t[n])))}),{})},ct=function(e){return Object.keys(e).reduce((function(e,t){return et(et({},e),function(e,t){if(-1===it.indexOf(e))return tt({},e,t);var r="transition"===e,n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),i=t;return rt.reduce((function(e,o,a){return r&&(i=t.replace(/(transform|transform-origin)/gim,"".concat(nt[a],"$1"))),et(et({},e),{},tt({},o+n,i))}),{})}(t,e[t]))}),e)},ut=function(e,t,r){return e.map((function(e){return"".concat((n=e,n.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())})))," ").concat(t,"ms ").concat(r);var n})).join(",")};function st(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||ft(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 lt(e){return function(e){if(Array.isArray(e))return pt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||ft(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 ft(e,t){if(e){if("string"==typeof e)return pt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?pt(e,t):void 0}}function pt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var dt=1e-4,ht=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},mt=function(e,t){return e.map((function(e,r){return e*Math.pow(t,r)})).reduce((function(e,t){return e+t}))},vt=function(e,t){return function(r){var n=ht(e,t);return mt(n,r)}},yt=function(e,t){return function(r){var n=ht(e,t),i=[].concat(lt(n.map((function(e,t){return e*t})).slice(1)),[0]);return mt(i,r)}},gt=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0],i=t[1],o=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":n=0,i=0,o=1,a=1;break;case"ease":n=.25,i=.1,o=.25,a=1;break;case"ease-in":n=.42,i=0,o=1,a=1;break;case"ease-out":n=.42,i=0,o=.58,a=1;break;case"ease-in-out":n=0,i=0,o=.58,a=1;break;default:var c=t[0].split("(");if("cubic-bezier"===c[0]&&4===c[1].split(")")[0].split(",").length){var u=c[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),s=st(u,4);n=s[0],i=s[1],o=s[2],a=s[3]}}[n,o,i,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1}));var l=vt(n,o),f=vt(i,a),p=yt(n,o),d=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,r=t,n=0;n<8;++n){var i=l(r)-t,o=p(r);if(Math.abs(i-t)<dt||o<dt)return f(r);r=d(r-i/o)}return f(r)};return h.isStepper=!1,h},bt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,r=void 0===t?100:t,n=e.damping,i=void 0===n?8:n,o=e.dt,a=void 0===o?17:o,c=function(e,t,n){var o=n+(-(e-t)*r-n*i)*a/1e3,c=n*a/1e3+e;return Math.abs(c-t)<dt&&Math.abs(o)<dt?[t,0]:[c,o]};return c.isStepper=!0,c.dt=a,c};function wt(e){return function(e){if(Array.isArray(e))return Ot(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Mt(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 xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xt(Object(r),!0).forEach((function(t){It(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function It(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function St(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Mt(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 Mt(e,t){if(e){if("string"==typeof e)return Ot(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ot(e,t):void 0}}function Ot(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kt=function(e,t,r){return e+(t-e)*r},jt=function(e){return e.from!==e.to},Tt=function e(t,r,n){var i=at((function(e,r){if(jt(r)){var n=St(t(r.from,r.to,r.velocity),2),i=n[0],o=n[1];return Et(Et({},r),{},{from:i,velocity:o})}return r}),r);return n<1?at((function(e,t){return jt(t)?Et(Et({},t),{},{velocity:kt(t.velocity,i[e].velocity,n),from:kt(t.from,i[e].from,n)}):t}),r):e(t,i,n-1)},Dt=function(e,t,r,n,i){var o,a,c,u,s=(o=e,a=t,[Object.keys(o),Object.keys(a)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))),l=s.reduce((function(r,n){return Et(Et({},r),{},It({},n,[e[n],t[n]]))}),{}),f=s.reduce((function(r,n){return Et(Et({},r),{},It({},n,{from:e[n],velocity:0,to:t[n]}))}),{}),p=-1,d=function(){return null};return d=r.isStepper?function(n){c||(c=n);var o=(n-c)/r.dt;f=Tt(r,f,o),i(Et(Et(Et({},e),t),at((function(e,t){return t.from}),f))),c=n,Object.values(f).filter(jt).length&&(p=Ve()(d))}:function(o){u||(u=o);var a=(o-u)/n,c=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(a)]))}),l);if(i(Et(Et(Et({},e),t),c)),a<1)p=Ve()(d);else{var s=at((function(e,t){return kt.apply(void 0,wt(t).concat([r(1)]))}),l);i(Et(Et(Et({},e),t),s))}},function(){return Ve()(d),function(){(0,Fe.cancel)(p)}}};function At(e){return(At="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function _t(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Pt(e){return function(e){if(Array.isArray(e))return Nt(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 Nt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Nt(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 Nt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ct(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ct(Object(r),!0).forEach((function(t){Rt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ct(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Bt(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ut(e,t){return(Ut=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function zt(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wt(e);if(t){var i=Wt(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ht(this,r)}}function Ht(e,t){return!t||"object"!==At(t)&&"function"!=typeof t?Gt(e):t}function Gt(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wt(e){return(Wt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var qt=function(e){!function(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&&Ut(e,t)}(a,e);var t,r,n,i=zt(a);function a(e,t){var r;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var n=(r=i.call(this,e,t)).props,o=n.isActive,c=n.attributeName,u=n.from,s=n.to,l=n.steps,f=n.children;if(r.handleStyleChange=r.handleStyleChange.bind(Gt(r)),r.changeStyle=r.changeStyle.bind(Gt(r)),!o)return r.state={style:{}},"function"==typeof f&&(r.state={style:s}),Ht(r);if(l&&l.length)r.state={style:l[0].style};else if(u){if("function"==typeof f)return r.state={style:u},Ht(r);r.state={style:c?Rt({},c,u):u}}else r.state={style:{}};return r}return t=a,(r=[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,r=e.canBegin;this.mounted=!0,t&&r&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,r=t.isActive,n=t.canBegin,i=t.attributeName,o=t.shouldReAnimate;if(n)if(r){if(!((0,Ze.deepEqual)(e.to,this.props.to)&&e.canBegin&&e.isActive)){var a=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var c=a||o?this.props.from:e.to;if(this.state&&this.state.style){var u={style:i?Rt({},i,c):c};(i&&this.state.style[i]!==c||!i&&this.state.style!==c)&&this.setState(u)}this.runAnimation(Lt(Lt({},this.props),{},{from:c,begin:0}))}}else{var s={style:i?Rt({},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(e){var t=this,r=e.from,n=e.to,i=e.duration,o=e.easing,a=e.begin,c=e.onAnimationEnd,u=e.onAnimationStart,s=Dt(r,n,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var n=t[0];if("string"==typeof n)switch(n){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return gt(n);case"spring":return bt();default:if("cubic-bezier"===n.split("(")[0])return gt(n)}return"function"==typeof n?n:null}(o),i,this.changeStyle);this.manager.start([u,a,function(){t.stopJSAnimation=s()},i,c])}},{key:"runStepAnimation",value:function(e){var t=this,r=e.steps,n=e.begin,i=e.onAnimationStart,o=r[0],a=o.style,c=o.duration,u=void 0===c?0:c;return this.manager.start([i].concat(Pt(r.reduce((function(e,n,i){if(0===i)return e;var o=n.duration,a=n.easing,c=void 0===a?"ease":a,u=n.style,s=n.properties,l=n.onAnimationEnd,f=i>0?r[i-1]:n,p=s||Object.keys(u);if("function"==typeof c||"spring"===c)return[].concat(Pt(e),[t.runJSAnimation.bind(t,{from:f.style,to:u,duration:o,easing:c}),o]);var d=ut(p,o,c),h=Lt(Lt(Lt({},f.style),u),{},{transition:d});return[].concat(Pt(e),[h,o,l]).filter(ot)}),[a,Math.max(u,n)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=$e());var t=e.begin,r=e.duration,n=e.attributeName,i=e.to,o=e.easing,a=e.onAnimationStart,c=e.onAnimationEnd,u=e.steps,s=e.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(e);else{var f=n?Rt({},n,i):i,p=ut(Object.keys(f),r,o);l.start([a,t,Lt(Lt({},f),{},{transition:p}),r,c])}else this.runJSAnimation(e)}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"render",value:function(){var e=this.props,t=e.children,r=(e.begin,e.duration,e.attributeName,e.easing,e.isActive),n=(e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart,_t(e,["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"])),i=o.Children.count(t),a=ct(this.state.style);if("function"==typeof t)return t(a);if(!r||0===i)return t;var c=function(e){var t=e.props,r=t.style,i=void 0===r?{}:r,c=t.className;return(0,o.cloneElement)(e,Lt(Lt({},n),{},{style:Lt(Lt({},i),a),className:c}))};return 1===i?c(o.Children.only(t)):o.createElement("div",null,o.Children.map(t,(function(e){return c(e)})))}}])&&Bt(t.prototype,r),n&&Bt(t,n),a}(o.PureComponent);qt.displayName="Animate",qt.propTypes={from:qe().oneOfType([qe().object,qe().string]),to:qe().oneOfType([qe().object,qe().string]),attributeName:qe().string,duration:qe().number,begin:qe().number,easing:qe().oneOfType([qe().string,qe().func]),steps:qe().arrayOf(qe().shape({duration:qe().number.isRequired,style:qe().object.isRequired,easing:qe().oneOfType([qe().oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),qe().func]),properties:qe().arrayOf("string"),onAnimationEnd:qe().func})),children:qe().oneOfType([qe().node,qe().func]),isActive:qe().bool,canBegin:qe().bool,onAnimationEnd:qe().func,shouldReAnimate:qe().bool,onAnimationStart:qe().func,onAnimationReStart:qe().func},qt.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}};var Zt=qt,Ft=r(33092);function Vt(e){return(Vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Jt(){return(Jt=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Yt(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Xt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Qt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xt(Object(r),!0).forEach((function(t){$t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function tr(e,t){return(tr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function rr(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ir(e);if(t){var i=ir(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return nr(this,r)}}function nr(e,t){return!t||"object"!==Vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ir(e){return(ir=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}void 0===Number.isFinite&&(Number.isFinite=function(e){return"number"==typeof e&&isFinite(e)});var or=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.steps,r=e.duration;return t&&t.length?t.reduce((function(e,t){return e+(Number.isFinite(t.duration)&&t.duration>0?t.duration:0)}),0):Number.isFinite(r)?r:0},ar=function(e){!function(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&&tr(e,t)}(a,e);var t,r,n,i=rr(a);function a(){var e;Kt(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isActive:!1},e.handleEnter=function(t,r){var n=e.props,i=n.appearOptions,o=n.enterOptions;e.handleStyleActive(r?i:o)},e.handleExit=function(){e.handleStyleActive(e.props.leaveOptions)},e}return t=a,(r=[{key:"handleStyleActive",value:function(e){if(e){var t=e.onAnimationEnd?function(){e.onAnimationEnd()}:null;this.setState(Qt(Qt({},e),{},{onAnimationEnd:t,isActive:!0}))}}},{key:"parseTimeout",value:function(){var e=this.props,t=e.appearOptions,r=e.enterOptions,n=e.leaveOptions;return or(t)+or(r)+or(n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.children,n=(t.appearOptions,t.enterOptions,t.leaveOptions,Yt(t,["children","appearOptions","enterOptions","leaveOptions"]));return o.createElement(Ft.Transition,Jt({},n,{onEnter:this.handleEnter,onExit:this.handleExit,timeout:this.parseTimeout()}),(function(){return o.createElement(Zt,e.state,o.Children.only(r))}))}}])&&er(t.prototype,r),n&&er(t,n),a}(o.Component);ar.propTypes={appearOptions:qe().object,enterOptions:qe().object,leaveOptions:qe().object,children:qe().element};var cr=ar;function ur(e){var t=e.component,r=e.children,n=e.appear,i=e.enter,a=e.leave;return o.createElement(Ft.TransitionGroup,{component:t},o.Children.map(r,(function(e,t){return o.createElement(cr,{appearOptions:n,enterOptions:i,leaveOptions:a,key:"child-".concat(t)},e)})))}ur.propTypes={appear:qe().object,enter:qe().object,leave:qe().object,children:qe().oneOfType([qe().array,qe().element]),component:qe().any},ur.defaultProps={component:"span"};var sr=Zt;function lr(e){return(lr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return pr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pr(e,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 pr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function dr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dr(Object(r),!0).forEach((function(t){mr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function mr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function vr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gr(e,t){return(gr=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function br(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xr(e);if(t){var i=xr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wr(this,r)}}function wr(e,t){return!t||"object"!==lr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xr(e){return(xr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Er(e){return B()(e)&&J(e[0])&&J(e[1])?e.join(" ~ "):e}var Ir=function(e){!function(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&&gr(e,t)}(a,e);var t,r,n,i=br(a);function a(){return vr(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderContent",value:function(){var e=this.props,t=e.payload,r=e.separator,n=e.formatter,i=e.itemStyle,a=e.itemSorter;if(t&&t.length){var c=(a?be()(t,a):t).map((function(e,a){if("none"===e.type)return null;var c=hr({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},i),u=e.formatter||n||Er,s=e.name,l=e.value;if(u){var f=u(l,s,e,a,t);if(Array.isArray(f)){var p=fr(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},J(s)?o.createElement("span",{className:"recharts-tooltip-item-name"},s):null,J(s)?o.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,o.createElement("span",{className:"recharts-tooltip-item-value"},l),o.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return o.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},c)}return null}},{key:"render",value:function(){var e=this.props,t=e.wrapperClassName,r=e.contentStyle,n=e.labelClassName,i=e.labelStyle,a=e.label,c=e.labelFormatter,u=e.payload,s=hr({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},r),l=hr({margin:0},i),f=!Ie()(a),p=f?a:"",d=P()("recharts-default-tooltip",t),h=P()("recharts-tooltip-label",n);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())}}])&&yr(t.prototype,r),n&&yr(t,n),a}(o.PureComponent);Ir.displayName="DefaultTooltipContent",Ir.defaultProps={separator:" : ",contentStyle:{},itemStyle:{},labelStyle:{}};var Sr={isSsr:!("undefined"!=typeof window&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return Sr[e]},set:function(e,t){if("string"==typeof e)Sr[e]=t;else{var r=Object.keys(e);r&&r.length&&r.forEach((function(t){Sr[t]=e[t]}))}}};function Mr(e){return(Mr="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Or(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Or(Object(r),!0).forEach((function(t){jr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Or(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function jr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ar(e,t){return(Ar=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _r(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Nr(e);if(t){var i=Nr(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Pr(this,r)}}function Pr(e,t){return!t||"object"!==Mr(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Nr(e){return(Nr=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Cr="recharts-tooltip-wrapper";function Lr(e){return e.dataKey}var Rr=function(e){!function(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&&Ar(e,t)}(a,e);var t,r,n,i=_r(a);function a(){var e;Tr(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={boxWidth:-1,boxHeight:-1},e.wrapperNode=void 0,e.getTranslate=function(t){var r=t.key,n=t.tooltipDimension,i=t.viewBoxDimension,o=e.props,a=o.allowEscapeViewBox,c=o.coordinate,u=o.offset,s=o.position,l=o.viewBox;if(s&&V(s[r]))return s[r];var f=c[r]-n-u,p=c[r]+u;return a[r]?p:c[r]+n+u>l[r]+i?Math.max(f,l[r]):Math.max(p,l[r])},e}return t=a,(r=[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var n=this.wrapperNode.getBoundingClientRect();(Math.abs(n.width-t)>1||Math.abs(n.height-r)>1)&&this.setState({boxWidth:n.width,boxHeight:n.height})}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1})}},{key:"render",value:function(){var e,t,r,n=this,i=this.props,a=i.payload,c=i.isAnimationActive,u=i.animationDuration,s=i.animationEasing,l=i.filterNull,f=function(e,t){return!0===e?Ge()(t,Lr):me()(e)?Ge()(t,e):t}(i.payloadUniqBy,l&&a&&a.length?a.filter((function(e){return!Ie()(e.value)})):a),p=f&&f.length,d=this.props,h=d.content,m=d.viewBox,v=d.coordinate,y=d.position,g=d.active,b=kr({pointerEvents:"none",visibility:g&&p?"visible":"hidden",position:"absolute",top:0,left:0},d.wrapperStyle);if(y&&V(y.x)&&V(y.y))t=y.x,r=y.y;else{var w=this.state,x=w.boxWidth,E=w.boxHeight;x>0&&E>0&&v?(t=this.getTranslate({key:"x",tooltipDimension:x,viewBoxDimension:m.width}),r=this.getTranslate({key:"y",tooltipDimension:E,viewBoxDimension:m.height})):b.visibility="hidden"}b=kr(kr({},ct({transform:this.props.useTranslate3d?"translate3d(".concat(t,"px, ").concat(r,"px, 0)"):"translate(".concat(t,"px, ").concat(r,"px)")})),b),c&&g&&(b=kr(kr({},ct({transition:"transform ".concat(u,"ms ").concat(s)})),b));var I=P()(Cr,(jr(e={},"".concat(Cr,"-right"),V(t)&&v&&V(v.x)&&t>=v.x),jr(e,"".concat(Cr,"-left"),V(t)&&v&&V(v.x)&&t<v.x),jr(e,"".concat(Cr,"-bottom"),V(r)&&v&&V(v.y)&&r>=v.y),jr(e,"".concat(Cr,"-top"),V(r)&&v&&V(v.y)&&r<v.y),e));return o.createElement("div",{className:I,style:b,ref:function(e){n.wrapperNode=e}},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?o.createElement(e,t):o.createElement(Ir,t)}(h,kr(kr({},this.props),{},{payload:f})))}}])&&Dr(t.prototype,r),n&&Dr(t,n),a}(o.PureComponent);Rr.displayName="Tooltip",Rr.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:!Sr.isSsr,animationEasing:"ease",animationDuration:400,filterNull:!0,useTranslate3d:!1};var Br=r(21528),Ur=r.n(Br),zr=(Math.abs,Math.atan2,Math.cos,Math.max,Math.min,Math.sin,Math.sqrt,Math.PI),Hr=2*zr;var Gr={draw:function(e,t){var r=Math.sqrt(t/zr);e.moveTo(r,0),e.arc(0,0,r,0,Hr)}},Wr={draw:function(e,t){var r=Math.sqrt(t/5)/2;e.moveTo(-3*r,-r),e.lineTo(-r,-r),e.lineTo(-r,-3*r),e.lineTo(r,-3*r),e.lineTo(r,-r),e.lineTo(3*r,-r),e.lineTo(3*r,r),e.lineTo(r,r),e.lineTo(r,3*r),e.lineTo(-r,3*r),e.lineTo(-r,r),e.lineTo(-3*r,r),e.closePath()}},qr=Math.sqrt(1/3),Zr=2*qr,Fr={draw:function(e,t){var r=Math.sqrt(t/Zr),n=r*qr;e.moveTo(0,-r),e.lineTo(n,0),e.lineTo(0,r),e.lineTo(-n,0),e.closePath()}},Vr={draw:function(e,t){var r=Math.sqrt(t),n=-r/2;e.rect(n,n,r,r)}},Jr=Math.sin(zr/10)/Math.sin(7*zr/10),Yr=Math.sin(Hr/10)*Jr,Xr=-Math.cos(Hr/10)*Jr,Qr={draw:function(e,t){var r=Math.sqrt(.8908130915292852*t),n=Yr*r,i=Xr*r;e.moveTo(0,-r),e.lineTo(n,i);for(var o=1;o<5;++o){var a=Hr*o/5,c=Math.cos(a),u=Math.sin(a);e.lineTo(u*r,-c*r),e.lineTo(c*n-u*i,u*n+c*i)}e.closePath()}},$r=Math.sqrt(3),Kr={draw:function(e,t){var r=-Math.sqrt(t/(3*$r));e.moveTo(0,2*r),e.lineTo(-$r*r,-r),e.lineTo($r*r,-r),e.closePath()}},en=-.5,tn=Math.sqrt(3)/2,rn=1/Math.sqrt(12),nn=3*(rn/2+1),on={draw:function(e,t){var r=Math.sqrt(t/nn),n=r/2,i=r*rn,o=n,a=r*rn+r,c=-o,u=a;e.moveTo(n,i),e.lineTo(o,a),e.lineTo(c,u),e.lineTo(en*n-tn*i,tn*n+en*i),e.lineTo(en*o-tn*a,tn*o+en*a),e.lineTo(en*c-tn*u,tn*c+en*u),e.lineTo(en*n+tn*i,en*i-tn*n),e.lineTo(en*o+tn*a,en*a-tn*o),e.lineTo(en*c+tn*u,en*u-tn*c),e.closePath()}};const an=Math.PI,cn=2*an,un=1e-6,sn=cn-un;function ln(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function fn(){return new ln}ln.prototype=fn.prototype={constructor:ln,moveTo:function(e,t){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(e,t){this._+="L"+(this._x1=+e)+","+(this._y1=+t)},quadraticCurveTo:function(e,t,r,n){this._+="Q"+ +e+","+ +t+","+(this._x1=+r)+","+(this._y1=+n)},bezierCurveTo:function(e,t,r,n,i,o){this._+="C"+ +e+","+ +t+","+ +r+","+ +n+","+(this._x1=+i)+","+(this._y1=+o)},arcTo:function(e,t,r,n,i){e=+e,t=+t,r=+r,n=+n,i=+i;var o=this._x1,a=this._y1,c=r-e,u=n-t,s=o-e,l=a-t,f=s*s+l*l;if(i<0)throw new Error("negative radius: "+i);if(null===this._x1)this._+="M"+(this._x1=e)+","+(this._y1=t);else if(f>un)if(Math.abs(l*c-u*s)>un&&i){var p=r-o,d=n-a,h=c*c+u*u,m=p*p+d*d,v=Math.sqrt(h),y=Math.sqrt(f),g=i*Math.tan((an-Math.acos((h+f-m)/(2*v*y)))/2),b=g/y,w=g/v;Math.abs(b-1)>un&&(this._+="L"+(e+b*s)+","+(t+b*l)),this._+="A"+i+","+i+",0,0,"+ +(l*p>s*d)+","+(this._x1=e+w*c)+","+(this._y1=t+w*u)}else this._+="L"+(this._x1=e)+","+(this._y1=t);else;},arc:function(e,t,r,n,i,o){e=+e,t=+t,o=!!o;var a=(r=+r)*Math.cos(n),c=r*Math.sin(n),u=e+a,s=t+c,l=1^o,f=o?n-i:i-n;if(r<0)throw new Error("negative radius: "+r);null===this._x1?this._+="M"+u+","+s:(Math.abs(this._x1-u)>un||Math.abs(this._y1-s)>un)&&(this._+="L"+u+","+s),r&&(f<0&&(f=f%cn+cn),f>sn?this._+="A"+r+","+r+",0,1,"+l+","+(e-a)+","+(t-c)+"A"+r+","+r+",0,1,"+l+","+(this._x1=u)+","+(this._y1=s):f>un&&(this._+="A"+r+","+r+",0,"+ +(f>=an)+","+l+","+(this._x1=e+r*Math.cos(i))+","+(this._y1=t+r*Math.sin(i))))},rect:function(e,t,r,n){this._+="M"+(this._x0=this._x1=+e)+","+(this._y0=this._y1=+t)+"h"+ +r+"v"+ +n+"h"+-r+"Z"},toString:function(){return this._}};var pn=fn;function dn(e){return function(){return e}}function hn(e){return(hn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function mn(){return(mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function yn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function gn(e,t){return(gn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bn(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=xn(e);if(t){var i=xn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return wn(this,r)}}function wn(e,t){return!t||"object"!==hn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xn(e){return(xn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var En={symbolCircle:Gr,symbolCross:Wr,symbolDiamond:Fr,symbolSquare:Vr,symbolStar:Qr,symbolTriangle:Kr,symbolWye:on},In=Math.PI/180,Sn=function(e){!function(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&&gn(e,t)}(a,e);var t,r,n,i=bn(a);function a(){return vn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e=this.props,t=e.size,r=e.sizeType,n=e.type,i=function(e){var t="symbol".concat(Ur()(e));return En[t]||Gr}(n);return function(e,t){var r=null;function n(){var n;if(r||(r=n=pn()),e.apply(this,arguments).draw(r,+t.apply(this,arguments)),n)return r=null,n+""||null}return e="function"==typeof e?e:dn(e||Gr),t="function"==typeof t?t:dn(void 0===t?64:+t),n.type=function(t){return arguments.length?(e="function"==typeof t?t:dn(t),n):e},n.size=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),n):t},n.context=function(e){return arguments.length?(r=null==e?null:e,n):r},n}().type(i).size(function(e,t,r){if("area"===t)return e;switch(r){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var n=18*In;return 1.25*e*e*(Math.tan(n)-Math.tan(2*n)*Math.pow(Math.tan(n),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(t,r,n))()}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.cx,n=e.cy,i=e.size;return r===+r&&n===+n&&i===+i?o.createElement("path",mn({},_e(this.props,!0),{className:P()("recharts-symbols",t),transform:"translate(".concat(r,", ").concat(n,")"),d:this.getPath()})):null}}])&&yn(t.prototype,r),n&&yn(t,n),a}(o.PureComponent);function Mn(e){return(Mn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function On(){return(On=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function kn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function jn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function An(e,t){return(An=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _n(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Nn(e);if(t){var i=Nn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Pn(this,r)}}function Pn(e,t){return!t||"object"!==Mn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Nn(e){return(Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Sn.defaultProps={type:"circle",size:64,sizeType:"area"},Sn.registerSymbol=function(e,t){En["symbol".concat(Ur()(e))]=t};var Cn=32,Ln=function(e){!function(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&&An(e,t)}(a,e);var t,r,n,i=_n(a);function a(){return Tn(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,n=Cn/6,i=Cn/3,a=e.inactive?t:e.color;if("plainline"===e.type)return o.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:Cn,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return o.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n A").concat(n,",").concat(n,",0,1,1,").concat(2*i,",").concat(r,"\n H").concat(Cn,"M").concat(2*i,",").concat(r,"\n A").concat(n,",").concat(n,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return o.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(Cn,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(o.isValidElement(e.legendIcon)){var c=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?kn(Object(r),!0).forEach((function(t){jn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):kn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},e);return delete c.legendIcon,o.cloneElement(e.legendIcon,c)}return o.createElement(Sn,{fill:a,cx:r,cy:r,size:Cn,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,n=t.iconSize,i=t.layout,a=t.formatter,c=t.inactiveColor,u={x:0,y:0,width:Cn,height:Cn},s={display:"horizontal"===i?"inline-block":"block",marginRight:10},l={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i,f=t.formatter||a,p=P()((jn(i={"recharts-legend-item":!0},"legend-item-".concat(r),!0),jn(i,"inactive",t.inactive),i));if("none"===t.type)return null;var d=t.inactive?c:t.color;return o.createElement("li",On({className:p,style:s,key:"legend-item-".concat(r)},Ne(e.props,t,r)),o.createElement(Re,{width:n,height:n,viewBox:u,style:l},e.renderIcon(t)),o.createElement("span",{className:"recharts-legend-item-text",style:{color:d}},f?f(t.value,t,r):t.value))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,n=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?n:"left"};return o.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])&&Dn(t.prototype,r),n&&Dn(t,n),a}(o.PureComponent);function Rn(e){return(Rn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Bn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Un(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Bn(Object(r),!0).forEach((function(t){zn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Bn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Hn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gn(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wn(e,t){return(Wn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qn(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fn(e);if(t){var i=Fn(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Zn(this,r)}}function Zn(e,t){return!t||"object"!==Rn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fn(e){return(Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function Vn(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Jn(e){return e.value}function Yn(e,t){return!0===e?Ge()(t,Jn):me()(e)?Ge()(t,e):t}Ln.displayName="Legend",Ln.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"};var Xn=function(e){!function(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&&Wn(e,t)}(a,e);var t,r,n,i=qn(a);function a(){var e;Hn(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).wrapperNode=void 0,e.state={boxWidth:-1,boxHeight:-1},e}return t=a,n=[{key:"getWithHeight",value:function(e,t){var r=e.props.layout;return"vertical"===r&&V(e.props.height)?{height:e.props.height}:"horizontal"===r?{width:e.props.width||t}:null}}],(r=[{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 e=this.state,t=e.boxWidth,r=e.boxHeight;return t>=0&&r>=0?{width:t,height:r}:null}},{key:"getDefaultPosition",value:function(e){var t,r,n=this.props,i=n.layout,o=n.align,a=n.verticalAlign,c=n.margin,u=n.chartWidth,s=n.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="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}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(r="middle"===a?{top:((s||0)-(this.getBBoxSnapshot()||{height:0}).height)/2}:"bottom"===a?{bottom:c&&c.bottom||0}:{top:c&&c.top||0}),Un(Un({},t),r)}},{key:"updateBBox",value:function(){var e=this.state,t=e.boxWidth,r=e.boxHeight,n=this.props.onBBoxUpdate;if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var i=this.wrapperNode.getBoundingClientRect();(Math.abs(i.width-t)>1||Math.abs(i.height-r)>1)&&this.setState({boxWidth:i.width,boxHeight:i.height},(function(){n&&n(i)}))}else-1===t&&-1===r||this.setState({boxWidth:-1,boxHeight:-1},(function(){n&&n(null)}))}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,n=t.width,i=t.height,a=t.wrapperStyle,c=t.payloadUniqBy,u=t.payload,s=Un(Un({position:"absolute",width:n||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return o.createElement("div",{className:"recharts-legend-wrapper",style:s,ref:function(t){e.wrapperNode=t}},function(e,t){if(o.isValidElement(e))return o.cloneElement(e,t);if(me()(e))return o.createElement(e,t);t.ref;var r=Vn(t,["ref"]);return o.createElement(Ln,r)}(r,Un(Un({},this.props),{},{payload:Yn(c,u)})))}}])&&Gn(t.prototype,r),n&&Gn(t,n),a}(o.PureComponent);function Qn(){}function $n(e,t,r){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+r)/6)}function Kn(e){this._context=e}function ei(e){this._context=e}function ti(e){this._context=e}function ri(e){this._context=e}function ni(e){this._context=e}function ii(e){return new ni(e)}function oi(e){return e<0?-1:1}function ai(e,t,r){var n=e._x1-e._x0,i=t-e._x1,o=(e._y1-e._y0)/(n||i<0&&-0),a=(r-e._y1)/(i||n<0&&-0),c=(o*i+a*n)/(n+i);return(oi(o)+oi(a))*Math.min(Math.abs(o),Math.abs(a),.5*Math.abs(c))||0}function ci(e,t){var r=e._x1-e._x0;return r?(3*(e._y1-e._y0)/r-t)/2:t}function ui(e,t,r){var n=e._x0,i=e._y0,o=e._x1,a=e._y1,c=(o-n)/3;e._context.bezierCurveTo(n+c,i+c*t,o-c,a-c*r,o,a)}function si(e){this._context=e}function li(e){this._context=new fi(e)}function fi(e){this._context=e}function pi(e){this._context=e}function di(e){var t,r,n=e.length-1,i=new Array(n),o=new Array(n),a=new Array(n);for(i[0]=0,o[0]=2,a[0]=e[0]+2*e[1],t=1;t<n-1;++t)i[t]=1,o[t]=4,a[t]=4*e[t]+2*e[t+1];for(i[n-1]=2,o[n-1]=7,a[n-1]=8*e[n-1]+e[n],t=1;t<n;++t)r=i[t]/o[t-1],o[t]-=r,a[t]-=r*a[t-1];for(i[n-1]=a[n-1]/o[n-1],t=n-2;t>=0;--t)i[t]=(a[t]-i[t+1])/o[t];for(o[n-1]=(e[n]+i[n-1])/2,t=0;t<n-1;++t)o[t]=2*e[t+1]-i[t+1];return[i,o]}function hi(e,t){this._context=e,this._t=t}Xn.displayName="Legend",Xn.defaultProps={iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"},Kn.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:$n(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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);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:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ei.prototype={areaStart:Qn,areaEnd:Qn,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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ti.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var r=(this._x0+4*this._x1+e)/6,n=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(r,n):this._context.moveTo(r,n);break;case 3:this._point=4;default:$n(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},ri.prototype={areaStart:Qn,areaEnd:Qn,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},ni.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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}},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(e,t){var r=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,ui(this,ci(this,r=ai(this,e,t)),r);break;default:ui(this,this._t0,r=ai(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=r}}},(li.prototype=Object.create(si.prototype)).point=function(e,t){si.prototype.point.call(this,t,e)},fi.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,r,n,i,o){this._context.bezierCurveTo(t,e,n,r,o,i)}},pi.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,r=e.length;if(r)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===r)this._context.lineTo(e[1],t[1]);else for(var n=di(e),i=di(t),o=0,a=1;a<r;++o,++a)this._context.bezierCurveTo(n[0][o],i[0][o],n[1][o],i[1][o],e[a],t[a]);(this._line||0!==this._line&&1===r)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},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(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var r=this._x*(1-this._t)+e*this._t;this._context.lineTo(r,this._y),this._context.lineTo(r,t)}}this._x=e,this._y=t}};Array.prototype.slice;function mi(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function vi(e){return e[0]}function yi(e){return e[1]}function gi(e,t){var r=dn(!0),n=null,i=ii,o=null;function a(a){var c,u,s,l=(a=mi(a)).length,f=!1;for(null==n&&(o=i(s=pn())),c=0;c<=l;++c)!(c<l&&r(u=a[c],c,a))===f&&((f=!f)?o.lineStart():o.lineEnd()),f&&o.point(+e(u,c,a),+t(u,c,a));if(s)return o=null,s+""||null}return e="function"==typeof e?e:void 0===e?vi:dn(e),t="function"==typeof t?t:void 0===t?yi:dn(t),a.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),a):e},a.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),a):t},a.defined=function(e){return arguments.length?(r="function"==typeof e?e:dn(!!e),a):r},a.curve=function(e){return arguments.length?(i=e,null!=n&&(o=i(n)),a):i},a.context=function(e){return arguments.length?(null==e?n=o=null:o=i(n=e),a):n},a}function bi(e,t,r){var n=null,i=dn(!0),o=null,a=ii,c=null;function u(u){var s,l,f,p,d,h=(u=mi(u)).length,m=!1,v=new Array(h),y=new Array(h);for(null==o&&(c=a(d=pn())),s=0;s<=h;++s){if(!(s<h&&i(p=u[s],s,u))===m)if(m=!m)l=s,c.areaStart(),c.lineStart();else{for(c.lineEnd(),c.lineStart(),f=s-1;f>=l;--f)c.point(v[f],y[f]);c.lineEnd(),c.areaEnd()}m&&(v[s]=+e(p,s,u),y[s]=+t(p,s,u),c.point(n?+n(p,s,u):v[s],r?+r(p,s,u):y[s]))}if(d)return c=null,d+""||null}function s(){return gi().defined(i).curve(a).context(o)}return e="function"==typeof e?e:void 0===e?vi:dn(+e),t="function"==typeof t?t:dn(void 0===t?0:+t),r="function"==typeof r?r:void 0===r?yi:dn(+r),u.x=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),n=null,u):e},u.x0=function(t){return arguments.length?(e="function"==typeof t?t:dn(+t),u):e},u.x1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:dn(+e),u):n},u.y=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),r=null,u):t},u.y0=function(e){return arguments.length?(t="function"==typeof e?e:dn(+e),u):t},u.y1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:dn(+e),u):r},u.lineX0=u.lineY0=function(){return s().x(e).y(t)},u.lineY1=function(){return s().x(e).y(r)},u.lineX1=function(){return s().x(n).y(t)},u.defined=function(e){return arguments.length?(i="function"==typeof e?e:dn(!!e),u):i},u.curve=function(e){return arguments.length?(a=e,null!=o&&(c=a(o)),u):a},u.context=function(e){return arguments.length?(null==e?o=c=null:c=a(o=e),u):o},u}function wi(e){return(wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function xi(){return(xi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ei(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ii(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ei(Object(r),!0).forEach((function(t){Si(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ei(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Si(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oi(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ki(e,t){return(ki=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ji(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Di(e);if(t){var i=Di(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Ti(this,r)}}function Ti(e,t){return!t||"object"!==wi(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Di(e){return(Di=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ai={curveBasisClosed:function(e){return new ei(e)},curveBasisOpen:function(e){return new ti(e)},curveBasis:function(e){return new Kn(e)},curveLinearClosed:function(e){return new ri(e)},curveLinear:ii,curveMonotoneX:function(e){return new si(e)},curveMonotoneY:function(e){return new li(e)},curveNatural:function(e){return new pi(e)},curveStep:function(e){return new hi(e,.5)},curveStepAfter:function(e){return new hi(e,1)},curveStepBefore:function(e){return new hi(e,0)}},_i=function(e){return e.x===+e.x&&e.y===+e.y},Pi=function(e){return e.x},Ni=function(e){return e.y},Ci=function(e){!function(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&&ki(e,t)}(a,e);var t,r,n,i=ji(a);function a(){return Mi(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"getPath",value:function(){var e,t=this.props,r=t.type,n=t.points,i=t.baseLine,o=t.layout,a=t.connectNulls,c=function(e,t){if(me()(e))return e;var r="curve".concat(Ur()(e));return"curveMonotone"===r&&t?Ai["".concat(r).concat("vertical"===t?"Y":"X")]:Ai[r]||ii}(r,o),u=a?n.filter((function(e){return _i(e)})):n;if(B()(i)){var s=a?i.filter((function(e){return _i(e)})):i,l=u.map((function(e,t){return Ii(Ii({},e),{},{base:s[t]})}));return(e="vertical"===o?bi().y(Ni).x1(Pi).x0((function(e){return e.base.x})):bi().x(Pi).y1(Ni).y0((function(e){return e.base.y}))).defined(_i).curve(c),e(l)}return(e="vertical"===o&&V(i)?bi().y(Ni).x1(Pi).x0(i):V(i)?bi().x(Pi).y1(Ni).y0(i):gi().x(Pi).y(Ni)).defined(_i).curve(c),e(u)}},{key:"render",value:function(){var e=this.props,t=e.className,r=e.points,n=e.path,i=e.pathRef;if(!(r&&r.length||n))return null;var a=r&&r.length?this.getPath():n;return o.createElement("path",xi({},_e(this.props),Pe(this.props),{className:P()("recharts-curve",t),d:a,ref:i}))}}])&&Oi(t.prototype,r),n&&Oi(t,n),a}(o.PureComponent);function Li(e){return(Li="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Ri(){return(Ri=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Bi(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ui(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function zi(e,t){return(zi=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Hi(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Wi(e);if(t){var i=Wi(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Gi(this,r)}}function Gi(e,t){return!t||"object"!==Li(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Wi(e){return(Wi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}Ci.defaultProps={type:"linear",points:[],connectNulls:!1};var qi=function(e){!function(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&&zi(e,t)}(a,e);var t,r,n,i=Hi(a);function a(){return Bi(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getPath",value:function(e,t,r,n,i,o){return"M".concat(e,",").concat(i,"v").concat(n,"M").concat(o,",").concat(t,"h").concat(r)}}],(r=[{key:"render",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,c=e.top,u=e.left,s=e.className;return V(t)&&V(r)&&V(n)&&V(i)&&V(c)&&V(u)?o.createElement("path",Ri({},_e(this.props,!0),{className:P()("recharts-cross",s),d:a.getPath(t,r,n,i,c,u)})):null}}])&&Ui(t.prototype,r),n&&Ui(t,n),a}(o.PureComponent);function Zi(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Fi(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Zi(Object(r),!0).forEach((function(t){Vi(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Zi(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Vi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}qi.defaultProps={x:0,y:0,top:0,left:0,width:0,height:0};var Ji=Math.PI/180,Yi=function(e){return 180*e/Math.PI},Xi=function(e,t,r,n){return{x:e+Math.cos(-Ji*n)*r,y:t+Math.sin(-Ji*n)*r}},Qi=function(e,t){var r=e.x,n=e.y,i=t.cx,o=t.cy,a=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return Math.sqrt(Math.pow(r-i,2)+Math.pow(n-o,2))}({x:r,y:n},{x:i,y:o});if(a<=0)return{radius:a};var c=(r-i)/a,u=Math.acos(c);return n>o&&(u=2*Math.PI-u),{radius:a,angle:Yi(u),angleInRadian:u}},$i=function(e,t){var r=t.startAngle,n=t.endAngle,i=Math.floor(r/360),o=Math.floor(n/360);return e+360*Math.min(i,o)},Ki=function(e,t){var r=e.x,n=e.y,i=Qi({x:r,y:n},t),o=i.radius,a=i.angle,c=t.innerRadius,u=t.outerRadius;if(o<c||o>u)return!1;if(0===o)return!0;var s,l=function(e){var t=e.startAngle,r=e.endAngle,n=Math.floor(t/360),i=Math.floor(r/360),o=Math.min(n,i);return{startAngle:t-360*o,endAngle:r-360*o}}(t),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?Fi(Fi({},t),{},{radius:o,angle:$i(d,t)}):null};function eo(e){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function to(){return(to=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ro(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function no(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function io(e,t){return(io=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function oo(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=co(e);if(t){var i=co(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ao(this,r)}}function ao(e,t){return!t||"object"!==eo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function co(e){return(co=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var uo=function(e){var t=e.cx,r=e.cy,n=e.radius,i=e.angle,o=e.sign,a=e.isExternal,c=e.cornerRadius,u=e.cornerIsExternal,s=c*(a?1:-1)+n,l=Math.asin(c/s)/Ji,f=u?i:i+o*l,p=u?i-o*l:i;return{center:Xi(t,r,s,f),circleTangency:Xi(t,r,n,f),lineTangency:Xi(t,r,s*Math.cos(l*Ji),p),theta:l}},so=function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.startAngle,a=function(e,t){return Z(t-e)*Math.min(Math.abs(t-e),359.999)}(o,e.endAngle),c=o+a,u=Xi(t,r,i,o),s=Xi(t,r,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(n>0){var f=Xi(t,r,n,o),p=Xi(t,r,n,c);l+="L ".concat(p.x,",").concat(p.y,"\n A ").concat(n,",").concat(n,",0,\n ").concat(+(Math.abs(a)>180),",").concat(+(o<=c),",\n ").concat(f.x,",").concat(f.y," Z")}else l+="L ".concat(t,",").concat(r," Z");return l},lo=function(e){!function(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&&io(e,t)}(a,e);var t,r,n,i=oo(a);function a(){return ro(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,a=e.cornerRadius,c=e.forceCornerRadius,u=e.cornerIsExternal,s=e.startAngle,l=e.endAngle,f=e.className;if(i<n||s===l)return null;var p,d=P()("recharts-sector",f),h=i-n,m=Q(a,h,0,!0);return p=m>0&&Math.abs(s-l)<360?function(e){var t=e.cx,r=e.cy,n=e.innerRadius,i=e.outerRadius,o=e.cornerRadius,a=e.forceCornerRadius,c=e.cornerIsExternal,u=e.startAngle,s=e.endAngle,l=Z(s-u),f=uo({cx:t,cy:r,radius:i,angle:u,sign:l,cornerRadius:o,cornerIsExternal:c}),p=f.circleTangency,d=f.lineTangency,h=f.theta,m=uo({cx:t,cy:r,radius:i,angle:s,sign:-l,cornerRadius:o,cornerIsExternal:c}),v=m.circleTangency,y=m.lineTangency,g=m.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:t,cy:r,innerRadius:n,outerRadius:i,startAngle:u,endAngle:s});var w="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(v.x,",").concat(v.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(y.x,",").concat(y.y,"\n ");if(n>0){var x=uo({cx:t,cy:r,radius:n,angle:u,sign:l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),E=x.circleTangency,I=x.lineTangency,S=x.theta,M=uo({cx:t,cy:r,radius:n,angle:s,sign:-l,isExternal:!0,cornerRadius:o,cornerIsExternal:c}),O=M.circleTangency,k=M.lineTangency,j=M.theta,T=c?Math.abs(u-s):Math.abs(u-s)-S-j;if(T<0&&0===o)return"".concat(w,"L").concat(t,",").concat(r,"Z");w+="L".concat(k.x,",").concat(k.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(O.x,",").concat(O.y,"\n A").concat(n,",").concat(n,",0,").concat(+(T>180),",").concat(+(l>0),",").concat(E.x,",").concat(E.y,"\n A").concat(o,",").concat(o,",0,0,").concat(+(l<0),",").concat(I.x,",").concat(I.y,"Z")}else w+="L".concat(t,",").concat(r,"Z");return w}({cx:t,cy:r,innerRadius:n,outerRadius:i,cornerRadius:Math.min(m,h/2),forceCornerRadius:c,cornerIsExternal:u,startAngle:s,endAngle:l}):so({cx:t,cy:r,innerRadius:n,outerRadius:i,startAngle:s,endAngle:l}),o.createElement("path",to({},_e(this.props,!0),{className:d,d:p}))}}])&&no(t.prototype,r),n&&no(t,n),a}(o.PureComponent);function fo(e){return(fo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function po(){return(po=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ho(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function mo(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vo(e,t){return(vo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yo(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=bo(e);if(t){var i=bo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return go(this,r)}}function go(e,t){return!t||"object"!==fo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function bo(e){return(bo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}lo.defaultProps={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1};var wo=function(e){!function(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&&vo(e,t)}(a,e);var t,r,n,i=yo(a);function a(){return ho(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this.props,t=e.cx,r=e.cy,n=e.r,i=e.className,a=P()("recharts-dot",i);return t===+t&&r===+r&&n===+n?o.createElement("circle",po({},_e(this.props),Pe(this.props),{className:a,cx:t,cy:r,r:n})):null}}])&&mo(t.prototype,r),n&&mo(t,n),a}(o.PureComponent);function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Eo(){return(Eo=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Io(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function So(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Mo(e,t){return(Mo=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Oo(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=jo(e);if(t){var i=jo(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return ko(this,r)}}function ko(e,t){return!t||"object"!==xo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function jo(e){return(jo=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var To=function(e,t,r,n,i){var o,a=Math.min(Math.abs(r)/2,Math.abs(n)/2),c=n>=0?1:-1,u=r>=0?1:-1,s=n>=0&&r>=0||n<0&&r<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(e,",").concat(t+c*l[0]),l[0]>0&&(o+="A ".concat(l[0],",").concat(l[0],",0,0,").concat(s,",").concat(e+u*l[0],",").concat(t)),o+="L ".concat(e+r-u*l[1],",").concat(t),l[1]>0&&(o+="A ".concat(l[1],",").concat(l[1],",0,0,").concat(s,",\n ").concat(e+r,",").concat(t+c*l[1])),o+="L ".concat(e+r,",").concat(t+n-c*l[2]),l[2]>0&&(o+="A ".concat(l[2],",").concat(l[2],",0,0,").concat(s,",\n ").concat(e+r-u*l[2],",").concat(t+n)),o+="L ".concat(e+u*l[3],",").concat(t+n),l[3]>0&&(o+="A ".concat(l[3],",").concat(l[3],",0,0,").concat(s,",\n ").concat(e,",").concat(t+n-c*l[3])),o+="Z"}else if(a>0&&i===+i&&i>0){var p=Math.min(a,i);o="M ".concat(e,",").concat(t+c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+u*p,",").concat(t,"\n L ").concat(e+r-u*p,",").concat(t,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r,",").concat(t+c*p,"\n L ").concat(e+r,",").concat(t+n-c*p,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e+r-u*p,",").concat(t+n,"\n L ").concat(e+u*p,",").concat(t+n,"\n A ").concat(p,",").concat(p,",0,0,").concat(s,",").concat(e,",").concat(t+n-c*p," Z")}else o="M ".concat(e,",").concat(t," h ").concat(r," v ").concat(n," h ").concat(-r," Z");return o},Do=function(e,t){if(!e||!t)return!1;var r=e.x,n=e.y,i=t.x,o=t.y,a=t.width,c=t.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 r>=u&&r<=s&&n>=l&&n<=f}return!1},Ao=function(e){!function(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&&Mo(e,t)}(a,e);var t,r,n,i=Oo(a);function a(){var e;Io(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={totalLength:-1},e.node=void 0,e}return t=a,(r=[{key:"componentDidMount",value:function(){if(this.node&&this.node.getTotalLength)try{var e=this.node.getTotalLength();e&&this.setState({totalLength:e})}catch(t){}}},{key:"render",value:function(){var e=this,t=this.props,r=t.x,n=t.y,i=t.width,a=t.height,c=t.radius,u=t.className,s=this.state.totalLength,l=this.props,f=l.animationEasing,p=l.animationDuration,d=l.animationBegin,h=l.isAnimationActive,m=l.isUpdateAnimationActive;if(r!==+r||n!==+n||i!==+i||a!==+a||0===i||0===a)return null;var v=P()("recharts-rectangle",u);return m?o.createElement(sr,{canBegin:s>0,from:{width:i,height:a,x:r,y:n},to:{width:i,height:a,x:r,y:n},duration:p,animationEasing:f,isActive:m},(function(t){var r=t.width,n=t.height,i=t.x,a=t.y;return o.createElement(sr,{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",Eo({},_e(e.props,!0),{className:v,d:To(i,a,r,n,c),ref:function(t){e.node=t}})))})):o.createElement("path",Eo({},_e(this.props,!0),{className:v,d:To(r,n,i,a,c)}))}}])&&So(t.prototype,r),n&&So(t,n),a}(o.PureComponent);Ao.defaultProps={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"};var _o=r(70418),Po=r.n(_o),No=r(32822);function Co(e,t){for(var r in e)if({}.hasOwnProperty.call(e,r)&&(!{}.hasOwnProperty.call(t,r)||e[r]!==t[r]))return!1;for(var n in t)if({}.hasOwnProperty.call(t,n)&&!{}.hasOwnProperty.call(e,n))return!1;return!0}function Lo(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}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"},Bo=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},Uo=function e(t,r){var n=[],i=[];return i=B()(r)?r.map((function(e){return Bo(e)})):[Bo(r)],o.Children.forEach(t,(function(t){(0,No.isFragment)(t)&&(n=n.concat(e(t.props.children,r)));var o=L()(t,"type.displayName")||L()(t,"type.name");-1!==i.indexOf(o)&&n.push(t)})),n},zo=function(e,t){var r=Uo(e,t);return r&&r[0]},Ho=function(e){if(!e||!e.props)return!1;var t=e.props,r=t.width,n=t.height;return!(!V(r)||r<=0||!V(n)||n<=0)},Go=["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"],Wo=function(e){return e&&e.type&&q()(e.type)&&Go.indexOf(e.type)>=0},qo=function e(t,r){if(t===r)return!0;if(o.Children.count(t)!==o.Children.count(r))return!1;var n=o.Children.count(t);if(0===n)return!0;if(1===n)return Zo(B()(t)?t[0]:t,B()(r)?r[0]:r);for(var i=0;i<n;i++){var a=t[i],c=r[i];if(B()(a)||B()(c)){if(!e(a,c))return!1}else if(!Zo(a,c))return!1}return!0},Zo=function(e,t){if(Ie()(e)&&Ie()(t))return!0;if(!Ie()(e)&&!Ie()(t)){var r=e.props||{},n=r.children,i=Lo(r,["children"]),o=t.props||{},a=o.children,c=Lo(o,["children"]);return n&&a?Co(i,c)&&qo(n,a):!n&&!a&&Co(i,c)}return!1},Fo=function(e,t){var r=[],n={};return o.Children.forEach(e,(function(e,i){if(Wo(e))r.push(e);else if(e){var o=Bo(e.type),a=t[o]||{},c=a.handler,u=a.once;if(c&&(!u||!n[o])){var s=c(e,o,i);r.push(s),n[o]=!0}}})),Po()(r).filter((function(e){return!Ie()(e)}))};function Vo(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jo(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Vo(Object(r),!0).forEach((function(t){Yo(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Vo(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Yo(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Xo(e){return function(e){if(Array.isArray(e))return Qo(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 Qo(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Qo(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 Qo(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var $o={widthCache:{},cacheCount:0},Ko={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},ea=["minWidth","maxWidth","width","minHeight","maxHeight","height","top","left","fontSize","lineHeight","padding","margin","paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom"],ta="recharts_measurement_span";var ra=function(e){return Object.keys(e).reduce((function(t,r){return"".concat(t).concat((n=r,n.split("").reduce((function(e,t){return t===t.toUpperCase()?[].concat(Xo(e),["-",t.toLowerCase()]):[].concat(Xo(e),[t])}),[]).join("")),":").concat(function(e,t){return ea.indexOf(e)>=0&&t===+t?"".concat(t,"px"):t}(r,e[r]),";");var n}),"")},na=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||Sr.isSsr)return{width:0,height:0};var r="".concat(e),n=ra(t),i="".concat(r,"-").concat(n);if($o.widthCache[i])return $o.widthCache[i];try{var o=document.getElementById(ta);o||((o=document.createElement("span")).setAttribute("id",ta),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var a=Jo(Jo({},Ko),t);Object.keys(a).map((function(e){return o.style[e]=a[e],e})),o.textContent=r;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=r(55502),oa=r.n(ia);function aa(e){return(aa="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ca(){return(ca=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function ua(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function sa(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function la(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function fa(e,t){return(fa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function pa(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=ha(e);if(t){var i=ha(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return da(this,r)}}function da(e,t){return!t||"object"!==aa(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ha(e){return(ha=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ma(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return va(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return va(e,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 va(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ya(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ga(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ya(Object(r),!0).forEach((function(t){ba(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ya(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ba(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wa=/[ \f\n\r\t\v\u2028\u2029]+/,xa=function(e){try{var t=[];return Ie()(e.children)||(t=e.breakAll?e.children.toString().split(""):e.children.toString().split(wa)),{wordsWithComputedWidth:t.map((function(t){return{word:t,width:na(t,e.style).width}})),spaceWidth:e.breakAll?0:na(" ",e.style).width}}catch(r){return null}},Ea=function(e){return[{words:Ie()(e)?[]:e.toString().split(wa)}]},Ia=function(e,t){if((e.width||e.scaleToFit)&&!Sr.isSsr&&t){var r=xa(e);return r?function(e,t,r,n,i){var o=V(e.maxLines),a=e.children,c=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var o=t.word,a=t.width,c=e[e.length-1];if(c&&(null==n||i||c.width+a+r<n))c.words.push(o),c.width+=a+r;else{var u={words:[o],width:a};e.push(u)}return e}),[])},u=c(t);if(!o)return u;for(var s,l=function(t){var r=a.slice(0,t),i=xa(ga(ga({},e),{},{children:r+"…"})).wordsWithComputedWidth,o=c(i);return[o.length>e.maxLines||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>n,o]},f=0,p=a.length-1,d=0;f<=p&&d<=a.length-1;){var h=Math.floor((f+p)/2),m=ma(l(h-1),2),v=m[0],y=m[1],g=ma(l(h),1)[0];if(v||g||(f=h+1),v&&g&&(p=h-1),!v&&g){s=y;break}d++}return s||u}(e,r.wordsWithComputedWidth,r.spaceWidth,e.width,e.scaleToFit):Ea(e.children)}return Ea(e.children)},Sa=function(e){!function(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&&fa(e,t)}(a,e);var t,r,n,i=pa(a);function a(){var e;sa(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){if(e.width!==t.prevWidth||e.scaleToFit!==t.prevScaleToFit||e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll){var r=e.children!==t.prevChildren||e.style!==t.prevStyle||e.breakAll!==t.prevBreakAll;return{prevWidth:e.width,prevScaleToFit:e.scaleToFit,prevChildren:e.children,prevStyle:e.style,wordsByLines:Ia(e,r)}}return null}}],(r=[{key:"render",value:function(){var e=this.props,t=e.dx,r=e.dy,n=e.textAnchor,i=e.verticalAnchor,a=e.scaleToFit,c=e.angle,u=e.lineHeight,s=e.capHeight,l=e.className,f=e.breakAll,p=ua(e,["dx","dy","textAnchor","verticalAnchor","scaleToFit","angle","lineHeight","capHeight","className","breakAll"]),d=this.state.wordsByLines;if(!J(p.x)||!J(p.y))return null;var h,m=p.x+(V(t)?t:0),v=p.y+(V(r)?r: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 y=[];if(a){var g=d[0].width,b=this.props.width;y.push("scale(".concat((V(b)?b/g:1)/g,")"))}return c&&y.push("rotate(".concat(c,", ").concat(m,", ").concat(v,")")),y.length&&(p.transform=y.join(" ")),o.createElement("text",ca({},_e(p,!0),{x:m,y:v,className:P()("recharts-text",l),textAnchor:n}),d.map((function(e,t){return o.createElement("tspan",{x:m,dy:0===t?h:u,key:t},e.words.join(f?"":" "))})))}}])&&la(t.prototype,r),n&&la(t,n),a}(o.Component);function Ma(e){return function(e){if(Array.isArray(e))return Oa(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 Oa(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Oa(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 Oa(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ka(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ja(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ka(Object(r),!0).forEach((function(t){Ta(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ka(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ta(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Da(){return(Da=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}Sa.defaultProps={x:0,y:0,lineHeight:"1em",capHeight:"0.71em",scaleToFit:!1,textAnchor:"start",verticalAnchor:"end"};var Aa=function(e,t,r){var n,i,a=e.position,c=e.viewBox,u=e.offset,s=e.className,l=c,f=l.cx,p=l.cy,d=l.innerRadius,h=l.outerRadius,m=l.startAngle,v=l.endAngle,y=l.clockWise,g=(d+h)/2,b=function(e,t){return Z(t-e)*Math.min(Math.abs(t-e),360)}(m,v),w=b>=0?1:-1;"insideStart"===a?(n=m+w*u,i=y):"insideEnd"===a?(n=v-w*u,i=!y):"end"===a&&(n=v+w*u,i=y),i=b<=0?i:!i;var x=Xi(f,p,g,n),E=Xi(f,p,g,n+359*(i?1:-1)),I="M".concat(x.x,",").concat(x.y,"\n A").concat(g,",").concat(g,",0,1,").concat(i?0:1,",\n ").concat(E.x,",").concat(E.y),S=Ie()(e.id)?X("recharts-radial-line-"):e.id;return o.createElement("text",Da({},r,{dominantBaseline:"central",className:P()("recharts-radial-bar-label",s)}),o.createElement("defs",null,o.createElement("path",{id:S,d:I})),o.createElement("textPath",{xlinkHref:"#".concat(S)},t))};function _a(e){var t,r=e.viewBox,n=e.position,i=e.value,a=e.children,c=e.content,u=e.className,s=void 0===u?"":u,l=e.textBreakAll;if(!r||Ie()(i)&&Ie()(a)&&!(0,o.isValidElement)(c)&&!me()(c))return null;if((0,o.isValidElement)(c))return(0,o.cloneElement)(c,e);if(me()(c)){if(t=(0,o.createElement)(c,e),(0,o.isValidElement)(t))return t}else t=function(e){var t=e.value,r=e.formatter,n=Ie()(e.children)?t:e.children;return me()(r)?r(n):n}(e);var f=function(e){return V(e.cx)}(r),p=_e(e,!0);if(f&&("insideStart"===n||"insideEnd"===n||"end"===n))return Aa(e,t,p);var d=f?function(e){var t=e.viewBox,r=e.offset,n=e.position,i=t,o=i.cx,a=i.cy,c=i.innerRadius,u=i.outerRadius,s=(i.startAngle+i.endAngle)/2;if("outside"===n){var l=Xi(o,a,u+r,s),f=l.x;return{x:f,y:l.y,textAnchor:f>=o?"start":"end",verticalAnchor:"middle"}}if("center"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===n)return{x:o,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===n)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"}}(e):function(e){var t=e.viewBox,r=e.parentViewBox,n=e.offset,i=e.position,o=t,a=o.x,c=o.y,u=o.width,s=o.height,l=s>=0?1:-1,f=l*n,p=l>0?"end":"start",d=l>0?"start":"end",h=u>=0?1:-1,m=h*n,v=h>0?"end":"start",y=h>0?"start":"end";if("top"===i)return ja(ja({},{x:a+u/2,y:c-l*n,textAnchor:"middle",verticalAnchor:p}),r?{height:Math.max(c-r.y,0),width:u}:{});if("bottom"===i)return ja(ja({},{x:a+u/2,y:c+s+f,textAnchor:"middle",verticalAnchor:d}),r?{height:Math.max(r.y+r.height-(c+s),0),width:u}:{});if("left"===i){var g={x:a-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"};return ja(ja({},g),r?{width:Math.max(g.x-r.x,0),height:s}:{})}if("right"===i){var b={x:a+u+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"};return ja(ja({},b),r?{width:Math.max(r.x+r.width-b.x,0),height:s}:{})}var w=r?{width:u,height:s}:{};return"insideLeft"===i?ja({x:a+m,y:c+s/2,textAnchor:y,verticalAnchor:"middle"},w):"insideRight"===i?ja({x:a+u-m,y:c+s/2,textAnchor:v,verticalAnchor:"middle"},w):"insideTop"===i?ja({x:a+u/2,y:c+f,textAnchor:"middle",verticalAnchor:d},w):"insideBottom"===i?ja({x:a+u/2,y:c+s-f,textAnchor:"middle",verticalAnchor:p},w):"insideTopLeft"===i?ja({x:a+m,y:c+f,textAnchor:y,verticalAnchor:d},w):"insideTopRight"===i?ja({x:a+u-m,y:c+f,textAnchor:v,verticalAnchor:d},w):"insideBottomLeft"===i?ja({x:a+m,y:c+s-f,textAnchor:y,verticalAnchor:p},w):"insideBottomRight"===i?ja({x:a+u-m,y:c+s-f,textAnchor:v,verticalAnchor:p},w):ke()(i)&&(V(i.x)||F(i.x))&&(V(i.y)||F(i.y))?ja({x:a+Q(i.x,u),y:c+Q(i.y,s),textAnchor:"end",verticalAnchor:"end"},w):ja({x:a+u/2,y:c+s/2,textAnchor:"middle",verticalAnchor:"middle"},w)}(e);return o.createElement(Sa,Da({className:P()("recharts-label",s)},p,d,{breakAll:l}),t)}_a.displayName="Label",_a.defaultProps={offset:5};var Pa=function(e){var t=e.cx,r=e.cy,n=e.angle,i=e.startAngle,o=e.endAngle,a=e.r,c=e.radius,u=e.innerRadius,s=e.outerRadius,l=e.x,f=e.y,p=e.top,d=e.left,h=e.width,m=e.height,v=e.clockWise,y=e.labelViewBox;if(y)return y;if(V(h)&&V(m)){if(V(l)&&V(f))return{x:l,y:f,width:h,height:m};if(V(p)&&V(d))return{x:p,y:d,width:h,height:m}}return V(l)&&V(f)?{x:l,y:f,width:0,height:0}:V(t)&&V(r)?{cx:t,cy:r,startAngle:i||n||0,endAngle:o||n||0,innerRadius:u||0,outerRadius:s||c||a||0,clockWise:v}:e.viewBox?e.viewBox:{}},Na=function(e,t){return e?!0===e?o.createElement(_a,{key:"label-implicit",viewBox:t}):J(e)?o.createElement(_a,{key:"label-implicit",viewBox:t,value:e}):(0,o.isValidElement)(e)?e.type===_a?(0,o.cloneElement)(e,{key:"label-implicit",viewBox:t}):o.createElement(_a,{key:"label-implicit",content:e,viewBox:t}):me()(e)?o.createElement(_a,{key:"label-implicit",content:e,viewBox:t}):ke()(e)?o.createElement(_a,Da({viewBox:t},e,{key:"label-implicit"})):null:null};function Ca(e){return(Ca="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function La(){return(La=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Ra(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ba(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ra(Object(r),!0).forEach((function(t){Ua(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ra(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ua(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function za(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function Ha(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ga(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Wa(e,t){return(Wa=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function qa(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Fa(e);if(t){var i=Fa(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return Za(this,r)}}function Za(e,t){return!t||"object"!==Ca(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function Fa(e){return(Fa=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}_a.parseViewBox=Pa,_a.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Pa(e),a=Uo(n,_a.displayName).map((function(e,r){return(0,o.cloneElement)(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return a;var c=Na(e.label,t||i);return[c].concat(Ma(a))};var Va=function(e){!function(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&&Wa(e,t)}(a,e);var t,r,n,i=qa(a);function a(){return Ha(this,a),i.apply(this,arguments)}return t=a,n=[{key:"getTicks",value:function(e){var t=e.tick,r=e.ticks,n=e.viewBox,i=e.minTickGap,o=e.orientation,c=e.interval,u=e.tickFormatter,s=e.unit;return r&&r.length&&t?V(c)||Sr.isSsr?a.getNumberIntervalTicks(r,"number"==typeof c&&V(c)?c:0):"preserveStartEnd"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s},!0):"preserveStart"===c?a.getTicksStart({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):a.getTicksEnd({ticks:r,tickFormatter:u,viewBox:n,orientation:o,minTickGap:i,unit:s}):[]}},{key:"getNumberIntervalTicks",value:function(e,t){return e.filter((function(e,r){return r%(t+1)==0}))}},{key:"getTicksStart",value:function(e,t){var r,n,i=e.ticks,o=e.tickFormatter,a=e.viewBox,c=e.orientation,u=e.minTickGap,s=e.unit,l=a.x,f=a.y,p=a.width,d=a.height,h="top"===c||"bottom"===c?"width":"height",m=(i||[]).slice(),v=s&&"width"===h?na(s)[h]:0,y=m.length,g=y>=2?Z(m[1].coordinate-m[0].coordinate):1;if(1===g?(r="width"===h?l:f,n="width"===h?l+p:f+d):(r="width"===h?l+p:f+d,n="width"===h?l:f),t){var b=i[y-1],w=me()(o)?o(b.value,y-1):b.value,x=na(w)[h]+v,E=g*(b.coordinate+g*x/2-n);m[y-1]=b=Ba(Ba({},b),{},{tickCoord:E>0?b.coordinate-E*g:b.coordinate}),g*(b.tickCoord-g*x/2-r)>=0&&g*(b.tickCoord+g*x/2-n)<=0&&(n=b.tickCoord-g*(x/2+u),m[y-1]=Ba(Ba({},b),{},{isShow:!0}))}for(var I=t?y-1:y,S=0;S<I;S++){var M=m[S],O=me()(o)?o(M.value,S):M.value,k=na(O)[h]+v;if(0===S){var j=g*(M.coordinate-g*k/2-r);m[S]=M=Ba(Ba({},M),{},{tickCoord:j<0?M.coordinate-j*g:M.coordinate})}else m[S]=M=Ba(Ba({},M),{},{tickCoord:M.coordinate});g*(M.tickCoord-g*k/2-r)>=0&&g*(M.tickCoord+g*k/2-n)<=0&&(r=M.tickCoord+g*(k/2+u),m[S]=Ba(Ba({},M),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"getTicksEnd",value:function(e){var t,r,n=e.ticks,i=e.tickFormatter,o=e.viewBox,a=e.orientation,c=e.minTickGap,u=e.unit,s=o.x,l=o.y,f=o.width,p=o.height,d="top"===a||"bottom"===a?"width":"height",h=u&&"width"===d?na(u)[d]:0,m=(n||[]).slice(),v=m.length,y=v>=2?Z(m[1].coordinate-m[0].coordinate):1;1===y?(t="width"===d?s:l,r="width"===d?s+f:l+p):(t="width"===d?s+f:l+p,r="width"===d?s:l);for(var g=v-1;g>=0;g--){var b=m[g],w=me()(i)?i(b.value,v-g-1):b.value,x=na(w)[d]+h;if(g===v-1){var E=y*(b.coordinate+y*x/2-r);m[g]=b=Ba(Ba({},b),{},{tickCoord:E>0?b.coordinate-E*y:b.coordinate})}else m[g]=b=Ba(Ba({},b),{},{tickCoord:b.coordinate});y*(b.tickCoord-y*x/2-t)>=0&&y*(b.tickCoord+y*x/2-r)<=0&&(r=b.tickCoord-y*(x/2+c),m[g]=Ba(Ba({},b),{},{isShow:!0}))}return m.filter((function(e){return e.isShow}))}},{key:"renderTickItem",value:function(e,t,r){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Sa,La({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}],(r=[{key:"shouldComponentUpdate",value:function(e){var t=e.viewBox,r=za(e,["viewBox"]),n=this.props,i=n.viewBox,o=za(n,["viewBox"]);return!Co(t,i)||!Co(r,o)}},{key:"getTickLineCoord",value:function(e){var t,r,n,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,m=c.tickMargin,v=h?-1:1,y=e.tickSize||d,g=V(e.tickCoord)?e.tickCoord:e.coordinate;switch(p){case"top":t=r=e.coordinate,a=(n=(i=s+ +!h*f)-v*y)-v*m,o=g;break;case"left":n=i=e.coordinate,o=(t=(r=u+ +!h*l)-v*y)-v*m,a=g;break;case"right":n=i=e.coordinate,o=(t=(r=u+ +h*l)+v*y)+v*m,a=g;break;default:t=r=e.coordinate,a=(n=(i=s+ +h*f)+v*y)+v*m,o=g}return{line:{x1:t,y1:n,x2:r,y2:i},tick:{x:o,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,r=t.orientation,n=t.mirror;switch(r){case"left":e=n?"start":"end";break;case"right":e=n?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,r=e.mirror,n="end";switch(t){case"left":case"right":n="middle";break;case"top":n=r?"start":"end";break;default:n=r?"end":"start"}return n}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.orientation,c=e.mirror,u=e.axisLine,s=Ba(Ba(Ba({},_e(this.props)),_e(u)),{},{fill:"none"});if("top"===a||"bottom"===a){var l=+("top"===a&&!c||"bottom"===a&&c);s=Ba(Ba({},s),{},{x1:t,y1:r+l*i,x2:t+n,y2:r+l*i})}else{var f=+("left"===a&&!c||"right"===a&&c);s=Ba(Ba({},s),{},{x1:t+f*n,y1:r,x2:t+f*n,y2:r+i})}return o.createElement("line",La({},s,{className:P()("recharts-cartesian-axis-line",L()(u,"className"))}))}},{key:"renderTicks",value:function(e){var t=this,r=this.props,n=r.tickLine,i=r.stroke,c=r.tick,u=r.tickFormatter,s=r.unit,l=a.getTicks(Ba(Ba({},this.props),{},{ticks:e})),f=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),d=_e(this.props),h=_e(c),m=Ba(Ba({},d),{},{fill:"none"},_e(n)),v=l.map((function(e,r){var v=t.getTickLineCoord(e),y=v.line,g=v.tick,b=Ba(Ba(Ba(Ba({textAnchor:f,verticalAnchor:p},d),{},{stroke:"none",fill:i},h),g),{},{index:r,payload:e,visibleTicksCount:l.length,tickFormatter:u});return o.createElement(ze,La({className:"recharts-cartesian-axis-tick",key:"tick-".concat(r)},Ne(t.props,e,r)),n&&o.createElement("line",La({},m,y,{className:P()("recharts-cartesian-axis-tick-line",L()(n,"className"))})),c&&a.renderTickItem(c,b,"".concat(me()(u)?u(e.value,r):e.value).concat(s||"")))}));return o.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var e=this.props,t=e.axisLine,r=e.width,n=e.height,i=e.ticksGenerator,a=e.className;if(e.hide)return null;var c=this.props,u=c.ticks,s=za(c,["ticks"]),l=u;return me()(i)&&(l=u&&u.length>0?i(this.props):i(s)),r<=0||n<=0||!l||!l.length?null:o.createElement(ze,{className:P()("recharts-cartesian-axis",a)},t&&this.renderAxisLine(),this.renderTicks(l),_a.renderCallByParent(this.props))}}])&&Ga(t.prototype,r),n&&Ga(t,n),a}(o.Component);function Ja(e,t,r){e=+e,t=+t,r=(i=arguments.length)<2?(t=e,e=0,1):i<3?1:+r;for(var n=-1,i=0|Math.max(0,Math.ceil((t-e)/r)),o=new Array(i);++n<i;)o[n]=e+n*r;return o}function Ya(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function Xa(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}Va.displayName="CartesianAxis",Va.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 e=new Map,t=[],r=[],n=Qa;function i(i){var o=i+"",a=e.get(o);if(!a){if(n!==Qa)return n;e.set(o,a=t.push(i))}return r[(a-1)%r.length]}return i.domain=function(r){if(!arguments.length)return t.slice();t=[],e=new Map;for(const n of r){const r=n+"";e.has(r)||e.set(r,t.push(n))}return i},i.range=function(e){return arguments.length?(r=Array.from(e),i):r.slice()},i.unknown=function(e){return arguments.length?(n=e,i):n},i.copy=function(){return $a(t,r).unknown(n)},Ya.apply(i,arguments),i}function Ka(){var e,t,r=$a().unknown(void 0),n=r.domain,i=r.range,o=0,a=1,c=!1,u=0,s=0,l=.5;function f(){var r=n().length,f=a<o,p=f?a:o,d=f?o:a;e=(d-p)/Math.max(1,r-u+2*s),c&&(e=Math.floor(e)),p+=(d-p-e*(r-u))*l,t=e*(1-u),c&&(p=Math.round(p),t=Math.round(t));var h=Ja(r).map((function(t){return p+e*t}));return i(f?h.reverse():h)}return delete r.unknown,r.domain=function(e){return arguments.length?(n(e),f()):n()},r.range=function(e){return arguments.length?([o,a]=e,o=+o,a=+a,f()):[o,a]},r.rangeRound=function(e){return[o,a]=e,o=+o,a=+a,c=!0,f()},r.bandwidth=function(){return t},r.step=function(){return e},r.round=function(e){return arguments.length?(c=!!e,f()):c},r.padding=function(e){return arguments.length?(u=Math.min(1,s=+e),f()):u},r.paddingInner=function(e){return arguments.length?(u=Math.min(1,e),f()):u},r.paddingOuter=function(e){return arguments.length?(s=+e,f()):s},r.align=function(e){return arguments.length?(l=Math.max(0,Math.min(1,e)),f()):l},r.copy=function(){return Ka(n(),[o,a]).round(c).paddingInner(u).paddingOuter(s).align(l)},Ya.apply(f(),arguments)}function ec(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return ec(t())},e}function tc(){return ec(Ka.apply(null,arguments).paddingInner(1))}var rc=r(60879),nc=r.n(rc),ic=r(11974),oc=r.n(ic),ac=r(33323),cc=r.n(ac),uc=r(41719),sc=r.n(uc),lc=r(26058),fc=r.n(lc);function pc(e){return function(e){if(Array.isArray(e))return dc(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 dc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dc(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 dc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var hc=function(e){return e},mc={"@@functional/placeholder":!0},vc=function(e){return e===mc},yc=function(e){return function t(){return 0===arguments.length||1===arguments.length&&vc(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},gc=function e(t,r){return 1===t?r:yc((function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];var a=i.filter((function(e){return e!==mc})).length;return a>=t?r.apply(void 0,i):e(t-a,yc((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var o=i.map((function(e){return vc(e)?t.shift():e}));return r.apply(void 0,pc(o).concat(t))})))}))},bc=function(e){return gc(e.length,e)},wc=function(e,t){for(var r=[],n=e;n<t;++n)r[n-e]=n;return r},xc=bc((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),Ec=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];if(!t.length)return hc;var n=t.reverse(),i=n[0],o=n.slice(1);return function(){return o.reduce((function(e,t){return t(e)}),i.apply(void 0,arguments))}},Ic=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},Sc=function(e){var t=null,r=null;return function(){for(var n=arguments.length,i=new Array(n),o=0;o<n;o++)i[o]=arguments[o];return t&&i.every((function(e,r){return e===t[r]}))?r:(t=i,r=e.apply(void 0,i))}};var Mc={rangeStep:function(e,t,r){for(var n=new(fc())(e),i=0,o=[];n.lt(t)&&i<1e5;)o.push(n.toNumber()),n=n.add(r),i++;return o},getDigitCount:function(e){return 0===e?1:Math.floor(new(fc())(e).abs().log(10).toNumber())+1},interpolateNumber:bc((function(e,t,r){var n=+e;return n+r*(+t-n)})),uninterpolateNumber:bc((function(e,t,r){var n=t-+e;return(r-e)/(n=n||1/0)})),uninterpolateTruncation:bc((function(e,t,r){var n=t-+e;return n=n||1/0,Math.max(0,Math.min(1,(r-e)/n))}))};function Oc(e){return function(e){if(Array.isArray(e))return Tc(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||jc(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 kc(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||jc(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 jc(e,t){if(e){if("string"==typeof e)return Tc(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Tc(e,t):void 0}}function Tc(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Dc(e){var t=kc(e,2),r=t[0],n=t[1],i=r,o=n;return r>n&&(i=n,o=r),[i,o]}function Ac(e,t,r){if(e.lte(0))return new(fc())(0);var n=Mc.getDigitCount(e.toNumber()),i=new(fc())(10).pow(n),o=e.div(i),a=1!==n?.05:.1,c=new(fc())(Math.ceil(o.div(a).toNumber())).add(r).mul(a).mul(i);return t?c:new(fc())(Math.ceil(c))}function _c(e,t,r){var n=1,i=new(fc())(e);if(!i.isint()&&r){var o=Math.abs(e);o<1?(n=new(fc())(10).pow(Mc.getDigitCount(e)-1),i=new(fc())(Math.floor(i.div(n).toNumber())).mul(n)):o>1&&(i=new(fc())(Math.floor(e)))}else 0===e?i=new(fc())(Math.floor((t-1)/2)):r||(i=new(fc())(Math.floor(e)));var a=Math.floor((t-1)/2);return Ec(xc((function(e){return i.add(new(fc())(e-a).mul(n)).toNumber()})),wc)(0,t)}function Pc(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(r-1)))return{step:new(fc())(0),tickMin:new(fc())(0),tickMax:new(fc())(0)};var o,a=Ac(new(fc())(t).sub(e).div(r-1),n,i);o=e<=0&&t>=0?new(fc())(0):(o=new(fc())(e).add(t).div(2)).sub(new(fc())(o).mod(a));var c=Math.ceil(o.sub(e).div(a).toNumber()),u=Math.ceil(new(fc())(t).sub(o).div(a).toNumber()),s=c+u+1;return s>r?Pc(e,t,r,n,i+1):(s<r&&(u=t>0?u+(r-s):u,c=t>0?c:c+(r-s)),{step:a,tickMin:o.sub(new(fc())(c).mul(a)),tickMax:o.add(new(fc())(u).mul(a))})}var Nc=Sc((function(e){var t=kc(e,2),r=t[0],n=t[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=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0){var f=l===1/0?[s].concat(Oc(wc(0,i-1).map((function(){return 1/0})))):[].concat(Oc(wc(0,i-1).map((function(){return-1/0}))),[l]);return r>n?Ic(f):f}if(s===l)return _c(s,i,o);var p=Pc(s,l,a,o),d=p.step,h=p.tickMin,m=p.tickMax,v=Mc.rangeStep(h,m.add(new(fc())(.1).mul(d)),d);return r>n?Ic(v):v})),Cc=(Sc((function(e){var t=kc(e,2),r=t[0],n=t[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=Dc([r,n]),u=kc(c,2),s=u[0],l=u[1];if(s===-1/0||l===1/0)return[r,n];if(s===l)return _c(s,i,o);var f=Ac(new(fc())(l).sub(s).div(a-1),o,0),p=Ec(xc((function(e){return new(fc())(s).add(new(fc())(e).mul(f)).toNumber()})),wc),d=p(0,a).filter((function(e){return e>=s&&e<=l}));return r>n?Ic(d):d})),Sc((function(e,t){var r=kc(e,2),n=r[0],i=r[1],o=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Dc([n,i]),c=kc(a,2),u=c[0],s=c[1];if(u===-1/0||s===1/0)return[n,i];if(u===s)return[u];var l=Math.max(t,2),f=Ac(new(fc())(s).sub(u).div(l-1),o,0),p=[].concat(Oc(Mc.rangeStep(new(fc())(u),new(fc())(s).sub(new(fc())(.99).mul(f)),f)),[s]);return n>i?Ic(p):p}))),Lc=Math.sqrt(50),Rc=Math.sqrt(10),Bc=Math.sqrt(2);function Uc(e,t,r){var n,i,o,a,c=-1;if(r=+r,(e=+e)===(t=+t)&&r>0)return[e];if((n=t<e)&&(i=e,e=t,t=i),0===(a=zc(e,t,r))||!isFinite(a))return[];if(a>0){let r=Math.round(e/a),n=Math.round(t/a);for(r*a<e&&++r,n*a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)*a}else{a=-a;let r=Math.round(e*a),n=Math.round(t*a);for(r/a<e&&++r,n/a>t&&--n,o=new Array(i=n-r+1);++c<i;)o[c]=(r+c)/a}return n&&o.reverse(),o}function zc(e,t,r){var n=(t-e)/Math.max(0,r),i=Math.floor(Math.log(n)/Math.LN10),o=n/Math.pow(10,i);return i>=0?(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)*Math.pow(10,i):-Math.pow(10,-i)/(o>=Lc?10:o>=Rc?5:o>=Bc?2:1)}function Hc(e,t,r){var n=Math.abs(t-e)/Math.max(0,r),i=Math.pow(10,Math.floor(Math.log(n)/Math.LN10)),o=n/i;return o>=Lc?i*=10:o>=Rc?i*=5:o>=Bc&&(i*=2),t<e?-i:i}function Gc(e,t){return e<t?-1:e>t?1:e>=t?0:NaN}function Wc(e){let t=e,r=e;function n(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)<0?n=o+1:i=o}return n}return 1===e.length&&(t=(t,r)=>e(t)-r,r=function(e){return(t,r)=>Gc(e(t),r)}(e)),{left:n,center:function(e,r,i,o){null==i&&(i=0),null==o&&(o=e.length);const a=n(e,r,i,o-1);return a>i&&t(e[a-1],r)>-t(e[a],r)?a-1:a},right:function(e,t,n,i){for(null==n&&(n=0),null==i&&(i=e.length);n<i;){const o=n+i>>>1;r(e[o],t)>0?i=o:n=o+1}return n}}}function qc(e){return null===e?NaN:+e}const Zc=Wc(Gc),Fc=Zc.right;Zc.left,Wc(qc).center;var Vc=Fc;function Jc(e,t,r){e.prototype=t.prototype=r,r.constructor=e}function Yc(e,t){var r=Object.create(e.prototype);for(var n in t)r[n]=t[n];return r}function Xc(){}var Qc=.7,$c=1/Qc,Kc="\\s*([+-]?\\d+)\\s*",eu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)\\s*",tu="\\s*([+-]?\\d*\\.?\\d+(?:[eE][+-]?\\d+)?)%\\s*",ru=/^#([0-9a-f]{3,8})$/,nu=new RegExp("^rgb\\("+[Kc,Kc,Kc]+"\\)$"),iu=new RegExp("^rgb\\("+[tu,tu,tu]+"\\)$"),ou=new RegExp("^rgba\\("+[Kc,Kc,Kc,eu]+"\\)$"),au=new RegExp("^rgba\\("+[tu,tu,tu,eu]+"\\)$"),cu=new RegExp("^hsl\\("+[eu,tu,tu]+"\\)$"),uu=new RegExp("^hsla\\("+[eu,tu,tu,eu]+"\\)$"),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(e){var t,r;return e=(e+"").trim().toLowerCase(),(t=ru.exec(e))?(r=t[1].length,t=parseInt(t[1],16),6===r?du(t):3===r?new yu(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===r?hu(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===r?hu(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=nu.exec(e))?new yu(t[1],t[2],t[3],1):(t=iu.exec(e))?new yu(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=ou.exec(e))?hu(t[1],t[2],t[3],t[4]):(t=au.exec(e))?hu(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=cu.exec(e))?xu(t[1],t[2]/100,t[3]/100,1):(t=uu.exec(e))?xu(t[1],t[2]/100,t[3]/100,t[4]):su.hasOwnProperty(e)?du(su[e]):"transparent"===e?new yu(NaN,NaN,NaN,0):null}function du(e){return new yu(e>>16&255,e>>8&255,255&e,1)}function hu(e,t,r,n){return n<=0&&(e=t=r=NaN),new yu(e,t,r,n)}function mu(e){return e instanceof Xc||(e=pu(e)),e?new yu((e=e.rgb()).r,e.g,e.b,e.opacity):new yu}function vu(e,t,r,n){return 1===arguments.length?mu(e):new yu(e,t,r,null==n?1:n)}function yu(e,t,r,n){this.r=+e,this.g=+t,this.b=+r,this.opacity=+n}function gu(){return"#"+wu(this.r)+wu(this.g)+wu(this.b)}function bu(){var e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"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===e?")":", "+e+")")}function wu(e){return((e=Math.max(0,Math.min(255,Math.round(e)||0)))<16?"0":"")+e.toString(16)}function xu(e,t,r,n){return n<=0?e=t=r=NaN:r<=0||r>=1?e=t=NaN:t<=0&&(e=NaN),new Iu(e,t,r,n)}function Eu(e){if(e instanceof Iu)return new Iu(e.h,e.s,e.l,e.opacity);if(e instanceof Xc||(e=pu(e)),!e)return new Iu;if(e instanceof Iu)return e;var t=(e=e.rgb()).r/255,r=e.g/255,n=e.b/255,i=Math.min(t,r,n),o=Math.max(t,r,n),a=NaN,c=o-i,u=(o+i)/2;return c?(a=t===o?(r-n)/c+6*(r<n):r===o?(n-t)/c+2:(t-r)/c+4,c/=u<.5?o+i:2-o-i,a*=60):c=u>0&&u<1?0:a,new Iu(a,c,u,e.opacity)}function Iu(e,t,r,n){this.h=+e,this.s=+t,this.l=+r,this.opacity=+n}function Su(e,t,r){return 255*(e<60?t+(r-t)*e/60:e<180?r:e<240?t+(r-t)*(240-e)/60:t)}function Mu(e,t,r,n,i){var o=e*e,a=o*e;return((1-3*e+3*o-a)*t+(4-6*o+3*a)*r+(1+3*e+3*o-3*a)*n+a*i)/6}Jc(Xc,pu,{copy:function(e){return Object.assign(new this.constructor,this,e)},displayable:function(){return this.rgb().displayable()},hex:lu,formatHex:lu,formatHsl:function(){return Eu(this).formatHsl()},formatRgb:fu,toString:fu}),Jc(yu,vu,Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new yu(this.r*e,this.g*e,this.b*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new yu(this.r*e,this.g*e,this.b*e,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})),Jc(Iu,(function(e,t,r,n){return 1===arguments.length?Eu(e):new Iu(e,t,r,null==n?1:n)}),Yc(Xc,{brighter:function(e){return e=null==e?$c:Math.pow($c,e),new Iu(this.h,this.s,this.l*e,this.opacity)},darker:function(e){return e=null==e?Qc:Math.pow(Qc,e),new Iu(this.h,this.s,this.l*e,this.opacity)},rgb:function(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,r=this.l,n=r+(r<.5?r:1-r)*t,i=2*r-n;return new yu(Su(e>=240?e-240:e+120,i,n),Su(e,i,n),Su(e<120?e+240:e-120,i,n),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 e=this.opacity;return(1===(e=isNaN(e)?1:Math.max(0,Math.min(1,e)))?"hsl(":"hsla(")+(this.h||0)+", "+100*(this.s||0)+"%, "+100*(this.l||0)+"%"+(1===e?")":", "+e+")")}}));var Ou=e=>()=>e;function ku(e,t){return function(r){return e+r*t}}function ju(e){return 1==(e=+e)?Tu:function(t,r){return r-t?function(e,t,r){return e=Math.pow(e,r),t=Math.pow(t,r)-e,r=1/r,function(n){return Math.pow(e+n*t,r)}}(t,r,e):Ou(isNaN(t)?r:t)}}function Tu(e,t){var r=t-e;return r?ku(e,r):Ou(isNaN(e)?t:e)}var Du=function e(t){var r=ju(t);function n(e,t){var n=r((e=vu(e)).r,(t=vu(t)).r),i=r(e.g,t.g),o=r(e.b,t.b),a=Tu(e.opacity,t.opacity);return function(t){return e.r=n(t),e.g=i(t),e.b=o(t),e.opacity=a(t),e+""}}return n.gamma=e,n}(1);function Au(e){return function(t){var r,n,i=t.length,o=new Array(i),a=new Array(i),c=new Array(i);for(r=0;r<i;++r)n=vu(t[r]),o[r]=n.r||0,a[r]=n.g||0,c[r]=n.b||0;return o=e(o),a=e(a),c=e(c),n.opacity=1,function(e){return n.r=o(e),n.g=a(e),n.b=c(e),n+""}}}Au((function(e){var t=e.length-1;return function(r){var n=r<=0?r=0:r>=1?(r=1,t-1):Math.floor(r*t),i=e[n],o=e[n+1],a=n>0?e[n-1]:2*i-o,c=n<t-1?e[n+2]:2*o-i;return Mu((r-n/t)*t,a,i,o,c)}})),Au((function(e){var t=e.length;return function(r){var n=Math.floor(((r%=1)<0?++r:r)*t),i=e[(n+t-1)%t],o=e[n%t],a=e[(n+1)%t],c=e[(n+2)%t];return Mu((r-n/t)*t,i,o,a,c)}}));function _u(e,t){var r,n=t?t.length:0,i=e?Math.min(n,e.length):0,o=new Array(i),a=new Array(n);for(r=0;r<i;++r)o[r]=zu(e[r],t[r]);for(;r<n;++r)a[r]=t[r];return function(e){for(r=0;r<i;++r)a[r]=o[r](e);return a}}function Pu(e,t){var r=new Date;return e=+e,t=+t,function(n){return r.setTime(e*(1-n)+t*n),r}}function Nu(e,t){return e=+e,t=+t,function(r){return e*(1-r)+t*r}}function Cu(e,t){var r,n={},i={};for(r in null!==e&&"object"==typeof e||(e={}),null!==t&&"object"==typeof t||(t={}),t)r in e?n[r]=zu(e[r],t[r]):i[r]=t[r];return function(e){for(r in n)i[r]=n[r](e);return i}}var Lu=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Ru=new RegExp(Lu.source,"g");function Bu(e,t){var r,n,i,o=Lu.lastIndex=Ru.lastIndex=0,a=-1,c=[],u=[];for(e+="",t+="";(r=Lu.exec(e))&&(n=Ru.exec(t));)(i=n.index)>o&&(i=t.slice(o,i),c[a]?c[a]+=i:c[++a]=i),(r=r[0])===(n=n[0])?c[a]?c[a]+=n:c[++a]=n:(c[++a]=null,u.push({i:a,x:Nu(r,n)})),o=Ru.lastIndex;return o<t.length&&(i=t.slice(o),c[a]?c[a]+=i:c[++a]=i),c.length<2?u[0]?function(e){return function(t){return e(t)+""}}(u[0].x):function(e){return function(){return e}}(t):(t=u.length,function(e){for(var r,n=0;n<t;++n)c[(r=u[n]).i]=r.x(e);return c.join("")})}function Uu(e,t){t||(t=[]);var r,n=e?Math.min(t.length,e.length):0,i=t.slice();return function(o){for(r=0;r<n;++r)i[r]=e[r]*(1-o)+t[r]*o;return i}}function zu(e,t){var r,n,i=typeof t;return null==t||"boolean"===i?Ou(t):("number"===i?Nu:"string"===i?(r=pu(t))?(t=r,Du):Bu:t instanceof pu?Du:t instanceof Date?Pu:(n=t,!ArrayBuffer.isView(n)||n instanceof DataView?Array.isArray(t)?_u:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?Cu:Nu:Uu))(e,t)}function Hu(e,t){return e=+e,t=+t,function(r){return Math.round(e*(1-r)+t*r)}}function Gu(e){return+e}var Wu=[0,1];function qu(e){return e}function Zu(e,t){return(t-=e=+e)?function(r){return(r-e)/t}:(r=isNaN(t)?NaN:.5,function(){return r});var r}function Fu(e,t,r){var n=e[0],i=e[1],o=t[0],a=t[1];return i<n?(n=Zu(i,n),o=r(a,o)):(n=Zu(n,i),o=r(o,a)),function(e){return o(n(e))}}function Vu(e,t,r){var n=Math.min(e.length,t.length)-1,i=new Array(n),o=new Array(n),a=-1;for(e[n]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<n;)i[a]=Zu(e[a],e[a+1]),o[a]=r(t[a],t[a+1]);return function(t){var r=Vc(e,t,1,n)-1;return o[r](i[r](t))}}function Ju(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function Yu(){var e,t,r,n,i,o,a=Wu,c=Wu,u=zu,s=qu;function l(){var e=Math.min(a.length,c.length);return s!==qu&&(s=function(e,t){var r;return e>t&&(r=e,e=t,t=r),function(r){return Math.max(e,Math.min(t,r))}}(a[0],a[e-1])),n=e>2?Vu:Fu,i=o=null,f}function f(t){return null==t||isNaN(t=+t)?r:(i||(i=n(a.map(e),c,u)))(e(s(t)))}return f.invert=function(r){return s(t((o||(o=n(c,a.map(e),Nu)))(r)))},f.domain=function(e){return arguments.length?(a=Array.from(e,Gu),l()):a.slice()},f.range=function(e){return arguments.length?(c=Array.from(e),l()):c.slice()},f.rangeRound=function(e){return c=Array.from(e),u=Hu,l()},f.clamp=function(e){return arguments.length?(s=!!e||qu,l()):s!==qu},f.interpolate=function(e){return arguments.length?(u=e,l()):u},f.unknown=function(e){return arguments.length?(r=e,f):r},function(r,n){return e=r,t=n,l()}}function Xu(){return Yu()(qu,qu)}var Qu,$u=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ku(e){if(!(t=$u.exec(e)))throw new Error("invalid format: "+e);var t;return new es({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function es(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function ts(e,t){if((r=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var r,n=e.slice(0,r);return[n.length>1?n[0]+n.slice(2):n,+e.slice(r+1)]}function rs(e){return(e=ts(Math.abs(e)))?e[1]:NaN}function ns(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1];return i<0?"0."+new Array(-i).join("0")+n:n.length>i+1?n.slice(0,i+1)+"."+n.slice(i+1):n+new Array(i-n.length+2).join("0")}Ku.prototype=es.prototype,es.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={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>ns(100*e,t),r:ns,s:function(e,t){var r=ts(e,t);if(!r)return e+"";var n=r[0],i=r[1],o=i-(Qu=3*Math.max(-8,Math.min(8,Math.floor(i/3))))+1,a=n.length;return o===a?n:o>a?n+new Array(o-a+1).join("0"):o>0?n.slice(0,o)+"."+n.slice(o):"0."+new Array(1-o).join("0")+ts(e,Math.max(0,t+o-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function os(e){return e}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(e){var t,r,n=void 0===e.grouping||void 0===e.thousands?os:(t=ss.call(e.grouping,Number),r=e.thousands+"",function(e,n){for(var i=e.length,o=[],a=0,c=t[0],u=0;i>0&&c>0&&(u+c+1>n&&(c=Math.max(1,n-u)),o.push(e.substring(i-=c,i+c)),!((u+=c+1)>n));)c=t[a=(a+1)%t.length];return o.reverse().join(r)}),i=void 0===e.currency?"":e.currency[0]+"",o=void 0===e.currency?"":e.currency[1]+"",a=void 0===e.decimal?".":e.decimal+"",c=void 0===e.numerals?os:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(ss.call(e.numerals,String)),u=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function f(e){var t=(e=Ku(e)).fill,r=e.align,f=e.sign,p=e.symbol,d=e.zero,h=e.width,m=e.comma,v=e.precision,y=e.trim,g=e.type;"n"===g?(m=!0,g="g"):is[g]||(void 0===v&&(v=12),y=!0,g="g"),(d||"0"===t&&"="===r)&&(d=!0,t="0",r="=");var b="$"===p?i:"#"===p&&/[boxX]/.test(g)?"0"+g.toLowerCase():"",w="$"===p?o:/[%p]/.test(g)?u:"",x=is[g],E=/[defgprs%]/.test(g);function I(e){var i,o,u,p=b,I=w;if("c"===g)I=x(e)+I,e="";else{var S=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:x(Math.abs(e),v),y&&(e=function(e){e:for(var t,r=e.length,n=1,i=-1;n<r;++n)switch(e[n]){case".":i=t=n;break;case"0":0===i&&(i=n),t=n;break;default:if(!+e[n])break e;i>0&&(i=0)}return i>0?e.slice(0,i)+e.slice(t+1):e}(e)),S&&0==+e&&"+"!==f&&(S=!1),p=(S?"("===f?f:s:"-"===f||"("===f?"":f)+p,I=("s"===g?ls[8+Qu/3]:"")+I+(S&&"("===f?")":""),E)for(i=-1,o=e.length;++i<o;)if(48>(u=e.charCodeAt(i))||u>57){I=(46===u?a+e.slice(i+1):e.slice(i))+I,e=e.slice(0,i);break}}m&&!d&&(e=n(e,1/0));var M=p.length+e.length+I.length,O=M<h?new Array(h-M+1).join(t):"";switch(m&&d&&(e=n(O+e,O.length?h-I.length:1/0),O=""),r){case"<":e=p+e+I+O;break;case"=":e=p+O+e+I;break;case"^":e=O.slice(0,M=O.length>>1)+p+e+I+O.slice(M);break;default:e=O+p+e+I}return c(e)}return v=void 0===v?6:/[gprs]/.test(g)?Math.max(1,Math.min(21,v)):Math.max(0,Math.min(20,v)),I.toString=function(){return e+""},I}return{format:f,formatPrefix:function(e,t){var r=f(((e=Ku(e)).type="f",e)),n=3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3))),i=Math.pow(10,-n),o=ls[8+n/3];return function(e){return r(i*e)+o}}}}function ps(e,t,r,n){var i,o=Hc(e,t,r);switch((n=Ku(null==n?",f":n)).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null!=n.precision||isNaN(i=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(rs(t)/3)))-rs(Math.abs(e)))}(o,a))||(n.precision=i),us(n,a);case"":case"e":case"g":case"p":case"r":null!=n.precision||isNaN(i=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,rs(t)-rs(e))+1}(o,Math.max(Math.abs(e),Math.abs(t))))||(n.precision=i-("e"===n.type));break;case"f":case"%":null!=n.precision||isNaN(i=function(e){return Math.max(0,-rs(Math.abs(e)))}(o))||(n.precision=i-2*("%"===n.type))}return cs(n)}function ds(e){var t=e.domain;return e.ticks=function(e){var r=t();return Uc(r[0],r[r.length-1],null==e?10:e)},e.tickFormat=function(e,r){var n=t();return ps(n[0],n[n.length-1],null==e?10:e,r)},e.nice=function(r){null==r&&(r=10);var n,i,o=t(),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=zc(u,s,r))===n)return o[a]=u,o[c]=s,t(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}n=i}return e},e}function hs(){var e=Xu();return e.copy=function(){return Ju(e,hs())},Ya.apply(e,arguments),ds(e)}function ms(e){var t;function r(e){return null==e||isNaN(e=+e)?t:e}return r.invert=r,r.domain=r.range=function(t){return arguments.length?(e=Array.from(t,Gu),r):e.slice()},r.unknown=function(e){return arguments.length?(t=e,r):t},r.copy=function(){return ms(e).unknown(t)},e=arguments.length?Array.from(e,Gu):[0,1],ds(r)}function vs(e,t){var r,n=0,i=(e=e.slice()).length-1,o=e[n],a=e[i];return a<o&&(r=n,n=i,i=r,r=o,o=a,a=r),e[n]=t.floor(o),e[i]=t.ceil(a),e}function ys(e){return Math.log(e)}function gs(e){return Math.exp(e)}function bs(e){return-Math.log(-e)}function ws(e){return-Math.exp(-e)}function xs(e){return isFinite(e)?+("1e"+e):e<0?0:e}function Es(e){return function(t){return-e(-t)}}function Is(e){var t,r,n=e(ys,gs),i=n.domain,o=10;function a(){return t=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),function(t){return Math.log(t)/e})}(o),r=function(e){return 10===e?xs:e===Math.E?Math.exp:function(t){return Math.pow(e,t)}}(o),i()[0]<0?(t=Es(t),r=Es(r),e(bs,ws)):e(ys,gs),n}return n.base=function(e){return arguments.length?(o=+e,a()):o},n.domain=function(e){return arguments.length?(i(e),a()):i()},n.ticks=function(e){var n,a=i(),c=a[0],u=a[a.length-1];(n=u<c)&&(p=c,c=u,u=p);var s,l,f,p=t(c),d=t(u),h=null==e?10:+e,m=[];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=r(p);l<o;++l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}}else for(;p<=d;++p)for(l=o-1,s=r(p);l>=1;--l)if(!((f=s*l)<c)){if(f>u)break;m.push(f)}2*m.length<h&&(m=Uc(c,u,h))}else m=Uc(p,d,Math.min(d-p,h)).map(r);return n?m.reverse():m},n.tickFormat=function(e,i){if(null==i&&(i=10===o?".0e":","),"function"!=typeof i&&(i=cs(i)),e===1/0)return i;null==e&&(e=10);var a=Math.max(1,o*e/n.ticks().length);return function(e){var n=e/r(Math.round(t(e)));return n*o<o-.5&&(n*=o),n<=a?i(e):""}},n.nice=function(){return i(vs(i(),{floor:function(e){return r(Math.floor(t(e)))},ceil:function(e){return r(Math.ceil(t(e)))}}))},n}function Ss(){var e=Is(Yu()).domain([1,10]);return e.copy=function(){return Ju(e,Ss()).base(e.base())},Ya.apply(e,arguments),e}function Ms(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function Os(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function ks(e){var t=1,r=e(Ms(t),Os(t));return r.constant=function(r){return arguments.length?e(Ms(t=+r),Os(t)):t},ds(r)}function js(){var e=ks(Yu());return e.copy=function(){return Ju(e,js()).constant(e.constant())},Ya.apply(e,arguments)}function Ts(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function Ds(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function As(e){return e<0?-e*e:e*e}function _s(e){var t=e(qu,qu),r=1;function n(){return 1===r?e(qu,qu):.5===r?e(Ds,As):e(Ts(r),Ts(1/r))}return t.exponent=function(e){return arguments.length?(r=+e,n()):r},ds(t)}function Ps(){var e=_s(Yu());return e.copy=function(){return Ju(e,Ps()).exponent(e.exponent())},Ya.apply(e,arguments),e}function Ns(){return Ps.apply(null,arguments).exponent(.5)}function Cs(e){return Math.sign(e)*e*e}function Ls(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}function Rs(){var e,t=Xu(),r=[0,1],n=!1;function i(r){var i=Ls(t(r));return isNaN(i)?e:n?Math.round(i):i}return i.invert=function(e){return t.invert(Cs(e))},i.domain=function(e){return arguments.length?(t.domain(e),i):t.domain()},i.range=function(e){return arguments.length?(t.range((r=Array.from(e,Gu)).map(Cs)),i):r.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(n=!!e,i):n},i.clamp=function(e){return arguments.length?(t.clamp(e),i):t.clamp()},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Rs(t.domain(),r).round(n).clamp(t.clamp()).unknown(e)},Ya.apply(i,arguments),ds(i)}function Bs(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r<n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r<i||void 0===r&&i>=i)&&(r=i)}return r}function Us(e,t){let r;if(void 0===t)for(const n of e)null!=n&&(r>n||void 0===r&&n>=n)&&(r=n);else{let n=-1;for(let i of e)null!=(i=t(i,++n,e))&&(r>i||void 0===r&&i>=i)&&(r=i)}return r}function zs(e,t,r=0,n=e.length-1,i=Gc){for(;n>r;){if(n-r>600){const o=n-r+1,a=t-r+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);zs(e,t,Math.max(r,Math.floor(t-a*u/o+s)),Math.min(n,Math.floor(t+(o-a)*u/o+s)),i)}const o=e[t];let a=r,c=n;for(Hs(e,r,t),i(e[n],o)>0&&Hs(e,r,n);a<c;){for(Hs(e,a,c),++a,--c;i(e[a],o)<0;)++a;for(;i(e[c],o)>0;)--c}0===i(e[r],o)?Hs(e,r,c):(++c,Hs(e,c,n)),c<=t&&(r=c+1),t<=c&&(n=c-1)}return e}function Hs(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function Gs(e,t,r){if(n=(e=Float64Array.from(function*(e,t){if(void 0===t)for(let r of e)null!=r&&(r=+r)>=r&&(yield r);else{let r=-1;for(let n of e)null!=(n=t(n,++r,e))&&(n=+n)>=n&&(yield n)}}(e,r))).length){if((t=+t)<=0||n<2)return Us(e);if(t>=1)return Bs(e);var n,i=(n-1)*t,o=Math.floor(i),a=Bs(zs(e,o).subarray(0,o+1));return a+(Us(e.subarray(o+1))-a)*(i-o)}}function Ws(e,t,r=qc){if(n=e.length){if((t=+t)<=0||n<2)return+r(e[0],0,e);if(t>=1)return+r(e[n-1],n-1,e);var n,i=(n-1)*t,o=Math.floor(i),a=+r(e[o],o,e);return a+(+r(e[o+1],o+1,e)-a)*(i-o)}}function qs(){var e,t=[],r=[],n=[];function i(){var e=0,i=Math.max(1,r.length);for(n=new Array(i-1);++e<i;)n[e-1]=Ws(t,e/i);return o}function o(t){return null==t||isNaN(t=+t)?e:r[Vc(n,t)]}return o.invertExtent=function(e){var i=r.indexOf(e);return i<0?[NaN,NaN]:[i>0?n[i-1]:t[0],i<n.length?n[i]:t[t.length-1]]},o.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let r of e)null==r||isNaN(r=+r)||t.push(r);return t.sort(Gc),i()},o.range=function(e){return arguments.length?(r=Array.from(e),i()):r.slice()},o.unknown=function(t){return arguments.length?(e=t,o):e},o.quantiles=function(){return n.slice()},o.copy=function(){return qs().domain(t).range(r).unknown(e)},Ya.apply(o,arguments)}function Zs(){var e,t=0,r=1,n=1,i=[.5],o=[0,1];function a(t){return null!=t&&t<=t?o[Vc(i,t,0,n)]:e}function c(){var e=-1;for(i=new Array(n);++e<n;)i[e]=((e+1)*r-(e-n)*t)/(n+1);return a}return a.domain=function(e){return arguments.length?([t,r]=e,t=+t,r=+r,c()):[t,r]},a.range=function(e){return arguments.length?(n=(o=Array.from(e)).length-1,c()):o.slice()},a.invertExtent=function(e){var a=o.indexOf(e);return a<0?[NaN,NaN]:a<1?[t,i[0]]:a>=n?[i[n-1],r]:[i[a-1],i[a]]},a.unknown=function(t){return arguments.length?(e=t,a):a},a.thresholds=function(){return i.slice()},a.copy=function(){return Zs().domain([t,r]).range(o).unknown(e)},Ya.apply(ds(a),arguments)}function Fs(){var e,t=[.5],r=[0,1],n=1;function i(i){return null!=i&&i<=i?r[Vc(t,i,0,n)]:e}return i.domain=function(e){return arguments.length?(t=Array.from(e),n=Math.min(t.length,r.length-1),i):t.slice()},i.range=function(e){return arguments.length?(r=Array.from(e),n=Math.min(t.length,r.length-1),i):r.slice()},i.invertExtent=function(e){var n=r.indexOf(e);return[t[n-1],t[n]]},i.unknown=function(t){return arguments.length?(e=t,i):e},i.copy=function(){return Fs().domain(t).range(r).unknown(e)},Ya.apply(i,arguments)}as=fs({thousands:",",grouping:[3],currency:["$",""]}),cs=as.format,us=as.formatPrefix;const Vs=1e3,Js=6e4,Ys=36e5,Xs=864e5,Qs=6048e5,$s=2592e6,Ks=31536e6;var el=new Date,tl=new Date;function rl(e,t,r,n){function i(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return i.floor=function(t){return e(t=new Date(+t)),t},i.ceil=function(r){return e(r=new Date(r-1)),t(r,1),e(r),r},i.round=function(e){var t=i(e),r=i.ceil(e);return e-t<r-e?t:r},i.offset=function(e,r){return t(e=new Date(+e),null==r?1:Math.floor(r)),e},i.range=function(r,n,o){var a,c=[];if(r=i.ceil(r),o=null==o?1:Math.floor(o),!(r<n&&o>0))return c;do{c.push(a=new Date(+r)),t(r,o),e(r)}while(a<r&&r<n);return c},i.filter=function(r){return rl((function(t){if(t>=t)for(;e(t),!r(t);)t.setTime(t-1)}),(function(e,n){if(e>=e)if(n<0)for(;++n<=0;)for(;t(e,-1),!r(e););else for(;--n>=0;)for(;t(e,1),!r(e););}))},r&&(i.count=function(t,n){return el.setTime(+t),tl.setTime(+n),e(el),e(tl),Math.floor(r(el,tl))},i.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?i.filter(n?function(t){return n(t)%e==0}:function(t){return i.count(0,t)%e==0}):i:null}),i}var nl=rl((function(){}),(function(e,t){e.setTime(+e+t)}),(function(e,t){return t-e}));nl.every=function(e){return e=Math.floor(e),isFinite(e)&&e>0?e>1?rl((function(t){t.setTime(Math.floor(t/e)*e)}),(function(t,r){t.setTime(+t+r*e)}),(function(t,r){return(r-t)/e})):nl:null};var il=nl,ol=(nl.range,rl((function(e){e.setTime(e-e.getMilliseconds())}),(function(e,t){e.setTime(+e+t*Vs)}),(function(e,t){return(t-e)/Vs}),(function(e){return e.getUTCSeconds()}))),al=ol,cl=(ol.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getMinutes()}))),ul=cl,sl=(cl.range,rl((function(e){e.setTime(e-e.getMilliseconds()-e.getSeconds()*Vs-e.getMinutes()*Js)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getHours()}))),ll=sl,fl=(sl.range,rl((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Xs),(e=>e.getDate()-1))),pl=fl;fl.range;function dl(e){return rl((function(t){t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),(function(e,t){e.setDate(e.getDate()+7*t)}),(function(e,t){return(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*Js)/Qs}))}var hl=dl(0),ml=dl(1),vl=dl(2),yl=dl(3),gl=dl(4),bl=dl(5),wl=dl(6),xl=(hl.range,ml.range,vl.range,yl.range,gl.range,bl.range,wl.range,rl((function(e){e.setDate(1),e.setHours(0,0,0,0)}),(function(e,t){e.setMonth(e.getMonth()+t)}),(function(e,t){return t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())}),(function(e){return e.getMonth()}))),El=xl,Il=(xl.range,rl((function(e){e.setMonth(0,1),e.setHours(0,0,0,0)}),(function(e,t){e.setFullYear(e.getFullYear()+t)}),(function(e,t){return t.getFullYear()-e.getFullYear()}),(function(e){return e.getFullYear()})));Il.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),(function(t,r){t.setFullYear(t.getFullYear()+r*e)})):null};var Sl=Il,Ml=(Il.range,rl((function(e){e.setUTCSeconds(0,0)}),(function(e,t){e.setTime(+e+t*Js)}),(function(e,t){return(t-e)/Js}),(function(e){return e.getUTCMinutes()}))),Ol=Ml,kl=(Ml.range,rl((function(e){e.setUTCMinutes(0,0,0)}),(function(e,t){e.setTime(+e+t*Ys)}),(function(e,t){return(t-e)/Ys}),(function(e){return e.getUTCHours()}))),jl=kl,Tl=(kl.range,rl((function(e){e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+t)}),(function(e,t){return(t-e)/Xs}),(function(e){return e.getUTCDate()-1}))),Dl=Tl;Tl.range;function Al(e){return rl((function(t){t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCDate(e.getUTCDate()+7*t)}),(function(e,t){return(t-e)/Qs}))}var _l=Al(0),Pl=Al(1),Nl=Al(2),Cl=Al(3),Ll=Al(4),Rl=Al(5),Bl=Al(6),Ul=(_l.range,Pl.range,Nl.range,Cl.range,Ll.range,Rl.range,Bl.range,rl((function(e){e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCMonth(e.getUTCMonth()+t)}),(function(e,t){return t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())}),(function(e){return e.getUTCMonth()}))),zl=Ul,Hl=(Ul.range,rl((function(e){e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),(function(e,t){e.setUTCFullYear(e.getUTCFullYear()+t)}),(function(e,t){return t.getUTCFullYear()-e.getUTCFullYear()}),(function(e){return e.getUTCFullYear()})));Hl.every=function(e){return isFinite(e=Math.floor(e))&&e>0?rl((function(t){t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),(function(t,r){t.setUTCFullYear(t.getUTCFullYear()+r*e)})):null};var Gl=Hl;Hl.range;function Wl(e,t,r,n,i,o){const a=[[al,1,Vs],[al,5,5e3],[al,15,15e3],[al,30,3e4],[o,1,Js],[o,5,3e5],[o,15,9e5],[o,30,18e5],[i,1,Ys],[i,3,108e5],[i,6,216e5],[i,12,432e5],[n,1,Xs],[n,2,1728e5],[r,1,Qs],[t,1,$s],[t,3,7776e6],[e,1,Ks]];function c(t,r,n){const i=Math.abs(r-t)/n,o=Wc((([,,e])=>e)).right(a,i);if(o===a.length)return e.every(Hc(t/Ks,r/Ks,n));if(0===o)return il.every(Math.max(Hc(t,r,n),1));const[c,u]=a[i/a[o-1][2]<a[o][2]/i?o-1:o];return c.every(u)}return[function(e,t,r){const n=t<e;n&&([e,t]=[t,e]);const i=r&&"function"==typeof r.range?r:c(e,t,r),o=i?i.range(e,+t+1):[];return n?o.reverse():o},c]}const[ql,Zl]=Wl(Gl,zl,_l,Dl,jl,Ol),[Fl,Vl]=Wl(Sl,El,hl,pl,ll,ul);function Jl(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Yl(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Xl(e,t,r){return{y:e,m:t,d:r,H:0,M:0,S:0,L:0}}var Ql,$l,Kl,ef={"-":"",_:" ",0:"0"},tf=/^\s*\d+/,rf=/^%/,nf=/[\\^$*+?|[\]().{}]/g;function of(e,t,r){var n=e<0?"-":"",i=(n?-e:e)+"",o=i.length;return n+(o<r?new Array(r-o+1).join(t)+i:i)}function af(e){return e.replace(nf,"\\$&")}function cf(e){return new RegExp("^(?:"+e.map(af).join("|")+")","i")}function uf(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function sf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.w=+n[0],r+n[0].length):-1}function lf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.u=+n[0],r+n[0].length):-1}function ff(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.U=+n[0],r+n[0].length):-1}function pf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.V=+n[0],r+n[0].length):-1}function df(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.W=+n[0],r+n[0].length):-1}function hf(e,t,r){var n=tf.exec(t.slice(r,r+4));return n?(e.y=+n[0],r+n[0].length):-1}function mf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.y=+n[0]+(+n[0]>68?1900:2e3),r+n[0].length):-1}function vf(e,t,r){var n=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(r,r+6));return n?(e.Z=n[1]?0:-(n[2]+(n[3]||"00")),r+n[0].length):-1}function yf(e,t,r){var n=tf.exec(t.slice(r,r+1));return n?(e.q=3*n[0]-3,r+n[0].length):-1}function gf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.m=n[0]-1,r+n[0].length):-1}function bf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.d=+n[0],r+n[0].length):-1}function wf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.m=0,e.d=+n[0],r+n[0].length):-1}function xf(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.H=+n[0],r+n[0].length):-1}function Ef(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.M=+n[0],r+n[0].length):-1}function If(e,t,r){var n=tf.exec(t.slice(r,r+2));return n?(e.S=+n[0],r+n[0].length):-1}function Sf(e,t,r){var n=tf.exec(t.slice(r,r+3));return n?(e.L=+n[0],r+n[0].length):-1}function Mf(e,t,r){var n=tf.exec(t.slice(r,r+6));return n?(e.L=Math.floor(n[0]/1e3),r+n[0].length):-1}function Of(e,t,r){var n=rf.exec(t.slice(r,r+1));return n?r+n[0].length:-1}function kf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.Q=+n[0],r+n[0].length):-1}function jf(e,t,r){var n=tf.exec(t.slice(r));return n?(e.s=+n[0],r+n[0].length):-1}function Tf(e,t){return of(e.getDate(),t,2)}function Df(e,t){return of(e.getHours(),t,2)}function Af(e,t){return of(e.getHours()%12||12,t,2)}function _f(e,t){return of(1+pl.count(Sl(e),e),t,3)}function Pf(e,t){return of(e.getMilliseconds(),t,3)}function Nf(e,t){return Pf(e,t)+"000"}function Cf(e,t){return of(e.getMonth()+1,t,2)}function Lf(e,t){return of(e.getMinutes(),t,2)}function Rf(e,t){return of(e.getSeconds(),t,2)}function Bf(e){var t=e.getDay();return 0===t?7:t}function Uf(e,t){return of(hl.count(Sl(e)-1,e),t,2)}function zf(e){var t=e.getDay();return t>=4||0===t?gl(e):gl.ceil(e)}function Hf(e,t){return e=zf(e),of(gl.count(Sl(e),e)+(4===Sl(e).getDay()),t,2)}function Gf(e){return e.getDay()}function Wf(e,t){return of(ml.count(Sl(e)-1,e),t,2)}function qf(e,t){return of(e.getFullYear()%100,t,2)}function Zf(e,t){return of((e=zf(e)).getFullYear()%100,t,2)}function Ff(e,t){return of(e.getFullYear()%1e4,t,4)}function Vf(e,t){var r=e.getDay();return of((e=r>=4||0===r?gl(e):gl.ceil(e)).getFullYear()%1e4,t,4)}function Jf(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+of(t/60|0,"0",2)+of(t%60,"0",2)}function Yf(e,t){return of(e.getUTCDate(),t,2)}function Xf(e,t){return of(e.getUTCHours(),t,2)}function Qf(e,t){return of(e.getUTCHours()%12||12,t,2)}function $f(e,t){return of(1+Dl.count(Gl(e),e),t,3)}function Kf(e,t){return of(e.getUTCMilliseconds(),t,3)}function ep(e,t){return Kf(e,t)+"000"}function tp(e,t){return of(e.getUTCMonth()+1,t,2)}function rp(e,t){return of(e.getUTCMinutes(),t,2)}function np(e,t){return of(e.getUTCSeconds(),t,2)}function ip(e){var t=e.getUTCDay();return 0===t?7:t}function op(e,t){return of(_l.count(Gl(e)-1,e),t,2)}function ap(e){var t=e.getUTCDay();return t>=4||0===t?Ll(e):Ll.ceil(e)}function cp(e,t){return e=ap(e),of(Ll.count(Gl(e),e)+(4===Gl(e).getUTCDay()),t,2)}function up(e){return e.getUTCDay()}function sp(e,t){return of(Pl.count(Gl(e)-1,e),t,2)}function lp(e,t){return of(e.getUTCFullYear()%100,t,2)}function fp(e,t){return of((e=ap(e)).getUTCFullYear()%100,t,2)}function pp(e,t){return of(e.getUTCFullYear()%1e4,t,4)}function dp(e,t){var r=e.getUTCDay();return of((e=r>=4||0===r?Ll(e):Ll.ceil(e)).getUTCFullYear()%1e4,t,4)}function hp(){return"+0000"}function mp(){return"%"}function vp(e){return+e}function yp(e){return Math.floor(+e/1e3)}function gp(e){return new Date(e)}function bp(e){return e instanceof Date?+e:+new Date(+e)}function wp(e,t,r,n,i,o,a,c,u,s){var l=Xu(),f=l.invert,p=l.domain,d=s(".%L"),h=s(":%S"),m=s("%I:%M"),v=s("%I %p"),y=s("%a %d"),g=s("%b %d"),b=s("%B"),w=s("%Y");function x(e){return(u(e)<e?d:c(e)<e?h:a(e)<e?m:o(e)<e?v:n(e)<e?i(e)<e?y:g:r(e)<e?b:w)(e)}return l.invert=function(e){return new Date(f(e))},l.domain=function(e){return arguments.length?p(Array.from(e,bp)):p().map(gp)},l.ticks=function(t){var r=p();return e(r[0],r[r.length-1],null==t?10:t)},l.tickFormat=function(e,t){return null==t?x:s(t)},l.nice=function(e){var r=p();return e&&"function"==typeof e.range||(e=t(r[0],r[r.length-1],null==e?10:e)),e?p(vs(r,e)):l},l.copy=function(){return Ju(l,wp(e,t,r,n,i,o,a,c,u,s))},l}function xp(){return Ya.apply(wp(Fl,Vl,Sl,El,hl,pl,ll,ul,al,$l).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function Ep(){return Ya.apply(wp(ql,Zl,Gl,zl,_l,Dl,jl,Ol,al,Kl).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)}function Ip(){var e,t,r,n,i,o=0,a=1,c=qu,u=!1;function s(t){return null==t||isNaN(t=+t)?i:c(0===r?.5:(t=(n(t)-e)*r,u?Math.max(0,Math.min(1,t)):t))}function l(e){return function(t){var r,n;return arguments.length?([r,n]=t,c=e(r,n),s):[c(0),c(1)]}}return s.domain=function(i){return arguments.length?([o,a]=i,e=n(o=+o),t=n(a=+a),r=e===t?0:1/(t-e),s):[o,a]},s.clamp=function(e){return arguments.length?(u=!!e,s):u},s.interpolator=function(e){return arguments.length?(c=e,s):c},s.range=l(zu),s.rangeRound=l(Hu),s.unknown=function(e){return arguments.length?(i=e,s):i},function(i){return n=i,e=i(o),t=i(a),r=e===t?0:1/(t-e),s}}function Sp(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function Mp(){var e=ds(Ip()(qu));return e.copy=function(){return Sp(e,Mp())},Xa.apply(e,arguments)}function Op(){var e=Is(Ip()).domain([1,10]);return e.copy=function(){return Sp(e,Op()).base(e.base())},Xa.apply(e,arguments)}function kp(){var e=ks(Ip());return e.copy=function(){return Sp(e,kp()).constant(e.constant())},Xa.apply(e,arguments)}function jp(){var e=_s(Ip());return e.copy=function(){return Sp(e,jp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Tp(){return jp.apply(null,arguments).exponent(.5)}function Dp(){var e=[],t=qu;function r(r){if(null!=r&&!isNaN(r=+r))return t((Vc(e,r,1)-1)/(e.length-1))}return r.domain=function(t){if(!arguments.length)return e.slice();e=[];for(let r of t)null==r||isNaN(r=+r)||e.push(r);return e.sort(Gc),r},r.interpolator=function(e){return arguments.length?(t=e,r):t},r.range=function(){return e.map(((r,n)=>t(n/(e.length-1))))},r.quantiles=function(t){return Array.from({length:t+1},((r,n)=>Gs(e,n/t)))},r.copy=function(){return Dp(t).domain(e)},Xa.apply(r,arguments)}function Ap(e,t){void 0===t&&(t=e,e=zu);for(var r=0,n=t.length-1,i=t[0],o=new Array(n<0?0:n);r<n;)o[r]=e(i,i=t[++r]);return function(e){var t=Math.max(0,Math.min(n-1,Math.floor(e*=n)));return o[t](e-t)}}function _p(){var e,t,r,n,i,o,a,c=0,u=.5,s=1,l=1,f=qu,p=!1;function d(e){return isNaN(e=+e)?a:(e=.5+((e=+o(e))-t)*(l*e<l*t?n:i),f(p?Math.max(0,Math.min(1,e)):e))}function h(e){return function(t){var r,n,i;return arguments.length?([r,n,i]=t,f=Ap(e,[r,n,i]),d):[f(0),f(.5),f(1)]}}return d.domain=function(a){return arguments.length?([c,u,s]=a,e=o(c=+c),t=o(u=+u),r=o(s=+s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d):[c,u,s]},d.clamp=function(e){return arguments.length?(p=!!e,d):p},d.interpolator=function(e){return arguments.length?(f=e,d):f},d.range=h(zu),d.rangeRound=h(Hu),d.unknown=function(e){return arguments.length?(a=e,d):a},function(a){return o=a,e=a(c),t=a(u),r=a(s),n=e===t?0:.5/(t-e),i=t===r?0:.5/(r-t),l=t<e?-1:1,d}}function Pp(){var e=ds(_p()(qu));return e.copy=function(){return Sp(e,Pp())},Xa.apply(e,arguments)}function Np(){var e=Is(_p()).domain([.1,1,10]);return e.copy=function(){return Sp(e,Np()).base(e.base())},Xa.apply(e,arguments)}function Cp(){var e=ks(_p());return e.copy=function(){return Sp(e,Cp()).constant(e.constant())},Xa.apply(e,arguments)}function Lp(){var e=_s(_p());return e.copy=function(){return Sp(e,Lp()).exponent(e.exponent())},Xa.apply(e,arguments)}function Rp(){return Lp.apply(null,arguments).exponent(.5)}function Bp(e,t){if((i=e.length)>1)for(var r,n,i,o=1,a=e[t[0]],c=a.length;o<i;++o)for(n=a,a=e[t[o]],r=0;r<c;++r)a[r][1]+=a[r][0]=isNaN(n[r][1])?n[r][0]:n[r][1]}function Up(e){for(var t=e.length,r=new Array(t);--t>=0;)r[t]=t;return r}function zp(e,t){return e[t]}function Hp(e){const t=[];return t.key=e,t}function Gp(e){return function(e){if(Array.isArray(e))return Wp(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 Wp(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Wp(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 Wp(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function qp(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Zp(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?qp(Object(r),!0).forEach((function(t){Fp(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):qp(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Fp(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vp(e,t,r){return Ie()(e)||Ie()(t)?r:J(t)?L()(e,t,r):me()(t)?t(e):r}function Jp(e,t,r,n){var i=sc()(e,(function(e){return Vp(e,t)}));if("number"===r){var o=i.filter((function(e){return V(e)||parseFloat(e)}));return o.length?[cc()(o),oc()(o)]:[1/0,-1/0]}return(n?i.filter((function(e){return!Ie()(e)})):i).map((function(e){return J(e)||e instanceof Date?e:""}))}!function(e){Ql=function(e){var t=e.dateTime,r=e.date,n=e.time,i=e.periods,o=e.days,a=e.shortDays,c=e.months,u=e.shortMonths,s=cf(i),l=uf(i),f=cf(o),p=uf(o),d=cf(a),h=uf(a),m=cf(c),v=uf(c),y=cf(u),g=uf(u),b={a:function(e){return a[e.getDay()]},A:function(e){return o[e.getDay()]},b:function(e){return u[e.getMonth()]},B:function(e){return c[e.getMonth()]},c:null,d:Tf,e:Tf,f:Nf,g:Zf,G:Vf,H:Df,I:Af,j:_f,L:Pf,m:Cf,M:Lf,p:function(e){return i[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:vp,s:yp,S:Rf,u:Bf,U:Uf,V:Hf,w:Gf,W:Wf,x:null,X:null,y:qf,Y:Ff,Z:Jf,"%":mp},w={a:function(e){return a[e.getUTCDay()]},A:function(e){return o[e.getUTCDay()]},b:function(e){return u[e.getUTCMonth()]},B:function(e){return c[e.getUTCMonth()]},c:null,d:Yf,e:Yf,f:ep,g:fp,G:dp,H:Xf,I:Qf,j:$f,L:Kf,m:tp,M:rp,p:function(e){return i[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:vp,s:yp,S:np,u:ip,U:op,V:cp,w:up,W:sp,x:null,X:null,y:lp,Y:pp,Z:hp,"%":mp},x={a:function(e,t,r){var n=d.exec(t.slice(r));return n?(e.w=h.get(n[0].toLowerCase()),r+n[0].length):-1},A:function(e,t,r){var n=f.exec(t.slice(r));return n?(e.w=p.get(n[0].toLowerCase()),r+n[0].length):-1},b:function(e,t,r){var n=y.exec(t.slice(r));return n?(e.m=g.get(n[0].toLowerCase()),r+n[0].length):-1},B:function(e,t,r){var n=m.exec(t.slice(r));return n?(e.m=v.get(n[0].toLowerCase()),r+n[0].length):-1},c:function(e,r,n){return S(e,t,r,n)},d:bf,e:bf,f:Mf,g:mf,G:hf,H:xf,I:xf,j:wf,L:Sf,m:gf,M:Ef,p:function(e,t,r){var n=s.exec(t.slice(r));return n?(e.p=l.get(n[0].toLowerCase()),r+n[0].length):-1},q:yf,Q:kf,s:jf,S:If,u:lf,U:ff,V:pf,w:sf,W:df,x:function(e,t,n){return S(e,r,t,n)},X:function(e,t,r){return S(e,n,t,r)},y:mf,Y:hf,Z:vf,"%":Of};function E(e,t){return function(r){var n,i,o,a=[],c=-1,u=0,s=e.length;for(r instanceof Date||(r=new Date(+r));++c<s;)37===e.charCodeAt(c)&&(a.push(e.slice(u,c)),null!=(i=ef[n=e.charAt(++c)])?n=e.charAt(++c):i="e"===n?" ":"0",(o=t[n])&&(n=o(r,i)),a.push(n),u=c+1);return a.push(e.slice(u,c)),a.join("")}}function I(e,t){return function(r){var n,i,o=Xl(1900,void 0,1);if(S(o,e,r+="",0)!=r.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(t&&!("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=(n=Yl(Xl(o.y,0,1))).getUTCDay(),n=i>4||0===i?Pl.ceil(n):Pl(n),n=Dl.offset(n,7*(o.V-1)),o.y=n.getUTCFullYear(),o.m=n.getUTCMonth(),o.d=n.getUTCDate()+(o.w+6)%7):(i=(n=Jl(Xl(o.y,0,1))).getDay(),n=i>4||0===i?ml.ceil(n):ml(n),n=pl.offset(n,7*(o.V-1)),o.y=n.getFullYear(),o.m=n.getMonth(),o.d=n.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?Yl(Xl(o.y,0,1)).getUTCDay():Jl(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,Yl(o)):Jl(o)}}function S(e,t,r,n){for(var i,o,a=0,c=t.length,u=r.length;a<c;){if(n>=u)return-1;if(37===(i=t.charCodeAt(a++))){if(i=t.charAt(a++),!(o=x[i in ef?t.charAt(a++):i])||(n=o(e,r,n))<0)return-1}else if(i!=r.charCodeAt(n++))return-1}return n}return b.x=E(r,b),b.X=E(n,b),b.c=E(t,b),w.x=E(r,w),w.X=E(n,w),w.c=E(t,w),{format:function(e){var t=E(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=I(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=E(e+="",w);return t.toString=function(){return e},t},utcParse:function(e){var t=I(e+="",!0);return t.toString=function(){return e},t}}}(e),$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 Yp=function(e){var t,r=e.type.displayName,n=e.props,i=n.stroke,o=n.fill;switch(r){case"Line":t=i;break;case"Area":case"Radar":t=i&&"none"!==i?i:o;break;default:t=o}return t},Xp=function(e){var t,r=e.children,n=e.formatedGraphicalItems,i=e.legendWidth,o=e.legendContent,a=zo(r,Xn.displayName);return a?(t=a.props&&a.props.payload?a.props&&a.props.payload:"children"===o?(n||[]).reduce((function(e,t){var r=t.item,n=t.props,i=n.sectors||n.data||[];return e.concat(i.map((function(e){return{type:a.props.iconType||r.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,r=t.props,n=r.dataKey,i=r.name,o=r.legendType;return{inactive:r.hide,dataKey:n,type:a.props.iconType||o||"square",color:Yp(t),value:i||n,payload:t.props}})),Zp(Zp(Zp({},a.props),Xn.getWithHeight(a,i)),{},{payload:t,item:a})):null},Qp=function(e,t,r,n){var i=t.props.children,o=Uo(i,"ErrorBar").filter((function(e){var t=e.props.direction;return!(!Ie()(t)&&!Ie()(n))||n.indexOf(t)>=0}));if(o&&o.length){var a=o.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var n=Vp(t,r,0),i=B()(n)?[cc()(n),oc()(n)]:[n,n],o=a.reduce((function(e,r){var n=Vp(t,r,0),o=i[0]-Math.abs(B()(n)?n[0]:n),a=i[1]+Math.abs(B()(n)?n[1]:n);return[Math.min(o,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(o[0],e[0]),Math.max(o[1],e[1])]}),[1/0,-1/0])}return null},$p=function(e,t,r,n){var i=t.map((function(t){var i=t.props.dataKey;return"number"===r&&i&&Qp(e,t,i)||Jp(e,i,r,n)}));if("number"===r)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var o={};return i.reduce((function(e,t){for(var r=0,n=t.length;r<n;r++)o[t[r]]||(o[t[r]]=!0,e.push(t[r]));return e}),[])},Kp=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},ed=function(e,t,r){var n,i,o=e.map((function(e){return e.coordinate===t&&(n=!0),e.coordinate===r&&(i=!0),e.coordinate}));return n||o.push(t),i||o.push(r),o},td=function(e,t,r){if(!e)return null;var n=e.scale,i=e.duplicateDomain,o=e.type,a=e.range,c=(t||r)&&"category"===o&&n.bandwidth?n.bandwidth()/2:0;return c="angleAxis"===e.axisType?2*Z(a[0]-a[1])*c:c,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=i?i.indexOf(e):e;return{coordinate:n(t)+c,value:e,offset:c}})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:n(e)+c,value:e,index:t,offset:c}})):n.ticks&&!r?n.ticks(e.tickCount).map((function(e){return{coordinate:n(e)+c,value:e,offset:c}})):n.domain().map((function(e,t){return{coordinate:n(e)+c,value:i?i[e]:e,index:t,offset:c}}))},rd=function(e,t,r){var n;return me()(r)?n=r:me()(t)&&(n=t),me()(e)||n?function(t,r,i,o){me()(e)&&e(t,r,i,o),me()(n)&&n(t,r,i,o)}:null},nd=1e-4,id={sign:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0,a=0;a<t;++a){var c=z()(e[a][r][1])?e[a][r][0]:e[a][r][1];c>=0?(e[a][r][0]=i,e[a][r][1]=i+c,i=e[a][r][1]):(e[a][r][0]=o,e[a][r][1]=o+c,o=e[a][r][1])}},expand:function(e,t){if((n=e.length)>0){for(var r,n,i,o=0,a=e[0].length;o<a;++o){for(i=r=0;r<n;++r)i+=e[r][o][1]||0;if(i)for(r=0;r<n;++r)e[r][o][1]/=i}Bp(e,t)}},none:Bp,silhouette:function(e,t){if((r=e.length)>0){for(var r,n=0,i=e[t[0]],o=i.length;n<o;++n){for(var a=0,c=0;a<r;++a)c+=e[a][n][1]||0;i[n][1]+=i[n][0]=-c/2}Bp(e,t)}},wiggle:function(e,t){if((i=e.length)>0&&(n=(r=e[t[0]]).length)>0){for(var r,n,i,o=0,a=1;a<n;++a){for(var c=0,u=0,s=0;c<i;++c){for(var l=e[t[c]],f=l[a][1]||0,p=(f-(l[a-1][1]||0))/2,d=0;d<c;++d){var h=e[t[d]];p+=(h[a][1]||0)-(h[a-1][1]||0)}u+=f,s+=p*f}r[a-1][1]+=r[a-1][0]=o,u&&(o-=s/u)}r[a-1][1]+=r[a-1][0]=o,Bp(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var r=0,n=e[0].length;r<n;++r)for(var i=0,o=0;o<t;++o){var a=z()(e[o][r][1])?e[o][r][0]:e[o][r][1];a>=0?(e[o][r][0]=i,e[o][r][1]=i+a,i=e[o][r][1]):(e[o][r][0]=0,e[o][r][1]=0)}}},od=function(e,t,r){var n=t.map((function(e){return e.props.dataKey}));return function(){var e=dn([]),t=Up,r=Bp,n=zp;function i(i){var o,a,c=Array.from(e.apply(this,arguments),Hp),u=c.length,s=-1;for(const e of i)for(o=0,++s;o<u;++o)(c[o][s]=[0,+n(e,c[o].key,s,i)]).data=e;for(o=0,a=mi(t(c));o<u;++o)c[a[o]].index=o;return r(c,a),c}return i.keys=function(t){return arguments.length?(e="function"==typeof t?t:dn(Array.from(t)),i):e},i.value=function(e){return arguments.length?(n="function"==typeof e?e:dn(+e),i):n},i.order=function(e){return arguments.length?(t=null==e?Up:"function"==typeof e?e:dn(Array.from(e)),i):t},i.offset=function(e){return arguments.length?(r=null==e?Bp:e,i):r},i}().keys(n).value((function(e,t){return+Vp(e,t,0)})).order(Up).offset(id[r])(e)},ad=function(e,t){var r=t.realScaleType,n=t.type,i=t.tickCount,o=t.originalDomain,a=t.allowDecimals,c=r||t.scale;if("auto"!==c&&"linear"!==c)return null;if(i&&"number"===n&&o&&("auto"===o[0]||"auto"===o[1])){var u=e.domain();if(!u.length)return null;var s=Nc(u,i,a);return e.domain(function(e,t){return"number"===t?[cc()(e),oc()(e)]:e}(s,n)),{niceTicks:s}}if(i&&"number"===n){var l=e.domain();return{niceTicks:Cc(l,i,a)}}return null},cd=function(e){var t=e.axis,r=e.ticks,n=e.offset,i=e.bandSize,o=e.entry,a=e.index;if("category"===t.type)return r[a]?r[a].coordinate+n:null;var c=Vp(o,t.dataKey,t.domain[a]);return Ie()(c)?null:t.scale(c)-i/2+n},ud=function(e,t,r){return Object.keys(e).reduce((function(n,i){var o=e[i].stackedData.reduce((function(e,n){var i=n.slice(t,r+1).reduce((function(e,t){return[cc()(t.concat([e[0]]).filter(V)),oc()(t.concat([e[1]]).filter(V))]}),[1/0,-1/0]);return[Math.min(e[0],i[0]),Math.max(e[1],i[1])]}),[1/0,-1/0]);return[Math.min(o[0],n[0]),Math.max(o[1],n[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},sd=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,ld=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,fd=function(e,t,r){if(!B()(e))return t;var n=[];if(V(e[0]))n[0]=r?e[0]:Math.min(e[0],t[0]);else if(sd.test(e[0])){var i=+sd.exec(e[0])[1];n[0]=t[0]-i}else me()(e[0])?n[0]=e[0](t[0]):n[0]=t[0];if(V(e[1]))n[1]=r?e[1]:Math.max(e[1],t[1]);else if(ld.test(e[1])){var o=+ld.exec(e[1])[1];n[1]=t[1]+o}else me()(e[1])?n[1]=e[1](t[1]):n[1]=t[1];return n},pd=function(e,t,r){if(e&&e.scale&&e.scale.bandwidth){var n=e.scale.bandwidth();if(!r||n>0)return n}if(e&&t&&t.length>=2){for(var i=be()(t,(function(e){return e.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(e,t,r){return e&&e.length?nc()(e,L()(r,"type.defaultProps.domain"))?t:e:t},hd=function(e,t){var r=e.props,n=r.dataKey,i=r.name,o=r.unit,a=r.formatter,c=r.tooltipType;return Zp(Zp({},_e(e)),{},{dataKey:n,unit:o,formatter:a,name:i||n,color:Yp(e),value:Vp(t,n),type:c,payload:t})};function md(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function vd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?md(Object(r),!0).forEach((function(t){yd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):md(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var gd=["Webkit","Moz","O","ms"];function bd(e){return(bd="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function wd(){return(wd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function xd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ed(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?xd(Object(r),!0).forEach((function(t){Id(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):xd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Id(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Sd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Md(e,t){return(Md=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Od(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Td(e);if(t){var i=Td(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return kd(this,r)}}function kd(e,t){return!t||"object"!==bd(t)&&"function"!=typeof t?jd(e):t}function jd(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Td(e){return(Td=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Dd=function(e){return e.changedTouches&&!!e.changedTouches.length},Ad=function(e){!function(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&&Md(e,t)}(a,e);var t,r,n,i=Od(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=i.call(this,e)).leaveTimer=void 0,t.travellerDragStartHandlers=void 0,t.handleDrag=function(e){t.leaveTimer&&(clearTimeout(t.leaveTimer),t.leaveTimer=null),t.state.isTravellerMoving?t.handleTravellerMove(e):t.state.isSlideMoving&&t.handleSlideDrag(e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleDrag(e.changedTouches[0])},t.handleDragEnd=function(){t.setState({isTravellerMoving:!1,isSlideMoving:!1}),t.detachDragEndListener()},t.handleLeaveWrapper=function(){(t.state.isTravellerMoving||t.state.isSlideMoving)&&(t.leaveTimer=window.setTimeout(t.handleDragEnd,t.props.leaveTimeOut))},t.handleEnterSlideOrTraveller=function(){t.setState({isTextActive:!0})},t.handleLeaveSlideOrTraveller=function(){t.setState({isTextActive:!1})},t.handleSlideDragStart=function(e){var r=Dd(e)?e.changedTouches[0]:e;t.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:r.pageX}),t.attachDragEndListener()},t.travellerDragStartHandlers={startX:t.handleTravellerDragStart.bind(jd(t),"startX"),endX:t.handleTravellerDragStart.bind(jd(t),"endX")},t.state={},t}return t=a,n=[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,n=e.width,i=e.height,a=e.stroke,c=Math.floor(r+i/2)-1;return o.createElement(o.Fragment,null,o.createElement("rect",{x:t,y:r,width:n,height:i,fill:a,stroke:"none"}),o.createElement("line",{x1:t+1,y1:c,x2:t+n-1,y2:c,fill:"none",stroke:"#fff"}),o.createElement("line",{x1:t+1,y1:c+2,x2:t+n-1,y2:c+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):a.renderDefaultTraveller(t)}},{key:"getDerivedStateFromProps",value:function(e,t){var r=e.data,n=e.width,i=e.x,o=e.travellerWidth,a=e.updateId,c=e.startIndex,u=e.endIndex;if(r!==t.prevData||a!==t.prevUpdateId)return Ed({prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n},r&&r.length?function(e){var t=e.data,r=e.startIndex,n=e.endIndex,i=e.x,o=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var c=t.length,u=tc().domain(xe()(0,c)).range([i,i+o-a]),s=u.domain().map((function(e){return u(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,startX:u(r),endX:u(n),scale:u,scaleValues:s}}({data:r,width:n,x:i,travellerWidth:o,startIndex:c,endIndex:u}):{scale:null,scaleValues:null});if(t.scale&&(n!==t.prevWidth||i!==t.prevX||o!==t.prevTravellerWidth)){t.scale.range([i,i+n-o]);var s=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:r,prevTravellerWidth:o,prevUpdateId:a,prevX:i,prevWidth:n,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:s}}return null}},{key:"getIndexInRange",value:function(e,t){for(var r=0,n=e.length-1;n-r>1;){var i=Math.floor((r+n)/2);e[i]>t?n=i:r=i}return t>=e[n]?n:r}}],(r=[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var t=e.startX,r=e.endX,n=this.state.scaleValues,i=this.props,o=i.gap,c=i.data.length-1,u=Math.min(t,r),s=Math.max(t,r),l=a.getIndexInRange(n,u),f=a.getIndexInRange(n,s);return{startIndex:l-l%o,endIndex:f===c?c:f-f%o}}},{key:"getTextOfTick",value:function(e){var t=this.props,r=t.data,n=t.tickFormatter,i=t.dataKey,o=Vp(r[e],i,e);return me()(n)?n(o,e):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(e){var t=this.state,r=t.slideMoveStartX,n=t.startX,i=t.endX,o=this.props,a=o.x,c=o.width,u=o.travellerWidth,s=o.startIndex,l=o.endIndex,f=o.onChange,p=e.pageX-r;p>0?p=Math.min(p,a+c-u-i,a+c-u-n):p<0&&(p=Math.max(p,a-n,a-i));var d=this.getIndex({startX:n+p,endX:i+p});d.startIndex===s&&d.endIndex===l||!f||f(d),this.setState({startX:n+p,endX:i+p,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var r=Dd(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:r.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t,r=this.state,n=r.brushMoveStartX,i=r.movingTravellerId,o=r.endX,a=r.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,m={startX:this.state.startX,endX:this.state.endX},v=e.pageX-n;v>0?v=Math.min(v,s+l-f-c):v<0&&(v=Math.max(v,s-c)),m[i]=c+v;var y=this.getIndex(m),g=y.startIndex,b=y.endIndex;this.setState((Id(t={},i,c+v),Id(t,"brushMoveStartX",e.pageX),t),(function(){var e;p&&(e=h.length-1,("startX"===i&&(o>a?g%d==0:b%d==0)||o<a&&b===e||"endX"===i&&(o>a?b%d==0:g%d==0)||o>a&&b===e)&&p(y))}))}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.fill,c=e.stroke;return o.createElement("rect",{stroke:c,fill:a,x:t,y:r,width:n,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,n=e.width,i=e.height,a=e.data,c=e.children,u=e.padding,s=o.Children.only(c);return s?o.cloneElement(s,{x:t,y:r,width:n,height:i,margin:u,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,t){var r=this.props,n=r.y,i=r.travellerWidth,c=r.height,u=r.traveller,s=Math.max(e,this.props.x),l=Ed(Ed({},_e(this.props)),{},{x:s,y:n,width:i,height:c});return o.createElement(ze,{className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[t],onTouchStart:this.travellerDragStartHandlers[t],style:{cursor:"col-resize"}},a.renderTraveller(u,l))}},{key:"renderSlide",value:function(e,t){var r=this.props,n=r.y,i=r.height,a=r.stroke,c=r.travellerWidth,u=Math.min(e,t)+c,s=Math.max(Math.abs(t-e)-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:n,width:s,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,n=e.y,i=e.height,a=e.travellerWidth,c=e.stroke,u=this.state,s=u.startX,l=u.endX,f={pointerEvents:"none",fill:c};return o.createElement(ze,{className:"recharts-brush-texts"},o.createElement(Sa,wd({textAnchor:"end",verticalAnchor:"middle",x:Math.min(s,l)-5,y:n+i/2},f),this.getTextOfTick(t)),o.createElement(Sa,wd({textAnchor:"start",verticalAnchor:"middle",x:Math.max(s,l)+a+5,y:n+i/2},f),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,n=e.children,i=e.x,a=e.y,c=e.width,u=e.height,s=e.alwaysShowText,l=this.state,f=l.startX,p=l.endX,d=l.isTextActive,h=l.isSlideMoving,m=l.isTravellerMoving;if(!t||!t.length||!V(i)||!V(a)||!V(c)||!V(u)||c<=0||u<=0)return null;var v=P()("recharts-brush",r),y=1===o.Children.count(n),g=function(e,t){if(!e)return null;var r=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),n=gd.reduce((function(e,n){return vd(vd({},e),{},yd({},n+r,t))}),{});return n[e]=t,n}("userSelect","none");return o.createElement(ze,{className:v,onMouseMove:this.handleDrag,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:g},this.renderBackground(),y&&this.renderPanorama(),this.renderSlide(f,p),this.renderTravellerLayer(f,"startX"),this.renderTravellerLayer(p,"endX"),(d||h||m||s)&&this.renderText())}}])&&Sd(t.prototype,r),n&&Sd(t,n),a}(o.PureComponent);Ad.displayName="Brush",Ad.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 _d=function(e,t){var r=e.alwaysShow,n=e.ifOverflow;return r&&(n="extendDomain"),n===t},Pd=r(18345),Nd=r.n(Pd);function Cd(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function Ld(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ld(Object(r),!0).forEach((function(t){Bd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ld(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Bd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Ud=function(e,t){var r=e.x,n=e.y,i=t.x,o=t.y;return{x:Math.min(r,i),y:Math.min(n,o),width:Math.abs(i-r),height:Math.abs(o-n)}},zd=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.scale=void 0,this.scale=t}var t,r,n;return t=e,n=[{key:"create",value:function(t){return new e(t)}}],(r=[{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(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.bandAware,n=t.position;if(void 0!==e){if(n)switch(n){case"start":return this.scale(e);case"middle":var i=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+i;case"end":var o=this.bandwidth?this.bandwidth():0;return this.scale(e)+o;default:return this.scale(e)}if(r){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),r=t[0],n=t[t.length-1];return r<=n?e>=r&&e<=n:e>=n&&e<=r}}])&&Cd(t.prototype,r),n&&Cd(t,n),e}();zd.EPS=1e-4;var Hd=function(e){var t=Object.keys(e).reduce((function(t,r){return Rd(Rd({},t),{},Bd({},r,zd.create(e[r])))}),{});return Rd(Rd({},t),{},{apply:function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=r.bandAware;return Nd()(e,(function(e,r){return t[r].apply(e,{bandAware:n})}))},isInRange:function(e){return fe()(e,(function(e,r){return t[r].isInRange(e)}))}})};function Gd(){return(Gd=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Wd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function qd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Wd(Object(r),!0).forEach((function(t){Zd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Wd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Zd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Fd(e){var t=e.x,r=e.y,n=e.r,i=e.alwaysShow,a=e.clipPathId,c=J(t),u=J(r);if(te(void 0===i,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!c||!u)return null;var s=function(e){var t=e.x,r=e.y,n=e.xAxis,i=e.yAxis,o=Hd({x:n.scale,y:i.scale}),a=o.apply({x:t,y:r},{bandAware:!0});return _d(e,"discard")&&!o.isInRange(a)?null:a}(e);if(!s)return null;var l=s.x,f=s.y,p=e.shape,d=e.className,h=qd(qd({clipPath:_d(e,"hidden")?"url(#".concat(a,")"):void 0},_e(e,!0)),{},{cx:l,cy:f});return o.createElement(ze,{className:P()("recharts-reference-dot",d)},Fd.renderDot(p,h),_a.renderCallByParent(e,{x:l-n,y:f-n,width:2*n,height:2*n}))}Fd.displayName="ReferenceDot",Fd.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1},Fd.renderDot=function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(wo,Gd({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))};var Vd=r(94927),Jd=r.n(Vd);function Yd(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Xd(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Yd(Object(r),!0).forEach((function(t){Qd(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Yd(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Qd(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Kd(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kd(e,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 Kd(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function eh(){return(eh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function th(e){var t=e.x,r=e.y,n=e.segment,i=e.xAxis,a=e.yAxis,c=e.shape,u=e.className,s=e.alwaysShow,l=e.clipPathId;te(void 0===s,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var f=function(e,t,r,n,i){var o=i.viewBox,a=o.x,c=o.y,u=o.width,s=o.height,l=i.position;if(r){var f=i.y,p=i.yAxis.orientation,d=e.y.apply(f,{position:l});if(_d(i,"discard")&&!e.y.isInRange(d))return null;var h=[{x:a+u,y:d},{x:a,y:d}];return"left"===p?h.reverse():h}if(t){var m=i.x,v=i.xAxis.orientation,y=e.x.apply(m,{position:l});if(_d(i,"discard")&&!e.x.isInRange(y))return null;var g=[{x:y,y:c+s},{x:y,y:c}];return"top"===v?g.reverse():g}if(n){var b=i.segment.map((function(t){return e.apply(t,{position:l})}));return _d(i,"discard")&&Jd()(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(Hd({x:i.scale,y:a.scale}),J(t),J(r),n&&2===n.length,e);if(!f)return null;var p=$d(f,2),d=p[0],h=d.x,m=d.y,v=p[1],y=v.x,g=v.y,b=Xd(Xd({clipPath:_d(e,"hidden")?"url(#".concat(l,")"):void 0},_e(e,!0)),{},{x1:h,y1:m,x2:y,y2:g});return o.createElement(ze,{className:P()("recharts-reference-line",u)},function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement("line",eh({},t,{className:"recharts-reference-line-line"}))}(c,b),_a.renderCallByParent(e,function(e){var t=e.x1,r=e.y1,n=e.x2,i=e.y2;return Ud({x:t,y:r},{x:n,y:i})}({x1:h,y1:m,x2:y,y2:g})))}function rh(){return(rh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function nh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ih(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?nh(Object(r),!0).forEach((function(t){oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):nh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}th.displayName="ReferenceLine",th.defaultProps={isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"};function ah(e){var t=e.x1,r=e.x2,n=e.y1,i=e.y2,a=e.className,c=e.alwaysShow,u=e.clipPathId;te(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var s=J(t),l=J(r),f=J(n),p=J(i),d=e.shape;if(!(s||l||f||p||d))return null;var h=function(e,t,r,n,i){var o=i.x1,a=i.x2,c=i.y1,u=i.y2,s=i.xAxis,l=i.yAxis,f=Hd({x:s.scale,y:l.scale}),p={x:e?f.x.apply(o,{position:"start"}):f.x.rangeMin,y:r?f.y.apply(c,{position:"start"}):f.y.rangeMin},d={x:t?f.x.apply(a,{position:"end"}):f.x.rangeMax,y:n?f.y.apply(u,{position:"end"}):f.y.rangeMax};return!_d(i,"discard")||f.isInRange(p)&&f.isInRange(d)?Ud(p,d):null}(s,l,f,p,e);if(!h&&!d)return null;var m=_d(e,"hidden")?"url(#".concat(u,")"):void 0;return o.createElement(ze,{className:P()("recharts-reference-area",a)},ah.renderRect(d,ih(ih({clipPath:m},_e(e,!0)),h)),_a.renderCallByParent(e,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(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,rh({},t,{className:"recharts-reference-area-rect"}))};var ch=function(e,t,r,n,i){var o=Uo(e,th.displayName),a=Uo(e,Fd.displayName),c=o.concat(a),u=Uo(e,ah.displayName),s="".concat(n,"Id"),l=n[0],f=t;if(c.length&&(f=c.reduce((function(e,t){if(t.props[s]===r&&_d(t.props,"extendDomain")&&V(t.props[l])){var n=t.props[l];return[Math.min(e[0],n),Math.max(e[1],n)]}return e}),f)),u.length){var p="".concat(l,"1"),d="".concat(l,"2");f=u.reduce((function(e,t){if(t.props[s]===r&&_d(t.props,"extendDomain")&&V(t.props[p])&&V(t.props[d])){var n=t.props[p],i=t.props[d];return[Math.min(e[0],n,i),Math.max(e[1],n,i)]}return e}),f)}return i&&i.length&&(f=i.reduce((function(e,t){return V(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),f)),f},uh=r(2594),sh=new(r.n(uh)());sh.setMaxListeners&&sh.setMaxListeners(10);var lh="recharts.syncMouseEvents";function fh(e){return(fh="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function ph(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||Eh(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 dh(){return(dh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function hh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function mh(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function vh(e,t){return(vh=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function yh(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=wh(e);if(t){var i=wh(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return gh(this,r)}}function gh(e,t){return!t||"object"!==fh(t)&&"function"!=typeof t?bh(e):t}function bh(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function wh(e){return(wh=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function xh(e){return function(e){if(Array.isArray(e))return Ih(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Eh(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 Eh(e,t){if(e){if("string"==typeof e)return Ih(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ih(e,t):void 0}}function Ih(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Sh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Mh(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Sh(Object(r),!0).forEach((function(t){Oh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Oh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var kh={xAxis:["bottom","top"],yAxis:["left","right"]},jh={x:0,y:0},Th=Number.isFinite?Number.isFinite:isFinite,Dh="function"==typeof requestAnimationFrame?requestAnimationFrame:"function"==typeof setImmediate?setImmediate:setTimeout,Ah="function"==typeof cancelAnimationFrame?cancelAnimationFrame:"function"==typeof clearImmediate?clearImmediate:clearTimeout,_h=function(e,t,r){var n=t.graphicalItems,i=t.dataStartIndex,o=t.dataEndIndex,a=(n||[]).reduce((function(e,t){var r=t.props.data;return r&&r.length?[].concat(xh(e),xh(r)):e}),[]);return a&&a.length>0?a:r&&r.props&&r.props.data&&r.props.data.length>0?r.props.data:e&&e.length&&V(i)&&V(o)?e.slice(i,o+1):[]},Ph=function(e,t,r,n){var i=e.graphicalItems,o=e.tooltipAxis,a=_h(t,e);return r<0||!i||!i.length||r>=a.length?null:i.reduce((function(e,t){if(t.props.hide)return e;var i,c=t.props.data;o.dataKey&&!o.allowDuplicatedCategory?i=ee(void 0===c?a:c,o.dataKey,n):i=c&&c[r]||a[r];return i?[].concat(xh(e),[hd(t,i)]):e}),[])},Nh=function(e,t,r,n){var i=n||{x:e.chartX,y:e.chartY},o=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(i,r),a=e.orderedTooltipTicks,c=e.tooltipAxis,u=e.tooltipTicks,s=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0,o=-1,a=null!==(t=null==r?void 0:r.length)&&void 0!==t?t: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?n[u-1].coordinate:n[a-1].coordinate,l=n[u].coordinate,f=u>=a-1?n[0].coordinate:n[u+1].coordinate,p=void 0;if(Z(l-s)!==Z(f-l)){var d=[];if(Z(f-l)===Z(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 m=f+c[1]-c[0];d[0]=Math.min(l,(m+l)/2),d[1]=Math.max(l,(m+l)/2)}var v=[Math.min(l,(p+l)/2),Math.max(l,(p+l)/2)];if(e>v[0]&&e<=v[1]||e>=d[0]&&e<=d[1]){o=n[u].index;break}}else{var y=Math.min(s,f),g=Math.max(s,f);if(e>(y+l)/2&&e<=(g+l)/2){o=n[u].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b>0&&b<a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2&&e<=(r[b].coordinate+r[b+1].coordinate)/2||b===a-1&&e>(r[b].coordinate+r[b-1].coordinate)/2){o=r[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:Ph(e,t,s,l),activeCoordinate:function(e,t,r,n){var i=t.find((function(e){return e&&e.index===r}));if(i){if("horizontal"===e)return{x:i.coordinate,y:n.y};if("vertical"===e)return{x:n.x,y:i.coordinate};if("centric"===e){var o=i.coordinate,a=n.radius;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,a,o)),{},{angle:o,radius:a})}var c=i.coordinate,u=n.angle;return Mh(Mh(Mh({},n),Xi(n.cx,n.cy,c,u)),{},{angle:u,radius:c})}return jh}(r,a,s,i)}}return null},Ch=function(e,t){var r=t.axes,n=t.graphicalItems,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=e.stackOffset,p=Kp(s,i);return r.reduce((function(t,r){var d=r.props,h=d.type,m=d.dataKey,v=d.allowDataOverflow,y=d.allowDuplicatedCategory,g=d.scale,b=d.ticks,w=r.props[o],x=_h(e.data,{graphicalItems:n.filter((function(e){return e.props[o]===w})),dataStartIndex:c,dataEndIndex:u}),E=x.length;if(!t[w]){var I,S,M;if(m){if(I=Jp(x,m,h),"category"===h&&p){var O=function(e){if(!B()(e))return!1;for(var t=e.length,r={},n=0;n<t;n++){if(r[e[n]])return!0;r[e[n]]=!0}return!1}(I);y&&O?(S=I,I=xe()(0,E)):y||(I=dd(r.props.domain,I,r).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(xh(e),[t])}),[]))}else if("category"===h)I=y?I.filter((function(e){return""!==e&&!Ie()(e)})):dd(r.props.domain,I,r).reduce((function(e,t){return e.indexOf(t)>=0||""===t||Ie()(t)?e:[].concat(xh(e),[t])}),[]);else if("number"===h){var k=function(e,t,r,n){var i=t.map((function(t){return Qp(e,t,r,n)})).filter((function(e){return!Ie()(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),m,i);k&&(I=k)}!p||"number"!==h&&"auto"===g||(M=Jp(x,m,"category"))}else I=p?xe()(0,E):a&&a[w]&&a[w].hasStack&&"number"===h?"expand"===f?[0,1]:ud(a[w].stackGroups,c,u):$p(x,n.filter((function(e){return e.props[o]===w&&!e.props.hide})),h,!0);if("number"===h)I=ch(l,I,w,i,b),r.props.domain&&(I=fd(r.props.domain,I,v));else if("category"===h&&r.props.domain){var j=r.props.domain;I.every((function(e){return j.indexOf(e)>=0}))&&(I=j)}return Mh(Mh({},t),{},Oh({},w,Mh(Mh({},r.props),{},{axisType:i,domain:I,categoricalDomain:M,duplicateDomain:S,originalDomain:r.props.domain,isCategorical:p,layout:s})))}return t}),{})},Lh=function(e,t){var r=t.axisType,n=void 0===r?"xAxis":r,i=t.AxisComp,o=t.graphicalItems,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.children,l="".concat(n,"Id"),f=Uo(s,i),p={};return f&&f.length?p=Ch(e,{axes:f,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u}):o&&o.length&&(p=function(e,t){var r=t.graphicalItems,n=t.Axis,i=t.axisType,o=t.axisIdKey,a=t.stackGroups,c=t.dataStartIndex,u=t.dataEndIndex,s=e.layout,l=e.children,f=_h(e.data,{graphicalItems:r,dataStartIndex:c,dataEndIndex:u}),p=f.length,d=Kp(s,i),h=-1;return r.reduce((function(e,t){var m,v=t.props[o];return e[v]?e:(h++,d?m=xe()(0,p):a&&a[v]&&a[v].hasStack?(m=ud(a[v].stackGroups,c,u),m=ch(l,m,v,i)):(m=fd(n.defaultProps.domain,$p(f,r.filter((function(e){return e.props[o]===v&&!e.props.hide})),"number"),n.defaultProps.allowDataOverflow),m=ch(l,m,v,i)),Mh(Mh({},e),{},Oh({},v,Mh(Mh({axisType:i},n.defaultProps),{},{hide:!0,orientation:L()(kh,"".concat(i,".").concat(h%2),null),domain:m,originalDomain:n.defaultProps.domain,isCategorical:d,layout:s}))))}),{})}(e,{Axis:i,graphicalItems:o,axisType:n,axisIdKey:l,stackGroups:a,dataStartIndex:c,dataEndIndex:u})),p},Rh=function(e){var t=e.children,r=e.defaultShowTooltip,n=zo(t,Ad.displayName);return{chartX:0,chartY:0,dataStartIndex:n&&n.props&&n.props.startIndex||0,dataEndIndex:n&&n.props&&n.props.endIndex||e.data&&e.data.length-1||0,activeTooltipIndex:-1,isTooltipActive:!Ie()(r)&&r}},Bh=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},Uh=function(e,t){var r=e.props,n=(e.graphicalItems,e.xAxisMap),i=void 0===n?{}:n,o=e.yAxisMap,a=void 0===o?{}:o,c=r.width,u=r.height,s=r.children,l=r.margin||{},f=zo(s,Ad.displayName),p=zo(s,Xn.displayName),d=Object.keys(a).reduce((function(e,t){var r=a[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,e[n]+r.width))}),{left:l.left||0,right:l.right||0}),h=Object.keys(i).reduce((function(e,t){var r=i[t],n=r.orientation;return r.mirror||r.hide?e:Mh(Mh({},e),{},Oh({},n,L()(e,"".concat(n))+r.height))}),{top:l.top||0,bottom:l.bottom||0}),m=Mh(Mh({},h),d),v=m.bottom;return f&&(m.bottom+=f.props.height||Ad.defaultProps.height),p&&t&&(m=function(e,t,r,n){var i=r.children,o=r.width,a=r.margin,c=o-(a.left||0)-(a.right||0),u=Xp({children:i,legendWidth:c}),s=e;if(u){var l=n||{},f=u.align,p=u.verticalAlign,d=u.layout;("vertical"===d||"horizontal"===d&&"center"===p)&&V(e[f])&&(s=Zp(Zp({},e),{},Fp({},f,s[f]+(l.width||0)))),("horizontal"===d||"vertical"===d&&"center"===f)&&V(e[p])&&(s=Zp(Zp({},e),{},Fp({},p,s[p]+(l.height||0))))}return s}(m,0,r,t)),Mh(Mh({brushBottom:v},m),{},{width:c-m.left-m.right,height:u-m.top-m.bottom})};function zh(){return(zh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Hh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var r=[],n=!0,i=!1,o=void 0;try{for(var a,c=e[Symbol.iterator]();!(n=(a=c.next()).done)&&(r.push(a.value),!t||r.length!==t);n=!0);}catch(u){i=!0,o=u}finally{try{n||null==c.return||c.return()}finally{if(i)throw o}}return r}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Gh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Gh(e,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 Gh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Wh(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function qh(e){var t=e.offset,r=e.layout,n=e.width,i=e.dataKey,a=e.data,c=e.dataPointFormatter,u=e.xAxis,s=e.yAxis,l=Wh(e,["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"]),f=_e(l),p=a.map((function(e,a){var l=c(e,i),p=l.x,d=l.y,h=l.value,m=l.errorVal;if(!m)return null;var v,y,g=[];if(Array.isArray(m)){var b=Hh(m,2);v=b[0],y=b[1]}else v=y=m;if("vertical"===r){var w=u.scale,x=d+t,E=x+n,I=x-n,S=w(h-v),M=w(h+y);g.push({x1:M,y1:E,x2:M,y2:I}),g.push({x1:S,y1:x,x2:M,y2:x}),g.push({x1:S,y1:E,x2:S,y2:I})}else if("horizontal"===r){var O=s.scale,k=p+t,j=k-n,T=k+n,D=O(h-v),A=O(h+y);g.push({x1:j,y1:A,x2:T,y2:A}),g.push({x1:k,y1:D,x2:k,y2:A}),g.push({x1:j,y1:D,x2:T,y2:D})}return o.createElement(ze,zh({className:"recharts-errorBar",key:"bar-".concat(a)},f),g.map((function(e,t){return o.createElement("line",zh({},e,{key:"line-".concat(t)}))})))}));return o.createElement(ze,{className:"recharts-errorBars"},p)}qh.defaultProps={stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"},qh.displayName="ErrorBar";var Zh=function(e){return null};Zh.displayName="Cell";var Fh=r(16731),Vh=r.n(Fh);function Jh(e){return function(e){if(Array.isArray(e))return Yh(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 Yh(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Yh(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 Yh(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Xh(){return(Xh=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function Qh(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function $h(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qh(Object(r),!0).forEach((function(t){Kh(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qh(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Kh(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function em(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}var tm={valueAccessor:function(e){return B()(e.value)?Vh()(e.value):e.value}};function rm(e){var t=e.data,r=e.valueAccessor,n=e.dataKey,i=e.clockWise,a=e.id,c=e.textBreakAll,u=em(e,["data","valueAccessor","dataKey","clockWise","id","textBreakAll"]);return t&&t.length?o.createElement(ze,{className:"recharts-label-list"},t.map((function(e,t){var s=Ie()(n)?r(e,t):Vp(e&&e.payload,n),l=Ie()(a)?{}:{id:"".concat(a,"-").concat(t)};return o.createElement(_a,Xh({},_e(e,!0),u,l,{parentViewBox:e.parentViewBox,index:t,value:s,textBreakAll:c,viewBox:_a.parseViewBox(Ie()(i)?e:$h($h({},e),{},{clockWise:i})),key:"label-".concat(t)}))}))):null}function nm(e,t){return e?!0===e?o.createElement(rm,{key:"labelList-implicit",data:t}):o.isValidElement(e)||me()(e)?o.createElement(rm,{key:"labelList-implicit",data:t,content:e}):ke()(e)?o.createElement(rm,Xh({data:t},e,{key:"labelList-implicit"})):null:null}function im(e){return(im="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function om(e,t){if(null==e)return{};var r,n,i=function(e,t){if(null==e)return{};var r,n,i={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function am(){return(am=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(this,arguments)}function cm(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function um(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?cm(Object(r),!0).forEach((function(t){sm(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):cm(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function sm(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function lm(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function fm(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function pm(e,t){return(pm=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function dm(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 Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=mm(e);if(t){var i=mm(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return hm(this,r)}}function hm(e,t){return!t||"object"!==im(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function mm(e){return(mm=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}rm.displayName="LabelList",rm.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var n=e.children,i=Uo(n,rm.displayName).map((function(e,r){return(0,o.cloneElement)(e,{data:t,key:"labelList-".concat(r)})}));if(!r)return i;var a=nm(e.label,t);return[a].concat(Jh(i))},rm.defaultProps=tm;var vm=function(e){!function(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&&pm(e,t)}(a,e);var t,r,n,i=dm(a);function a(){var e;lm(this,a);for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return(e=i.call.apply(i,[this].concat(r))).state={isAnimationFinished:!1},e.id=X("recharts-bar-"),e.handleAnimationEnd=function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()},e.handleAnimationStart=function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()},e}return t=a,n=[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}},{key:"renderRectangle",value:function(e,t){return o.isValidElement(e)?o.cloneElement(e,t):me()(e)?e(t):o.createElement(Ao,t)}}],(r=[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props.shape,n=_e(this.props);return e&&e.map((function(e,i){var c=um(um(um({},n),e),{},{index:i});return o.createElement(ze,am({className:"recharts-bar-rectangle"},Ne(t.props,e,i),{key:"rectangle-".concat(i)}),a.renderRectangle(r,c))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,n=t.layout,i=t.isAnimationActive,a=t.animationBegin,c=t.animationDuration,u=t.animationEasing,s=t.animationId,l=this.state.prevData;return o.createElement(sr,{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(t){var i=t.t,a=r.map((function(e,t){var r=l&&l[t];if(r){var o=K(r.x,e.x),a=K(r.y,e.y),c=K(r.width,e.width),u=K(r.height,e.height);return um(um({},e),{},{x:o(i),y:a(i),width:c(i),height:u(i)})}if("horizontal"===n){var s=K(0,e.height)(i);return um(um({},e),{},{y:e.y+e.height-s,height:s})}var f=K(0,e.width)(i);return um(um({},e),{},{width:f})}));return o.createElement(ze,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,r=e.isAnimationActive,n=this.state.prevData;return!(r&&t&&t.length)||n&&nc()(n,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props.data,r=_e(this.props.background);return t.map((function(t,n){t.value;var i=t.background,o=om(t,["value","background"]);if(!i)return null;var c=um(um(um(um(um({},o),{},{fill:"#eee"},i),r),Ne(e.props,t,n)),{},{index:n,key:"background-bar-".concat(n),className:"recharts-bar-background-rectangle"});return a.renderRectangle(e.props.background,c)}))}},{key:"renderErrorBar",value:function(){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var e=this.props,t=e.data,r=e.xAxis,n=e.yAxis,i=e.layout,a=e.children,c=Uo(a,qh.displayName);if(!c)return null;var u="vertical"===i?t[0].height/2:t[0].width/2;function s(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:Vp(e,t)}}return c.map((function(e,a){return o.cloneElement(e,{key:"error-bar-".concat(a),data:t,xAxis:r,yAxis:n,layout:i,offset:u,dataPointFormatter:s})}))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,n=e.className,i=e.xAxis,a=e.yAxis,c=e.left,u=e.top,s=e.width,l=e.height,f=e.isAnimationActive,p=e.background,d=e.id;if(t||!r||!r.length)return null;var h=this.state.isAnimationFinished,m=P()("recharts-bar",n),v=i&&i.allowDataOverflow||a&&a.allowDataOverflow,y=Ie()(d)?this.id:d;return o.createElement(ze,{className:m},v?o.createElement("defs",null,o.createElement("clipPath",{id:"clipPath-".concat(y)},o.createElement("rect",{x:c,y:u,width:s,height:l}))):null,o.createElement(ze,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(y,")"):null},p?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(),(!f||h)&&rm.renderCallByParent(this.props,r))}}])&&fm(t.prototype,r),n&&fm(t,n),a}(o.PureComponent);vm.displayName="Bar",vm.defaultProps={xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",isAnimationActive:!Sr.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"},vm.getComposedData=function(e){var t=e.props,r=e.item,n=e.barPosition,i=e.bandSize,o=e.xAxis,a=e.yAxis,c=e.xAxisTicks,u=e.yAxisTicks,s=e.stackedData,l=e.dataStartIndex,f=e.displayedData,p=e.offset,d=function(e,t){if(!e)return null;for(var r=0,n=e.length;r<n;r++)if(e[r].item===t)return e[r].position;return null}(n,r);if(!d)return null;var h=t.layout,m=r.props,v=m.dataKey,y=m.children,g=m.minPointSize,b="horizontal"===h?a:o,w=s?b.scale.domain():null,x=function(e){var t=e.numericAxis,r=t.scale.domain();if("number"===t.type){var n=Math.min(r[0],r[1]),i=Math.max(r[0],r[1]);return n<=0&&i>=0?0:i<0?i:n}return r[0]}({numericAxis:b}),E=Uo(y,Zh.displayName),I=f.map((function(e,t){var n,f,p,m,y,b;if(s?n=function(e,t){if(!t||2!==t.length||!V(t[0])||!V(t[1]))return e;var r=Math.min(t[0],t[1]),n=Math.max(t[0],t[1]),i=[e[0],e[1]];return(!V(e[0])||e[0]<r)&&(i[0]=r),(!V(e[1])||e[1]>n)&&(i[1]=n),i[0]>n&&(i[0]=n),i[1]<r&&(i[1]=r),i}(s[l+t],w):(n=Vp(e,v),B()(n)||(n=[x,n])),"horizontal"===h){if(f=cd({axis:o,ticks:c,bandSize:i,offset:d.offset,entry:e,index:t}),p=a.scale(n[1]),m=d.size,y=a.scale(n[0])-a.scale(n[1]),b={x:f,y:a.y,width:m,height:a.height},Math.abs(g)>0&&Math.abs(y)<Math.abs(g)){var I=Z(y||g)*(Math.abs(g)-Math.abs(y));p-=I,y+=I}}else f=o.scale(n[0]),p=cd({axis:a,ticks:u,bandSize:i,offset:d.offset,entry:e,index:t}),m=o.scale(n[1])-o.scale(n[0]),y=d.size,b={x:o.x,y:p,width:o.width,height:y},Math.abs(g)>0&&Math.abs(m)<Math.abs(g)&&(m+=Z(m||g)*(Math.abs(g)-Math.abs(m)));return um(um(um({},e),{},{x:f,y:p,width:m,height:y,value:s?n:n[1],payload:e,background:b},E&&E[t]&&E[t].props),{},{tooltipPayload:[hd(r,e)],tooltipPosition:{x:f+m/2,y:p+y/2}})}));return um({data:I,layout:h},p)};var ym=function(){return null};ym.displayName="XAxis",ym.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 gm=function(){return null};gm.displayName="YAxis",gm.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 bm=function(e){var t,r,n=e.chartName,i=e.GraphicalChild,a=e.defaultTooltipEventType,c=void 0===a?"axis":a,u=e.validateTooltipEventTypes,s=void 0===u?["axis"]:u,l=e.axisComponents,f=e.legendContent,p=e.formatAxisMap,d=e.defaultProps,h=function(e,t){var r=t.graphicalItems,n=t.stackGroups,i=t.offset,a=t.updateId,c=t.dataStartIndex,u=t.dataEndIndex,s=e.barSize,f=e.layout,p=e.barGap,d=e.barCategoryGap,h=e.maxBarSize,m=Bh(f),v=m.numericAxisName,y=m.cateAxisName,g=function(e){return!(!e||!e.length)&&e.some((function(e){var t=Bo(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(r)&&function(e){var t=e.barSize,r=e.stackGroups,n=void 0===r?{}:r;if(!n)return{};for(var i={},o=Object.keys(n),a=0,c=o.length;a<c;a++)for(var u=n[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,m=d.filter((function(e){return Bo(e.type).indexOf("Bar")>=0}));if(m&&m.length){var v=m[0].props.barSize,y=m[0].props[h];i[y]||(i[y]=[]),i[y].push({item:m[0],stackList:m.slice(1),barSize:Ie()(v)?t:v})}}return i}({barSize:s,stackGroups:n}),b=[];return r.forEach((function(r,s){var m=_h(e.data,{dataStartIndex:c,dataEndIndex:u},r),w=r.props,x=w.dataKey,E=w.maxBarSize,I=r.props["".concat(v,"Id")],S=r.props["".concat(y,"Id")],M=l.reduce((function(e,n){var i,o=t["".concat(n.axisType,"Map")],a=r.props["".concat(n.axisType,"Id")],c=o&&o[a];return Mh(Mh({},e),{},(Oh(i={},n.axisType,c),Oh(i,"".concat(n.axisType,"Ticks"),td(c)),i))}),{}),O=M[y],k=M["".concat(y,"Ticks")],j=n&&n[I]&&n[I].hasStack&&function(e,t){var r=e.props.stackId;if(J(r)){var n=t[r];if(n&&n.items.length){for(var i=-1,o=0,a=n.items.length;o<a;o++)if(n.items[o]===e){i=o;break}return i>=0?n.stackedData[i]:null}}return null}(r,n[I].stackGroups),T=Bo(r.type).indexOf("Bar")>=0,D=pd(O,k),A=[];if(T){var _=pd(O,k,!0),P=Ie()(E)?h:E;A=function(e){var t=e.barGap,r=e.barCategoryGap,n=e.bandSize,i=e.sizeList,o=void 0===i?[]:i,a=e.maxBarSize,c=o.length;if(c<1)return null;var u,s=Q(t,n,0,!0);if(o[0].barSize===+o[0].barSize){var l=!1,f=n/c,p=o.reduce((function(e,t){return e+t.barSize||0}),0);(p+=(c-1)*s)>=n&&(p-=(c-1)*s,s=0),p>=n&&f>0&&(l=!0,p=c*(f*=.9));var d={offset:((n-p)/2>>0)-s,size:0};u=o.reduce((function(e,t){var r=[].concat(Gp(e),[{item:t.item,position:{offset:d.offset+d.size+s,size:l?f:t.barSize}}]);return d=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:d})})),r}),[])}else{var h=Q(r,n,0,!0);n-2*h-(c-1)*s<=0&&(s=0);var m=(n-2*h-(c-1)*s)/c;m>1&&(m>>=0);var v=a===+a?Math.min(m,a):m;u=o.reduce((function(e,t,r){var n=[].concat(Gp(e),[{item:t.item,position:{offset:h+(m+s)*r+(m-v)/2,size:v}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){n.push({item:e,position:n[n.length-1].position})})),n}),[])}return u}({barGap:p,barCategoryGap:d,bandSize:_!==D?_:D,sizeList:g[S],maxBarSize:P}),_!==D&&(A=A.map((function(e){return Mh(Mh({},e),{},{position:Mh(Mh({},e.position),{},{offset:e.position.offset-_/2})})})))}var N,C,L,R,B=r&&r.type&&r.type.getComposedData;B&&b.push({props:Mh(Mh({},B(Mh(Mh({},M),{},{displayedData:m,props:e,dataKey:x,item:r,bandSize:D,barPosition:A,offset:i,stackedData:j,layout:f,dataStartIndex:c,dataEndIndex:u}))),{},(N={key:r.key||"item-".concat(s)},Oh(N,v,M[v]),Oh(N,y,M[y]),Oh(N,"animationId",a),N)),childIndex:(C=r,L=e.children,R=-1,o.Children.forEach(L,(function(e,t){e===C&&(R=t)})),R),item:r})})),b},m=function(e,t){var r=e.props,o=e.dataStartIndex,a=e.dataEndIndex,c=e.updateId;if(!Ho({props:r}))return null;var u=r.children,s=r.layout,f=r.stackOffset,d=r.data,m=r.reverseStackOrder,v=Bh(s),y=v.numericAxisName,g=v.cateAxisName,b=Uo(u,i),w=function(e,t,r,n,i,o){if(!e)return null;var a=(o?t.reverse():t).reduce((function(e,t){var i=t.props,o=i.stackId;if(i.hide)return e;var a=t.props[r],c=e[a]||{hasStack:!1,stackGroups:{}};if(J(o)){var u=c.stackGroups[o]||{numericAxisId:r,cateAxisId:n,items:[]};u.items.push(t),c.hasStack=!0,c.stackGroups[o]=u}else c.stackGroups[X("_stackId_")]={numericAxisId:r,cateAxisId:n,items:[t]};return Zp(Zp({},e),{},Fp({},a,c))}),{});return Object.keys(a).reduce((function(t,o){var c=a[o];return c.hasStack&&(c.stackGroups=Object.keys(c.stackGroups).reduce((function(t,o){var a=c.stackGroups[o];return Zp(Zp({},t),{},Fp({},o,{numericAxisId:r,cateAxisId:n,items:a.items,stackedData:od(e,a.items,i)}))}),{})),Zp(Zp({},t),{},Fp({},o,c))}),{})}(d,b,"".concat(y,"Id"),"".concat(g,"Id"),f,m),x=l.reduce((function(e,t){var n="".concat(t.axisType,"Map");return Mh(Mh({},e),{},Oh({},n,Lh(r,Mh(Mh({},t),{},{graphicalItems:b,stackGroups:t.axisType===y&&w,dataStartIndex:o,dataEndIndex:a}))))}),{}),E=Uh(Mh(Mh({},x),{},{props:r,graphicalItems:b}),null==t?void 0:t.legendBBox);Object.keys(x).forEach((function(e){x[e]=p(r,x[e],E,e.replace("Map",""),n)}));var I,S,M=x["".concat(g,"Map")],O=(I=$(M),{tooltipTicks:S=td(I,!1,!0),orderedTooltipTicks:be()(S,(function(e){return e.coordinate})),tooltipAxis:I,tooltipAxisBandSize:pd(I)}),k=h(r,Mh(Mh({},x),{},{dataStartIndex:o,dataEndIndex:a,updateId:c,graphicalItems:b,stackGroups:w,offset:E}));return Mh(Mh({formatedGraphicalItems:k,graphicalItems:b,offset:E,stackGroups:w},O),x)};return r=t=function(e){!function(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&&vh(e,t)}(u,e);var t,r,i,a=yh(u);function u(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(t=a.call(this,e)).uniqueChartId=void 0,t.clipPathId=void 0,t.legendInstance=void 0,t.deferId=void 0,t.container=void 0,t.clearDeferId=function(){!Ie()(t.deferId)&&Ah&&Ah(t.deferId),t.deferId=null},t.handleLegendBBoxUpdate=function(e){if(e&&t.legendInstance){var r=t.state,n=r.dataStartIndex,i=r.dataEndIndex,o=r.updateId;t.setState(Mh({legendBBox:e},m({props:t.props,dataStartIndex:n,dataEndIndex:i,updateId:o},Mh(Mh({},t.state),{},{legendBBox:e}))))}},t.handleReceiveSyncEvent=function(e,r,n){t.props.syncId===e&&r!==t.uniqueChartId&&(t.clearDeferId(),t.deferId=Dh&&Dh(t.applySyncEvent.bind(bh(t),n)))},t.handleBrushChange=function(e){var r=e.startIndex,n=e.endIndex;if(r!==t.state.dataStartIndex||n!==t.state.dataEndIndex){var i=t.state.updateId;t.setState((function(){return Mh({dataStartIndex:r,dataEndIndex:n},m({props:t.props,dataStartIndex:r,dataEndIndex:n,updateId:i},t.state))})),t.triggerSyncEvent({dataStartIndex:r,dataEndIndex:n})}},t.handleMouseEnter=function(e){var r=t.props.onMouseEnter,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.triggeredAfterMouseMove=function(e){var r=t.props.onMouseMove,n=t.getMouseInfo(e),i=n?Mh(Mh({},n),{},{isTooltipActive:!0}):{isTooltipActive:!1};t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)},t.handleItemMouseEnter=function(e){t.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))},t.handleItemMouseLeave=function(){t.setState((function(){return{isTooltipActive:!1}}))},t.handleMouseMove=function(e){e&&me()(e.persist)&&e.persist(),t.triggeredAfterMouseMove(e)},t.handleMouseLeave=function(e){var r=t.props.onMouseLeave,n={isTooltipActive:!1};t.setState(n),t.triggerSyncEvent(n),me()(r)&&r(n,e),t.cancelThrottledTriggerAfterMouseMove()},t.handleOuterEvent=function(e){var r=function(e){var t=e&&e.type;return t&&Ro[t]?Ro[t]:null}(e),n=L()(t.props,"".concat(r));r&&me()(n)&&n(/.*touch.*/i.test(r)?t.getMouseInfo(e.changedTouches[0]):t.getMouseInfo(e),e)},t.handleClick=function(e){var r=t.props.onClick,n=t.getMouseInfo(e);if(n){var i=Mh(Mh({},n),{},{isTooltipActive:!0});t.setState(i),t.triggerSyncEvent(i),me()(r)&&r(i,e)}},t.handleMouseDown=function(e){var r=t.props.onMouseDown;me()(r)&&r(t.getMouseInfo(e),e)},t.handleMouseUp=function(e){var r=t.props.onMouseUp;me()(r)&&r(t.getMouseInfo(e),e)},t.handleTouchMove=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseMove(e.changedTouches[0])},t.handleTouchStart=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseDown(e.changedTouches[0])},t.handleTouchEnd=function(e){null!=e.changedTouches&&e.changedTouches.length>0&&t.handleMouseUp(e.changedTouches[0])},t.verticalCoordinatesGenerator=function(e){var t=e.xAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.left,i.left+i.width)},t.horizontalCoordinatesGenerator=function(e){var t=e.yAxis,r=e.width,n=e.height,i=e.offset;return ed(Va.getTicks(Mh(Mh(Mh({},Va.defaultProps),t),{},{ticks:td(t,!0),viewBox:{x:0,y:0,width:r,height:n}})),i.top,i.top+i.height)},t.axesTicksGenerator=function(e){return td(e,!0)},t.renderCursor=function(e){var r=t.state,i=r.isTooltipActive,a=r.activeCoordinate,c=r.activePayload,u=r.offset,s=r.activeTooltipIndex,l=t.getTooltipEventType();if(!(e&&e.props.cursor&&i&&a&&"axis"===l))return null;var f,p=t.props.layout,d=Ci;if("ScatterChart"===n)f=a,d=qi;else if("BarChart"===n)f=t.getCursorRectangle(),d=Ao;else if("radial"===p){var h=t.getCursorPoints(),m=h.cx,v=h.cy,y=h.radius;f={cx:m,cy:v,startAngle:h.startAngle,endAngle:h.endAngle,innerRadius:y,outerRadius:y},d=lo}else f={points:t.getCursorPoints()},d=Ci;var g=e.key||"_recharts-cursor",b=Mh(Mh(Mh(Mh({stroke:"#ccc",pointerEvents:"none"},u),f),_e(e.props.cursor)),{},{payload:c,payloadIndex:s,key:g,className:"recharts-tooltip-cursor"});return(0,o.isValidElement)(e.props.cursor)?(0,o.cloneElement)(e.props.cursor,b):(0,o.createElement)(d,b)},t.renderPolarAxis=function(e,r,n){var i=L()(e,"type.axisType"),a=L()(t.state,"".concat(i,"Map"))[e.props["".concat(i,"Id")]];return(0,o.cloneElement)(e,Mh(Mh({},a),{},{className:i,key:e.key||"".concat(r,"-").concat(n),ticks:td(a,!0)}))},t.renderXAxis=function(e,r,n){var i=t.state.xAxisMap[e.props.xAxisId];return t.renderAxis(i,e,r,n)},t.renderYAxis=function(e,r,n){var i=t.state.yAxisMap[e.props.yAxisId];return t.renderAxis(i,e,r,n)},t.renderGrid=function(e){var r=t.state,n=r.xAxisMap,i=r.yAxisMap,a=r.offset,c=t.props,u=c.width,s=c.height,l=$(n),f=de()(i,(function(e){return fe()(e.domain,Th)}))||$(i),p=e.props||{};return(0,o.cloneElement)(e,{key:e.key||"grid",x:V(p.x)?p.x:a.left,y:V(p.y)?p.y:a.top,width:V(p.width)?p.width:a.width,height:V(p.height)?p.height:a.height,xAxis:l,yAxis:f,offset:a,chartWidth:u,chartHeight:s,verticalCoordinatesGenerator:p.verticalCoordinatesGenerator||t.verticalCoordinatesGenerator,horizontalCoordinatesGenerator:p.horizontalCoordinatesGenerator||t.horizontalCoordinatesGenerator})},t.renderPolarGrid=function(e){var r=e.props,n=r.radialLines,i=r.polarAngles,a=r.polarRadius,c=t.state,u=c.radiusAxisMap,s=c.angleAxisMap,l=$(u),f=$(s),p=f.cx,d=f.cy,h=f.innerRadius,m=f.outerRadius;e.props;return(0,o.cloneElement)(e,{polarAngles:B()(i)?i:td(f,!0).map((function(e){return e.coordinate})),polarRadius:B()(a)?a:td(l,!0).map((function(e){return e.coordinate})),cx:p,cy:d,innerRadius:h,outerRadius:m,key:e.key||"polar-grid",radialLines:n})},t.renderLegend=function(){var e=t.state.formatedGraphicalItems,r=t.props,n=r.children,i=r.width,a=r.height,c=t.props.margin||{},u=i-(c.left||0)-(c.right||0),s=Xp({children:n,formatedGraphicalItems:e,legendWidth:u,legendContent:f});if(!s)return null;var l=s.item,p=hh(s,["item"]);return(0,o.cloneElement)(l,Mh(Mh({},p),{},{chartWidth:i,chartHeight:a,margin:c,ref:function(e){t.legendInstance=e},onBBoxUpdate:t.handleLegendBBoxUpdate}))},t.renderTooltip=function(){var e=t.props.children,r=zo(e,Rr.displayName);if(!r)return null;var n=t.state,i=n.isTooltipActive,a=n.activeCoordinate,c=n.activePayload,u=n.activeLabel,s=n.offset;return(0,o.cloneElement)(r,{viewBox:Mh(Mh({},s),{},{x:s.left,y:s.top}),active:i,label:u,payload:i?c:[],coordinate:a})},t.renderBrush=function(e){var r=t.props,n=r.margin,i=r.data,a=t.state,c=a.offset,u=a.dataStartIndex,s=a.dataEndIndex,l=a.updateId;return(0,o.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:rd(t.handleBrushChange,null,e.props.onChange),data:i,x:V(e.props.x)?e.props.x:c.left,y:V(e.props.y)?e.props.y:c.top+c.height+c.brushBottom-(n.bottom||0),width:V(e.props.width)?e.props.width:c.width,startIndex:u,endIndex:s,updateId:"brush-".concat(l)})},t.renderReferenceElement=function(e,r,n){if(!e)return null;var i=bh(t).clipPathId,a=t.state,c=a.xAxisMap,u=a.yAxisMap,s=a.offset,l=e.props,f=l.xAxisId,p=l.yAxisId;return(0,o.cloneElement)(e,{key:e.key||"".concat(r,"-").concat(n),xAxis:c[f],yAxis:u[p],viewBox:{x:s.left,y:s.top,width:s.width,height:s.height},clipPathId:i})},t.renderActivePoints=function(e){var t=e.item,r=e.activePoint,n=e.basePoint,i=e.childIndex,o=e.isRange,a=[],c=t.props.key,s=t.item.props,l=s.activeDot,f=Mh(Mh({index:i,dataKey:s.dataKey,cx:r.x,cy:r.y,r:4,fill:Yp(t.item),strokeWidth:2,stroke:"#fff",payload:r.payload,value:r.value,key:"".concat(c,"-activePoint-").concat(i)},_e(l)),Pe(l));return a.push(u.renderActiveDot(l,f)),n?a.push(u.renderActiveDot(l,Mh(Mh({},f),{},{cx:n.x,cy:n.y,key:"".concat(c,"-basePoint-").concat(i)}))):o&&a.push(null),a},t.renderGraphicChild=function(e,r,n){var i=t.filterFormatItem(e,r,n);if(!i)return null;var a=t.getTooltipEventType(),c=t.state,u=c.isTooltipActive,s=c.tooltipAxis,l=c.activeTooltipIndex,f=c.activeLabel,p=t.props.children,d=zo(p,Rr.displayName),h=i.props,m=h.points,v=h.isRange,y=h.baseLine,g=i.item.props,b=g.activeDot,w=!g.hide&&u&&d&&b&&l>=0,x={};"axis"!==a&&d&&"click"===d.props.trigger?x={onClick:rd(t.handleItemMouseEnter,null,e.props.onCLick)}:"axis"!==a&&(x={onMouseLeave:rd(t.handleItemMouseLeave,null,e.props.onMouseLeave),onMouseEnter:rd(t.handleItemMouseEnter,null,e.props.onMouseEnter)});var E=(0,o.cloneElement)(e,Mh(Mh({},i.props),x));if(w){var I,S;if(s.dataKey&&!s.allowDuplicatedCategory){var M="function"==typeof s.dataKey?function(e){return"function"==typeof s.dataKey?s.dataKey(e.payload):null}:"payload.".concat(s.dataKey.toString());I=ee(m,M,f),S=v&&y&&ee(y,M,f)}else I=m[l],S=v&&y&&y[l];if(!Ie()(I))return[E].concat(xh(t.renderActivePoints({item:i,activePoint:I,basePoint:S,childIndex:l,isRange:v})))}return v?[E,null,null]:[E,null]},t.renderCustomized=function(e){return(0,o.cloneElement)(e,Mh(Mh({},t.props),t.state))},t.uniqueChartId=Ie()(e.id)?X("recharts"):e.id,t.clipPathId="".concat(t.uniqueChartId,"-clip"),e.throttleDelay&&(t.triggeredAfterMouseMove=ye()(t.triggeredAfterMouseMove,e.throttleDelay)),t.state={},t}return t=u,(r=[{key:"componentDidMount",value:function(){Ie()(this.props.syncId)||this.addListener()}},{key:"componentDidUpdate",value:function(e){Ie()(e.syncId)&&!Ie()(this.props.syncId)&&this.addListener(),!Ie()(e.syncId)&&Ie()(this.props.syncId)&&this.removeListener()}},{key:"componentWillUnmount",value:function(){this.clearDeferId(),Ie()(this.props.syncId)||this.removeListener(),this.cancelThrottledTriggerAfterMouseMove()}},{key:"cancelThrottledTriggerAfterMouseMove",value:function(){"function"==typeof this.triggeredAfterMouseMove.cancel&&this.triggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=zo(this.props.children,Rr.displayName);if(e&&Me()(e.props.shared)){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:c}return c}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t,r,n,i=function(e,t){return{chartX:Math.round(e.pageX-t.left),chartY:Math.round(e.pageY-t.top)}}(e,(t=this.container,r=t.ownerDocument.documentElement,n={top:0,left:0},void 0!==t.getBoundingClientRect&&(n=t.getBoundingClientRect()),{top:n.top+window.pageYOffset-r.clientTop,left:n.left+window.pageXOffset-r.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 Mh(Mh({},i),{},{xValue:f,yValue:p})}var d=Nh(this.state,this.props.data,this.props.layout,o);return d?Mh(Mh({},i),d):null}},{key:"getCursorRectangle",value:function(){var e=this.props.layout,t=this.state,r=t.activeCoordinate,n=t.offset,i=t.tooltipAxisBandSize,o=i/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?r.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:r.y-o,width:"horizontal"===e?i:n.width-1,height:"horizontal"===e?n.height-1:i}}},{key:"getCursorPoints",value:function(){var e,t,r,n,i=this.props.layout,o=this.state,a=o.activeCoordinate,c=o.offset;if("horizontal"===i)r=e=a.x,t=c.top,n=c.top+c.height;else if("vertical"===i)n=t=a.y,e=c.left,r=c.left+c.width;else if(!Ie()(a.cx)||!Ie()(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,m=a.innerRadius,v=a.outerRadius,y=a.angle,g=Xi(d,h,m,y),b=Xi(d,h,v,y);e=g.x,t=g.y,r=b.x,n=b.y}return[{x:e,y:t},{x:r,y:n}]}},{key:"inRange",value:function(e,t){var r=this.props.layout;if("horizontal"===r||"vertical"===r){var n=this.state.offset;return e>=n.left&&e<=n.left+n.width&&t>=n.top&&t<=n.top+n.height?{x:e,y:t}:null}var i=this.state,o=i.angleAxisMap,a=i.radiusAxisMap;if(o&&a){var c=$(o);return Ki({x:e,y:t},c)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),r=zo(e,Rr.displayName),n={};return r&&"axis"===t&&(n="click"===r.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),Mh(Mh({},Pe(this.props,this.handleOuterEvent)),n)}},{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(e){var t=this.props.syncId;Ie()(t)||sh.emit(lh,t,this.uniqueChartId,e)}},{key:"applySyncEvent",value:function(e){var t=this.props,r=t.layout,n=t.syncMethod,i=this.state.updateId,o=e.dataStartIndex,a=e.dataEndIndex;if(Ie()(e.dataStartIndex)&&Ie()(e.dataEndIndex))if(Ie()(e.activeTooltipIndex))this.setState(e);else{var c=e.chartX,u=e.chartY,s=e.activeTooltipIndex,l=this.state,f=l.offset,p=l.tooltipTicks;if(!f)return;if("function"==typeof n)s=n(p,e);else if("value"===n){s=-1;for(var d=0;d<p.length;d++)if(p[d].value===e.activeLabel){s=d;break}}var h=Mh(Mh({},f),{},{x:f.left,y:f.top}),v=Math.min(c,h.x+h.width),y=Math.min(u,h.y+h.height),g=p[s]&&p[s].value,b=Ph(this.state,this.props.data,s),w=p[s]?{x:"horizontal"===r?p[s].coordinate:v,y:"horizontal"===r?y:p[s].coordinate}:jh;this.setState(Mh(Mh({},e),{},{activeLabel:g,activeCoordinate:w,activePayload:b,activeTooltipIndex:s}))}else this.setState(Mh({dataStartIndex:o,dataEndIndex:a},m({props:this.props,dataStartIndex:o,dataEndIndex:a,updateId:i},this.state)))}},{key:"filterFormatItem",value:function(e,t,r){for(var n=this.state.formatedGraphicalItems,i=0,o=n.length;i<o;i++){var a=n[i];if(a.item===e||a.props.key===e.key||t===Bo(a.item.type)&&r===a.childIndex)return a}return null}},{key:"renderAxis",value:function(e,t,r,n){var i=this.props,a=i.width,c=i.height;return o.createElement(Va,dh({},e,{className:"recharts-".concat(e.axisType," ").concat(e.axisType),key:t.key||"".concat(r,"-").concat(n),viewBox:{x:0,y:0,width:a,height:c},ticksGenerator:this.axesTicksGenerator}))}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,n=t.top,i=t.height,a=t.width;return o.createElement("defs",null,o.createElement("clipPath",{id:e},o.createElement("rect",{x:r,y:n,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var r=ph(t,2),n=r[0],i=r[1];return Mh(Mh({},e),{},Oh({},n,i.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.xAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getYScaleByAxisId",value:function(e){var t,r;return null===(t=this.state.yAxisMap)||void 0===t||null===(r=t[e])||void 0===r?void 0:r.scale}},{key:"getItemByXY",value:function(e){var t=this.state.formatedGraphicalItems;if(t&&t.length)for(var r=0,n=t.length;r<n;r++){var i=t[r],o=i.props,a=i.item,c=Bo(a.type);if("Bar"===c){var u=(o.data||[]).find((function(t){return Do(e,t)}));if(u)return{graphicalItem:i,payload:u}}else if("RadialBar"===c){var s=(o.data||[]).find((function(t){return Ki(e,t)}));if(s)return{graphicalItem:i,payload:s}}}return null}},{key:"render",value:function(){var e=this;if(!Ho(this))return null;var t=this.props,r=t.children,n=t.className,i=t.width,a=t.height,c=t.style,u=t.compact,s=hh(t,["children","className","width","height","style","compact"]),l=_e(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(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f));var p=this.parseEventsOfWrapper();return o.createElement("div",dh({className:P()("recharts-wrapper",n),style:Mh({position:"relative",cursor:"default",width:i,height:a},c)},p,{ref:function(t){e.container=t}}),o.createElement(Re,dh({},l,{width:i,height:a}),this.renderClipPath(),Fo(r,f)),this.renderLegend(),this.renderTooltip())}}])&&mh(t.prototype,r),i&&mh(t,i),u}(o.Component),t.displayName=n,t.defaultProps=Mh({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d),t.getDerivedStateFromProps=function(e,t){var r=e.data,n=e.children,i=e.width,o=e.height,a=e.layout,c=e.stackOffset,u=e.margin;if(Ie()(t.updateId)){var s=Rh(e);return Mh(Mh(Mh({},s),{},{updateId:0},m(Mh(Mh({props:e},s),{},{updateId:0}),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(r!==t.prevData||i!==t.prevWidth||o!==t.prevHeight||a!==t.prevLayout||c!==t.prevStackOffset||!Co(u,t.prevMargin)){var l=Rh(e),f={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},p=Mh(Mh({},Nh(t,r,a)),{},{updateId:t.updateId+1}),d=Mh(Mh(Mh({},l),f),p);return Mh(Mh(Mh({},d),m(Mh({props:e},d),t)),{},{prevData:r,prevWidth:i,prevHeight:o,prevLayout:a,prevStackOffset:c,prevMargin:u,prevChildren:n})}if(!qo(n,t.prevChildren)){var h=!Ie()(r)?t.updateId:t.updateId+1;return Mh(Mh({updateId:h},m(Mh(Mh({props:e},t),{},{updateId:h}),t)),{},{prevChildren:n})}return null},t.renderActiveDot=function(e,t){var r;return r=(0,o.isValidElement)(e)?(0,o.cloneElement)(e,t):me()(e)?e(t):o.createElement(wo,t),o.createElement(ze,{className:"recharts-active-dot",key:t.key},r)},r}({chartName:"BarChart",GraphicalChild:vm,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:ym},{axisType:"yAxis",AxisComp:gm}],formatAxisMap:function(e,t,r,i,o){var a=e.width,c=e.height,u=e.layout,s=e.children,l=Object.keys(t),f={left:r.left,leftMirror:r.left,right:a-r.right,rightMirror:a-r.right,top:r.top,topMirror:r.top,bottom:c-r.bottom,bottomMirror:c-r.bottom},p=!!zo(s,"Bar");return l.reduce((function(e,a){var c,s,l,d,h=t[a],m=h.orientation,v=h.domain,y=h.padding,g=void 0===y?{}:y,b=h.mirror,w=h.reversed,x="".concat(m).concat(b?"Mirror":"");c="xAxis"===i?[r.left+(g.left||0),r.left+r.width-(g.right||0)]:"yAxis"===i?"horizontal"===u?[r.top+r.height-(g.bottom||0),r.top+(g.top||0)]:[r.top+(g.top||0),r.top+r.height-(g.bottom||0)]:h.range,w&&(c=[c[1],c[0]]);var E=function(e,t,r){var i=e.scale,o=e.type,a=e.layout,c=e.axisType;if("auto"===i)return"radial"===a&&"radiusAxis"===c?{scale:Ka(),realScaleType:"band"}:"radial"===a&&"angleAxis"===c?{scale:hs(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!r)?{scale:tc(),realScaleType:"point"}:"category"===o?{scale:Ka(),realScaleType:"band"}:{scale:hs(),realScaleType:"linear"};if(q()(i)){var u="scale".concat(Ur()(i));return{scale:(n[u]||tc)(),realScaleType:n[u]?u:"point"}}return me()(i)?{scale:i}:{scale:tc(),realScaleType:"point"}}(h,o,p),I=E.scale,S=E.realScaleType;I.domain(v).range(c),function(e){var t=e.domain();if(t&&!(t.length<=2)){var r=t.length,n=e.range(),i=Math.min(n[0],n[1])-nd,o=Math.max(n[0],n[1])+nd,a=e(t[0]),c=e(t[r-1]);(a<i||a>o||c<i||c>o)&&e.domain([t[0],t[r-1]])}}(I);var M=ad(I,Rd(Rd({},h),{},{realScaleType:S}));"xAxis"===i?(d="top"===m&&!b||"bottom"===m&&b,s=r.left,l=f[x]-d*h.height):"yAxis"===i&&(d="left"===m&&!b||"right"===m&&b,s=f[x]-d*h.width,l=r.top);var O=Rd(Rd(Rd({},h),M),{},{realScaleType:S,x:s,y:l,scale:I,width:"xAxis"===i?r.width:h.width,height:"yAxis"===i?r.height:h.height});return O.bandSize=pd(O,M),h.hide||"xAxis"!==i?h.hide||(f[x]+=(d?-1:1)*O.width):f[x]+=(d?-1:1)*O.height,Rd(Rd({},e),{},Bd({},a,O))}),{})}}),wm=e=>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(se,{width:"100%",height:300},o.createElement(bm,{data:e.data},o.createElement(ym,{dataKey:"date"}),o.createElement(gm,{type:"number",domain:[0,"dataMax"],allowDecimals:!1}),o.createElement(Rr,null),o.createElement(vm,{dataKey:"total",name:(0,y.S)("Interactions"),fill:"#2271b1"})))),xm=e=>0===e.data.length?null:o.createElement("div",{className:"wprm-admin-dashboard-block-chart-table-container"},o.createElement("div",{className:"wprm-admin-dashboard-block-chart-title"},e.title),o.createElement("table",{className:"wprm-admin-dashboard-block-chart-table"},o.createElement("thead",null,o.createElement("tr",null,o.createElement("th",null,e.label),o.createElement("th",null,(0,y.S)("Total")),o.createElement("th",null,(0,y.S)("Unique")))),o.createElement("tbody",null,e.data.map(((e,t)=>o.createElement("tr",{key:t},o.createElement("td",null,e.name),o.createElement("td",null,e.total),o.createElement("td",null,e.unique)))))));class Em extends o.Component{constructor(e){super(e),this.state={loading:!0,data:!1}}componentDidMount(){this.checkForUpdate()}checkForUpdate(){this.setState({loading:!0},(()=>{v.Z.dashboard.getAnalytics().then((e=>{var t=!1;e&&(t=e.data),this.setState({loading:!1,data:t})}))}))}render(){var{data:e}=this.state;return o.createElement(o.Fragment,null,this.state.loading?o.createElement(T.Z,null):o.createElement(o.Fragment,null,0===e.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(wm,{data:e.per_day})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"🏆 ".concat((0,y.S)("Top Recipe Interactions (last 7 days)")),label:(0,y.S)("Recipe"),data:e.per_recipe})),o.createElement("div",{className:"wprm-admin-dashboard-block-chart"},o.createElement(xm,{title:"👍 ".concat((0,y.S)("Interactions (last 7 days)")),label:(0,y.S)("Type"),data:e.per_type})))))}}class Im extends o.Component{constructor(e){super(e),this.state={analyticsEnabled:wprm_admin_dashboard.settings.analytics_enabled}}render(){return o.createElement(g,{title:(0,y.S)("Analytics")},this.state.analyticsEnabled?o.createElement(o.Fragment,null,o.createElement(Em,null),wprm_admin_dashboard.settings.honey_home_integration?o.createElement(M,{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(M,{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(j,{onEnable:()=>{v.Z.settings.save({analytics_enabled:!0}),this.setState({analyticsEnabled:!0})}}))}}var Sm=r(47750);class Mm extends o.Component{constructor(e){super(e),this.state={rating:0}}render(){return o.createElement(g,{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(Sm.Z,{rating:this.state.rating,starDimension:"25px",starSpacing:"0",starHoverColor:"#2271b1",changeRating:e=>{this.setState({rating:e},(()=>{v.Z.utilities.giveFeedback(e)}))},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."))))}}r(19985);class Om extends o.Component{constructor(e){super(e),this.state={open:!1}}render(){return o.createElement("div",{className:"wprm-admin-dashboard-health-check-item"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-header",onClick:()=>{this.setState({open:!this.state.open})}},this.props.header),this.state.open&&o.createElement("div",{className:"wprm-admin-dashboard-health-check-content"},this.props.children))}}var km=e=>o.createElement(o.Fragment,null,e.item.includes("litespeed-cache")&&o.createElement(Om,{header:"🔌 LiteSpeed Cache might be breaking recipe saving"},o.createElement("p",null,'There have been issues with LiteSpeed Cache breaking the recipe saving if the "Cache REST API" setting is enabled on the ',o.createElement("em",null,"LiteSpeed Cache > Cache")," page."),o.createElement("p",null,'We recommend setting that setting to "Off".'))),jm=e=>{var t=e.item;return t.length?o.createElement(Om,{header:"✍️ Duplicate recipe names: ".concat(t.length)},o.createElement("p",null,"These recipe names are used in more than 1 recipe and might be duplicates. Click to find them on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},t.map(((e,t)=>o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:t},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/name=").concat(encodeURIComponent(e.name))},e.name)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},e.recipes.length," recipes")))))):null},Tm=e=>{var t=e.item;return t&&Object.keys(t).length?o.createElement(Om,{header:"📸 Missing recipe thumbnails: ".concat(Object.keys(t).length)},o.createElement("p",null,"Google expects to see 3 different ratios for the recipe image in the recipe metadata. WP Recipe Maker automatically generates those ratios for the recipe images, but some of them seem to be missing. This can happen if you converted those recipes from another plugin, for example."),o.createElement("p",null,"Try using a plugin like ",o.createElement("a",{href:"https://wordpress.org/plugins/regenerate-thumbnails/",target:"_blank"},"Regenerate Thumbnails")," to make sure all thumbnail sizes exist."),o.createElement("p",null,"If that doesn't fix things, the problem could also be that the original recipe image is too small. A recipe image should be at least 500 by 500 pixels to be able to generate all thumbnail sizes."),o.createElement("p",null,"Click through to find the problem recipes on the Manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e]?t[e]:"n/a";return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/id=").concat(encodeURIComponent(e))},n)))})))):null},Dm=r(2778),Am=r.n(Dm),_m={compatibility:km,duplicate_names:jm,missing_thumbnails:Tm,multiple_parents:e=>{var t=e.item;return Object.keys(t).length?o.createElement(Om,{header:"📑 Recipes used in multiple places: ".concat(Object.keys(t).length)},o.createElement("p",null,"These recipes have been added to more than 1 post or page. A recipe should generally only exist in 1 parent post. References should be made using the ",o.createElement("a",{href:"https://help.bootstrapped.ventures/article/182-itemlist-metadata-for-recipe-roundup-posts",target:"_blank"},"Recipe Roundup feature")," instead. Click on a post to edit it:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(t).map(((e,r)=>{var n=t[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-recipe"},e," - ",n.name),o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-posts"},n.posts.map(((e,t)=>{var r="".concat(e.id," - ").concat(e.name?e.name:"n/a");return o.createElement("div",{className:"wprm-admin-dashboard-health-check-multiple-parents-post",key:t},e.edit_url?o.createElement(o.Fragment,null,o.createElement("a",{href:Am().decode(e.edit_url)},r),parseInt(n.parent_post_id)===parseInt(e.id)&&" (parent post)"):r)}))))})))):null},seo_types:e=>{var t=e.item,r=Object.values(t).reduce(((e,t)=>e+t));if(0===r)return o.createElement(Om,{header:"🤷‍♂️ No recipes yet"},o.createElement("p",null,"We can't seem to find any recipes yet. Start adding them!"));var n={good:"Good SEO",rating:"Only missing recipe ratings",warning:"Missing some recommended fields",bad:"Missing some required fields",other:"Not using metadata (excluded from count)"};return o.createElement(Om,{header:"🔍 Recipes with a good SEO rating: ".concat(t.good," of ").concat(r-t.other)},o.createElement("p",null,"Google has a list of required and recommended fields they want to see in the metadata. You definitely need to fill in all required fields. Not filling in recommended fields will get you a warning, but is not a huge problem. Click to see those recipes on the manage page:"),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list"},Object.keys(n).map(((e,r)=>{var i=n[e];return o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item",key:r},o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-main"},o.createElement("a",{href:"".concat(wprm_admin.manage_url,"#recipe/seo=").concat(e)},i)),o.createElement("div",{className:"wprm-admin-dashboard-health-check-list-item-side"},t[e]," ",1===t[e]?"recipe":"recipes"))}))))}};class Pm extends o.Component{constructor(e){super(e),this.state={items:wprm_admin_dashboard.health.items}}render(){return o.createElement(g,{title:(0,y.S)("Health Check"),button:(0,y.S)("Run Check"),buttonAction:()=>{window.location=wprm_admin_dashboard.health.tool}},o.createElement("div",{className:"wprm-admin-dashboard-health-check-container"},o.createElement("div",{className:"wprm-admin-dashboard-health-check-last-update wprm-admin-dashboard-health-check-last-update-".concat(wprm_admin_dashboard.health.urgency),title:wprm_admin_dashboard.health.date?wprm_admin_dashboard.health.date_formatted_full:null},(0,y.S)("Last check:")," ",wprm_admin_dashboard.health.date_formatted,wprm_admin_dashboard.health.updated&&" (".concat((0,y.S)("outdated version"),")")),o.createElement("div",{className:"wprm-admin-dashboard-health-check-description"},(0,y.S)("Use the Health Check feature to search for any WPRM-related issues and improve your recipes.")," ","never"===wprm_admin_dashboard.health.urgency?(0,y.S)("Recommended to run occassionally by clicking on the blue button."):(0,y.S)("Most recent results:")),Object.keys(this.state.items).map(((e,t)=>{var r=this.state.items[e],n=!!_m.hasOwnProperty(e)&&_m[e];return n?o.createElement(n,{item:r,key:t}):null})),o.createElement("div",{className:"wprm-admin-dashboard-health-check-learn-more"},o.createElement("a",{href:"https://help.bootstrapped.ventures/article/306-health-check",target:"_blank"},(0,y.S)("Learn more about the Health Check feature")))))}}var Nm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-container"},o.createElement("div",{className:"wprm-admin-dashboard-learn-section-title"},e.title),o.createElement("div",{className:"wprm-admin-dashboard-learn-section"},e.children)),Cm=e=>o.createElement("div",{className:"wprm-admin-dashboard-learn-section-item"},e.hasOwnProperty("url")?o.createElement("a",{href:e.url,target:"_blank"},e.children):e.children),Lm=e=>o.createElement(g,{title:(0,y.S)("Get the most out of WPRM")},o.createElement("div",{className:"wprm-admin-dashboard-learn-container"},o.createElement(Nm,{title:"🧑‍🎓 ".concat((0,y.S)("Learn More"))},o.createElement(Cm,{url:"https://help.bootstrapped.ventures/collection/1-wp-recipe-maker"},(0,y.S)("Documentation in our knowledge base")),o.createElement(Cm,{url:"https://demo.wprecipemaker.com/all-features/"},(0,y.S)("All features in action on our demo site")),o.createElement(Cm,{url:"https://bootstrapped.ventures/wp-recipe-maker/videos/"},(0,y.S)("Video tutorials and walkthroughs"))),o.createElement(Nm,{title:"🤝 ".concat((0,y.S)("Our Partners"))},o.createElement(Cm,{url:"https://myemissions.green/wp-recipe-maker?ref=wprm"},(0,y.S)("My Emissions carbon footprint labels")),o.createElement(Cm,{url:"https://dailygrub.com"},(0,y.S)("DailyGrub recipe analytics suite"))),o.createElement(Nm,{title:"🙋 ".concat((0,y.S)("Get Help"))},o.createElement(Cm,{url:"https://www.facebook.com/groups/1741126932849712"},(0,y.S)("WP Recipe Maker Facebook Group")),o.createElement(Cm,{url:"mailto:support@bootstrapped.ventures"},(0,y.S)("Email our support team"))))),Rm=e=>{var{item:t}=e;if(!t.title)return null;var r=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"},t.date_formatted),o.createElement("div",{className:"wprm-admin-dashboard-news-item-title"},t.title)),t.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-dashboard-news-item-label wprm-admin-dashboard-news-item-label-".concat(t.label_key)},t.label)),n=["wprm-admin-dashboard-news-item"];return t.new&&n.push("wprm-admin-dashboard-news-item-new"),o.createElement(o.Fragment,null,t.hasOwnProperty("url")?o.createElement("a",{href:t.url,target:"_blank",className:n.join(" ")},r):o.createElement("div",{className:n.join(" ")},r))},Bm=e=>{var t=wprm_admin_dashboard.news;return t&&0!==t.length?o.createElement(g,{title:(0,y.S)("News")},o.createElement("div",{className:"wprm-admin-dashboard-news-container"},t.map(((e,t)=>o.createElement(Rm,{item:e,key:t}))))):null},Um=r(46963),zm=e=>{var{recipe:t}=e,r=t.hasOwnProperty("permalink")&&t.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"},t.date_formatted?t.date_formatted:""),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-name"},t.name?t.name:"n/a")),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-actions"},r&&o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement("a",{href:t.permalink,target:"_blank"},o.createElement(Um.Z,{type:"eye",title:(0,y.S)("View Recipe")}))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-recipe-action"},o.createElement(Um.Z,{type:"pencil",title:(0,y.S)("Edit Recipe"),onClick:()=>{WPRM_Modal.open("recipe",{recipeId:t.id,saveCallback:r=>{var n=JSON.parse(JSON.stringify(t));n.name=r.name,e.onUpdate(n)}})}}))))};class Hm extends o.Component{constructor(e){super(e),this.state={recipes:wprm_admin_dashboard.recipes}}render(){return o.createElement(g,{title:(0,y.S)("Latest Recipes"),button:(0,y.S)("Create Recipe"),buttonAction:()=>{WPRM_Modal.open("recipe",{saveCallback:e=>{var t=JSON.parse(JSON.stringify(this.state.recipes)),r=JSON.parse(JSON.stringify(e));r.date_formatted=wprm_admin_dashboard.today_formatted,(t=t.filter((e=>e.id!==r.id))).unshift(r),this.setState({recipes:t})}})}},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(((e,t)=>o.createElement(zm,{recipe:e,onUpdate:e=>{var r=JSON.parse(JSON.stringify(this.state.recipes));r[t]=e,this.setState({recipes:r})},key:t})))),o.createElement("div",{className:"wprm-admin-dashboard-recipes-all"},o.createElement("a",{href:wprm_admin.manage_url},(0,y.S)("Manage all recipes...")))))}}var Gm=e=>o.createElement("div",{className:"wprm-admin-dashboard-tip"},e.children),Wm=[o.createElement(Gm,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(Gm,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(Gm,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(Gm,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(Gm,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(Gm,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(Gm,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(Gm,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(Gm,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 qm extends o.Component{constructor(e){super(e);var t=Math.floor(Math.random()*Wm.length);this.changeTip=this.changeTip.bind(this);var r=setInterval(this.changeTip,15e3);this.state={activeTip:t,interval:r,bar:"odd"}}changeTip(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1,t=this.state.activeTip+e;t<0?t+=Wm.length:t%=Wm.length,clearInterval(this.state.interval),this.setState({activeTip:t,interval:setInterval(this.changeTip,15e3),bar:"even"===this.state.bar?"odd":"even"})}render(){return o.createElement(g,{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"},Wm.map(((e,t)=>{var r=["wprm-admin-dashboard-tip-container"];return t===this.state.activeTip&&r.push("wprm-admin-dashboard-tip-container-active"),o.createElement("div",{className:r.join(" "),key:t},e)}))),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:Zm}=WPRecipeMaker["wp-recipe-maker/dist/shared"],Fm=Zm.applyFilters("dashboardBlocks",[{id:"recipes",block:Hm},{id:"news",block:Bm},{id:"health",block:Pm},{id:"tips",block:qm},{id:"learn",block:Lm},{id:"analytics",block:Im}]);window.wprm_admin_dashboard.hasOwnProperty("feedback")&&window.wprm_admin_dashboard.feedback&&Fm.unshift({id:"feedback",block:Mm});class Vm extends o.Component{render(){var e=!1;return window.wprm_admin_dashboard.hasOwnProperty("marketing")&&window.wprm_admin_dashboard.marketing&&(e=wprm_admin_dashboard.marketing),o.createElement(o.Fragment,null,o.createElement("h1",null,"WP Recipe Maker"),!1!==e&&o.createElement(S,{campaign:e}),o.createElement(m,{blocks:Fm}))}}var Jm=document.getElementById("wprm-admin-dashboard");Jm&&i.render(o.createElement(Vm,null),Jm)},99237:function(e,t,r){"use strict";r.d(t,{Z:function(){return G}});var n=r(46087),i=wprm_admin.endpoints.analytics,o={delete:e=>n.Z.call("".concat(i,"/").concat(e),"DELETE")};function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var u=wprm_admin.endpoints.custom_taxonomies,s={save(e,t){var r=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},t),i=e?"PUT":"POST";return n.Z.call(u,i,r)}},l=wprm_admin.endpoints.dashboard,f={getAnalytics:()=>n.Z.call("".concat(l,"/analytics"))},p=wprm_admin.endpoints.notices,d={dismissNotice(e){var t={id:e};return n.Z.call(p,"DELETE",t)}},h=wprm_admin.endpoints.modal,m={parseIngredients(e){var t={ingredients:e};return n.Z.call("".concat(h,"/ingredient/parse"),"POST",t)}},v=(r(35054),wprm_admin.endpoints.manage),y=wprm_admin.endpoints.rating,g=wprm_admin.endpoints.taxonomy,b=!1,w=!1,x={getData(e){return b?(w=e,new Promise((e=>e(!1)))):this.getDataDebounced(e)},getDataDebounced(e){return b=!0,n.Z.call("".concat(v,"/").concat(e.route),"POST",e).then((e=>{if(w){var t=w;return w=!1,this.getDataDebounced(t)}return b=!1,e}))},deleteUserRatings:e=>n.Z.call("".concat(y,"/recipe/").concat(e),"DELETE"),getTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t)),createTerm(e,t){var r={name:t};return n.Z.call("".concat(g).concat(e),"POST",r)},deleteTerm:(e,t)=>n.Z.call("".concat(g).concat(e,"/").concat(t,"?force=true"),"DELETE"),renameTerm(e,t,r){var i={name:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},changeTermSlug(e,t,r){var i={slug:r};return n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},renameTermLabel(e,t,r){var i={type:e,id:t,label:r};return n.Z.call("".concat(v,"/taxonomy/label"),"POST",i)},mergeTerm(e,t,r){var i={type:e,oldId:t,newId:r};return n.Z.call("".concat(v,"/taxonomy/merge"),"POST",i)},updateTaxonomyMeta(e,t,r){var i={};return i[e]=r,n.Z.call("".concat(g).concat(e,"/").concat(t),"POST",i)},bulkEdit(e,t,r,i){var o={type:t,ids:r,action:i};return n.Z.call("".concat(v,"/").concat(e,"/bulk"),"POST",o)}},E=wprm_admin.endpoints.modal,I=!1,S=!1,M=!1,O={getSuggestions(e){return I?(M=e,new Promise((e=>e(!1)))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced(e){I=!0;var t=Date.now();return!1!==S&&500>t-S?new Promise((r=>{setTimeout((()=>{r(this.getSuggestionsDebounced(e))}),t-S)})):(S=t,n.Z.call("".concat(E,"/suggest"),"POST",e).then((e=>{if(M){var t=M;return M=!1,this.getSuggestionsDebounced(t)}return I=!1,e})))}},k=wprm_admin.endpoints.rating,j={update(e){var t={rating:e};return n.Z.call("".concat(k),"POST",t)},updateComment(e,t){var r={rating:t};return n.Z.call("".concat(k,"/comment/").concat(e),"POST",r)},delete:e=>n.Z.call("".concat(k,"/").concat(e),"DELETE")},T=wprm_admin.endpoints.recipe,D=wprm_admin.endpoints.manage,A={get:e=>n.Z.call("".concat(T,"/").concat(e)),save(e){var t={recipe:e},r=T,i="POST",o=!!e.id&&parseInt(e.id);return o&&(r+="/".concat(o),i="PUT"),n.Z.call(r,i,t)},updateStatus(e,t){var r={status:t};return n.Z.call("".concat(T,"/").concat(e),"PUT",r)},delete(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(T,"/").concat(e);return t&&(r+="?force=true"),n.Z.call(r,"DELETE")},deleteRevision:e=>n.Z.call("".concat(D,"/revision/").concat(e),"DELETE")},_=wprm_admin.endpoints.setting,P={save(e){var t={settings:e};return n.Z.call(_,"POST",t)}},N=wprm_admin.endpoints.template,C=[],L={},R=null,B={previewShortcode(e,t,r){return L[e]=t,clearTimeout(R),R=setTimeout((()=>{this.previewShortcodes(r)}),500),new Promise((e=>C.push(e)))},previewShortcodes(e){var t=C,r=L;C=[],L={};var n={recipeId:e,shortcodes:r};fetch("".concat(N,"/preview"),{method:"POST",headers:{"X-WP-Nonce":wprm_admin.api_nonce,Accept:"application/json","Content-Type":"application/json"},credentials:"same-origin",body:JSON.stringify(n)}).then((e=>e.json().then((r=>{var n=e.ok?r.preview:{};t.forEach((e=>e(n)))}))))},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 n.Z.call(N,"POST",t)},delete(e){var t={slug:e};return n.Z.call(N,"DELETE",t)}},U=wprm_admin.endpoints.utilities,z={saveImage(e){var t={url:e};return n.Z.call("".concat(U,"/save_image"),"POST",t)},giveFeedback(e){var t={feedback:e};return n.Z.call("".concat(U,"/feedback"),"POST",t)}},{hooks:H}=WPRecipeMaker["wp-recipe-maker/dist/shared"],G=H.applyFilters("api",{analytics:o,customTaxonomy:s,dashboard:f,general:d,import:m,manage:x,modal:O,rating:j,recipe:A,settings:P,template:B,utilities:z})},46087:function(e,t,r){"use strict";r(31807),r(35054),r(22321);t.Z={call(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=wprm_admin.api_nonce;"object"==typeof window.wpApiSettings&&window.wpApiSettings.nonce&&(n=window.wpApiSettings.nonce);var i={method:t,headers:{"X-WP-Nonce":n,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||(i.method="POST",i.headers["X-HTTP-Method-Override"]=t),r&&(i.body=JSON.stringify(r));var o=0;return e=e.replace(/\?/g,(function(e){return 2<=++o?"&":e})),fetch(e,i).then((function(t){if(t.ok)return t.json();console.log(e,i),console.log(t);var r="",n=parseInt(t.status),o=!1;300<=n&&n<=399?o="A redirection is breaking the API endpoint. Are any redirections set up in the .htaccess file or using a plugin?":401===n||403===n?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===n?o="The rest API endpoint could not be found. Are your permalinks set up correctly?":500<=n&&n<=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&&(r+="".concat(o,"\r\n\r\n")),r+="Press OK to contact support@bootstrapped.ventures for support (opens an email popup).";var a="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);r+="\r\n\r\n".concat(a);try{t.text().then((e=>{if(console.log(e),-1!==e.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;r+="\r\n\r\n".concat(e)}))}catch(u){console.log(u),r+="\r\n\r\n".concat(u)}if(confirm(r)){var c="I received the error message below at ".concat(window.location.href,"\r\n\r\n").concat(r);window.open("mailto:".concat(encodeURIComponent("support@bootstrapped.ventures"),"?subject=").concat(encodeURIComponent("WP Recipe Maker Error Message"),"&body=").concat(encodeURIComponent(c)))}return!1}))}}},46963:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(89526),i=r(49092),o=r(95075),a={adjustable:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMi41IiB4Mj0iMTUuNSIgeTI9IjEyLjUiPjwvbGluZT4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjAuNSIgeTE9IjMuNSIgeDI9IjMuNSIgeTI9IjMuNSI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOS41IiB5MT0iMy41IiB4Mj0iMTUuNSIgeTI9IjMuNSI+PC9saW5lPiA8cmVjdCBkYXRhLWNvbG9yPSJjb2xvci0yIiB4PSIzLjUiIHk9IjAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHdpZHRoPSIzIiBoZWlnaHQ9IjYiPjwvcmVjdD4gPHJlY3QgZGF0YS1jb2xvcj0iY29sb3ItMiIgeD0iOS41IiB5PSI5LjUiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB3aWR0aD0iMyIgaGVpZ2h0PSI2Ij48L3JlY3Q+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIwLjUiIHkxPSIxMi41IiB4Mj0iNi41IiB5Mj0iMTIuNSI+PC9saW5lPiA8L2c+PC9zdmc+",bold:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZD0iTTIuNSwxLjVoNmEzLDMsMCwwLDEsMywzaDBhMywzLDAsMCwxLTMsM2gtNCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPHBhdGggZD0iTTQuNSw3LjVIMTBBMy41LDMuNSwwLDAsMSwxMy41LDExaDBBMy41LDMuNSwwLDAsMSwxMCwxNC41SDIuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvcGF0aD4gPGxpbmUgeDE9IjQuNSIgeTE9IjEuNSIgeDI9IjQuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",clock:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOC41IiBjeT0iOC41IiByPSI3Ij48L2NpcmNsZT4gPHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA1LjUsNS41IDguNSw4LjUgMTMuNSw4LjUgIj48L3BvbHlsaW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjMuNSIgeDI9IjguNSIgeTI9IjQuNSI+PC9saW5lPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjEzLjUiIHgyPSI4LjUiIHkyPSIxMi41Ij48L2xpbmU+IDxsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMy41IiB5MT0iOC41IiB4Mj0iNC41IiB5Mj0iOC41Ij48L2xpbmU+IDwvZz48L3N2Zz4=",close:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEzLjUiIHkxPSIyLjUiIHgyPSIyLjUiIHkyPSIxMy41IiBkYXRhLWNhcD0iYnV0dCI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMi41IiB5MT0iMi41IiB4Mj0iMTMuNSIgeTI9IjEzLjUiIGRhdGEtY2FwPSJidXR0Ij48L2xpbmU+IDwvZz48L3N2Zz4=",code:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48bGluZSB4MT0iMTAuNSIgeTE9IjEuNSIgeDI9IjUuNSIgeTI9IjE0LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8cG9seWxpbmUgcG9pbnRzPSIzLjUgNC41IDAuNSA3LjUgMy41IDEwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCI+PC9wb2x5bGluZT4gPHBvbHlsaW5lIHBvaW50cz0iMTIuNSA0LjUgMTUuNSA3LjUgMTIuNSAxMC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgZGF0YS1jYXA9ImJ1dHQiPjwvcG9seWxpbmU+PC9nPjwvc3ZnPg==","checkbox-alternate":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiA0LjUsNi41IDcuNSw5LjUgMTUuNSwxLjUgIi8+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xMy41LDcuNXY2IGMwLDAuNTUyLTAuNDQ4LDEtMSwxaC0xMWMtMC41NTIsMC0xLTAuNDQ4LTEtMXYtMTFjMC0wLjU1MiwwLjQ0OC0xLDEtMWg5Ii8+IDwvZz48L3N2Zz4=","checkbox-checked":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBvbHlsaW5lIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNC41LDcuNSA3LDEwIDEyLDUgIj48L3BvbHlsaW5lPjxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzQ0NDQ0NCIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0xNC41LDE1LjVoLTEzYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiI+PC9wYXRoPjwvZz48L3N2Zz4=","checkbox-empty":"data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIHg9IjBweCIgeT0iMHB4IiB2aWV3Qm94PSIwIDAgMTYgMTYiIHhtbDpzcGFjZT0icHJlc2VydmUiIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiI+PGcgY2xhc3M9Im5jLWljb24td3JhcHBlciIgZmlsbD0iIzQ0NDQ0NCI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjNDQ0NDQ0IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTNjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTEzYzAtMC41NTIsMC40NDgtMSwxLTFoMTNjMC41NTIsMCwxLDAuNDQ4LDEsMXYxM0MxNS41LDE1LjA1MiwxNS4wNTIsMTUuNSwxNC41LDE1LjV6Ij48L3BhdGg+PC9nPjwvc3ZnPg==",checkmark:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMSA5LjUgNS41IDE0IDE1IDEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIi8+PC9nPjwvc3ZnPg==",duplicate:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxMSIgaGVpZ2h0PSIxMSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY2FwPSJidXR0Ii8+IDxwb2x5bGluZSBwb2ludHM9IjEzLjUgNC41IDE1LjUgNC41IDE1LjUgMTUuNSA0LjUgMTUuNSA0LjUgMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPjwvZz48L3N2Zz4=",drag:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjUuNSIgeDI9IjE1LjUiIHkyPSI1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIi8+PGxpbmUgeDE9IjAuNSIgeTE9IjEwLjUiIHgyPSIxNS41IiB5Mj0iMTAuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+PC9nPjwvc3ZnPg==","eafl-link":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+","eafl-unlink":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMyOTgwYjkiIHN0cm9rZT0iIzI5ODBiOSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMjk4MGI5IiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzI5ODBiOSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",eye:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTAuNSw4IGMwLDAsMy01LjUsNy41LTUuNVMxNS41LDgsMTUuNSw4cy0zLDUuNS03LjUsNS41UzAuNSw4LDAuNSw4eiIvPiA8Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjgiIHI9IjIuNSIvPiA8L2c+PC9zdmc+",italic:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjYuNSIgeTE9IjAuNSIgeDI9IjEyLjUiIHkyPSIwLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxNS41IiB4Mj0iOS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPGxpbmUgeDE9IjkuNSIgeTE9IjAuNSIgeDI9IjYuNSIgeTI9IjE1LjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+PC9nPjwvc3ZnPg==",link:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8L2c+PC9zdmc+",merge:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxMC41IiB5MT0iMTIuNSIgeDI9IjEzLjUiIHkyPSIxNS41IiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjQuNSw0LjUgOC41LDAuNSAxMi41LDQuNSAiPjwvcG9seWxpbmU+IDxwb2x5bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IjguNSwwLjUgOC41LDEwLjUgMy41LDE1LjUgIj48L3BvbHlsaW5lPjwvZz48L3N2Zz4=",movie:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjIuNSIgY3k9IjIuNSIgcj0iMiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8Y2lyY2xlIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBjeD0iOCIgY3k9IjMiIHI9IjEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTAuNSw5LjV2LTIgYzAtMC41NTItMC40NDgtMS0xLTFoLThjLTAuNTUyLDAtMSwwLjQ0OC0xLDF2N2MwLDAuNTUyLDAuNDQ4LDEsMSwxaDhjMC41NTIsMCwxLTAuNDQ4LDEtMXYtMmw1LDJ2LTdMMTAuNSw5LjV6Ii8+PC9nPjwvc3ZnPg==",pencil:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48cG9seWdvbiBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBwb2ludHM9IiAxMywwLjUgMTUuNSwzIDcuNSwxMSA0LDEyIDUsOC41ICI+PC9wb2x5Z29uPiA8bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEiIHkxPSIyLjUiIHgyPSIxMy41IiB5Mj0iNSI+PC9saW5lPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMTMuNSw5LjV2NSBjMCwwLjU1Mi0wLjQ0OCwxLTEsMWgtMTFjLTAuNTUyLDAtMS0wLjQ0OC0xLTF2LTExYzAtMC41NTIsMC40NDgtMSwxLTFoNSI+PC9wYXRoPiA8L2c+PC9zdmc+",photo:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPiA8cG9seWxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMi41LDEyLjUgOS41LDcuNSAxMy41LDExLjUgIiBkYXRhLWNvbG9yPSJjb2xvci0yIi8+IDxjaXJjbGUgY3g9IjQuNSIgY3k9IjUuNSIgcj0iMS41IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiIgZGF0YS1zdHJva2U9Im5vbmUiIHN0cm9rZT0ibm9uZSIvPjwvZz48L3N2Zz4=",plus:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjguNSIgeTE9IjQuNSIgeDI9IjguNSIgeTI9IjEyLjUiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjQuNSIgeTE9IjguNSIgeDI9IjEyLjUiIHkyPSI4LjUiLz4gPC9nPjwvc3ZnPg==",print:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMy41IDMuNSAzLjUgMC41IDEyLjUgMC41IDEyLjUgMy41IiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBvbHlsaW5lIHBvaW50cz0iMy41IDEyLjUgMC41IDEyLjUgMC41IDUuNSAxNS41IDUuNSAxNS41IDEyLjUgMTIuNSAxMi41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPiA8cmVjdCB4PSIzLjUiIHk9IjkuNSIgd2lkdGg9IjkiIGhlaWdodD0iNiIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz48L2c+PC9zdmc+",question:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBmaWxsPSIjMTExMTExIj48Y2lyY2xlIGRhdGEtY29sb3I9ImNvbG9yLTIiIGN4PSI4IiBjeT0iMTMuNSIgcj0iMS41Ii8+IDxwYXRoIGZpbGw9IiMxMTExMTEiIGQ9Ik04LDBDNi4zMDksMCw0Ljc5MiwxLjA3Miw0LjIyOSwyLjY2N0wzLjg5NSwzLjYwOUw1Ljc4LDQuMjc2bDAuMzMzLTAuOTQzQzYuMzk2LDIuNTM2LDcuMTU0LDIsOCwyIGMxLjEwMywwLDIsMC44OTcsMiwyYzAsMC42MzItMC4yNDUsMC44MzktMC45NTIsMS4zNDdDOC4xODQsNS45NjcsNyw2LjgxNyw3LDl2MWgyVjljMC0xLjE1NywwLjQ4Mi0xLjUwMywxLjIxNC0yLjAyOCBDMTAuOTY4LDYuNDMxLDEyLDUuNjksMTIsNEMxMiwxLjc5NCwxMC4yMDYsMCw4LDB6Ii8+PC9nPjwvc3ZnPg==",restore:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik0wLjUsNS41bDUtNXYzIGMzLjE1NiwwLDcsMS44NTQsNyw3Yy0xLjU1OS0yLjUyMy00LjUtMy03LTN2M0wwLjUsNS41eiIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8cGF0aCBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiBkPSJNMC41LDEwLjV2NCBjMCwwLjU1MiwwLjQ0OCwxLDEsMWgxM2MwLjU1MiwwLDEtMC40NDgsMS0xdi0xMWMwLTAuNTUyLTAuNDQ4LTEtMS0xaC0yIi8+PC9nPjwvc3ZnPg==","star-empty":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyAgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMCwgMCkiPjxwb2x5Z29uIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzM0MzQzNCIgc3Ryb2tlLXdpZHRoPSIyIiBzdHJva2UtbGluZWNhcD0ic3F1YXJlIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iMTIsMi42IDE1LDkgMjEuNCw5IDE2LjcsMTMuOSAxOC42LDIxLjQgMTIsMTcuNiA1LjQsMjEuNCA3LjMsMTMuOSAyLjYsOSA5LDkgIiBzdHJva2UtbGluZWpvaW49Im1pdGVyIi8+PC9nPjwvc3ZnPg==","star-full":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB4PSIwcHgiIHk9IjBweCIgd2lkdGg9IjE2cHgiIGhlaWdodD0iMTZweCIgdmlld0JveD0iMCAwIDI0IDI0Ij48ZyA+PHBhdGggZmlsbD0iIzM0MzQzNCIgZD0iTTEyLjcxMiwxLjk0MmwyLjk2OSw2LjAxNWw2LjYzOCwwLjk2NWMwLjY1MSwwLjA5NSwwLjkxMSwwLjg5NSwwLjQ0LDEuMzU0bC00LjgwNCw0LjY4MmwxLjEzNCw2LjYxMmMwLjExMSwwLjY0OS0wLjU3LDEuMTQzLTEuMTUyLDAuODM3TDEyLDE5LjI4NmwtNS45MzgsMy4xMjJDNS40OCwyMi43MTQsNC43OTksMjIuMjE5LDQuOTEsMjEuNTdsMS4xMzQtNi42MTJsLTQuODA0LTQuNjgyYy0wLjQ3MS0wLjQ1OS0wLjIxMS0xLjI2LDAuNDQtMS4zNTRsNi42MzgtMC45NjVsMi45NjktNi4wMTVDMTEuNTc5LDEuMzUyLDEyLjQyMSwxLjM1MiwxMi43MTIsMS45NDJ6Ii8+PC9nPjwvc3ZnPg==",subscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMi41IDQuNSAyLjUgMi41IDEyLjUgMi41IDEyLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjcuNSIgeTE9IjIuNSIgeDI9IjcuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSI1LjUiIHkxPSIxMy41IiB4Mj0iOS41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE1LDE1LjMyNEgxMS45MDd2LS43NThsMS4wNC0xLjA1M3EuNDQ3LS40NjUuNTg0LS42MzZhMS40MzcsMS40MzcsMCwwLDAsLjE5MS0uMjkzLjY1LjY1LDAsMCwwLC4wNTMtLjI1Ny4zMzUuMzM1LDAsMCwwLS4xMDctLjI2Mi40NDQuNDQ0LDAsMCwwLS4zLS4xLjgyLjgyLDAsMCwwLS40MDYuMTE1LDIuOTM1LDIuOTM1LDAsMCwwLS40NjUuMzRsLS42MzMtLjc0MWEzLjQ1NCwzLjQ1NCwwLDAsMSwuNTU0LS40MjEsMS45NzIsMS45NzIsMCwwLDEsLjQ4OC0uMTkzQTIuMzU0LDIuMzU0LDAsMCwxLDEzLjUsMTFhMS44LDEuOCwwLDAsMSwuNzM5LjE0NiwxLjE1NSwxLjE1NSwwLDAsMSwuNS40MTYsMS4wNjMsMS4wNjMsMCwwLDEsLjE3OS42LDEuNTcyLDEuNTcyLDAsMCwxLS4yNTYuODgzLDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE1WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",superscript:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlsaW5lIHBvaW50cz0iMC41IDQuNSAwLjUgMi41IDEwLjUgMi41IDEwLjUgNC41IiBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCI+PC9wb2x5bGluZT4gPGxpbmUgeDE9IjUuNSIgeTE9IjIuNSIgeDI9IjUuNSIgeTI9IjEzLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIzLjUiIHkxPSIxMy41IiB4Mj0iNy41IiB5Mj0iMTMuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT4gPHBhdGggZD0iTTE2LDQuMzI0SDEyLjkwN1YzLjU2NmwxLjA0LTEuMDUzcS40NDctLjQ2NS41ODQtLjYzNmExLjQzNywxLjQzNywwLDAsMCwuMTkxLS4yOTMuNjUuNjUsMCwwLDAsLjA1My0uMjU3LjMzNS4zMzUsMCwwLDAtLjEwNy0uMjYyLjQ0NC40NDQsMCwwLDAtLjMtLjEuODIuODIsMCwwLDAtLjQwNi4xMTUsMi45MzUsMi45MzUsMCwwLDAtLjQ2NS4zNEwxMi44Ni42ODJhMy40NTQsMy40NTQsMCwwLDEsLjU1NC0uNDIxQTEuOTcyLDEuOTcyLDAsMCwxLDEzLjkuMDY4LDIuMzU0LDIuMzU0LDAsMCwxLDE0LjUsMGExLjgsMS44LDAsMCwxLC43MzkuMTQ2LDEuMTU1LDEuMTU1LDAsMCwxLC41LjQxNiwxLjA2MywxLjA2MywwLDAsMSwuMTc5LjYsMS42MjcsMS42MjcsMCwwLDEtLjA2My40NjQsMS42NCwxLjY0LDAsMCwxLS4xOTMuNDE5LDIuOTQzLDIuOTQzLDAsMCwxLS4zNDkuNDMzcS0uMjE4LjIyNi0uOTI1Ljg2M3YuMDI5SDE2WiIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiIGRhdGEtc3Ryb2tlPSJub25lIiBzdHJva2U9Im5vbmUiPjwvcGF0aD48L2c+PC9zdmc+",trash:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTIuNSw2LjV2NyBjMCwxLjEwNSwwLjg5NSwyLDIsMmg4YzEuMTA1LDAsMi0wLjg5NSwyLTJ2LTciLz4gPGxpbmUgZGF0YS1jb2xvcj0iY29sb3ItMiIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIxLjUiIHkxPSIzLjUiIHgyPSIxNS41IiB5Mj0iMy41Ii8+IDxwb2x5bGluZSBkYXRhLWNvbG9yPSJjb2xvci0yIiBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgcG9pbnRzPSIgNi41LDMuNSA2LjUsMC41IDEwLjUsMC41IDEwLjUsMy41ICIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iOC41IiB5MT0iNy41IiB4Mj0iOC41IiB5Mj0iMTIuNSIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2U9IiMxMTExMTEiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iMTEuNSIgeTE9IjcuNSIgeDI9IjExLjUiIHkyPSIxMi41Ii8+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSI1LjUiIHkxPSI3LjUiIHgyPSI1LjUiIHkyPSIxMi41Ii8+IDwvZz48L3N2Zz4=",underline:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PGxpbmUgeDE9IjAuNSIgeTE9IjE1LjUiIHgyPSIxNS41IiB5Mj0iMTUuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBkYXRhLWNvbG9yPSJjb2xvci0yIj48L2xpbmU+IDxwYXRoIGQ9Ik0xMi41LDEuNVY4QTQuNSw0LjUsMCwwLDEsOCwxMi41SDhBNC41LDQuNSwwLDAsMSwzLjUsOFYxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L3BhdGg+IDxsaW5lIHgxPSIxLjUiIHkxPSIxLjUiIHgyPSI1LjUiIHkyPSIxLjUiIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48L2xpbmU+IDxsaW5lIHgxPSIxMC41IiB5MT0iMS41IiB4Mj0iMTQuNSIgeTI9IjEuNSIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiPjwvbGluZT48L2c+PC9zdmc+",unlink:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTEyLDlsMS45NzUtMi4wMjUgYzEuMzY3LTEuMzY3LDEuMzY3LTMuNTgzLDAtNC45NWwwLDBjLTEuMzY3LTEuMzY3LTMuNTgzLTEuMzY3LTQuOTUsMEw3LDQiIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxwYXRoIGZpbGw9Im5vbmUiIHN0cm9rZT0iIzExMTExMSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIGQ9Ik05LDEybC0yLjAyNSwxLjk3NSBjLTEuMzY3LDEuMzY3LTMuNTgzLDEuMzY3LTQuOTUsMGwwLDBjLTEuMzY3LTEuMzY3LTEuMzY3LTMuNTgzLDAtNC45NUw0LDciIGRhdGEtY2FwPSJidXR0Ij48L3BhdGg+IDxsaW5lIGZpbGw9Im5vbmUiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgc3Ryb2tlLW1pdGVybGltaXQ9IjEwIiB4MT0iNSIgeTE9IjExIiB4Mj0iMTEiIHkyPSI1IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEuNSIgeTE9IjEuNSIgeDI9IjQiIHkyPSI0IiBkYXRhLWNhcD0iYnV0dCIgZGF0YS1jb2xvcj0iY29sb3ItMiI+PC9saW5lPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyIiB5MT0iMTIiIHgyPSIxNC41IiB5Mj0iMTQuNSIgZGF0YS1jYXA9ImJ1dHQiIGRhdGEtY29sb3I9ImNvbG9yLTIiPjwvbGluZT4gPC9nPjwvc3ZnPg==",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=e=>{var t=!!a.hasOwnProperty(e.type)&&a[e.type];if(!t)return null;var r=e.title,c=e.className?"wprm-admin-icon ".concat(e.className):"wprm-admin-icon",u=!!e.hasOwnProperty("hidden")&&e.hidden;return u&&(r="",c+=" wprm-admin-icon-hidden"),n.createElement(o.Z,{content:r},n.createElement("span",{className:c,onClick:u?()=>{}:e.onClick},n.createElement(i.Z,{src:t})))}},34133:function(e,t,r){"use strict";var n=r(89526);t.Z=e=>n.createElement("div",{className:"wprm-admin-loader"})},95075:function(e,t,r){"use strict";var n=r(89526),i=r(20877);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function a(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?o(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):o(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function c(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.Z=e=>{if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return n.createElement(i.Tooltip,{html:n.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,r){"use strict";function n(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function i(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?n(Object(r),!0).forEach((function(t){o(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function o(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}r.d(t,{S:function(){return c}});var a={};function c(e){return a.hasOwnProperty(e)?a[e]:e}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(e,t){var r;
2
  /*!
3
  Copyright (c) 2017 Jed Watson.
4
  Licensed under the MIT License (MIT), see
5
  http://jedwatson.github.io/classnames
6
+ */!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var o=typeof r;if("string"===o||"number"===o)e.push(r);else if(Array.isArray(r)&&r.length){var a=i.apply(null,r);a&&e.push(a)}else if("object"===o)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(r=function(){return i}.apply(t,[]))||(e.exports=r)}()},28641:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},13350:function(e,t,r){"use strict";var n=r(91140).charAt;e.exports=function(e,t,r){return t+(r?n(e,t).length:1)}},9519:function(e){e.exports=function(e,t,r){if(!(e instanceof t))throw TypeError("Incorrect "+(r?r+" ":"")+"invocation");return e}},83875:function(e,t,r){var n=r(52786);e.exports=function(e){if(!n(e))throw TypeError(String(e)+" is not an object");return e}},37190:function(e,t,r){var n=r(29580),i=r(35108),o=r(32565),a=function(e){return function(t,r,a){var c,u=n(t),s=i(u.length),l=o(a,s);if(e&&r!=r){for(;s>l;)if((c=u[l++])!=c)return!0}else for(;s>l;l++)if((e||l in u)&&u[l]===r)return e||l||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},54324:function(e,t,r){"use strict";var n=r(79044);e.exports=function(e,t){var r=[][e];return!!r&&n((function(){r.call(null,t||function(){throw 1},1)}))}},5673:function(e,t,r){var n=r(7493),i=r(79044),o=r(40454),a=Object.defineProperty,c={},u=function(e){throw e};e.exports=function(e,t){if(o(c,e))return c[e];t||(t={});var r=[][e],s=!!o(t,"ACCESSORS")&&t.ACCESSORS,l=o(t,0)?t[0]:u,f=o(t,1)?t[1]:void 0;return c[e]=!!r&&!i((function(){if(s&&!n)return!0;var e={length:-1};s?a(e,1,{enumerable:!0,get:u}):e[1]=1,r.call(e,l,f)}))}},9637:function(e,t,r){var n=r(83875);e.exports=function(e,t,r,i){try{return i?t(n(r)[0],r[1]):t(r)}catch(a){var o=e.return;throw void 0!==o&&n(o.call(e)),a}}},8662:function(e,t,r){var n=r(52280)("iterator"),i=!1;try{var o=0,a={next:function(){return{done:!!o++}},return:function(){i=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var o={};o[n]=function(){return{next:function(){return{done:r=!0}}}},e(o)}catch(c){}return r}},79159:function(e){var t={}.toString;e.exports=function(e){return t.call(e).slice(8,-1)}},36994:function(e,t,r){var n=r(57301),i=r(79159),o=r(52280)("toStringTag"),a="Arguments"==i(function(){return arguments}());e.exports=n?i:function(e){var t,r,n;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(r=function(e,t){try{return e[t]}catch(r){}}(t=Object(e),o))?r:a?i(t):"Object"==(n=i(t))&&"function"==typeof t.callee?"Arguments":n}},73870:function(e,t,r){var n=r(40454),i=r(31561),o=r(66012),a=r(86385);e.exports=function(e,t){for(var r=i(t),c=a.f,u=o.f,s=0;s<r.length;s++){var l=r[s];n(e,l)||c(e,l,u(t,l))}}},15454:function(e,t,r){var n=r(52280)("match");e.exports=function(e){var t=/./;try{"/./"[e](t)}catch(r){try{return t[n]=!1,"/./"[e](t)}catch(i){}}return!1}},45899:function(e,t,r){var n=r(7493),i=r(86385),o=r(69199);e.exports=n?function(e,t,r){return i.f(e,t,o(1,r))}:function(e,t,r){return e[t]=r,e}},69199:function(e){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},7493:function(e,t,r){var n=r(79044);e.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},92750:function(e,t,r){var n=r(98363),i=r(52786),o=n.document,a=i(o)&&i(o.createElement);e.exports=function(e){return a?o.createElement(e):{}}},53121:function(e,t,r){var n=r(82647);e.exports=/(iphone|ipod|ipad).*applewebkit/i.test(n)},82647:function(e,t,r){var n=r(22773);e.exports=n("navigator","userAgent")||""},11197:function(e,t,r){var n,i,o=r(98363),a=r(82647),c=o.process,u=c&&c.versions,s=u&&u.v8;s?i=(n=s.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(i=n[1]),e.exports=i&&+i},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),i=r(66012).f,o=r(45899),a=r(35974),c=r(51621),u=r(73870),s=r(86291);e.exports=function(e,t){var r,l,f,p,d,h=e.target,m=e.global,v=e.stat;if(r=m?n:v?n[h]||c(h,{}):(n[h]||{}).prototype)for(l in t){if(p=t[l],f=e.noTargetGet?(d=i(r,l))&&d.value:r[l],!s(m?l:h+(v?".":"#")+l,e.forced)&&void 0!==f){if(typeof p==typeof f)continue;u(p,f)}(e.sham||f&&f.sham)&&o(p,"sham",!0),a(r,l,p,e)}}},79044:function(e){e.exports=function(e){try{return!!e()}catch(t){return!0}}},81492:function(e,t,r){"use strict";r(39275);var n=r(35974),i=r(79044),o=r(52280),a=r(99749),c=r(45899),u=o("species"),s=!i((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),l="$0"==="a".replace(/./,"$0"),f=o("replace"),p=!!/./[f]&&""===/./[f]("a","$0"),d=!i((function(){var e=/(?:)/,t=e.exec;e.exec=function(){return t.apply(this,arguments)};var r="ab".split(e);return 2!==r.length||"a"!==r[0]||"b"!==r[1]}));e.exports=function(e,t,r,f){var h=o(e),m=!i((function(){var t={};return t[h]=function(){return 7},7!=""[e](t)})),v=m&&!i((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[u]=function(){return r},r.flags="",r[h]=/./[h]),r.exec=function(){return t=!0,null},r[h](""),!t}));if(!m||!v||"replace"===e&&(!s||!l||p)||"split"===e&&!d){var y=/./[h],g=r(h,""[e],(function(e,t,r,n,i){return t.exec===a?m&&!i?{done:!0,value:y.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:l,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:p}),b=g[0],w=g[1];n(String.prototype,e,b),n(RegExp.prototype,h,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}f&&c(RegExp.prototype[h],"sham",!0)}},98166:function(e,t,r){var n=r(28641);e.exports=function(e,t,r){if(n(e),void 0===t)return e;switch(r){case 0:return function(){return e.call(t)};case 1:return function(r){return e.call(t,r)};case 2:return function(r,n){return e.call(t,r,n)};case 3:return function(r,n,i){return e.call(t,r,n,i)}}return function(){return e.apply(t,arguments)}}},22773:function(e,t,r){var n=r(67290),i=r(98363),o=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?o(n[e])||o(i[e]):n[e]&&n[e][t]||i[e]&&i[e][t]}},77193:function(e,t,r){var n=r(36994),i=r(44818),o=r(52280)("iterator");e.exports=function(e){if(null!=e)return e[o]||e["@@iterator"]||i[n(e)]}},98363:function(e,t,r){var n=function(e){return e&&e.Math==Math&&e};e.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||Function("return this")()},40454:function(e){var t={}.hasOwnProperty;e.exports=function(e,r){return t.call(e,r)}},47505:function(e){e.exports={}},46271:function(e,t,r){var n=r(98363);e.exports=function(e,t){var r=n.console;r&&r.error&&(1===arguments.length?r.error(e):r.error(e,t))}},47055:function(e,t,r){var n=r(22773);e.exports=n("document","documentElement")},67548:function(e,t,r){var n=r(7493),i=r(79044),o=r(92750);e.exports=!n&&!i((function(){return 7!=Object.defineProperty(o("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(79044),i=r(79159),o="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==i(e)?o.call(e,""):Object(e)}:Object},56429:function(e,t,r){var n=r(49415),i=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return i.call(e)}),e.exports=n.inspectSource},20821:function(e,t,r){var n,i,o,a=r(36830),c=r(98363),u=r(52786),s=r(45899),l=r(40454),f=r(50466),p=r(47505),d=c.WeakMap;if(a){var h=new d,m=h.get,v=h.has,y=h.set;n=function(e,t){return y.call(h,e,t),t},i=function(e){return m.call(h,e)||{}},o=function(e){return v.call(h,e)}}else{var g=f("state");p[g]=!0,n=function(e,t){return s(e,g,t),t},i=function(e){return l(e,g)?e[g]:{}},o=function(e){return l(e,g)}}e.exports={set:n,get:i,has:o,enforce:function(e){return o(e)?i(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!u(t)||(r=i(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),i=r(44818),o=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||a[o]===e)}},86291:function(e,t,r){var n=r(79044),i=/#|\.prototype\./,o=function(e,t){var r=c[a(e)];return r==s||r!=u&&("function"==typeof t?n(t):!!t)},a=o.normalize=function(e){return String(e).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",s=o.POLYFILL="P";e.exports=o},52786:function(e){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},21178:function(e){e.exports=!1},42622:function(e,t,r){var n=r(52786),i=r(79159),o=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[o])?!!t:"RegExp"==i(e))}},5166:function(e,t,r){var n=r(83875),i=r(68089),o=r(35108),a=r(98166),c=r(77193),u=r(9637),s=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,l,f){var p,d,h,m,v,y,g,b=a(t,r,l?2:1);if(f)p=e;else{if("function"!=typeof(d=c(e)))throw TypeError("Target is not iterable");if(i(d)){for(h=0,m=o(e.length);m>h;h++)if((v=l?b(n(g=e[h])[0],g[1]):b(e[h]))&&v instanceof s)return v;return new s(!1)}p=d.call(e)}for(y=p.next;!(g=y.call(p)).done;)if("object"==typeof(v=u(p,b,g.value,l))&&v&&v instanceof s)return v;return new s(!1)}).stop=function(e){return new s(!0,e)}},44818:function(e){e.exports={}},71800:function(e,t,r){var n,i,o,a,c,u,s,l,f=r(98363),p=r(66012).f,d=r(79159),h=r(84643).set,m=r(53121),v=f.MutationObserver||f.WebKitMutationObserver,y=f.process,g=f.Promise,b="process"==d(y),w=p(f,"queueMicrotask"),x=w&&w.value;x||(n=function(){var e,t;for(b&&(e=y.domain)&&e.exit();i;){t=i.fn,i=i.next;try{t()}catch(r){throw i?a():o=void 0,r}}o=void 0,e&&e.enter()},b?a=function(){y.nextTick(n)}:v&&!m?(c=!0,u=document.createTextNode(""),new v(n).observe(u,{characterData:!0}),a=function(){u.data=c=!c}):g&&g.resolve?(s=g.resolve(void 0),l=s.then,a=function(){l.call(s,n)}):a=function(){h.call(f,n)}),e.exports=x||function(e){var t={fn:e,next:void 0};o&&(o.next=t),i||(i=t,a()),o=t}},58369:function(e,t,r){var n=r(98363);e.exports=n.Promise},3850:function(e,t,r){var n=r(79044);e.exports=!!Object.getOwnPropertySymbols&&!n((function(){return!String(Symbol())}))},36830:function(e,t,r){var n=r(98363),i=r(56429),o=n.WeakMap;e.exports="function"==typeof o&&/native code/.test(i(o))},29269:function(e,t,r){"use strict";var n=r(28641),i=function(e){var t,r;this.promise=new e((function(e,n){if(void 0!==t||void 0!==r)throw TypeError("Bad Promise constructor");t=e,r=n})),this.resolve=n(t),this.reject=n(r)};e.exports.f=function(e){return new i(e)}},21049:function(e,t,r){var n=r(42622);e.exports=function(e){if(n(e))throw TypeError("The method doesn't accept regular expressions");return e}},86385:function(e,t,r){var n=r(7493),i=r(67548),o=r(83875),a=r(21893),c=Object.defineProperty;t.f=n?c:function(e,t,r){if(o(e),t=a(t,!0),o(r),i)try{return c(e,t,r)}catch(n){}if("get"in r||"set"in r)throw TypeError("Accessors not supported");return"value"in r&&(e[t]=r.value),e}},66012:function(e,t,r){var n=r(7493),i=r(81513),o=r(69199),a=r(29580),c=r(21893),u=r(40454),s=r(67548),l=Object.getOwnPropertyDescriptor;t.f=n?l:function(e,t){if(e=a(e),t=c(t,!0),s)try{return l(e,t)}catch(r){}if(u(e,t))return o(!i.f.call(e,t),e[t])}},87994:function(e,t,r){var n=r(18794),i=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,i)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},18794:function(e,t,r){var n=r(40454),i=r(29580),o=r(37190).indexOf,a=r(47505);e.exports=function(e,t){var r,c=i(e),u=0,s=[];for(r in c)!n(a,r)&&n(c,r)&&s.push(r);for(;t.length>u;)n(c,r=t[u++])&&(~o(s,r)||s.push(r));return s}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},31561:function(e,t,r){var n=r(22773),i=r(87994),o=r(89612),a=r(83875);e.exports=n("Reflect","ownKeys")||function(e){var t=i.f(a(e)),r=o.f;return r?t.concat(r(e)):t}},67290:function(e,t,r){var n=r(98363);e.exports=n},74443:function(e){e.exports=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}},11621:function(e,t,r){var n=r(83875),i=r(52786),o=r(29269);e.exports=function(e,t){if(n(e),i(t)&&t.constructor===e)return t;var r=o.f(e);return(0,r.resolve)(t),r.promise}},7592:function(e,t,r){var n=r(35974);e.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}},35974:function(e,t,r){var n=r(98363),i=r(45899),o=r(40454),a=r(51621),c=r(56429),u=r(20821),s=u.get,l=u.enforce,f=String(String).split("String");(e.exports=function(e,t,r,c){var u=!!c&&!!c.unsafe,s=!!c&&!!c.enumerable,p=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof t||o(r,"name")||i(r,"name",t),l(r).source=f.join("string"==typeof t?t:"")),e!==n?(u?!p&&e[t]&&(s=!0):delete e[t],s?e[t]=r:i(e,t,r)):s?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&s(this).source||c(this)}))},94088:function(e,t,r){var n=r(79159),i=r(99749);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var o=r.call(e,t);if("object"!=typeof o)throw TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return i.call(e,t)}},99749:function(e,t,r){"use strict";var n,i,o=r(58083),a=r(97047),c=RegExp.prototype.exec,u=String.prototype.replace,s=c,l=(n=/a/,i=/b*/g,c.call(n,"a"),c.call(i,"a"),0!==n.lastIndex||0!==i.lastIndex),f=a.UNSUPPORTED_Y||a.BROKEN_CARET,p=void 0!==/()??/.exec("")[1];(l||p||f)&&(s=function(e){var t,r,n,i,a=this,s=f&&a.sticky,d=o.call(a),h=a.source,m=0,v=e;return s&&(-1===(d=d.replace("y","")).indexOf("g")&&(d+="g"),v=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(h="(?: "+h+")",v=" "+v,m++),r=new RegExp("^(?:"+h+")",d)),p&&(r=new RegExp("^"+h+"$(?!\\s)",d)),l&&(t=a.lastIndex),n=c.call(s?r:a,v),s?n?(n.input=n.input.slice(m),n[0]=n[0].slice(m),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:l&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),p&&n&&n.length>1&&u.call(n[0],r,(function(){for(i=1;i<arguments.length-2;i++)void 0===arguments[i]&&(n[i]=void 0)})),n}),e.exports=s},58083:function(e,t,r){"use strict";var n=r(83875);e.exports=function(){var e=n(this),t="";return e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.sticky&&(t+="y"),t}},97047:function(e,t,r){"use strict";var n=r(79044);function i(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=i("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=i("^r","gy");return e.lastIndex=2,null!=e.exec("str")}))},96411:function(e){e.exports=function(e){if(null==e)throw TypeError("Can't call method on "+e);return e}},51621:function(e,t,r){var n=r(98363),i=r(45899);e.exports=function(e,t){try{i(n,e,t)}catch(r){n[e]=t}return t}},57323:function(e,t,r){"use strict";var n=r(22773),i=r(86385),o=r(52280),a=r(7493),c=o("species");e.exports=function(e){var t=n(e),r=i.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,i=r(40454),o=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,o)&&n(e,o,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),i=r(34524),o=n("keys");e.exports=function(e){return o[e]||(o[e]=i(e))}},49415:function(e,t,r){var n=r(98363),i=r(51621),o="__core-js_shared__",a=n[o]||i(o,{});e.exports=a},53580:function(e,t,r){var n=r(21178),i=r(49415);(e.exports=function(e,t){return i[e]||(i[e]=void 0!==t?t:{})})("versions",[]).push({version:"3.6.5",mode:n?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},7270:function(e,t,r){var n=r(83875),i=r(28641),o=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[o])?t:i(r)}},91140:function(e,t,r){var n=r(98330),i=r(96411),o=function(e){return function(t,r){var o,a,c=String(i(t)),u=n(r),s=c.length;return u<0||u>=s?e?"":void 0:(o=c.charCodeAt(u))<55296||o>56319||u+1===s||(a=c.charCodeAt(u+1))<56320||a>57343?e?c.charAt(u):o:e?c.slice(u,u+2):a-56320+(o-55296<<10)+65536}};e.exports={codeAt:o(!1),charAt:o(!0)}},5167:function(e,t,r){var n=r(82647);e.exports=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(n)},98385:function(e,t,r){var n=r(35108),i=r(26031),o=r(96411),a=Math.ceil,c=function(e){return function(t,r,c){var u,s,l=String(o(t)),f=l.length,p=void 0===c?" ":String(c),d=n(r);return d<=f||""==p?l:(u=d-f,(s=i.call(p,a(u/p.length))).length>u&&(s=s.slice(0,u)),e?l+s:s+l)}};e.exports={start:c(!1),end:c(!0)}},26031:function(e,t,r){"use strict";var n=r(98330),i=r(96411);e.exports="".repeat||function(e){var t=String(i(this)),r="",o=n(e);if(o<0||o==1/0)throw RangeError("Wrong number of repetitions");for(;o>0;(o>>>=1)&&(t+=t))1&o&&(r+=t);return r}},84643:function(e,t,r){var n,i,o,a=r(98363),c=r(79044),u=r(79159),s=r(98166),l=r(47055),f=r(92750),p=r(53121),d=a.location,h=a.setImmediate,m=a.clearImmediate,v=a.process,y=a.MessageChannel,g=a.Dispatch,b=0,w={},x="onreadystatechange",E=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},I=function(e){return function(){E(e)}},S=function(e){E(e.data)},M=function(e){a.postMessage(e+"",d.protocol+"//"+d.host)};h&&m||(h=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++b]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(b),b},m=function(e){delete w[e]},"process"==u(v)?n=function(e){v.nextTick(I(e))}:g&&g.now?n=function(e){g.now(I(e))}:y&&!p?(o=(i=new y).port2,i.port1.onmessage=S,n=s(o.postMessage,o,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(M)||"file:"===d.protocol?n=x in f("script")?function(e){l.appendChild(f("script")).onreadystatechange=function(){l.removeChild(this),E(e)}}:function(e){setTimeout(I(e),0)}:(n=M,a.addEventListener("message",S,!1))),e.exports={set:h,clear:m}},32565:function(e,t,r){var n=r(98330),i=Math.max,o=Math.min;e.exports=function(e,t){var r=n(e);return r<0?i(r+t,0):o(r,t)}},29580:function(e,t,r){var n=r(78609),i=r(96411);e.exports=function(e){return n(i(e))}},98330:function(e){var t=Math.ceil,r=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?r:t)(e)}},35108:function(e,t,r){var n=r(98330),i=Math.min;e.exports=function(e){return e>0?i(n(e),9007199254740991):0}},30744:function(e,t,r){var n=r(96411);e.exports=function(e){return Object(n(e))}},21893:function(e,t,r){var n=r(52786);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},57301:function(e,t,r){var n={};n[r(52280)("toStringTag")]="z",e.exports="[object z]"===String(n)},34524:function(e){var t=0,r=Math.random();e.exports=function(e){return"Symbol("+String(void 0===e?"":e)+")_"+(++t+r).toString(36)}},189:function(e,t,r){var n=r(3850);e.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},52280:function(e,t,r){var n=r(98363),i=r(53580),o=r(40454),a=r(34524),c=r(3850),u=r(189),s=i("wks"),l=n.Symbol,f=u?l:l&&l.withoutSetter||a;e.exports=function(e){return o(s,e)||(c&&o(l,e)?s[e]=l[e]:s[e]=f("Symbol."+e)),s[e]}},31807:function(e,t,r){"use strict";var n=r(19882),i=r(37190).indexOf,o=r(54324),a=r(5673),c=[].indexOf,u=!!c&&1/[1].indexOf(1,-0)<0,s=o("indexOf"),l=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:u||!s||!l},{indexOf:function(e){return u?c.apply(this,arguments)||0:i(this,e,arguments.length>1?arguments[1]:void 0)}})},35054:function(e,t,r){"use strict";var n,i,o,a,c=r(19882),u=r(21178),s=r(98363),l=r(22773),f=r(58369),p=r(35974),d=r(7592),h=r(60878),m=r(57323),v=r(52786),y=r(28641),g=r(9519),b=r(79159),w=r(56429),x=r(5166),E=r(8662),I=r(7270),S=r(84643).set,M=r(71800),O=r(11621),k=r(46271),j=r(29269),T=r(74443),D=r(20821),A=r(86291),_=r(52280),P=r(11197),N=_("species"),C="Promise",L=D.get,R=D.set,B=D.getterFor(C),U=f,z=s.TypeError,H=s.document,G=s.process,W=l("fetch"),q=j.f,Z=q,F="process"==b(G),V=!!(H&&H.createEvent&&s.dispatchEvent),J="unhandledrejection",Y=A(C,(function(){if(!(w(U)!==String(U))){if(66===P)return!0;if(!F&&"function"!=typeof PromiseRejectionEvent)return!0}if(u&&!U.prototype.finally)return!0;if(P>=51&&/native code/.test(U))return!1;var e=U.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[N]=t,!(e.then((function(){}))instanceof t)})),X=Y||!E((function(e){U.all(e).catch((function(){}))})),Q=function(e){var t;return!(!v(e)||"function"!=typeof(t=e.then))&&t},$=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;M((function(){for(var i=t.value,o=1==t.state,a=0;n.length>a;){var c,u,s,l=n[a++],f=o?l.ok:l.fail,p=l.resolve,d=l.reject,h=l.domain;try{f?(o||(2===t.rejection&&re(e,t),t.rejection=1),!0===f?c=i:(h&&h.enter(),c=f(i),h&&(h.exit(),s=!0)),c===l.promise?d(z("Promise-chain cycle")):(u=Q(c))?u.call(c,p,d):p(c)):d(i)}catch(m){h&&!s&&h.exit(),d(m)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},K=function(e,t,r){var n,i;V?((n=H.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),s.dispatchEvent(n)):n={promise:t,reason:r},(i=s["on"+e])?i(n):e===J&&k("Unhandled promise rejection",r)},ee=function(e,t){S.call(s,(function(){var r,n=t.value;if(te(t)&&(r=T((function(){F?G.emit("unhandledRejection",n,e):K(J,e,n)})),t.rejection=F||te(t)?2:1,r.error))throw r.value}))},te=function(e){return 1!==e.rejection&&!e.parent},re=function(e,t){S.call(s,(function(){F?G.emit("rejectionHandled",e):K("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(i){e(t,r,i,n)}},ie=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,$(e,t,!0))},oe=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw z("Promise can't be resolved itself");var i=Q(r);i?M((function(){var n={done:!1};try{i.call(r,ne(oe,e,n,t),ne(ie,e,n,t))}catch(o){ie(e,n,o,t)}})):(t.value=r,t.state=1,$(e,t,!1))}catch(o){ie(e,{done:!1},o,t)}}};Y&&(U=function(e){g(this,U,C),y(e),n.call(this);var t=L(this);try{e(ne(oe,this,t),ne(ie,this,t))}catch(r){ie(this,t,r)}},(n=function(e){R(this,{type:C,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=d(U.prototype,{then:function(e,t){var r=B(this),n=q(I(this,U));return n.ok="function"!=typeof e||e,n.fail="function"==typeof t&&t,n.domain=F?G.domain:void 0,r.parent=!0,r.reactions.push(n),0!=r.state&&$(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),i=function(){var e=new n,t=L(e);this.promise=e,this.resolve=ne(oe,e,t),this.reject=ne(ie,e,t)},j.f=q=function(e){return e===U||e===o?new i(e):Z(e)},u||"function"!=typeof f||(a=f.prototype.then,p(f.prototype,"then",(function(e,t){var r=this;return new U((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof W&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return O(U,W.apply(s,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:U}),h(U,C,!1,!0),m(C),o=l(C),c({target:C,stat:!0,forced:Y},{reject:function(e){var t=q(this);return t.reject.call(void 0,e),t.promise}}),c({target:C,stat:!0,forced:u||Y},{resolve:function(e){return O(u&&this===o?U:this,e)}}),c({target:C,stat:!0,forced:X},{all:function(e){var t=this,r=q(t),n=r.resolve,i=r.reject,o=T((function(){var r=y(t.resolve),o=[],a=0,c=1;x(e,(function(e){var u=a++,s=!1;o.push(void 0),c++,r.call(t,e).then((function(e){s||(s=!0,o[u]=e,--c||n(o))}),i)})),--c||n(o)}));return o.error&&i(o.value),r.promise},race:function(e){var t=this,r=q(t),n=r.reject,i=T((function(){var i=y(t.resolve);x(e,(function(e){i.call(t,e).then(r.resolve,n)}))}));return i.error&&n(i.value),r.promise}})},39275:function(e,t,r){"use strict";var n=r(19882),i=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},19985:function(e,t,r){"use strict";var n=r(19882),i=r(21049),o=r(96411);n({target:"String",proto:!0,forced:!r(15454)("includes")},{includes:function(e){return!!~String(o(this)).indexOf(i(e),arguments.length>1?arguments[1]:void 0)}})},21682:function(e,t,r){"use strict";var n=r(19882),i=r(98385).start;n({target:"String",proto:!0,forced:r(5167)},{padStart:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}})},22321:function(e,t,r){"use strict";var n=r(81492),i=r(83875),o=r(30744),a=r(35108),c=r(98330),u=r(96411),s=r(13350),l=r(94088),f=Math.max,p=Math.min,d=Math.floor,h=/\$([$&'`]|\d\d?|<[^>]*>)/g,m=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var v=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,y=n.REPLACE_KEEPS_$0,g=v?"$":"$0";return[function(r,n){var i=u(this),o=null==r?void 0:r[e];return void 0!==o?o.call(r,i,n):t.call(String(i),r,n)},function(e,n){if(!v&&y||"string"==typeof n&&-1===n.indexOf(g)){var o=r(t,e,this,n);if(o.done)return o.value}var u=i(e),d=String(this),h="function"==typeof n;h||(n=String(n));var m=u.global;if(m){var w=u.unicode;u.lastIndex=0}for(var x=[];;){var E=l(u,d);if(null===E)break;if(x.push(E),!m)break;""===String(E[0])&&(u.lastIndex=s(d,a(u.lastIndex),w))}for(var I,S="",M=0,O=0;O<x.length;O++){E=x[O];for(var k=String(E[0]),j=f(p(c(E.index),d.length),0),T=[],D=1;D<E.length;D++)T.push(void 0===(I=E[D])?I:String(I));var A=E.groups;if(h){var _=[k].concat(T,j,d);void 0!==A&&_.push(A);var P=String(n.apply(void 0,_))}else P=b(k,d,j,T,A,n);j>=M&&(S+=d.slice(M,j)+P,M=j+k.length)}return S+d.slice(M)}];function b(e,r,n,i,a,c){var u=n+e.length,s=i.length,l=m;return void 0!==a&&(a=o(a),l=h),t.call(c,l,(function(t,o){var c;switch(o.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(u);case"<":c=a[o.slice(1,-1)];break;default:var l=+o;if(0===l)return t;if(l>s){var f=d(l/10);return 0===f?t:f<=s?void 0===i[f-1]?o.charAt(1):i[f-1]+o.charAt(1):t}c=i[l-1]}return void 0===c?"":c}))}}))},68598:function(e){var t={px:{px:1,cm:96/2.54,mm:96/25.4,in:96,pt:96/72,pc:16},cm:{px:2.54/96,cm:1,mm:.1,in:2.54,pt:2.54/72,pc:2.54/6},mm:{px:25.4/96,cm:10,mm:1,in:25.4,pt:25.4/72,pc:25.4/6},in:{px:1/96,cm:1/2.54,mm:1/25.4,in:1,pt:1/72,pc:1/6},pt:{px:.75,cm:72/2.54,mm:72/25.4,in:72,pt:1,pc:12},pc:{px:6/96,cm:6/2.54,mm:6/25.4,in:6,pt:6/72,pc:1},deg:{deg:1,grad:.9,rad:180/Math.PI,turn:360},grad:{deg:400/360,grad:1,rad:200/Math.PI,turn:400},rad:{deg:Math.PI/180,grad:Math.PI/200,rad:1,turn:2*Math.PI},turn:{deg:1/360,grad:1/400,rad:.5/Math.PI,turn:1},s:{s:1,ms:.001},ms:{s:1e3,ms:1},Hz:{Hz:1,kHz:1e3},kHz:{Hz:.001,kHz:1},dpi:{dpi:1,dpcm:1/2.54,dppx:1/96},dpcm:{dpi:2.54,dpcm:1,dppx:2.54/96},dppx:{dpi:96,dpcm:96/2.54,dppx:1}};e.exports=function(e,r,n,i){if(!t.hasOwnProperty(n))throw new Error("Cannot convert to "+n);if(!t[n].hasOwnProperty(r))throw new Error("Cannot convert from "+r+" to "+n);return i=Math.pow(10,parseInt(i)||5),Math.round(t[n][r]*e*i)/i}},26058:function(e,t,r){var n;/*! decimal.js-light v2.5.1 https://github.com/MikeMcl/decimal.js-light/LICENCE */!function(i){"use strict";var o,a=1e9,c={precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"},u=!0,s="[DecimalError] ",l=s+"Invalid argument: ",f=s+"Exponent out of range: ",p=Math.floor,d=Math.pow,h=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,m=1e7,v=9007199254740991,y=p(1286742750677284.5),g={};function b(e,t){var r,n,i,o,a,c,s,l,f=e.constructor,p=f.precision;if(!e.s||!t.s)return t.s||(t=new f(e)),u?T(t,p):t;if(s=e.d,l=t.d,a=e.e,i=t.e,s=s.slice(),o=a-i){for(o<0?(n=s,o=-o,c=l.length):(n=l,i=a,c=s.length),o>(c=(a=Math.ceil(p/7))>c?a+1:c+1)&&(o=c,n.length=1),n.reverse();o--;)n.push(0);n.reverse()}for((c=s.length)-(o=l.length)<0&&(o=c,n=l,l=s,s=n),r=0;o;)r=(s[--o]=s[o]+l[o]+r)/m|0,s[o]%=m;for(r&&(s.unshift(r),++i),c=s.length;0==s[--c];)s.pop();return t.d=s,t.e=i,u?T(t,p):t}function w(e,t,r){if(e!==~~e||e<t||e>r)throw Error(l+e)}function x(e){var t,r,n,i=e.length-1,o="",a=e[0];if(i>0){for(o+=a,t=1;t<i;t++)(r=7-(n=e[t]+"").length)&&(o+=O(r)),o+=n;(r=7-(n=(a=e[t])+"").length)&&(o+=O(r))}else if(0===a)return"0";for(;a%10==0;)a/=10;return o+a}g.absoluteValue=g.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},g.comparedTo=g.cmp=function(e){var t,r,n,i,o=this;if(e=new o.constructor(e),o.s!==e.s)return o.s||-e.s;if(o.e!==e.e)return o.e>e.e^o.s<0?1:-1;for(t=0,r=(n=o.d.length)<(i=e.d.length)?n:i;t<r;++t)if(o.d[t]!==e.d[t])return o.d[t]>e.d[t]^o.s<0?1:-1;return n===i?0:n>i^o.s<0?1:-1},g.decimalPlaces=g.dp=function(){var e=this,t=e.d.length-1,r=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)r--;return r<0?0:r},g.dividedBy=g.div=function(e){return E(this,new this.constructor(e))},g.dividedToIntegerBy=g.idiv=function(e){var t=this.constructor;return T(E(this,new t(e),0,1),t.precision)},g.equals=g.eq=function(e){return!this.cmp(e)},g.exponent=function(){return S(this)},g.greaterThan=g.gt=function(e){return this.cmp(e)>0},g.greaterThanOrEqualTo=g.gte=function(e){return this.cmp(e)>=0},g.isInteger=g.isint=function(){return this.e>this.d.length-2},g.isNegative=g.isneg=function(){return this.s<0},g.isPositive=g.ispos=function(){return this.s>0},g.isZero=function(){return 0===this.s},g.lessThan=g.lt=function(e){return this.cmp(e)<0},g.lessThanOrEqualTo=g.lte=function(e){return this.cmp(e)<1},g.logarithm=g.log=function(e){var t,r=this,n=r.constructor,i=n.precision,a=i+5;if(void 0===e)e=new n(10);else if((e=new n(e)).s<1||e.eq(o))throw Error(s+"NaN");if(r.s<1)throw Error(s+(r.s?"NaN":"-Infinity"));return r.eq(o)?new n(0):(u=!1,t=E(k(r,a),k(e,a),a),u=!0,T(t,i))},g.minus=g.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?D(t,e):b(t,(e.s=-e.s,e))},g.modulo=g.mod=function(e){var t,r=this,n=r.constructor,i=n.precision;if(!(e=new n(e)).s)throw Error(s+"NaN");return r.s?(u=!1,t=E(r,e,0,1).times(e),u=!0,r.minus(t)):T(new n(r),i)},g.naturalExponential=g.exp=function(){return I(this)},g.naturalLogarithm=g.ln=function(){return k(this)},g.negated=g.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},g.plus=g.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?b(t,e):D(t,(e.s=-e.s,e))},g.precision=g.sd=function(e){var t,r,n,i=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(l+e);if(t=S(i)+1,r=7*(n=i.d.length-1)+1,n=i.d[n]){for(;n%10==0;n/=10)r--;for(n=i.d[0];n>=10;n/=10)r++}return e&&t>r?t:r},g.squareRoot=g.sqrt=function(){var e,t,r,n,i,o,a,c=this,l=c.constructor;if(c.s<1){if(!c.s)return new l(0);throw Error(s+"NaN")}for(e=S(c),u=!1,0==(i=Math.sqrt(+c))||i==1/0?(((t=x(c.d)).length+e)%2==0&&(t+="0"),i=Math.sqrt(t),e=p((e+1)/2)-(e<0||e%2),n=new l(t=i==1/0?"5e"+e:(t=i.toExponential()).slice(0,t.indexOf("e")+1)+e)):n=new l(i.toString()),i=a=(r=l.precision)+3;;)if(n=(o=n).plus(E(c,o,a+2)).times(.5),x(o.d).slice(0,a)===(t=x(n.d)).slice(0,a)){if(t=t.slice(a-3,a+1),i==a&&"4999"==t){if(T(o,r+1,0),o.times(o).eq(c)){n=o;break}}else if("9999"!=t)break;a+=4}return u=!0,T(n,r)},g.times=g.mul=function(e){var t,r,n,i,o,a,c,s,l,f=this,p=f.constructor,d=f.d,h=(e=new p(e)).d;if(!f.s||!e.s)return new p(0);for(e.s*=f.s,r=f.e+e.e,(s=d.length)<(l=h.length)&&(o=d,d=h,h=o,a=s,s=l,l=a),o=[],n=a=s+l;n--;)o.push(0);for(n=l;--n>=0;){for(t=0,i=s+n;i>n;)c=o[i]+h[n]*d[i-n-1]+t,o[i--]=c%m|0,t=c/m|0;o[i]=(o[i]+t)%m|0}for(;!o[--a];)o.pop();return t?++r:o.shift(),e.d=o,e.e=r,u?T(e,p.precision):e},g.toDecimalPlaces=g.todp=function(e,t){var r=this,n=r.constructor;return r=new n(r),void 0===e?r:(w(e,0,a),void 0===t?t=n.rounding:w(t,0,8),T(r,e+S(r)+1,t))},g.toExponential=function(e,t){var r,n=this,i=n.constructor;return void 0===e?r=A(n,!0):(w(e,0,a),void 0===t?t=i.rounding:w(t,0,8),r=A(n=T(new i(n),e+1,t),!0,e+1)),r},g.toFixed=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?A(i):(w(e,0,a),void 0===t?t=o.rounding:w(t,0,8),r=A((n=T(new o(i),e+S(i)+1,t)).abs(),!1,e+S(n)+1),i.isneg()&&!i.isZero()?"-"+r:r)},g.toInteger=g.toint=function(){var e=this,t=e.constructor;return T(new t(e),S(e)+1,t.rounding)},g.toNumber=function(){return+this},g.toPower=g.pow=function(e){var t,r,n,i,a,c,l=this,f=l.constructor,d=+(e=new f(e));if(!e.s)return new f(o);if(!(l=new f(l)).s){if(e.s<1)throw Error(s+"Infinity");return l}if(l.eq(o))return l;if(n=f.precision,e.eq(o))return T(l,n);if(c=(t=e.e)>=(r=e.d.length-1),a=l.s,c){if((r=d<0?-d:d)<=v){for(i=new f(o),t=Math.ceil(n/7+4),u=!1;r%2&&_((i=i.times(l)).d,t),0!==(r=p(r/2));)_((l=l.times(l)).d,t);return u=!0,e.s<0?new f(o).div(i):T(i,n)}}else if(a<0)throw Error(s+"NaN");return a=a<0&&1&e.d[Math.max(t,r)]?-1:1,l.s=1,u=!1,i=e.times(k(l,n+12)),u=!0,(i=I(i)).s=a,i},g.toPrecision=function(e,t){var r,n,i=this,o=i.constructor;return void 0===e?n=A(i,(r=S(i))<=o.toExpNeg||r>=o.toExpPos):(w(e,1,a),void 0===t?t=o.rounding:w(t,0,8),n=A(i=T(new o(i),e,t),e<=(r=S(i))||r<=o.toExpNeg,e)),n},g.toSignificantDigits=g.tosd=function(e,t){var r=this.constructor;return void 0===e?(e=r.precision,t=r.rounding):(w(e,1,a),void 0===t?t=r.rounding:w(t,0,8)),T(new r(this),e,t)},g.toString=g.valueOf=g.val=g.toJSON=function(){var e=this,t=S(e),r=e.constructor;return A(e,t<=r.toExpNeg||t>=r.toExpPos)};var E=function(){function e(e,t){var r,n=0,i=e.length;for(e=e.slice();i--;)r=e[i]*t+n,e[i]=r%m|0,n=r/m|0;return n&&e.unshift(n),e}function t(e,t,r,n){var i,o;if(r!=n)o=r>n?1:-1;else for(i=o=0;i<r;i++)if(e[i]!=t[i]){o=e[i]>t[i]?1:-1;break}return o}function r(e,t,r){for(var n=0;r--;)e[r]-=n,n=e[r]<t[r]?1:0,e[r]=n*m+e[r]-t[r];for(;!e[0]&&e.length>1;)e.shift()}return function(n,i,o,a){var c,u,l,f,p,d,h,v,y,g,b,w,x,E,I,M,O,k,j=n.constructor,D=n.s==i.s?1:-1,A=n.d,_=i.d;if(!n.s)return new j(n);if(!i.s)throw Error(s+"Division by zero");for(u=n.e-i.e,O=_.length,I=A.length,v=(h=new j(D)).d=[],l=0;_[l]==(A[l]||0);)++l;if(_[l]>(A[l]||0)&&--u,(w=null==o?o=j.precision:a?o+(S(n)-S(i))+1:o)<0)return new j(0);if(w=w/7+2|0,l=0,1==O)for(f=0,_=_[0],w++;(l<I||f)&&w--;l++)x=f*m+(A[l]||0),v[l]=x/_|0,f=x%_|0;else{for((f=m/(_[0]+1)|0)>1&&(_=e(_,f),A=e(A,f),O=_.length,I=A.length),E=O,g=(y=A.slice(0,O)).length;g<O;)y[g++]=0;(k=_.slice()).unshift(0),M=_[0],_[1]>=m/2&&++M;do{f=0,(c=t(_,y,O,g))<0?(b=y[0],O!=g&&(b=b*m+(y[1]||0)),(f=b/M|0)>1?(f>=m&&(f=m-1),1==(c=t(p=e(_,f),y,d=p.length,g=y.length))&&(f--,r(p,O<d?k:_,d))):(0==f&&(c=f=1),p=_.slice()),(d=p.length)<g&&p.unshift(0),r(y,p,g),-1==c&&(c=t(_,y,O,g=y.length))<1&&(f++,r(y,O<g?k:_,g)),g=y.length):0===c&&(f++,y=[0]),v[l++]=f,c&&y[0]?y[g++]=A[E]||0:(y=[A[E]],g=1)}while((E++<I||void 0!==y[0])&&w--)}return v[0]||v.shift(),h.e=u,T(h,a?o+S(h)+1:o)}}();function I(e,t){var r,n,i,a,c,s=0,l=0,p=e.constructor,h=p.precision;if(S(e)>16)throw Error(f+S(e));if(!e.s)return new p(o);for(null==t?(u=!1,c=h):c=t,a=new p(.03125);e.abs().gte(.1);)e=e.times(a),l+=5;for(c+=Math.log(d(2,l))/Math.LN10*2+5|0,r=n=i=new p(o),p.precision=c;;){if(n=T(n.times(e),c),r=r.times(++s),x((a=i.plus(E(n,r,c))).d).slice(0,c)===x(i.d).slice(0,c)){for(;l--;)i=T(i.times(i),c);return p.precision=h,null==t?(u=!0,T(i,h)):i}i=a}}function S(e){for(var t=7*e.e,r=e.d[0];r>=10;r/=10)t++;return t}function M(e,t,r){if(t>e.LN10.sd())throw u=!0,r&&(e.precision=r),Error(s+"LN10 precision limit exceeded");return T(new e(e.LN10),t)}function O(e){for(var t="";e--;)t+="0";return t}function k(e,t){var r,n,i,a,c,l,f,p,d,h=1,m=e,v=m.d,y=m.constructor,g=y.precision;if(m.s<1)throw Error(s+(m.s?"NaN":"-Infinity"));if(m.eq(o))return new y(0);if(null==t?(u=!1,p=g):p=t,m.eq(10))return null==t&&(u=!0),M(y,p);if(p+=10,y.precision=p,n=(r=x(v)).charAt(0),a=S(m),!(Math.abs(a)<15e14))return f=M(y,p+2,g).times(a+""),m=k(new y(n+"."+r.slice(1)),p-10).plus(f),y.precision=g,null==t?(u=!0,T(m,g)):m;for(;n<7&&1!=n||1==n&&r.charAt(1)>3;)n=(r=x((m=m.times(e)).d)).charAt(0),h++;for(a=S(m),n>1?(m=new y("0."+r),a++):m=new y(n+"."+r.slice(1)),l=c=m=E(m.minus(o),m.plus(o),p),d=T(m.times(m),p),i=3;;){if(c=T(c.times(d),p),x((f=l.plus(E(c,new y(i),p))).d).slice(0,p)===x(l.d).slice(0,p))return l=l.times(2),0!==a&&(l=l.plus(M(y,p+2,g).times(a+""))),l=E(l,new y(h),p),y.precision=g,null==t?(u=!0,T(l,g)):l;l=f,i+=2}}function j(e,t){var r,n,i;for((r=t.indexOf("."))>-1&&(t=t.replace(".","")),(n=t.search(/e/i))>0?(r<0&&(r=n),r+=+t.slice(n+1),t=t.substring(0,n)):r<0&&(r=t.length),n=0;48===t.charCodeAt(n);)++n;for(i=t.length;48===t.charCodeAt(i-1);)--i;if(t=t.slice(n,i)){if(i-=n,r=r-n-1,e.e=p(r/7),e.d=[],n=(r+1)%7,r<0&&(n+=7),n<i){for(n&&e.d.push(+t.slice(0,n)),i-=7;n<i;)e.d.push(+t.slice(n,n+=7));n=7-(t=t.slice(n)).length}else n-=i;for(;n--;)t+="0";if(e.d.push(+t),u&&(e.e>y||e.e<-y))throw Error(f+r)}else e.s=0,e.e=0,e.d=[0];return e}function T(e,t,r){var n,i,o,a,c,s,l,h,v=e.d;for(a=1,o=v[0];o>=10;o/=10)a++;if((n=t-a)<0)n+=7,i=t,l=v[h=0];else{if((h=Math.ceil((n+1)/7))>=(o=v.length))return e;for(l=o=v[h],a=1;o>=10;o/=10)a++;i=(n%=7)-7+a}if(void 0!==r&&(c=l/(o=d(10,a-i-1))%10|0,s=t<0||void 0!==v[h+1]||l%o,s=r<4?(c||s)&&(0==r||r==(e.s<0?3:2)):c>5||5==c&&(4==r||s||6==r&&(n>0?i>0?l/d(10,a-i):0:v[h-1])%10&1||r==(e.s<0?8:7))),t<1||!v[0])return s?(o=S(e),v.length=1,t=t-o-1,v[0]=d(10,(7-t%7)%7),e.e=p(-t/7)||0):(v.length=1,v[0]=e.e=e.s=0),e;if(0==n?(v.length=h,o=1,h--):(v.length=h+1,o=d(10,7-n),v[h]=i>0?(l/d(10,a-i)%d(10,i)|0)*o:0),s)for(;;){if(0==h){(v[0]+=o)==m&&(v[0]=1,++e.e);break}if(v[h]+=o,v[h]!=m)break;v[h--]=0,o=1}for(n=v.length;0===v[--n];)v.pop();if(u&&(e.e>y||e.e<-y))throw Error(f+S(e));return e}function D(e,t){var r,n,i,o,a,c,s,l,f,p,d=e.constructor,h=d.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new d(e),u?T(t,h):t;if(s=e.d,p=t.d,n=t.e,l=e.e,s=s.slice(),a=l-n){for((f=a<0)?(r=s,a=-a,c=p.length):(r=p,n=l,c=s.length),a>(i=Math.max(Math.ceil(h/7),c)+2)&&(a=i,r.length=1),r.reverse(),i=a;i--;)r.push(0);r.reverse()}else{for((f=(i=s.length)<(c=p.length))&&(c=i),i=0;i<c;i++)if(s[i]!=p[i]){f=s[i]<p[i];break}a=0}for(f&&(r=s,s=p,p=r,t.s=-t.s),c=s.length,i=p.length-c;i>0;--i)s[c++]=0;for(i=p.length;i>a;){if(s[--i]<p[i]){for(o=i;o&&0===s[--o];)s[o]=m-1;--s[o],s[i]+=m}s[i]-=p[i]}for(;0===s[--c];)s.pop();for(;0===s[0];s.shift())--n;return s[0]?(t.d=s,t.e=n,u?T(t,h):t):new d(0)}function A(e,t,r){var n,i=S(e),o=x(e.d),a=o.length;return t?(r&&(n=r-a)>0?o=o.charAt(0)+"."+o.slice(1)+O(n):a>1&&(o=o.charAt(0)+"."+o.slice(1)),o=o+(i<0?"e":"e+")+i):i<0?(o="0."+O(-i-1)+o,r&&(n=r-a)>0&&(o+=O(n))):i>=a?(o+=O(i+1-a),r&&(n=r-i-1)>0&&(o=o+"."+O(n))):((n=i+1)<a&&(o=o.slice(0,n)+"."+o.slice(n)),r&&(n=r-a)>0&&(i+1===a&&(o+="."),o+=O(n))),e.s<0?"-"+o:o}function _(e,t){if(e.length>t)return e.length=t,!0}function P(e){if(!e||"object"!=typeof e)throw Error(s+"Object expected");var t,r,n,i=["precision",1,a,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<i.length;t+=3)if(void 0!==(n=e[r=i[t]])){if(!(p(n)===n&&n>=i[t+1]&&n<=i[t+2]))throw Error(l+r+": "+n);this[r]=n}if(void 0!==(n=e[r="LN10"])){if(n!=Math.LN10)throw Error(l+r+": "+n);this[r]=new this(n)}return this}(c=function e(t){var r,n,i;function o(e){var t=this;if(!(t instanceof o))return new o(e);if(t.constructor=o,e instanceof o)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(l+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):j(t,e.toString())}if("string"!=typeof e)throw Error(l+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!h.test(e))throw Error(l+e);j(t,e)}if(o.prototype=g,o.ROUND_UP=0,o.ROUND_DOWN=1,o.ROUND_CEIL=2,o.ROUND_FLOOR=3,o.ROUND_HALF_UP=4,o.ROUND_HALF_DOWN=5,o.ROUND_HALF_EVEN=6,o.ROUND_HALF_CEIL=7,o.ROUND_HALF_FLOOR=8,o.clone=e,o.config=o.set=P,void 0===t&&(t={}),t)for(i=["precision","rounding","toExpNeg","toExpPos","LN10"],r=0;r<i.length;)t.hasOwnProperty(n=i[r++])||(t[n]=this[n]);return o.config(t),o}(c)).default=c.Decimal=c,o=new c(1),void 0===(n=function(){return c}.call(t,r,t,e))||(e.exports=n)}()},37941:function(e,t,r){var n;
7
  /*!
8
  Copyright (c) 2015 Jed Watson.
9
  Based on code that is Copyright 2013-2015, Facebook, Inc.
10
  All rights reserved.
11
+ */!function(){"use strict";var i=!("undefined"==typeof window||!window.document||!window.document.createElement),o={canUseDOM:i,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:i&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:i&&!!window.screen};void 0===(n=function(){return o}.call(t,r,t,e))||(e.exports=n)}()},44287:function(e,t){!function(e){"use strict";var t="function"==typeof WeakSet,r=Object.keys;function n(e,t){return e===t||e!=e&&t!=t}function i(e){return e.constructor===Object||null==e.constructor}function o(e){return!!e&&"function"==typeof e.then}function a(e){return!(!e||!e.$$typeof)}function c(){var e=[];return{add:function(t){e.push(t)},has:function(t){return-1!==e.indexOf(t)}}}var u=t?function(){return new WeakSet}:c;function s(e){return function(t){var r=e||t;return function(e,t,n){void 0===n&&(n=u());var i=!!e&&"object"==typeof e,o=!!t&&"object"==typeof t;if(i||o){var a=i&&n.has(e),c=o&&n.has(t);if(a||c)return a&&c;i&&n.add(e),o&&n.add(t)}return r(e,t,n)}}}function l(e,t,r,n){var i=e.length;if(t.length!==i)return!1;for(;i-- >0;)if(!r(e[i],t[i],n))return!1;return!0}function f(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e,o){i&&(i=!1,t.forEach((function(t,a){!i&&r(o,a,n)&&(i=r(e,t,n))})))})),i}var p="_owner",d=Function.prototype.bind.call(Function.prototype.call,Object.prototype.hasOwnProperty);function h(e,t,n,i){var o=r(e),c=o.length;if(r(t).length!==c)return!1;if(c)for(var u=void 0;c-- >0;){if((u=o[c])===p){var s=a(e),l=a(t);if((s||l)&&s!==l)return!1}if(!d(t,u)||!n(e[u],t[u],i))return!1}return!0}function m(e,t){return e.source===t.source&&e.global===t.global&&e.ignoreCase===t.ignoreCase&&e.multiline===t.multiline&&e.unicode===t.unicode&&e.sticky===t.sticky&&e.lastIndex===t.lastIndex}function v(e,t,r,n){var i=e.size===t.size;return i&&e.size&&e.forEach((function(e){i&&(i=!1,t.forEach((function(t){i||(i=r(e,t,n))})))})),i}var y="function"==typeof Map,g="function"==typeof Set;function b(e){var t="function"==typeof e?e(r):r;function r(e,r,a){if(e===r)return!0;if(e&&r&&"object"==typeof e&&"object"==typeof r){if(i(e)&&i(r))return h(e,r,t,a);var c=Array.isArray(e),u=Array.isArray(r);return c||u?c===u&&l(e,r,t,a):(c=e instanceof Date,u=r instanceof Date,c||u?c===u&&n(e.getTime(),r.getTime()):(c=e instanceof RegExp,u=r instanceof RegExp,c||u?c===u&&m(e,r):o(e)||o(r)?e===r:y&&(c=e instanceof Map,u=r instanceof Map,c||u)?c===u&&f(e,r,t,a):g&&(c=e instanceof Set,u=r instanceof Set,c||u)?c===u&&v(e,r,t,a):h(e,r,t,a)))}return e!=e&&r!=r}return r}var w=b(),x=b((function(){return n})),E=b(s()),I=b(s(n));e.circularDeepEqual=E,e.circularShallowEqual=I,e.createCustomEqual=b,e.deepEqual=w,e.sameValueZeroEqual=n,e.shallowEqual=x,Object.defineProperty(e,"__esModule",{value:!0})}(t)},2778:function(e,t,r){var n;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */e=r.nmd(e),function(i){var o=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,u=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,f={"­":"shy","‌":"zwnj","‍":"zwj","‎":"lrm","⁣":"ic","⁢":"it","⁡":"af","‏":"rlm","​":"ZeroWidthSpace","⁠":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp","  ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},p=/["&'<>`]/g,d={'"':"&quot;","&":"&amp;","'":"&#x27;","<":"&lt;",">":"&gt;","`":"&#x60;"},h=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,m=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,v=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,y={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"⁡",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"⁡",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"⁣",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"⁣",InvisibleTimes:"⁢",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"⁢",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"‎",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"​",NegativeThickSpace:"​",NegativeThinSpace:"​",NegativeVeryThinSpace:"​",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"⁠",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"‏",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"­",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:"  ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"​",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"‍",zwnj:"‌"},g={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"­",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},b={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},w=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],x=String.fromCharCode,E={}.hasOwnProperty,I=function(e,t){return E.call(e,t)},S=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=I(e,r)?e[r]:t[r];return n},M=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&j("character reference outside the permissible Unicode range"),"�"):I(b,e)?(t&&j("disallowed character reference"),b[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(w,e)&&j("disallowed character reference"),e>65535&&(r+=x((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=x(e))},O=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},k=function(e){return"&#"+e+";"},j=function(e){throw Error("Parse error: "+e)},T=function(e,t){(t=S(t,T.options)).strict&&m.test(e)&&j("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,i=t.allowUnsafeSymbols,o=t.decimal?k:O,a=function(e){return o(e.charCodeAt(0))};return r?(e=e.replace(u,(function(e){return n&&I(f,e)?"&"+f[e]+";":a(e)})),n&&(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;").replace(/&#x66;&#x6A;/g,"&fjlig;")),n&&(e=e.replace(l,(function(e){return"&"+f[e]+";"})))):n?(i||(e=e.replace(p,(function(e){return"&"+f[e]+";"}))),e=(e=e.replace(/&gt;\u20D2/g,"&nvgt;").replace(/&lt;\u20D2/g,"&nvlt;")).replace(l,(function(e){return"&"+f[e]+";"}))):i||(e=e.replace(p,a)),e.replace(c,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return o(1024*(t-55296)+r-56320+65536)})).replace(s,a)};T.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var D=function(e,t){var r=(t=S(t,D.options)).strict;return r&&h.test(e)&&j("malformed character reference"),e.replace(v,(function(e,n,i,o,a,c,u,s,l){var f,p,d,h,m,v;return n?y[m=n]:i?(m=i,(v=o)&&t.isAttributeValue?(r&&"="==v&&j("`&` did not start a character reference"),e):(r&&j("named character reference was not terminated by a semicolon"),g[m]+(v||""))):a?(d=a,p=c,r&&!p&&j("character reference was not terminated by a semicolon"),f=parseInt(d,10),M(f,r)):u?(h=u,p=s,r&&!p&&j("character reference was not terminated by a semicolon"),f=parseInt(h,16),M(f,r)):(r&&j("named character reference was not terminated by a semicolon"),e)}))};D.options={isAttributeValue:!1,strict:!1};var A={version:"1.2.0",encode:T,decode:D,escape:function(e){return e.replace(p,(function(e){return d[e]}))},unescape:D};void 0===(n=function(){return A}.call(t,r,t,e))||(e.exports=n)}()},18492:function(e,t,r){var n=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,c=parseInt,u="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,s="object"==typeof self&&self&&self.Object===Object&&self,l=u||s||Function("return this")(),f=Object.prototype.toString,p=Math.max,d=Math.min,h=function(){return l.Date.now()};function m(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function v(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==f.call(e)}(e))return NaN;if(m(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=m(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var r=o.test(e);return r||a.test(e)?c(e.slice(2),r?2:8):i.test(e)?NaN:+e}e.exports=function(e,t,r){var n,i,o,a,c,u,s=0,l=!1,f=!1,y=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function g(t){var r=n,o=i;return n=i=void 0,s=t,a=e.apply(o,r)}function b(e){return s=e,c=setTimeout(x,t),l?g(e):a}function w(e){var r=e-u;return void 0===u||r>=t||r<0||f&&e-s>=o}function x(){var e=h();if(w(e))return E(e);c=setTimeout(x,function(e){var r=t-(e-u);return f?d(r,o-(e-s)):r}(e))}function E(e){return c=void 0,y&&n?g(e):(n=i=void 0,a)}function I(){var e=h(),r=w(e);if(n=arguments,i=this,u=e,r){if(void 0===c)return b(u);if(f)return c=setTimeout(x,t),g(u)}return void 0===c&&(c=setTimeout(x,t)),a}return t=v(t)||0,m(r)&&(l=!!r.leading,o=(f="maxWait"in r)?p(v(r.maxWait)||0,t):o,y="trailing"in r?!!r.trailing:y),I.cancel=function(){void 0!==c&&clearTimeout(c),s=0,n=u=i=c=void 0},I.flush=function(){return void 0===c?a:E(h())},I}},7362:function(e,t,r){var n="Expected a function",i=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt,s="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,l="object"==typeof self&&self&&self.Object===Object&&self,f=s||l||Function("return this")(),p=Object.prototype.toString,d=Math.max,h=Math.min,m=function(){return f.Date.now()};function v(e,t,r){var i,o,a,c,u,s,l=0,f=!1,p=!1,v=!0;if("function"!=typeof e)throw new TypeError(n);function b(t){var r=i,n=o;return i=o=void 0,l=t,c=e.apply(n,r)}function w(e){return l=e,u=setTimeout(E,t),f?b(e):c}function x(e){var r=e-s;return void 0===s||r>=t||r<0||p&&e-l>=a}function E(){var e=m();if(x(e))return I(e);u=setTimeout(E,function(e){var r=t-(e-s);return p?h(r,a-(e-l)):r}(e))}function I(e){return u=void 0,v&&i?b(e):(i=o=void 0,c)}function S(){var e=m(),r=x(e);if(i=arguments,o=this,s=e,r){if(void 0===u)return w(s);if(p)return u=setTimeout(E,t),b(s)}return void 0===u&&(u=setTimeout(E,t)),c}return t=g(t)||0,y(r)&&(f=!!r.leading,a=(p="maxWait"in r)?d(g(r.maxWait)||0,t):a,v="trailing"in r?!!r.trailing:v),S.cancel=function(){void 0!==u&&clearTimeout(u),l=0,i=s=o=u=void 0},S.flush=function(){return void 0===u?c:I(m())},S}function y(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if(function(e){return"symbol"==typeof e||function(e){return!!e&&"object"==typeof e}(e)&&"[object Symbol]"==p.call(e)}(e))return NaN;if(y(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=y(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(i,"");var r=a.test(e);return r||c.test(e)?u(e.slice(2),r?2:8):o.test(e)?NaN:+e}e.exports=function(e,t,r){var i=!0,o=!0;if("function"!=typeof e)throw new TypeError(n);return y(r)&&(i="leading"in r?!!r.leading:i,o="trailing"in r?!!r.trailing:o),v(e,t,{leading:i,maxWait:t,trailing:o})}},76279:function(e){(function(){var t,r,n,i,o,a;"undefined"!=typeof performance&&null!==performance&&performance.now?e.exports=function(){return performance.now()}:"undefined"!=typeof process&&null!==process&&process.hrtime?(e.exports=function(){return(t()-o)/1e6},r=process.hrtime,i=(t=function(){var e;return 1e9*(e=r())[0]+e[1]})(),a=1e9*process.uptime(),o=i-a):Date.now?(e.exports=function(){return Date.now()-n},n=Date.now()):(e.exports=function(){return(new Date).getTime()-n},n=(new Date).getTime())}).call(this)},65276:function(e,t,r){"use strict";r.r(t);for(
12
  /**!
13
  * @fileOverview Kickass library to create and place poppers near their reference elements.
14
  * @version 1.15.0
33
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
34
  * SOFTWARE.
35
  */