Version Description
- Feature: Slickstream Favorites integration
- Feature: My Emissions Carbon Label integration
- Feature: New Blend-in Template
- Feature: Table style layout option for ingredients
- Feature: Twitter share button
- Feature: Allow different ingredient order (names before amounts)
- Feature: Click on number of recipes to filter on manage page
- Improvement: Allow decimals for serving size value
- Improvement: Setting to open print links in same tab
- Improvement: Column on manage page to easily copy shortcode
- Fix: Fast Velocity Minify HTML Minification compatibility
- Fix: Prevent lazy image loading problems on print page
- Fix: Some issues with importing instruction images
- Fix: Printing problem with some multilingual setups
- Fix: Prevent duplicate ID when using wpDiscuz
Download this release
Release Info
Developer | BrechtVds |
Plugin | WP Recipe Maker |
Version | 7.0.0 |
Comparing to | |
See all releases |
Code changes from version 6.9.0 to 7.0.0
- assets/css/admin/manage/recipes.scss +5 -0
- assets/css/admin/manage/table.scss +4 -0
- assets/css/admin/modal/general/fields.scss +4 -0
- assets/css/admin/shared/copy-clipboard.scss +3 -0
- assets/css/shortcodes/_ingredients.scss +38 -0
- assets/css/shortcodes/_toggle-switch.scss +82 -0
- assets/css/shortcodes/shortcodes.scss +2 -1
- assets/js/admin-manage/App.js +12 -1
- assets/js/admin-manage/DataTable.js +2 -0
- assets/js/admin-manage/general/Totals.js +7 -0
- assets/js/admin-manage/recipes/Columns.js +20 -0
- assets/js/admin-manage/taxonomies/Columns.js +39 -0
- assets/js/admin-modal/fields/FieldCheckbox.js +19 -0
- assets/js/admin-modal/fields/FieldText.js +3 -0
- assets/js/admin-modal/recipe/edit/RecipeGeneral.js +19 -0
- assets/js/admin-modal/recipe/edit/RecipeIngredients/index.js +7 -0
- assets/js/admin-modal/recipe/edit/index.js +2 -0
- assets/js/admin-template/main/preview-template/index.js +1 -0
- assets/js/other/my-emissions.js +50 -0
- assets/js/public-legacy.js +1 -0
- assets/js/public/analytics.js +7 -0
- assets/js/public/print.js +2 -1
- assets/js/public/slickstream.js +75 -0
- assets/js/shared/CopyToClipboardIcon.js +61 -0
- dist/admin-faq.css +3 -1
- dist/admin-manage.css +4 -2
- dist/admin-manage.js +5 -5
- dist/admin-modal.css +2 -2
- dist/admin-modal.js +3 -4
assets/css/admin/manage/recipes.scss
CHANGED
@@ -1,3 +1,8 @@
|
|
|
|
|
|
|
|
|
|
|
|
1 |
.wprm-manage-recipes-nutrition-container {
|
2 |
width: 100%;
|
3 |
|
1 |
+
.wprm-admin-manage-shortcode-container {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
}
|
5 |
+
|
6 |
.wprm-manage-recipes-nutrition-container {
|
7 |
width: 100%;
|
8 |
|
assets/css/admin/manage/table.scss
CHANGED
@@ -1,5 +1,9 @@
|
|
1 |
.wprm-admin-table-totals {
|
2 |
font-style: italic;
|
|
|
|
|
|
|
|
|
3 |
}
|
4 |
|
5 |
.ReactTable.wprm-admin-table {
|
1 |
.wprm-admin-table-totals {
|
2 |
font-style: italic;
|
3 |
+
|
4 |
+
.wprm-admin-table-totals-filter {
|
5 |
+
color: darkred;
|
6 |
+
}
|
7 |
}
|
8 |
|
9 |
.ReactTable.wprm-admin-table {
|
assets/css/admin/modal/general/fields.scss
CHANGED
@@ -27,6 +27,10 @@
|
|
27 |
}
|
28 |
}
|
29 |
|
|
|
|
|
|
|
|
|
30 |
.wprm-admin-modal-field-radio-option {
|
31 |
margin-bottom: 5px;
|
32 |
|
27 |
}
|
28 |
}
|
29 |
|
30 |
+
.wprm-admin-modal-field-checkbox {
|
31 |
+
margin-top: 10px;
|
32 |
+
}
|
33 |
+
|
34 |
.wprm-admin-modal-field-radio-option {
|
35 |
margin-bottom: 5px;
|
36 |
|
assets/css/admin/shared/copy-clipboard.scss
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
1 |
+
.wprm-admin-table-container-copy {
|
2 |
+
cursor: pointer;
|
3 |
+
}
|
assets/css/shortcodes/_ingredients.scss
CHANGED
@@ -13,4 +13,42 @@
|
|
13 |
opacity: 0.7;
|
14 |
font-size: 0.8em;
|
15 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
16 |
}
|
13 |
opacity: 0.7;
|
14 |
font-size: 0.8em;
|
15 |
}
|
16 |
+
}
|
17 |
+
|
18 |
+
.wprm-ingredient-style-table-2,
|
19 |
+
.wprm-ingredient-style-table-2-align,
|
20 |
+
.wprm-ingredient-style-table-3,
|
21 |
+
.wprm-ingredient-style-table-3-align {
|
22 |
+
li.wprm-recipe-ingredient {
|
23 |
+
display: flex;
|
24 |
+
|
25 |
+
.wprm-recipe-ingredient-amount-unit {
|
26 |
+
margin-right: 10px;
|
27 |
+
}
|
28 |
+
}
|
29 |
+
}
|
30 |
+
.wprm-ingredient-style-table-2-align,
|
31 |
+
.wprm-ingredient-style-table-3-align {
|
32 |
+
.wprm-recipe-ingredient-amount-unit {
|
33 |
+
text-align: right;
|
34 |
+
}
|
35 |
+
}
|
36 |
+
.wprm-ingredient-style-table-2,
|
37 |
+
.wprm-ingredient-style-table-2-align {
|
38 |
+
li.wprm-recipe-ingredient {
|
39 |
+
.wprm-recipe-ingredient-name-notes {
|
40 |
+
flex: 1;
|
41 |
+
}
|
42 |
+
}
|
43 |
+
}
|
44 |
+
.wprm-ingredient-style-table-3,
|
45 |
+
.wprm-ingredient-style-table-3-align {
|
46 |
+
li.wprm-recipe-ingredient {
|
47 |
+
.wprm-recipe-ingredient-name {
|
48 |
+
margin-right: 10px;
|
49 |
+
}
|
50 |
+
.wprm-recipe-ingredient-notes {
|
51 |
+
flex: 1;
|
52 |
+
}
|
53 |
+
}
|
54 |
}
|
assets/css/shortcodes/_toggle-switch.scss
ADDED
@@ -0,0 +1,82 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.wprm-toggle-switch-container {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
margin: 10px 0;
|
5 |
+
|
6 |
+
.wprm-toggle-switch {
|
7 |
+
margin-right: 10px;
|
8 |
+
}
|
9 |
+
|
10 |
+
label {
|
11 |
+
cursor: pointer;
|
12 |
+
margin: 0;
|
13 |
+
font-size: 1em;
|
14 |
+
flex-shrink: 0;
|
15 |
+
}
|
16 |
+
|
17 |
+
.wprm-prevent-sleep-description {
|
18 |
+
margin-left: 10px;
|
19 |
+
font-size: 0.8em;
|
20 |
+
line-height: 1.1em;
|
21 |
+
}
|
22 |
+
}
|
23 |
+
|
24 |
+
.wprm-toggle-switch {
|
25 |
+
position: relative;
|
26 |
+
display: inline-block;
|
27 |
+
width: 40px;
|
28 |
+
height: 20px;
|
29 |
+
|
30 |
+
input {
|
31 |
+
opacity: 0;
|
32 |
+
width: 0;
|
33 |
+
height: 0;
|
34 |
+
margin: 0;
|
35 |
+
padding: 0;
|
36 |
+
}
|
37 |
+
|
38 |
+
.wprm-toggle-switch-slider {
|
39 |
+
position: absolute;
|
40 |
+
cursor: pointer;
|
41 |
+
top: 0;
|
42 |
+
left: 0;
|
43 |
+
right: 0;
|
44 |
+
bottom: 0;
|
45 |
+
background-color: #cccccc;
|
46 |
+
-webkit-transition: .4s;
|
47 |
+
transition: .4s;
|
48 |
+
|
49 |
+
&:before {
|
50 |
+
position: absolute;
|
51 |
+
content: "";
|
52 |
+
height: 80%;
|
53 |
+
left: 7%;
|
54 |
+
right: 50%;
|
55 |
+
bottom: 10%;
|
56 |
+
background-color: white;
|
57 |
+
-webkit-transition: .4s;
|
58 |
+
transition: .4s;
|
59 |
+
}
|
60 |
+
}
|
61 |
+
|
62 |
+
input:checked + .wprm-toggle-switch-slider {
|
63 |
+
background-color: #333333 !important;
|
64 |
+
}
|
65 |
+
|
66 |
+
input:focus + .wprm-toggle-switch-slider {
|
67 |
+
box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.12);
|
68 |
+
}
|
69 |
+
|
70 |
+
input:checked + .wprm-toggle-switch-slider:before {
|
71 |
+
left: 50%;
|
72 |
+
right: 7%;
|
73 |
+
}
|
74 |
+
}
|
75 |
+
|
76 |
+
.wprm-toggle-switch-rounded {
|
77 |
+
.wprm-toggle-switch-slider {
|
78 |
+
&:before {
|
79 |
+
border-radius: 50%;
|
80 |
+
}
|
81 |
+
}
|
82 |
+
}
|
assets/css/shortcodes/shortcodes.scss
CHANGED
@@ -1,5 +1,4 @@
|
|
1 |
@import 'author';
|
2 |
-
@import 'toggle';
|
3 |
@import 'call-to-action';
|
4 |
@import 'container-block';
|
5 |
@import 'container';
|
@@ -14,4 +13,6 @@
|
|
14 |
@import 'nutrition-label';
|
15 |
@import 'rating';
|
16 |
@import 'spacer';
|
|
|
|
|
17 |
@import 'video';
|
1 |
@import 'author';
|
|
|
2 |
@import 'call-to-action';
|
3 |
@import 'container-block';
|
4 |
@import 'container';
|
13 |
@import 'nutrition-label';
|
14 |
@import 'rating';
|
15 |
@import 'spacer';
|
16 |
+
@import 'toggle-switch';
|
17 |
+
@import 'toggle';
|
18 |
@import 'video';
|
assets/js/admin-manage/App.js
CHANGED
@@ -23,12 +23,22 @@ export default class App extends Component {
|
|
23 |
<Notices />
|
24 |
</div>
|
25 |
<div id="wprm-admin-manage-content">
|
26 |
-
<Route path="/:type?" render={( {match} ) => {
|
27 |
let type = 'recipe';
|
28 |
if ( match.params.type && Object.keys(datatables).includes( match.params.type ) ) {
|
29 |
type = match.params.type;
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
if ( ! datatables.hasOwnProperty( type ) ) {
|
33 |
return null;
|
34 |
}
|
@@ -36,6 +46,7 @@ export default class App extends Component {
|
|
36 |
return (
|
37 |
<DataTable
|
38 |
type={ type }
|
|
|
39 |
options={ datatables[ type ] }
|
40 |
/>
|
41 |
)
|
23 |
<Notices />
|
24 |
</div>
|
25 |
<div id="wprm-admin-manage-content">
|
26 |
+
<Route path="/:type?/:filter?" render={( {match} ) => {
|
27 |
let type = 'recipe';
|
28 |
if ( match.params.type && Object.keys(datatables).includes( match.params.type ) ) {
|
29 |
type = match.params.type;
|
30 |
}
|
31 |
|
32 |
+
let filter = false;
|
33 |
+
if ( match.params.filter ) {
|
34 |
+
const filterParts = match.params.filter.split( '=' );
|
35 |
+
|
36 |
+
if ( 2 === filterParts.length ) {
|
37 |
+
filter = filterParts;
|
38 |
+
}
|
39 |
+
}
|
40 |
+
console.log( 'params', match.params );
|
41 |
+
|
42 |
if ( ! datatables.hasOwnProperty( type ) ) {
|
43 |
return null;
|
44 |
}
|
46 |
return (
|
47 |
<DataTable
|
48 |
type={ type }
|
49 |
+
filter={ filter }
|
50 |
options={ datatables[ type ] }
|
51 |
/>
|
52 |
)
|
assets/js/admin-manage/DataTable.js
CHANGED
@@ -143,6 +143,7 @@ export default class DataTable extends Component {
|
|
143 |
page: state.page,
|
144 |
sorted: state.sorted,
|
145 |
filtered: state.filtered,
|
|
|
146 |
}).then(data => {
|
147 |
if ( data ) {
|
148 |
let newState = {
|
@@ -270,6 +271,7 @@ export default class DataTable extends Component {
|
|
270 |
<Totals
|
271 |
filtered={this.state.countFiltered}
|
272 |
total={this.state.countTotal}
|
|
|
273 |
/>
|
274 |
<div className="wprm-admin-manage-table-inner">
|
275 |
<ReactTable
|
143 |
page: state.page,
|
144 |
sorted: state.sorted,
|
145 |
filtered: state.filtered,
|
146 |
+
filter: this.props.filter,
|
147 |
}).then(data => {
|
148 |
if ( data ) {
|
149 |
let newState = {
|
271 |
<Totals
|
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
|
assets/js/admin-manage/general/Totals.js
CHANGED
@@ -26,6 +26,13 @@ const Totals = (props) => {
|
|
26 |
:
|
27 |
`${ Number(props.filtered).toLocaleString() } ${ __wprm( 'rows' ) }`
|
28 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
29 |
</div>
|
30 |
);
|
31 |
}
|
26 |
:
|
27 |
`${ Number(props.filtered).toLocaleString() } ${ __wprm( 'rows' ) }`
|
28 |
}
|
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 |
);
|
38 |
}
|
assets/js/admin-manage/recipes/Columns.js
CHANGED
@@ -6,6 +6,7 @@ import TextFilter from '../general/TextFilter';
|
|
6 |
import Api from 'Shared/Api';
|
7 |
import Icon from 'Shared/Icon';
|
8 |
import { __wprm } from 'Shared/Translations';
|
|
|
9 |
|
10 |
import '../../../css/admin/manage/recipes.scss';
|
11 |
import SeoIndicator from './SeoIndicator';
|
@@ -151,6 +152,25 @@ export default {
|
|
151 |
accessor: 'id',
|
152 |
width: 65,
|
153 |
Filter: (props) => (<TextFilter {...props}/>),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
},{
|
155 |
Header: __wprm( 'Date' ),
|
156 |
id: 'date',
|
6 |
import Api from 'Shared/Api';
|
7 |
import Icon from 'Shared/Icon';
|
8 |
import { __wprm } from 'Shared/Translations';
|
9 |
+
import CopyToClipboardIcon from 'Shared/CopyToClipboardIcon';
|
10 |
|
11 |
import '../../../css/admin/manage/recipes.scss';
|
12 |
import SeoIndicator from './SeoIndicator';
|
152 |
accessor: 'id',
|
153 |
width: 65,
|
154 |
Filter: (props) => (<TextFilter {...props}/>),
|
155 |
+
},{
|
156 |
+
Header: __wprm( 'Shortcode' ),
|
157 |
+
id: 'shortcode',
|
158 |
+
accessor: 'id',
|
159 |
+
sortable: false,
|
160 |
+
filterable: false,
|
161 |
+
width: 200,
|
162 |
+
Cell: row => {
|
163 |
+
const shortcode = `[wprm-recipe id="${ row.value }"]`;
|
164 |
+
|
165 |
+
return (
|
166 |
+
<div className="wprm-admin-manage-shortcode-container">
|
167 |
+
<CopyToClipboardIcon
|
168 |
+
text={shortcode}
|
169 |
+
type="text"
|
170 |
+
/>
|
171 |
+
</div>
|
172 |
+
)
|
173 |
+
},
|
174 |
},{
|
175 |
Header: __wprm( 'Date' ),
|
176 |
id: 'date',
|
assets/js/admin-manage/taxonomies/Columns.js
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
import React, { Fragment } from 'react';
|
|
|
2 |
import he from 'he';
|
3 |
|
4 |
import Media from 'Modal/general/Media';
|
@@ -110,6 +111,11 @@ export default {
|
|
110 |
accessor: 'count',
|
111 |
filterable: false,
|
112 |
width: 65,
|
|
|
|
|
|
|
|
|
|
|
113 |
}
|
114 |
];
|
115 |
|
@@ -124,6 +130,39 @@ export default {
|
|
124 |
});
|
125 |
}
|
126 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
127 |
if ( 'ingredient' === datatable.props.options.id && wprm_admin.addons.premium ) {
|
128 |
columns.push({
|
129 |
Header: __wprm( 'Shopping List Group' ),
|
1 |
import React, { Fragment } from 'react';
|
2 |
+
import { NavLink } from 'react-router-dom';
|
3 |
import he from 'he';
|
4 |
|
5 |
import Media from 'Modal/general/Media';
|
111 |
accessor: 'count',
|
112 |
filterable: false,
|
113 |
width: 65,
|
114 |
+
Cell: row => {
|
115 |
+
return (
|
116 |
+
<NavLink to={ `/recipe/${ datatable.props.options.id }=${row.original.term_id}` }>{ row.value }</NavLink>
|
117 |
+
)
|
118 |
+
}
|
119 |
}
|
120 |
];
|
121 |
|
130 |
});
|
131 |
}
|
132 |
|
133 |
+
if ( 'ingredient' === datatable.props.options.id ) {
|
134 |
+
columns.push({
|
135 |
+
Header: __wprm( 'Plural' ),
|
136 |
+
id: 'plural',
|
137 |
+
accessor: 'plural',
|
138 |
+
width: 200,
|
139 |
+
Filter: (props) => (<TextFilter {...props}/>),
|
140 |
+
Cell: row => {
|
141 |
+
return (
|
142 |
+
<div className="wprm-manage-ingredients-group-container">
|
143 |
+
<Icon
|
144 |
+
type="pencil"
|
145 |
+
title={ __wprm( 'Change Plural' ) }
|
146 |
+
onClick={() => {
|
147 |
+
const newPlural = prompt( `${ __wprm( 'What do you want the plural to be for' ) } "${row.original.name}"?`, row.value );
|
148 |
+
if( false !== newPlural ) {
|
149 |
+
Api.manage.updateTaxonomyMeta('ingredient', row.original.term_id, { plural: newPlural }).then(() => datatable.refreshData());
|
150 |
+
}
|
151 |
+
}}
|
152 |
+
/>
|
153 |
+
{
|
154 |
+
row.value
|
155 |
+
?
|
156 |
+
<span>{ row.value }</span>
|
157 |
+
:
|
158 |
+
null
|
159 |
+
}
|
160 |
+
</div>
|
161 |
+
)
|
162 |
+
},
|
163 |
+
});
|
164 |
+
}
|
165 |
+
|
166 |
if ( 'ingredient' === datatable.props.options.id && wprm_admin.addons.premium ) {
|
167 |
columns.push({
|
168 |
Header: __wprm( 'Shopping List Group' ),
|
assets/js/admin-modal/fields/FieldCheckbox.js
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import React from 'react';
|
2 |
+
|
3 |
+
const FieldCheckbox = (props) => {
|
4 |
+
const disabled = props.hasOwnProperty( 'disabled' ) ? props.disabled : false;
|
5 |
+
|
6 |
+
return (
|
7 |
+
<input
|
8 |
+
type="checkbox"
|
9 |
+
className="wprm-admin-modal-field-checkbox"
|
10 |
+
disabled={ disabled }
|
11 |
+
name={props.name}
|
12 |
+
checked={props.value}
|
13 |
+
onChange={(e) => {
|
14 |
+
props.onChange( e.target.checked );
|
15 |
+
}}
|
16 |
+
/>
|
17 |
+
);
|
18 |
+
}
|
19 |
+
export default FieldCheckbox;
|
assets/js/admin-modal/fields/FieldText.js
CHANGED
@@ -7,6 +7,9 @@ const FieldText = (props) => {
|
|
7 |
return (
|
8 |
<input
|
9 |
type={ type }
|
|
|
|
|
|
|
10 |
disabled={ disabled }
|
11 |
name={props.name}
|
12 |
value={props.value}
|
7 |
return (
|
8 |
<input
|
9 |
type={ type }
|
10 |
+
min={ props.hasOwnProperty( 'min' ) ? props.min : null }
|
11 |
+
max={ props.hasOwnProperty( 'max' ) ? props.max : null }
|
12 |
+
step={ props.hasOwnProperty( 'step' ) ? props.step : null }
|
13 |
disabled={ disabled }
|
14 |
name={props.name}
|
15 |
value={props.value}
|
assets/js/admin-modal/recipe/edit/RecipeGeneral.js
CHANGED
@@ -4,6 +4,7 @@ import '../../../../css/admin/modal/recipe/fields/general.scss';
|
|
4 |
|
5 |
import { __wprm } from 'Shared/Translations';
|
6 |
import { isProblemBrowser } from 'Shared/Browser';
|
|
|
7 |
import FieldContainer from '../../fields/FieldContainer';
|
8 |
import FieldDropdown from '../../fields/FieldDropdown';
|
9 |
import FieldText from '../../fields/FieldText';
|
@@ -103,6 +104,8 @@ const RecipeGeneral = (props) => {
|
|
103 |
<FieldText
|
104 |
placeholder="4"
|
105 |
type="number"
|
|
|
|
|
106 |
value={ 0 != props.servings.amount ? props.servings.amount : '' }
|
107 |
onChange={ (servings) => {
|
108 |
props.onRecipeChange( { servings } );
|
@@ -131,6 +134,22 @@ const RecipeGeneral = (props) => {
|
|
131 |
}}
|
132 |
/>
|
133 |
</FieldContainer>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
</Fragment>
|
135 |
);
|
136 |
}
|
4 |
|
5 |
import { __wprm } from 'Shared/Translations';
|
6 |
import { isProblemBrowser } from 'Shared/Browser';
|
7 |
+
import FieldCheckbox from '../../fields/FieldCheckbox';
|
8 |
import FieldContainer from '../../fields/FieldContainer';
|
9 |
import FieldDropdown from '../../fields/FieldDropdown';
|
10 |
import FieldText from '../../fields/FieldText';
|
104 |
<FieldText
|
105 |
placeholder="4"
|
106 |
type="number"
|
107 |
+
min="0"
|
108 |
+
step="any"
|
109 |
value={ 0 != props.servings.amount ? props.servings.amount : '' }
|
110 |
onChange={ (servings) => {
|
111 |
props.onRecipeChange( { servings } );
|
134 |
}}
|
135 |
/>
|
136 |
</FieldContainer>
|
137 |
+
{
|
138 |
+
wprm_admin_modal.integrations.my_emissions_checkbox
|
139 |
+
&&
|
140 |
+
<FieldContainer
|
141 |
+
id="my-emissions"
|
142 |
+
label={ __wprm( 'My Emissions Label' ) }
|
143 |
+
>
|
144 |
+
<FieldCheckbox
|
145 |
+
name="my-emissions"
|
146 |
+
value={ props.my_emissions }
|
147 |
+
onChange={ (my_emissions) => {
|
148 |
+
props.onRecipeChange( { my_emissions } );
|
149 |
+
}}
|
150 |
+
/>
|
151 |
+
</FieldContainer>
|
152 |
+
}
|
153 |
</Fragment>
|
154 |
);
|
155 |
}
|
assets/js/admin-modal/recipe/edit/RecipeIngredients/index.js
CHANGED
@@ -24,6 +24,7 @@ export default class RecipeIngredients extends Component {
|
|
24 |
return this.state.mode !== nextState.mode
|
25 |
|| this.props.type !== nextProps.type
|
26 |
|| this.props.linkType !== nextProps.linkType
|
|
|
27 |
|| JSON.stringify( this.props.ingredients ) !== JSON.stringify( nextProps.ingredients );
|
28 |
}
|
29 |
|
@@ -66,6 +67,12 @@ export default class RecipeIngredients extends Component {
|
|
66 |
ingredients_flat,
|
67 |
});
|
68 |
}}
|
|
|
|
|
|
|
|
|
|
|
|
|
69 |
/>
|
70 |
);
|
71 |
break;
|
24 |
return this.state.mode !== nextState.mode
|
25 |
|| this.props.type !== nextProps.type
|
26 |
|| this.props.linkType !== nextProps.linkType
|
27 |
+
|| this.props.system !== nextProps.system
|
28 |
|| JSON.stringify( this.props.ingredients ) !== JSON.stringify( nextProps.ingredients );
|
29 |
}
|
30 |
|
67 |
ingredients_flat,
|
68 |
});
|
69 |
}}
|
70 |
+
system={ this.props.system }
|
71 |
+
onSystemChange={ ( unit_system ) => {
|
72 |
+
this.props.onRecipeChange({
|
73 |
+
unit_system,
|
74 |
+
});
|
75 |
+
} }
|
76 |
/>
|
77 |
);
|
78 |
break;
|
assets/js/admin-modal/recipe/edit/index.js
CHANGED
@@ -75,6 +75,7 @@ const EditRecipe = (props) => {
|
|
75 |
unit: props.recipe.servings_unit,
|
76 |
}}
|
77 |
cost={ props.recipe.cost }
|
|
|
78 |
onRecipeChange={ props.onRecipeChange }
|
79 |
/>
|
80 |
)
|
@@ -132,6 +133,7 @@ const EditRecipe = (props) => {
|
|
132 |
type={ props.recipe.type }
|
133 |
ingredients={ props.recipe.ingredients_flat }
|
134 |
linkType={ props.recipe.ingredient_links_type }
|
|
|
135 |
onRecipeChange={ props.onRecipeChange }
|
136 |
onModeChange={ props.onModeChange }
|
137 |
/>
|
75 |
unit: props.recipe.servings_unit,
|
76 |
}}
|
77 |
cost={ props.recipe.cost }
|
78 |
+
my_emissions={ props.recipe.my_emissions }
|
79 |
onRecipeChange={ props.onRecipeChange }
|
80 |
/>
|
81 |
)
|
133 |
type={ props.recipe.type }
|
134 |
ingredients={ props.recipe.ingredients_flat }
|
135 |
linkType={ props.recipe.ingredient_links_type }
|
136 |
+
system={ props.recipe.unit_system }
|
137 |
onRecipeChange={ props.onRecipeChange }
|
138 |
onModeChange={ props.onModeChange }
|
139 |
/>
|
assets/js/admin-template/main/preview-template/index.js
CHANGED
@@ -3,6 +3,7 @@ import Parser from 'html-react-parser';
|
|
3 |
|
4 |
import '../../../../css/public/template_reset.scss';
|
5 |
import '../../../../css/shortcodes/shortcodes.scss';
|
|
|
6 |
|
7 |
import Helpers from '../../general/Helpers';
|
8 |
import Loader from 'Shared/Loader';
|
3 |
|
4 |
import '../../../../css/public/template_reset.scss';
|
5 |
import '../../../../css/shortcodes/shortcodes.scss';
|
6 |
+
import '../../../../../../wp-recipe-maker-premium/assets/css/shortcodes/shortcodes.scss';
|
7 |
|
8 |
import Helpers from '../../general/Helpers';
|
9 |
import Loader from 'Shared/Loader';
|
assets/js/other/my-emissions.js
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
document.addEventListener('DOMContentLoaded', () => {
|
2 |
+
const customer_identifier = window.hasOwnProperty( 'wprm_my_emissions' ) ? wprm_my_emissions.identifier : false;
|
3 |
+
const recipelabels = document.querySelectorAll('.myemissionslabel');
|
4 |
+
|
5 |
+
if ( customer_identifier && 0 < recipelabels.length ) {
|
6 |
+
recipelabels.forEach((element, index) => {
|
7 |
+
// Get WPRM ID.
|
8 |
+
let wprm_id = element.dataset.hasOwnProperty( 'recipe' ) ? element.dataset.recipe : false;
|
9 |
+
|
10 |
+
if ( ! wprm_id ) {
|
11 |
+
wprm_id = document.querySelectorAll('.wprm-recipe-container')[index].getAttribute('data-recipe-id');
|
12 |
+
}
|
13 |
+
|
14 |
+
if ( wprm_id ) {
|
15 |
+
// Hide until label is actually there.
|
16 |
+
const container = element.closest( '.wprm-recipe-my-emissions-container' );
|
17 |
+
container.style.display = 'none';
|
18 |
+
|
19 |
+
// Request label.
|
20 |
+
var url = "https://recipelabels.myemissions.green/" + customer_identifier + "/" + wprm_id + "/" ;
|
21 |
+
fetch(url).then((response) => {
|
22 |
+
if (response.ok) {
|
23 |
+
return response.json();
|
24 |
+
} else if (!window.location.href.endsWith("preview=true")){
|
25 |
+
const pageurl = window.location.protocol + '//' + window.location.host + window.location.pathname;
|
26 |
+
fetch('https://recipelabels.myemissions.green/add-recipe/', {
|
27 |
+
method: 'POST',
|
28 |
+
headers: {'Content-type': 'application/json; charset=UTF-8'},
|
29 |
+
body: JSON.stringify({
|
30 |
+
customer: customer_identifier,
|
31 |
+
recipe_identifier: wprm_id,
|
32 |
+
url: pageurl
|
33 |
+
}),
|
34 |
+
})
|
35 |
+
throw new Error('Recipe label does not exist. The request for a label has been logged and it will be created shortly.');
|
36 |
+
}
|
37 |
+
})
|
38 |
+
.then(data => {
|
39 |
+
if (data.label_html != undefined) {
|
40 |
+
element.innerHTML = data.label_html;
|
41 |
+
container.style.display = '';
|
42 |
+
}else{return false;}
|
43 |
+
})
|
44 |
+
.catch(error => {
|
45 |
+
console.log(error);
|
46 |
+
});
|
47 |
+
}
|
48 |
+
});
|
49 |
+
}
|
50 |
+
});
|
assets/js/public-legacy.js
CHANGED
@@ -7,6 +7,7 @@ import './public/comment-rating';
|
|
7 |
import './public/grow';
|
8 |
import './public/media-toggle';
|
9 |
import './public/print';
|
|
|
10 |
import './public/smooth-scroll';
|
11 |
import './public/video';
|
12 |
|
7 |
import './public/grow';
|
8 |
import './public/media-toggle';
|
9 |
import './public/print';
|
10 |
+
import './public/slickstream';
|
11 |
import './public/smooth-scroll';
|
12 |
import './public/video';
|
13 |
|
assets/js/public/analytics.js
CHANGED
@@ -39,6 +39,13 @@ window.WPRecipeMaker.analytics = {
|
|
39 |
window.WPRecipeMaker.analytics.registerAction( recipeId, wprm_public.post_id, 'facebook-share-button' );
|
40 |
}
|
41 |
return true;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
42 |
} else if ( target.matches( '.wprm-recipe-text-share' ) ) {
|
43 |
const recipeId = target.dataset.hasOwnProperty( 'recipe' ) ? target.dataset.recipe : false;
|
44 |
|
39 |
window.WPRecipeMaker.analytics.registerAction( recipeId, wprm_public.post_id, 'facebook-share-button' );
|
40 |
}
|
41 |
return true;
|
42 |
+
} else if ( target.matches( '.wprm-recipe-twitter-share' ) ) {
|
43 |
+
const recipeId = target.dataset.hasOwnProperty( 'recipe' ) ? target.dataset.recipe : false;
|
44 |
+
|
45 |
+
if ( recipeId ) {
|
46 |
+
window.WPRecipeMaker.analytics.registerAction( recipeId, wprm_public.post_id, 'twitter-share-button' );
|
47 |
+
}
|
48 |
+
return true;
|
49 |
} else if ( target.matches( '.wprm-recipe-text-share' ) ) {
|
50 |
const recipeId = target.dataset.hasOwnProperty( 'recipe' ) ? target.dataset.recipe : false;
|
51 |
|
assets/js/public/print.js
CHANGED
@@ -70,7 +70,8 @@ window.WPRecipeMaker.print = {
|
|
70 |
},
|
71 |
recipe: ( id, servings = false, system = 1 ) => {
|
72 |
const url = WPRecipeMaker.print.getUrl( id );
|
73 |
-
const
|
|
|
74 |
|
75 |
printWindow.onload = () => {
|
76 |
printWindow.focus();
|
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 );
|
75 |
|
76 |
printWindow.onload = () => {
|
77 |
printWindow.focus();
|
assets/js/public/slickstream.js
ADDED
@@ -0,0 +1,75 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
// Source: https://github.com/slickstream/docs/tree/main/engagement/1.x#slickstream-javascript-api-v10.
|
2 |
+
window.WPRecipeMaker.slickstream = {
|
3 |
+
init: () => {
|
4 |
+
// Add click listener.
|
5 |
+
document.addEventListener( 'click', function(e) {
|
6 |
+
for ( var target = e.target; target && target != this; target = target.parentNode ) {
|
7 |
+
if ( target.matches( '.wprm-recipe-slickstream-not-saved' ) ) {
|
8 |
+
WPRecipeMaker.slickstream.onClickSave( target, e );
|
9 |
+
break;
|
10 |
+
}
|
11 |
+
if ( target.matches( '.wprm-recipe-slickstream-saved' ) ) {
|
12 |
+
WPRecipeMaker.slickstream.onClickSaved( target, e );
|
13 |
+
break;
|
14 |
+
}
|
15 |
+
}
|
16 |
+
}, false );
|
17 |
+
|
18 |
+
// Listen for favorites change to update button.
|
19 |
+
document.addEventListener( 'slickstream-favorite-change', () => {
|
20 |
+
WPRecipeMaker.slickstream.favoriteChanged();
|
21 |
+
});
|
22 |
+
|
23 |
+
// Trigger changed to set initial state.
|
24 |
+
WPRecipeMaker.slickstream.favoriteChanged();
|
25 |
+
},
|
26 |
+
getSlickstream: async () => {
|
27 |
+
if (window.slickstream) {
|
28 |
+
return window.slickstream.v1;
|
29 |
+
}
|
30 |
+
return new Promise((resolve, reject) => {
|
31 |
+
document.addEventListener('slickstream-ready', () => {
|
32 |
+
resolve(window.slickstream.v1);
|
33 |
+
});
|
34 |
+
});
|
35 |
+
},
|
36 |
+
onClickSave: async ( el, e ) => {
|
37 |
+
e.preventDefault()
|
38 |
+
WPRecipeMaker.slickstream.setFavoriteStatus( true );
|
39 |
+
},
|
40 |
+
onClickSaved: async ( el, e ) => {
|
41 |
+
e.preventDefault()
|
42 |
+
WPRecipeMaker.slickstream.setFavoriteStatus( false );
|
43 |
+
},
|
44 |
+
favoriteChanged: async () => {
|
45 |
+
const slickstream = await WPRecipeMaker.slickstream.getSlickstream();
|
46 |
+
const isFavorite = slickstream.favorites.getState();
|
47 |
+
|
48 |
+
// Update buttons.
|
49 |
+
const buttons = document.querySelectorAll( '.wprm-recipe-slickstream' );
|
50 |
+
|
51 |
+
for ( let button of buttons ) {
|
52 |
+
if ( button.classList.contains( 'wprm-recipe-slickstream-not-saved' ) ) {
|
53 |
+
button.style.display = true === isFavorite ? 'none' : '';
|
54 |
+
} else if ( button.classList.contains( 'wprm-recipe-slickstream-saved' ) ) {
|
55 |
+
button.style.display = true === isFavorite ? '' : 'none';
|
56 |
+
}
|
57 |
+
}
|
58 |
+
},
|
59 |
+
setFavoriteStatus: async ( status ) => {
|
60 |
+
const slickstream = await WPRecipeMaker.slickstream.getSlickstream();
|
61 |
+
slickstream.favorites.setState( status );
|
62 |
+
},
|
63 |
+
};
|
64 |
+
|
65 |
+
ready(() => {
|
66 |
+
window.WPRecipeMaker.slickstream.init();
|
67 |
+
});
|
68 |
+
|
69 |
+
function ready( fn ) {
|
70 |
+
if (document.readyState != 'loading'){
|
71 |
+
fn();
|
72 |
+
} else {
|
73 |
+
document.addEventListener('DOMContentLoaded', fn);
|
74 |
+
}
|
75 |
+
}
|
assets/js/shared/CopyToClipboardIcon.js
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
|
2 |
+
import React, { Component } from 'react';
|
3 |
+
import CopyToClipboard from 'react-copy-to-clipboard';
|
4 |
+
|
5 |
+
import Icon from 'Shared/Icon';
|
6 |
+
import Tooltip from 'Shared/Tooltip';
|
7 |
+
import { __wprm } from 'Shared/Translations';
|
8 |
+
|
9 |
+
import '../../css/admin/shared/copy-clipboard.scss';
|
10 |
+
|
11 |
+
export default class CopyToClipboardIcon extends Component {
|
12 |
+
constructor(props) {
|
13 |
+
super(props);
|
14 |
+
|
15 |
+
this.state = {
|
16 |
+
copied: false,
|
17 |
+
}
|
18 |
+
}
|
19 |
+
|
20 |
+
onCopy() {
|
21 |
+
this.setState({
|
22 |
+
copied: true,
|
23 |
+
}, () => {
|
24 |
+
setTimeout(() => {
|
25 |
+
this.setState({
|
26 |
+
copied: false,
|
27 |
+
});
|
28 |
+
}, 2000);
|
29 |
+
});
|
30 |
+
}
|
31 |
+
|
32 |
+
render() {
|
33 |
+
return (
|
34 |
+
<CopyToClipboard
|
35 |
+
text={this.props.text}
|
36 |
+
onCopy={this.onCopy.bind(this)}
|
37 |
+
>
|
38 |
+
<span
|
39 |
+
className="wprm-admin-table-container-copy"
|
40 |
+
style={{
|
41 |
+
opacity: this.state.copied ? 0.2 : 1
|
42 |
+
}}
|
43 |
+
>
|
44 |
+
{
|
45 |
+
this.props.hasOwnProperty( 'type' )
|
46 |
+
&& 'text' === this.props.type
|
47 |
+
?
|
48 |
+
<Tooltip content={ this.state.copied ? __wprm( 'Copied!' ) : __wprm( 'Copy to clipboard' ) }>
|
49 |
+
<span>{ this.props.text }</span>
|
50 |
+
</Tooltip>
|
51 |
+
:
|
52 |
+
<Icon
|
53 |
+
type="clipboard"
|
54 |
+
title={ this.state.copied ? __wprm( 'Copied!' ) : __wprm( 'Copy to clipboard' ) }
|
55 |
+
/>
|
56 |
+
}
|
57 |
+
</span>
|
58 |
+
</CopyToClipboard>
|
59 |
+
);
|
60 |
+
}
|
61 |
+
}
|
dist/admin-faq.css
CHANGED
@@ -2,7 +2,9 @@
|
|
2 |
|
3 |
.wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
|
4 |
|
5 |
-
.wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
|
|
|
|
|
6 |
|
7 |
.wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
|
8 |
|
2 |
|
3 |
.wprm-recipe-container{outline:none}.wprm-recipe{overflow:hidden;zoom:1;text-align:left;clear:both}.wprm-recipe *{box-sizing:border-box}.wprm-recipe ol,.wprm-recipe ul{-webkit-margin-before:0;-webkit-margin-after:0;-webkit-padding-start:0;margin:0;padding:0}.wprm-recipe li{font-size:1em;margin:0 0 0 32px;padding:0}.wprm-recipe p{font-size:1em;margin:0;padding:0}.wprm-recipe li,.wprm-recipe li.wprm-recipe-instruction{list-style-position:outside}.wprm-recipe li:before{display:none}.wprm-recipe h1,.wprm-recipe h2,.wprm-recipe h3,.wprm-recipe h4,.wprm-recipe h5,.wprm-recipe h6{clear:none;font-variant:normal;text-transform:none;letter-spacing:normal;margin:0;padding:0}.wprm-recipe a.wprm-recipe-link,.wprm-recipe a.wprm-recipe-link:hover{-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none}.wprm-recipe .wprm-nutrition-label{margin-top:10px}body:not(.wprm-print) .wprm-recipe p:first-letter{font-size:inherit;line-height:inherit;color:inherit;margin:inherit;padding:inherit;font-family:inherit}.rtl .wprm-recipe{text-align:right}.rtl .wprm-recipe li{margin:0 32px 0 0}.wprm-screen-reader-text{border:0;clip:rect(1px, 1px, 1px, 1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute !important;width:1px;word-wrap:normal !important}
|
4 |
|
5 |
+
.wprm-recipe-author-with-image{display:inline-flex;align-items:center}.wprm-recipe-author-with-image .wprm-recipe-author-image{line-height:0;margin-right:10px}.wprm-call-to-action.wprm-call-to-action-simple{margin-top:10px;padding:5px 10px;display:flex;justify-content:center;align-items:middle}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon{font-size:2.2em;margin:5px 0.5em 5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-icon svg{margin-top:0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{margin:5px 0}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container .wprm-call-to-action-header{display:block;font-weight:bold;font-size:1.3em}@media all and (max-width: 450px){.wprm-call-to-action.wprm-call-to-action-simple{flex-wrap:wrap}.wprm-call-to-action.wprm-call-to-action-simple .wprm-call-to-action-text-container{text-align:center}}.wprm-recipe-block-container-inline{display:inline-block;margin-right:1.2em}.rtl .wprm-recipe-block-container-inline{margin-right:0;margin-left:1.2em}.wprm-recipe-block-container-separate{display:block}.wprm-recipe-block-container-separated{display:block}.wprm-recipe-block-container-separated .wprm-recipe-details-label{display:block}.wprm-recipe-block-container-columns{display:block}.wprm-recipe-block-container-columns .wprm-recipe-details-label{display:inline-block;min-width:130px}.wprm-recipe-details-container-inline{display:inline}.wprm-recipe-details-container-table{display:flex;border:1px dotted #666;padding:5px;margin:5px 0}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{flex:1;display:flex;flex-direction:column;text-align:center}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top{border-left:none !important;border-right:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom{border-left:none !important;border-right:none !important;border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left{border-right:none !important;border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right{border-left:none !important;border-top:none !important;border-bottom:none !important}@media all and (min-width: 451px){.wprm-recipe-table-borders-empty .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table{border-left:none !important}.rtl .wprm-recipe-table-borders-inside .wprm-recipe-block-container-table:first-child{border-right:none !important}}@media all and (max-width: 450px){.wprm-recipe-details-container-table{display:block;border:none !important;padding:0;margin:5px 0}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none{display:flex;flex-wrap:wrap}.wprm-recipe-details-container-table.wprm-recipe-table-borders-none .wprm-recipe-block-container-table{min-width:120px;max-width:100%}.wprm-recipe-details-container-table .wprm-recipe-block-container-table{padding:5px}.wprm-recipe-details-container-table.wprm-recipe-table-borders-all .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table{border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top-bottom .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table{border-bottom:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-top .wprm-recipe-block-container-table:not(:first-child){border-top:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table{border-top:none !important;border-left:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-bottom .wprm-recipe-block-container-table:not(:last-child){border-bottom:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-left .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-right:none !important}.wprm-recipe-details-container-table.wprm-recipe-table-borders-right .wprm-recipe-block-container-table{border-top:none !important;border-bottom:none !important;border-left:none !important}.wprm-recipe-block-container-columns .wprm-recipe-details-label{min-width:0;margin-right:0.4em}}.wprm-recipe-details-unit{font-size:0.8em}.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:flex;flex-wrap:wrap;justify-content:space-between}.wprm-container-columns-spaced.wprm-container-columns-spaced-middle,.wprm-container-columns-spaced-middle.wprm-container-columns-spaced-middle{align-items:center}.wprm-container-columns-spaced>*,.wprm-container-columns-spaced-middle>*{flex:1}.wprm-container-columns-spaced.wprm-container-columns-gutter,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter{margin-left:-8px;margin-right:-8px}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-left:8px !important;margin-right:8px !important}@media all and (max-width: 450px){.wprm-container-columns-spaced,.wprm-container-columns-spaced-middle{display:block}.wprm-container-columns-spaced.wprm-container-columns-gutter>*,.wprm-container-columns-spaced-middle.wprm-container-columns-gutter>*{margin-bottom:16px !important}}.wprm-container-float-left{float:left;margin:0 10px 10px 0;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-left{float:right;margin:0 0 10px 10px}.wprm-container-float-right{float:right;margin:0 0 10px 10px;text-align:center;position:relative;z-index:1}.rtl .wprm-container-float-right{float:left;margin:0 10px 10px 0}@media only screen and (max-width: 640px){.wprm-container-float-left,.wprm-container-float-right,.rtl .wprm-container-float-left,.rtl .wprm-container-float-right{float:none;margin-left:0;margin-right:0}}.wprm-icon-decoration-line,.wprm-header-decoration-line{display:flex;flex-wrap:wrap;align-items:center}.wprm-icon-decoration-line.wprm-align-left .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-left .wprm-decoration-line{margin-left:15px}.wprm-icon-decoration-line.wprm-align-right .wprm-decoration-line,.wprm-header-decoration-line.wprm-align-right .wprm-decoration-line{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:first-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:first-child{margin-right:15px}.wprm-icon-decoration-line.wprm-align-center .wprm-decoration-line:last-child,.wprm-header-decoration-line.wprm-align-center .wprm-decoration-line:last-child{margin-left:15px}.wprm-decoration-line{flex:auto;height:1px;border-bottom:1px solid black}.wprm-block-text-normal{font-weight:400;font-style:normal;text-transform:none}.wprm-block-text-light{font-weight:300 !important}.wprm-block-text-bold{font-weight:bold !important}.wprm-block-text-italic{font-style:italic !important}.wprm-block-text-uppercase{text-transform:uppercase !important}.wprm-block-text-faded{opacity:0.6}.wprm-block-text-uppercase-faded{text-transform:uppercase !important;opacity:0.6}.wprm-block-text-faded .wprm-block-text-faded{opacity:1}.wprm-block-text-uppercase-faded .wprm-block-text-uppercase-faded{opacity:1}.wprm-align-left{text-align:left}.wprm-align-center{text-align:center}.wprm-align-right{text-align:right}.wprm-recipe-header .wprm-recipe-icon{margin-right:5px}.wprm-recipe-header.wprm-header-has-actions{display:flex;flex-wrap:wrap;align-items:center}.wprm-recipe-header .wprm-unit-conversion-container,.wprm-recipe-header .wprm-recipe-adjustable-servings-container,.wprm-recipe-header .wprm-recipe-media-toggle-container{text-transform:none;font-style:normal;font-weight:normal;opacity:1;font-size:16px}.wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:-0.15em;width:1.3em;height:1.3em;overflow:visible}.wprm-icon-shortcode{font-size:16px;height:16px}.wprm-icon-shortcode.wprm-icon-shortcode-inline{display:inline}.wprm-icon-shortcode .wprm-recipe-icon svg{display:inline;vertical-align:middle;margin-top:0;width:1em;height:1em;overflow:visible}.wprm-recipe-image img{display:block;margin:0 auto}.wprm-recipe-image .dpsp-pin-it-wrapper{margin:0 auto}.wprm-block-image-circle img{border-radius:50%}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-group-name{margin-top:0.8em !important}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-faded{opacity:0.7}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller{font-size:0.8em}.wprm-recipe-ingredients-container .wprm-recipe-ingredient-notes-smaller-faded{opacity:0.7;font-size:0.8em}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient{display:flex}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-amount-unit{margin-right:10px}.wprm-ingredient-style-table-2-align .wprm-recipe-ingredient-amount-unit,.wprm-ingredient-style-table-3-align .wprm-recipe-ingredient-amount-unit{text-align:right}.wprm-ingredient-style-table-2 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes,.wprm-ingredient-style-table-2-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name-notes{flex:1}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-name,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-name{margin-right:10px}.wprm-ingredient-style-table-3 li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes,.wprm-ingredient-style-table-3-align li.wprm-recipe-ingredient .wprm-recipe-ingredient-notes{flex:1}.wprm-recipe-instructions-container .wprm-recipe-instruction-group-name{margin-top:0.8em !important}.wprm-recipe-instructions-container .wprm-recipe-instruction-text{font-size:1em}.wprm-recipe-instructions-container .wprm-recipe-instruction-media{max-width:100%;margin:5px 0 15px}.wprm-recipe-instructions-container .wprm-recipe-instruction-video iframe{max-width:100%}.wprm-recipe-link{cursor:pointer;text-decoration:none}.wprm-recipe-link.wprm-recipe-link-inline-button{display:inline-block;margin:0 5px 5px 0}.wprm-recipe-link.wprm-recipe-link-button{display:table;margin:5px auto}.wprm-recipe-link.wprm-recipe-link-wide-button{display:block;width:auto;margin:5px 0;text-align:center}.wprm-recipe-link.wprm-recipe-link-button,.wprm-recipe-link.wprm-recipe-link-inline-button,.wprm-recipe-link.wprm-recipe-link-wide-button{border-width:1px;border-style:solid;padding:5px}.rtl .wprm-recipe-link.wprm-recipe-link-inline-button{margin:0 0 5px 5px}.wprm-nutrition-label-container-simple .wprm-nutrition-label-text-nutrition-unit{font-size:0.85em}.wprm-nutrition-label-container-grouped{display:flex;flex-wrap:wrap;justify-content:flex-start}.wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{white-space:nowrap;padding-right:10px}.rtl .wprm-nutrition-label-container-grouped .wprm-nutrition-label-text-nutrition-container{padding-left:10px;padding-right:0}.wprm-recipe-rating{white-space:nowrap}.wprm-recipe-rating svg{vertical-align:middle;margin-top:-0.15em !important;width:1.1em;height:1.1em;margin:0}.wprm-recipe-rating.wprm-recipe-rating-inline .wprm-recipe-rating-details{display:inline-block;margin-left:10px}.wprm-recipe-rating .wprm-recipe-rating-details{font-size:0.8em}.wprm-spacer{display:block !important;background:none !important;font-size:0;line-height:0;width:100%;height:10px}.wprm-spacer+.wprm-spacer{display:none !important}.wprm-recipe-summary .wprm-spacer,.wprm-recipe-instruction-text .wprm-spacer,.wprm-recipe-notes .wprm-spacer{display:block !important}.wprm-toggle-switch-container{display:flex;align-items:center;margin:10px 0}.wprm-toggle-switch-container .wprm-toggle-switch{margin-right:10px}.wprm-toggle-switch-container label{cursor:pointer;margin:0;font-size:1em;flex-shrink:0}.wprm-toggle-switch-container .wprm-prevent-sleep-description{margin-left:10px;font-size:0.8em;line-height:1.1em}.wprm-toggle-switch{position:relative;display:inline-block;width:40px;height:20px}.wprm-toggle-switch input{opacity:0;width:0;height:0;margin:0;padding:0}.wprm-toggle-switch .wprm-toggle-switch-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#cccccc;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch .wprm-toggle-switch-slider:before{position:absolute;content:"";height:80%;left:7%;right:50%;bottom:10%;background-color:white;-webkit-transition:.4s;transition:.4s}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider{background-color:#333333 !important}.wprm-toggle-switch input:focus+.wprm-toggle-switch-slider{box-shadow:0 0 0 3px rgba(0,0,0,0.12)}.wprm-toggle-switch input:checked+.wprm-toggle-switch-slider:before{left:50%;right:7%}.wprm-toggle-switch-rounded .wprm-toggle-switch-slider:before{border-radius:50%}.wprm-toggle-container{display:inline-flex;align-items:stretch;border:1px solid #333333;flex-shrink:0;overflow:hidden}.wprm-toggle-container button.wprm-toggle{display:inline-block;padding:5px 10px;font-size:inherit;line-height:inherit;font-weight:inherit;text-transform:inherit;letter-spacing:inherit;text-decoration:none;white-space:nowrap;border:none;border-radius:0;box-shadow:none}.wprm-toggle-container button.wprm-toggle.wprm-toggle-active .wprm-toggle-icon-inactive{display:none}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active){background:none !important;color:inherit !important}.wprm-toggle-container button.wprm-toggle:not(.wprm-toggle-active) .wprm-toggle-icon-active{display:none}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon{margin:0}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon svg{margin-top:-0.3em}.wprm-toggle-container button.wprm-toggle .wprm-toggle-icon+.wprm-toggle-text{margin-left:10px}.wprm-recipe-header+.wprm-recipe-video{margin-top:10px}
|
6 |
+
|
7 |
+
.wprm-recipe-equipment-container,.wprm-recipe-ingredients-container,.wprm-recipe-instructions-container{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list.wprm-advanced-list-reset{counter-reset:wprm-advanced-list-counter}ul.wprm-advanced-list li{list-style-type:none}ul.wprm-advanced-list li:before{counter-increment:wprm-advanced-list-counter;content:counter(wprm-advanced-list-counter);display:flex;align-items:center;justify-content:center;float:left;font-weight:bold;margin:2px 0 0 -32px;border-radius:100%;border:0}.rtl ul.wprm-advanced-list li:before{float:right;margin:2px -32px 0 0}.wprm-checkbox-container{margin-left:-16px}.rtl .wprm-checkbox-container{margin-left:0;margin-right:-16px}.wprm-checkbox-container input[type="checkbox"]{width:16px !important;margin:0 !important;opacity:0}.wprm-checkbox-container label.wprm-checkbox-label{position:relative;display:inline !important;margin:0 !important;left:0;padding-left:26px}.wprm-checkbox-container label::before,.wprm-checkbox-container label::after{position:absolute;content:"";display:inline-block}.wprm-checkbox-container label::before{height:18px;width:18px;border:1px solid;left:0;top:0}.wprm-checkbox-container label::after{height:5px;width:9px;border-left:2px solid;border-bottom:2px solid;transform:rotate(-45deg);left:5px;top:5px}.wprm-checkbox-container input[type="checkbox"]+label::after{content:none}.wprm-checkbox-container input[type="checkbox"]:checked+label::after{content:""}.wprm-checkbox-container input[type="checkbox"]:focus+label::before{outline:#3b99fc auto 5px}.wprm-recipe-equipment li,.wprm-recipe-ingredients li,.wprm-recipe-instructions li{position:relative}.wprm-recipe-equipment li .wprm-checkbox-container,.wprm-recipe-ingredients li .wprm-checkbox-container,.wprm-recipe-instructions li .wprm-checkbox-container{display:inline-block;position:absolute;left:-32px;top:0.25em;line-height:0.9em}.wprm-recipe-equipment li.wprm-checkbox-is-checked,.wprm-recipe-ingredients li.wprm-checkbox-is-checked,.wprm-recipe-instructions li.wprm-checkbox-is-checked{text-decoration:line-through}.rtl .wprm-recipe-equipment li .wprm-checkbox-container,.rtl .wprm-recipe-ingredients li .wprm-checkbox-container,.rtl .wprm-recipe-instructions li .wprm-checkbox-container{left:inherit;right:-32px}.wprm-list-checkbox-container:before{display:none !important}.wprm-list-checkbox-container.wprm-list-checkbox-checked{text-decoration:line-through}.wprm-list-checkbox-container .wprm-list-checkbox:hover{cursor:pointer}.wprm-recipe-equipment-images{margin:5px -5px;display:flex;flex-wrap:wrap}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-center{justify-content:center}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-right{justify-content:flex-end}.wprm-recipe-equipment-images.wprm-recipe-equipment-images-align-spaced{justify-content:space-evenly}.wprm-recipe-equipment-images a{border:0 !important;background:0 !important;box-shadow:none !important;float:none !important;margin:0 !important;padding:0 !important;opacity:1 !important}.wprm-recipe-equipment-images .wprm-recipe-equipment-item{margin:5px}.wprm-recipe-equipment-images .wprm-recipe-equipment-item img{margin:0}.wprm-recipe-equipment-images .wprm-recipe-equipment-item .wprm-recipe-equipment-name{text-align:center}.wprm-nutrition-label,html body .wprm-recipe-container .wprm-nutrition-label{display:inline-block;max-width:250px;border:1px solid #333;padding:5px;font-family:Arial, Helvetica, sans-serif;font-size:12px;line-height:16px;text-align:left !important;color:black}.wprm-nutrition-label .nutrition-title,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-title{font-weight:bold;font-size:24px;line-height:24px}.wprm-nutrition-label .nutrition-serving,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-serving{font-size:10px;line-height:14px;font-weight:bold}.wprm-nutrition-label .nutrition-item,.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{border-top:1px solid #333;clear:both}.wprm-nutrition-label .nutrition-sub-item,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:14px}.wprm-nutrition-label .nutrition-percentage,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:right}.wprm-nutrition-label .nutrition-line,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line{background-color:#333;height:5px;font-size:1px}.wprm-nutrition-label .nutrition-line.nutrition-line-big,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-line.nutrition-line-big{height:10px}.wprm-nutrition-label .nutrition-warning,html body .wprm-recipe-container .wprm-nutrition-label .nutrition-warning{border-top:1px solid #333;clear:both;padding-top:5px;font-size:10px;color:#999}.rtl .wprm-nutrition-label,html body.rtl .wprm-recipe-container .wprm-nutrition-label{text-align:right !important}.rtl .wprm-nutrition-label .nutrition-sub-item,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-sub-item{margin-left:0;margin-right:14px}.rtl .wprm-nutrition-label .nutrition-percentage,html body.rtl .wprm-recipe-container .wprm-nutrition-label .nutrition-percentage{float:left}input[type=number].wprm-recipe-servings{display:inline;width:60px;margin:0;padding:5px}.wprm-recipe-servings-text-buttons-container{display:inline-flex}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings{display:inline;width:40px;margin:0;padding:0;vertical-align:top;text-align:center;outline:none;border-radius:0 !important}.wprm-recipe-servings-text-buttons-container input[type=text].wprm-recipe-servings,.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{border:1px solid #333333;height:30px;user-select:none;font-size:16px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change{display:inline-block;width:20px;line-height:26px;background:#333333;color:white;text-align:center;cursor:pointer;border-radius:3px}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change:active{font-weight:bold}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-decrement{border-right:none;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.wprm-recipe-servings-text-buttons-container .wprm-recipe-servings-change.wprm-recipe-servings-increment{border-left:none;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.wprm-recipe-servings-container .tippy-box{padding:5px 10px}input[type=range].wprm-recipe-servings-slider{-webkit-appearance:none;width:100%;min-width:150px;margin:0;background:none;border:0}input[type=range].wprm-recipe-servings-slider:focus{outline:none}input[type=range].wprm-recipe-servings-slider::-webkit-slider-runnable-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-webkit-slider-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;-webkit-appearance:none;margin-top:-6.9px}input[type=range].wprm-recipe-servings-slider:focus::-webkit-slider-runnable-track{background:#bcbcbc}input[type=range].wprm-recipe-servings-slider::-moz-range-track{width:100%;height:9.2px;cursor:pointer;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d;background:#aaaaaa;border-radius:1.3px;border:0.5px solid #010101}input[type=range].wprm-recipe-servings-slider::-moz-range-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer}input[type=range].wprm-recipe-servings-slider::-ms-track{width:100%;height:9.2px;cursor:pointer;background:transparent;border-color:transparent;color:transparent}input[type=range].wprm-recipe-servings-slider::-ms-fill-lower{background:#989898;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-fill-upper{background:#aaaaaa;border:0.5px solid #010101;border-radius:2.6px;box-shadow:0.5px 0.5px 1px #000000, 0px 0px 0.5px #0d0d0d}input[type=range].wprm-recipe-servings-slider::-ms-thumb{box-shadow:1px 1px 1px #000000, 0px 0px 1px #0d0d0d;border:0.7px solid #000000;height:22px;width:10px;border-radius:3px;background:#ffffff;cursor:pointer;height:9.2px}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-lower{background:#aaaaaa}input[type=range].wprm-recipe-servings-slider:focus::-ms-fill-upper{background:#bcbcbc}.wprm-recipe-tag-term{display:inline-flex;align-items:center;margin:5px}.wprm-recipe-tag-term .wprm-recipe-tag-term-image{display:flex}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left{flex-direction:row}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-left .wprm-recipe-tag-term-image{margin-right:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right{flex-direction:row-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-right .wprm-recipe-tag-term-image{margin-left:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top{flex-direction:column}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-top .wprm-recipe-tag-term-image{margin-bottom:5px}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom{flex-direction:column-reverse}.wprm-recipe-tag-term.wprm-recipe-tag-image-align-bottom .wprm-recipe-tag-term-image{margin-top:5px}
|
8 |
|
9 |
.wprm-admin-loader{display:inline-block;width:10px;height:10px;border:2px solid rgba(200,200,200,0.3);border-radius:50%;border-top-color:#444;animation:spin 1s ease-in-out infinite;-webkit-animation:spin 1s ease-in-out infinite}@keyframes spin{to{-webkit-transform:rotate(360deg)}}@-webkit-keyframes spin{to{-webkit-transform:rotate(360deg)}}
|
10 |
|
dist/admin-manage.css
CHANGED
@@ -8,7 +8,7 @@
|
|
8 |
|
9 |
.ReactTable{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px solid rgba(0,0,0,0.1)}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{-webkit-box-flex:1;-ms-flex:auto 1;flex:auto 1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,0.03);border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters{border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-th,.ReactTable .rt-thead .rt-td{padding:5px 5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,0.05);transition:box-shadow 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);box-shadow:inset 0 0 0 0 transparent}.ReactTable .rt-thead .rt-th.-sort-asc,.ReactTable .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-sort-desc,.ReactTable .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-cursor-pointer,.ReactTable .rt-thead .rt-td.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-th:last-child,.ReactTable .rt-thead .rt-td:last-child{border-right:0}.ReactTable .rt-thead .rt-th:focus{outline-width:0}.ReactTable .rt-thead .rt-resizable-header{overflow:visible}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:rgba(255,255,255,0);border-left-color:#fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:rgba(102,102,102,0);border-left-color:#f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{-webkit-box-flex:99999;-ms-flex:99999 1 auto;flex:99999 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:auto}.ReactTable .rt-tbody .rt-tr-group{border-bottom:solid 1px rgba(0,0,0,0.05)}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.ReactTable .rt-tr{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ReactTable .rt-th,.ReactTable .rt-td{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity}.ReactTable .rt-th.-hidden,.ReactTable .rt-td.-hidden{width:0 !important;min-width:0 !important;padding:0 !important;border:0 !important;opacity:0 !important}.ReactTable .rt-expander{display:inline-block;position:relative;margin:0;color:transparent;margin:0 10px}.ReactTable .rt-expander:after{content:'';position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,0.8);transition:all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{-webkit-transform:translate(-50%, -50%) rotate(0);transform:translate(-50%, -50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,0.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,0.05)}.ReactTable .-pagination{z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,0.1);border-top:2px solid rgba(0,0,0,0.1)}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,0.6);background:rgba(0,0,0,0.1);transition:all .1s ease;cursor:pointer;outline-width:0}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,0.3);color:#fff}.ReactTable .-pagination .-previous,.ReactTable .-pagination .-next{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.ReactTable .-pagination .-center{-webkit-box-flex:1.5;-ms-flex:1.5;flex:1.5;text-align:center;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{display:block;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:1;pointer-events:none;padding:20px;color:rgba(0,0,0,0.5)}.ReactTable .-loading{display:block;position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:-1;opacity:0;pointer-events:none}.ReactTable .-loading>div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,0.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-th,.ReactTable .rt-resizing .rt-td{transition:none !important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
10 |
|
11 |
-
.wprm-admin-table-totals{font-style:italic}.ReactTable.wprm-admin-table{border-color:#23282d;border-radius:4px}.ReactTable.wprm-admin-table .rt-thead,.ReactTable.wprm-admin-table .pagination-bottom{background-color:#23282d;color:white;z-index:3}.ReactTable.wprm-admin-table .rt-thead.-header{box-shadow:none}.ReactTable.wprm-admin-table .rt-thead .rt-th{font-weight:500}.ReactTable.wprm-admin-table .rt-thead .rt-th.wprm-admin-table-help-text{font-weight:300;font-size:12px;text-align:left;display:flex;align-items:center}.ReactTable.wprm-admin-table .rt-thead .rt-th.-sort-asc,.ReactTable.wprm-admin-table .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 4px 0 0 #0073aa;background-color:#32373c}.ReactTable.wprm-admin-table .rt-thead .rt-th.-sort-desc,.ReactTable.wprm-admin-table .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -4px 0 0 #0073aa;background-color:#32373c}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container{font-size:0;display:flex;align-items:center;justify-content:center}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container input[type=checkbox]{-webkit-appearance:checkbox;appearance:checkbox;margin-top:2px}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container input[type=checkbox]:before{display:none}.ReactTable.wprm-admin-table .rt-td{display:flex;align-items:center;overflow-wrap:break-word;word-break:break-all;white-space:normal}.ReactTable.wprm-admin-table .pagination-bottom .-btn{color:white;background:rgba(255,255,255,0.1)}
|
12 |
|
13 |
.wprm-error-boundary{overflow:scroll;margin:10px;padding:0 10px;border:1px dashed darkred;border-radius:4px}.wprm-error-boundary strong{color:darkred}.wprm-error-boundary pre{white-space:pre-wrap}
|
14 |
|
@@ -16,7 +16,9 @@
|
|
16 |
|
17 |
#update-nag,.update-nag,.updated,.error,.is-dismissible{display:none}#wprm-admin-manage-content .wprm-admin-manage-header{display:flex;flex-wrap:wrap-reverse;justify-content:space-between;align-items:center;margin-bottom:15px}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons{display:flex;align-items:center;margin-bottom:10px}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons .button:not(.button-primary){margin-right:10px}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table{height:calc(100vh - 50px)}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table .wprm-admin-manage-actions{width:100%;display:flex;justify-content:space-evenly;align-items:center}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table .wprm-admin-manage-text-filter{width:100%}#wprm-admin-manage-content .wprm-admin-manage-requirement{margin:0 auto;text-align:center}#wprm-admin-manage-content .wprm-admin-manage-requirement div{font-weight:bold}@media screen and (min-width: 782px){#wprm-admin-manage-content .wprm-admin-manage-header{flex-wrap:nowrap}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons{margin-bottom:0}}@media screen and (min-height: 768px){#wprm-admin-manage{height:calc(100vh - 65px);display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content{flex:1}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page{height:100%;display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container{flex:1;display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table-inner{flex:1;position:relative}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table-inner .wprm-admin-manage-table{position:absolute;top:0;bottom:0;left:0;right:0;height:100%}}
|
18 |
|
19 |
-
.wprm-
|
|
|
|
|
20 |
|
21 |
.wprm-manage-ingredients-group-container{display:flex;align-items:center}.wprm-manage-ingredients-group-container span{margin-left:5px}.wprm-manage-ingredients-eafl-container{display:flex;align-items:center}.wprm-manage-ingredients-eafl-container .wprm-manage-ingredients-eafl-details{margin-left:5px;font-size:11px}.wprm-manage-ingredients-link-container{display:flex;align-items:center}.wprm-manage-ingredients-link-container a{margin-left:5px;font-size:11px}.wprm-manage-image-preview{display:flex}.wprm-manage-image-preview img{max-width:80px;height:auto;cursor:pointer;margin-right:2px}.wprm-manage-equipment-affiliate-html-container{display:flex;align-items:center}.wprm-manage-equipment-affiliate-html-container .wprm-manage-equipment-affiliate-html{margin-left:5px;font-size:12px;line-height:12px;overflow-wrap:break-word;word-break:break-all;white-space:normal}
|
22 |
|
8 |
|
9 |
.ReactTable{position:relative;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;border:1px solid rgba(0,0,0,0.1)}.ReactTable *{box-sizing:border-box}.ReactTable .rt-table{-webkit-box-flex:1;-ms-flex:auto 1;flex:auto 1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;width:100%;border-collapse:collapse;overflow:auto}.ReactTable .rt-thead{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.ReactTable .rt-thead.-headerGroups{background:rgba(0,0,0,0.03);border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters{border-bottom:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-thead.-filters input,.ReactTable .rt-thead.-filters select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .rt-thead.-filters .rt-th{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-thead.-header{box-shadow:0 2px 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-thead .rt-tr{text-align:center}.ReactTable .rt-thead .rt-th,.ReactTable .rt-thead .rt-td{padding:5px 5px;line-height:normal;position:relative;border-right:1px solid rgba(0,0,0,0.05);transition:box-shadow 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);box-shadow:inset 0 0 0 0 transparent}.ReactTable .rt-thead .rt-th.-sort-asc,.ReactTable .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-sort-desc,.ReactTable .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -3px 0 0 rgba(0,0,0,0.6)}.ReactTable .rt-thead .rt-th.-cursor-pointer,.ReactTable .rt-thead .rt-td.-cursor-pointer{cursor:pointer}.ReactTable .rt-thead .rt-th:last-child,.ReactTable .rt-thead .rt-td:last-child{border-right:0}.ReactTable .rt-thead .rt-th:focus{outline-width:0}.ReactTable .rt-thead .rt-resizable-header{overflow:visible}.ReactTable .rt-thead .rt-resizable-header:last-child{overflow:hidden}.ReactTable .rt-thead .rt-resizable-header-content{overflow:hidden;text-overflow:ellipsis}.ReactTable .rt-thead .rt-header-pivot{border-right-color:#f7f7f7}.ReactTable .rt-thead .rt-header-pivot:after,.ReactTable .rt-thead .rt-header-pivot:before{left:100%;top:50%;border:solid transparent;content:" ";height:0;width:0;position:absolute;pointer-events:none}.ReactTable .rt-thead .rt-header-pivot:after{border-color:rgba(255,255,255,0);border-left-color:#fff;border-width:8px;margin-top:-8px}.ReactTable .rt-thead .rt-header-pivot:before{border-color:rgba(102,102,102,0);border-left-color:#f7f7f7;border-width:10px;margin-top:-10px}.ReactTable .rt-tbody{-webkit-box-flex:99999;-ms-flex:99999 1 auto;flex:99999 1 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:auto}.ReactTable .rt-tbody .rt-tr-group{border-bottom:solid 1px rgba(0,0,0,0.05)}.ReactTable .rt-tbody .rt-tr-group:last-child{border-bottom:0}.ReactTable .rt-tbody .rt-td{border-right:1px solid rgba(0,0,0,0.02)}.ReactTable .rt-tbody .rt-td:last-child{border-right:0}.ReactTable .rt-tbody .rt-expandable{cursor:pointer;text-overflow:clip}.ReactTable .rt-tr-group{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch}.ReactTable .rt-tr{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.ReactTable .rt-th,.ReactTable .rt-td{-webkit-box-flex:1;-ms-flex:1 0 0px;flex:1 0 0;white-space:nowrap;text-overflow:ellipsis;padding:7px 5px;overflow:hidden;transition:.3s ease;transition-property:width,min-width,padding,opacity}.ReactTable .rt-th.-hidden,.ReactTable .rt-td.-hidden{width:0 !important;min-width:0 !important;padding:0 !important;border:0 !important;opacity:0 !important}.ReactTable .rt-expander{display:inline-block;position:relative;margin:0;color:transparent;margin:0 10px}.ReactTable .rt-expander:after{content:'';position:absolute;width:0;height:0;top:50%;left:50%;-webkit-transform:translate(-50%, -50%) rotate(-90deg);transform:translate(-50%, -50%) rotate(-90deg);border-left:5.04px solid transparent;border-right:5.04px solid transparent;border-top:7px solid rgba(0,0,0,0.8);transition:all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);cursor:pointer}.ReactTable .rt-expander.-open:after{-webkit-transform:translate(-50%, -50%) rotate(0);transform:translate(-50%, -50%) rotate(0)}.ReactTable .rt-resizer{display:inline-block;position:absolute;width:36px;top:0;bottom:0;right:-18px;cursor:col-resize;z-index:10}.ReactTable .rt-tfoot{-webkit-box-flex:1;-ms-flex:1 0 auto;flex:1 0 auto;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;box-shadow:0 0 15px 0 rgba(0,0,0,0.15)}.ReactTable .rt-tfoot .rt-td{border-right:1px solid rgba(0,0,0,0.05)}.ReactTable .rt-tfoot .rt-td:last-child{border-right:0}.ReactTable.-striped .rt-tr.-odd{background:rgba(0,0,0,0.03)}.ReactTable.-highlight .rt-tbody .rt-tr:not(.-padRow):hover{background:rgba(0,0,0,0.05)}.ReactTable .-pagination{z-index:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-ms-flex-wrap:wrap;flex-wrap:wrap;padding:3px;box-shadow:0 0 15px 0 rgba(0,0,0,0.1);border-top:2px solid rgba(0,0,0,0.1)}.ReactTable .-pagination input,.ReactTable .-pagination select{border:1px solid rgba(0,0,0,0.1);background:#fff;padding:5px 7px;font-size:inherit;border-radius:3px;font-weight:normal;outline-width:0}.ReactTable .-pagination .-btn{-webkit-appearance:none;-moz-appearance:none;appearance:none;display:block;width:100%;height:100%;border:0;border-radius:3px;padding:6px;font-size:1em;color:rgba(0,0,0,0.6);background:rgba(0,0,0,0.1);transition:all .1s ease;cursor:pointer;outline-width:0}.ReactTable .-pagination .-btn[disabled]{opacity:.5;cursor:default}.ReactTable .-pagination .-btn:not([disabled]):hover{background:rgba(0,0,0,0.3);color:#fff}.ReactTable .-pagination .-previous,.ReactTable .-pagination .-next{-webkit-box-flex:1;-ms-flex:1;flex:1;text-align:center}.ReactTable .-pagination .-center{-webkit-box-flex:1.5;-ms-flex:1.5;flex:1.5;text-align:center;margin-bottom:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-ms-flex-pack:distribute;justify-content:space-around}.ReactTable .-pagination .-pageInfo{display:inline-block;margin:3px 10px;white-space:nowrap}.ReactTable .-pagination .-pageJump{display:inline-block}.ReactTable .-pagination .-pageJump input{width:70px;text-align:center}.ReactTable .-pagination .-pageSizeOptions{margin:3px 10px}.ReactTable .rt-noData{display:block;position:absolute;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);transform:translate(-50%, -50%);background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:1;pointer-events:none;padding:20px;color:rgba(0,0,0,0.5)}.ReactTable .-loading{display:block;position:absolute;left:0;right:0;top:0;bottom:0;background:rgba(255,255,255,0.8);transition:all .3s ease;z-index:-1;opacity:0;pointer-events:none}.ReactTable .-loading>div{position:absolute;display:block;text-align:center;width:100%;top:50%;left:0;font-size:15px;color:rgba(0,0,0,0.6);-webkit-transform:translateY(-52%);transform:translateY(-52%);transition:all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.ReactTable .-loading.-active{opacity:1;z-index:2;pointer-events:all}.ReactTable .-loading.-active>div{-webkit-transform:translateY(50%);transform:translateY(50%)}.ReactTable .rt-resizing .rt-th,.ReactTable .rt-resizing .rt-td{transition:none !important;cursor:col-resize;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}
|
10 |
|
11 |
+
.wprm-admin-table-totals{font-style:italic}.wprm-admin-table-totals .wprm-admin-table-totals-filter{color:darkred}.ReactTable.wprm-admin-table{border-color:#23282d;border-radius:4px}.ReactTable.wprm-admin-table .rt-thead,.ReactTable.wprm-admin-table .pagination-bottom{background-color:#23282d;color:white;z-index:3}.ReactTable.wprm-admin-table .rt-thead.-header{box-shadow:none}.ReactTable.wprm-admin-table .rt-thead .rt-th{font-weight:500}.ReactTable.wprm-admin-table .rt-thead .rt-th.wprm-admin-table-help-text{font-weight:300;font-size:12px;text-align:left;display:flex;align-items:center}.ReactTable.wprm-admin-table .rt-thead .rt-th.-sort-asc,.ReactTable.wprm-admin-table .rt-thead .rt-td.-sort-asc{box-shadow:inset 0 4px 0 0 #0073aa;background-color:#32373c}.ReactTable.wprm-admin-table .rt-thead .rt-th.-sort-desc,.ReactTable.wprm-admin-table .rt-thead .rt-td.-sort-desc{box-shadow:inset 0 -4px 0 0 #0073aa;background-color:#32373c}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container{font-size:0;display:flex;align-items:center;justify-content:center}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container input[type=checkbox]{-webkit-appearance:checkbox;appearance:checkbox;margin-top:2px}.ReactTable.wprm-admin-table .wprm-admin-table-checkbox-container input[type=checkbox]:before{display:none}.ReactTable.wprm-admin-table .rt-td{display:flex;align-items:center;overflow-wrap:break-word;word-break:break-all;white-space:normal}.ReactTable.wprm-admin-table .pagination-bottom .-btn{color:white;background:rgba(255,255,255,0.1)}
|
12 |
|
13 |
.wprm-error-boundary{overflow:scroll;margin:10px;padding:0 10px;border:1px dashed darkred;border-radius:4px}.wprm-error-boundary strong{color:darkred}.wprm-error-boundary pre{white-space:pre-wrap}
|
14 |
|
16 |
|
17 |
#update-nag,.update-nag,.updated,.error,.is-dismissible{display:none}#wprm-admin-manage-content .wprm-admin-manage-header{display:flex;flex-wrap:wrap-reverse;justify-content:space-between;align-items:center;margin-bottom:15px}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons{display:flex;align-items:center;margin-bottom:10px}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons .button:not(.button-primary){margin-right:10px}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table{height:calc(100vh - 50px)}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table .wprm-admin-manage-actions{width:100%;display:flex;justify-content:space-evenly;align-items:center}#wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table .wprm-admin-manage-text-filter{width:100%}#wprm-admin-manage-content .wprm-admin-manage-requirement{margin:0 auto;text-align:center}#wprm-admin-manage-content .wprm-admin-manage-requirement div{font-weight:bold}@media screen and (min-width: 782px){#wprm-admin-manage-content .wprm-admin-manage-header{flex-wrap:nowrap}#wprm-admin-manage-content .wprm-admin-manage-header .wprm-admin-manage-header-buttons{margin-bottom:0}}@media screen and (min-height: 768px){#wprm-admin-manage{height:calc(100vh - 65px);display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content{flex:1}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page{height:100%;display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container{flex:1;display:flex;flex-direction:column}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table-inner{flex:1;position:relative}#wprm-admin-manage #wprm-admin-manage-content .wprm-admin-manage-page .wprm-admin-manage-table-container .wprm-admin-manage-table-inner .wprm-admin-manage-table{position:absolute;top:0;bottom:0;left:0;right:0;height:100%}}
|
18 |
|
19 |
+
.wprm-admin-table-container-copy{cursor:pointer}
|
20 |
+
|
21 |
+
.wprm-admin-manage-shortcode-container{display:flex;align-items:center}.wprm-manage-recipes-nutrition-container{width:100%}.wprm-manage-recipes-nutrition-container .wprm-manage-recipes-nutrition{display:flex;width:100%}.wprm-manage-recipes-nutrition-container .wprm-manage-recipes-nutrition .wprm-manage-recipes-nutrition-label{flex:auto;margin-right:5px}.wprm-manage-recipes-nutrition-container .wprm-manage-recipes-nutrition .wprm-manage-recipes-nutrition-value-unit{flex:0 0 75px}.wprm-manage-recipes-nutrition-container .wprm-manage-recipes-nutrition .wprm-manage-recipes-nutrition-value-unit .wprm-manage-recipes-nutrition-unit{margin-left:2px;font-size:10px}.wprm-admin-manage-image{display:block;max-width:75px;max-height:75px;margin:0 auto}.wprm-admin-manage-seo-indicator{width:100%;height:14px;border:1px solid #23282d;border-radius:4px;background-color:white;display:flex;cursor:pointer}.wprm-admin-manage-seo-indicator .wprm-admin-manage-seo-indicator-block{flex:0 0 25%;height:100%}.wprm-admin-manage-seo-indicator .wprm-admin-manage-seo-indicator-block:nth-child(1){border-top-left-radius:3px;border-bottom-left-radius:3px}.wprm-admin-manage-seo-indicator .wprm-admin-manage-seo-indicator-block:nth-child(4){border-top-right-radius:3px;border-bottom-right-radius:3px}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-other{display:block;font-size:10px;line-height:10px;text-align:center}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-bad{border-color:#921e12}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-bad .wprm-admin-manage-seo-indicator-block:nth-child(1){background-color:#e74c3c}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-warning{border-color:#7b410e}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-warning .wprm-admin-manage-seo-indicator-block:nth-child(1),.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-warning .wprm-admin-manage-seo-indicator-block:nth-child(2){background-color:#e67e22}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-rating{border-color:#796307}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-rating .wprm-admin-manage-seo-indicator-block:nth-child(1),.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-rating .wprm-admin-manage-seo-indicator-block:nth-child(2),.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-rating .wprm-admin-manage-seo-indicator-block:nth-child(3){background-color:#f1c40f}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-good{border-color:#104627}.wprm-admin-manage-seo-indicator.wprm-admin-manage-seo-indicator-good .wprm-admin-manage-seo-indicator-block{background-color:#27ae60}.wprm-admin-manage-recipes-ratings-container{width:100%;display:flex;align-items:center}.wprm-admin-manage-recipes-ratings-container .wprm-admin-manage-recipes-ratings-average{flex:0 0 40px;margin-right:10px;text-align:right;font-weight:bold}.wprm-admin-manage-recipes-ratings-container .wprm-admin-manage-recipes-ratings-details{font-size:10px;display:flex;flex-direction:column}.wprm-admin-manage-recipes-ratings-container .wprm-admin-manage-recipes-ratings-details .wprm-admin-manage-recipes-ratings-details-none{opacity:0.5}.wprm-admin-manage-recipes-ratings-container .wprm-admin-manage-recipes-ratings-details a{margin-left:2px;opacity:0.7;text-decoration:none}.wprm-admin-manage-recipes-ratings-container .wprm-admin-manage-recipes-ratings-details a:hover{opacity:1}
|
22 |
|
23 |
.wprm-manage-ingredients-group-container{display:flex;align-items:center}.wprm-manage-ingredients-group-container span{margin-left:5px}.wprm-manage-ingredients-eafl-container{display:flex;align-items:center}.wprm-manage-ingredients-eafl-container .wprm-manage-ingredients-eafl-details{margin-left:5px;font-size:11px}.wprm-manage-ingredients-link-container{display:flex;align-items:center}.wprm-manage-ingredients-link-container a{margin-left:5px;font-size:11px}.wprm-manage-image-preview{display:flex}.wprm-manage-image-preview img{max-width:80px;height:auto;cursor:pointer;margin-right:2px}.wprm-manage-equipment-affiliate-html-container{display:flex;align-items:center}.wprm-manage-equipment-affiliate-html-container .wprm-manage-equipment-affiliate-html{margin-left:5px;font-size:12px;line-height:12px;overflow-wrap:break-word;word-break:break-all;white-space:normal}
|
24 |
|
dist/admin-manage.js
CHANGED
@@ -1,14 +1,14 @@
|
|
1 |
-
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-manage"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[624],{5178:function(e,t,r){"use strict";r.r(t);var n=r(73961),o=r(89526),i=r(565),a=(r(26364),r(86632),r(61928),r(18183),r(54883),r(56908),r(80044),r(10853),r(54130),r(39275),r(33290),r(19985),r(45007),r(75668),r(68995),r(59934));r(73214),r(54994),r(86125);function c(e){return(c="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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f(e);if(t){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==c(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=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&&s(e,t)}(c,e);var t,r,n,a=p(c);function c(){return l(this,c),a.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=this,t=this.props.datatables,r={};return Object.keys(t).map((function(n){var o=t[n].parent,i="recipe"===n?"/":"/".concat(n);o&&!r.hasOwnProperty(o)&&(r[o]={name:o,active:!1,link:i}),i===e.props.location.pathname&&(r[o].active=!0)})),o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-manage-parent-menu"},Object.keys(r).map((function(e,t){var n=r[e];return o.createElement(i.OL,{to:n.link,className:"wprm-admin-manage-menu-item".concat(n.active?" wprm-admin-manage-menu-item-active":""),key:t,exact:!0},n.name)}))),o.createElement("div",{className:"wprm-admin-manage-child-menu"},Object.keys(t).map((function(e,n){var a=t[e],c=a.parent,l="recipe"===e?"/":"/".concat(e),u=!0;if(!a.hasOwnProperty("required")||wprm_admin.addons.hasOwnProperty(a.required)&&!0===wprm_admin.addons[a.required]||(u=!1),r.hasOwnProperty(c)&&r[c].active){var s=a.hasOwnProperty("title")?a.title:a.label.plural;return u||(s+="*"),o.createElement(i.OL,{to:l,className:"wprm-admin-manage-menu-item".concat(u?"":" wprm-admin-manage-menu-item-requirement"),activeClassName:"wprm-admin-manage-menu-item-active",key:n,exact:!0},s)}return null}))))}}])&&u(t.prototype,r),n&&u(t,n),c}(o.Component),g=(0,a.EN)(m),h=r(37673),v=r(62834),b=r(52082);function y(e){return(y="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 w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=D(e);if(t){var o=D(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==y(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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&S(e,t)}(a,e);var t,r,n,i=E(a);function a(){return w(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this;return wprm_admin_modal.notices&&wprm_admin_modal.notices.length?o.createElement("div",{className:"wprm-admin-manage-notices"},wprm_admin_modal.notices.map((function(t,r){return t.dismissed?null:o.createElement("div",{className:"wprm-admin-notice",key:r},o.createElement("div",{className:"wprm-admin-notice-content"},t.title?o.createElement("div",{className:"wprm-admin-notice-title"},t.title):null,o.createElement("div",{className:"wprm-admin-notice-text",dangerouslySetInnerHTML:{__html:t.text}})),o.createElement("div",{className:"wprm-admin-notice-dismiss"},o.createElement(v.Z,{title:(0,b.S)("Remove Notice"),type:"close",onClick:function(){h.Z.general.dismissNotice(t.id),t.dismissed=!0,e.forceUpdate()}})))}))):null}}])&&I(t.prototype,r),n&&I(t,n),a}(o.Component),M=(r(55862),r(19701),r(61078),r(4845),r(18821),r(80238),r(12938),r(19457),r(6208),r(64403)),P=r.n(M),N=r(79370),L=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};function C(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var j={get:function(e,t,r){if(!t)return e;var n=A(t),o=void 0;try{o=n.reduce((function(e,t){return e[t]}),e)}catch(i){}return void 0!==o?o:r},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=arguments[2],n=A(t),o=void 0,i=e;for(;(o=n.shift())&&n.length;)i[o]||(i[o]={}),i=i[o];return i[o]=r,e},takeRight:function(e,t){var r=t>e.length?0:e.length-t;return e.slice(r)},last:function(e){return e[e.length-1]},orderBy:function(e,t,r,n){return e.sort((function(e,o){for(var i=0;i<t.length;i+=1){var a=t[i],c=!1===r[i]||"desc"===r[i],l=a(e,o);if(l)return c?-l:l}return r[0]?e[n]-o[n]:o[n]-e[n]}))},range:function(e){for(var t=[],r=0;r<e;r+=1)t.push(e);return t},remove:function(e,t){return e.filter((function(r,n){return!!t(r)&&(e.splice(n,1),!0)}))},clone:function(e){try{return JSON.parse(JSON.stringify(e,(function(e,t){return"function"==typeof t?t.toString():t})))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if(void 0!==(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce((function(e,t){return e+t}),0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var r=function(t){var r=t.children,n=t.className,i=C(t,["children","className"]);return o.createElement("div",L({className:P()(e,n)},i),r)};return r.displayName=t,r},groupBy:function(e,t){return e.reduce((function(e,r,n){var o="function"==typeof t?t(r,n):r[t];return e[o]=k(e[o])?e[o]:[],e[o].push(r),e}),{})},isArray:k,splitProps:function(e){var t=e.className,r=e.style,n=C(e,["className","style"]);return{className:t,style:r,rest:n||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map((function(r){return Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&void 0!==e[r]&&(t[r]=e[r]),!0}));return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;if(N.isElement(e)||"string"==typeof e)return e;if(N.isValidElementType(e))return o.createElement(e,t);return r},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function k(e){return Array.isArray(e)}function A(e){return O(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}function O(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k(e))for(var r=0;r<e.length;r+=1)O(e[r],t);else t.push(e);return t}var R=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}}();var Z=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=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(l){o=!0,i=l}finally{try{!n&&c.return&&c.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},H=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},z=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}}();function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(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)}function G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var W=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}}(),q=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};var F=function(e){return o.createElement("button",q({type:"button"},e,{className:"-btn"}),e.children)},V=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getSafePage=r.getSafePage.bind(r),r.changePage=r.changePage.bind(r),r.applyPage=r.applyPage.bind(r),r.state={page:e.page},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),W(t,[{key:"componentDidUpdate",value:function(e,t){e.page!==this.props.page&&t.page!==this.state.page&&this.setState({page:this.props.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:""===this.state.page?"":this.state.page+1,onChange:function(t){var r=t.target.value,n=r-1;if(""===r)return e.setState({page:r});e.setState({page:e.getSafePage(n)})},inputType:""===this.state.page?"text":"number",pageJumpText:this.props.pageJumpText}}},{key:"render",value:function(){var e=this,t=this.props,r=t.pages,n=t.page,i=t.showPageSizeOptions,a=t.pageSizeOptions,c=t.pageSize,l=t.showPageJump,u=t.canPrevious,s=t.canNext,p=t.onPageSizeChange,d=t.className,f=t.PreviousComponent,m=t.NextComponent,g=t.renderPageJump,h=t.renderCurrentPage,v=t.renderTotalPagesCount,b=t.renderPageSizeOptions;return o.createElement("div",{className:P()(d,"-pagination"),style:this.props.style},o.createElement("div",{className:"-previous"},o.createElement(f,{onClick:function(){u&&e.changePage(n-1)},disabled:!u},this.props.previousText)),o.createElement("div",{className:"-center"},o.createElement("span",{className:"-pageInfo"},this.props.pageText," ",l?g(this.getPageJumpProperties()):h(n)," ",this.props.ofText," ",v(r)),i&&b({pageSize:c,rowsSelectorText:this.props.rowsSelectorText,pageSizeOptions:a,onPageSizeChange:p,rowsText:this.props.rowsText})),o.createElement("div",{className:"-next"},o.createElement(m,{onClick:function(){s&&e.changePage(n+1)},disabled:!s},this.props.nextText)))}}]),t}(o.Component);V.defaultProps={PreviousComponent:F,NextComponent:F,renderPageJump:function(e){var t=e.onChange,r=e.value,n=e.onBlur,i=e.onKeyPress,a=e.inputType,c=e.pageJumpText;return o.createElement("div",{className:"-pageJump"},o.createElement("input",{"aria-label":c,type:a,onChange:t,value:r,onBlur:n,onKeyPress:i}))},renderCurrentPage:function(e){return o.createElement("span",{className:"-currentPage"},e+1)},renderTotalPagesCount:function(e){return o.createElement("span",{className:"-totalPages"},e||1)},renderPageSizeOptions:function(e){var t=e.pageSize,r=e.pageSizeOptions,n=e.rowsSelectorText,i=e.onPageSizeChange,a=e.rowsText;return o.createElement("span",{className:"select-wrap -pageSizeOptions"},o.createElement("select",{"aria-label":n,onChange:function(e){return i(Number(e.target.value))},value:t},r.map((function(e,t){return o.createElement("option",{key:t,value:e},e+" "+a)}))))}};var J=V,Y=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};function Q(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var X=function(){return{}},K={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPage:0,defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,r){var n=e.pivotId||e.id;return void 0===t[n]||String(t[n]).startsWith(e.value)},defaultSortMethod:function(e,t,r){return t=null==t?"":t,(e="string"==typeof(e=null==e?"":e)?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:X,getTableProps:X,getTheadGroupProps:X,getTheadGroupTrProps:X,getTheadGroupThProps:X,getTheadProps:X,getTheadTrProps:X,getTheadThProps:X,getTheadFilterProps:X,getTheadFilterTrProps:X,getTheadFilterThProps:X,getTbodyProps:X,getTrGroupProps:X,getTrProps:X,getTdProps:X,getTfootProps:X,getTfootTrProps:X,getTfootTdProps:X,getPaginationProps:X,getLoadingProps:X,getNoDataProps:X,getResizerProps:X,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,Placeholder:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,minResizeWidth:11,className:"",style:{},getProps:X,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:X,footerClassName:"",footerStyle:{},getFooterProps:X,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",pageJumpText:"jump to page",rowsSelectorText:"rows per page",TableComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-table",r),role:"grid"},n),t)},TheadComponent:j.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:j.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-tr-group",r),role:"rowgroup"},n),t)},TrComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-tr",r),role:"row"},n),t)},ThComponent:function(e){var t=e.toggleSort,r=e.className,n=e.children,i=Q(e,["toggleSort","className","children"]);return o.createElement("div",Y({className:P()("rt-th",r),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},i),n)},TdComponent:function(e){e.toggleSort;var t=e.className,r=e.children,n=Q(e,["toggleSort","className","children"]);return o.createElement("div",Y({className:P()("rt-td",t),role:"gridcell"},n),r)},TfootComponent:j.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,r=e.onChange,n=e.column;return o.createElement("input",{type:"text",style:{width:"100%"},placeholder:n.Placeholder,value:t?t.value:"",onChange:function(e){return r(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return o.createElement("div",{className:P()("rt-expander",t&&"-open")},"•")},PivotValueComponent:function(e){var t=e.subRows,r=e.value;return o.createElement("span",null,r," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,r=e.column,n=t.filter((function(e){return void 0!==e[r.id]})).map((function(e,n){return o.createElement("span",{key:n},e[r.id],n<t.length-1?", ":"")}));return o.createElement("span",null,n)},PivotComponent:void 0,PaginationComponent:J,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,r=e.loading,n=e.loadingText,i=Q(e,["className","loading","loadingText"]);return o.createElement("div",Y({className:P()("-loading",{"-active":r},t)},i),o.createElement("div",{className:"-loading-inner"},n))},NoDataComponent:j.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:j.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return o.createElement("span",null," ")}},$=r(2652),ee=r.n($),te={data:ee().any,loading:ee().bool,showPagination:ee().bool,showPaginationTop:ee().bool,showPaginationBottom:ee().bool,showPageSizeOptions:ee().bool,pageSizeOptions:ee().array,defaultPageSize:ee().number,showPageJump:ee().bool,collapseOnSortingChange:ee().bool,collapseOnPageChange:ee().bool,collapseOnDataChange:ee().bool,freezeWhenExpanded:ee().bool,sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,defaultSortDesc:ee().bool,defaultSorted:ee().array,defaultFiltered:ee().array,defaultResized:ee().array,defaultExpanded:ee().object,defaultFilterMethod:ee().func,defaultSortMethod:ee().func,onPageChange:ee().func,onPageSizeChange:ee().func,onSortedChange:ee().func,onFilteredChange:ee().func,onResizedChange:ee().func,onExpandedChange:ee().func,pivotBy:ee().array,pivotValKey:ee().string,pivotIDKey:ee().string,subRowsKey:ee().string,aggregatedKey:ee().string,nestingLevelKey:ee().string,originalKey:ee().string,indexKey:ee().string,groupedByPivotKey:ee().string,onFetchData:ee().func,className:ee().string,style:ee().object,getProps:ee().func,getTableProps:ee().func,getTheadGroupProps:ee().func,getTheadGroupTrProps:ee().func,getTheadGroupThProps:ee().func,getTheadProps:ee().func,getTheadTrProps:ee().func,getTheadThProps:ee().func,getTheadFilterProps:ee().func,getTheadFilterTrProps:ee().func,getTheadFilterThProps:ee().func,getTbodyProps:ee().func,getTrGroupProps:ee().func,getTrProps:ee().func,getTdProps:ee().func,getTfootProps:ee().func,getTfootTrProps:ee().func,getTfootTdProps:ee().func,getPaginationProps:ee().func,getLoadingProps:ee().func,getNoDataProps:ee().func,getResizerProps:ee().func,columns:ee().arrayOf(ee().shape({Cell:ee().oneOfType([ee().element,ee().string,ee().elementType]),Header:ee().oneOfType([ee().element,ee().string,ee().elementType]),Footer:ee().oneOfType([ee().element,ee().string,ee().elementType]),Aggregated:ee().oneOfType([ee().element,ee().string,ee().elementType]),Pivot:ee().oneOfType([ee().element,ee().string,ee().elementType]),PivotValue:ee().oneOfType([ee().element,ee().string,ee().elementType]),Expander:ee().oneOfType([ee().element,ee().string,ee().elementType]),Filter:ee().oneOfType([ee().element,ee().elementType]),sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,show:ee().bool,minWidth:ee().number,minResizeWidth:ee().number,className:ee().string,style:ee().object,getProps:ee().func,aggregate:ee().func,headerClassName:ee().string,headerStyle:ee().object,getHeaderProps:ee().func,footerClassName:ee().string,footerStyle:ee().object,getFooterProps:ee().func,filterMethod:ee().func,filterAll:ee().bool,sortMethod:ee().func})),expanderDefaults:ee().shape({sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,width:ee().number}),pivotDefaults:ee().object,previousText:ee().node,nextText:ee().node,loadingText:ee().node,noDataText:ee().node,pageText:ee().node,ofText:ee().node,rowsText:ee().node,pageJumpText:ee().node,rowsSelectorText:ee().node,TableComponent:ee().elementType,TheadComponent:ee().elementType,TbodyComponent:ee().elementType,TrGroupComponent:ee().elementType,TrComponent:ee().elementType,ThComponent:ee().elementType,TdComponent:ee().elementType,TfootComponent:ee().elementType,FilterComponent:ee().elementType,ExpanderComponent:ee().elementType,PivotValueComponent:ee().elementType,AggregatedComponent:ee().elementType,PivotComponent:ee().elementType,PaginationComponent:ee().elementType,PreviousComponent:ee().elementType,NextComponent:ee().elementType,LoadingComponent:ee().elementType,NoDataComponent:ee().elementType,ResizerComponent:ee().elementType,PadRowComponent:ee().elementType},re=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=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(l){o=!0,i=l}finally{try{!n&&c.return&&c.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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},oe=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}}();var ie=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getResolvedState=r.getResolvedState.bind(r),r.getDataModel=r.getDataModel.bind(r),r.getSortedData=r.getSortedData.bind(r),r.fireFetchData=r.fireFetchData.bind(r),r.getPropOrState=r.getPropOrState.bind(r),r.getStateOrProp=r.getStateOrProp.bind(r),r.filterData=r.filterData.bind(r),r.sortData=r.sortData.bind(r),r.getMinRows=r.getMinRows.bind(r),r.onPageChange=r.onPageChange.bind(r),r.onPageSizeChange=r.onPageSizeChange.bind(r),r.sortColumn=r.sortColumn.bind(r),r.filterColumn=r.filterColumn.bind(r),r.resizeColumnStart=r.resizeColumnStart.bind(r),r.resizeColumnEnd=r.resizeColumnEnd.bind(r),r.resizeColumnMoving=r.resizeColumnMoving.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),oe(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),r=t.children,n=t.className,i=t.style,a=t.getProps,c=t.getTableProps,l=t.getTheadGroupProps,u=t.getTheadGroupTrProps,s=t.getTheadGroupThProps,p=t.getTheadProps,d=t.getTheadTrProps,f=t.getTheadThProps,m=t.getTheadFilterProps,g=t.getTheadFilterTrProps,h=t.getTheadFilterThProps,v=t.getTbodyProps,b=t.getTrGroupProps,y=t.getTrProps,w=t.getTdProps,I=t.getTfootProps,S=t.getTfootTrProps,E=t.getTfootTdProps,x=t.getPaginationProps,D=t.getLoadingProps,T=t.getNoDataProps,M=t.getResizerProps,N=t.showPagination,L=t.showPaginationTop,C=t.showPaginationBottom,k=t.manual,A=t.loadingText,O=t.noDataText,R=t.sortable,Z=t.multiSort,H=t.resizable,z=t.filterable,_=t.pivotIDKey,B=t.pivotValKey,G=t.pivotBy,U=t.subRowsKey,W=t.aggregatedKey,q=t.originalKey,F=t.indexKey,V=t.groupedByPivotKey,J=t.loading,Y=t.pageSize,Q=t.page,X=t.sorted,$=t.filtered,ee=t.resized,te=t.expanded,oe=t.pages,ie=t.onExpandedChange,ae=t.TableComponent,ce=t.TheadComponent,le=t.TbodyComponent,ue=t.TrGroupComponent,se=t.TrComponent,pe=t.ThComponent,de=t.TdComponent,fe=t.TfootComponent,me=t.PaginationComponent,ge=t.LoadingComponent,he=t.SubComponent,ve=t.NoDataComponent,be=t.ResizerComponent,ye=t.ExpanderComponent,we=t.PivotValueComponent,Ie=t.PivotComponent,Se=t.AggregatedComponent,Ee=t.FilterComponent,xe=t.PadRowComponent,De=t.resolvedData,Te=t.allVisibleColumns,Me=t.headerGroups,Pe=t.hasHeaderGroups,Ne=t.sortedData,Le=t.currentlyResizing,Ce=Y*Q,je=Ce+Y,ke=k?De:Ne.slice(Ce,je),Ae=this.getMinRows(),Oe=j.range(Math.max(Ae-ke.length,0)),Re=Te.some((function(e){return e.Footer})),Ze=z||Te.some((function(e){return e.filterable})),He=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map((function(t,o){var i=ne({},t,{_viewIndex:n+=1}),a=r.concat([o]);if(i[U]&&j.get(te,a)){var c=e(i[U],a,n),l=re(c,2);i[U]=l[0],n=l[1]}return i})),n]}(ke),ze=re(He,1);ke=ze[0];var _e=Q>0,Be=Q+1<oe,Ge=j.sum(Te.map((function(e){var t=ee.find((function(t){return t.id===e.id}))||{};return j.getFirstDefined(t.value,e.width,e.minWidth)}))),Ue=-1,We=ne({},t,{startRow:Ce,endRow:je,pageRows:ke,minRows:Ae,padRows:Oe,hasColumnFooter:Re,canPrevious:_e,canNext:Be,rowMinWidth:Ge}),qe=j.splitProps(a(We,void 0,void 0,this)),Fe=j.splitProps(c(We,void 0,void 0,this)),Ve=j.splitProps(v(We,void 0,void 0,this)),Je=D(We,void 0,void 0,this),Ye=T(We,void 0,void 0,this),Qe=function(t,r){var n=function(e){return(ee.find((function(t){return t.id===e.id}))||{}).value},i=j.sum(t.columns.map((function(e){return e.width||n(e)?0:e.minWidth}))),a=j.sum(t.columns.map((function(e){return j.getFirstDefined(n(e),e.width,e.minWidth)}))),c=j.sum(t.columns.map((function(e){return j.getFirstDefined(n(e),e.width,e.maxWidth)}))),l=j.splitProps(s(We,void 0,t,e)),u=j.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,l.className,u.className],d=ne({},t.headerStyle,l.style,u.style),f=ne({},l.rest,u.rest),m={flex:i+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(c)};return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(p),style:ne({},d,m)},f),j.normalizeComponent(t.Header,{data:Ne,column:t}))},Xe=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i=X.find((function(e){return e.id===t.id})),a="function"==typeof t.show?t.show():t.show,c=j.getFirstDefined(n.value,t.width,t.minWidth),l=j.getFirstDefined(n.value,t.width,t.maxWidth),u=j.splitProps(f(We,void 0,t,e)),s=j.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,u.className,s.className],d=ne({},t.headerStyle,u.style,s.style),m=ne({},u.rest,s.rest),g=j.getFirstDefined(t.resizable,H,!1),h=g?o.createElement(be,ne({onMouseDown:function(r){return e.resizeColumnStart(r,t,!1)},onTouchStart:function(r){return e.resizeColumnStart(r,t,!0)}},M("finalState",void 0,t,e))):null,v=j.getFirstDefined(t.sortable,R,!1);return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(p,g&&"rt-resizable-header",i?i.desc?"-sort-desc":"-sort-asc":"",v&&"-cursor-pointer",!a&&"-hidden",G&&G.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:ne({},d,{flex:c+" 0 auto",width:j.asPx(c),maxWidth:j.asPx(l)}),toggleSort:function(r){v&&e.sortColumn(t,!!Z&&r.shiftKey)}},m),o.createElement("div",{className:P()(g&&"rt-resizable-header-content")},j.normalizeComponent(t.Header,{data:Ne,column:t})),h)},Ke=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i=j.getFirstDefined(n.value,t.width,t.minWidth),a=j.getFirstDefined(n.value,t.width,t.maxWidth),c=j.splitProps(h(We,void 0,t,e)),l=j.splitProps(t.getHeaderProps(We,void 0,t,e)),u=[t.headerClassName,c.className,l.className],s=ne({},t.headerStyle,c.style,l.style),p=ne({},c.rest,l.rest),d=$.find((function(e){return e.id===t.id})),f=t.Filter||Ee,m=j.getFirstDefined(t.filterable,z,!1);return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(u),style:ne({},s,{flex:i+" 0 auto",width:j.asPx(i),maxWidth:j.asPx(a)})},p),m?j.normalizeComponent(f,{column:t,filter:d,onChange:function(r){return e.filterColumn(t,r)}},K.column.Filter):null)},$e=function t(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a={original:r[q],row:r,index:r[F],viewIndex:Ue+=1,pageSize:Y,page:Q,level:i.length,nestingPath:i.concat([n]),aggregated:r[W],groupedByPivot:r[V],subRows:r[U]},c=j.get(te,a.nestingPath),l=b(We,a,void 0,e),u=j.splitProps(y(We,a,void 0,e));return o.createElement(ue,ne({key:a.nestingPath.join("_")},l),o.createElement(se,ne({className:P()(u.className,r._viewIndex%2?"-even":"-odd"),style:u.style},u.rest),Te.map((function(t,n){var i=ee.find((function(e){return e.id===t.id}))||{},l="function"==typeof t.show?t.show():t.show,u=j.getFirstDefined(i.value,t.width,t.minWidth),s=j.getFirstDefined(i.value,t.width,t.maxWidth),p=j.splitProps(w(We,a,t,e)),d=j.splitProps(t.getProps(We,a,t,e)),f=[p.className,t.className,d.className],m=ne({},p.style,t.style,d.style),g=ne({},a,{isExpanded:c,column:ne({},t),value:a.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:ee,show:l,width:u,maxWidth:s,tdProps:p,columnProps:d,classes:f,styles:m}),h=g.value,v=void 0,b=void 0,y=void 0,I=j.normalizeComponent(t.Cell,g,h),S=t.Aggregated||(t.aggregate?t.Cell:Se),E=t.Expander||ye,x=t.PivotValue||we,D=Ie||function(e){return o.createElement("div",null,o.createElement(E,e),o.createElement(x,e))},T=t.Pivot||D;(g.pivoted||g.expander)&&(g.expandable=!0,v=!0,!g.pivoted||g.subRows||he||(g.expandable=!1)),g.pivoted?(b=a.row[_]===t.id&&g.subRows,y=G.indexOf(t.id)>G.indexOf(a.row[_])&&g.subRows,I=b?j.normalizeComponent(T,ne({},g,{value:r[B]}),r[B]):y?j.normalizeComponent(S,g,h):null):g.aggregated&&(I=j.normalizeComponent(S,g,h)),g.expander&&(I=j.normalizeComponent(E,g,r[B]),G&&(g.groupedByPivot&&(I=null),g.subRows||he||(I=null)));var M=v?function(t){var r=j.clone(te);return r=c?j.set(r,g.nestingPath,!1):j.set(r,g.nestingPath,{}),e.setStateWithData({expanded:r},(function(){return ie&&ie(r,g.nestingPath,t,g)}))}:function(){},N={onClick:M};return p.rest.onClick&&(N.onClick=function(e){p.rest.onClick(e,(function(){return M(e)}))}),d.rest.onClick&&(N.onClick=function(e){d.rest.onClick(e,(function(){return M(e)}))}),o.createElement(de,ne({key:n+"-"+t.id,className:P()(f,!g.expandable&&!l&&"hidden",g.expandable&&"rt-expandable",(b||y)&&"rt-pivot"),style:ne({},m,{flex:u+" 0 auto",width:j.asPx(u),maxWidth:j.asPx(s)})},p.rest,d.rest,N),I)}))),a.subRows&&c&&a.subRows.map((function(e,r){return t(e,r,a.nestingPath)})),he&&!a.subRows&&c&&he(a,(function(){var e=j.clone(te);j.set(e,a.nestingPath,!1)})))},et=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i="function"==typeof t.show?t.show():t.show,a=j.getFirstDefined(n.value,t.width,t.minWidth),c=a,l=j.getFirstDefined(n.value,t.width,t.maxWidth),u=j.splitProps(w(We,void 0,t,e)),s=j.splitProps(t.getProps(We,void 0,t,e)),p=[u.className,t.className,s.className],d=ne({},u.style,t.style,s.style);return o.createElement(de,ne({key:r+"-"+t.id,className:P()(p,!i&&"hidden"),style:ne({},d,{flex:c+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(l)})},u.rest),j.normalizeComponent(xe))},tt=function(t,r){var n=b(We,void 0,void 0,e),i=j.splitProps(y(We,void 0,void 0,e));return o.createElement(ue,ne({key:"pad-"+r},n),o.createElement(se,{className:P()("-padRow",(ke.length+r)%2?"-even":"-odd",i.className),style:i.style||{}},Te.map(et)))},rt=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i="function"==typeof t.show?t.show():t.show,a=j.getFirstDefined(n.value,t.width,t.minWidth),c=j.getFirstDefined(n.value,t.width,t.maxWidth),l=j.splitProps(E(We,void 0,t,e)),u=j.splitProps(t.getProps(We,void 0,t,e)),s=j.splitProps(t.getFooterProps(We,void 0,t,e)),p=[l.className,t.className,u.className,s.className],d=ne({},l.style,t.style,u.style,s.style);return o.createElement(de,ne({key:r+"-"+t.id,className:P()(p,!i&&"hidden"),style:ne({},d,{flex:a+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(c)})},u.rest,l.rest,s.rest),j.normalizeComponent(t.Footer,{data:Ne,column:t}))},nt=function(r){var n=j.splitProps(x(We,void 0,void 0,e));return o.createElement(me,ne({},t,{pages:oe,canPrevious:_e,canNext:Be,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:n.className,style:n.style,isTop:r},n.rest))},ot=function(){return o.createElement("div",ne({className:P()("ReactTable",n,qe.className),style:ne({},i,qe.style)},qe.rest),N&&L?o.createElement("div",{className:"pagination-top"},nt(!0)):null,o.createElement(ae,ne({className:P()(Fe.className,Le?"rt-resizing":""),style:Fe.style},Fe.rest),Pe?(h=j.splitProps(l(We,void 0,void 0,e)),v=j.splitProps(u(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-headerGroups",h.className),style:ne({},h.style,{minWidth:Ge+"px"})},h.rest),o.createElement(se,ne({className:v.className,style:v.style},v.rest),Me.map(Qe)))):null,(s=j.splitProps(p(We,void 0,void 0,e)),f=j.splitProps(d(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-header",s.className),style:ne({},s.style,{minWidth:Ge+"px"})},s.rest),o.createElement(se,ne({className:f.className,style:f.style},f.rest),Te.map(Xe)))),Ze?(a=j.splitProps(m(We,void 0,void 0,e)),c=j.splitProps(g(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-filters",a.className),style:ne({},a.style,{minWidth:Ge+"px"})},a.rest),o.createElement(se,ne({className:c.className,style:c.style},c.rest),Te.map(Ke)))):null,o.createElement(le,ne({className:P()(Ve.className),style:ne({},Ve.style,{minWidth:Ge+"px"})},Ve.rest),ke.map((function(e,t){return $e(e,t)})),Oe.map(tt)),Re?(t=j.splitProps(I(We,void 0,void 0,e)),r=j.splitProps(S(We,void 0,void 0,e)),o.createElement(fe,ne({className:t.className,style:ne({},t.style,{minWidth:Ge+"px"})},t.rest),o.createElement(se,ne({className:P()(r.className),style:r.style},r.rest),Te.map(rt)))):null),N&&C?o.createElement("div",{className:"pagination-bottom"},nt(!1)):null,!ke.length&&o.createElement(ve,Ye,j.normalizeComponent(O)),o.createElement(ge,ne({loading:J,loadingText:A},Je)));var t,r,a,c,s,f,h,v};return r?r(We,ot,this):ot()}}]),t}(function(e){return function(e){function t(){return G(this,t),U(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),z(t,[{key:"getResolvedState",value:function(e,t){return H({},j.compactObject(this.state),j.compactObject(this.props),j.compactObject(t),j.compactObject(e))}},{key:"getDataModel",value:function(e,t){var r=this,n=e.columns,i=e.pivotBy,a=void 0===i?[]:i,c=e.data,l=e.resolveData,u=e.pivotIDKey,s=e.pivotValKey,p=e.subRowsKey,d=e.aggregatedKey,f=e.nestingLevelKey,m=e.originalKey,g=e.indexKey,h=e.groupedByPivotKey,v=e.SubComponent,b=!1;n.forEach((function(e){e.columns&&(b=!0)}));var y=[].concat(B(n)),w=n.find((function(e){return e.expander||e.columns&&e.columns.some((function(e){return e.expander}))}));w&&!w.expander&&(w=w.columns.find((function(e){return e.expander}))),v&&!w&&(y=[w={expander:!0}].concat(B(y)));var I=[],S=function(e,t){var n=function(e,t){var n=void 0;if((n=e.expander?H({},r.props.column,r.props.expanderDefaults,e):H({},r.props.column,e)).maxWidth<n.minWidth&&(n.minWidth=n.maxWidth),t&&(n.parentColumn=t),"string"==typeof n.accessor){n.id=n.id||n.accessor;var o=n.accessor;return n.accessor=function(e){return j.get(e,o)},n}if(n.accessor&&!n.id)throw console.warn(n),new Error("A column id is required if using a non-string accessor for column above.");return n.accessor||(n.accessor=function(){}),n}(e,t);return I.push(n),n},E=y.map((function(e){return e.columns?H({},e,{columns:e.columns.map((function(t){return S(t,e)}))}):S(e)})).slice(),x=[],D=(E=(E=E.map((function(e){if(e.columns){var t=e.columns.filter((function(e){return!(a.indexOf(e.id)>-1)&&j.getFirstDefined(e.show,!0)}));return H({},e,{columns:t})}return e}))).filter((function(e){return e.columns?e.columns.length:!(a.indexOf(e.id)>-1)&&j.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));if(a.length){var T=[];a.forEach((function(e){var t=I.find((function(t){return t.id===e}));t&&T.push(t)}));var M=T.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),T[0].parentColumn),P=b&&M.Header,N={Header:P=P||function(){return o.createElement("strong",null,"Pivoted")},columns:T.map((function(e){return H({},r.props.pivotDefaults,e,{pivoted:!0})}))};D>=0?(N=H({},E[D],N),E.splice(D,1,N)):E.unshift(N)}var L=[],C=[],k=function(e,t){L.push(H({},r.props.column,t,{columns:e})),C=[]};E.forEach((function(e){if(e.columns)return x=x.concat(e.columns),C.length>0&&k(C),void k(e.columns,e);x.push(e),C.push(e)})),b&&C.length>0&&k(C);var A=function e(t,r){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=(_(n={},m,t),_(n,g,r),_(n,p,t[p]),_(n,f,o),n);return I.forEach((function(e){e.expander||(i[e.id]=e.accessor(t))})),i[p]&&(i[p]=i[p].map((function(t,r){return e(t,r,o+1)}))),i},O=this.resolvedData;this.resolvedData&&!t||(O=l(c),this.resolvedData=O),O=O.map((function(e,t){return A(e,t)}));var R=x.filter((function(e){return!e.expander&&e.aggregate})),z=function(e){var t={};return R.forEach((function(r){var n=e.map((function(e){return e[r.id]}));t[r.id]=r.aggregate(n,e)})),t};if(a.length){O=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n===r.length)return t;var o=Object.entries(j.groupBy(t,r[n])).map((function(e){var t,o=Z(e,2),i=o[0],a=o[1];return _(t={},u,r[n]),_(t,s,i),_(t,r[n],i),_(t,p,a),_(t,f,n),_(t,h,!0),t}));return o=o.map((function(t){var o,i=e(t[p],r,n+1);return H({},t,(_(o={},p,i),_(o,d,!0),o),z(i))}))}(O,a)}return H({},e,{resolvedData:O,allVisibleColumns:x,headerGroups:L,allDecoratedColumns:I,hasHeaderGroups:b})}},{key:"getSortedData",value:function(e){var t=e.manual,r=e.sorted,n=e.filtered,o=e.defaultFilterMethod,i=e.resolvedData,a=e.allDecoratedColumns,c={};return a.filter((function(e){return e.sortMethod})).forEach((function(e){c[e.id]=e.sortMethod})),{sortedData:t?i:this.sortData(this.filterData(i,n,o,a),r,c)}}},{key:"fireFetchData",value:function(){var e=H({},this.getResolvedState(),{page:this.getStateOrProp("page"),pageSize:this.getStateOrProp("pageSize"),filtered:this.getStateOrProp("filtered")});this.props.onFetchData(e,this)}},{key:"getPropOrState",value:function(e){return j.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return j.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,r,n){var o=this,i=e;return t.length&&(i=(i=t.reduce((function(e,t){var o=n.find((function(e){return e.id===t.id}));if(!o||!1===o.filterable)return e;var i=o.filterMethod||r;return o.filterAll?i(t,e,o):e.filter((function(e){return i(t,e,o)}))}),i)).map((function(e){return e[o.props.subRowsKey]?H({},e,_({},o.props.subRowsKey,o.filterData(e[o.props.subRowsKey],t,r,n))):e})).filter((function(e){return!e[o.props.subRowsKey]||e[o.props.subRowsKey].length>0}))),i}},{key:"sortData",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var o=(this.props.orderByMethod||j.orderBy)(e,t.map((function(e){return n[e.id]?function(t,r){return n[e.id](t[e.id],r[e.id],e.desc)}:function(t,n){return r.props.defaultSortMethod(t[e.id],n[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return o.forEach((function(e){e[r.props.subRowsKey]&&(e[r.props.subRowsKey]=r.sortData(e[r.props.subRowsKey],t,n))})),o}},{key:"getMinRows",value:function(){return j.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,r=t.onPageChange,n=t.collapseOnPageChange,o={page:e};n&&(o.expanded={}),this.setStateWithData(o,(function(){return r&&r(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,r=this.getResolvedState(),n=r.pageSize*r.page,o=Math.floor(n/e);this.setStateWithData({pageSize:e,page:o},(function(){return t&&t(e,o)}))}},{key:"sortColumn",value:function(e,t){var r=this.getResolvedState(),n=r.sorted,o=r.skipNextSort,i=r.defaultSortDesc,a=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:i,c=!a;if(o)this.setStateWithData({skipNextSort:!1});else{var l=this.props.onSortedChange,u=j.clone(n||[]).map((function(e){return e.desc=j.isSortingDesc(e),e}));if(j.isArray(e)){var s=u.findIndex((function(t){return t.id===e[0].id}));if(s>-1)u[s].desc===c?t?u.splice(s,e.length):e.forEach((function(e,t){u[s+t].desc=a})):e.forEach((function(e,t){u[s+t].desc=c})),t||(u=u.slice(s,e.length));else u=t?u.concat(e.map((function(e){return{id:e.id,desc:a}}))):e.map((function(e){return{id:e.id,desc:a}}))}else{var p=u.findIndex((function(t){return t.id===e.id}));if(p>-1){var d=u[p];d.desc===c?t?u.splice(p,1):(d.desc=a,u=[d]):(d.desc=c,t||(u=[d]))}else t?u.push({id:e.id,desc:a}):u=[{id:e.id,desc:a}]}this.setStateWithData({page:!n.length&&u.length||!t?0:this.state.page,sorted:u},(function(){return l&&l(u,e,t)}))}}},{key:"filterColumn",value:function(e,t){var r=this.getResolvedState().filtered,n=this.props.onFilteredChange,o=(r||[]).filter((function(t){return t.id!==e.id}));""!==t&&o.push({id:e.id,value:t}),this.setStateWithData({filtered:o},(function(){return n&&n(o,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,r){var n=this;e.stopPropagation();var o=e.target.parentElement.getBoundingClientRect().width,i=void 0;i=r?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:i,parentWidth:o}},(function(){r?(document.addEventListener("touchmove",n.resizeColumnMoving),document.addEventListener("touchcancel",n.resizeColumnEnd),document.addEventListener("touchend",n.resizeColumnEnd)):(document.addEventListener("mousemove",n.resizeColumnMoving),document.addEventListener("mouseup",n.resizeColumnEnd),document.addEventListener("mouseleave",n.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props,r=t.onResizedChange,n=t.column,o=this.getResolvedState(),i=o.resized,a=o.currentlyResizing,c=o.columns.find((function(e){return e.accessor===a.id||e.id===a.id})),l=c&&null!=c.minResizeWidth?c.minResizeWidth:n.minResizeWidth,u=i.filter((function(e){return e.id!==a.id})),s=void 0;"touchmove"===e.type?s=e.changedTouches[0].pageX:"mousemove"===e.type&&(s=e.pageX);var p=Math.max(a.parentWidth+s-a.startX,l);u.push({id:a.id,value:p}),this.setStateWithData({resized:u},(function(){return r&&r(u,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}(function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n={page:e.defaultPage,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},o=r.getResolvedState(e,n),i=r.getDataModel(o,!0);return r.state=r.calculateNewResolvedState(i),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),R(t,[{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentDidUpdate",value:function(e,t){var r=this.getResolvedState(e,t),n=this.getResolvedState(this.props,this.state);["sorted","filtered","resized","expanded"].forEach((function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(r[t])!==JSON.stringify(n[t])&&(n[e]=n[t])})),["sortable","filterable","resizable"].forEach((function(e){if(r[e]!==n[e]){var t=e.replace("able","")+"ed",o="default"+(t.charAt(0).toUpperCase()+t.slice(1));n[t]=n[o]}})),r.data===n.data&&r.columns===n.columns&&r.pivotBy===n.pivotBy&&r.sorted===n.sorted&&r.filtered===n.filtered||this.setStateWithData(this.getDataModel(n,r.data!==n.data))}},{key:"calculateNewResolvedState",value:function(e){var t=this.getResolvedState(),r=this.getResolvedState({},e),n=r.freezeWhenExpanded;if(r.frozen=!1,n)for(var o=Object.keys(r.expanded),i=0;i<o.length;i+=1)if(r.expanded[o[i]]){r.frozen=!0;break}return(t.frozen&&!r.frozen||t.sorted!==r.sorted||t.filtered!==r.filtered||t.showFilters!==r.showFilters||!r.frozen&&t.resolvedData!==r.resolvedData)&&((t.sorted!==r.sorted&&this.props.collapseOnSortingChange||t.filtered!==r.filtered||t.showFilters!==r.showFilters||t.sortedData&&!r.frozen&&t.resolvedData!==r.resolvedData&&this.props.collapseOnDataChange)&&(r.expanded={}),Object.assign(r,this.getSortedData(r))),t.filtered!==r.filtered&&(r.page=0),r.sortedData&&(r.pages=r.manual?r.pages:Math.ceil(r.sortedData.length/r.pageSize),r.page=r.manual?r.page:Math.max(r.page>=r.pages?r.pages-1:r.page,0)),r}},{key:"setStateWithData",value:function(e,t){var r=this,n=this.getResolvedState(),o=this.calculateNewResolvedState(e);return this.setState(o,(function(){t&&t(),n.page===o.page&&n.pageSize===o.pageSize&&n.sorted===o.sorted&&n.filtered===o.filtered||r.fireFetchData()}))}}]),t}(o.Component)));ie.propTypes=te,ie.defaultProps=K;var ae=ie,ce=r(48618),le=(r(85005),function(e){return o.createElement("div",{className:"wprm-admin-manage-select-columns-container"},o.createElement("div",{className:"wprm-admin-manage-select-columns"},e.columns.map((function(t,r){if("actions"===t.id)return null;var n=e.selectedColumns.includes(t.id),i=e.filteredColumns.includes(t.id),a=["wprm-admin-manage-select-columns-column"];return n&&a.push("wprm-admin-manage-select-columns-column-selected"),i&&a.push("wprm-admin-manage-select-columns-column-filtered"),o.createElement("span",{className:a.join(" "),onClick:function(r){r.preventDefault(),i||e.onColumnsChange(t.id,!n)},key:r},t.Header)}))))}),ue=(r(80174),function(e){if(!e.filtered&&!e.total)return o.createElement("div",{className:"wprm-admin-table-totals"}," ");var t=!1!==e.filtered&&e.filtered!=e.total;return o.createElement("div",{className:"wprm-admin-table-totals"},e.total?o.createElement(o.Fragment,null,t?"".concat((0,b.S)("Showing")," ").concat(Number(e.filtered).toLocaleString()," ").concat((0,b.S)("filtered of")," ").concat(Number(e.total).toLocaleString()," ").concat((0,b.S)("total")):"".concat((0,b.S)("Showing")," ").concat(Number(e.total).toLocaleString()," ").concat((0,b.S)("total"))):"".concat(Number(e.filtered).toLocaleString()," ").concat((0,b.S)("rows")))});function se(e){return(se="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 pe(e){return function(e){if(Array.isArray(e))return fe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||de(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 de(e,t){if(e){if("string"==typeof e)return fe(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)?fe(e,t):void 0}}function fe(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 me(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 ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){he(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ve(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 be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Se(e);if(t){var o=Se(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return we(this,r)}}function we(e,t){return!t||"object"!==se(t)&&"function"!=typeof t?Ie(e):t}function Ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ee={data:[],pages:null,filtered:[],countFiltered:!1,countTotal:!1,loading:!0,columns:[],selectedColumns:!1,selectedRows:{},selectedAllRows:0},xe=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&&be(e,t)}(a,e);var t,r,n,i=ye(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)).state=ge({},Ee),t.initDataTable=t.initDataTable.bind(Ie(t)),t.refreshData=t.refreshData.bind(Ie(t)),t.fetchData=t.fetchData.bind(Ie(t)),t.toggleSelectRow=t.toggleSelectRow.bind(Ie(t)),t.toggleSelectAll=t.toggleSelectAll.bind(Ie(t)),t.getSelectedRows=t.getSelectedRows.bind(Ie(t)),t.onColumnsChange=t.onColumnsChange.bind(Ie(t)),t.requirementMet=t.requirementMet.bind(Ie(t)),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.initDataTable()}},{key:"componentDidUpdate",value:function(e){this.props.type!==e.type&&this.initDataTable(!0)}},{key:"initDataTable",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.requirementMet()){var r=this.props.options.selectedColumns;if(!1!==r){var n=localStorage.getItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"));n&&(n=JSON.parse(n),Array.isArray(n)&&(r=n))}this.setState(ge(ge({},Ee),{},{columns:this.props.options.columns.getColumns(this),selectedColumns:r}),(function(){t&&e.refreshData()}))}}},{key:"toggleSelectRow",value:function(e){var t=ge({},this.state.selectedRows);t[e]=!t[e];var r=Object.values(t).filter((function(e){return e})).length,n=2;0===r?n=0:this.state.data.length===r&&(n=1),this.setState({selectedRows:t,selectedAllRows:n})}},{key:"toggleSelectAll",value:function(){var e="taxonomy"===this.props.options.route?"term_id":"id",t={};if(0===this.state.selectedAllRows){var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=de(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(this.state.data);try{for(n.s();!(r=n.n()).done;)t[r.value[e]]=!0}catch(o){n.e(o)}finally{n.f()}}this.setState({selectedRows:t,selectedAllRows:0===this.state.selectedAllRows?1:0})}},{key:"getSelectedRows",value:function(){var e=this;return Object.keys(this.state.selectedRows).filter((function(t){return e.state.selectedRows[t]})).map((function(e){return parseInt(e)}))}},{key:"refreshData",value:function(){this.refReactTable&&this.refReactTable.fireFetchData()}},{key:"fetchData",value:function(e,t){var r=this,n=e.data;this.setState({loading:!0},(function(){r.requirementMet()&&h.Z.manage.getData({route:r.props.options.route,type:r.props.options.id,pageSize:e.pageSize,page:e.page,sorted:e.sorted,filtered:e.filtered}).then((function(e){if(e){var t={data:e.rows,pages:e.pages,countFiltered:e.filtered,countTotal:e.total,loading:!1},o="taxonomy"===r.props.options.route?"term_id":"id";JSON.stringify(e.rows.map((function(e){return e[o]})))!==JSON.stringify(n.map((function(e){return e[o]})))&&(t.selectedRows={},t.selectedAllRows=0),r.setState(t)}}))}))}},{key:"onColumnsChange",value:function(e,t){var r=pe(this.state.selectedColumns);t?r.push(e):r=r.filter((function(t){return t!==e})),this.setState({selectedColumns:r}),localStorage.setItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"),JSON.stringify(r))}},{key:"requirementMet",value:function(){return!(this.props.options.hasOwnProperty("required")&&(!wprm_admin.addons.hasOwnProperty(this.props.options.required)||!0!==wprm_admin.addons[this.props.options.required]))}},{key:"render",value:function(){var e=this;if(!this.props.options)return null;if(!this.requirementMet()){var t=this.props.options.required[0].toUpperCase()+this.props.options.required.substring(1);return o.createElement("div",{className:"wprm-admin-manage-requirement"},o.createElement("div",null,"*",(0,b.S)("This feature is only available in")),o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker ".concat(t," Bundle")))}var r=this.state,n=r.data,i=r.pages,a=r.loading,c=this.state.columns.filter((function(t){return"actions"===t.id||!1===e.state.selectedColumns||e.state.selectedColumns.includes(t.id)})),l=this.state.filtered.filter((function(e){return""!==e.value&&"all"!==e.value})).map((function(e){return e.id}));return o.createElement("div",{className:"wprm-admin-manage-page"},!1!==this.state.selectedColumns||this.props.options.bulkEdit||this.props.options.createButton?o.createElement("div",{className:"wprm-admin-manage-header"},!1===this.state.selectedColumns?o.createElement("div",null):o.createElement(le,{onColumnsChange:this.onColumnsChange,columns:this.state.columns,selectedColumns:this.state.selectedColumns,filteredColumns:l}),o.createElement("div",{className:"wprm-admin-manage-header-buttons"},(!1===this.state.selectedColumns||this.state.selectedColumns.includes("bulk_edit"))&&this.props.options.bulkEdit&&o.createElement("button",{className:"button",onClick:function(){WPRM_Modal.open("bulk-edit",{route:e.props.options.bulkEdit.route,type:e.props.options.bulkEdit.type,ids:e.getSelectedRows(),saveCallback:function(){return e.refreshData()}})},disabled:0===this.getSelectedRows().length},(0,b.S)("Bulk Edit")," ",this.getSelectedRows().length," ",1===this.getSelectedRows().length?this.props.options.label.singular:this.props.options.label.plural,"..."),this.props.options.createButton?o.createElement("button",{className:"button button-primary",onClick:function(){return e.props.options.createButton(e)}},"".concat((0,b.S)("Create")," ").concat(this.props.options.label.singular)):null)):null,o.createElement("div",{className:"wprm-admin-manage-table-container"},o.createElement(ce.Z,{module:"Datatable"},o.createElement(ue,{filtered:this.state.countFiltered,total:this.state.countTotal}),o.createElement("div",{className:"wprm-admin-manage-table-inner"},o.createElement(ae,{ref:function(t){e.refReactTable=t},manual:!0,columns:c,data:n,pages:i,filtered:this.state.filtered,onFilteredChange:function(t){e.setState({filtered:t})},loading:a,onFetchData:this.fetchData,defaultPageSize:this.props.options.hasOwnProperty("defaultPageSize")?this.props.options.defaultPageSize:25,pageSizeOptions:[5,10,20,25,50,100,500],defaultSorted:[{id:"rating"===this.props.type?"date":"id",desc:!0}],filterable:!0,resizable:!1,className:"wprm-admin-manage-table wprm-admin-table -highlight"})))))}}])&&ve(t.prototype,r),n&&ve(t,n),a}(o.Component),De=(r(29897),r(2778)),Te=r.n(De),Me=r(80416),Pe=r(94341);function Ne(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 Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(r),!0).forEach((function(t){Ce(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ne(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ce(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var je={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Click on the stars to edit the rating."),onClick:function(){alert((0,b.S)("Click on the stars to edit the rating."))}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Rating"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this rating?"))&&h.Z.rating.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Rating"),id:"rating",accessor:"rating",width:100,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Ratings")),o.createElement("option",{value:"1"},"1 ".concat((0,b.S)("star"))),o.createElement("option",{value:"2"},"2 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"3"},"3 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"4"},"4 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"5"},"5 ".concat((0,b.S)("stars"))))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-ratings-rating"},[1,2,3,4,5].map((function(r,n){return o.createElement(v.Z,{type:r<=t.value?"star-full":"star-empty",title:"".concat((0,b.S)("Click to change this rating to:")," ").concat(r),onClick:function(){var n=Le(Le({},t.original),{},{rating:r});h.Z.rating.update(n).then((function(){return e.refreshData()}))},key:n})})))}},{Header:(0,b.S)("Type"),id:"type",accessor:"type",width:150,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Types")),o.createElement("option",{value:"user"},(0,b.S)("User Rating")),o.createElement("option",{value:"comment"},(0,b.S)("Comment Rating")))},Cell:function(e){return o.createElement("div",null,"user"===e.value?(0,b.S)("User Rating"):(0,b.S)("Comment Rating"))}},{Header:(0,b.S)("Approved"),id:"approved",accessor:"approved",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All")),o.createElement("option",{value:"yes"},(0,b.S)("Approved")),o.createElement("option",{value:"no"},(0,b.S)("Not Approved")))},Cell:function(e){return o.createElement("div",null,0==e.value?(0,b.S)("No"):(0,b.S)("Yes"))}},{Header:(0,b.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,b.S)("n/a"));return o.createElement("div",null,e.original.user_link?o.createElement("a",{href:Te().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,b.S)("IP"),id:"ip",accessor:"ip",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Comment ID"),id:"comment_id",accessor:"comment_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.comment?"".concat(e.original.comment):(0,b.S)("n/a"));return o.createElement("div",null,e.original.comment_link?o.createElement("a",{href:Te().decode(e.original.comment_link),target:"_blank"},t):t)}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value||"0"===t.value)return o.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,b.S)("n/a"));return o.createElement("div",null,t.original.recipe?o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:function(){return e.refreshData()}})}},r):r)}},{Header:(0,b.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,b.S)("n/a"));return o.createElement("div",null,e.original.post_link?o.createElement("a",{href:Te().decode(e.original.post_link),target:"_blank"},t):t)}}]}},ke=(r(42900),r(55281),r(22321),r(67838),r(95075)),Ae=function(e){return e.seo?o.createElement(ke.Z,{content:e.seo.message,style:{width:"100%"}},o.createElement("div",{className:"wprm-admin-manage-seo-indicator wprm-admin-manage-seo-indicator-".concat(e.seo.type.trim()),onClick:e.onClick},"other"===e.seo.type?"n/a":o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"})))):null};function Oe(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Re(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 Re(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}function Re(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 Ze=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=parseInt(e),n=0,o=0,i=0,a="";return r>0?(n=Math.floor(r/24/60),o=Math.floor(r/60%24),i=Math.floor(r%60),n&&(a+="".concat(n," ").concat(1===n?(0,b.S)("day"):(0,b.S)("days")," ")),o&&(a+="".concat(o," ").concat(1===o?(0,b.S)("hr"):(0,b.S)("hrs")," ")),i&&(a+="".concat(i," ").concat(1===i?(0,b.S)("min"):(0,b.S)("mins")," "))):t&&(a="0 ".concat((0,b.S)("mins"))),a.trim()},He={getColumns:function(e){var t=[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:wprm_admin.addons.premium?130:100,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Edit Recipe"),onClick:function(){WPRM_Modal.open("recipe",{recipe:t.original,saveCallback:function(){return e.refreshData()}})}}),o.createElement(v.Z,{type:"print",title:(0,b.S)("Print Recipe"),onClick:function(){var e=wprm_admin.home_url.split(/\?(.+)/),r=e[0];wprm_admin.permalinks?(r+=wprm_admin.print_slug+"/"+t.original.id,e[1]&&(r+="?"+e[1])):(r+="?"+wprm_admin.print_slug+"="+t.original.id,e[1]&&(r+="&"+e[1])),window.open(r,"_blank")}}),!0===wprm_admin.addons.premium&&o.createElement(v.Z,{type:"duplicate",title:(0,b.S)("Clone Recipe"),onClick:function(){WPRM_Modal.open("recipe",{recipeId:t.original.id,cloneRecipe:!0,saveCallback:function(){return e.refreshData()}},!0)}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Recipe"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.recipe.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("SEO"),id:"seo",accessor:"seo",width:65,sortable:!1,filterable:!1,Cell:function(e){return o.createElement(Ae,{seo:e.value})}},{Header:(0,b.S)("Type"),id:"type",accessor:"type",width:80,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All")),o.createElement("option",{value:"food"},(0,b.S)("Food")),o.createElement("option",{value:"howto"},(0,b.S)("How-to")),o.createElement("option",{value:"other"},(0,b.S)("Other")))},Cell:function(e){return o.createElement("div",null,"other"===e.value?(0,b.S)("Other"):"howto"===e.value?(0,b.S)("How-to"):(0,b.S)("Food"))}},{Header:(0,b.S)("ID"),id:"id",accessor:"id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Image"),id:"image",accessor:"image_url",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Recipe Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Recipe Image")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?o.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)}},{Header:(0,b.S)("Pin Image"),id:"pin_image",accessor:"pin_image_url",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Custom Pin Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Custom Pin Image")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?o.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)}},{Header:(0,b.S)("Video"),id:"video",accessor:"video_url",width:200,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has any video")),o.createElement("option",{value:"id"},(0,b.S)("Has an uploaded video")),o.createElement("option",{value:"embed"},(0,b.S)("Has an embedded video")),o.createElement("option",{value:"no"},(0,b.S)("Does not have a video")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?e.value:o.createElement(o.Fragment,null,e.original.video_embed?e.original.video_embed:null))}},{Header:(0,b.S)("Name"),id:"name",accessor:"name",width:300,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Summary"),id:"summary",accessor:"summary",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?o.createElement("div",{dangerouslySetInnerHTML:{__html:e.value}}):o.createElement("div",null)}},{Header:(0,b.S)("Author"),id:"post_author",accessor:"post_author",width:150,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Authors")),Object.keys(wprm_admin_manage.authors).map((function(e,t){var r=wprm_admin_manage.authors[e].data;return o.createElement("option",{value:r.ID,key:t},r.ID,r.display_name?" - ".concat(Te().decode(r.display_name)):""," ")})))},Cell:function(e){return wprm_admin_manage.authors.hasOwnProperty(e.value)||(wprm_admin_manage.authors[e.value]={data:{ID:e.value,display_name:e.original.post_author_name}}),o.createElement("div",null,e.value&&"0"!==e.value?o.createElement("a",{href:e.original.post_author_link,target:"_blank"},e.value," - ",e.original.post_author_name):null)}},{Header:(0,b.S)("Display Author Type"),id:"author_display",accessor:"author_display",width:250,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Display Author Types")),wprm_admin_modal.options.author.map((function(e,t){return"same"===e.value?null:o.createElement("option",{value:e.value,key:t},e.label)})))},Cell:function(e){var t=wprm_admin_modal.options.author.find((function(t){return t.value===e.value}));return t?o.createElement("div",null,t.label):o.createElement("div",null)}},{Header:(0,b.S)("Display Author"),id:"author",accessor:"author",width:150,sortable:!1,filterable:!1,Cell:function(e){return e.value?o.createElement("div",{dangerouslySetInnerHTML:{__html:e.original.author}}):o.createElement("div",null)}},{Header:(0,b.S)("Status"),id:"status",accessor:"post_status",width:120,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Statuses")),Object.keys(wprm_admin_manage.post_statuses).map((function(e,t){return o.createElement("option",{value:e,key:t},Te().decode(wprm_admin_manage.post_statuses[e]))})))},Cell:function(e){var t=Object.keys(wprm_admin_manage.post_statuses).includes(e.value)?wprm_admin_manage.post_statuses[e.value]:e.value;return o.createElement("div",null,t)}},{Header:(0,b.S)("Parent ID"),id:"parent_post_id",accessor:"parent_post_id",width:65,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?o.createElement("div",null,e.value):o.createElement("div",null)}},{Header:(0,b.S)("Parent Name"),id:"parent_post",accessor:"parent_post",width:300,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Parent Post")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Parent Post")))},Cell:function(e){var t=e.value,r=!!e.original.parent_post_edit_url&&Te().decode(e.original.parent_post_edit_url);return t?r?o.createElement("a",{href:r,target:"_blank"},t.post_title):o.createElement("div",null,t.post_title):o.createElement("div",null)}}];wprm_admin_manage.multilingual&&t.push({Header:(0,b.S)("Parent Language"),id:"parent_post_language",accessor:"parent_post_language",width:150,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Languages")),Object.values(wprm_admin_manage.multilingual.languages).map((function(e,t){return o.createElement("option",{value:e.value,key:t},"".concat(e.value," - ").concat(Te().decode(e.label)))})))},Cell:function(e){console.log(e);var t=!!wprm_admin_manage.multilingual.languages.hasOwnProperty(e.value)&&wprm_admin_manage.multilingual.languages[e.value];return t?o.createElement("div",null,"".concat(t.value," - ").concat(Te().decode(t.label))):o.createElement("div",null)}}),t.push({Header:(0,b.S)("Ratings"),id:"rating",accessor:"rating",width:200,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("optgroup",{label:(0,b.S)("General")},o.createElement("option",{value:"all"},(0,b.S)("All Ratings")),o.createElement("option",{value:"none"},(0,b.S)("No Ratings")),o.createElement("option",{value:"any"},(0,b.S)("Any Rating"))),o.createElement("optgroup",{label:(0,b.S)("Stars")},o.createElement("option",{value:"1"},"1 ".concat((0,b.S)("star"))),o.createElement("option",{value:"2"},"2 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"3"},"3 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"4"},"4 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"5"},"5 ".concat((0,b.S)("stars")))))},Cell:function(t){var r=t.value;return r.average&&"0"!==r.average?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-container"},o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-average"},r.average),o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details"},!1===r.comment_ratings?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,b.S)("no comment ratings")):o.createElement("div",null,"".concat(r.comment_ratings.average," ").concat((0,b.S)("from")," ").concat(r.comment_ratings.count," ").concat(1===r.comment_ratings.count?(0,b.S)("comment"):(0,b.S)("comments"))),!1===r.user_ratings?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,b.S)("no user ratings")):o.createElement("div",null,"".concat(r.user_ratings.average," ").concat((0,b.S)("from")," ").concat(r.user_ratings.count," ").concat(1===r.user_ratings.count?(0,b.S)("vote"):(0,b.S)("votes")),o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),confirm("".concat((0,b.S)("Are you sure you want to delete the user ratings for"),' "').concat(t.original.name,'"?'))&&h.Z.manage.deleteUserRatings(t.original.id).then((function(){return e.refreshData()}))}},"(reset)")))):null}});var r=function(e){var r=wprm_admin_modal.categories[e];r.terms.sort((function(e,t){return e.name.localeCompare(t.name)})),t.push({Header:r.label,id:"tag_".concat(e),accessor:function(t){return t.tags[e]},width:300,sortable:!1,Filter:function(e){var t=e.filter,n=e.onChange;return o.createElement("select",{onChange:function(e){return n(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("optgroup",{label:(0,b.S)("General")},o.createElement("option",{value:"all"},"".concat((0,b.S)("All")," ").concat(r.label)),o.createElement("option",{value:"none"},"".concat((0,b.S)("No")," ").concat(r.label)),o.createElement("option",{value:"any"},"".concat((0,b.S)("Any")," ").concat(r.label))),o.createElement("optgroup",{label:(0,b.S)("Terms")},r.terms.map((function(e,t){return o.createElement("option",{value:e.term_id,key:t},Te().decode(e.name),e.count?" (".concat(e.count,")"):"")}))))},Cell:function(e){var t=e.value.map((function(e){return e.name})).join(", ");return o.createElement("div",null,t?Te().decode(t):null)}})};for(var n in wprm_admin_modal.categories)r(n);t.push({Header:(0,b.S)("Prep Time"),id:"prep_time",accessor:"prep_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Ze(e.value,e.original.prep_time_zero))}},{Header:(0,b.S)("Cook Time"),id:"cook_time",accessor:"cook_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Ze(e.value,e.original.cook_time_zero))}},{Header:(0,b.S)("Custom Time"),id:"custom_time",accessor:"custom_time",width:120,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,o.createElement("div",null,e.original.custom_time_label),o.createElement("div",null,Ze(e.value,e.original.custom_time_zero)))}},{Header:(0,b.S)("Total Time"),id:"total_time",accessor:"total_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Ze(e.value))}},{Header:(0,b.S)("Servings"),id:"servings",accessor:"servings",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,"0"===e.value?"":e.value," ",e.original.servings_unit)}},{Header:(0,b.S)("Equipment"),id:"equipment",accessor:"equipment",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,e.value?e.value.map((function(e,t){if(e.name){var r=e.name.replace(/(<([^>]+)>)/gi,"").trim();if(r)return o.createElement("div",{key:t},Te().decode(r))}})):null)}},{Header:(0,b.S)("Ingredients"),id:"ingredient",accessor:"ingredients",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,e.value?e.value.map((function(e,t){return e.name=e.name.replace(/(<([^>]+)>)/gi,"").trim(),o.createElement("div",{key:t},e.name&&o.createElement("div",{style:{fontWeight:"bold"}},Te().decode(e.name)),e.ingredients.map((function(e,t){var r=[];if(e.amount&&r.push(e.amount),e.unit&&r.push(e.unit),e.name&&r.push(e.name),e.notes&&r.push(e.notes),r.length){var n=r.join(" ").replace(/(<([^>]+)>)/gi,"").trim();if(n)return o.createElement("div",{key:t},Te().decode(n))}})))})):null)}},{Header:(0,b.S)("Converted Ingredients"),id:"unit_conversion",accessor:"unit_conversion",width:300,sortable:!1,filterable:!1,Cell:function(e){return Array.isArray(e.value)?o.createElement("div",null,e.value.map((function(e,t){if(e=e.replace(/(<([^>]+)>)/gi,"").trim())return o.createElement("div",{key:t},Te().decode(e))}))):o.createElement("div",null,e.value)}},{Header:(0,b.S)("Nutrition"),id:"nutrition",accessor:"nutrition",width:250,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",{className:"wprm-manage-recipes-nutrition-container"},Object.keys(wprm_admin_modal.nutrition).map((function(t,r){var n=wprm_admin_modal.nutrition[t],i=!!e.value.hasOwnProperty(t)&&e.value[t],a=n.unit;return"serving_size"===t&&e.value.hasOwnProperty("serving_unit")&&e.value.serving_unit&&(a=e.value.serving_unit),!1===i?null:"calories"===t||wprm_admin.addons.premium?o.createElement("div",{className:"wprm-manage-recipes-nutrition",key:r},o.createElement("div",{className:"wprm-manage-recipes-nutrition-label"},n.label),o.createElement("div",{className:"wprm-manage-recipes-nutrition-value-unit"},o.createElement("span",{className:"wprm-manage-recipes-nutrition-value"},i),o.createElement("span",{className:"wprm-manage-recipes-nutrition-unit"},a))):null})))}}),wprm_admin.addons.elite&&t.push({Header:(0,b.S)("Recipe Submission User"),id:"submission_author",accessor:"submission_author",width:300,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Was Recipe Submission")),o.createElement("option",{value:"no"},(0,b.S)("Was not a Recipe Submission")))},Cell:function(e){var t=e.value;if(!t)return null;var r=t.name?t.name:e.original.submission_author_user_name?e.original.submission_author_user_name:"";return o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user"},o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-name"},t.id?o.createElement("a",{href:e.original.submission_author_user_link,target:"_blank"},"#",t.id):null,r?o.createElement("span",null," - ",r):null),t.email?o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-email"},t.email):null)}});var i,a=Oe(wprm_admin_modal.custom_fields&&wprm_admin_modal.custom_fields.fields?Object.values(wprm_admin_modal.custom_fields.fields):[]);try{var c=function(){var e=i.value;t.push({Header:e.name,id:"custom_field_".concat(e.key),accessor:"custom_fields",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value.hasOwnProperty(e.key)||!t.value[e.key])return null;var r=t.value[e.key];return"image"===e.type?o.createElement("div",{style:{width:"100%"}},r.hasOwnProperty("url")&&r.url?o.createElement("img",{src:r.url,className:"wprm-admin-manage-image"}):null):"textarea"===e.type?o.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):"link"===e.type?o.createElement("a",{href:r,target:"_blank"},r):"email"===e.type?o.createElement("a",{href:"mailto:".concat(r)},r):o.createElement("div",null,r)}})};for(a.s();!(i=a.n()).done;)c()}catch(l){a.e(l)}finally{a.f()}return t}},ze={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"eye",title:(0,b.S)("View Revision"),onClick:function(){WPRM_Modal.open("recipe",{recipe:t.original.recipe_data,restoreRevision:!0,saveCallback:function(){return e.refreshData()}})}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Revision"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.post_title,'"?'))&&h.Z.recipe.deleteRevision(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"post_parent",width:75,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Revision ID"),id:"id",accessor:"id",width:75,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Date"),id:"date",accessor:"post_date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Name"),id:"name",accessor:"post_title",Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Recipe Data Size"),id:"recipe_data",accessor:"recipe_data",sortable:!1,filterable:!1,width:150,Cell:function(e){var t=JSON.stringify(wprm_admin_modal.recipe).length,r=JSON.stringify(e.value).length;return o.createElement("div",null,Math.max(r-t,0).toLocaleString())}}]}},_e=r(5308);function Be(e){return function(e){if(Array.isArray(e))return Ge(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 Ge(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 Ge(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 Ge(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 Ue={getColumns:function(e){var t=wprm_admin_modal.options.hasOwnProperty("".concat(e.props.options.id,"_link_nofollow"))?wprm_admin_modal.options["".concat(e.props.options.id,"_link_nofollow")]:wprm_admin_modal.options.term_link_nofollow,r=[];return"suitablefordiet"!==e.props.options.id&&r.push((0,Pe.Z)(e,"term_id")),r=[].concat(Be(r),[{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:"suitablefordiet"===e.props.options.id?65:100,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},"suitablefordiet"===e.props.options.id?o.createElement(v.Z,{type:"pencil",title:"".concat((0,b.S)("Rename")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new name for"),' "').concat(t.original.label,'"?'),t.original.label);r&&r.trim()&&h.Z.manage.renameTermLabel(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()}))}}):o.createElement(o.Fragment,null,o.createElement(v.Z,{type:"pencil",title:"".concat((0,b.S)("Rename")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new name for"),' "').concat(t.original.name,'"?'),t.original.name);r&&r.trim()&&h.Z.manage.renameTerm(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()}))}}),o.createElement(v.Z,{type:"merge",title:"".concat((0,b.S)("Merge into another")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What is the ID of the term you want the merge"),' "').concat(t.original.name,'" ').concat((0,b.S)("into"),"?"));r&&r!=t.original.term_id&&r.trim()&&h.Z.manage.getTerm(e.props.options.id,r).then((function(n){n?confirm("".concat((0,b.S)("Are you sure you want to merge"),' "').concat(t.original.name,'" ').concat((0,b.S)("into"),' "').concat(n.name,'"?'))&&h.Z.manage.mergeTerm(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()})):alert((0,b.S)("We could not find a term with that ID."))}))}}),o.createElement(v.Z,{type:"trash",title:"".concat((0,b.S)("Delete")," ").concat(e.props.options.label.singular),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.manage.deleteTerm(e.props.options.id,t.original.term_id).then((function(){return e.refreshData()}))}})))}},{Header:(0,b.S)("ID"),id:"id",accessor:"term_id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:"suitablefordiet"===e.props.options.id?(0,b.S)("Diet"):(0,b.S)("Name"),id:"name",accessor:"name",Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?Te().decode(e.value):null}},{Header:(0,b.S)("Recipes"),id:"count",accessor:"count",filterable:!1,width:65}]),"suitablefordiet"===e.props.options.id&&r.push({Header:(0,b.S)("Label"),id:"label",accessor:"label",sortable:!1,filterable:!1,Cell:function(e){return e.value?Te().decode(e.value):null}}),"ingredient"===e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Shopping List Group"),id:"group",accessor:"group",width:200,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-group-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Group"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new group for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&h.Z.manage.updateTaxonomyMeta("ingredient",t.original.term_id,{group:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("span",null,t.value):null)}}),"ingredient"!==e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Image"),id:"image_id",accessor:"image_id",width:110,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Image")))},Cell:function(t){var r=function(r){r.preventDefault(),_e.Z.selectImage((function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:r.id}).then((function(){return e.refreshData()}))}))};return o.createElement("div",{className:"wprm-manage-image-container"},t.value?o.createElement("div",{className:"wprm-manage-image-preview"},o.createElement(ke.Z,{content:(0,b.S)("Edit Image")},o.createElement("img",{src:t.original.image_url,onClick:r})),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Remove Image"),onClick:function(){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:0}).then((function(){return e.refreshData()}))}})):o.createElement(v.Z,{type:"photo",title:(0,b.S)("Add Image"),onClick:r}))}}),wprm_admin.addons.premium&&(window.hasOwnProperty("EAFL_Modal")&&r.push({Header:(0,b.S)("Easy Affiliate Links"),id:"eafl",accessor:"eafl",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-eafl-container"},t.value?o.createElement(o.Fragment,null,o.createElement(v.Z,{type:"eafl-link",title:(0,b.S)("Edit Link"),onClick:function(){t.original.hasOwnProperty("eafl_details")?EAFL_Modal.open("edit",{link:t.original.eafl_details,saveCallback:function(){return e.refreshData()}}):alert((0,b.S)("An Affiliate Link with this ID cannot be found. Try deleting and adding it again."))}})," ",o.createElement(v.Z,{type:"eafl-unlink",title:(0,b.S)("Remove Link"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this link?"))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:""}).then((function(){return e.refreshData()}))}}),o.createElement("div",{className:"wprm-manage-ingredients-eafl-details"},t.original.hasOwnProperty("eafl_details")?o.createElement(o.Fragment,null,o.createElement("div",null,"#",t.value," - ",t.original.eafl_details.name),o.createElement("div",null,o.createElement("a",{href:t.original.eafl_details.url,target:"_blank"},t.original.eafl_details.url))):o.createElement("div",null,"#",t.value," - ",(0,b.S)("n/a")))):o.createElement(v.Z,{type:"eafl-link",title:(0,b.S)("Set Affiliate Link"),onClick:function(){EAFL_Modal.open("insert",{insertCallback:function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:r.id}).then((function(){return e.refreshData()}))},selectedText:t.original.name})}}))}}),r.push({Header:(0,b.S)("Link"),id:"link",accessor:"link",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-link-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Link"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,b.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{link:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("a",{href:t.value,target:"_blank"},t.value):null)}},{Header:(0,b.S)("Link Nofollow"),id:"link_nofollow",accessor:"link_nofollow",width:250,Filter:function(e){var r=e.filter,n=e.onChange;return o.createElement("select",{onChange:function(e){return n(e.target.value)},style:{width:"100%",fontSize:"1em"},value:r?r.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Any Nofollow")),t.map((function(e,t){return o.createElement("option",{value:e.value,key:t},e.label)})))},Cell:function(r){return o.createElement("div",null,r.original.link?o.createElement("select",{onChange:function(t){h.Z.manage.updateTaxonomyMeta(e.props.options.id,r.original.term_id,{link_nofollow:t.target.value}).then((function(){return e.refreshData()}))},style:{width:"100%",fontSize:"1em"},value:r.value},t.map((function(e,t){return o.createElement("option",{value:e.value,key:t},e.label)}))):null)}})),"equipment"===e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Affiliate HTML"),id:"affiliate_html",accessor:"affiliate_html",width:500,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-equipment-affiliate-html-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change HTML"),onClick:function(){WPRM_Modal.open("input-fields",{header:(0,b.S)("Change Affiliate HTML"),fields:[{label:"HTML",type:"textarea",value:t.value}],insertCallback:function(r){var n=r.fields[0].value;h.Z.manage.updateTaxonomyMeta("equipment",t.original.term_id,{affiliate_html:n}).then((function(){return e.refreshData()}))}})}}),o.createElement("span",{className:"wprm-manage-equipment-affiliate-html"},t.value))}}),window.hasOwnProperty("wpupg_admin")&&(r.push({Header:(0,b.S)("Grid Link"),id:"wpupg_custom_link",accessor:"wpupg_custom_link",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-link-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Link"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new grid link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,b.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_link:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("a",{href:t.value,target:"_blank"},t.value):null)}}),r.push({Header:(0,b.S)("Grid Image"),id:"wpupg_custom_image",accessor:"wpupg_custom_image",width:110,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Image")))},Cell:function(t){var r=function(r){r.preventDefault(),_e.Z.selectImage((function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:r.id}).then((function(){return e.refreshData()}))}))};return o.createElement("div",{className:"wprm-manage-image-container"},t.value?o.createElement("div",{className:"wprm-manage-image-preview"},o.createElement(ke.Z,{content:(0,b.S)("Edit Image")},o.createElement("img",{src:t.original.wpupg_custom_image_url,width:"80",onClick:r})),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Remove Image"),onClick:function(){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:0}).then((function(){return e.refreshData()}))}})):o.createElement(v.Z,{type:"photo",title:(0,b.S)("Add Image"),onClick:r}))}})),r}},We={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"restore",title:(0,b.S)("Restore Recipe"),onClick:function(){h.Z.recipe.updateStatus(t.original.id,"draft").then((function(){return e.refreshData()}))}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Permanently Delete"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.recipe.delete(t.original.id,!0).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("ID"),id:"id",accessor:"id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Name"),id:"name",accessor:"name",width:300,Filter:function(e){return o.createElement(Me.Z,e)}}]}};function qe(e){return(qe="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 Fe={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:40,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Action"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this action?"))&&h.Z.analytics.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Date"),id:"created_at",accessor:"created_at",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Action"),id:"type",accessor:"type",width:150,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Action Details"),id:"meta",accessor:"meta",width:200,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",null,"object"===qe(e.value)?Object.keys(e.value).map((function(t,r){return o.createElement("div",{key:r},o.createElement("strong",null,t,":")," ",e.value[t].toString())})):null)}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value||"0"===t.value)return o.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,b.S)("n/a"));return o.createElement("div",null,t.original.recipe?o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:function(){return e.refreshData()}})}},r):r)}},{Header:(0,b.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,b.S)("n/a"));return o.createElement("div",null,e.original.post_link?o.createElement("a",{href:Te().decode(e.original.post_link),target:"_blank"},t):t)}},{Header:(0,b.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,b.S)("n/a"));return o.createElement("div",null,e.original.user_link?o.createElement("a",{href:Te().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,b.S)("Visitor UID"),id:"visitor_id",accessor:"visitor_id",width:175,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Visitor Details"),id:"visitor",accessor:"visitor",width:200,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",null,"object"===qe(e.value)?Object.keys(e.value).map((function(t,r){return o.createElement("div",{key:r},o.createElement("strong",null,t,":")," ",e.value[t].toString())})):null)}}]}},Ve={recipe:{parent:(0,b.S)("Recipes"),title:(0,b.S)("Overview"),id:"recipe",route:"recipe",label:{singular:(0,b.S)("Recipe"),plural:(0,b.S)("Recipes")},bulkEdit:{route:"recipe",type:"recipe"},createButton:function(e){WPRM_Modal.open("recipe",{saveCallback:function(){return e.refreshData()}})},selectedColumns:["seo","id","date","name","parent_post","rating"],columns:He}};wprm_admin_manage.revisions&&(Ve.revision={parent:(0,b.S)("Recipes"),id:"revision",route:"revision",label:{singular:(0,b.S)("Revision"),plural:(0,b.S)("Revisions")},bulkEdit:{route:"revision",type:"revision"},createButton:!1,selectedColumns:!1,columns:ze}),Ve.trash={parent:(0,b.S)("Recipes"),title:"".concat((0,b.S)("Trash")," (").concat(wprm_admin_manage.trash,")"),id:"trash",route:"trash",label:{singular:(0,b.S)("Recipe"),plural:(0,b.S)("Recipes")},bulkEdit:{route:"trash",type:"trash"},createButton:!1,selectedColumns:!1,columns:We},Ve.ingredient={parent:(0,b.S)("Recipe Fields"),id:"ingredient",route:"taxonomy",label:{singular:(0,b.S)("Ingredient"),plural:(0,b.S)("Ingredients")},bulkEdit:{route:"taxonomy",type:"ingredient"},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new ingredient?"));t&&t.trim()&&h.Z.manage.createTerm("ingredient",t).then((function(t){t?e.refreshData():alert((0,b.S)("We were not able to create this ingredient. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:Ue},Ve.equipment={parent:(0,b.S)("Recipe Fields"),id:"equipment",route:"taxonomy",label:{singular:(0,b.S)("Equipment"),plural:(0,b.S)("Equipment")},bulkEdit:{route:"taxonomy",type:"equipment"},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new equipment?"));t&&t.trim()&&h.Z.manage.createTerm("equipment",t).then((function(t){t?e.refreshData():alert((0,b.S)("We were not able to create this equipment. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:Ue},Object.keys(wprm_admin_manage.taxonomies).map((function(e){var t=wprm_admin_manage.taxonomies[e],r=e.substr(5);Ve["tag_"+r]="suitablefordiet"===r?{parent:(0,b.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:!1,createButton:!1,selectedColumns:["id","name","label","count"],columns:Ue}:{parent:(0,b.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:{route:"taxonomy",type:r},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new term?"));t&&t.trim()&&h.Z.manage.createTerm(r,t).then((function(t){t?(e.refreshData(),wprm_admin_modal.categories[r].terms.push({term_id:t.id,name:t.name,count:0})):alert((0,b.S)("We were not able to create this term. Make sure it does not exist yet."))}))},selectedColumns:["id","name","count"],columns:Ue}})),Ve.taxonomies={required:"premium",parent:(0,b.S)("Your Custom Fields"),id:"taxonomies",label:{singular:(0,b.S)("Recipe Taxonomy"),plural:(0,b.S)("Recipe Taxonomies")}},Ve["custom-fields"]={required:"pro",parent:(0,b.S)("Your Custom Fields"),id:"custom-fields",label:{singular:(0,b.S)("Custom Field"),plural:(0,b.S)("Custom Fields")}},Ve.nutrition={required:"pro",parent:(0,b.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,b.S)("Custom Nutrition Ingredient"),plural:(0,b.S)("Custom Nutrition")}},Ve.nutrients={required:"premium",parent:(0,b.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,b.S)("Custom Nutrient"),plural:(0,b.S)("Custom Nutrients")}},Ve.rating={parent:(0,b.S)("Features"),id:"rating",route:"rating",label:{singular:(0,b.S)("Rating"),plural:(0,b.S)("Ratings")},bulkEdit:{route:"rating",type:"rating"},createButton:!1,selectedColumns:["date","rating","type","user_id","ip"],columns:je},Ve.collections={required:"elite",parent:(0,b.S)("Features"),id:"collections",label:{singular:(0,b.S)("Saved Collection"),plural:(0,b.S)("Saved Collections")}},Ve["user-collections"]={required:"elite",parent:(0,b.S)("Features"),id:"user-collections",label:{singular:(0,b.S)("User Collection"),plural:(0,b.S)("User Collections")}},Ve["recipe-submission"]={required:"elite",parent:(0,b.S)("Features"),title:(0,b.S)("Recipe Submissions"),id:"recipe-submission",label:{singular:(0,b.S)("Recipe Submission"),plural:(0,b.S)("Recipe Submissions")}},Ve.analytics={parent:(0,b.S)("Analytics"),title:(0,b.S)("Overview"),id:"analytics",route:"analytics",label:{singular:(0,b.S)("Action"),plural:(0,b.S)("Actions")},bulkEdit:{route:"analytics",type:"analytics"},createButton:!1,selectedColumns:["created_at","type","recipe_id","post_id","user_id"],columns:Fe};var Je=Ve;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 Qe(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Xe(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 Ke(e,t){return(Ke=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function $e(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=tt(e);if(t){var o=tt(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return et(this,r)}}function et(e,t){return!t||"object"!==Ye(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 tt(e){return(tt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var rt=WPRecipeMaker["wp-recipe-maker/dist/shared"].hooks,nt=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&&Ke(e,t)}(c,e);var t,r,n,i=$e(c);function c(){return Qe(this,c),i.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=rt.applyFilters("datatables",Je);return o.createElement(ce.Z,{module:"Manage"},o.createElement("div",{id:"wprm-admin-manage-header"},o.createElement(g,{datatables:e}),o.createElement(T,null)),o.createElement("div",{id:"wprm-admin-manage-content"},o.createElement(a.AW,{path:"/:type?",render:function(t){var r=t.match,n="recipe";return r.params.type&&Object.keys(e).includes(r.params.type)&&(n=r.params.type),e.hasOwnProperty(n)?o.createElement(xe,{type:n,options:e[n]}):null}})))}}])&&Xe(t.prototype,r),n&&Xe(t,n),c}(o.Component);r.g._babelPolyfill||r(28059);var ot=document.getElementById("wprm-admin-manage");ot&&n.render(o.createElement(i.UT,{hashType:"noslash"},o.createElement(nt,null)),ot)},80416:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});r(26364),r(86632),r(61928),r(19701),r(54883),r(56908),r(10853),r(54130),r(33290),r(45007),r(68995);var n=r(89526);function o(e){return(o="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 i(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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=s(e);if(t){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=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&&a(e,t)}(s,e);var t,r,o,l=c(s);function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=l.call(this,e)).debouncedTimer=!1;var r="";return e.filter&&e.filter.value&&(r=e.filter.value),t.state={value:r,passedValue:r},t.onChange=t.onChange.bind(u(t)),t.updateFilter=t.updateFilter.bind(u(t)),t}return t=s,(r=[{key:"onChange",value:function(e){var t=this;clearTimeout(this.debouncedTimer),e!==this.state.passedValue&&(this.debouncedTimer=setTimeout((function(){t.updateFilter(e)}),500)),this.setState({value:e})}},{key:"updateFilter",value:function(e){this.props.onChange(e),this.setState({passedValue:e})}},{key:"render",value:function(){var e=this;return n.createElement("input",{className:"wprm-admin-manage-text-filter",type:"text",value:this.state.value,onChange:function(t){return e.onChange(t.target.value)}})}}])&&i(t.prototype,r),o&&i(t,o),s}(n.Component)},94341:function(e,t,r){"use strict";var n=r(89526),o=r(52082);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return{Header:(0,o.S)("Bulk Edit"),id:"bulk_edit",className:"wprm-admin-table-checkbox-container",headerClassName:"wprm-admin-table-checkbox-container",sortable:!1,width:30,Filter:function(){return n.createElement("input",{type:"checkbox",checked:1===e.state.selectedAllRows,ref:function(t){t&&(t.indeterminate=2===e.state.selectedAllRows)},onChange:function(){return e.toggleSelectAll()}})},Cell:function(r){return n.createElement("input",{type:"checkbox",checked:!0===e.state.selectedRows[r.original[t]],onChange:function(){return e.toggleSelectRow(r.original[t])}})}}}},5308:function(e,t,r){"use strict";r(87191);var n=r(52082),o={selectImage:function(e){this.select("image",e)},selectVideo:function(e){this.select("video",e)},select:function(e,t){var r={title:(0,n.S)("Select Media"),button:{text:(0,n.S)("Select")},multiple:!1};"video"===e?(r.frame="video",r.state="video-details"):r.library={type:"image"};var o=wp.media(r);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){var e=o.state().media.attachment;e&&t(e)})),o.open()}};t.Z=o},37673:function(e,t,r){"use strict";r.d(t,{Z:function(){return A}});r(55862);var n=r(46087),o=wprm_admin.endpoints.analytics,i={delete:function(e){return n.Z.call("".concat(o,"/").concat(e),"DELETE")}},a=wprm_admin.endpoints.notices,c={dismissNotice:function(e){var t={id:e};return n.Z.call(a,"DELETE",t)}},l=wprm_admin.endpoints.modal,u={parseIngredients:function(e){var t={ingredients:e};return n.Z.call("".concat(l,"/ingredient/parse"),"POST",t)}},s=(r(10853),r(35054),wprm_admin.endpoints.manage),p=wprm_admin.endpoints.rating,d=wprm_admin.endpoints.taxonomy,f=!1,m=!1,g={getData:function(e){return f?(m=e,new Promise((function(e){return e(!1)}))):this.getDataDebounced(e)},getDataDebounced:function(e){var t=this;return f=!0,n.Z.call("".concat(s,"/").concat(e.route),"POST",e).then((function(e){if(m){var r=m;return m=!1,t.getDataDebounced(r)}return f=!1,e}))},deleteUserRatings:function(e){return n.Z.call("".concat(p,"/recipe/").concat(e),"DELETE")},getTerm:function(e,t){return n.Z.call("".concat(d).concat(e,"/").concat(t))},createTerm:function(e,t){var r={name:t};return n.Z.call("".concat(d).concat(e),"POST",r)},deleteTerm:function(e,t){return n.Z.call("".concat(d).concat(e,"/").concat(t,"?force=true"),"DELETE")},renameTerm:function(e,t,r){var o={name:r};return n.Z.call("".concat(d).concat(e,"/").concat(t),"POST",o)},renameTermLabel:function(e,t,r){var o={type:e,id:t,label:r};return n.Z.call("".concat(s,"/taxonomy/label"),"POST",o)},mergeTerm:function(e,t,r){var o={type:e,oldId:t,newId:r};return n.Z.call("".concat(s,"/taxonomy/merge"),"POST",o)},updateTaxonomyMeta:function(e,t,r){var o={};return o[e]=r,n.Z.call("".concat(d).concat(e,"/").concat(t),"POST",o)},bulkEdit:function(e,t,r,o){var i={type:t,ids:r,action:o};return n.Z.call("".concat(s,"/").concat(e,"/bulk"),"POST",i)}},h=wprm_admin.endpoints.modal,v=!1,b=!1,y={getSuggestions:function(e){return v?(b=e,new Promise((function(e){return e(!1)}))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced:function(e){var t=this;return v=!0,n.Z.call("".concat(h,"/suggest"),"POST",e).then((function(e){if(b){var r=b;return b=!1,t.getSuggestionsDebounced(r)}return v=!1,e}))}},w=wprm_admin.endpoints.rating,I={update:function(e){var t={rating:e};return n.Z.call("".concat(w),"POST",t)},delete:function(e){return n.Z.call("".concat(w,"/").concat(e),"DELETE")}},S=wprm_admin.endpoints.recipe,E=wprm_admin.endpoints.manage,x={get:function(e){return n.Z.call("".concat(S,"/").concat(e))},save:function(e){var t={recipe:e},r=S,o="POST",i=!!e.id&&parseInt(e.id);return i&&(r+="/".concat(i),o="PUT"),n.Z.call(r,o,t)},updateStatus:function(e,t){var r={status:t};return n.Z.call("".concat(S,"/").concat(e),"PUT",r)},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(S,"/").concat(e);return t&&(r+="?force=true"),n.Z.call(r,"DELETE")},deleteRevision:function(e){return n.Z.call("".concat(E,"/revision/").concat(e),"DELETE")}},D=wprm_admin.endpoints.setting,T={save:function(e){var t={settings:e};return n.Z.call(D,"POST",t)}},M=(r(61078),r(6208),wprm_admin.endpoints.template),P=[],N={},L=null,C={previewShortcode:function(e,t,r){var n=this;return N[e]=t,clearTimeout(L),L=setTimeout((function(){n.previewShortcodes(r)}),500),new Promise((function(e){return P.push(e)}))},previewShortcodes:function(e){var t=P,r=N;P=[],N={};var n={recipeId:e,shortcodes:r};fetch("".concat(M,"/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((function(e){return e.json().then((function(r){var n=e.ok?r.preview:{};t.forEach((function(e){return e(n)}))}))}))},searchRecipes:function(e){return 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((function(e){return e.json()}))},save:function(e){var t={template:e};return n.Z.call(M,"POST",t)},delete:function(e){var t={slug:e};return n.Z.call(M,"DELETE",t)}},j=wprm_admin.endpoints.utilities,k={saveImage:function(e){var t={url:e};return n.Z.call("".concat(j,"/save_image"),"POST",t)}},A=WPRecipeMaker["wp-recipe-maker/dist/shared"].hooks.applyFilters("api",{analytics:i,general:c,import:u,manage:g,modal:y,rating:I,recipe:x,settings:T,template:C,utilities:k})},46087:function(e,t,r){"use strict";r(26364),r(86632),r(61928),r(55862),r(31807),r(54883),r(10853),r(35054),r(45007),r(68995);function n(e){return(n="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)}t.Z={call:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=wprm_admin.api_nonce;"object"===n(window.wpApiSettings)&&window.wpApiSettings.nonce&&(o=window.wpApiSettings.nonce);var i={method:t,headers:{"X-WP-Nonce":o,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};return"PUT"!==t&&"DELETE"!==t||(i.method="POST",i.headers["X-HTTP-Method-Override"]=t),r&&(i.body=JSON.stringify(r)),fetch(e,i).then((function(t){if(t.ok)return t.json();console.log(e,i),console.log(t);var r="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",n="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.text().then((function(e){console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."):alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(e))}))}catch(o){console.log(o),alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(o))}return!1}))}}},48618:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});r(26364),r(86632),r(61928),r(54883),r(56908),r(10853),r(54130),r(33290),r(45007),r(68995);var n=r(89526);function o(e){return(o="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 i(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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==o(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=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&&a(e,t)}(u,e);var t,r,o,l=c(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=l.call(this,e)).state={hasError:!1,error:!1,info:!1},t}return t=u,(r=[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,info:t})}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.state.hasError?n.createElement("div",{className:"wprm-error-boundary"},n.createElement("p",null,n.createElement("strong",null,"Something went wrong"),n.createElement("br",null),"Please contact ",n.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," and send along the following information:"),n.createElement("pre",null,this.props.module?"Module: ".concat(this.props.module,"\n"):null,this.state.error?"Error: ".concat(this.state.error.toString(),"\n"):null,this.state.info?"Stack: ".concat(this.state.info.componentStack):null)):this.props.children)}}])&&i(t.prototype,r),o&&i(t,o),u}(n.Component)},62834:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(89526),o=r(49092),i=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+",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=function(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",l=!!e.hasOwnProperty("hidden")&&e.hidden;return l&&(r="",c+=" wprm-admin-icon-hidden"),n.createElement(i.Z,{content:r},n.createElement("span",{className:c,onClick:l?function(){}:e.onClick},n.createElement(o.Z,{src:t})))}},95075:function(e,t,r){"use strict";r(26364),r(19701),r(61078),r(80238),r(12938),r(80044),r(6208);var n=r(89526),o=r(20877);function i(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?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(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=function(e){if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return n.createElement(o.Tooltip,{html:n.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:function(e){return a(a({},e),{},{styles:a(a({},e.styles),{},{zIndex:1e5})})}},preventOverflow:{boundariesElement:"window"}}},style:t},e.children)}},52082:function(e,t,r){"use strict";r.d(t,{S:function(){return c}});r(26364),r(19701),r(61078),r(80238),r(12938),r(80044),r(6208);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 o(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){i(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 i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a={};function c(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=o(o({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=o(o({},a),wprm_admin.translations))},45177:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.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}},75017:function(e,t,r){var n=r(52786);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},6677:function(e,t,r){var n=r(52280),o=r(51569),i=r(86385),a=n("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},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}},20379:function(e,t,r){"use strict";var n=r(68671).forEach,o=r(54324),i=r(5673),a=o("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},84899:function(e,t,r){"use strict";var n=r(98166),o=r(30744),i=r(9637),a=r(68089),c=r(35108),l=r(35039),u=r(77193);e.exports=function(e){var t,r,s,p,d,f,m=o(e),g="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,b=void 0!==v,y=u(m),w=0;if(b&&(v=n(v,h>2?arguments[2]:void 0,2)),null==y||g==Array&&a(y))for(r=new g(t=c(m.length));t>w;w++)f=b?v(m[w],w):m[w],l(r,w,f);else for(d=(p=y.call(m)).next,r=new g;!(s=d.call(p)).done;w++)f=b?i(p,v,[s.value,w],!0):s.value,l(r,w,f);return r.length=w,r}},37190:function(e,t,r){var n=r(29580),o=r(35108),i=r(32565),a=function(e){return function(t,r,a){var c,l=n(t),u=o(l.length),s=i(a,u);if(e&&r!=r){for(;u>s;)if((c=l[s++])!=c)return!0}else for(;u>s;s++)if((e||s in l)&&l[s]===r)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},68671:function(e,t,r){var n=r(98166),o=r(78609),i=r(30744),a=r(35108),c=r(80150),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,s=4==e,p=6==e,d=5==e||p;return function(f,m,g,h){for(var v,b,y=i(f),w=o(y),I=n(m,g,3),S=a(w.length),E=0,x=h||c,D=t?x(f,S):r?x(f,0):void 0;S>E;E++)if((d||E in w)&&(b=I(v=w[E],E,y),e))if(t)D[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(D,v)}else if(s)return!1;return p?-1:u||s?s:D}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},82091:function(e,t,r){var n=r(79044),o=r(52280),i=r(11197),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},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),o=r(79044),i=r(40454),a=Object.defineProperty,c={},l=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var r=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,s=i(t,0)?t[0]:l,p=i(t,1)?t[1]:void 0;return c[e]=!!r&&!o((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,r.call(e,s,p)}))}},80150:function(e,t,r){var n=r(52786),o=r(71982),i=r(52280)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},9637:function(e,t,r){var n=r(83875);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){var i=e.return;throw void 0!==i&&n(i.call(e)),a}}},8662:function(e,t,r){var n=r(52280)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}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),o=r(79159),i=r(52280)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o: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),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},73870:function(e,t,r){var n=r(40454),o=r(31561),i=r(66012),a=r(86385);e.exports=function(e,t){for(var r=o(t),c=a.f,l=i.f,u=0;u<r.length;u++){var s=r[u];n(e,s)||c(e,s,l(t,s))}}},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(o){}}return!1}},25115:function(e,t,r){var n=r(79044);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},75304:function(e,t,r){var n=r(96411),o=/"/g;e.exports=function(e,t,r,i){var a=String(n(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+String(i).replace(o,""")+'"'),c+">"+a+"</"+t+">"}},6181:function(e,t,r){"use strict";var n=r(97022).IteratorPrototype,o=r(51569),i=r(69199),a=r(60878),c=r(44818),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,u,!1,!0),c[u]=l,e}},45899:function(e,t,r){var n=r(7493),o=r(86385),i=r(69199);e.exports=n?function(e,t,r){return o.f(e,t,i(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}}},35039:function(e,t,r){"use strict";var n=r(21893),o=r(86385),i=r(69199);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},61495:function(e,t,r){"use strict";var n=r(19882),o=r(6181),i=r(12654),a=r(22412),c=r(60878),l=r(45899),u=r(35974),s=r(52280),p=r(21178),d=r(44818),f=r(97022),m=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,h=s("iterator"),v="keys",b="values",y="entries",w=function(){return this};e.exports=function(e,t,r,s,f,I,S){o(r,t,s);var E,x,D,T=function(e){if(e===f&&C)return C;if(!g&&e in N)return N[e];switch(e){case v:case b:case y:return function(){return new r(this,e)}}return function(){return new r(this)}},M=t+" Iterator",P=!1,N=e.prototype,L=N[h]||N["@@iterator"]||f&&N[f],C=!g&&L||T(f),j="Array"==t&&N.entries||L;if(j&&(E=i(j.call(new e)),m!==Object.prototype&&E.next&&(p||i(E)===m||(a?a(E,m):"function"!=typeof E[h]&&l(E,h,w)),c(E,M,!0,!0),p&&(d[M]=w))),f==b&&L&&L.name!==b&&(P=!0,C=function(){return L.call(this)}),p&&!S||N[h]===C||l(N,h,C),d[t]=C,f)if(x={values:T(b),keys:I?C:T(v),entries:T(y)},S)for(D in x)(g||P||!(D in N))&&u(N,D,x[D]);else n({target:t,proto:!0,forced:g||P},x);return x}},68308:function(e,t,r){var n=r(67290),o=r(40454),i=r(20127),a=r(86385).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},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),o=r(52786),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},12848:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},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,o,i=r(98363),a=r(82647),c=i.process,l=c&&c.versions,u=l&&l.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),o=r(66012).f,i=r(45899),a=r(35974),c=r(51621),l=r(73870),u=r(86291);e.exports=function(e,t){var r,s,p,d,f,m=e.target,g=e.global,h=e.stat;if(r=g?n:h?n[m]||c(m,{}):(n[m]||{}).prototype)for(s in t){if(d=t[s],p=e.noTargetGet?(f=o(r,s))&&f.value:r[s],!u(g?s:m+(h?".":"#")+s,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(r,s,d,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),o=r(79044),i=r(52280),a=r(99749),c=r(45899),l=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),p=i("replace"),d=!!/./[p]&&""===/./[p]("a","$0"),f=!o((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,p){var m=i(e),g=!o((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),h=g&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[m]=/./[m]),r.exec=function(){return t=!0,null},r[m](""),!t}));if(!g||!h||"replace"===e&&(!u||!s||d)||"split"===e&&!f){var v=/./[m],b=r(m,""[e],(function(e,t,r,n,o){return t.exec===a?g&&!o?{done:!0,value:v.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),y=b[0],w=b[1];n(String.prototype,e,y),n(RegExp.prototype,m,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}p&&c(RegExp.prototype[m],"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,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},52381:function(e,t,r){"use strict";var n=r(28641),o=r(52786),i=[].slice,a={},c=function(e,t,r){if(!(t in a)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?c(t,n.length,n):t.apply(e,n)};return o(t.prototype)&&(a.prototype=t.prototype),a}},22773:function(e,t,r){var n=r(67290),o=r(98363),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},77193:function(e,t,r){var n=r(36994),o=r(44818),i=r(52280)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[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),o=r(79044),i=r(92750);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(79044),o=r(79159),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},59250:function(e,t,r){var n=r(52786),o=r(22412);e.exports=function(e,t,r){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},56429:function(e,t,r){var n=r(49415),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},20821:function(e,t,r){var n,o,i,a=r(36830),c=r(98363),l=r(52786),u=r(45899),s=r(40454),p=r(50466),d=r(47505),f=c.WeakMap;if(a){var m=new f,g=m.get,h=m.has,v=m.set;n=function(e,t){return v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return h.call(m,e)}}else{var b=p("state");d[b]=!0,n=function(e,t){return u(e,b,t),t},o=function(e){return s(e,b)?e[b]:{}},i=function(e){return s(e,b)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),o=r(44818),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},71982:function(e,t,r){var n=r(79159);e.exports=Array.isArray||function(e){return"Array"==n(e)}},86291:function(e,t,r){var n=r(79044),o=/#|\.prototype\./,i=function(e,t){var r=c[a(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},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),o=r(79159),i=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},5166:function(e,t,r){var n=r(83875),o=r(68089),i=r(35108),a=r(98166),c=r(77193),l=r(9637),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,s,p){var d,f,m,g,h,v,b,y=a(t,r,s?2:1);if(p)d=e;else{if("function"!=typeof(f=c(e)))throw TypeError("Target is not iterable");if(o(f)){for(m=0,g=i(e.length);g>m;m++)if((h=s?y(n(b=e[m])[0],b[1]):y(e[m]))&&h instanceof u)return h;return new u(!1)}d=f.call(e)}for(v=d.next;!(b=v.call(d)).done;)if("object"==typeof(h=l(d,y,b.value,s))&&h&&h instanceof u)return h;return new u(!1)}).stop=function(e){return new u(!0,e)}},97022:function(e,t,r){"use strict";var n,o,i,a=r(12654),c=r(45899),l=r(40454),u=r(52280),s=r(21178),p=u("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):d=!0),null==n&&(n={}),s||l(n,p)||c(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},44818:function(e){e.exports={}},71800:function(e,t,r){var n,o,i,a,c,l,u,s,p=r(98363),d=r(66012).f,f=r(79159),m=r(84643).set,g=r(53121),h=p.MutationObserver||p.WebKitMutationObserver,v=p.process,b=p.Promise,y="process"==f(v),w=d(p,"queueMicrotask"),I=w&&w.value;I||(n=function(){var e,t;for(y&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(r){throw o?a():i=void 0,r}}i=void 0,e&&e.enter()},y?a=function(){v.nextTick(n)}:h&&!g?(c=!0,l=document.createTextNode(""),new h(n).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(u=b.resolve(void 0),s=u.then,a=function(){s.call(u,n)}):a=function(){m.call(p,n)}),e.exports=I||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=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),o=r(56429),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},29269:function(e,t,r){"use strict";var n=r(28641),o=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 o(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}},51569:function(e,t,r){var n,o=r(83875),i=r(17840),a=r(48869),c=r(47505),l=r(47055),u=r(92750),s=r(50466),p=s("IE_PROTO"),d=function(){},f=function(e){return"<script>"+e+"</"+"script>"},m=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var e,t;m=n?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete m.prototype[a[r]];return m()};c[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d.prototype=o(e),r=new d,d.prototype=null,r[p]=e):r=m(),void 0===t?r:i(r,t)}},17840:function(e,t,r){var n=r(7493),o=r(86385),i=r(83875),a=r(60667);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),c=n.length,l=0;c>l;)o.f(e,r=n[l++],t[r]);return e}},86385:function(e,t,r){var n=r(7493),o=r(67548),i=r(83875),a=r(21893),c=Object.defineProperty;t.f=n?c:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)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),o=r(81513),i=r(69199),a=r(29580),c=r(21893),l=r(40454),u=r(67548),s=Object.getOwnPropertyDescriptor;t.f=n?s:function(e,t){if(e=a(e),t=c(t,!0),u)try{return s(e,t)}catch(r){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},74938:function(e,t,r){var n=r(29580),o=r(87994).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(t){return a.slice()}}(e):o(n(e))}},87994:function(e,t,r){var n=r(18794),o=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},12654:function(e,t,r){var n=r(40454),o=r(30744),i=r(50466),a=r(25115),c=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},18794:function(e,t,r){var n=r(40454),o=r(29580),i=r(37190).indexOf,a=r(47505);e.exports=function(e,t){var r,c=o(e),l=0,u=[];for(r in c)!n(a,r)&&n(c,r)&&u.push(r);for(;t.length>l;)n(c,r=t[l++])&&(~i(u,r)||u.push(r));return u}},60667:function(e,t,r){var n=r(18794),o=r(48869);e.exports=Object.keys||function(e){return n(e,o)}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},22412:function(e,t,r){var n=r(83875),o=r(75017);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(i){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},8765:function(e,t,r){var n=r(7493),o=r(60667),i=r(29580),a=r(81513).f,c=function(e){return function(t){for(var r,c=i(t),l=o(c),u=l.length,s=0,p=[];u>s;)r=l[s++],n&&!a.call(c,r)||p.push(e?[r,c[r]]:c[r]);return p}};e.exports={entries:c(!0),values:c(!1)}},36699:function(e,t,r){"use strict";var n=r(57301),o=r(36994);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},31561:function(e,t,r){var n=r(22773),o=r(87994),i=r(89612),a=r(83875);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.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),o=r(52786),i=r(29269);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.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 o in t)n(e,o,t[o],r);return e}},35974:function(e,t,r){var n=r(98363),o=r(45899),i=r(40454),a=r(51621),c=r(56429),l=r(20821),u=l.get,s=l.enforce,p=String(String).split("String");(e.exports=function(e,t,r,c){var l=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),s(r).source=p.join("string"==typeof t?t:"")),e!==n?(l?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=r:o(e,t,r)):u?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},94088:function(e,t,r){var n=r(79159),o=r(99749);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},99749:function(e,t,r){"use strict";var n,o,i=r(58083),a=r(97047),c=RegExp.prototype.exec,l=String.prototype.replace,u=c,s=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(s||d||p)&&(u=function(e){var t,r,n,o,a=this,u=p&&a.sticky,f=i.call(a),m=a.source,g=0,h=e;return u&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),h=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",h=" "+h,g++),r=new RegExp("^(?:"+m+")",f)),d&&(r=new RegExp("^"+m+"$(?!\\s)",f)),s&&(t=a.lastIndex),n=c.call(u?r:a,h),u?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:s&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),d&&n&&n.length>1&&l.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),e.exports=u},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 o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^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),o=r(45899);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},57323:function(e,t,r){"use strict";var n=r(22773),o=r(86385),i=r(52280),a=r(7493),c=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,o=r(40454),i=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),o=r(34524),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},49415:function(e,t,r){var n=r(98363),o=r(51621),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},53580:function(e,t,r){var n=r(21178),o=r(49415);(e.exports=function(e,t){return o[e]||(o[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),o=r(28641),i=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},13881:function(e,t,r){var n=r(79044);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},91140:function(e,t,r){var n=r(98330),o=r(96411),i=function(e){return function(t,r){var i,a,c=String(o(t)),l=n(r),u=c.length;return l<0||l>=u?e?"":void 0:(i=c.charCodeAt(l))<55296||i>56319||l+1===u||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},68487:function(e,t,r){var n=r(79044),o=r(2569);e.exports=function(e){return n((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},10287:function(e,t,r){var n=r(96411),o="["+r(2569)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(a,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},84643:function(e,t,r){var n,o,i,a=r(98363),c=r(79044),l=r(79159),u=r(98166),s=r(47055),p=r(92750),d=r(53121),f=a.location,m=a.setImmediate,g=a.clearImmediate,h=a.process,v=a.MessageChannel,b=a.Dispatch,y=0,w={},I="onreadystatechange",S=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){S(e)}},x=function(e){S(e.data)},D=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};m&&g||(m=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(y),y},g=function(e){delete w[e]},"process"==l(h)?n=function(e){h.nextTick(E(e))}:b&&b.now?n=function(e){b.now(E(e))}:v&&!d?(i=(o=new v).port2,o.port1.onmessage=x,n=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(D)||"file:"===f.protocol?n=I in p("script")?function(e){s.appendChild(p("script")).onreadystatechange=function(){s.removeChild(this),S(e)}}:function(e){setTimeout(E(e),0)}:(n=D,a.addEventListener("message",x,!1))),e.exports={set:m,clear:g}},32565:function(e,t,r){var n=r(98330),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},29580:function(e,t,r){var n=r(78609),o=r(96411);e.exports=function(e){return n(o(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),o=Math.min;e.exports=function(e){return e>0?o(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,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;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},20127:function(e,t,r){var n=r(52280);t.f=n},52280:function(e,t,r){var n=r(98363),o=r(53580),i=r(40454),a=r(34524),c=r(3850),l=r(189),u=o("wks"),s=n.Symbol,p=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(u,e)||(c&&i(s,e)?u[e]=s[e]:u[e]=p("Symbol."+e)),u[e]}},2569:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},55862:function(e,t,r){"use strict";var n=r(19882),o=r(79044),i=r(71982),a=r(52786),c=r(30744),l=r(35108),u=r(35039),s=r(80150),p=r(82091),d=r(52280),f=r(11197),m=d("isConcatSpreadable"),g=9007199254740991,h="Maximum allowed index exceeded",v=f>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=p("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!b},{concat:function(e){var t,r,n,o,i,a=c(this),p=s(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(y(i=-1===t?a:arguments[t])){if(d+(o=l(i.length))>g)throw TypeError(h);for(r=0;r<o;r++,d++)r in i&&u(p,d,i[r])}else{if(d>=g)throw TypeError(h);u(p,d++,i)}return p.length=d,p}})},19701:function(e,t,r){"use strict";var n=r(19882),o=r(68671).filter,i=r(82091),a=r(5673),c=i("filter"),l=a("filter");n({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},42900:function(e,t,r){"use strict";var n=r(19882),o=r(68671).find,i=r(6677),a=r(5673),c="find",l=!0,u=a(c);c in[]&&Array(1).find((function(){l=!1})),n({target:"Array",proto:!0,forced:l||!u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(c)},61078:function(e,t,r){"use strict";var n=r(19882),o=r(20379);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},4845:function(e,t,r){var n=r(19882),o=r(84899);n({target:"Array",stat:!0,forced:!r(8662)((function(e){Array.from(e)}))},{from:o})},18183:function(e,t,r){"use strict";var n=r(19882),o=r(37190).includes,i=r(6677);n({target:"Array",proto:!0,forced:!r(5673)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},31807:function(e,t,r){"use strict";var n=r(19882),o=r(37190).indexOf,i=r(54324),a=r(5673),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:l||!u||!s},{indexOf:function(e){return l?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},54883:function(e,t,r){"use strict";var n=r(29580),o=r(6677),i=r(44818),a=r(20821),c=r(61495),l="Array Iterator",u=a.set,s=a.getterFor(l);e.exports=c(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},85005:function(e,t,r){"use strict";var n=r(19882),o=r(78609),i=r(29580),a=r(54324),c=[].join,l=o!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:l||!u},{join:function(e){return c.call(i(this),void 0===e?",":e)}})},73214:function(e,t,r){"use strict";var n=r(19882),o=r(68671).map,i=r(82091),a=r(5673),c=i("map"),l=a("map");n({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},18821:function(e,t,r){"use strict";var n=r(19882),o=r(52786),i=r(71982),a=r(32565),c=r(35108),l=r(29580),u=r(35039),s=r(52280),p=r(82091),d=r(5673),f=p("slice"),m=d("slice",{ACCESSORS:!0,0:0,1:2}),g=s("species"),h=[].slice,v=Math.max;n({target:"Array",proto:!0,forced:!f||!m},{slice:function(e,t){var r,n,s,p=l(this),d=c(p.length),f=a(e,d),m=a(void 0===t?d:t,d);if(i(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[g])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(p,f,m);for(n=new(void 0===r?Array:r)(v(m-f,0)),s=0;f<m;f++,s++)f in p&&u(n,s,p[f]);return n.length=s,n}})},55281:function(e,t,r){"use strict";var n=r(19882),o=r(28641),i=r(30744),a=r(79044),c=r(54324),l=[],u=l.sort,s=a((function(){l.sort(void 0)})),p=a((function(){l.sort(null)})),d=c("sort");n({target:"Array",proto:!0,forced:s||!p||!d},{sort:function(e){return void 0===e?u.call(i(this)):u.call(i(this),o(e))}})},54994:function(e,t,r){var n=r(7493),o=r(86385).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/,l="name";n&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},80174:function(e,t,r){"use strict";var n=r(7493),o=r(98363),i=r(86291),a=r(35974),c=r(40454),l=r(79159),u=r(59250),s=r(21893),p=r(79044),d=r(51569),f=r(87994).f,m=r(66012).f,g=r(86385).f,h=r(10287).trim,v="Number",b=o.Number,y=b.prototype,w=l(d(y))==v,I=function(e){var t,r,n,o,i,a,c,l,u=s(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=h(u)).charCodeAt(0))||45===t){if(88===(r=u.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((l=i.charCodeAt(c))<48||l>o)return NaN;return parseInt(i,n)}return+u};if(i(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var S,E=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof E&&(w?p((function(){y.valueOf.call(r)})):l(r)!=v)?u(new b(I(t)),r,E):I(t)},x=n?f(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),D=0;x.length>D;D++)c(b,S=x[D])&&!c(E,S)&&g(E,S,m(b,S));E.prototype=y,y.constructor=E,a(o,v,E)}},80238:function(e,t,r){var n=r(19882),o=r(79044),i=r(29580),a=r(66012).f,c=r(7493),l=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},12938:function(e,t,r){var n=r(19882),o=r(7493),i=r(31561),a=r(29580),c=r(66012),l=r(35039);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=c.f,u=i(n),s={},p=0;u.length>p;)void 0!==(r=o(n,t=u[p++]))&&l(s,t,r);return s}})},56908:function(e,t,r){var n=r(19882),o=r(79044),i=r(30744),a=r(12654),c=r(25115);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},80044:function(e,t,r){var n=r(19882),o=r(30744),i=r(60667);n({target:"Object",stat:!0,forced:r(79044)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},10853:function(e,t,r){var n=r(57301),o=r(35974),i=r(36699);n||o(Object.prototype,"toString",i,{unsafe:!0})},19457:function(e,t,r){var n=r(19882),o=r(8765).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},35054:function(e,t,r){"use strict";var n,o,i,a,c=r(19882),l=r(21178),u=r(98363),s=r(22773),p=r(58369),d=r(35974),f=r(7592),m=r(60878),g=r(57323),h=r(52786),v=r(28641),b=r(9519),y=r(79159),w=r(56429),I=r(5166),S=r(8662),E=r(7270),x=r(84643).set,D=r(71800),T=r(11621),M=r(46271),P=r(29269),N=r(74443),L=r(20821),C=r(86291),j=r(52280),k=r(11197),A=j("species"),O="Promise",R=L.get,Z=L.set,H=L.getterFor(O),z=p,_=u.TypeError,B=u.document,G=u.process,U=s("fetch"),W=P.f,q=W,F="process"==y(G),V=!!(B&&B.createEvent&&u.dispatchEvent),J="unhandledrejection",Y=C(O,(function(){if(!(w(z)!==String(z))){if(66===k)return!0;if(!F&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!z.prototype.finally)return!0;if(k>=51&&/native code/.test(z))return!1;var e=z.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[A]=t,!(e.then((function(){}))instanceof t)})),Q=Y||!S((function(e){z.all(e).catch((function(){}))})),X=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},K=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;D((function(){for(var o=t.value,i=1==t.state,a=0;n.length>a;){var c,l,u,s=n[a++],p=i?s.ok:s.fail,d=s.resolve,f=s.reject,m=s.domain;try{p?(i||(2===t.rejection&&re(e,t),t.rejection=1),!0===p?c=o:(m&&m.enter(),c=p(o),m&&(m.exit(),u=!0)),c===s.promise?f(_("Promise-chain cycle")):(l=X(c))?l.call(c,d,f):d(c)):f(o)}catch(g){m&&!u&&m.exit(),f(g)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},$=function(e,t,r){var n,o;V?((n=B.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},(o=u["on"+e])?o(n):e===J&&M("Unhandled promise rejection",r)},ee=function(e,t){x.call(u,(function(){var r,n=t.value;if(te(t)&&(r=N((function(){F?G.emit("unhandledRejection",n,e):$(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){x.call(u,(function(){F?G.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(o){e(t,r,o,n)}},oe=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,K(e,t,!0))},ie=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw _("Promise can't be resolved itself");var o=X(r);o?D((function(){var n={done:!1};try{o.call(r,ne(ie,e,n,t),ne(oe,e,n,t))}catch(i){oe(e,n,i,t)}})):(t.value=r,t.state=1,K(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};Y&&(z=function(e){b(this,z,O),v(e),n.call(this);var t=R(this);try{e(ne(ie,this,t),ne(oe,this,t))}catch(r){oe(this,t,r)}},(n=function(e){Z(this,{type:O,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(z.prototype,{then:function(e,t){var r=H(this),n=W(E(this,z));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&&K(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=R(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(oe,e,t)},P.f=W=function(e){return e===z||e===i?new o(e):q(e)},l||"function"!=typeof p||(a=p.prototype.then,d(p.prototype,"then",(function(e,t){var r=this;return new z((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(z,U.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:z}),m(z,O,!1,!0),g(O),i=s(O),c({target:O,stat:!0,forced:Y},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:O,stat:!0,forced:l||Y},{resolve:function(e){return T(l&&this===i?z:this,e)}}),c({target:O,stat:!0,forced:Q},{all:function(e){var t=this,r=W(t),n=r.resolve,o=r.reject,i=N((function(){var r=v(t.resolve),i=[],a=0,c=1;I(e,(function(e){var l=a++,u=!1;i.push(void 0),c++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,o=N((function(){var o=v(t.resolve);I(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},54130:function(e,t,r){var n=r(19882),o=r(22773),i=r(28641),a=r(83875),c=r(52786),l=r(51569),u=r(52381),s=r(79044),p=o("Reflect","construct"),d=s((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),f=!s((function(){p((function(){}))})),m=d||f;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var r=arguments.length<3?e:i(arguments[2]);if(f&&!d)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(u.apply(e,n))}var o=r.prototype,s=l(c(o)?o:Object.prototype),m=Function.apply.call(e,s,t);return c(m)?m:s}})},39275:function(e,t,r){"use strict";var n=r(19882),o=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},33290:function(e,t,r){"use strict";var n=r(35974),o=r(83875),i=r(79044),a=r(58083),c="toString",l=RegExp.prototype,u=l.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=u.name!=c;(s||p)&&n(RegExp.prototype,c,(function(){var e=o(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in l)?a.call(e):r)}),{unsafe:!0})},19985:function(e,t,r){"use strict";var n=r(19882),o=r(21049),i=r(96411);n({target:"String",proto:!0,forced:!r(15454)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},45007:function(e,t,r){"use strict";var n=r(91140).charAt,o=r(20821),i=r(61495),a="String Iterator",c=o.set,l=o.getterFor(a);i(String,"String",(function(e){c(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},86125:function(e,t,r){"use strict";var n=r(19882),o=r(75304);n({target:"String",proto:!0,forced:r(13881)("link")},{link:function(e){return o(this,"a","href",e)}})},75668:function(e,t,r){"use strict";var n=r(81492),o=r(83875),i=r(35108),a=r(96411),c=r(13350),l=r(94088);n("match",1,(function(e,t,r){return[function(t){var r=a(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var a=o(e),u=String(this);if(!a.global)return l(a,u);var s=a.unicode;a.lastIndex=0;for(var p,d=[],f=0;null!==(p=l(a,u));){var m=String(p[0]);d[f]=m,""===m&&(a.lastIndex=c(u,i(a.lastIndex),s)),f++}return 0===f?null:d}]}))},22321:function(e,t,r){"use strict";var n=r(81492),o=r(83875),i=r(30744),a=r(35108),c=r(98330),l=r(96411),u=r(13350),s=r(94088),p=Math.max,d=Math.min,f=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var h=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,b=h?"$":"$0";return[function(r,n){var o=l(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,o,n):t.call(String(o),r,n)},function(e,n){if(!h&&v||"string"==typeof n&&-1===n.indexOf(b)){var i=r(t,e,this,n);if(i.done)return i.value}var l=o(e),f=String(this),m="function"==typeof n;m||(n=String(n));var g=l.global;if(g){var w=l.unicode;l.lastIndex=0}for(var I=[];;){var S=s(l,f);if(null===S)break;if(I.push(S),!g)break;""===String(S[0])&&(l.lastIndex=u(f,a(l.lastIndex),w))}for(var E,x="",D=0,T=0;T<I.length;T++){S=I[T];for(var M=String(S[0]),P=p(d(c(S.index),f.length),0),N=[],L=1;L<S.length;L++)N.push(void 0===(E=S[L])?E:String(E));var C=S.groups;if(m){var j=[M].concat(N,P,f);void 0!==C&&j.push(C);var k=String(n.apply(void 0,j))}else k=y(M,f,P,N,C,n);P>=D&&(x+=f.slice(D,P)+k,D=P+M.length)}return x+f.slice(D)}];function y(e,r,n,o,a,c){var l=n+e.length,u=o.length,s=g;return void 0!==a&&(a=i(a),s=m),t.call(c,s,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>u){var p=f(s/10);return 0===p?t:p<=u?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):t}c=o[s-1]}return void 0===c?"":c}))}}))},67838:function(e,t,r){"use strict";var n=r(81492),o=r(42622),i=r(83875),a=r(96411),c=r(7270),l=r(13350),u=r(35108),s=r(94088),p=r(99749),d=r(79044),f=[].push,m=Math.min,g=4294967295,h=!d((function(){return!RegExp(g,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),i=void 0===r?g:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,i);for(var c,l,u,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,d+"g");(c=p.call(h,n))&&!((l=h.lastIndex)>m&&(s.push(n.slice(m,c.index)),c.length>1&&c.index<n.length&&f.apply(s,c.slice(1)),u=c[0].length,m=l,s.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===n.length?!u&&h.test("")||s.push(""):s.push(n.slice(m)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,r):n.call(String(o),t,r)},function(e,o){var a=r(n,e,this,o,n!==t);if(a.done)return a.value;var p=i(e),d=String(this),f=c(p,RegExp),v=p.unicode,b=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(h?"y":"g"),y=new f(h?p:"^(?:"+p.source+")",b),w=void 0===o?g:o>>>0;if(0===w)return[];if(0===d.length)return null===s(y,d)?[d]:[];for(var I=0,S=0,E=[];S<d.length;){y.lastIndex=h?S:0;var x,D=s(y,h?d:d.slice(S));if(null===D||(x=m(u(y.lastIndex+(h?0:S)),d.length))===I)S=l(d,S,v);else{if(E.push(d.slice(I,S)),E.length===w)return E;for(var T=1;T<=D.length-1;T++)if(E.push(D[T]),E.length===w)return E;S=I=x}}return E.push(d.slice(I)),E}]}),!h)},29897:function(e,t,r){"use strict";var n=r(19882),o=r(10287).trim;n({target:"String",proto:!0,forced:r(68487)("trim")},{trim:function(){return o(this)}})},86632:function(e,t,r){"use strict";var n=r(19882),o=r(7493),i=r(98363),a=r(40454),c=r(52786),l=r(86385).f,u=r(73870),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var p={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new s(e):void 0===e?s():s(e);return""===e&&(p[t]=!0),t};u(d,s);var f=d.prototype=s.prototype;f.constructor=d;var m=f.toString,g="Symbol(test)"==String(s("test")),h=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=m.call(e);if(a(p,e))return"";var r=g?t.slice(7,-1):t.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:d})}},61928:function(e,t,r){r(68308)("iterator")},26364:function(e,t,r){"use strict";var n=r(19882),o=r(98363),i=r(22773),a=r(21178),c=r(7493),l=r(3850),u=r(189),s=r(79044),p=r(40454),d=r(71982),f=r(52786),m=r(83875),g=r(30744),h=r(29580),v=r(21893),b=r(69199),y=r(51569),w=r(60667),I=r(87994),S=r(74938),E=r(89612),x=r(66012),D=r(86385),T=r(81513),M=r(45899),P=r(35974),N=r(53580),L=r(50466),C=r(47505),j=r(34524),k=r(52280),A=r(20127),O=r(68308),R=r(60878),Z=r(20821),H=r(68671).forEach,z=L("hidden"),_="Symbol",B=k("toPrimitive"),G=Z.set,U=Z.getterFor(_),W=Object.prototype,q=o.Symbol,F=i("JSON","stringify"),V=x.f,J=D.f,Y=S.f,Q=T.f,X=N("symbols"),K=N("op-symbols"),$=N("string-to-symbol-registry"),ee=N("symbol-to-string-registry"),te=N("wks"),re=o.QObject,ne=!re||!re.prototype||!re.prototype.findChild,oe=c&&s((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=V(W,t);n&&delete W[t],J(e,t,r),n&&e!==W&&J(W,t,n)}:J,ie=function(e,t){var r=X[e]=y(q.prototype);return G(r,{type:_,tag:e,description:t}),c||(r.description=t),r},ae=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ce=function(e,t,r){e===W&&ce(K,t,r),m(e);var n=v(t,!0);return m(r),p(X,n)?(r.enumerable?(p(e,z)&&e[z][n]&&(e[z][n]=!1),r=y(r,{enumerable:b(0,!1)})):(p(e,z)||J(e,z,b(1,{})),e[z][n]=!0),oe(e,n,r)):J(e,n,r)},le=function(e,t){m(e);var r=h(t),n=w(r).concat(de(r));return H(n,(function(t){c&&!ue.call(r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=v(e,!0),r=Q.call(this,t);return!(this===W&&p(X,t)&&!p(K,t))&&(!(r||!p(this,t)||!p(X,t)||p(this,z)&&this[z][t])||r)},se=function(e,t){var r=h(e),n=v(t,!0);if(r!==W||!p(X,n)||p(K,n)){var o=V(r,n);return!o||!p(X,n)||p(r,z)&&r[z][n]||(o.enumerable=!0),o}},pe=function(e){var t=Y(h(e)),r=[];return H(t,(function(e){p(X,e)||p(C,e)||r.push(e)})),r},de=function(e){var t=e===W,r=Y(t?K:h(e)),n=[];return H(r,(function(e){!p(X,e)||t&&!p(W,e)||n.push(X[e])})),n};(l||(P((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=j(e),r=function(e){this===W&&r.call(K,e),p(this,z)&&p(this[z],t)&&(this[z][t]=!1),oe(this,t,b(1,e))};return c&&ne&&oe(W,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return U(this).tag})),P(q,"withoutSetter",(function(e){return ie(j(e),e)})),T.f=ue,D.f=ce,x.f=se,I.f=S.f=pe,E.f=de,A.f=function(e){return ie(k(e),e)},c&&(J(q.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||P(W,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),H(w(te),(function(e){O(e)})),n({target:_,stat:!0,forced:!l},{for:function(e){var t=String(e);if(p($,t))return $[t];var r=q(t);return $[t]=r,ee[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(p(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:se}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(g(e))}}),F)&&n({target:"JSON",stat:!0,forced:!l||s((function(){var e=q();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(f(t)||void 0!==e)&&!ae(e))return d(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),o[1]=t,F.apply(null,o)}});q.prototype[B]||M(q.prototype,B,q.prototype.valueOf),R(q,_),C[z]=!0},6208:function(e,t,r){var n=r(98363),o=r(12848),i=r(20379),a=r(45899);for(var c in o){var l=n[c],u=l&&l.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(s){u.forEach=i}}},68995:function(e,t,r){var n=r(98363),o=r(12848),i=r(54883),a=r(45899),c=r(52280),l=c("iterator"),u=c("toStringTag"),s=i.values;for(var p in o){var d=n[p],f=d&&d.prototype;if(f){if(f[l]!==s)try{a(f,l,s)}catch(g){f[l]=s}if(f[u]||a(f,u,p),o[p])for(var m in i)if(f[m]!==i[m])try{a(f,m,i[m])}catch(g){f[m]=i[m]}}}},87191:function(e,t,r){"use strict";r(19882)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},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 o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},2778:function(e,t,r){var n;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */e=r.nmd(e),function(o){var i=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/<\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,p={"":"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"},d=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\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]/,h=/&(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,v={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:""},b={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:"ÿ"},y={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],I=String.fromCharCode,S={}.hasOwnProperty,E=function(e,t){return S.call(e,t)},x=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=E(e,r)?e[r]:t[r];return n},D=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&P("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&P("disallowed character reference"),y[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(w,e)&&P("disallowed character reference"),e>65535&&(r+=I((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=I(e))},T=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},M=function(e){return"&#"+e+";"},P=function(e){throw Error("Parse error: "+e)},N=function(e,t){(t=x(t,N.options)).strict&&g.test(e)&&P("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?M:T,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(l,(function(e){return n&&E(p,e)?"&"+p[e]+";":a(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(s,(function(e){return"&"+p[e]+";"})))):n?(o||(e=e.replace(d,(function(e){return"&"+p[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(s,(function(e){return"&"+p[e]+";"}))):o||(e=e.replace(d,a)),e.replace(c,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(u,a)};N.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var L=function(e,t){var r=(t=x(t,L.options)).strict;return r&&m.test(e)&&P("malformed character reference"),e.replace(h,(function(e,n,o,i,a,c,l,u,s){var p,d,f,m,g,h;return n?v[g=n]:o?(g=o,(h=i)&&t.isAttributeValue?(r&&"="==h&&P("`&` did not start a character reference"),e):(r&&P("named character reference was not terminated by a semicolon"),b[g]+(h||""))):a?(f=a,d=c,r&&!d&&P("character reference was not terminated by a semicolon"),p=parseInt(f,10),D(p,r)):l?(m=l,d=u,r&&!d&&P("character reference was not terminated by a semicolon"),p=parseInt(m,16),D(p,r)):(r&&P("named character reference was not terminated by a semicolon"),e)}))};L.options={isAttributeValue:!1,strict:!1};var C={version:"1.2.0",encode:N,decode:L,escape:function(e){return e.replace(d,(function(e){return f[e]}))},unescape:L};void 0===(n=function(){return C}.call(t,r,t,e))||(e.exports=n)}()},88824:function(e,t,r){"use strict";r.d(t,{lX:function(){return y},q_:function(){return x},PP:function(){return T},ob:function(){return d},Ep:function(){return p}});var n=r(54381),o=r(51874),i=r(58872),a=r(53499);function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function s(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function d(e,t,r,i){var a;"string"==typeof e?(a=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(a=(0,n.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(c){throw c instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):c}return r&&(a.key=r),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,o.Z)(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function f(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var h="popstate",v="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),m||(0,a.Z)(!1);var t,r=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),l=e,y=l.forceRefresh,w=void 0!==y&&y,I=l.getUserConfirmation,S=void 0===I?g:I,E=l.keyLength,x=void 0===E?6:E,D=e.basename?s(c(e.basename)):"";function T(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return D&&(i=u(i,D)),d(i,n,r)}function M(){return Math.random().toString(36).substr(2,x)}var P=f();function N(e){(0,n.Z)(B,e),B.length=r.length,P.notifyListeners(B.location,B.action)}function L(e){(function(e){void 0===e.state&&navigator.userAgent.indexOf("CriOS")})(e)||k(T(e.state))}function C(){k(T(b()))}var j=!1;function k(e){if(j)j=!1,N();else{P.confirmTransitionTo(e,"POP",S,(function(t){t?N({action:"POP",location:e}):function(e){var t=B.location,r=O.indexOf(t.key);-1===r&&(r=0);var n=O.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(j=!0,Z(o))}(e)}))}}var A=T(b()),O=[A.key];function R(e){return D+p(e)}function Z(e){r.go(e)}var H=0;function z(e){1===(H+=e)&&1===e?(window.addEventListener(h,L),i&&window.addEventListener(v,C)):0===H&&(window.removeEventListener(h,L),i&&window.removeEventListener(v,C))}var _=!1;var B={length:r.length,action:"POP",location:A,createHref:R,push:function(e,t){var n="PUSH",i=d(e,t,M(),B.location);P.confirmTransitionTo(i,n,S,(function(e){if(e){var t=R(i),a=i.key,c=i.state;if(o)if(r.pushState({key:a,state:c},null,t),w)window.location.href=t;else{var l=O.indexOf(B.location.key),u=O.slice(0,-1===l?0:l+1);u.push(i.key),O=u,N({action:n,location:i})}else window.location.href=t}}))},replace:function(e,t){var n="REPLACE",i=d(e,t,M(),B.location);P.confirmTransitionTo(i,n,S,(function(e){if(e){var t=R(i),a=i.key,c=i.state;if(o)if(r.replaceState({key:a,state:c},null,t),w)window.location.replace(t);else{var l=O.indexOf(B.location.key);-1!==l&&(O[l]=i.key),N({action:n,location:i})}else window.location.replace(t)}}))},go:Z,goBack:function(){Z(-1)},goForward:function(){Z(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return _||(z(1),_=!0),function(){return _&&(_=!1,z(-1)),t()}},listen:function(e){var t=P.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var w="hashchange",I={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)}function x(e){void 0===e&&(e={}),m||(0,a.Z)(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),o=r.getUserConfirmation,l=void 0===o?g:o,h=r.hashType,v=void 0===h?"slash":h,b=e.basename?s(c(e.basename)):"",y=I[v],x=y.encodePath,D=y.decodePath;function T(){var e=D(S());return b&&(e=u(e,b)),d(e)}var M=f();function P(e){(0,n.Z)(_,e),_.length=t.length,M.notifyListeners(_.location,_.action)}var N=!1,L=null;function C(){var e,t,r=S(),n=x(r);if(r!==n)E(n);else{var o=T(),a=_.location;if(!N&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.Z)(e.state,t.state)))return;if(L===p(o))return;L=null,function(e){if(N)N=!1,P();else{var t="POP";M.confirmTransitionTo(e,t,l,(function(r){r?P({action:t,location:e}):function(e){var t=_.location,r=O.lastIndexOf(p(t));-1===r&&(r=0);var n=O.lastIndexOf(p(e));-1===n&&(n=0);var o=r-n;o&&(N=!0,R(o))}(e)}))}}(o)}}var j=S(),k=x(j);j!==k&&E(k);var A=T(),O=[p(A)];function R(e){t.go(e)}var Z=0;function H(e){1===(Z+=e)&&1===e?window.addEventListener(w,C):0===Z&&window.removeEventListener(w,C)}var z=!1;var _={length:t.length,action:"POP",location:A,createHref:function(e){return"#"+x(b+p(e))},push:function(e,t){var r="PUSH",n=d(e,void 0,void 0,_.location);M.confirmTransitionTo(n,r,l,(function(e){if(e){var t=p(n),o=x(b+t);if(S()!==o){L=t,function(e){window.location.hash=e}(o);var i=O.lastIndexOf(p(_.location)),a=O.slice(0,-1===i?0:i+1);a.push(t),O=a,P({action:r,location:n})}else P()}}))},replace:function(e,t){var r="REPLACE",n=d(e,void 0,void 0,_.location);M.confirmTransitionTo(n,r,l,(function(e){if(e){var t=p(n),o=x(b+t);S()!==o&&(L=t,E(o));var i=O.indexOf(p(_.location));-1!==i&&(O[i]=t),P({action:r,location:n})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return z||(H(1),z=!0),function(){return z&&(z=!1,H(-1)),t()}},listen:function(e){var t=M.appendListener(e);return H(1),function(){H(-1),t()}}};return _}function D(e,t,r){return Math.min(Math.max(e,t),r)}function T(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,l=t.keyLength,u=void 0===l?6:l,s=f();function m(e){(0,n.Z)(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function g(){return Math.random().toString(36).substr(2,u)}var h=D(c,0,i.length-1),v=i.map((function(e){return d(e,void 0,"string"==typeof e?g():e.key||g())})),b=p;function y(e){var t=D(w.index+e,0,w.entries.length-1),n=w.entries[t];s.confirmTransitionTo(n,"POP",r,(function(e){e?m({action:"POP",location:n,index:t}):m()}))}var w={length:v.length,action:"POP",location:v[h],index:h,entries:v,createHref:b,push:function(e,t){var n="PUSH",o=d(e,t,g(),w.location);s.confirmTransitionTo(o,n,r,(function(e){if(e){var t=w.index+1,r=w.entries.slice(0);r.length>t?r.splice(t,r.length-t,o):r.push(o),m({action:n,location:o,index:t,entries:r})}}))},replace:function(e,t){var n="REPLACE",o=d(e,t,g(),w.location);s.confirmTransitionTo(o,n,r,(function(e){e&&(w.entries[w.index]=o,m({action:n,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},54381:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},41281:function(e,t,r){"use strict";var n=r(338),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||o}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,s=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=f(r);o&&o!==m&&e(t,o,n)}var a=s(r);p&&(a=a.concat(p(r)));for(var c=l(t),g=l(r),h=0;h<a.length;++h){var v=a[h];if(!(i[v]||n&&n[v]||g&&g[v]||c&&c[v])){var b=d(r,v);try{u(t,v,b)}catch(y){}}}return t}return t}},47905:function(e,t,r){"use strict";var n=r(89526),o=r(45177),i=r(2652),a=r.n(i),c=1073741823,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var s=n.createContext||function(e,t){var r,i,s,p="__create-react-context-"+((l[s="__global_unique_id__"]=(l[s]||0)+1)+"__"),d=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}(0,o.Z)(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[p]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((i=n)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?r=0:(r="function"==typeof t?t(n,o):c,0!==(r|=0)&&this.emitter.set(e.value,r))}var i,a},n.render=function(){return this.props.children},r}(n.Component);d.childContextTypes=((r={})[p]=a().object.isRequired,r);var f=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}(0,o.Z)(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},n.componentDidMount=function(){this.context[p]&&this.context[p].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},n.componentWillUnmount=function(){this.context[p]&&this.context[p].off(this.onUpdate)},n.getValue=function(){return this.context[p]?this.context[p].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(n.Component);return f.contextTypes=((i={})[p]=a().object,i),{Provider:d,Consumer:f}};t.Z=s},39455:function(e,t,r){var n=r(99677);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t))},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var r,n=[],i=0,a=0,c="",s=t&&t.delimiter||"/";null!=(r=o.exec(e));){var p=r[0],d=r[1],f=r.index;if(c+=e.slice(a,f),a=f+p.length,d)c+=d[1];else{var m=e[a],g=r[2],h=r[3],v=r[4],b=r[5],y=r[6],w=r[7];c&&(n.push(c),c="");var I=null!=g&&null!=m&&m!==g,S="+"===y||"*"===y,E="?"===y||"*"===y,x=r[2]||s,D=v||b;n.push({name:h||i++,prefix:g||"",delimiter:x,optional:E,repeat:S,partial:I,asterisk:!!w,pattern:D?u(D):w?".*":"[^"+l(x)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&n.push(c),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e){for(var t=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,o){for(var i="",c=r||{},l=(o||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var s=e[u];if("string"!=typeof s){var p,d=c[s.name];if(null==d){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(n(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var f=0;f<d.length;f++){if(p=l(d[f]),!t[u].test(p))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===f?s.prefix:s.delimiter)+p}}else{if(p=s.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(d),!t[u].test(p))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+p+'"');i+=s.prefix+p}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function p(e){return e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,i=!1!==r.end,a="",c=0;c<e.length;c++){var u=e[c];if("string"==typeof u)a+=l(u);else{var d=l(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+d+f+")*"),a+=f=u.optional?u.partial?d+"("+f+")?":"(?:"+d+"("+f+"))?":d+"("+f+")"}}var m=l(r.delimiter||"/"),g=a.slice(-m.length)===m;return o||(a=(g?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":o&&g?"":"(?="+m+"|$)",s(new RegExp("^"+a,p(r)),t)}function f(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(f(e[o],t,r).source);return s(new RegExp("(?:"+n.join("|")+")",p(r)),t)}(e,t,r):function(e,t,r){return d(i(e,r),t,r)}(e,t,r)}},99677:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},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,7 +33,7 @@ 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 n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],i=0,a=0;a<o.length;a+=1)if(n&&navigator.userAgent.indexOf(o[a])>=0){i=1;break}var c=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?e:p(s(e))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function m(e){return 11===e?d:10===e?f:d||f}function g(e){if(!e)return document.documentElement;for(var t=m(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===u(r,"position")?g(r):r:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,o=r?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var a,c,l=i.commonAncestorContainer;if(e!==l&&t!==l||n.contains(o))return"BODY"===(c=(a=l).nodeName)||"HTML"!==c&&g(a.firstElementChild)!==a?g(l):l;var u=h(e);return u.host?v(u.host,t):v(e,h(t).host)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[r]}return e[r]}function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(t,"top"),o=b(t,"left"),i=r?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=o*i,e.right+=o*i,e}function w(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"],10)+parseFloat(e["border"+n+"Width"],10)}function I(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],m(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function S(e){var t=e.body,r=e.documentElement,n=m(10)&&getComputedStyle(r);return{height:I("Height",t,r,n),width:I("Width",t,r,n)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},x=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}}(),D=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},T=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};function M(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function P(e){var t={};try{if(m(10)){t=e.getBoundingClientRect();var r=b(e,"top"),n=b(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(d){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?S(e.ownerDocument):{},a=i.width||e.clientWidth||o.right-o.left,c=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,s=e.offsetHeight-c;if(l||s){var p=u(e);l-=w(p,"x"),s-=w(p,"y"),o.width-=l,o.height-=s}return M(o)}function N(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=m(10),o="HTML"===t.nodeName,i=P(e),a=P(t),c=p(e),l=u(t),s=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);r&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=M({top:i.top-a.top-s,left:i.left-a.left-d,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var g=parseFloat(l.marginTop,10),h=parseFloat(l.marginLeft,10);f.top-=s-g,f.bottom-=s-g,f.left-=d-h,f.right-=d-h,f.marginTop=g,f.marginLeft=h}return(n&&!r?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(f=y(f,t)),f}function L(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=N(e,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:b(r),c=t?0:b(r,"left"),l={top:a-n.top+n.marginTop,left:c-n.left+n.marginLeft,width:o,height:i};return M(l)}function C(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var r=s(e);return!!r&&C(r)}function j(e){if(!e||!e.parentElement||m())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?j(e):v(e,t);if("viewport"===n)i=L(a,o);else{var c=void 0;"scrollParent"===n?"BODY"===(c=p(s(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===n?e.ownerDocument.documentElement:n;var l=N(c,a,o);if("HTML"!==c.nodeName||C(a))i=l;else{var u=S(e.ownerDocument),d=u.height,f=u.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=f+l.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function A(e){return e.width*e.height}function O(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(r,n,i,o),c={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(c).map((function(e){return T({key:e},c[e],{area:A(c[e])})})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),s=u.length>0?u[0].key:l[0].key,p=e.split("-")[1];return s+(p?"-"+p:"")}function R(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?j(t):v(t,r);return N(r,o,n)}function Z(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function H(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,r){r=r.split("-")[0];var n=Z(e),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",c=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-n[l]/2,o[c]=r===c?t[c]-n[u]:t[H(c)],o}function _(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=_(e,(function(e){return e[t]===r}));return e.indexOf(n)}(e,"name",r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=M(t.offsets.popper),t.offsets.reference=M(t.offsets.reference),t=r(t,e))})),t}function G(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=B(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function W(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],i=o?""+o+r:e;if(void 0!==document.body.style[i])return i}return null}function q(){return this.state.isDestroyed=!0,U(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[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,r,n){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||V(p(i.parentNode),t,r,n),n.push(i)}function J(e,t,r,n){r.updateBound=n,F(e).addEventListener("resize",r.updateBound,{passive:!0});var o=p(e);return V(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function Y(){this.state.eventsEnabled||(this.state=J(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,F(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function X(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(t[r])&&(n="px"),e.style[r]=t[r]+n}))}var $=n&&/Firefox/i.test(navigator.userAgent);function ee(e,t,r){var n=_(e,(function(e){return e.name===t})),o=!!n&&e.some((function(e){return e.name===r&&e.enabled&&e.order<n.order}));if(!o){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var te=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],re=te.slice(3);function ne(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=re.indexOf(e),n=re.slice(r+1).concat(re.slice(0,r));return t?n.reverse():n}var oe="flip",ie="clockwise",ae="counterclockwise";function ce(e,t,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),c=a.indexOf(_(a,(function(e){return-1!==e.search(/,|\s/)})));a[c]&&-1===a[c].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==c?[a.slice(0,c).concat([a[c].split(l)[0]]),[a[c].split(l)[1]].concat(a.slice(c+1))]:[a];return(u=u.map((function(e,n){var o=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var c=void 0;switch(a){case"%p":c=r;break;case"%":case"%r":default:c=n}return M(c)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,r)}))}))).forEach((function(e,t){e.forEach((function(r,n){X(r)&&(o[t]+=r*("-"===e[n-1]?-1:1))}))})),o}var le={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper,c=-1!==["bottom","top"].indexOf(r),l=c?"left":"top",u=c?"width":"height",s={start:D({},l,i[l]),end:D({},l,i[l]+i[u]-a[u])};e.offsets.popper=T({},a,s[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r=t.offset,n=e.placement,o=e.offsets,i=o.popper,a=o.reference,c=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:ce(r,i,a,c),"left"===c?(i.top+=l[0],i.left-=l[1]):"right"===c?(i.top+=l[0],i.left+=l[1]):"top"===c?(i.left+=l[0],i.top-=l[1]):"bottom"===c&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||g(e.instance.popper);e.instance.reference===r&&(r=g(r));var n=W("transform"),o=e.instance.popper.style,i=o.top,a=o.left,c=o[n];o.top="",o.left="",o[n]="";var l=k(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);o.top=i,o.left=a,o[n]=c,t.boundaries=l;var u=t.priority,s=e.offsets.popper,p={primary:function(e){var r=s[e];return s[e]<l[e]&&!t.escapeWithReference&&(r=Math.max(s[e],l[e])),D({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=s[r];return s[e]>l[e]&&!t.escapeWithReference&&(n=Math.min(s[r],l[e]-("right"===e?s.width:s.height))),D({},r,n)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=T({},s,p[t](e))})),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),c=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return r[c]<i(n[l])&&(e.offsets.popper[l]=i(n[l])-r[u]),r[l]>i(n[c])&&(e.offsets.popper[l]=i(n[c])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!ee(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,c=i.reference,l=-1!==["left","right"].indexOf(o),s=l?"height":"width",p=l?"Top":"Left",d=p.toLowerCase(),f=l?"left":"top",m=l?"bottom":"right",g=Z(n)[s];c[m]-g<a[d]&&(e.offsets.popper[d]-=a[d]-(c[m]-g)),c[d]+g>a[m]&&(e.offsets.popper[d]+=c[d]+g-a[m]),e.offsets.popper=M(e.offsets.popper);var h=c[d]+c[s]/2-g/2,v=u(e.instance.popper),b=parseFloat(v["margin"+p],10),y=parseFloat(v["border"+p+"Width"],10),w=h-e.offsets.popper[d]-b-y;return w=Math.max(Math.min(a[s]-g,w),0),e.arrowElement=n,e.offsets.arrow=(D(r={},d,Math.round(w)),D(r,f,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=H(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case oe:a=[n,o];break;case ie:a=ne(n);break;case ae:a=ne(n,!0);break;default:a=t.behavior}return a.forEach((function(c,l){if(n!==c||a.length===l+1)return e;n=e.placement.split("-")[0],o=H(n);var u=e.offsets.popper,s=e.offsets.reference,p=Math.floor,d="left"===n&&p(u.right)>p(s.left)||"right"===n&&p(u.left)<p(s.right)||"top"===n&&p(u.bottom)>p(s.top)||"bottom"===n&&p(u.top)<p(s.bottom),f=p(u.left)<p(r.left),m=p(u.right)>p(r.right),g=p(u.top)<p(r.top),h=p(u.bottom)>p(r.bottom),v="left"===n&&f||"right"===n&&m||"top"===n&&g||"bottom"===n&&h,b=-1!==["top","bottom"].indexOf(n),y=!!t.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&m||!b&&"start"===i&&g||!b&&"end"===i&&h),w=!!t.flipVariationsByContent&&(b&&"start"===i&&m||b&&"end"===i&&f||!b&&"start"===i&&h||!b&&"end"===i&&g),I=y||w;(d||v||I)&&(e.flipped=!0,(d||v)&&(n=a[l+1]),I&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=T({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=B(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,o=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(r),c=-1===["top","left"].indexOf(r);return o[a?"left":"top"]=i[r]-(c?o[a?"width":"height"]:0),e.placement=H(t),e.offsets.popper=M(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ee(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=_(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,n=t.y,o=e.offsets.popper,i=_(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,c=g(e.instance.popper),l=P(c),u={position:o.position},s=function(e,t){var r=e.offsets,n=r.popper,o=r.reference,i=Math.round,a=Math.floor,c=function(e){return e},l=i(o.width),u=i(n.width),s=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),d=t?s||p||l%2==u%2?i:a:c,f=t?i:c;return{left:d(l%2==1&&u%2==1&&!p&&t?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:d(n.right)}}(e,window.devicePixelRatio<2||!$),p="bottom"===r?"top":"bottom",d="right"===n?"left":"right",f=W("transform"),m=void 0,h=void 0;if(h="bottom"===p?"HTML"===c.nodeName?-c.clientHeight+s.bottom:-l.height+s.bottom:s.top,m="right"===d?"HTML"===c.nodeName?-c.clientWidth+s.right:-l.width+s.right:s.left,a&&f)u[f]="translate3d("+m+"px, "+h+"px, 0)",u[p]=0,u[d]=0,u.willChange="transform";else{var v="bottom"===p?-1:1,b="right"===d?-1:1;u[p]=h*v,u[d]=m*b,u.willChange=p+", "+d}var y={"x-placement":e.placement};return e.attributes=T({},y,e.attributes),e.styles=T({},u,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return K(e.instance.popper,e.styles),t=e.instance.popper,r=e.attributes,Object.keys(r).forEach((function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,o){var i=R(o,t,e,r.positionFixed),a=O(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},ue=function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=c(this.update.bind(this)),this.options=T({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){n.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return T({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return x(e,[{key:"update",value:function(){return G.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),e}();ue.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,ue.placements=te,ue.Defaults=le,t.default=ue},5372:function(e,t,r){"use strict";var n=r(49567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},2652:function(e,t,r){e.exports=r(5372)()},49567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},50310:function(e,t,r){"use strict";r.d(t,{XQ:function(){return o},Un:function(){return i},Qc:function(){return a}});var n=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=function(e){return e.split(/ ?; ?/).reduce((function(e,t){var r=n(t.split(/ ?: ?/),2),o=r[0],i=r[1];return o&&i&&(e[o.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))]=Number.isNaN(Number(i))?i:Number(i)),e}),{})},i=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],a={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"}},88041:function(e,t,r){"use strict";r.d(t,{ZP:function(){return u}});var n=r(89526),o=r(50310),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},c=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e};function l(e,t){var r;if(void 0===t&&(t={}),!(e&&e instanceof Node))return null;var a,u=t.actions,s=void 0===u?[]:u,p=t.index,d=void 0===p?0:p,f=t.level,m=void 0===f?0:f,g=e,h=m+"-"+d,v=[];if(Array.isArray(s)&&s.forEach((function(t){t.condition(g,h,m)&&("function"==typeof t.pre&&((g=t.pre(g,h,m))instanceof Node||(g=e)),"function"==typeof t.post&&v.push(t.post(g,h,m)))})),v.length)return v;switch(g.nodeType){case 1:return n.createElement((a=g.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(a)?a:a.toLowerCase()),function(e,t){var r={key:t};if(e instanceof Element){var n=e.getAttribute("class");n&&(r.className=n),c(e.attributes).forEach((function(e){switch(e.name){case"class":break;case"style":r[e.name]=(0,o.XQ)(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[o.Qc[e.name]||e.name]=!0;break;default:r[o.Qc[e.name]||e.name]=e.value}}))}return r}(g,h),function(e,t,r){var n=c(e).map((function(e,n){return l(e,i(i({},r),{index:n,level:t+1}))})).filter(Boolean);return n.length?n:null}(g.childNodes,m,t));case 3:var b=(null===(r=g.nodeValue)||void 0===r?void 0:r.toString())||"";if(/^\s+$/.test(b)&&!/[\u202F\u00A0]/.test(b))return null;if(!g.parentNode)return b;var y=g.parentNode.nodeName.toLowerCase();return-1!==o.Un.indexOf(y)?(/\S/.test(b)&&console.warn("A textNode is not allowed inside '"+y+"'. Your text \""+b+'" will be ignored'),null):b;case 8:default:return null}}function u(e,t){return void 0===t&&(t={}),"string"==typeof e?function(e,t){if(void 0===t&&(t={}),!e||"string"!=typeof e)return null;var r=t.nodeOnly,n=void 0!==r&&r,o=t.selector,i=void 0===o?"body > *":o,a=t.type,c=void 0===a?"text/html":a;try{var u=(new DOMParser).parseFromString(e,c).querySelector(i);if(!(u instanceof Node))throw new Error("Error parsing input");return n?u:l(u,t)}catch(s){}return null}(e,t):e instanceof Node?l(e,t):null}},8126:function(e,t,r){"use strict";r.d(t,{Q_:function(){return o},Nq:function(){return i},Q6:function(){return a},O1:function(){return c}});var n=r(37941),o={FAILED:"failed",LOADED:"loaded",LOADING:"loading",PENDING:"pending",READY:"ready",UNSUPPORTED:"unsupported"};function i(){return n.canUseDOM}function a(){return function(){if(!document)return!1;var e=document.createElement("div");return e.innerHTML="<svg />",!!e.firstChild&&"http://www.w3.org/2000/svg"===e.firstChild.namespaceURI}()&&"undefined"!=typeof window&&null!==window}function c(e){for(var t,r="abcdefghijklmnopqrstuvwxyz",n=""+r+r.toUpperCase()+"1234567890",o="",i=0;i<e;i++)o+=(t=n)[Math.floor(Math.random()*t.length)];return o}},49092:function(e,t,r){"use strict";var n,o=r(89526),i=r(88041),a=r(8126),c=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},s=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},p=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e},d=Object.create(null),f=function(e){function t(t){var r=e.call(this,t)||this;return r.isActive=!1,r.handleCacheQueue=function(e){"string"!=typeof e?r.handleError(e):r.handleLoad(e)},r.handleLoad=function(e){r.isActive&&r.setState({content:e,status:a.Q_.LOADED},r.getElement)},r.handleError=function(e){var t=r.props.onError,n="Browser does not support SVG"===e.message?a.Q_.UNSUPPORTED:a.Q_.FAILED;r.isActive&&r.setState({status:n},(function(){"function"==typeof t&&t(e)}))},r.request=function(){var e=r.props,t=e.cacheRequests,n=e.src;try{return t&&(d[n]={content:"",status:a.Q_.LOADING,queue:[]}),fetch(n).then((function(e){var t=e.headers.get("content-type"),r=s((t||"").split(/ ?; ?/),1)[0];if(e.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((function(e){return r.indexOf(e)>=0})))throw new Error("Content type isn't valid: "+r);return e.text()})).then((function(e){if(r.handleLoad(e),t){var o=d[n];o&&(o.content=e,o.status=a.Q_.LOADED,o.queue=o.queue.filter((function(t){return t(e),!1})))}})).catch((function(e){if(r.handleError(e),t){var o=d[n];o&&(o.queue.forEach((function(t){t(e)})),delete d[n])}}))}catch(o){return r.handleError(new Error(o.message))}},r.state={content:"",element:null,hasCache:!!t.cacheRequests&&!!d[t.src],status:a.Q_.PENDING},r.hash=t.uniqueHash||(0,a.O1)(8),r}return c(t,e),t.prototype.componentDidMount=function(){if(this.isActive=!0,(0,a.Nq)()){var e=this.state.status,t=this.props.src;try{if(e===a.Q_.PENDING){if(!(0,a.Q6)())throw new Error("Browser does not support SVG");if(!t)throw new Error("Missing src");this.load()}}catch(r){this.handleError(r)}}},t.prototype.componentDidUpdate=function(e,t){if((0,a.Nq)()){var r=this.state,n=r.hasCache,o=r.status,i=this.props,c=i.onLoad,l=i.src;if(t.status!==a.Q_.READY&&o===a.Q_.READY&&c&&c(l,n),e.src!==l){if(!l)return void this.handleError(new Error("Missing src"));this.load()}}},t.prototype.componentWillUnmount=function(){this.isActive=!1},t.prototype.processSVG=function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e},t.prototype.updateSVGAttributes=function(e){var t=this,r=this.props,n=r.baseURL,o=void 0===n?"":n,i=r.uniquifyIDs,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],c=["href","xlink:href"];return i?(p(e.children).map((function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map((function(e){var r=e,n=e.value.match(/url\((.*?)\)/);return n&&n[1]&&(r.value=e.value.replace(n[0],"url("+o+n[1]+"__"+t.hash+")")),r}));a.forEach((function(e){var n,o,i=r.find((function(t){return t.name===e}));!i||(n=e,o=i.value,c.indexOf(n)>=0&&o&&o.indexOf("#")<0)||(i.value=i.value+"__"+t.hash)}))}return e.children.length?t.updateSVGAttributes(e):e})),e):e},t.prototype.getNode=function(){var e=this.props,t=e.description,r=e.title;try{var n=this.processSVG(),o=(0,i.ZP)(n,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");var a=this.updateSVGAttributes(o);if(t){var c=a.querySelector("desc");c&&c.parentNode&&c.parentNode.removeChild(c);var l=document.createElement("desc");l.innerHTML=t,a.prepend(l)}if(r){var u=a.querySelector("title");u&&u.parentNode&&u.parentNode.removeChild(u);var s=document.createElement("title");s.innerHTML=r,a.prepend(s)}return a}catch(p){return this.handleError(p)}},t.prototype.getElement=function(){try{var e=this.getNode(),t=(0,i.ZP)(e);if(!t||!o.isValidElement(t))throw new Error("Could not convert the src to a React element");this.setState({element:t,status:a.Q_.READY})}catch(r){this.handleError(new Error(r.message))}},t.prototype.load=function(){var e=this;this.isActive&&this.setState({content:"",element:null,status:a.Q_.LOADING},(function(){var t=e.props,r=t.cacheRequests,n=t.src,o=r&&d[n];if(o)o.status===a.Q_.LOADING?o.queue.push(e.handleCacheQueue):o.status===a.Q_.LOADED&&e.handleLoad(o.content);else{var i,c=n.match(/data:image\/svg[^,]*?(;base64)?,(.*)/);c?i=c[1]?atob(c[2]):decodeURIComponent(c[2]):n.indexOf("<svg")>=0&&(i=n),i?e.handleLoad(i):e.request()}}))},t.prototype.render=function(){var e=this.state,t=e.element,r=e.status,n=this.props,i=(n.baseURL,n.cacheRequests,n.children),c=void 0===i?null:i,s=(n.description,n.innerRef),p=n.loader,d=void 0===p?null:p,f=(n.onError,n.onLoad,n.preProcessor,n.src,n.title,n.uniqueHash,n.uniquifyIDs,u(n,["baseURL","cacheRequests","children","description","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs"]));return(0,a.Nq)()?t?o.cloneElement(t,l({ref:s},f)):[a.Q_.UNSUPPORTED,a.Q_.FAILED].indexOf(r)>-1?c:d:d},t.defaultProps={cacheRequests:!0,uniquifyIDs:!1},t}(o.PureComponent);t.Z=f},24821:function(e,t){"use strict";
|
37 |
/** @license React v16.8.3
|
38 |
* react-is.production.min.js
|
39 |
*
|
@@ -41,4 +41,4 @@ var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Triden
|
|
41 |
*
|
42 |
* This source code is licensed under the MIT license found in the
|
43 |
* LICENSE file in the root directory of this source tree.
|
44 |
-
*/Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case p:case i:case c:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case g:case m:case o:return t}}}function v(e){return h(e)===p}t.typeOf=h,t.AsyncMode=s,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===a||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isAsyncMode=function(e){return v(e)||h(e)===s},t.isConcurrentMode=v,t.isContextConsumer=function(e){return h(e)===u},t.isContextProvider=function(e){return h(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return h(e)===d},t.isFragment=function(e){return h(e)===i},t.isLazy=function(e){return h(e)===g},t.isMemo=function(e){return h(e)===m},t.isPortal=function(e){return h(e)===o},t.isProfiler=function(e){return h(e)===c},t.isStrictMode=function(e){return h(e)===a},t.isSuspense=function(e){return h(e)===f}},338:function(e,t,r){"use strict";e.exports=r(24821)},565:function(e,t,r){"use strict";r.d(t,{UT:function(){return s},OL:function(){return y}});var n=r(59934),o=r(24776),i=r(89526),a=r(88824),c=(r(2652),r(64797)),l=r(28933),u=r(53499);i.Component;var s=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).history=(0,a.q_)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return i.createElement(n.F0,{history:this.history,children:this.props.children})},t}(i.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},f=function(e){return e},m=i.forwardRef;void 0===m&&(m=f);var g=m((function(e,t){var r=e.innerRef,n=e.navigate,o=e.onClick,a=(0,l.Z)(e,["innerRef","navigate","onClick"]),u=a.target,s=(0,c.Z)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),n())}});return s.ref=f!==m&&t||r,i.createElement("a",s)}));var h=m((function(e,t){var r=e.component,o=void 0===r?g:r,a=e.replace,s=e.to,h=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return i.createElement(n.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=e.history,n=d(p(s,e.location),e.location),l=n?r.createHref(n):"",g=(0,c.Z)({},v,{href:l,navigate:function(){var t=p(s,e.location);(a?r.replace:r.push)(t)}});return f!==m?g.ref=t||h:g.innerRef=h,i.createElement(o,g)}))})),v=function(e){return e},b=i.forwardRef;void 0===b&&(b=v);var y=b((function(e,t){var r=e["aria-current"],o=void 0===r?"page":r,a=e.activeClassName,s=void 0===a?"active":a,f=e.activeStyle,m=e.className,g=e.exact,y=e.isActive,w=e.location,I=e.sensitive,S=e.strict,E=e.style,x=e.to,D=e.innerRef,T=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(n.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=w||e.location,a=d(p(x,r),r),l=a.pathname,M=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=M?(0,n.LX)(r.pathname,{path:M,exact:g,sensitive:I,strict:S}):null,N=!!(y?y(P,r):P),L=N?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((function(e){return e})).join(" ")}(m,s):m,C=N?(0,c.Z)({},E,{},f):E,j=(0,c.Z)({"aria-current":N&&o||null,className:L,style:C,to:a},T);return v!==b?j.ref=t||D:j.innerRef=D,i.createElement(h,j)}))}))},64797:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},24776:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},28933:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},59934:function(e,t,r){"use strict";r.d(t,{AW:function(){return w},F0:function(){return h},rs:function(){return T},s6:function(){return g},LX:function(){return y},EN:function(){return M}});var n=r(73097),o=r(89526),i=(r(2652),r(88824)),a=r(47905),c=r(53499),l=r(86536),u=r(39455),s=r.n(u),p=(r(338),r(63022)),d=r(41281),f=r.n(d),m=function(e){var t=(0,a.Z)();return t.displayName=e,t}("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t}("Router"),h=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}(0,n.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return o.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var v={},b=0;function y(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,i=void 0!==o&&o,a=r.strict,c=void 0!==a&&a,l=r.sensitive,u=void 0!==l&&l;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=v[r]||(v[r]={});if(n[e])return n[e];var o=[],i={regexp:s()(e,o,t),keys:o};return b<1e4&&(n[e]=i,b++),i}(r,{end:i,strict:c,sensitive:u}),o=n.regexp,a=n.keys,l=o.exec(e);if(!l)return null;var p=l[0],d=l.slice(1),f=e===p;return i&&!f?null:{path:r,url:"/"===r&&""===p?"/":p,isExact:f,params:a.reduce((function(e,t,r){return e[t.name]=d[r],e}),{})}}),null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(g.Consumer,null,(function(t){t||(0,c.Z)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?y(r.pathname,e.props):t.match,i=(0,l.Z)({},t,{location:r,match:n}),a=e.props,u=a.children,s=a.component,p=a.render;return Array.isArray(u)&&0===u.length&&(u=null),o.createElement(g.Provider,{value:i},i.match?u?"function"==typeof u?u(i):u:s?o.createElement(s,i):p?p(i):null:"function"==typeof u?u(i):null)}))},t}(o.Component);function I(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var r=I(e);return 0!==t.pathname.indexOf(r)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(r.length)})}function E(e){return"string"==typeof e?e:(0,i.Ep)(e)}function x(e){return function(){(0,c.Z)(!1)}}function D(){}o.Component;var T=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(g.Consumer,null,(function(t){t||(0,c.Z)(!1);var r,n,i=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==n&&o.isValidElement(e)){r=e;var a=e.props.path||e.props.from;n=a?y(i.pathname,(0,l.Z)({},e.props,{path:a})):t.match}})),n?o.cloneElement(r,{location:i,computedMatch:n}):null}))},t}(o.Component);function M(e){var t="withRouter("+(e.displayName||e.name)+")",r=function(t){var r=t.wrappedComponentRef,n=(0,p.Z)(t,["wrappedComponentRef"]);return o.createElement(g.Consumer,null,(function(t){return t||(0,c.Z)(!1),o.createElement(e,(0,l.Z)({},n,t,{ref:r}))}))};return r.displayName=t,r.WrappedComponent=e,f()(r,e)}o.useContext},86536:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},73097:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},63022:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},45646:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case p:case i:case c:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case g:case m:case o:return t}}}function v(e){return h(e)===p}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===a||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},79370:function(e,t,r){"use strict";e.exports=r(45646)},20877:function(e,t,r){var n;n=function(e,t,r){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Browser={};"undefined"!=typeof window&&(n.SUPPORTED="requestAnimationFrame"in window,n.SUPPORTS_TOUCH="ontouchstart"in window,n.touch=!1,n.dynamicInputDetection=!0,n.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream}),t.Store=[],t.Selectors={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"};var o=t.Defaults={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,useContext:!1,reactInstance:void 0,popperOptions:{},open:void 0,onRequestClose:function(){}};t.DefaultsKeys=n.SUPPORTED&&Object.keys(o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[!1,"webkit"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],i=o?""+o+r:e;if(void 0!==window.document.body.style[i])return i}return null}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/-.+/,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(n.matches.call(t,e))return t;t=t.parentElement}}).call(e,t)};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){window.requestAnimationFrame((function(){setTimeout(e,0)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{tooltip:e.querySelector(n.Selectors.TOOLTIP),circle:e.querySelector(n.Selectors.CIRCLE),content:e.querySelector(n.Selectors.CONTENT)}};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"visible"===e.style.visibility}},function(e,t,r){"use strict";function n(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1}Object.defineProperty(t,"__esModule",{value:!0}),t.matches="undefined"==typeof window?n:Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=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}}(),i=r(13),a=u(i),c=u(r(30)),l=r(0);function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return e.stopPropagation()},p={html:null,position:"top",animation:"shift",animateFill:!0,arrow:!1,delay:0,hideDelay:0,trigger:"mouseenter focus",duration:375,hideDuration:375,interactive:!1,interactiveBorder:2,theme:"dark",offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,popperOptions:{},onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},disabled:!1,arrowSize:"regular",size:"regular",className:"",style:{},distance:10,onRequestClose:function(){},sticky:!1,stickyDuration:200,tag:"div",touchHold:!1,unmountHTMLWhenHide:!1,zIndex:9999},d=Object.keys(p),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.initTippy=r._initTippy.bind(r),r.destroyTippy=r._destroyTippy.bind(r),r.updateTippy=r._updateTippy.bind(r),r.updateReactDom=r._updateReactDom.bind(r),r.showTooltip=r._showTooltip.bind(r),r.hideTooltip=r._hideTooltip.bind(r),r.updateSettings=r._updateSettings.bind(r),r.state={reactDOMValue:null},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.initTippy()}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.destroyTippy()}},{key:"componentDidUpdate",value:function(e){var t=this;if("undefined"!=typeof window&&"undefined"!=typeof document){if(!1===this.props.disabled&&!0===e.disabled)return this.updateSettings("disabled",!1),this.destroyTippy(),void this.initTippy();if(!0===this.props.disabled&&!1===e.disabled)return this.updateSettings("disabled",!0),void this.destroyTippy();!0!==this.props.open||e.open||(this.updateSettings("open",!0),setTimeout((function(){t.showTooltip()}),0)),!1===this.props.open&&!0===e.open&&(this.updateSettings("open",!1),this.hideTooltip()),this.props.html!==e.html&&this.updateReactDom(),this.props.title!==e.title&&this.updateTippy(),function(e,t){var r=[];return d.forEach((function(n){e[n]!==t[n]&&r.push(n)})),r}(this.props,e).forEach((function(e){t.updateSettings(e,t.props[e])}))}}},{key:"_showTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.show(e,this.props.duration)}}},{key:"_hideTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.hide(e,this.props.hideDuration)}}},{key:"_updateSettings",value:function(e,t){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var r=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.updateSettings(r,e,t)}}},{key:"_updateReactDom",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){this.updateSettings("reactDOM",this.props.html);var e=this.tippy.getPopperElement(this.tooltipDOM);("visible"===e.style.visibility||this.props.open)&&this.tippy.updateForReact(e,this.props.html)}}},{key:"_updateTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.update(e)}}},{key:"_initTippy",value:function(){var e=this;"undefined"!=typeof window&&"undefined"!=typeof document&&l.Browser.SUPPORTED&&(this.props.disabled?this.tippy=null:(this.props.title&&this.tooltipDOM.setAttribute("title",this.props.title),this.tippy=(0,c.default)(this.tooltipDOM,{disabled:this.props.disabled,position:this.props.position,animation:this.props.animation,animateFill:this.props.animateFill,arrow:this.props.arrow,arrowSize:this.props.arrowSize,delay:this.props.delay,hideDelay:this.props.hideDelay,trigger:this.props.trigger,duration:this.props.duration,hideDuration:this.props.hideDuration,interactive:this.props.interactive,interactiveBorder:this.props.interactiveBorder,theme:this.props.theme,offset:this.props.offset,hideOnClick:this.props.hideOnClick,multiple:this.props.multiple,size:this.props.size,followCursor:this.props.followCursor,inertia:this.props.inertia,popperOptions:this.props.popperOptions,onShow:this.props.onShow,onShown:this.props.onShown,onHide:this.props.onHide,onHidden:this.props.onHidden,distance:this.props.distance,reactDOM:this.props.html,setReactDOMValue:function(t){return e.setState({reactDOMValue:t})},unmountHTMLWhenHide:this.props.unmountHTMLWhenHide,open:this.props.open,sticky:this.props.sticky,stickyDuration:this.props.stickyDuration,tag:this.props.tag,touchHold:this.props.touchHold,onRequestClose:this.props.onRequestClose,useContext:this.props.useContext,reactInstance:this.props.useContext?this:void 0,performance:!0,html:this.props.rawTemplate?this.props.rawTemplate:void 0,zIndex:this.props.zIndex}),this.props.open&&this.showTooltip()))}},{key:"_destroyTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.updateSettings("open",!1),this.tippy.hide(e,0),this.tippy.destroy(e),this.tippy=null}}},{key:"render",value:function(){var e=this,t=this.props.tag;return a.default.createElement(a.default.Fragment,null,a.default.createElement(t,{ref:function(t){e.tooltipDOM=t},title:this.props.title,className:this.props.className,tabIndex:this.props.tabIndex,style:n({display:"inline"},this.props.style)},this.props.children),this.state.reactDOMValue&&a.default.createElement("div",{onClick:s,onContextMenu:s,onDoubleClick:s,onDrag:s,onDragEnd:s,onDragEnter:s,onDragExit:s,onDragLeave:s,onDragOver:s,onDragStart:s,onDrop:s,onMouseDown:s,onMouseEnter:s,onMouseLeave:s,onMouseMove:s,onMouseOver:s,onMouseOut:s,onMouseUp:s,onKeyDown:s,onKeyPress:s,onKeyUp:s,onFocus:s,onBlur:s,onChange:s,onInput:s,onInvalid:s,onSubmit:s},this.state.reactDOMValue))}}]),t}(i.Component);f.defaultProps=p,t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,r=(0,i.default)(n.Store,(function(e){return e.el===t}));if(r){var c=r.popper,l=r.settings.offset,u=(0,o.default)(c.getAttribute("x-placement")),s=Math.round(c.offsetWidth/2),p=Math.round(c.offsetHeight/2),d=document.documentElement.offsetWidth||document.body.offsetWidth,f=e.pageX,m=e.pageY,g=void 0,h=void 0;switch(u){case"top":g=f-s+l,h=m-2.25*p;break;case"left":g=f-2*s-10,h=m-p+l;break;case"right":g=f+p,h=m-p+l;break;case"bottom":g=f-s+l,h=m+p/1.5}var v=f+5+s+l>d,b=f-5-s+l<0;"top"!==u&&"bottom"!==u||(v&&(g=d-5-2*s),b&&(g=5)),c.style[(0,a.default)("transform")]="translate3d("+g+"px, "+h+"px, 0)"}};var n=r(0),o=c(r(3)),i=c(r(2)),a=c(r(1));function c(e){return e&&e.__esModule?e:{default:e}}c(r(4))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return-(e-n.Defaults.distance)+"px"};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getAttribute("title");t&&e.setAttribute("data-original-title",t),e.removeAttribute("title")}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(13)),o=i(r(9));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var i=a(r,[]);return n.default.createElement(o.default,t,n.default.createElement(e,i))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTooltip=t.Tooltip=void 0;var n=i(r(9)),o=i(r(14));function i(e){return e&&e.__esModule?e:{default:e}}t.Tooltip=n.default,t.withTooltip=o.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=function(){n.Browser.touch=!0,n.Browser.iOS()&&document.body.classList.add("tippy-touch"),n.Browser.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r)},r=(e=void 0,function(){var t=performance.now();t-e<20&&(n.Browser.touch=!1,document.removeEventListener("mousemove",r),n.Browser.iOS()||document.body.classList.remove("tippy-touch")),e=t});document.addEventListener("click",(function(e){if(!(e.target instanceof Element))return(0,o.default)();var t=(0,i.default)(e.target,n.Selectors.TOOLTIPPED_EL),r=(0,i.default)(e.target,n.Selectors.POPPER);if(r){var c=(0,a.default)(n.Store,(function(e){return e.popper===r}));if(!c)return;if(c.settings.interactive)return}if(t){var l=(0,a.default)(n.Store,(function(e){return e.el===t}));if(!l)return;var u=l.settings,s=u.hideOnClick,p=u.multiple,d=u.trigger;if(!p&&n.Browser.touch||!p&&-1!==d.indexOf("click"))return(0,o.default)(l);if(!0!==s||-1!==d.indexOf("click"))return}!(0,i.default)(e.target,n.Selectors.CONTROLLER)&&document.querySelector(n.Selectors.POPPER)&&(0,o.default)()})),document.addEventListener("touchstart",t),window.addEventListener("blur",(function(e){var t=document.activeElement;t&&t.blur&&c.matches.call(t,n.Selectors.TOOLTIPPED_EL)&&t.blur()})),!n.Browser.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",t)};var n=r(0),o=l(r(25)),i=l(r(4)),a=l(r(2)),c=r(8);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var i=r.position,a=r.distance,c=r.arrow,l=r.animateFill,u=r.inertia,s=r.animation,p=r.arrowSize,d=r.size,f=r.theme,m=r.html,g=r.zIndex,h=r.interactive,v=document.createElement("div");v.setAttribute("class","tippy-popper"),v.setAttribute("role","tooltip"),v.setAttribute("aria-hidden","true"),v.setAttribute("id","tippy-tooltip-"+e),v.style.zIndex=g;var b=document.createElement("div");if(b.setAttribute("class","tippy-tooltip tippy-tooltip--"+d+" leave"),b.setAttribute("data-animation",s),f.split(" ").forEach((function(e){b.classList.add(e+"-theme")})),c){var y=document.createElement("div");y.setAttribute("class","arrow-"+p),y.setAttribute("x-arrow",""),b.appendChild(y)}if(l){b.setAttribute("data-animatefill","");var w=document.createElement("div");w.setAttribute("class","leave"),w.setAttribute("x-circle",""),b.appendChild(w)}u&&b.setAttribute("data-inertia",""),h&&b.setAttribute("data-interactive","");var I=document.createElement("div");if(I.setAttribute("class","tippy-tooltip-content"),m){var S=void 0;m instanceof Element?(I.appendChild(m),S="#"+m.id||0):(I.innerHTML=document.getElementById(m.replace("#","")).innerHTML,S=m),v.classList.add("html-template"),h&&v.setAttribute("tabindex","-1"),b.setAttribute("data-template-id",S)}else I.innerHTML=t;return b.style[(0,n.default)(i)]=(0,o.default)(a),b.appendChild(I),v.appendChild(b),v};var n=i(r(3)),o=i(r(11));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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};t.default=function(e){var t=e.el,r=e.popper,s=e.settings,p=s.position,d=s.popperOptions,f=s.offset,m=s.distance,g=s.flipDuration,h=(0,l.default)(r).tooltip,v=n({placement:p},d||{},{modifiers:n({},d?d.modifiers:{},{flip:n({padding:m+5},d&&d.modifiers?d.modifiers.flip:{}),offset:n({offset:f},d&&d.modifiers?d.modifiers.offset:{})}),onUpdate:function(){var e=h.style;e.top="",e.bottom="",e.left="",e.right="",e[(0,c.default)(r.getAttribute("x-placement"))]=(0,u.default)(m)}});if(window.MutationObserver){var b=r.style,y=new MutationObserver((function(){b[(0,a.default)("transitionDuration")]="0ms",e.popperInstance.update(),(0,i.default)((function(){b[(0,a.default)("transitionDuration")]=g+"ms"}))}));y.observe(r,{childList:!0,subtree:!0,characterData:!0}),e._mutationObserver=y}return new o.default(t,r,v)};var o=s(r(38)),i=s(r(5)),a=s(r(1)),c=s(r(3)),l=s(r(6)),u=s(r(11));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this;return e.reduce((function(e,r){var u=s,p=(0,c.default)(t.settings.performance?t.settings:(0,n.default)(r,t.settings)),d=p.html,f=p.reactDOM,m=p.trigger,g=p.touchHold,h=r.getAttribute("title");if(!h&&!d&&!f)return e;r.setAttribute("data-tooltipped",""),r.setAttribute("aria-describedby","tippy-tooltip-"+u),(0,l.default)(r);var v=(0,o.default)(u,h,p),b=a.default.call(t,r,v,p),y=[];return m.trim().split(" ").forEach((function(e){return y=y.concat((0,i.default)(e,r,b,g))})),e.push({id:u,el:r,popper:v,settings:p,listeners:y,tippyInstance:t}),s++,e}),[])};var n=u(r(24)),o=u(r(17)),i=u(r(20)),a=u(r(23)),c=u(r(21)),l=u(r(12));function u(e){return e&&e.__esModule?e:{default:e}}r(0);var s=1},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){var i=[];return"manual"===e||(t.addEventListener(e,r.handleTrigger),i.push({event:e,handler:r.handleTrigger}),"mouseenter"===e&&(n.Browser.SUPPORTS_TOUCH&&o&&(t.addEventListener("touchstart",r.handleTrigger),i.push({event:"touchstart",handler:r.handleTrigger}),t.addEventListener("touchend",r.handleMouseleave),i.push({event:"touchend",handler:r.handleMouseleave})),t.addEventListener("mouseleave",r.handleMouseleave),i.push({event:"mouseleave",handler:r.handleMouseleave})),"focus"===e&&(t.addEventListener("blur",r.handleBlur),i.push({event:"blur",handler:r.handleBlur}))),i};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.arrow&&(e.animateFill=!1),e.appendTo&&"function"==typeof e.appendTo&&(e.appendTo=e.appendTo()),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Element?[e]:Array.isArray(e)?e:[].slice.call(document.querySelectorAll(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var c=this,l=(r.position,r.delay),u=(r.duration,r.interactive),s=(r.interactiveBorder,r.distance,r.hideOnClick),p=r.trigger,d=r.touchHold,f=void r.touchWait,m=void 0,g=function(){clearTimeout(f),clearTimeout(m)},h=function(){if(g(),!(0,o.default)(t)){var e=Array.isArray(l)?l[0]:l;l?f=setTimeout((function(){return c.show(t)}),e):c.show(t)}},v=function(){g();var e=Array.isArray(l)?l[1]:l;l?m=setTimeout((function(){return c.hide(t)}),e):c.hide(t)};return{handleTrigger:function(r){var i="mouseenter"===r.type&&n.Browser.SUPPORTS_TOUCH&&n.Browser.touch;if(!i||!d){var a="click"===r.type,l="persistent"!==s;a&&(0,o.default)(t)&&l?v():function(e){c.callbacks.wait?c.callbacks.wait.call(t,h,e):h()}(r),i&&n.Browser.iOS()&&e.click&&e.click()}},handleMouseleave:function(o){if(!("mouseleave"===o.type&&n.Browser.SUPPORTS_TOUCH&&n.Browser.touch&&d)){if(u)return document.body.addEventListener("mouseleave",v),void document.addEventListener("mousemove",(function o(c){var l=function(){document.body.removeEventListener("mouseleave",v),document.removeEventListener("mousemove",o),v()},u=(0,i.default)(c.target,n.Selectors.TOOLTIPPED_EL),s=(0,i.default)(c.target,n.Selectors.POPPER)===t,d=u===e,f=-1!==p.indexOf("click");if(u&&u!==e)return l();s||d||f||(0,a.default)(c,t,r)&&l()}));v()}},handleBlur:function(e){e.relatedTarget&&!n.Browser.touch&&((0,i.default)(e.relatedTarget,n.Selectors.POPPER)||v())}}};var n=r(0),o=c(r(7)),i=c(r(4)),a=c(r(32));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=n.DefaultsKeys.reduce((function(r,n){var o=e.getAttribute("data-"+n.toLowerCase())||t[n];return"false"===o&&(o=!1),"true"===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),"string"==typeof o&&"["===o.trim().charAt(0)&&(o=JSON.parse(o)),r[n]=o,r}),{});return Object.assign({},t,r)};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n.Store.forEach((function(t){var r=t.popper,n=t.tippyInstance,o=t.settings,i=o.appendTo,a=o.hideOnClick,c=o.trigger;if(i.contains(r)){var l=!0===a||-1!==c.indexOf("focus"),u=!e||r!==e.popper;l&&u&&(t.settings.onRequestClose(),n.hide(r))}}))};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){return!e.done&&(e.done=!0,(0,i.default)(),!0)};var n,o=r(16),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.popper,r=e.popperInstance,a=e.settings.stickyDuration;(0,n.default)((function e(){r&&r.scheduleUpdate(),t.style[(0,o.default)("transitionDuration")]=a+"ms",(0,i.default)(t)?window.requestAnimationFrame(e):t.style[(0,o.default)("transitionDuration")]=""}))};var n=a(r(5)),o=a(r(1)),i=a(r(7));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.el,r=e.popper,a=e.settings,c=a.appendTo,l=a.followCursor;c.contains(r)||(c.appendChild(r),e.popperInstance?(e.popperInstance.update(),l&&!n.Browser.touch||e.popperInstance.enableEventListeners()):e.popperInstance=(0,i.default)(e),l&&!n.Browser.touch&&(t.addEventListener("mousemove",o.default),e.popperInstance.disableEventListeners()))};var n=r(0),o=a(r(10)),i=a(r(18));function a(e){return e&&e.__esModule?e:{default:e}}a(r(1))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return r();var n=(0,i.default)(e.popper).tooltip,o=!1,a=function(e){e.target!==n||o||(o=!0,r())};n.addEventListener("webkitTransitionEnd",a),n.addEventListener("transitionend",a),clearTimeout(e._transitionendTimeout),e._transitionendTimeout=setTimeout((function(){o||r()}),t)},r(0);var n,o=r(6),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=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}}(),i=r(0),a=D(r(39)),c=D(r(26)),l=D(r(5)),u=(D(r(1)),D(r(2))),s=D(r(34)),p=D(r(12)),d=D(r(33)),f=D(r(37)),m=D(r(35)),g=D(r(6)),h=D(r(31)),v=D(r(7)),b=D(r(36)),y=D(r(10)),w=D(r(22)),I=D(r(29)),S=D(r(28)),E=D(r(27)),x=D(r(19));function D(e){return e&&e.__esModule?e:{default:e}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};T(this,e),i.Browser.SUPPORTED&&((0,c.default)(),this.state={destroyed:!1},this.selector=t,this.settings=n({},i.Defaults,r),(r.show||r.shown||r.hide||r.hidden)&&console.warn("Callbacks without the `on` prefix are deprecated (with the exception of `wait`). Use onShow, onShown, onHide, and onHidden instead."),this.callbacks={wait:r.wait,show:r.onShow||r.show||b.default,shown:r.onShown||r.shown||b.default,hide:r.onHide||r.hide||b.default,hidden:r.onHidden||r.hidden||b.default},this.store=x.default.call(this,(0,w.default)(t)),i.Store.push.apply(i.Store,this.store))}return o(e,[{key:"getPopperElement",value:function(e){try{return(0,u.default)(this.store,(function(t){return t.el===e})).popper}catch(t){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(e){try{return(0,u.default)(this.store,(function(t){return t.popper===e})).el}catch(t){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(e){return(0,u.default)(this.store,(function(t){return t.el===e||t.popper===e}))}},{key:"updateSettings",value:function(e,t,r){var o=(0,u.default)(this.store,(function(t){return t.popper===e}));if(o){var i=n({},o.settings,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},t,r));o.settings=i}}},{key:"updateForReact",value:function(e,t){var r=e.querySelector(i.Selectors.CONTENT),n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=n.settings,c=o.useContext,l=o.setReactDOMValue;c?l(a.default.createPortal(t,r)):a.default.render(t,r)}}},{key:"show",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=(0,g.default)(e),a=o.tooltip,c=o.circle,s=o.content;if(document.body.contains(n.el)){if(this.callbacks.show.call(e),!n.settings||!1!==n.settings.open){n.settings.reactDOM&&this.updateForReact(e,n.settings.reactDOM);var d=n.el,b=n.settings,y=(b.appendTo,b.sticky),w=b.interactive,x=b.followCursor,D=b.flipDuration,T=b.duration;if(b.dynamicTitle){var M=d.getAttribute("title");M&&(s.innerHTML=M,(0,p.default)(d))}var P=void 0!==t?t:Array.isArray(T)?T[0]:T;(0,h.default)([e,a,c],0),(0,S.default)(n),e.style.visibility="visible",e.setAttribute("aria-hidden","false"),(0,l.default)((function(){x&&!i.Browser.touch||(n.popperInstance.update(),(0,h.default)([e],D)),(0,h.default)([a,c],P),c&&(s.style.opacity=1),w&&d.classList.add("active"),y&&(0,E.default)(n),(0,f.default)(a,c),(0,m.default)([a,c],(function(e){e.contains("tippy-notransition")&&e.remove("tippy-notransition"),e.remove("leave"),e.add("enter")})),(0,I.default)(n,P,(function(){(0,v.default)(e)&&!n._onShownFired&&(w&&e.focus(),a.classList.add("tippy-notransition"),n._onShownFired=!0,r.callbacks.shown.call(e))}))}))}}else this.destroy(e)}}}},{key:"hide",value:function(e,t){var r=this;if(!this.state.destroyed){this.callbacks.hide.call(e);var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=(0,g.default)(e),i=o.tooltip,c=o.circle,l=o.content;if(!1!==n.settings.disabled||!n||!n.settings.open){var s=n&&n.settings&&n.settings.unmountHTMLWhenHide&&n.settings.reactDOM,p=n.el,f=n.settings,b=f.appendTo,w=(f.sticky,f.interactive),S=(f.followCursor,f.html),E=f.trigger,x=f.duration,D=void 0!==t?t:Array.isArray(x)?x[1]:x;n._onShownFired=!1,w&&p.classList.remove("active"),e.style.visibility="hidden",e.setAttribute("aria-hidden","true"),(0,h.default)([i,c,c?l:null],D),c&&(l.style.opacity=0),(0,m.default)([i,c],(function(e){e.contains("tippy-tooltip")&&e.remove("tippy-notransition"),e.remove("enter"),e.add("leave")})),S&&-1!==E.indexOf("click")&&(0,d.default)(p)&&p.focus(),(0,I.default)(n,D,(function(){!(0,v.default)(e)&&b.contains(e)&&"1"!==getComputedStyle(i).opacity&&(p.removeEventListener("mousemove",y.default),n.popperInstance.disableEventListeners(),b.removeChild(e),r.callbacks.hidden.call(e),s&&a.default.unmountComponentAtNode(l))}))}}}}},{key:"update",value:function(e){if(!this.state.destroyed){var t=(0,u.default)(this.store,(function(t){return t.popper===e}));if(t){var r=(0,g.default)(e).content,n=t.el,o=t.settings.html;o instanceof Element?console.warn("Aborted: update() should not be used if `html` is a DOM element"):(r.innerHTML=o?document.getElementById(o.replace("#","")).innerHTML:n.getAttribute("title")||n.getAttribute("data-original-title"),o||(0,p.default)(n))}}}},{key:"destroy",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=n.el,a=n.popperInstance,c=n.listeners,l=n._mutationObserver;(0,v.default)(e)&&this.hide(e,0),c.forEach((function(e){return o.removeEventListener(e.event,e.handler)})),o.setAttribute("title",o.getAttribute("data-original-title")),o.removeAttribute("data-original-title"),o.removeAttribute("data-tooltipped"),o.removeAttribute("aria-describedby"),a&&a.destroy(),l&&l.disconnect(),i.Store.splice((0,s.default)(i.Store,(function(t){return t.popper===e})),1),(void 0===t||t)&&(this.store=i.Store.filter((function(e){return e.tippyInstance===r})))}}}},{key:"destroyAll",value:function(){var e=this;if(!this.state.destroyed){var t=this.store.length;this.store.forEach((function(r,n){var o=r.popper;e.destroy(o,n===t-1)})),this.store=null,this.state.destroyed=!0}}}]),e}();function P(e,t){return new M(e,t)}P.Browser=i.Browser,P.Defaults=i.Defaults,P.disableDynamicInputDetection=function(){return i.Browser.dynamicInputDetection=!1},P.enableDynamicInputDetection=function(){return i.Browser.dynamicInputDetection=!0},t.default=P},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach((function(e){if(e){var r=c.matches.call(e,o.Selectors.CONTENT)?Math.round(t/1.3):t;e.style[(0,a.default)("transitionDuration")]=r+"ms"}}))};var n,o=r(0),i=r(1),a=(n=i)&&n.__esModule?n:{default:n},c=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t.getAttribute("x-placement"))return!0;var n=e.clientX,o=e.clientY,a=r.interactiveBorder,c=r.distance,l=t.getBoundingClientRect(),u=(0,i.default)(t.getAttribute("x-placement")),s=a+c,p={top:l.top-o>a,bottom:o-l.bottom>a,left:l.left-n>a,right:n-l.right>a};switch(u){case"top":p.top=l.top-o>s;break;case"bottom":p.bottom=o-l.bottom>s;break;case"left":p.left=l.left-n>s;break;case"right":p.right=n-l.right>s}return p.top||p.bottom||p.left||p.right};var n,o=r(3),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.findIndex?e.findIndex(t):e.indexOf((0,i.default)(e,t))};var n,o=r(2),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach((function(e){e&&t(e.classList)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t?window.getComputedStyle(t)[(0,i.default)("transform")]:window.getComputedStyle(e).opacity};var n,o=r(1),i=(n=o)&&n.__esModule?n:{default:n}},function(e,r){e.exports=t},function(e,t){e.exports=r}])},e.exports=n(r(89526),r(65276),r(73961))},51874:function(e,t){"use strict";function r(e){return"/"===e.charAt(0)}function n(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&r(e),c=t&&r(t),l=a||c;if(e&&r(e)?i=o:o.length&&(i.pop(),i=i.concat(o)),!i.length)return"/";var u=void 0;if(i.length){var s=i[i.length-1];u="."===s||".."===s||""===s}else u=!1;for(var p=0,d=i.length;d>=0;d--){var f=i[d];"."===f?n(i,d):".."===f?(n(i,d),p++):p&&(n(i,d),p--)}if(!l)for(;p--;p)i.unshift("..");!l||""===i[0]||i[0]&&r(i[0])||i.unshift("");var m=i.join("/");return u&&"/"!==m.substr(-1)&&(m+="/"),m}},53499:function(e,t){"use strict";var r="Invariant failed";t.Z=function(e,t){if(!e)throw new Error(r)}},58872:function(e,t){"use strict";var r="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};t.Z=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var o=void 0===t?"undefined":r(t);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var c=Object.keys(t),l=Object.keys(n);return c.length===l.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}}},0,[[5178,669]]]);
|
1 |
+
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-manage"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[624],{85806:function(e,t,r){"use strict";r.r(t);var n=r(73961),o=r(89526),i=r(565),a=(r(26364),r(86632),r(61928),r(19701),r(18183),r(54883),r(56908),r(80044),r(10853),r(54130),r(39275),r(33290),r(19985),r(45007),r(75668),r(67838),r(68995),r(59934));r(73214),r(54994),r(86125);function c(e){return(c="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 l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function u(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 s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function p(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=f(e);if(t){var o=f(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){return!t||"object"!==c(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 f(e){return(f=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var m=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&&s(e,t)}(c,e);var t,r,n,a=p(c);function c(){return l(this,c),a.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=this,t=this.props.datatables,r={};return Object.keys(t).map((function(n){var o=t[n].parent,i="recipe"===n?"/":"/".concat(n);o&&!r.hasOwnProperty(o)&&(r[o]={name:o,active:!1,link:i}),i===e.props.location.pathname&&(r[o].active=!0)})),o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-manage-parent-menu"},Object.keys(r).map((function(e,t){var n=r[e];return o.createElement(i.OL,{to:n.link,className:"wprm-admin-manage-menu-item".concat(n.active?" wprm-admin-manage-menu-item-active":""),key:t,exact:!0},n.name)}))),o.createElement("div",{className:"wprm-admin-manage-child-menu"},Object.keys(t).map((function(e,n){var a=t[e],c=a.parent,l="recipe"===e?"/":"/".concat(e),u=!0;if(!a.hasOwnProperty("required")||wprm_admin.addons.hasOwnProperty(a.required)&&!0===wprm_admin.addons[a.required]||(u=!1),r.hasOwnProperty(c)&&r[c].active){var s=a.hasOwnProperty("title")?a.title:a.label.plural;return u||(s+="*"),o.createElement(i.OL,{to:l,className:"wprm-admin-manage-menu-item".concat(u?"":" wprm-admin-manage-menu-item-requirement"),activeClassName:"wprm-admin-manage-menu-item-active",key:n,exact:!0},s)}return null}))))}}])&&u(t.prototype,r),n&&u(t,n),c}(o.Component),g=(0,a.EN)(m),h=r(37673),v=r(62834),b=r(52082);function y(e){return(y="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 w(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function I(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 S(e,t){return(S=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function E(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=D(e);if(t){var o=D(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return x(this,r)}}function x(e,t){return!t||"object"!==y(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 D(e){return(D=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var 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&&S(e,t)}(a,e);var t,r,n,i=E(a);function a(){return w(this,a),i.apply(this,arguments)}return t=a,(r=[{key:"render",value:function(){var e=this;return wprm_admin_modal.notices&&wprm_admin_modal.notices.length?o.createElement("div",{className:"wprm-admin-manage-notices"},wprm_admin_modal.notices.map((function(t,r){return t.dismissed?null:o.createElement("div",{className:"wprm-admin-notice",key:r},o.createElement("div",{className:"wprm-admin-notice-content"},t.title?o.createElement("div",{className:"wprm-admin-notice-title"},t.title):null,o.createElement("div",{className:"wprm-admin-notice-text",dangerouslySetInnerHTML:{__html:t.text}})),o.createElement("div",{className:"wprm-admin-notice-dismiss"},o.createElement(v.Z,{title:(0,b.S)("Remove Notice"),type:"close",onClick:function(){h.Z.general.dismissNotice(t.id),t.dismissed=!0,e.forceUpdate()}})))}))):null}}])&&I(t.prototype,r),n&&I(t,n),a}(o.Component),M=(r(55862),r(61078),r(4845),r(18821),r(80238),r(12938),r(19457),r(6208),r(64403)),P=r.n(M),C=r(79370),N=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};function L(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var j={get:function(e,t,r){if(!t)return e;var n=O(t),o=void 0;try{o=n.reduce((function(e,t){return e[t]}),e)}catch(i){}return void 0!==o?o:r},set:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments[1],r=arguments[2],n=O(t),o=void 0,i=e;for(;(o=n.shift())&&n.length;)i[o]||(i[o]={}),i=i[o];return i[o]=r,e},takeRight:function(e,t){var r=t>e.length?0:e.length-t;return e.slice(r)},last:function(e){return e[e.length-1]},orderBy:function(e,t,r,n){return e.sort((function(e,o){for(var i=0;i<t.length;i+=1){var a=t[i],c=!1===r[i]||"desc"===r[i],l=a(e,o);if(l)return c?-l:l}return r[0]?e[n]-o[n]:o[n]-e[n]}))},range:function(e){for(var t=[],r=0;r<e;r+=1)t.push(e);return t},remove:function(e,t){return e.filter((function(r,n){return!!t(r)&&(e.splice(n,1),!0)}))},clone:function(e){try{return JSON.parse(JSON.stringify(e,(function(e,t){return"function"==typeof t?t.toString():t})))}catch(t){return e}},getFirstDefined:function(){for(var e=0;e<arguments.length;e+=1)if(void 0!==(arguments.length<=e?void 0:arguments[e]))return arguments.length<=e?void 0:arguments[e]},sum:function(e){return e.reduce((function(e,t){return e+t}),0)},makeTemplateComponent:function(e,t){if(!t)throw new Error("No displayName found for template component:",e);var r=function(t){var r=t.children,n=t.className,i=L(t,["children","className"]);return o.createElement("div",N({className:P()(e,n)},i),r)};return r.displayName=t,r},groupBy:function(e,t){return e.reduce((function(e,r,n){var o="function"==typeof t?t(r,n):r[t];return e[o]=k(e[o])?e[o]:[],e[o].push(r),e}),{})},isArray:k,splitProps:function(e){var t=e.className,r=e.style,n=L(e,["className","style"]);return{className:t,style:r,rest:n||{}}},compactObject:function(e){var t={};e&&Object.keys(e).map((function(r){return Object.prototype.hasOwnProperty.call(e,r)&&void 0!==e[r]&&void 0!==e[r]&&(t[r]=e[r]),!0}));return t},isSortingDesc:function(e){return!("desc"!==e.sort&&!0!==e.desc&&!1!==e.asc)},normalizeComponent:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:e;if(C.isElement(e)||"string"==typeof e)return e;if(C.isValidElementType(e))return o.createElement(e,t);return r},asPx:function(e){return e=Number(e),Number.isNaN(e)?null:e+"px"}};function k(e){return Array.isArray(e)}function O(e){return A(e).join(".").replace(/\[/g,".").replace(/\]/g,"").split(".")}function A(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];if(k(e))for(var r=0;r<e.length;r+=1)A(e[r],t);else t.push(e);return t}var R=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}}();var Z=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=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(l){o=!0,i=l}finally{try{!n&&c.return&&c.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},H=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},z=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}}();function _(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function B(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)}function G(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function U(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var W=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}}(),q=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};var F=function(e){return o.createElement("button",q({type:"button"},e,{className:"-btn"}),e.children)},V=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getSafePage=r.getSafePage.bind(r),r.changePage=r.changePage.bind(r),r.applyPage=r.applyPage.bind(r),r.state={page:e.page},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),W(t,[{key:"componentDidUpdate",value:function(e,t){e.page!==this.props.page&&t.page!==this.state.page&&this.setState({page:this.props.page})}},{key:"getSafePage",value:function(e){return Number.isNaN(e)&&(e=this.props.page),Math.min(Math.max(e,0),this.props.pages-1)}},{key:"changePage",value:function(e){e=this.getSafePage(e),this.setState({page:e}),this.props.page!==e&&this.props.onPageChange(e)}},{key:"applyPage",value:function(e){e&&e.preventDefault();var t=this.state.page;this.changePage(""===t?this.props.page:t)}},{key:"getPageJumpProperties",value:function(){var e=this;return{onKeyPress:function(t){13!==t.which&&13!==t.keyCode||e.applyPage()},onBlur:this.applyPage,value:""===this.state.page?"":this.state.page+1,onChange:function(t){var r=t.target.value,n=r-1;if(""===r)return e.setState({page:r});e.setState({page:e.getSafePage(n)})},inputType:""===this.state.page?"text":"number",pageJumpText:this.props.pageJumpText}}},{key:"render",value:function(){var e=this,t=this.props,r=t.pages,n=t.page,i=t.showPageSizeOptions,a=t.pageSizeOptions,c=t.pageSize,l=t.showPageJump,u=t.canPrevious,s=t.canNext,p=t.onPageSizeChange,d=t.className,f=t.PreviousComponent,m=t.NextComponent,g=t.renderPageJump,h=t.renderCurrentPage,v=t.renderTotalPagesCount,b=t.renderPageSizeOptions;return o.createElement("div",{className:P()(d,"-pagination"),style:this.props.style},o.createElement("div",{className:"-previous"},o.createElement(f,{onClick:function(){u&&e.changePage(n-1)},disabled:!u},this.props.previousText)),o.createElement("div",{className:"-center"},o.createElement("span",{className:"-pageInfo"},this.props.pageText," ",l?g(this.getPageJumpProperties()):h(n)," ",this.props.ofText," ",v(r)),i&&b({pageSize:c,rowsSelectorText:this.props.rowsSelectorText,pageSizeOptions:a,onPageSizeChange:p,rowsText:this.props.rowsText})),o.createElement("div",{className:"-next"},o.createElement(m,{onClick:function(){s&&e.changePage(n+1)},disabled:!s},this.props.nextText)))}}]),t}(o.Component);V.defaultProps={PreviousComponent:F,NextComponent:F,renderPageJump:function(e){var t=e.onChange,r=e.value,n=e.onBlur,i=e.onKeyPress,a=e.inputType,c=e.pageJumpText;return o.createElement("div",{className:"-pageJump"},o.createElement("input",{"aria-label":c,type:a,onChange:t,value:r,onBlur:n,onKeyPress:i}))},renderCurrentPage:function(e){return o.createElement("span",{className:"-currentPage"},e+1)},renderTotalPagesCount:function(e){return o.createElement("span",{className:"-totalPages"},e||1)},renderPageSizeOptions:function(e){var t=e.pageSize,r=e.pageSizeOptions,n=e.rowsSelectorText,i=e.onPageSizeChange,a=e.rowsText;return o.createElement("span",{className:"select-wrap -pageSizeOptions"},o.createElement("select",{"aria-label":n,onChange:function(e){return i(Number(e.target.value))},value:t},r.map((function(e,t){return o.createElement("option",{key:t,value:e},e+" "+a)}))))}};var J=V,Y=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};function Q(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}var X=function(){return{}},K={data:[],resolveData:function(e){return e},loading:!1,showPagination:!0,showPaginationTop:!1,showPaginationBottom:!0,showPageSizeOptions:!0,pageSizeOptions:[5,10,20,25,50,100],defaultPage:0,defaultPageSize:20,showPageJump:!0,collapseOnSortingChange:!0,collapseOnPageChange:!0,collapseOnDataChange:!0,freezeWhenExpanded:!1,sortable:!0,multiSort:!0,resizable:!0,filterable:!1,defaultSortDesc:!1,defaultSorted:[],defaultFiltered:[],defaultResized:[],defaultExpanded:{},defaultFilterMethod:function(e,t,r){var n=e.pivotId||e.id;return void 0===t[n]||String(t[n]).startsWith(e.value)},defaultSortMethod:function(e,t,r){return t=null==t?"":t,(e="string"==typeof(e=null==e?"":e)?e.toLowerCase():e)>(t="string"==typeof t?t.toLowerCase():t)?1:e<t?-1:0},onPageChange:void 0,onPageSizeChange:void 0,onSortedChange:void 0,onFilteredChange:void 0,onResizedChange:void 0,onExpandedChange:void 0,pivotBy:void 0,pivotValKey:"_pivotVal",pivotIDKey:"_pivotID",subRowsKey:"_subRows",aggregatedKey:"_aggregated",nestingLevelKey:"_nestingLevel",originalKey:"_original",indexKey:"_index",groupedByPivotKey:"_groupedByPivot",onFetchData:function(){return null},className:"",style:{},getProps:X,getTableProps:X,getTheadGroupProps:X,getTheadGroupTrProps:X,getTheadGroupThProps:X,getTheadProps:X,getTheadTrProps:X,getTheadThProps:X,getTheadFilterProps:X,getTheadFilterTrProps:X,getTheadFilterThProps:X,getTbodyProps:X,getTrGroupProps:X,getTrProps:X,getTdProps:X,getTfootProps:X,getTfootTrProps:X,getTfootTdProps:X,getPaginationProps:X,getLoadingProps:X,getNoDataProps:X,getResizerProps:X,column:{Cell:void 0,Header:void 0,Footer:void 0,Aggregated:void 0,Pivot:void 0,PivotValue:void 0,Expander:void 0,Filter:void 0,Placeholder:void 0,sortable:void 0,resizable:void 0,filterable:void 0,show:!0,minWidth:100,minResizeWidth:11,className:"",style:{},getProps:X,aggregate:void 0,headerClassName:"",headerStyle:{},getHeaderProps:X,footerClassName:"",footerStyle:{},getFooterProps:X,filterMethod:void 0,filterAll:!1,sortMethod:void 0},expanderDefaults:{sortable:!1,resizable:!1,filterable:!1,width:35},pivotDefaults:{},previousText:"Previous",nextText:"Next",loadingText:"Loading...",noDataText:"No rows found",pageText:"Page",ofText:"of",rowsText:"rows",pageJumpText:"jump to page",rowsSelectorText:"rows per page",TableComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-table",r),role:"grid"},n),t)},TheadComponent:j.makeTemplateComponent("rt-thead","Thead"),TbodyComponent:j.makeTemplateComponent("rt-tbody","Tbody"),TrGroupComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-tr-group",r),role:"rowgroup"},n),t)},TrComponent:function(e){var t=e.children,r=e.className,n=Q(e,["children","className"]);return o.createElement("div",Y({className:P()("rt-tr",r),role:"row"},n),t)},ThComponent:function(e){var t=e.toggleSort,r=e.className,n=e.children,i=Q(e,["toggleSort","className","children"]);return o.createElement("div",Y({className:P()("rt-th",r),onClick:function(e){return t&&t(e)},role:"columnheader",tabIndex:"-1"},i),n)},TdComponent:function(e){e.toggleSort;var t=e.className,r=e.children,n=Q(e,["toggleSort","className","children"]);return o.createElement("div",Y({className:P()("rt-td",t),role:"gridcell"},n),r)},TfootComponent:j.makeTemplateComponent("rt-tfoot","Tfoot"),FilterComponent:function(e){var t=e.filter,r=e.onChange,n=e.column;return o.createElement("input",{type:"text",style:{width:"100%"},placeholder:n.Placeholder,value:t?t.value:"",onChange:function(e){return r(e.target.value)}})},ExpanderComponent:function(e){var t=e.isExpanded;return o.createElement("div",{className:P()("rt-expander",t&&"-open")},"•")},PivotValueComponent:function(e){var t=e.subRows,r=e.value;return o.createElement("span",null,r," ",t&&"("+t.length+")")},AggregatedComponent:function(e){var t=e.subRows,r=e.column,n=t.filter((function(e){return void 0!==e[r.id]})).map((function(e,n){return o.createElement("span",{key:n},e[r.id],n<t.length-1?", ":"")}));return o.createElement("span",null,n)},PivotComponent:void 0,PaginationComponent:J,PreviousComponent:void 0,NextComponent:void 0,LoadingComponent:function(e){var t=e.className,r=e.loading,n=e.loadingText,i=Q(e,["className","loading","loadingText"]);return o.createElement("div",Y({className:P()("-loading",{"-active":r},t)},i),o.createElement("div",{className:"-loading-inner"},n))},NoDataComponent:j.makeTemplateComponent("rt-noData","NoData"),ResizerComponent:j.makeTemplateComponent("rt-resizer","Resizer"),PadRowComponent:function(){return o.createElement("span",null," ")}},$=r(2652),ee=r.n($),te={data:ee().any,loading:ee().bool,showPagination:ee().bool,showPaginationTop:ee().bool,showPaginationBottom:ee().bool,showPageSizeOptions:ee().bool,pageSizeOptions:ee().array,defaultPageSize:ee().number,showPageJump:ee().bool,collapseOnSortingChange:ee().bool,collapseOnPageChange:ee().bool,collapseOnDataChange:ee().bool,freezeWhenExpanded:ee().bool,sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,defaultSortDesc:ee().bool,defaultSorted:ee().array,defaultFiltered:ee().array,defaultResized:ee().array,defaultExpanded:ee().object,defaultFilterMethod:ee().func,defaultSortMethod:ee().func,onPageChange:ee().func,onPageSizeChange:ee().func,onSortedChange:ee().func,onFilteredChange:ee().func,onResizedChange:ee().func,onExpandedChange:ee().func,pivotBy:ee().array,pivotValKey:ee().string,pivotIDKey:ee().string,subRowsKey:ee().string,aggregatedKey:ee().string,nestingLevelKey:ee().string,originalKey:ee().string,indexKey:ee().string,groupedByPivotKey:ee().string,onFetchData:ee().func,className:ee().string,style:ee().object,getProps:ee().func,getTableProps:ee().func,getTheadGroupProps:ee().func,getTheadGroupTrProps:ee().func,getTheadGroupThProps:ee().func,getTheadProps:ee().func,getTheadTrProps:ee().func,getTheadThProps:ee().func,getTheadFilterProps:ee().func,getTheadFilterTrProps:ee().func,getTheadFilterThProps:ee().func,getTbodyProps:ee().func,getTrGroupProps:ee().func,getTrProps:ee().func,getTdProps:ee().func,getTfootProps:ee().func,getTfootTrProps:ee().func,getTfootTdProps:ee().func,getPaginationProps:ee().func,getLoadingProps:ee().func,getNoDataProps:ee().func,getResizerProps:ee().func,columns:ee().arrayOf(ee().shape({Cell:ee().oneOfType([ee().element,ee().string,ee().elementType]),Header:ee().oneOfType([ee().element,ee().string,ee().elementType]),Footer:ee().oneOfType([ee().element,ee().string,ee().elementType]),Aggregated:ee().oneOfType([ee().element,ee().string,ee().elementType]),Pivot:ee().oneOfType([ee().element,ee().string,ee().elementType]),PivotValue:ee().oneOfType([ee().element,ee().string,ee().elementType]),Expander:ee().oneOfType([ee().element,ee().string,ee().elementType]),Filter:ee().oneOfType([ee().element,ee().elementType]),sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,show:ee().bool,minWidth:ee().number,minResizeWidth:ee().number,className:ee().string,style:ee().object,getProps:ee().func,aggregate:ee().func,headerClassName:ee().string,headerStyle:ee().object,getHeaderProps:ee().func,footerClassName:ee().string,footerStyle:ee().object,getFooterProps:ee().func,filterMethod:ee().func,filterAll:ee().bool,sortMethod:ee().func})),expanderDefaults:ee().shape({sortable:ee().bool,resizable:ee().bool,filterable:ee().bool,width:ee().number}),pivotDefaults:ee().object,previousText:ee().node,nextText:ee().node,loadingText:ee().node,noDataText:ee().node,pageText:ee().node,ofText:ee().node,rowsText:ee().node,pageJumpText:ee().node,rowsSelectorText:ee().node,TableComponent:ee().elementType,TheadComponent:ee().elementType,TbodyComponent:ee().elementType,TrGroupComponent:ee().elementType,TrComponent:ee().elementType,ThComponent:ee().elementType,TdComponent:ee().elementType,TfootComponent:ee().elementType,FilterComponent:ee().elementType,ExpanderComponent:ee().elementType,PivotValueComponent:ee().elementType,AggregatedComponent:ee().elementType,PivotComponent:ee().elementType,PaginationComponent:ee().elementType,PreviousComponent:ee().elementType,NextComponent:ee().elementType,LoadingComponent:ee().elementType,NoDataComponent:ee().elementType,ResizerComponent:ee().elementType,PadRowComponent:ee().elementType},re=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],n=!0,o=!1,i=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(l){o=!0,i=l}finally{try{!n&&c.return&&c.return()}finally{if(o)throw i}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")},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},oe=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}}();var ie=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.getResolvedState=r.getResolvedState.bind(r),r.getDataModel=r.getDataModel.bind(r),r.getSortedData=r.getSortedData.bind(r),r.fireFetchData=r.fireFetchData.bind(r),r.getPropOrState=r.getPropOrState.bind(r),r.getStateOrProp=r.getStateOrProp.bind(r),r.filterData=r.filterData.bind(r),r.sortData=r.sortData.bind(r),r.getMinRows=r.getMinRows.bind(r),r.onPageChange=r.onPageChange.bind(r),r.onPageSizeChange=r.onPageSizeChange.bind(r),r.sortColumn=r.sortColumn.bind(r),r.filterColumn=r.filterColumn.bind(r),r.resizeColumnStart=r.resizeColumnStart.bind(r),r.resizeColumnEnd=r.resizeColumnEnd.bind(r),r.resizeColumnMoving=r.resizeColumnMoving.bind(r),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),oe(t,[{key:"render",value:function(){var e=this,t=this.getResolvedState(),r=t.children,n=t.className,i=t.style,a=t.getProps,c=t.getTableProps,l=t.getTheadGroupProps,u=t.getTheadGroupTrProps,s=t.getTheadGroupThProps,p=t.getTheadProps,d=t.getTheadTrProps,f=t.getTheadThProps,m=t.getTheadFilterProps,g=t.getTheadFilterTrProps,h=t.getTheadFilterThProps,v=t.getTbodyProps,b=t.getTrGroupProps,y=t.getTrProps,w=t.getTdProps,I=t.getTfootProps,S=t.getTfootTrProps,E=t.getTfootTdProps,x=t.getPaginationProps,D=t.getLoadingProps,T=t.getNoDataProps,M=t.getResizerProps,C=t.showPagination,N=t.showPaginationTop,L=t.showPaginationBottom,k=t.manual,O=t.loadingText,A=t.noDataText,R=t.sortable,Z=t.multiSort,H=t.resizable,z=t.filterable,_=t.pivotIDKey,B=t.pivotValKey,G=t.pivotBy,U=t.subRowsKey,W=t.aggregatedKey,q=t.originalKey,F=t.indexKey,V=t.groupedByPivotKey,J=t.loading,Y=t.pageSize,Q=t.page,X=t.sorted,$=t.filtered,ee=t.resized,te=t.expanded,oe=t.pages,ie=t.onExpandedChange,ae=t.TableComponent,ce=t.TheadComponent,le=t.TbodyComponent,ue=t.TrGroupComponent,se=t.TrComponent,pe=t.ThComponent,de=t.TdComponent,fe=t.TfootComponent,me=t.PaginationComponent,ge=t.LoadingComponent,he=t.SubComponent,ve=t.NoDataComponent,be=t.ResizerComponent,ye=t.ExpanderComponent,we=t.PivotValueComponent,Ie=t.PivotComponent,Se=t.AggregatedComponent,Ee=t.FilterComponent,xe=t.PadRowComponent,De=t.resolvedData,Te=t.allVisibleColumns,Me=t.headerGroups,Pe=t.hasHeaderGroups,Ce=t.sortedData,Ne=t.currentlyResizing,Le=Y*Q,je=Le+Y,ke=k?De:Ce.slice(Le,je),Oe=this.getMinRows(),Ae=j.range(Math.max(Oe-ke.length,0)),Re=Te.some((function(e){return e.Footer})),Ze=z||Te.some((function(e){return e.filterable})),He=function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:-1;return[t.map((function(t,o){var i=ne({},t,{_viewIndex:n+=1}),a=r.concat([o]);if(i[U]&&j.get(te,a)){var c=e(i[U],a,n),l=re(c,2);i[U]=l[0],n=l[1]}return i})),n]}(ke),ze=re(He,1);ke=ze[0];var _e=Q>0,Be=Q+1<oe,Ge=j.sum(Te.map((function(e){var t=ee.find((function(t){return t.id===e.id}))||{};return j.getFirstDefined(t.value,e.width,e.minWidth)}))),Ue=-1,We=ne({},t,{startRow:Le,endRow:je,pageRows:ke,minRows:Oe,padRows:Ae,hasColumnFooter:Re,canPrevious:_e,canNext:Be,rowMinWidth:Ge}),qe=j.splitProps(a(We,void 0,void 0,this)),Fe=j.splitProps(c(We,void 0,void 0,this)),Ve=j.splitProps(v(We,void 0,void 0,this)),Je=D(We,void 0,void 0,this),Ye=T(We,void 0,void 0,this),Qe=function(t,r){var n=function(e){return(ee.find((function(t){return t.id===e.id}))||{}).value},i=j.sum(t.columns.map((function(e){return e.width||n(e)?0:e.minWidth}))),a=j.sum(t.columns.map((function(e){return j.getFirstDefined(n(e),e.width,e.minWidth)}))),c=j.sum(t.columns.map((function(e){return j.getFirstDefined(n(e),e.width,e.maxWidth)}))),l=j.splitProps(s(We,void 0,t,e)),u=j.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,l.className,u.className],d=ne({},t.headerStyle,l.style,u.style),f=ne({},l.rest,u.rest),m={flex:i+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(c)};return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(p),style:ne({},d,m)},f),j.normalizeComponent(t.Header,{data:Ce,column:t}))},Xe=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i=X.find((function(e){return e.id===t.id})),a="function"==typeof t.show?t.show():t.show,c=j.getFirstDefined(n.value,t.width,t.minWidth),l=j.getFirstDefined(n.value,t.width,t.maxWidth),u=j.splitProps(f(We,void 0,t,e)),s=j.splitProps(t.getHeaderProps(We,void 0,t,e)),p=[t.headerClassName,u.className,s.className],d=ne({},t.headerStyle,u.style,s.style),m=ne({},u.rest,s.rest),g=j.getFirstDefined(t.resizable,H,!1),h=g?o.createElement(be,ne({onMouseDown:function(r){return e.resizeColumnStart(r,t,!1)},onTouchStart:function(r){return e.resizeColumnStart(r,t,!0)}},M("finalState",void 0,t,e))):null,v=j.getFirstDefined(t.sortable,R,!1);return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(p,g&&"rt-resizable-header",i?i.desc?"-sort-desc":"-sort-asc":"",v&&"-cursor-pointer",!a&&"-hidden",G&&G.slice(0,-1).includes(t.id)&&"rt-header-pivot"),style:ne({},d,{flex:c+" 0 auto",width:j.asPx(c),maxWidth:j.asPx(l)}),toggleSort:function(r){v&&e.sortColumn(t,!!Z&&r.shiftKey)}},m),o.createElement("div",{className:P()(g&&"rt-resizable-header-content")},j.normalizeComponent(t.Header,{data:Ce,column:t})),h)},Ke=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i=j.getFirstDefined(n.value,t.width,t.minWidth),a=j.getFirstDefined(n.value,t.width,t.maxWidth),c=j.splitProps(h(We,void 0,t,e)),l=j.splitProps(t.getHeaderProps(We,void 0,t,e)),u=[t.headerClassName,c.className,l.className],s=ne({},t.headerStyle,c.style,l.style),p=ne({},c.rest,l.rest),d=$.find((function(e){return e.id===t.id})),f=t.Filter||Ee,m=j.getFirstDefined(t.filterable,z,!1);return o.createElement(pe,ne({key:r+"-"+t.id,className:P()(u),style:ne({},s,{flex:i+" 0 auto",width:j.asPx(i),maxWidth:j.asPx(a)})},p),m?j.normalizeComponent(f,{column:t,filter:d,onChange:function(r){return e.filterColumn(t,r)}},K.column.Filter):null)},$e=function t(r,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],a={original:r[q],row:r,index:r[F],viewIndex:Ue+=1,pageSize:Y,page:Q,level:i.length,nestingPath:i.concat([n]),aggregated:r[W],groupedByPivot:r[V],subRows:r[U]},c=j.get(te,a.nestingPath),l=b(We,a,void 0,e),u=j.splitProps(y(We,a,void 0,e));return o.createElement(ue,ne({key:a.nestingPath.join("_")},l),o.createElement(se,ne({className:P()(u.className,r._viewIndex%2?"-even":"-odd"),style:u.style},u.rest),Te.map((function(t,n){var i=ee.find((function(e){return e.id===t.id}))||{},l="function"==typeof t.show?t.show():t.show,u=j.getFirstDefined(i.value,t.width,t.minWidth),s=j.getFirstDefined(i.value,t.width,t.maxWidth),p=j.splitProps(w(We,a,t,e)),d=j.splitProps(t.getProps(We,a,t,e)),f=[p.className,t.className,d.className],m=ne({},p.style,t.style,d.style),g=ne({},a,{isExpanded:c,column:ne({},t),value:a.row[t.id],pivoted:t.pivoted,expander:t.expander,resized:ee,show:l,width:u,maxWidth:s,tdProps:p,columnProps:d,classes:f,styles:m}),h=g.value,v=void 0,b=void 0,y=void 0,I=j.normalizeComponent(t.Cell,g,h),S=t.Aggregated||(t.aggregate?t.Cell:Se),E=t.Expander||ye,x=t.PivotValue||we,D=Ie||function(e){return o.createElement("div",null,o.createElement(E,e),o.createElement(x,e))},T=t.Pivot||D;(g.pivoted||g.expander)&&(g.expandable=!0,v=!0,!g.pivoted||g.subRows||he||(g.expandable=!1)),g.pivoted?(b=a.row[_]===t.id&&g.subRows,y=G.indexOf(t.id)>G.indexOf(a.row[_])&&g.subRows,I=b?j.normalizeComponent(T,ne({},g,{value:r[B]}),r[B]):y?j.normalizeComponent(S,g,h):null):g.aggregated&&(I=j.normalizeComponent(S,g,h)),g.expander&&(I=j.normalizeComponent(E,g,r[B]),G&&(g.groupedByPivot&&(I=null),g.subRows||he||(I=null)));var M=v?function(t){var r=j.clone(te);return r=c?j.set(r,g.nestingPath,!1):j.set(r,g.nestingPath,{}),e.setStateWithData({expanded:r},(function(){return ie&&ie(r,g.nestingPath,t,g)}))}:function(){},C={onClick:M};return p.rest.onClick&&(C.onClick=function(e){p.rest.onClick(e,(function(){return M(e)}))}),d.rest.onClick&&(C.onClick=function(e){d.rest.onClick(e,(function(){return M(e)}))}),o.createElement(de,ne({key:n+"-"+t.id,className:P()(f,!g.expandable&&!l&&"hidden",g.expandable&&"rt-expandable",(b||y)&&"rt-pivot"),style:ne({},m,{flex:u+" 0 auto",width:j.asPx(u),maxWidth:j.asPx(s)})},p.rest,d.rest,C),I)}))),a.subRows&&c&&a.subRows.map((function(e,r){return t(e,r,a.nestingPath)})),he&&!a.subRows&&c&&he(a,(function(){var e=j.clone(te);j.set(e,a.nestingPath,!1)})))},et=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i="function"==typeof t.show?t.show():t.show,a=j.getFirstDefined(n.value,t.width,t.minWidth),c=a,l=j.getFirstDefined(n.value,t.width,t.maxWidth),u=j.splitProps(w(We,void 0,t,e)),s=j.splitProps(t.getProps(We,void 0,t,e)),p=[u.className,t.className,s.className],d=ne({},u.style,t.style,s.style);return o.createElement(de,ne({key:r+"-"+t.id,className:P()(p,!i&&"hidden"),style:ne({},d,{flex:c+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(l)})},u.rest),j.normalizeComponent(xe))},tt=function(t,r){var n=b(We,void 0,void 0,e),i=j.splitProps(y(We,void 0,void 0,e));return o.createElement(ue,ne({key:"pad-"+r},n),o.createElement(se,{className:P()("-padRow",(ke.length+r)%2?"-even":"-odd",i.className),style:i.style||{}},Te.map(et)))},rt=function(t,r){var n=ee.find((function(e){return e.id===t.id}))||{},i="function"==typeof t.show?t.show():t.show,a=j.getFirstDefined(n.value,t.width,t.minWidth),c=j.getFirstDefined(n.value,t.width,t.maxWidth),l=j.splitProps(E(We,void 0,t,e)),u=j.splitProps(t.getProps(We,void 0,t,e)),s=j.splitProps(t.getFooterProps(We,void 0,t,e)),p=[l.className,t.className,u.className,s.className],d=ne({},l.style,t.style,u.style,s.style);return o.createElement(de,ne({key:r+"-"+t.id,className:P()(p,!i&&"hidden"),style:ne({},d,{flex:a+" 0 auto",width:j.asPx(a),maxWidth:j.asPx(c)})},u.rest,l.rest,s.rest),j.normalizeComponent(t.Footer,{data:Ce,column:t}))},nt=function(r){var n=j.splitProps(x(We,void 0,void 0,e));return o.createElement(me,ne({},t,{pages:oe,canPrevious:_e,canNext:Be,onPageChange:e.onPageChange,onPageSizeChange:e.onPageSizeChange,className:n.className,style:n.style,isTop:r},n.rest))},ot=function(){return o.createElement("div",ne({className:P()("ReactTable",n,qe.className),style:ne({},i,qe.style)},qe.rest),C&&N?o.createElement("div",{className:"pagination-top"},nt(!0)):null,o.createElement(ae,ne({className:P()(Fe.className,Ne?"rt-resizing":""),style:Fe.style},Fe.rest),Pe?(h=j.splitProps(l(We,void 0,void 0,e)),v=j.splitProps(u(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-headerGroups",h.className),style:ne({},h.style,{minWidth:Ge+"px"})},h.rest),o.createElement(se,ne({className:v.className,style:v.style},v.rest),Me.map(Qe)))):null,(s=j.splitProps(p(We,void 0,void 0,e)),f=j.splitProps(d(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-header",s.className),style:ne({},s.style,{minWidth:Ge+"px"})},s.rest),o.createElement(se,ne({className:f.className,style:f.style},f.rest),Te.map(Xe)))),Ze?(a=j.splitProps(m(We,void 0,void 0,e)),c=j.splitProps(g(We,void 0,void 0,e)),o.createElement(ce,ne({className:P()("-filters",a.className),style:ne({},a.style,{minWidth:Ge+"px"})},a.rest),o.createElement(se,ne({className:c.className,style:c.style},c.rest),Te.map(Ke)))):null,o.createElement(le,ne({className:P()(Ve.className),style:ne({},Ve.style,{minWidth:Ge+"px"})},Ve.rest),ke.map((function(e,t){return $e(e,t)})),Ae.map(tt)),Re?(t=j.splitProps(I(We,void 0,void 0,e)),r=j.splitProps(S(We,void 0,void 0,e)),o.createElement(fe,ne({className:t.className,style:ne({},t.style,{minWidth:Ge+"px"})},t.rest),o.createElement(se,ne({className:P()(r.className),style:r.style},r.rest),Te.map(rt)))):null),C&&L?o.createElement("div",{className:"pagination-bottom"},nt(!1)):null,!ke.length&&o.createElement(ve,Ye,j.normalizeComponent(A)),o.createElement(ge,ne({loading:J,loadingText:O},Je)));var t,r,a,c,s,f,h,v};return r?r(We,ot,this):ot()}}]),t}(function(e){return function(e){function t(){return G(this,t),U(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),z(t,[{key:"getResolvedState",value:function(e,t){return H({},j.compactObject(this.state),j.compactObject(this.props),j.compactObject(t),j.compactObject(e))}},{key:"getDataModel",value:function(e,t){var r=this,n=e.columns,i=e.pivotBy,a=void 0===i?[]:i,c=e.data,l=e.resolveData,u=e.pivotIDKey,s=e.pivotValKey,p=e.subRowsKey,d=e.aggregatedKey,f=e.nestingLevelKey,m=e.originalKey,g=e.indexKey,h=e.groupedByPivotKey,v=e.SubComponent,b=!1;n.forEach((function(e){e.columns&&(b=!0)}));var y=[].concat(B(n)),w=n.find((function(e){return e.expander||e.columns&&e.columns.some((function(e){return e.expander}))}));w&&!w.expander&&(w=w.columns.find((function(e){return e.expander}))),v&&!w&&(y=[w={expander:!0}].concat(B(y)));var I=[],S=function(e,t){var n=function(e,t){var n=void 0;if((n=e.expander?H({},r.props.column,r.props.expanderDefaults,e):H({},r.props.column,e)).maxWidth<n.minWidth&&(n.minWidth=n.maxWidth),t&&(n.parentColumn=t),"string"==typeof n.accessor){n.id=n.id||n.accessor;var o=n.accessor;return n.accessor=function(e){return j.get(e,o)},n}if(n.accessor&&!n.id)throw console.warn(n),new Error("A column id is required if using a non-string accessor for column above.");return n.accessor||(n.accessor=function(){}),n}(e,t);return I.push(n),n},E=y.map((function(e){return e.columns?H({},e,{columns:e.columns.map((function(t){return S(t,e)}))}):S(e)})).slice(),x=[],D=(E=(E=E.map((function(e){if(e.columns){var t=e.columns.filter((function(e){return!(a.indexOf(e.id)>-1)&&j.getFirstDefined(e.show,!0)}));return H({},e,{columns:t})}return e}))).filter((function(e){return e.columns?e.columns.length:!(a.indexOf(e.id)>-1)&&j.getFirstDefined(e.show,!0)}))).findIndex((function(e){return e.pivot}));if(a.length){var T=[];a.forEach((function(e){var t=I.find((function(t){return t.id===e}));t&&T.push(t)}));var M=T.reduce((function(e,t){return e&&e===t.parentColumn&&t.parentColumn}),T[0].parentColumn),P=b&&M.Header,C={Header:P=P||function(){return o.createElement("strong",null,"Pivoted")},columns:T.map((function(e){return H({},r.props.pivotDefaults,e,{pivoted:!0})}))};D>=0?(C=H({},E[D],C),E.splice(D,1,C)):E.unshift(C)}var N=[],L=[],k=function(e,t){N.push(H({},r.props.column,t,{columns:e})),L=[]};E.forEach((function(e){if(e.columns)return x=x.concat(e.columns),L.length>0&&k(L),void k(e.columns,e);x.push(e),L.push(e)})),b&&L.length>0&&k(L);var O=function e(t,r){var n,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,i=(_(n={},m,t),_(n,g,r),_(n,p,t[p]),_(n,f,o),n);return I.forEach((function(e){e.expander||(i[e.id]=e.accessor(t))})),i[p]&&(i[p]=i[p].map((function(t,r){return e(t,r,o+1)}))),i},A=this.resolvedData;this.resolvedData&&!t||(A=l(c),this.resolvedData=A),A=A.map((function(e,t){return O(e,t)}));var R=x.filter((function(e){return!e.expander&&e.aggregate})),z=function(e){var t={};return R.forEach((function(r){var n=e.map((function(e){return e[r.id]}));t[r.id]=r.aggregate(n,e)})),t};if(a.length){A=function e(t,r){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0;if(n===r.length)return t;var o=Object.entries(j.groupBy(t,r[n])).map((function(e){var t,o=Z(e,2),i=o[0],a=o[1];return _(t={},u,r[n]),_(t,s,i),_(t,r[n],i),_(t,p,a),_(t,f,n),_(t,h,!0),t}));return o=o.map((function(t){var o,i=e(t[p],r,n+1);return H({},t,(_(o={},p,i),_(o,d,!0),o),z(i))}))}(A,a)}return H({},e,{resolvedData:A,allVisibleColumns:x,headerGroups:N,allDecoratedColumns:I,hasHeaderGroups:b})}},{key:"getSortedData",value:function(e){var t=e.manual,r=e.sorted,n=e.filtered,o=e.defaultFilterMethod,i=e.resolvedData,a=e.allDecoratedColumns,c={};return a.filter((function(e){return e.sortMethod})).forEach((function(e){c[e.id]=e.sortMethod})),{sortedData:t?i:this.sortData(this.filterData(i,n,o,a),r,c)}}},{key:"fireFetchData",value:function(){var e=H({},this.getResolvedState(),{page:this.getStateOrProp("page"),pageSize:this.getStateOrProp("pageSize"),filtered:this.getStateOrProp("filtered")});this.props.onFetchData(e,this)}},{key:"getPropOrState",value:function(e){return j.getFirstDefined(this.props[e],this.state[e])}},{key:"getStateOrProp",value:function(e){return j.getFirstDefined(this.state[e],this.props[e])}},{key:"filterData",value:function(e,t,r,n){var o=this,i=e;return t.length&&(i=(i=t.reduce((function(e,t){var o=n.find((function(e){return e.id===t.id}));if(!o||!1===o.filterable)return e;var i=o.filterMethod||r;return o.filterAll?i(t,e,o):e.filter((function(e){return i(t,e,o)}))}),i)).map((function(e){return e[o.props.subRowsKey]?H({},e,_({},o.props.subRowsKey,o.filterData(e[o.props.subRowsKey],t,r,n))):e})).filter((function(e){return!e[o.props.subRowsKey]||e[o.props.subRowsKey].length>0}))),i}},{key:"sortData",value:function(e,t){var r=this,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(!t.length)return e;var o=(this.props.orderByMethod||j.orderBy)(e,t.map((function(e){return n[e.id]?function(t,r){return n[e.id](t[e.id],r[e.id],e.desc)}:function(t,n){return r.props.defaultSortMethod(t[e.id],n[e.id],e.desc)}})),t.map((function(e){return!e.desc})),this.props.indexKey);return o.forEach((function(e){e[r.props.subRowsKey]&&(e[r.props.subRowsKey]=r.sortData(e[r.props.subRowsKey],t,n))})),o}},{key:"getMinRows",value:function(){return j.getFirstDefined(this.props.minRows,this.getStateOrProp("pageSize"))}},{key:"onPageChange",value:function(e){var t=this.props,r=t.onPageChange,n=t.collapseOnPageChange,o={page:e};n&&(o.expanded={}),this.setStateWithData(o,(function(){return r&&r(e)}))}},{key:"onPageSizeChange",value:function(e){var t=this.props.onPageSizeChange,r=this.getResolvedState(),n=r.pageSize*r.page,o=Math.floor(n/e);this.setStateWithData({pageSize:e,page:o},(function(){return t&&t(e,o)}))}},{key:"sortColumn",value:function(e,t){var r=this.getResolvedState(),n=r.sorted,o=r.skipNextSort,i=r.defaultSortDesc,a=Object.prototype.hasOwnProperty.call(e,"defaultSortDesc")?e.defaultSortDesc:i,c=!a;if(o)this.setStateWithData({skipNextSort:!1});else{var l=this.props.onSortedChange,u=j.clone(n||[]).map((function(e){return e.desc=j.isSortingDesc(e),e}));if(j.isArray(e)){var s=u.findIndex((function(t){return t.id===e[0].id}));if(s>-1)u[s].desc===c?t?u.splice(s,e.length):e.forEach((function(e,t){u[s+t].desc=a})):e.forEach((function(e,t){u[s+t].desc=c})),t||(u=u.slice(s,e.length));else u=t?u.concat(e.map((function(e){return{id:e.id,desc:a}}))):e.map((function(e){return{id:e.id,desc:a}}))}else{var p=u.findIndex((function(t){return t.id===e.id}));if(p>-1){var d=u[p];d.desc===c?t?u.splice(p,1):(d.desc=a,u=[d]):(d.desc=c,t||(u=[d]))}else t?u.push({id:e.id,desc:a}):u=[{id:e.id,desc:a}]}this.setStateWithData({page:!n.length&&u.length||!t?0:this.state.page,sorted:u},(function(){return l&&l(u,e,t)}))}}},{key:"filterColumn",value:function(e,t){var r=this.getResolvedState().filtered,n=this.props.onFilteredChange,o=(r||[]).filter((function(t){return t.id!==e.id}));""!==t&&o.push({id:e.id,value:t}),this.setStateWithData({filtered:o},(function(){return n&&n(o,e,t)}))}},{key:"resizeColumnStart",value:function(e,t,r){var n=this;e.stopPropagation();var o=e.target.parentElement.getBoundingClientRect().width,i=void 0;i=r?e.changedTouches[0].pageX:e.pageX,this.trapEvents=!0,this.setStateWithData({currentlyResizing:{id:t.id,startX:i,parentWidth:o}},(function(){r?(document.addEventListener("touchmove",n.resizeColumnMoving),document.addEventListener("touchcancel",n.resizeColumnEnd),document.addEventListener("touchend",n.resizeColumnEnd)):(document.addEventListener("mousemove",n.resizeColumnMoving),document.addEventListener("mouseup",n.resizeColumnEnd),document.addEventListener("mouseleave",n.resizeColumnEnd))}))}},{key:"resizeColumnMoving",value:function(e){e.stopPropagation();var t=this.props,r=t.onResizedChange,n=t.column,o=this.getResolvedState(),i=o.resized,a=o.currentlyResizing,c=o.columns.find((function(e){return e.accessor===a.id||e.id===a.id})),l=c&&null!=c.minResizeWidth?c.minResizeWidth:n.minResizeWidth,u=i.filter((function(e){return e.id!==a.id})),s=void 0;"touchmove"===e.type?s=e.changedTouches[0].pageX:"mousemove"===e.type&&(s=e.pageX);var p=Math.max(a.parentWidth+s-a.startX,l);u.push({id:a.id,value:p}),this.setStateWithData({resized:u},(function(){return r&&r(u,e)}))}},{key:"resizeColumnEnd",value:function(e){e.stopPropagation();var t="touchend"===e.type||"touchcancel"===e.type;t&&(document.removeEventListener("touchmove",this.resizeColumnMoving),document.removeEventListener("touchcancel",this.resizeColumnEnd),document.removeEventListener("touchend",this.resizeColumnEnd)),document.removeEventListener("mousemove",this.resizeColumnMoving),document.removeEventListener("mouseup",this.resizeColumnEnd),document.removeEventListener("mouseleave",this.resizeColumnEnd),t||this.setStateWithData({skipNextSort:!0,currentlyResizing:!1})}}]),t}(e)}(function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),n={page:e.defaultPage,pageSize:e.defaultPageSize,sorted:e.defaultSorted,expanded:e.defaultExpanded,filtered:e.defaultFiltered,resized:e.defaultResized,currentlyResizing:!1,skipNextSort:!1},o=r.getResolvedState(e,n),i=r.getDataModel(o,!0);return r.state=r.calculateNewResolvedState(i),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),R(t,[{key:"componentDidMount",value:function(){this.fireFetchData()}},{key:"componentDidUpdate",value:function(e,t){var r=this.getResolvedState(e,t),n=this.getResolvedState(this.props,this.state);["sorted","filtered","resized","expanded"].forEach((function(e){var t="default"+(e.charAt(0).toUpperCase()+e.slice(1));JSON.stringify(r[t])!==JSON.stringify(n[t])&&(n[e]=n[t])})),["sortable","filterable","resizable"].forEach((function(e){if(r[e]!==n[e]){var t=e.replace("able","")+"ed",o="default"+(t.charAt(0).toUpperCase()+t.slice(1));n[t]=n[o]}})),r.data===n.data&&r.columns===n.columns&&r.pivotBy===n.pivotBy&&r.sorted===n.sorted&&r.filtered===n.filtered||this.setStateWithData(this.getDataModel(n,r.data!==n.data))}},{key:"calculateNewResolvedState",value:function(e){var t=this.getResolvedState(),r=this.getResolvedState({},e),n=r.freezeWhenExpanded;if(r.frozen=!1,n)for(var o=Object.keys(r.expanded),i=0;i<o.length;i+=1)if(r.expanded[o[i]]){r.frozen=!0;break}return(t.frozen&&!r.frozen||t.sorted!==r.sorted||t.filtered!==r.filtered||t.showFilters!==r.showFilters||!r.frozen&&t.resolvedData!==r.resolvedData)&&((t.sorted!==r.sorted&&this.props.collapseOnSortingChange||t.filtered!==r.filtered||t.showFilters!==r.showFilters||t.sortedData&&!r.frozen&&t.resolvedData!==r.resolvedData&&this.props.collapseOnDataChange)&&(r.expanded={}),Object.assign(r,this.getSortedData(r))),t.filtered!==r.filtered&&(r.page=0),r.sortedData&&(r.pages=r.manual?r.pages:Math.ceil(r.sortedData.length/r.pageSize),r.page=r.manual?r.page:Math.max(r.page>=r.pages?r.pages-1:r.page,0)),r}},{key:"setStateWithData",value:function(e,t){var r=this,n=this.getResolvedState(),o=this.calculateNewResolvedState(e);return this.setState(o,(function(){t&&t(),n.page===o.page&&n.pageSize===o.pageSize&&n.sorted===o.sorted&&n.filtered===o.filtered||r.fireFetchData()}))}}]),t}(o.Component)));ie.propTypes=te,ie.defaultProps=K;var ae=ie,ce=r(48618),le=(r(85005),function(e){return o.createElement("div",{className:"wprm-admin-manage-select-columns-container"},o.createElement("div",{className:"wprm-admin-manage-select-columns"},e.columns.map((function(t,r){if("actions"===t.id)return null;var n=e.selectedColumns.includes(t.id),i=e.filteredColumns.includes(t.id),a=["wprm-admin-manage-select-columns-column"];return n&&a.push("wprm-admin-manage-select-columns-column-selected"),i&&a.push("wprm-admin-manage-select-columns-column-filtered"),o.createElement("span",{className:a.join(" "),onClick:function(r){r.preventDefault(),i||e.onColumnsChange(t.id,!n)},key:r},t.Header)}))))}),ue=(r(80174),function(e){if(!e.filtered&&!e.total)return o.createElement("div",{className:"wprm-admin-table-totals"}," ");var t=!1!==e.filtered&&e.filtered!=e.total;return o.createElement("div",{className:"wprm-admin-table-totals"},e.total?o.createElement(o.Fragment,null,t?"".concat((0,b.S)("Showing")," ").concat(Number(e.filtered).toLocaleString()," ").concat((0,b.S)("filtered of")," ").concat(Number(e.total).toLocaleString()," ").concat((0,b.S)("total")):"".concat((0,b.S)("Showing")," ").concat(Number(e.total).toLocaleString()," ").concat((0,b.S)("total"))):"".concat(Number(e.filtered).toLocaleString()," ").concat((0,b.S)("rows")),!1!==e.filter&&o.createElement("div",{className:"wprm-admin-table-totals-filter"},"".concat((0,b.S)("Filter"),": ").concat(e.filter[0]," = ").concat(e.filter[1])))});function se(e){return(se="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 pe(e){return function(e){if(Array.isArray(e))return fe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||de(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 de(e,t){if(e){if("string"==typeof e)return fe(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)?fe(e,t):void 0}}function fe(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 me(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 ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?me(Object(r),!0).forEach((function(t){he(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):me(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function he(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ve(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 be(e,t){return(be=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ye(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Se(e);if(t){var o=Se(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return we(this,r)}}function we(e,t){return!t||"object"!==se(t)&&"function"!=typeof t?Ie(e):t}function Ie(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Se(e){return(Se=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ee={data:[],pages:null,filtered:[],countFiltered:!1,countTotal:!1,loading:!0,columns:[],selectedColumns:!1,selectedRows:{},selectedAllRows:0},xe=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&&be(e,t)}(a,e);var t,r,n,i=ye(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)).state=ge({},Ee),t.initDataTable=t.initDataTable.bind(Ie(t)),t.refreshData=t.refreshData.bind(Ie(t)),t.fetchData=t.fetchData.bind(Ie(t)),t.toggleSelectRow=t.toggleSelectRow.bind(Ie(t)),t.toggleSelectAll=t.toggleSelectAll.bind(Ie(t)),t.getSelectedRows=t.getSelectedRows.bind(Ie(t)),t.onColumnsChange=t.onColumnsChange.bind(Ie(t)),t.requirementMet=t.requirementMet.bind(Ie(t)),t}return t=a,(r=[{key:"componentDidMount",value:function(){this.initDataTable()}},{key:"componentDidUpdate",value:function(e){this.props.type!==e.type&&this.initDataTable(!0)}},{key:"initDataTable",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(this.requirementMet()){var r=this.props.options.selectedColumns;if(!1!==r){var n=localStorage.getItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"));n&&(n=JSON.parse(n),Array.isArray(n)&&(r=n))}this.setState(ge(ge({},Ee),{},{columns:this.props.options.columns.getColumns(this),selectedColumns:r}),(function(){t&&e.refreshData()}))}}},{key:"toggleSelectRow",value:function(e){var t=ge({},this.state.selectedRows);t[e]=!t[e];var r=Object.values(t).filter((function(e){return e})).length,n=2;0===r?n=0:this.state.data.length===r&&(n=1),this.setState({selectedRows:t,selectedAllRows:n})}},{key:"toggleSelectAll",value:function(){var e="taxonomy"===this.props.options.route?"term_id":"id",t={};if(0===this.state.selectedAllRows){var r,n=function(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=de(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}(this.state.data);try{for(n.s();!(r=n.n()).done;)t[r.value[e]]=!0}catch(o){n.e(o)}finally{n.f()}}this.setState({selectedRows:t,selectedAllRows:0===this.state.selectedAllRows?1:0})}},{key:"getSelectedRows",value:function(){var e=this;return Object.keys(this.state.selectedRows).filter((function(t){return e.state.selectedRows[t]})).map((function(e){return parseInt(e)}))}},{key:"refreshData",value:function(){this.refReactTable&&this.refReactTable.fireFetchData()}},{key:"fetchData",value:function(e,t){var r=this,n=e.data;this.setState({loading:!0},(function(){r.requirementMet()&&h.Z.manage.getData({route:r.props.options.route,type:r.props.options.id,pageSize:e.pageSize,page:e.page,sorted:e.sorted,filtered:e.filtered,filter:r.props.filter}).then((function(e){if(e){var t={data:e.rows,pages:e.pages,countFiltered:e.filtered,countTotal:e.total,loading:!1},o="taxonomy"===r.props.options.route?"term_id":"id";JSON.stringify(e.rows.map((function(e){return e[o]})))!==JSON.stringify(n.map((function(e){return e[o]})))&&(t.selectedRows={},t.selectedAllRows=0),r.setState(t)}}))}))}},{key:"onColumnsChange",value:function(e,t){var r=pe(this.state.selectedColumns);t?r.push(e):r=r.filter((function(t){return t!==e})),this.setState({selectedColumns:r}),localStorage.setItem("wprm-admin-manage-".concat(this.props.options.id,"-columns"),JSON.stringify(r))}},{key:"requirementMet",value:function(){return!(this.props.options.hasOwnProperty("required")&&(!wprm_admin.addons.hasOwnProperty(this.props.options.required)||!0!==wprm_admin.addons[this.props.options.required]))}},{key:"render",value:function(){var e=this;if(!this.props.options)return null;if(!this.requirementMet()){var t=this.props.options.required[0].toUpperCase()+this.props.options.required.substring(1);return o.createElement("div",{className:"wprm-admin-manage-requirement"},o.createElement("div",null,"*",(0,b.S)("This feature is only available in")),o.createElement("a",{href:"https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/",target:"_blank"},"WP Recipe Maker ".concat(t," Bundle")))}var r=this.state,n=r.data,i=r.pages,a=r.loading,c=this.state.columns.filter((function(t){return"actions"===t.id||!1===e.state.selectedColumns||e.state.selectedColumns.includes(t.id)})),l=this.state.filtered.filter((function(e){return""!==e.value&&"all"!==e.value})).map((function(e){return e.id}));return o.createElement("div",{className:"wprm-admin-manage-page"},!1!==this.state.selectedColumns||this.props.options.bulkEdit||this.props.options.createButton?o.createElement("div",{className:"wprm-admin-manage-header"},!1===this.state.selectedColumns?o.createElement("div",null):o.createElement(le,{onColumnsChange:this.onColumnsChange,columns:this.state.columns,selectedColumns:this.state.selectedColumns,filteredColumns:l}),o.createElement("div",{className:"wprm-admin-manage-header-buttons"},(!1===this.state.selectedColumns||this.state.selectedColumns.includes("bulk_edit"))&&this.props.options.bulkEdit&&o.createElement("button",{className:"button",onClick:function(){WPRM_Modal.open("bulk-edit",{route:e.props.options.bulkEdit.route,type:e.props.options.bulkEdit.type,ids:e.getSelectedRows(),saveCallback:function(){return e.refreshData()}})},disabled:0===this.getSelectedRows().length},(0,b.S)("Bulk Edit")," ",this.getSelectedRows().length," ",1===this.getSelectedRows().length?this.props.options.label.singular:this.props.options.label.plural,"..."),this.props.options.createButton?o.createElement("button",{className:"button button-primary",onClick:function(){return e.props.options.createButton(e)}},"".concat((0,b.S)("Create")," ").concat(this.props.options.label.singular)):null)):null,o.createElement("div",{className:"wprm-admin-manage-table-container"},o.createElement(ce.Z,{module:"Datatable"},o.createElement(ue,{filtered:this.state.countFiltered,total:this.state.countTotal,filter:this.props.filter}),o.createElement("div",{className:"wprm-admin-manage-table-inner"},o.createElement(ae,{ref:function(t){e.refReactTable=t},manual:!0,columns:c,data:n,pages:i,filtered:this.state.filtered,onFilteredChange:function(t){e.setState({filtered:t})},loading:a,onFetchData:this.fetchData,defaultPageSize:this.props.options.hasOwnProperty("defaultPageSize")?this.props.options.defaultPageSize:25,pageSizeOptions:[5,10,20,25,50,100,500],defaultSorted:[{id:"rating"===this.props.type?"date":"id",desc:!0}],filterable:!0,resizable:!1,className:"wprm-admin-manage-table wprm-admin-table -highlight"})))))}}])&&ve(t.prototype,r),n&&ve(t,n),a}(o.Component),De=(r(29897),r(2778)),Te=r.n(De),Me=r(80416),Pe=r(94341);function Ce(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 Ne(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ce(Object(r),!0).forEach((function(t){Le(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ce(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Le(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var je={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Click on the stars to edit the rating."),onClick:function(){alert((0,b.S)("Click on the stars to edit the rating."))}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Rating"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this rating?"))&&h.Z.rating.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Rating"),id:"rating",accessor:"rating",width:100,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Ratings")),o.createElement("option",{value:"1"},"1 ".concat((0,b.S)("star"))),o.createElement("option",{value:"2"},"2 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"3"},"3 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"4"},"4 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"5"},"5 ".concat((0,b.S)("stars"))))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-ratings-rating"},[1,2,3,4,5].map((function(r,n){return o.createElement(v.Z,{type:r<=t.value?"star-full":"star-empty",title:"".concat((0,b.S)("Click to change this rating to:")," ").concat(r),onClick:function(){var n=Ne(Ne({},t.original),{},{rating:r});h.Z.rating.update(n).then((function(){return e.refreshData()}))},key:n})})))}},{Header:(0,b.S)("Type"),id:"type",accessor:"type",width:150,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Types")),o.createElement("option",{value:"user"},(0,b.S)("User Rating")),o.createElement("option",{value:"comment"},(0,b.S)("Comment Rating")))},Cell:function(e){return o.createElement("div",null,"user"===e.value?(0,b.S)("User Rating"):(0,b.S)("Comment Rating"))}},{Header:(0,b.S)("Approved"),id:"approved",accessor:"approved",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All")),o.createElement("option",{value:"yes"},(0,b.S)("Approved")),o.createElement("option",{value:"no"},(0,b.S)("Not Approved")))},Cell:function(e){return o.createElement("div",null,0==e.value?(0,b.S)("No"):(0,b.S)("Yes"))}},{Header:(0,b.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,b.S)("n/a"));return o.createElement("div",null,e.original.user_link?o.createElement("a",{href:Te().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,b.S)("IP"),id:"ip",accessor:"ip",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Comment ID"),id:"comment_id",accessor:"comment_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.comment?"".concat(e.original.comment):(0,b.S)("n/a"));return o.createElement("div",null,e.original.comment_link?o.createElement("a",{href:Te().decode(e.original.comment_link),target:"_blank"},t):t)}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value||"0"===t.value)return o.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,b.S)("n/a"));return o.createElement("div",null,t.original.recipe?o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:function(){return e.refreshData()}})}},r):r)}},{Header:(0,b.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,b.S)("n/a"));return o.createElement("div",null,e.original.post_link?o.createElement("a",{href:Te().decode(e.original.post_link),target:"_blank"},t):t)}}]}},ke=(r(42900),r(55281),r(22321),r(55565)),Oe=r.n(ke),Ae=r(95075);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 Ze(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 He(e,t){return(He=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function ze(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=Be(e);if(t){var o=Be(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return _e(this,r)}}function _e(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 Be(e){return(Be=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Ge=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&&He(e,t)}(a,e);var t,r,n,i=ze(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)).state={copied:!1},t}return t=a,(r=[{key:"onCopy",value:function(){var e=this;this.setState({copied:!0},(function(){setTimeout((function(){e.setState({copied:!1})}),2e3)}))}},{key:"render",value:function(){return o.createElement(Oe(),{text:this.props.text,onCopy:this.onCopy.bind(this)},o.createElement("span",{className:"wprm-admin-table-container-copy",style:{opacity:this.state.copied?.2:1}},this.props.hasOwnProperty("type")&&"text"===this.props.type?o.createElement(Ae.Z,{content:this.state.copied?(0,b.S)("Copied!"):(0,b.S)("Copy to clipboard")},o.createElement("span",null,this.props.text)):o.createElement(v.Z,{type:"clipboard",title:this.state.copied?(0,b.S)("Copied!"):(0,b.S)("Copy to clipboard")})))}}])&&Ze(t.prototype,r),n&&Ze(t,n),a}(o.Component),Ue=function(e){return e.seo?o.createElement(Ae.Z,{content:e.seo.message,style:{width:"100%"}},o.createElement("div",{className:"wprm-admin-manage-seo-indicator wprm-admin-manage-seo-indicator-".concat(e.seo.type.trim()),onClick:e.onClick},"other"===e.seo.type?"n/a":o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"}),o.createElement("div",{className:"wprm-admin-manage-seo-indicator-block"})))):null};function We(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=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))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,c=!1;return{s:function(){r=e[Symbol.iterator]()},n:function(){var e=r.next();return a=e.done,e},e:function(e){c=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(c)throw i}}}}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}var Fe=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=parseInt(e),n=0,o=0,i=0,a="";return r>0?(n=Math.floor(r/24/60),o=Math.floor(r/60%24),i=Math.floor(r%60),n&&(a+="".concat(n," ").concat(1===n?(0,b.S)("day"):(0,b.S)("days")," ")),o&&(a+="".concat(o," ").concat(1===o?(0,b.S)("hr"):(0,b.S)("hrs")," ")),i&&(a+="".concat(i," ").concat(1===i?(0,b.S)("min"):(0,b.S)("mins")," "))):t&&(a="0 ".concat((0,b.S)("mins"))),a.trim()},Ve={getColumns:function(e){var t=[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:wprm_admin.addons.premium?130:100,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Edit Recipe"),onClick:function(){WPRM_Modal.open("recipe",{recipe:t.original,saveCallback:function(){return e.refreshData()}})}}),o.createElement(v.Z,{type:"print",title:(0,b.S)("Print Recipe"),onClick:function(){var e=wprm_admin.home_url.split(/\?(.+)/),r=e[0];wprm_admin.permalinks?(r+=wprm_admin.print_slug+"/"+t.original.id,e[1]&&(r+="?"+e[1])):(r+="?"+wprm_admin.print_slug+"="+t.original.id,e[1]&&(r+="&"+e[1])),window.open(r,"_blank")}}),!0===wprm_admin.addons.premium&&o.createElement(v.Z,{type:"duplicate",title:(0,b.S)("Clone Recipe"),onClick:function(){WPRM_Modal.open("recipe",{recipeId:t.original.id,cloneRecipe:!0,saveCallback:function(){return e.refreshData()}},!0)}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Recipe"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.recipe.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("SEO"),id:"seo",accessor:"seo",width:65,sortable:!1,filterable:!1,Cell:function(e){return o.createElement(Ue,{seo:e.value})}},{Header:(0,b.S)("Type"),id:"type",accessor:"type",width:80,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All")),o.createElement("option",{value:"food"},(0,b.S)("Food")),o.createElement("option",{value:"howto"},(0,b.S)("How-to")),o.createElement("option",{value:"other"},(0,b.S)("Other")))},Cell:function(e){return o.createElement("div",null,"other"===e.value?(0,b.S)("Other"):"howto"===e.value?(0,b.S)("How-to"):(0,b.S)("Food"))}},{Header:(0,b.S)("ID"),id:"id",accessor:"id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Shortcode"),id:"shortcode",accessor:"id",sortable:!1,filterable:!1,width:200,Cell:function(e){var t='[wprm-recipe id="'.concat(e.value,'"]');return o.createElement("div",{className:"wprm-admin-manage-shortcode-container"},o.createElement(Ge,{text:t,type:"text"}))}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Image"),id:"image",accessor:"image_url",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Recipe Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Recipe Image")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?o.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)}},{Header:(0,b.S)("Pin Image"),id:"pin_image",accessor:"pin_image_url",width:100,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Custom Pin Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Custom Pin Image")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?o.createElement("img",{src:e.value,className:"wprm-admin-manage-image"}):null)}},{Header:(0,b.S)("Video"),id:"video",accessor:"video_url",width:200,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has any video")),o.createElement("option",{value:"id"},(0,b.S)("Has an uploaded video")),o.createElement("option",{value:"embed"},(0,b.S)("Has an embedded video")),o.createElement("option",{value:"no"},(0,b.S)("Does not have a video")))},Cell:function(e){return o.createElement("div",{style:{width:"100%"}},e.value?e.value:o.createElement(o.Fragment,null,e.original.video_embed?e.original.video_embed:null))}},{Header:(0,b.S)("Name"),id:"name",accessor:"name",width:300,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Summary"),id:"summary",accessor:"summary",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?o.createElement("div",{dangerouslySetInnerHTML:{__html:e.value}}):o.createElement("div",null)}},{Header:(0,b.S)("Author"),id:"post_author",accessor:"post_author",width:150,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Authors")),Object.keys(wprm_admin_manage.authors).map((function(e,t){var r=wprm_admin_manage.authors[e].data;return o.createElement("option",{value:r.ID,key:t},r.ID,r.display_name?" - ".concat(Te().decode(r.display_name)):""," ")})))},Cell:function(e){return wprm_admin_manage.authors.hasOwnProperty(e.value)||(wprm_admin_manage.authors[e.value]={data:{ID:e.value,display_name:e.original.post_author_name}}),o.createElement("div",null,e.value&&"0"!==e.value?o.createElement("a",{href:e.original.post_author_link,target:"_blank"},e.value," - ",e.original.post_author_name):null)}},{Header:(0,b.S)("Display Author Type"),id:"author_display",accessor:"author_display",width:250,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Display Author Types")),wprm_admin_modal.options.author.map((function(e,t){return"same"===e.value?null:o.createElement("option",{value:e.value,key:t},e.label)})))},Cell:function(e){var t=wprm_admin_modal.options.author.find((function(t){return t.value===e.value}));return t?o.createElement("div",null,t.label):o.createElement("div",null)}},{Header:(0,b.S)("Display Author"),id:"author",accessor:"author",width:150,sortable:!1,filterable:!1,Cell:function(e){return e.value?o.createElement("div",{dangerouslySetInnerHTML:{__html:e.original.author}}):o.createElement("div",null)}},{Header:(0,b.S)("Status"),id:"status",accessor:"post_status",width:120,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Statuses")),Object.keys(wprm_admin_manage.post_statuses).map((function(e,t){return o.createElement("option",{value:e,key:t},Te().decode(wprm_admin_manage.post_statuses[e]))})))},Cell:function(e){var t=Object.keys(wprm_admin_manage.post_statuses).includes(e.value)?wprm_admin_manage.post_statuses[e.value]:e.value;return o.createElement("div",null,t)}},{Header:(0,b.S)("Parent ID"),id:"parent_post_id",accessor:"parent_post_id",width:65,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?o.createElement("div",null,e.value):o.createElement("div",null)}},{Header:(0,b.S)("Parent Name"),id:"parent_post",accessor:"parent_post",width:300,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Parent Post")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Parent Post")))},Cell:function(e){var t=e.value,r=!!e.original.parent_post_edit_url&&Te().decode(e.original.parent_post_edit_url);return t?r?o.createElement("a",{href:r,target:"_blank"},t.post_title):o.createElement("div",null,t.post_title):o.createElement("div",null)}}];wprm_admin_manage.multilingual&&t.push({Header:(0,b.S)("Parent Language"),id:"parent_post_language",accessor:"parent_post_language",width:150,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("All Languages")),Object.values(wprm_admin_manage.multilingual.languages).map((function(e,t){return o.createElement("option",{value:e.value,key:t},"".concat(e.value," - ").concat(Te().decode(e.label)))})))},Cell:function(e){console.log(e);var t=!!wprm_admin_manage.multilingual.languages.hasOwnProperty(e.value)&&wprm_admin_manage.multilingual.languages[e.value];return t?o.createElement("div",null,"".concat(t.value," - ").concat(Te().decode(t.label))):o.createElement("div",null)}}),t.push({Header:(0,b.S)("Ratings"),id:"rating",accessor:"rating",width:200,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("optgroup",{label:(0,b.S)("General")},o.createElement("option",{value:"all"},(0,b.S)("All Ratings")),o.createElement("option",{value:"none"},(0,b.S)("No Ratings")),o.createElement("option",{value:"any"},(0,b.S)("Any Rating"))),o.createElement("optgroup",{label:(0,b.S)("Stars")},o.createElement("option",{value:"1"},"1 ".concat((0,b.S)("star"))),o.createElement("option",{value:"2"},"2 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"3"},"3 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"4"},"4 ".concat((0,b.S)("stars"))),o.createElement("option",{value:"5"},"5 ".concat((0,b.S)("stars")))))},Cell:function(t){var r=t.value;return r.average&&"0"!==r.average?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-container"},o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-average"},r.average),o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details"},!1===r.comment_ratings?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,b.S)("no comment ratings")):o.createElement("div",null,"".concat(r.comment_ratings.average," ").concat((0,b.S)("from")," ").concat(r.comment_ratings.count," ").concat(1===r.comment_ratings.count?(0,b.S)("comment"):(0,b.S)("comments"))),!1===r.user_ratings?o.createElement("div",{className:"wprm-admin-manage-recipes-ratings-details-none"},(0,b.S)("no user ratings")):o.createElement("div",null,"".concat(r.user_ratings.average," ").concat((0,b.S)("from")," ").concat(r.user_ratings.count," ").concat(1===r.user_ratings.count?(0,b.S)("vote"):(0,b.S)("votes")),o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),confirm("".concat((0,b.S)("Are you sure you want to delete the user ratings for"),' "').concat(t.original.name,'"?'))&&h.Z.manage.deleteUserRatings(t.original.id).then((function(){return e.refreshData()}))}},"(reset)")))):null}});var r=function(e){var r=wprm_admin_modal.categories[e];r.terms.sort((function(e,t){return e.name.localeCompare(t.name)})),t.push({Header:r.label,id:"tag_".concat(e),accessor:function(t){return t.tags[e]},width:300,sortable:!1,Filter:function(e){var t=e.filter,n=e.onChange;return o.createElement("select",{onChange:function(e){return n(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("optgroup",{label:(0,b.S)("General")},o.createElement("option",{value:"all"},"".concat((0,b.S)("All")," ").concat(r.label)),o.createElement("option",{value:"none"},"".concat((0,b.S)("No")," ").concat(r.label)),o.createElement("option",{value:"any"},"".concat((0,b.S)("Any")," ").concat(r.label))),o.createElement("optgroup",{label:(0,b.S)("Terms")},r.terms.map((function(e,t){return o.createElement("option",{value:e.term_id,key:t},Te().decode(e.name),e.count?" (".concat(e.count,")"):"")}))))},Cell:function(e){var t=e.value.map((function(e){return e.name})).join(", ");return o.createElement("div",null,t?Te().decode(t):null)}})};for(var n in wprm_admin_modal.categories)r(n);t.push({Header:(0,b.S)("Prep Time"),id:"prep_time",accessor:"prep_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Fe(e.value,e.original.prep_time_zero))}},{Header:(0,b.S)("Cook Time"),id:"cook_time",accessor:"cook_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Fe(e.value,e.original.cook_time_zero))}},{Header:(0,b.S)("Custom Time"),id:"custom_time",accessor:"custom_time",width:120,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,o.createElement("div",null,e.original.custom_time_label),o.createElement("div",null,Fe(e.value,e.original.custom_time_zero)))}},{Header:(0,b.S)("Total Time"),id:"total_time",accessor:"total_time",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,Fe(e.value))}},{Header:(0,b.S)("Servings"),id:"servings",accessor:"servings",width:100,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,"0"===e.value?"":e.value," ",e.original.servings_unit)}},{Header:(0,b.S)("Equipment"),id:"equipment",accessor:"equipment",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,e.value?e.value.map((function(e,t){if(e.name){var r=e.name.replace(/(<([^>]+)>)/gi,"").trim();if(r)return o.createElement("div",{key:t},Te().decode(r))}})):null)}},{Header:(0,b.S)("Ingredients"),id:"ingredient",accessor:"ingredients",width:300,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return o.createElement("div",null,e.value?e.value.map((function(e,t){return e.name=e.name.replace(/(<([^>]+)>)/gi,"").trim(),o.createElement("div",{key:t},e.name&&o.createElement("div",{style:{fontWeight:"bold"}},Te().decode(e.name)),e.ingredients.map((function(e,t){var r=[];if(e.amount&&r.push(e.amount),e.unit&&r.push(e.unit),e.name&&r.push(e.name),e.notes&&r.push(e.notes),r.length){var n=r.join(" ").replace(/(<([^>]+)>)/gi,"").trim();if(n)return o.createElement("div",{key:t},Te().decode(n))}})))})):null)}},{Header:(0,b.S)("Converted Ingredients"),id:"unit_conversion",accessor:"unit_conversion",width:300,sortable:!1,filterable:!1,Cell:function(e){return Array.isArray(e.value)?o.createElement("div",null,e.value.map((function(e,t){if(e=e.replace(/(<([^>]+)>)/gi,"").trim())return o.createElement("div",{key:t},Te().decode(e))}))):o.createElement("div",null,e.value)}},{Header:(0,b.S)("Nutrition"),id:"nutrition",accessor:"nutrition",width:250,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",{className:"wprm-manage-recipes-nutrition-container"},Object.keys(wprm_admin_modal.nutrition).map((function(t,r){var n=wprm_admin_modal.nutrition[t],i=!!e.value.hasOwnProperty(t)&&e.value[t],a=n.unit;return"serving_size"===t&&e.value.hasOwnProperty("serving_unit")&&e.value.serving_unit&&(a=e.value.serving_unit),!1===i?null:"calories"===t||wprm_admin.addons.premium?o.createElement("div",{className:"wprm-manage-recipes-nutrition",key:r},o.createElement("div",{className:"wprm-manage-recipes-nutrition-label"},n.label),o.createElement("div",{className:"wprm-manage-recipes-nutrition-value-unit"},o.createElement("span",{className:"wprm-manage-recipes-nutrition-value"},i),o.createElement("span",{className:"wprm-manage-recipes-nutrition-unit"},a))):null})))}}),wprm_admin.addons.elite&&t.push({Header:(0,b.S)("Recipe Submission User"),id:"submission_author",accessor:"submission_author",width:300,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Was Recipe Submission")),o.createElement("option",{value:"no"},(0,b.S)("Was not a Recipe Submission")))},Cell:function(e){var t=e.value;if(!t)return null;var r=t.name?t.name:e.original.submission_author_user_name?e.original.submission_author_user_name:"";return o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user"},o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-name"},t.id?o.createElement("a",{href:e.original.submission_author_user_link,target:"_blank"},"#",t.id):null,r?o.createElement("span",null," - ",r):null),t.email?o.createElement("div",{className:"wprm-admin-manage-recipe-submission-user-email"},t.email):null)}});var i,a=We(wprm_admin_modal.custom_fields&&wprm_admin_modal.custom_fields.fields?Object.values(wprm_admin_modal.custom_fields.fields):[]);try{var c=function(){var e=i.value;t.push({Header:e.name,id:"custom_field_".concat(e.key),accessor:"custom_fields",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value.hasOwnProperty(e.key)||!t.value[e.key])return null;var r=t.value[e.key];return"image"===e.type?o.createElement("div",{style:{width:"100%"}},r.hasOwnProperty("url")&&r.url?o.createElement("img",{src:r.url,className:"wprm-admin-manage-image"}):null):"textarea"===e.type?o.createElement("div",{dangerouslySetInnerHTML:{__html:r}}):"link"===e.type?o.createElement("a",{href:r,target:"_blank"},r):"email"===e.type?o.createElement("a",{href:"mailto:".concat(r)},r):o.createElement("div",null,r)}})};for(a.s();!(i=a.n()).done;)c()}catch(l){a.e(l)}finally{a.f()}return t}},Je={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"eye",title:(0,b.S)("View Revision"),onClick:function(){WPRM_Modal.open("recipe",{recipe:t.original.recipe_data,restoreRevision:!0,saveCallback:function(){return e.refreshData()}})}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Revision"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.post_title,'"?'))&&h.Z.recipe.deleteRevision(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"post_parent",width:75,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Revision ID"),id:"id",accessor:"id",width:75,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Date"),id:"date",accessor:"post_date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Name"),id:"name",accessor:"post_title",Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Recipe Data Size"),id:"recipe_data",accessor:"recipe_data",sortable:!1,filterable:!1,width:150,Cell:function(e){var t=JSON.stringify(wprm_admin_modal.recipe).length,r=JSON.stringify(e.value).length;return o.createElement("div",null,Math.max(r-t,0).toLocaleString())}}]}},Ye=r(5308);function Qe(e){return function(e){if(Array.isArray(e))return Xe(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 Xe(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 Xe(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 Xe(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 Ke={getColumns:function(e){var t=wprm_admin_modal.options.hasOwnProperty("".concat(e.props.options.id,"_link_nofollow"))?wprm_admin_modal.options["".concat(e.props.options.id,"_link_nofollow")]:wprm_admin_modal.options.term_link_nofollow,r=[];return"suitablefordiet"!==e.props.options.id&&r.push((0,Pe.Z)(e,"term_id")),r=[].concat(Qe(r),[{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:"suitablefordiet"===e.props.options.id?65:100,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},"suitablefordiet"===e.props.options.id?o.createElement(v.Z,{type:"pencil",title:"".concat((0,b.S)("Rename")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new name for"),' "').concat(t.original.label,'"?'),t.original.label);r&&r.trim()&&h.Z.manage.renameTermLabel(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()}))}}):o.createElement(o.Fragment,null,o.createElement(v.Z,{type:"pencil",title:"".concat((0,b.S)("Rename")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new name for"),' "').concat(t.original.name,'"?'),t.original.name);r&&r.trim()&&h.Z.manage.renameTerm(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()}))}}),o.createElement(v.Z,{type:"merge",title:"".concat((0,b.S)("Merge into another")," ").concat(e.props.options.label.singular),onClick:function(){var r=prompt("".concat((0,b.S)("What is the ID of the term you want the merge"),' "').concat(t.original.name,'" ').concat((0,b.S)("into"),"?"));r&&r!=t.original.term_id&&r.trim()&&h.Z.manage.getTerm(e.props.options.id,r).then((function(n){n?confirm("".concat((0,b.S)("Are you sure you want to merge"),' "').concat(t.original.name,'" ').concat((0,b.S)("into"),' "').concat(n.name,'"?'))&&h.Z.manage.mergeTerm(e.props.options.id,t.original.term_id,r).then((function(){return e.refreshData()})):alert((0,b.S)("We could not find a term with that ID."))}))}}),o.createElement(v.Z,{type:"trash",title:"".concat((0,b.S)("Delete")," ").concat(e.props.options.label.singular),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.manage.deleteTerm(e.props.options.id,t.original.term_id).then((function(){return e.refreshData()}))}})))}},{Header:(0,b.S)("ID"),id:"id",accessor:"term_id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:"suitablefordiet"===e.props.options.id?(0,b.S)("Diet"):(0,b.S)("Name"),id:"name",accessor:"name",Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){return e.value?Te().decode(e.value):null}},{Header:(0,b.S)("Recipes"),id:"count",accessor:"count",filterable:!1,width:65,Cell:function(t){return o.createElement(i.OL,{to:"/recipe/".concat(e.props.options.id,"=").concat(t.original.term_id)},t.value)}}]),"suitablefordiet"===e.props.options.id&&r.push({Header:(0,b.S)("Label"),id:"label",accessor:"label",sortable:!1,filterable:!1,Cell:function(e){return e.value?Te().decode(e.value):null}}),"ingredient"===e.props.options.id&&r.push({Header:(0,b.S)("Plural"),id:"plural",accessor:"plural",width:200,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-group-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Plural"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want the plural to be for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&h.Z.manage.updateTaxonomyMeta("ingredient",t.original.term_id,{plural:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("span",null,t.value):null)}}),"ingredient"===e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Shopping List Group"),id:"group",accessor:"group",width:200,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-group-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Group"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new group for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&h.Z.manage.updateTaxonomyMeta("ingredient",t.original.term_id,{group:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("span",null,t.value):null)}}),"ingredient"!==e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Image"),id:"image_id",accessor:"image_id",width:110,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Image")))},Cell:function(t){var r=function(r){r.preventDefault(),Ye.Z.selectImage((function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:r.id}).then((function(){return e.refreshData()}))}))};return o.createElement("div",{className:"wprm-manage-image-container"},t.value?o.createElement("div",{className:"wprm-manage-image-preview"},o.createElement(Ae.Z,{content:(0,b.S)("Edit Image")},o.createElement("img",{src:t.original.image_url,onClick:r})),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Remove Image"),onClick:function(){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{image_id:0}).then((function(){return e.refreshData()}))}})):o.createElement(v.Z,{type:"photo",title:(0,b.S)("Add Image"),onClick:r}))}}),wprm_admin.addons.premium&&(window.hasOwnProperty("EAFL_Modal")&&r.push({Header:(0,b.S)("Easy Affiliate Links"),id:"eafl",accessor:"eafl",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-eafl-container"},t.value?o.createElement(o.Fragment,null,o.createElement(v.Z,{type:"eafl-link",title:(0,b.S)("Edit Link"),onClick:function(){t.original.hasOwnProperty("eafl_details")?EAFL_Modal.open("edit",{link:t.original.eafl_details,saveCallback:function(){return e.refreshData()}}):alert((0,b.S)("An Affiliate Link with this ID cannot be found. Try deleting and adding it again."))}})," ",o.createElement(v.Z,{type:"eafl-unlink",title:(0,b.S)("Remove Link"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this link?"))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:""}).then((function(){return e.refreshData()}))}}),o.createElement("div",{className:"wprm-manage-ingredients-eafl-details"},t.original.hasOwnProperty("eafl_details")?o.createElement(o.Fragment,null,o.createElement("div",null,"#",t.value," - ",t.original.eafl_details.name),o.createElement("div",null,o.createElement("a",{href:t.original.eafl_details.url,target:"_blank"},t.original.eafl_details.url))):o.createElement("div",null,"#",t.value," - ",(0,b.S)("n/a")))):o.createElement(v.Z,{type:"eafl-link",title:(0,b.S)("Set Affiliate Link"),onClick:function(){EAFL_Modal.open("insert",{insertCallback:function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{eafl:r.id}).then((function(){return e.refreshData()}))},selectedText:t.original.name})}}))}}),r.push({Header:(0,b.S)("Link"),id:"link",accessor:"link",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-link-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Link"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,b.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{link:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("a",{href:t.value,target:"_blank"},t.value):null)}},{Header:(0,b.S)("Link Nofollow"),id:"link_nofollow",accessor:"link_nofollow",width:250,Filter:function(e){var r=e.filter,n=e.onChange;return o.createElement("select",{onChange:function(e){return n(e.target.value)},style:{width:"100%",fontSize:"1em"},value:r?r.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Any Nofollow")),t.map((function(e,t){return o.createElement("option",{value:e.value,key:t},e.label)})))},Cell:function(r){return o.createElement("div",null,r.original.link?o.createElement("select",{onChange:function(t){h.Z.manage.updateTaxonomyMeta(e.props.options.id,r.original.term_id,{link_nofollow:t.target.value}).then((function(){return e.refreshData()}))},style:{width:"100%",fontSize:"1em"},value:r.value},t.map((function(e,t){return o.createElement("option",{value:e.value,key:t},e.label)}))):null)}})),"equipment"===e.props.options.id&&wprm_admin.addons.premium&&r.push({Header:(0,b.S)("Affiliate HTML"),id:"affiliate_html",accessor:"affiliate_html",width:500,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-equipment-affiliate-html-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change HTML"),onClick:function(){WPRM_Modal.open("input-fields",{header:(0,b.S)("Change Affiliate HTML"),fields:[{label:"HTML",type:"textarea",value:t.value}],insertCallback:function(r){var n=r.fields[0].value;h.Z.manage.updateTaxonomyMeta("equipment",t.original.term_id,{affiliate_html:n}).then((function(){return e.refreshData()}))}})}}),o.createElement("span",{className:"wprm-manage-equipment-affiliate-html"},t.value))}}),window.hasOwnProperty("wpupg_admin")&&(r.push({Header:(0,b.S)("Grid Link"),id:"wpupg_custom_link",accessor:"wpupg_custom_link",width:300,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){return o.createElement("div",{className:"wprm-manage-ingredients-link-container"},o.createElement(v.Z,{type:"pencil",title:(0,b.S)("Change Link"),onClick:function(){var r=prompt("".concat((0,b.S)("What do you want to be the new grid link for"),' "').concat(t.original.name,'"?'),t.value);!1!==r&&(""===r||"http"===r.substring(0,4)||confirm('"'.concat(r,'" ').concat((0,b.S)("does not start with http:// or https:// as we would expect for a link. Are you sure you want to use this? Regular HTML code will not work here."))))&&h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_link:r}).then((function(){return e.refreshData()}))}}),t.value?o.createElement("a",{href:t.value,target:"_blank"},t.value):null)}}),r.push({Header:(0,b.S)("Grid Image"),id:"wpupg_custom_image",accessor:"wpupg_custom_image",width:110,sortable:!1,Filter:function(e){var t=e.filter,r=e.onChange;return o.createElement("select",{onChange:function(e){return r(e.target.value)},style:{width:"100%",fontSize:"1em"},value:t?t.value:"all"},o.createElement("option",{value:"all"},(0,b.S)("Show All")),o.createElement("option",{value:"yes"},(0,b.S)("Has Image")),o.createElement("option",{value:"no"},(0,b.S)("Does not have Image")))},Cell:function(t){var r=function(r){r.preventDefault(),Ye.Z.selectImage((function(r){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:r.id}).then((function(){return e.refreshData()}))}))};return o.createElement("div",{className:"wprm-manage-image-container"},t.value?o.createElement("div",{className:"wprm-manage-image-preview"},o.createElement(Ae.Z,{content:(0,b.S)("Edit Image")},o.createElement("img",{src:t.original.wpupg_custom_image_url,width:"80",onClick:r})),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Remove Image"),onClick:function(){h.Z.manage.updateTaxonomyMeta(e.props.options.id,t.original.term_id,{wpupg_custom_image:0}).then((function(){return e.refreshData()}))}})):o.createElement(v.Z,{type:"photo",title:(0,b.S)("Add Image"),onClick:r}))}})),r}},$e={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:70,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"restore",title:(0,b.S)("Restore Recipe"),onClick:function(){h.Z.recipe.updateStatus(t.original.id,"draft").then((function(){return e.refreshData()}))}}),o.createElement(v.Z,{type:"trash",title:(0,b.S)("Permanently Delete"),onClick:function(){confirm("".concat((0,b.S)("Are you sure you want to delete"),' "').concat(t.original.name,'"?'))&&h.Z.recipe.delete(t.original.id,!0).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("ID"),id:"id",accessor:"id",width:65,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Date"),id:"date",accessor:"date",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Name"),id:"name",accessor:"name",width:300,Filter:function(e){return o.createElement(Me.Z,e)}}]}};function et(e){return(et="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 tt={getColumns:function(e){return[(0,Pe.Z)(e),{Header:(0,b.S)("Sort:"),id:"actions",headerClassName:"wprm-admin-table-help-text",sortable:!1,width:40,Filter:function(){return o.createElement("div",null,(0,b.S)("Filter:"))},Cell:function(t){return o.createElement("div",{className:"wprm-admin-manage-actions"},o.createElement(v.Z,{type:"trash",title:(0,b.S)("Delete Action"),onClick:function(){confirm((0,b.S)("Are you sure you want to delete this action?"))&&h.Z.analytics.delete(t.original.id).then((function(){return e.refreshData()}))}}))}},{Header:(0,b.S)("Date"),id:"created_at",accessor:"created_at",width:150,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Action"),id:"type",accessor:"type",width:150,sortable:!1,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Action Details"),id:"meta",accessor:"meta",width:200,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",null,"object"===et(e.value)?Object.keys(e.value).map((function(t,r){return o.createElement("div",{key:r},o.createElement("strong",null,t,":")," ",e.value[t].toString())})):null)}},{Header:(0,b.S)("Recipe ID"),id:"recipe_id",accessor:"recipe_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(t){if(!t.value||"0"===t.value)return o.createElement("div",null);var r="".concat(t.value," - ").concat(t.original.recipe?t.original.recipe:(0,b.S)("n/a"));return o.createElement("div",null,t.original.recipe?o.createElement("a",{href:"#",onClick:function(r){r.preventDefault(),WPRM_Modal.open("recipe",{recipeId:t.value,saveCallback:function(){return e.refreshData()}})}},r):r)}},{Header:(0,b.S)("Parent Post ID"),id:"post_id",accessor:"post_id",width:350,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.post?e.original.post:(0,b.S)("n/a"));return o.createElement("div",null,e.original.post_link?o.createElement("a",{href:Te().decode(e.original.post_link),target:"_blank"},t):t)}},{Header:(0,b.S)("User ID"),id:"user_id",accessor:"user_id",width:150,Filter:function(e){return o.createElement(Me.Z,e)},Cell:function(e){if(!e.value||"0"===e.value)return o.createElement("div",null);var t="".concat(e.value," - ").concat(e.original.user?e.original.user:(0,b.S)("n/a"));return o.createElement("div",null,e.original.user_link?o.createElement("a",{href:Te().decode(e.original.user_link),target:"_blank"},t):t)}},{Header:(0,b.S)("Visitor UID"),id:"visitor_id",accessor:"visitor_id",width:175,Filter:function(e){return o.createElement(Me.Z,e)}},{Header:(0,b.S)("Visitor Details"),id:"visitor",accessor:"visitor",width:200,sortable:!1,filterable:!1,Cell:function(e){return o.createElement("div",null,"object"===et(e.value)?Object.keys(e.value).map((function(t,r){return o.createElement("div",{key:r},o.createElement("strong",null,t,":")," ",e.value[t].toString())})):null)}}]}},rt={recipe:{parent:(0,b.S)("Recipes"),title:(0,b.S)("Overview"),id:"recipe",route:"recipe",label:{singular:(0,b.S)("Recipe"),plural:(0,b.S)("Recipes")},bulkEdit:{route:"recipe",type:"recipe"},createButton:function(e){WPRM_Modal.open("recipe",{saveCallback:function(){return e.refreshData()}})},selectedColumns:["seo","id","date","name","parent_post","rating"],columns:Ve}};wprm_admin_manage.revisions&&(rt.revision={parent:(0,b.S)("Recipes"),id:"revision",route:"revision",label:{singular:(0,b.S)("Revision"),plural:(0,b.S)("Revisions")},bulkEdit:{route:"revision",type:"revision"},createButton:!1,selectedColumns:!1,columns:Je}),rt.trash={parent:(0,b.S)("Recipes"),title:"".concat((0,b.S)("Trash")," (").concat(wprm_admin_manage.trash,")"),id:"trash",route:"trash",label:{singular:(0,b.S)("Recipe"),plural:(0,b.S)("Recipes")},bulkEdit:{route:"trash",type:"trash"},createButton:!1,selectedColumns:!1,columns:$e},rt.ingredient={parent:(0,b.S)("Recipe Fields"),id:"ingredient",route:"taxonomy",label:{singular:(0,b.S)("Ingredient"),plural:(0,b.S)("Ingredients")},bulkEdit:{route:"taxonomy",type:"ingredient"},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new ingredient?"));t&&t.trim()&&h.Z.manage.createTerm("ingredient",t).then((function(t){t?e.refreshData():alert((0,b.S)("We were not able to create this ingredient. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:Ke},rt.equipment={parent:(0,b.S)("Recipe Fields"),id:"equipment",route:"taxonomy",label:{singular:(0,b.S)("Equipment"),plural:(0,b.S)("Equipment")},bulkEdit:{route:"taxonomy",type:"equipment"},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new equipment?"));t&&t.trim()&&h.Z.manage.createTerm("equipment",t).then((function(t){t?e.refreshData():alert((0,b.S)("We were not able to create this equipment. Make sure it does not exist yet."))}))},selectedColumns:!1,columns:Ke},Object.keys(wprm_admin_manage.taxonomies).map((function(e){var t=wprm_admin_manage.taxonomies[e],r=e.substr(5);rt["tag_"+r]="suitablefordiet"===r?{parent:(0,b.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:!1,createButton:!1,selectedColumns:["id","name","label","count"],columns:Ke}:{parent:(0,b.S)("Recipe Fields"),id:r,route:"taxonomy",label:{singular:t.singular_name,plural:t.name},bulkEdit:{route:"taxonomy",type:r},createButton:function(e){var t=prompt((0,b.S)("What do you want to be the name of this new term?"));t&&t.trim()&&h.Z.manage.createTerm(r,t).then((function(t){t?(e.refreshData(),wprm_admin_modal.categories[r].terms.push({term_id:t.id,name:t.name,count:0})):alert((0,b.S)("We were not able to create this term. Make sure it does not exist yet."))}))},selectedColumns:["id","name","count"],columns:Ke}})),rt.taxonomies={required:"premium",parent:(0,b.S)("Your Custom Fields"),id:"taxonomies",label:{singular:(0,b.S)("Recipe Taxonomy"),plural:(0,b.S)("Recipe Taxonomies")}},rt["custom-fields"]={required:"pro",parent:(0,b.S)("Your Custom Fields"),id:"custom-fields",label:{singular:(0,b.S)("Custom Field"),plural:(0,b.S)("Custom Fields")}},rt.nutrition={required:"pro",parent:(0,b.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,b.S)("Custom Nutrition Ingredient"),plural:(0,b.S)("Custom Nutrition")}},rt.nutrients={required:"premium",parent:(0,b.S)("Your Custom Fields"),id:"nutrition_ingredient",label:{singular:(0,b.S)("Custom Nutrient"),plural:(0,b.S)("Custom Nutrients")}},rt.rating={parent:(0,b.S)("Features"),id:"rating",route:"rating",label:{singular:(0,b.S)("Rating"),plural:(0,b.S)("Ratings")},bulkEdit:{route:"rating",type:"rating"},createButton:!1,selectedColumns:["date","rating","type","user_id","ip"],columns:je},rt.collections={required:"elite",parent:(0,b.S)("Features"),id:"collections",label:{singular:(0,b.S)("Saved Collection"),plural:(0,b.S)("Saved Collections")}},rt["user-collections"]={required:"elite",parent:(0,b.S)("Features"),id:"user-collections",label:{singular:(0,b.S)("User Collection"),plural:(0,b.S)("User Collections")}},rt["recipe-submission"]={required:"elite",parent:(0,b.S)("Features"),title:(0,b.S)("Recipe Submissions"),id:"recipe-submission",label:{singular:(0,b.S)("Recipe Submission"),plural:(0,b.S)("Recipe Submissions")}},rt.analytics={parent:(0,b.S)("Analytics"),title:(0,b.S)("Overview"),id:"analytics",route:"analytics",label:{singular:(0,b.S)("Action"),plural:(0,b.S)("Actions")},bulkEdit:{route:"analytics",type:"analytics"},createButton:!1,selectedColumns:["created_at","type","recipe_id","post_id","user_id"],columns:tt};var nt=rt;function ot(e){return(ot="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 it(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function at(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 ct(e,t){return(ct=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function lt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=st(e);if(t){var o=st(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return ut(this,r)}}function ut(e,t){return!t||"object"!==ot(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 st(e){return(st=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var pt=WPRecipeMaker["wp-recipe-maker/dist/shared"].hooks,dt=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&&ct(e,t)}(c,e);var t,r,n,i=lt(c);function c(){return it(this,c),i.apply(this,arguments)}return t=c,(r=[{key:"render",value:function(){var e=pt.applyFilters("datatables",nt);return o.createElement(ce.Z,{module:"Manage"},o.createElement("div",{id:"wprm-admin-manage-header"},o.createElement(g,{datatables:e}),o.createElement(T,null)),o.createElement("div",{id:"wprm-admin-manage-content"},o.createElement(a.AW,{path:"/:type?/:filter?",render:function(t){var r=t.match,n="recipe";r.params.type&&Object.keys(e).includes(r.params.type)&&(n=r.params.type);var i=!1;if(r.params.filter){var a=r.params.filter.split("=");2===a.length&&(i=a)}return console.log("params",r.params),e.hasOwnProperty(n)?o.createElement(xe,{type:n,filter:i,options:e[n]}):null}})))}}])&&at(t.prototype,r),n&&at(t,n),c}(o.Component);r.g._babelPolyfill||r(28059);var ft=document.getElementById("wprm-admin-manage");ft&&n.render(o.createElement(i.UT,{hashType:"noslash"},o.createElement(dt,null)),ft)},80416:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});r(26364),r(86632),r(61928),r(19701),r(54883),r(56908),r(10853),r(54130),r(33290),r(45007),r(68995);var n=r(89526);function o(e){return(o="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 i(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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=s(e);if(t){var o=s(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==o(t)&&"function"!=typeof t?u(e):t}function u(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function s(e){return(s=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var p=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&&a(e,t)}(s,e);var t,r,o,l=c(s);function s(e){var t;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,s),(t=l.call(this,e)).debouncedTimer=!1;var r="";return e.filter&&e.filter.value&&(r=e.filter.value),t.state={value:r,passedValue:r},t.onChange=t.onChange.bind(u(t)),t.updateFilter=t.updateFilter.bind(u(t)),t}return t=s,(r=[{key:"onChange",value:function(e){var t=this;clearTimeout(this.debouncedTimer),e!==this.state.passedValue&&(this.debouncedTimer=setTimeout((function(){t.updateFilter(e)}),500)),this.setState({value:e})}},{key:"updateFilter",value:function(e){this.props.onChange(e),this.setState({passedValue:e})}},{key:"render",value:function(){var e=this;return n.createElement("input",{className:"wprm-admin-manage-text-filter",type:"text",value:this.state.value,onChange:function(t){return e.onChange(t.target.value)}})}}])&&i(t.prototype,r),o&&i(t,o),s}(n.Component)},94341:function(e,t,r){"use strict";var n=r(89526),o=r(52082);t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"id";return{Header:(0,o.S)("Bulk Edit"),id:"bulk_edit",className:"wprm-admin-table-checkbox-container",headerClassName:"wprm-admin-table-checkbox-container",sortable:!1,width:30,Filter:function(){return n.createElement("input",{type:"checkbox",checked:1===e.state.selectedAllRows,ref:function(t){t&&(t.indeterminate=2===e.state.selectedAllRows)},onChange:function(){return e.toggleSelectAll()}})},Cell:function(r){return n.createElement("input",{type:"checkbox",checked:!0===e.state.selectedRows[r.original[t]],onChange:function(){return e.toggleSelectRow(r.original[t])}})}}}},5308:function(e,t,r){"use strict";r(87191);var n=r(52082),o={selectImage:function(e){this.select("image",e)},selectVideo:function(e){this.select("video",e)},select:function(e,t){var r={title:(0,n.S)("Select Media"),button:{text:(0,n.S)("Select")},multiple:!1};"video"===e?(r.frame="video",r.state="video-details"):r.library={type:"image"};var o=wp.media(r);o.on("select",(function(){var e=o.state().get("selection").first().toJSON();t(e)})),o.on("update",(function(){var e=o.state().media.attachment;e&&t(e)})),o.open()}};t.Z=o},37673:function(e,t,r){"use strict";r.d(t,{Z:function(){return O}});r(55862);var n=r(46087),o=wprm_admin.endpoints.analytics,i={delete:function(e){return n.Z.call("".concat(o,"/").concat(e),"DELETE")}},a=wprm_admin.endpoints.notices,c={dismissNotice:function(e){var t={id:e};return n.Z.call(a,"DELETE",t)}},l=wprm_admin.endpoints.modal,u={parseIngredients:function(e){var t={ingredients:e};return n.Z.call("".concat(l,"/ingredient/parse"),"POST",t)}},s=(r(10853),r(35054),wprm_admin.endpoints.manage),p=wprm_admin.endpoints.rating,d=wprm_admin.endpoints.taxonomy,f=!1,m=!1,g={getData:function(e){return f?(m=e,new Promise((function(e){return e(!1)}))):this.getDataDebounced(e)},getDataDebounced:function(e){var t=this;return f=!0,n.Z.call("".concat(s,"/").concat(e.route),"POST",e).then((function(e){if(m){var r=m;return m=!1,t.getDataDebounced(r)}return f=!1,e}))},deleteUserRatings:function(e){return n.Z.call("".concat(p,"/recipe/").concat(e),"DELETE")},getTerm:function(e,t){return n.Z.call("".concat(d).concat(e,"/").concat(t))},createTerm:function(e,t){var r={name:t};return n.Z.call("".concat(d).concat(e),"POST",r)},deleteTerm:function(e,t){return n.Z.call("".concat(d).concat(e,"/").concat(t,"?force=true"),"DELETE")},renameTerm:function(e,t,r){var o={name:r};return n.Z.call("".concat(d).concat(e,"/").concat(t),"POST",o)},renameTermLabel:function(e,t,r){var o={type:e,id:t,label:r};return n.Z.call("".concat(s,"/taxonomy/label"),"POST",o)},mergeTerm:function(e,t,r){var o={type:e,oldId:t,newId:r};return n.Z.call("".concat(s,"/taxonomy/merge"),"POST",o)},updateTaxonomyMeta:function(e,t,r){var o={};return o[e]=r,n.Z.call("".concat(d).concat(e,"/").concat(t),"POST",o)},bulkEdit:function(e,t,r,o){var i={type:t,ids:r,action:o};return n.Z.call("".concat(s,"/").concat(e,"/bulk"),"POST",i)}},h=wprm_admin.endpoints.modal,v=!1,b=!1,y={getSuggestions:function(e){return v?(b=e,new Promise((function(e){return e(!1)}))):this.getSuggestionsDebounced(e)},getSuggestionsDebounced:function(e){var t=this;return v=!0,n.Z.call("".concat(h,"/suggest"),"POST",e).then((function(e){if(b){var r=b;return b=!1,t.getSuggestionsDebounced(r)}return v=!1,e}))}},w=wprm_admin.endpoints.rating,I={update:function(e){var t={rating:e};return n.Z.call("".concat(w),"POST",t)},delete:function(e){return n.Z.call("".concat(w,"/").concat(e),"DELETE")}},S=wprm_admin.endpoints.recipe,E=wprm_admin.endpoints.manage,x={get:function(e){return n.Z.call("".concat(S,"/").concat(e))},save:function(e){var t={recipe:e},r=S,o="POST",i=!!e.id&&parseInt(e.id);return i&&(r+="/".concat(i),o="PUT"),n.Z.call(r,o,t)},updateStatus:function(e,t){var r={status:t};return n.Z.call("".concat(S,"/").concat(e),"PUT",r)},delete:function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r="".concat(S,"/").concat(e);return t&&(r+="?force=true"),n.Z.call(r,"DELETE")},deleteRevision:function(e){return n.Z.call("".concat(E,"/revision/").concat(e),"DELETE")}},D=wprm_admin.endpoints.setting,T={save:function(e){var t={settings:e};return n.Z.call(D,"POST",t)}},M=(r(61078),r(6208),wprm_admin.endpoints.template),P=[],C={},N=null,L={previewShortcode:function(e,t,r){var n=this;return C[e]=t,clearTimeout(N),N=setTimeout((function(){n.previewShortcodes(r)}),500),new Promise((function(e){return P.push(e)}))},previewShortcodes:function(e){var t=P,r=C;P=[],C={};var n={recipeId:e,shortcodes:r};fetch("".concat(M,"/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((function(e){return e.json().then((function(r){var n=e.ok?r.preview:{};t.forEach((function(e){return e(n)}))}))}))},searchRecipes:function(e){return 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((function(e){return e.json()}))},save:function(e){var t={template:e};return n.Z.call(M,"POST",t)},delete:function(e){var t={slug:e};return n.Z.call(M,"DELETE",t)}},j=wprm_admin.endpoints.utilities,k={saveImage:function(e){var t={url:e};return n.Z.call("".concat(j,"/save_image"),"POST",t)}},O=WPRecipeMaker["wp-recipe-maker/dist/shared"].hooks.applyFilters("api",{analytics:i,general:c,import:u,manage:g,modal:y,rating:I,recipe:x,settings:T,template:L,utilities:k})},46087:function(e,t,r){"use strict";r(26364),r(86632),r(61928),r(55862),r(31807),r(54883),r(10853),r(35054),r(45007),r(68995);function n(e){return(n="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)}t.Z={call:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"GET",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o=wprm_admin.api_nonce;"object"===n(window.wpApiSettings)&&window.wpApiSettings.nonce&&(o=window.wpApiSettings.nonce);var i={method:t,headers:{"X-WP-Nonce":o,Accept:"application/json","Content-Type":"application/json","Cache-Control":"no-cache, no-store, must-revalidate",Pragma:"no-cache",Expires:0},credentials:"same-origin"};return"PUT"!==t&&"DELETE"!==t||(i.method="POST",i.headers["X-HTTP-Method-Override"]=t),r&&(i.body=JSON.stringify(r)),fetch(e,i).then((function(t){if(t.ok)return t.json();console.log(e,i),console.log(t);var r="Something went wrong. Using a firewall like Cloudflare or Sucuri? Try whitelisting your IP. If that doesn't work, please contact support@bootstrapped.ventures with the following details:",n="".concat(t.url," ").concat(t.redirected?"(redirected)":"","- ").concat(t.status," - ").concat(t.statusText);try{t.text().then((function(e){console.log(e),-1!==e.indexOf("rest_cookie_invalid_nonce")?alert("You got logged out or your session expired. Please try logging out of WordPress and back in again."):alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(e))}))}catch(o){console.log(o),alert("".concat(r,"\r\n\r\n").concat(n,"\r\n\r\n").concat(o))}return!1}))}}},48618:function(e,t,r){"use strict";r.d(t,{Z:function(){return s}});r(26364),r(86632),r(61928),r(54883),r(56908),r(10853),r(54130),r(33290),r(45007),r(68995);var n=r(89526);function o(e){return(o="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 i(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 a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var r,n=u(e);if(t){var o=u(this).constructor;r=Reflect.construct(n,arguments,o)}else r=n.apply(this,arguments);return l(this,r)}}function l(e,t){return!t||"object"!==o(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 u(e){return(u=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var s=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&&a(e,t)}(u,e);var t,r,o,l=c(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=l.call(this,e)).state={hasError:!1,error:!1,info:!1},t}return t=u,(r=[{key:"componentDidCatch",value:function(e,t){this.setState({hasError:!0,error:e,info:t})}},{key:"render",value:function(){return n.createElement(n.Fragment,null,this.state.hasError?n.createElement("div",{className:"wprm-error-boundary"},n.createElement("p",null,n.createElement("strong",null,"Something went wrong"),n.createElement("br",null),"Please contact ",n.createElement("a",{href:"mailto:support@bootstrapped.ventures"},"support@bootstrapped.ventures")," and send along the following information:"),n.createElement("pre",null,this.props.module?"Module: ".concat(this.props.module,"\n"):null,this.state.error?"Error: ".concat(this.state.error.toString(),"\n"):null,this.state.info?"Stack: ".concat(this.state.info.componentStack):null)):this.props.children)}}])&&i(t.prototype,r),o&&i(t,o),u}(n.Component)},62834:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(89526),o=r(49092),i=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+",videoplayer:"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSIxNiIgdmlld0JveD0iMCAwIDE2IDE2Ij48ZyBjbGFzcz0ibmMtaWNvbi13cmFwcGVyIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9IiMxMTExMTEiIHN0cm9rZT0iIzExMTExMSI+PHBvbHlnb24gZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHBvaW50cz0iNi41LDIuNSA2LjUsNy41IDEwLjUsNSAiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGNpcmNsZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgY3g9IjguNSIgY3k9IjExLjUiIHI9IjIiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPGxpbmUgZmlsbD0ibm9uZSIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIiBzdHJva2UtbWl0ZXJsaW1pdD0iMTAiIHgxPSIyLjUiIHkxPSIxMS41IiB4Mj0iNi41IiB5Mj0iMTEuNSIgZGF0YS1jb2xvcj0iY29sb3ItMiIvPiA8bGluZSBmaWxsPSJub25lIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgeDE9IjEyLjUiIHkxPSIxMS41IiB4Mj0iMTMuNSIgeTI9IjExLjUiIGRhdGEtY29sb3I9ImNvbG9yLTIiLz4gPHBhdGggZmlsbD0ibm9uZSIgc3Ryb2tlPSIjMTExMTExIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiIHN0cm9rZS1taXRlcmxpbWl0PSIxMCIgZD0iTTE0LjUsMTUuNWgtMTMgYy0wLjU1MiwwLTEtMC40NDgtMS0xdi0xM2MwLTAuNTUyLDAuNDQ4LTEsMS0xaDEzYzAuNTUyLDAsMSwwLjQ0OCwxLDF2MTNDMTUuNSwxNS4wNTIsMTUuMDUyLDE1LjUsMTQuNSwxNS41eiIvPjwvZz48L3N2Zz4="},c=function(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",l=!!e.hasOwnProperty("hidden")&&e.hidden;return l&&(r="",c+=" wprm-admin-icon-hidden"),n.createElement(i.Z,{content:r},n.createElement("span",{className:c,onClick:l?function(){}:e.onClick},n.createElement(o.Z,{src:t})))}},95075:function(e,t,r){"use strict";r(26364),r(19701),r(61078),r(80238),r(12938),r(80044),r(6208);var n=r(89526),o=r(20877);function i(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?i(Object(r),!0).forEach((function(t){c(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(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=function(e){if(!e.content)return e.children;var t=e.hasOwnProperty("style")?e.style:{};return n.createElement(o.Tooltip,{html:n.createElement("div",{dangerouslySetInnerHTML:{__html:e.content}}),popperOptions:{modifiers:{addZIndex:{enabled:!0,order:810,fn:function(e){return a(a({},e),{},{styles:a(a({},e.styles),{},{zIndex:1e5})})}},preventOverflow:{boundariesElement:"window"}}},style:t},e.children)}},52082:function(e,t,r){"use strict";r.d(t,{S:function(){return c}});r(26364),r(19701),r(61078),r(80238),r(12938),r(80044),r(6208);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 o(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){i(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 i(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var a={};function c(e){return a.hasOwnProperty(e)?a[e]:e}window.hasOwnProperty("wprm_public")&&wprm_public.hasOwnProperty("translations")&&(a=o(o({},a),wprm_public.translations)),window.hasOwnProperty("wprm_admin")&&wprm_admin.hasOwnProperty("translations")&&(a=o(o({},a),wprm_admin.translations))},45177:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},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 o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)&&r.length){var a=o.apply(null,r);a&&e.push(a)}else if("object"===i)for(var c in r)n.call(r,c)&&r[c]&&e.push(c)}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},77447:function(e,t,r){"use strict";var n=r(12817);e.exports=function(e,t){var r,o,i,a,c,l,u=!1;t||(t={}),r=t.debug||!1;try{if(i=n(),a=document.createRange(),c=document.getSelection(),(l=document.createElement("span")).textContent=e,l.style.all="unset",l.style.position="fixed",l.style.top=0,l.style.clip="rect(0, 0, 0, 0)",l.style.whiteSpace="pre",l.style.webkitUserSelect="text",l.style.MozUserSelect="text",l.style.msUserSelect="text",l.style.userSelect="text",l.addEventListener("copy",(function(r){r.stopPropagation(),t.format&&(r.preventDefault(),r.clipboardData.clearData(),r.clipboardData.setData(t.format,e))})),document.body.appendChild(l),a.selectNodeContents(l),c.addRange(a),!document.execCommand("copy"))throw new Error("copy command was unsuccessful");u=!0}catch(s){r&&console.error("unable to copy using execCommand: ",s),r&&console.warn("trying IE specific stuff");try{window.clipboardData.setData(t.format||"text",e),u=!0}catch(s){r&&console.error("unable to copy using clipboardData: ",s),r&&console.error("falling back to prompt"),o=function(e){var t=(/mac os x/i.test(navigator.userAgent)?"⌘":"Ctrl")+"+C";return e.replace(/#{\s*key\s*}/g,t)}("message"in t?t.message:"Copy to clipboard: #{key}, Enter"),window.prompt(o,e)}}finally{c&&("function"==typeof c.removeRange?c.removeRange(a):c.removeAllRanges()),l&&document.body.removeChild(l),i()}return u}},28641:function(e){e.exports=function(e){if("function"!=typeof e)throw TypeError(String(e)+" is not a function");return e}},75017:function(e,t,r){var n=r(52786);e.exports=function(e){if(!n(e)&&null!==e)throw TypeError("Can't set "+String(e)+" as a prototype");return e}},6677:function(e,t,r){var n=r(52280),o=r(51569),i=r(86385),a=n("unscopables"),c=Array.prototype;null==c[a]&&i.f(c,a,{configurable:!0,value:o(null)}),e.exports=function(e){c[a][e]=!0}},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}},20379:function(e,t,r){"use strict";var n=r(68671).forEach,o=r(54324),i=r(5673),a=o("forEach"),c=i("forEach");e.exports=a&&c?[].forEach:function(e){return n(this,e,arguments.length>1?arguments[1]:void 0)}},84899:function(e,t,r){"use strict";var n=r(98166),o=r(30744),i=r(9637),a=r(68089),c=r(35108),l=r(35039),u=r(77193);e.exports=function(e){var t,r,s,p,d,f,m=o(e),g="function"==typeof this?this:Array,h=arguments.length,v=h>1?arguments[1]:void 0,b=void 0!==v,y=u(m),w=0;if(b&&(v=n(v,h>2?arguments[2]:void 0,2)),null==y||g==Array&&a(y))for(r=new g(t=c(m.length));t>w;w++)f=b?v(m[w],w):m[w],l(r,w,f);else for(d=(p=y.call(m)).next,r=new g;!(s=d.call(p)).done;w++)f=b?i(p,v,[s.value,w],!0):s.value,l(r,w,f);return r.length=w,r}},37190:function(e,t,r){var n=r(29580),o=r(35108),i=r(32565),a=function(e){return function(t,r,a){var c,l=n(t),u=o(l.length),s=i(a,u);if(e&&r!=r){for(;u>s;)if((c=l[s++])!=c)return!0}else for(;u>s;s++)if((e||s in l)&&l[s]===r)return e||s||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},68671:function(e,t,r){var n=r(98166),o=r(78609),i=r(30744),a=r(35108),c=r(80150),l=[].push,u=function(e){var t=1==e,r=2==e,u=3==e,s=4==e,p=6==e,d=5==e||p;return function(f,m,g,h){for(var v,b,y=i(f),w=o(y),I=n(m,g,3),S=a(w.length),E=0,x=h||c,D=t?x(f,S):r?x(f,0):void 0;S>E;E++)if((d||E in w)&&(b=I(v=w[E],E,y),e))if(t)D[E]=b;else if(b)switch(e){case 3:return!0;case 5:return v;case 6:return E;case 2:l.call(D,v)}else if(s)return!1;return p?-1:u||s?s:D}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6)}},82091:function(e,t,r){var n=r(79044),o=r(52280),i=r(11197),a=o("species");e.exports=function(e){return i>=51||!n((function(){var t=[];return(t.constructor={})[a]=function(){return{foo:1}},1!==t[e](Boolean).foo}))}},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),o=r(79044),i=r(40454),a=Object.defineProperty,c={},l=function(e){throw e};e.exports=function(e,t){if(i(c,e))return c[e];t||(t={});var r=[][e],u=!!i(t,"ACCESSORS")&&t.ACCESSORS,s=i(t,0)?t[0]:l,p=i(t,1)?t[1]:void 0;return c[e]=!!r&&!o((function(){if(u&&!n)return!0;var e={length:-1};u?a(e,1,{enumerable:!0,get:l}):e[1]=1,r.call(e,s,p)}))}},80150:function(e,t,r){var n=r(52786),o=r(71982),i=r(52280)("species");e.exports=function(e,t){var r;return o(e)&&("function"!=typeof(r=e.constructor)||r!==Array&&!o(r.prototype)?n(r)&&null===(r=r[i])&&(r=void 0):r=void 0),new(void 0===r?Array:r)(0===t?0:t)}},9637:function(e,t,r){var n=r(83875);e.exports=function(e,t,r,o){try{return o?t(n(r)[0],r[1]):t(r)}catch(a){var i=e.return;throw void 0!==i&&n(i.call(e)),a}}},8662:function(e,t,r){var n=r(52280)("iterator"),o=!1;try{var i=0,a={next:function(){return{done:!!i++}},return:function(){o=!0}};a[n]=function(){return this},Array.from(a,(function(){throw 2}))}catch(c){}e.exports=function(e,t){if(!t&&!o)return!1;var r=!1;try{var i={};i[n]=function(){return{next:function(){return{done:r=!0}}}},e(i)}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),o=r(79159),i=r(52280)("toStringTag"),a="Arguments"==o(function(){return arguments}());e.exports=n?o: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),i))?r:a?o(t):"Object"==(n=o(t))&&"function"==typeof t.callee?"Arguments":n}},73870:function(e,t,r){var n=r(40454),o=r(31561),i=r(66012),a=r(86385);e.exports=function(e,t){for(var r=o(t),c=a.f,l=i.f,u=0;u<r.length;u++){var s=r[u];n(e,s)||c(e,s,l(t,s))}}},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(o){}}return!1}},25115:function(e,t,r){var n=r(79044);e.exports=!n((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},75304:function(e,t,r){var n=r(96411),o=/"/g;e.exports=function(e,t,r,i){var a=String(n(e)),c="<"+t;return""!==r&&(c+=" "+r+'="'+String(i).replace(o,""")+'"'),c+">"+a+"</"+t+">"}},6181:function(e,t,r){"use strict";var n=r(97022).IteratorPrototype,o=r(51569),i=r(69199),a=r(60878),c=r(44818),l=function(){return this};e.exports=function(e,t,r){var u=t+" Iterator";return e.prototype=o(n,{next:i(1,r)}),a(e,u,!1,!0),c[u]=l,e}},45899:function(e,t,r){var n=r(7493),o=r(86385),i=r(69199);e.exports=n?function(e,t,r){return o.f(e,t,i(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}}},35039:function(e,t,r){"use strict";var n=r(21893),o=r(86385),i=r(69199);e.exports=function(e,t,r){var a=n(t);a in e?o.f(e,a,i(0,r)):e[a]=r}},61495:function(e,t,r){"use strict";var n=r(19882),o=r(6181),i=r(12654),a=r(22412),c=r(60878),l=r(45899),u=r(35974),s=r(52280),p=r(21178),d=r(44818),f=r(97022),m=f.IteratorPrototype,g=f.BUGGY_SAFARI_ITERATORS,h=s("iterator"),v="keys",b="values",y="entries",w=function(){return this};e.exports=function(e,t,r,s,f,I,S){o(r,t,s);var E,x,D,T=function(e){if(e===f&&L)return L;if(!g&&e in C)return C[e];switch(e){case v:case b:case y:return function(){return new r(this,e)}}return function(){return new r(this)}},M=t+" Iterator",P=!1,C=e.prototype,N=C[h]||C["@@iterator"]||f&&C[f],L=!g&&N||T(f),j="Array"==t&&C.entries||N;if(j&&(E=i(j.call(new e)),m!==Object.prototype&&E.next&&(p||i(E)===m||(a?a(E,m):"function"!=typeof E[h]&&l(E,h,w)),c(E,M,!0,!0),p&&(d[M]=w))),f==b&&N&&N.name!==b&&(P=!0,L=function(){return N.call(this)}),p&&!S||C[h]===L||l(C,h,L),d[t]=L,f)if(x={values:T(b),keys:I?L:T(v),entries:T(y)},S)for(D in x)(g||P||!(D in C))&&u(C,D,x[D]);else n({target:t,proto:!0,forced:g||P},x);return x}},68308:function(e,t,r){var n=r(67290),o=r(40454),i=r(20127),a=r(86385).f;e.exports=function(e){var t=n.Symbol||(n.Symbol={});o(t,e)||a(t,e,{value:i.f(e)})}},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),o=r(52786),i=n.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},12848:function(e){e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},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,o,i=r(98363),a=r(82647),c=i.process,l=c&&c.versions,u=l&&l.v8;u?o=(n=u.split("."))[0]+n[1]:a&&(!(n=a.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=a.match(/Chrome\/(\d+)/))&&(o=n[1]),e.exports=o&&+o},48869:function(e){e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},19882:function(e,t,r){var n=r(98363),o=r(66012).f,i=r(45899),a=r(35974),c=r(51621),l=r(73870),u=r(86291);e.exports=function(e,t){var r,s,p,d,f,m=e.target,g=e.global,h=e.stat;if(r=g?n:h?n[m]||c(m,{}):(n[m]||{}).prototype)for(s in t){if(d=t[s],p=e.noTargetGet?(f=o(r,s))&&f.value:r[s],!u(g?s:m+(h?".":"#")+s,e.forced)&&void 0!==p){if(typeof d==typeof p)continue;l(d,p)}(e.sham||p&&p.sham)&&i(d,"sham",!0),a(r,s,d,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),o=r(79044),i=r(52280),a=r(99749),c=r(45899),l=i("species"),u=!o((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})),s="$0"==="a".replace(/./,"$0"),p=i("replace"),d=!!/./[p]&&""===/./[p]("a","$0"),f=!o((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,p){var m=i(e),g=!o((function(){var t={};return t[m]=function(){return 7},7!=""[e](t)})),h=g&&!o((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[l]=function(){return r},r.flags="",r[m]=/./[m]),r.exec=function(){return t=!0,null},r[m](""),!t}));if(!g||!h||"replace"===e&&(!u||!s||d)||"split"===e&&!f){var v=/./[m],b=r(m,""[e],(function(e,t,r,n,o){return t.exec===a?g&&!o?{done:!0,value:v.call(t,r,n)}:{done:!0,value:e.call(r,t,n)}:{done:!1}}),{REPLACE_KEEPS_$0:s,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:d}),y=b[0],w=b[1];n(String.prototype,e,y),n(RegExp.prototype,m,2==t?function(e,t){return w.call(e,this,t)}:function(e){return w.call(e,this)})}p&&c(RegExp.prototype[m],"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,o){return e.call(t,r,n,o)}}return function(){return e.apply(t,arguments)}}},52381:function(e,t,r){"use strict";var n=r(28641),o=r(52786),i=[].slice,a={},c=function(e,t,r){if(!(t in a)){for(var n=[],o=0;o<t;o++)n[o]="a["+o+"]";a[t]=Function("C,a","return new C("+n.join(",")+")")}return a[t](e,r)};e.exports=Function.bind||function(e){var t=n(this),r=i.call(arguments,1),a=function(){var n=r.concat(i.call(arguments));return this instanceof a?c(t,n.length,n):t.apply(e,n)};return o(t.prototype)&&(a.prototype=t.prototype),a}},22773:function(e,t,r){var n=r(67290),o=r(98363),i=function(e){return"function"==typeof e?e:void 0};e.exports=function(e,t){return arguments.length<2?i(n[e])||i(o[e]):n[e]&&n[e][t]||o[e]&&o[e][t]}},77193:function(e,t,r){var n=r(36994),o=r(44818),i=r(52280)("iterator");e.exports=function(e){if(null!=e)return e[i]||e["@@iterator"]||o[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),o=r(79044),i=r(92750);e.exports=!n&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},78609:function(e,t,r){var n=r(79044),o=r(79159),i="".split;e.exports=n((function(){return!Object("z").propertyIsEnumerable(0)}))?function(e){return"String"==o(e)?i.call(e,""):Object(e)}:Object},59250:function(e,t,r){var n=r(52786),o=r(22412);e.exports=function(e,t,r){var i,a;return o&&"function"==typeof(i=t.constructor)&&i!==r&&n(a=i.prototype)&&a!==r.prototype&&o(e,a),e}},56429:function(e,t,r){var n=r(49415),o=Function.toString;"function"!=typeof n.inspectSource&&(n.inspectSource=function(e){return o.call(e)}),e.exports=n.inspectSource},20821:function(e,t,r){var n,o,i,a=r(36830),c=r(98363),l=r(52786),u=r(45899),s=r(40454),p=r(50466),d=r(47505),f=c.WeakMap;if(a){var m=new f,g=m.get,h=m.has,v=m.set;n=function(e,t){return v.call(m,e,t),t},o=function(e){return g.call(m,e)||{}},i=function(e){return h.call(m,e)}}else{var b=p("state");d[b]=!0,n=function(e,t){return u(e,b,t),t},o=function(e){return s(e,b)?e[b]:{}},i=function(e){return s(e,b)}}e.exports={set:n,get:o,has:i,enforce:function(e){return i(e)?o(e):n(e,{})},getterFor:function(e){return function(t){var r;if(!l(t)||(r=o(t)).type!==e)throw TypeError("Incompatible receiver, "+e+" required");return r}}}},68089:function(e,t,r){var n=r(52280),o=r(44818),i=n("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},71982:function(e,t,r){var n=r(79159);e.exports=Array.isArray||function(e){return"Array"==n(e)}},86291:function(e,t,r){var n=r(79044),o=/#|\.prototype\./,i=function(e,t){var r=c[a(e)];return r==u||r!=l&&("function"==typeof t?n(t):!!t)},a=i.normalize=function(e){return String(e).replace(o,".").toLowerCase()},c=i.data={},l=i.NATIVE="N",u=i.POLYFILL="P";e.exports=i},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),o=r(79159),i=r(52280)("match");e.exports=function(e){var t;return n(e)&&(void 0!==(t=e[i])?!!t:"RegExp"==o(e))}},5166:function(e,t,r){var n=r(83875),o=r(68089),i=r(35108),a=r(98166),c=r(77193),l=r(9637),u=function(e,t){this.stopped=e,this.result=t};(e.exports=function(e,t,r,s,p){var d,f,m,g,h,v,b,y=a(t,r,s?2:1);if(p)d=e;else{if("function"!=typeof(f=c(e)))throw TypeError("Target is not iterable");if(o(f)){for(m=0,g=i(e.length);g>m;m++)if((h=s?y(n(b=e[m])[0],b[1]):y(e[m]))&&h instanceof u)return h;return new u(!1)}d=f.call(e)}for(v=d.next;!(b=v.call(d)).done;)if("object"==typeof(h=l(d,y,b.value,s))&&h&&h instanceof u)return h;return new u(!1)}).stop=function(e){return new u(!0,e)}},97022:function(e,t,r){"use strict";var n,o,i,a=r(12654),c=r(45899),l=r(40454),u=r(52280),s=r(21178),p=u("iterator"),d=!1;[].keys&&("next"in(i=[].keys())?(o=a(a(i)))!==Object.prototype&&(n=o):d=!0),null==n&&(n={}),s||l(n,p)||c(n,p,(function(){return this})),e.exports={IteratorPrototype:n,BUGGY_SAFARI_ITERATORS:d}},44818:function(e){e.exports={}},71800:function(e,t,r){var n,o,i,a,c,l,u,s,p=r(98363),d=r(66012).f,f=r(79159),m=r(84643).set,g=r(53121),h=p.MutationObserver||p.WebKitMutationObserver,v=p.process,b=p.Promise,y="process"==f(v),w=d(p,"queueMicrotask"),I=w&&w.value;I||(n=function(){var e,t;for(y&&(e=v.domain)&&e.exit();o;){t=o.fn,o=o.next;try{t()}catch(r){throw o?a():i=void 0,r}}i=void 0,e&&e.enter()},y?a=function(){v.nextTick(n)}:h&&!g?(c=!0,l=document.createTextNode(""),new h(n).observe(l,{characterData:!0}),a=function(){l.data=c=!c}):b&&b.resolve?(u=b.resolve(void 0),s=u.then,a=function(){s.call(u,n)}):a=function(){m.call(p,n)}),e.exports=I||function(e){var t={fn:e,next:void 0};i&&(i.next=t),o||(o=t,a()),i=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),o=r(56429),i=n.WeakMap;e.exports="function"==typeof i&&/native code/.test(o(i))},29269:function(e,t,r){"use strict";var n=r(28641),o=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 o(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}},51569:function(e,t,r){var n,o=r(83875),i=r(17840),a=r(48869),c=r(47505),l=r(47055),u=r(92750),s=r(50466),p=s("IE_PROTO"),d=function(){},f=function(e){return"<script>"+e+"</"+"script>"},m=function(){try{n=document.domain&&new ActiveXObject("htmlfile")}catch(o){}var e,t;m=n?function(e){e.write(f("")),e.close();var t=e.parentWindow.Object;return e=null,t}(n):((t=u("iframe")).style.display="none",l.appendChild(t),t.src=String("javascript:"),(e=t.contentWindow.document).open(),e.write(f("document.F=Object")),e.close(),e.F);for(var r=a.length;r--;)delete m.prototype[a[r]];return m()};c[p]=!0,e.exports=Object.create||function(e,t){var r;return null!==e?(d.prototype=o(e),r=new d,d.prototype=null,r[p]=e):r=m(),void 0===t?r:i(r,t)}},17840:function(e,t,r){var n=r(7493),o=r(86385),i=r(83875),a=r(60667);e.exports=n?Object.defineProperties:function(e,t){i(e);for(var r,n=a(t),c=n.length,l=0;c>l;)o.f(e,r=n[l++],t[r]);return e}},86385:function(e,t,r){var n=r(7493),o=r(67548),i=r(83875),a=r(21893),c=Object.defineProperty;t.f=n?c:function(e,t,r){if(i(e),t=a(t,!0),i(r),o)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),o=r(81513),i=r(69199),a=r(29580),c=r(21893),l=r(40454),u=r(67548),s=Object.getOwnPropertyDescriptor;t.f=n?s:function(e,t){if(e=a(e),t=c(t,!0),u)try{return s(e,t)}catch(r){}if(l(e,t))return i(!o.f.call(e,t),e[t])}},74938:function(e,t,r){var n=r(29580),o=r(87994).f,i={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];e.exports.f=function(e){return a&&"[object Window]"==i.call(e)?function(e){try{return o(e)}catch(t){return a.slice()}}(e):o(n(e))}},87994:function(e,t,r){var n=r(18794),o=r(48869).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,o)}},89612:function(e,t){t.f=Object.getOwnPropertySymbols},12654:function(e,t,r){var n=r(40454),o=r(30744),i=r(50466),a=r(25115),c=i("IE_PROTO"),l=Object.prototype;e.exports=a?Object.getPrototypeOf:function(e){return e=o(e),n(e,c)?e[c]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?l:null}},18794:function(e,t,r){var n=r(40454),o=r(29580),i=r(37190).indexOf,a=r(47505);e.exports=function(e,t){var r,c=o(e),l=0,u=[];for(r in c)!n(a,r)&&n(c,r)&&u.push(r);for(;t.length>l;)n(c,r=t[l++])&&(~i(u,r)||u.push(r));return u}},60667:function(e,t,r){var n=r(18794),o=r(48869);e.exports=Object.keys||function(e){return n(e,o)}},81513:function(e,t){"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,o=n&&!r.call({1:2},1);t.f=o?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},22412:function(e,t,r){var n=r(83875),o=r(75017);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,r={};try{(e=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set).call(r,[]),t=r instanceof Array}catch(i){}return function(r,i){return n(r),o(i),t?e.call(r,i):r.__proto__=i,r}}():void 0)},8765:function(e,t,r){var n=r(7493),o=r(60667),i=r(29580),a=r(81513).f,c=function(e){return function(t){for(var r,c=i(t),l=o(c),u=l.length,s=0,p=[];u>s;)r=l[s++],n&&!a.call(c,r)||p.push(e?[r,c[r]]:c[r]);return p}};e.exports={entries:c(!0),values:c(!1)}},36699:function(e,t,r){"use strict";var n=r(57301),o=r(36994);e.exports=n?{}.toString:function(){return"[object "+o(this)+"]"}},31561:function(e,t,r){var n=r(22773),o=r(87994),i=r(89612),a=r(83875);e.exports=n("Reflect","ownKeys")||function(e){var t=o.f(a(e)),r=i.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),o=r(52786),i=r(29269);e.exports=function(e,t){if(n(e),o(t)&&t.constructor===e)return t;var r=i.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 o in t)n(e,o,t[o],r);return e}},35974:function(e,t,r){var n=r(98363),o=r(45899),i=r(40454),a=r(51621),c=r(56429),l=r(20821),u=l.get,s=l.enforce,p=String(String).split("String");(e.exports=function(e,t,r,c){var l=!!c&&!!c.unsafe,u=!!c&&!!c.enumerable,d=!!c&&!!c.noTargetGet;"function"==typeof r&&("string"!=typeof t||i(r,"name")||o(r,"name",t),s(r).source=p.join("string"==typeof t?t:"")),e!==n?(l?!d&&e[t]&&(u=!0):delete e[t],u?e[t]=r:o(e,t,r)):u?e[t]=r:a(t,r)})(Function.prototype,"toString",(function(){return"function"==typeof this&&u(this).source||c(this)}))},94088:function(e,t,r){var n=r(79159),o=r(99749);e.exports=function(e,t){var r=e.exec;if("function"==typeof r){var i=r.call(e,t);if("object"!=typeof i)throw TypeError("RegExp exec method returned something other than an Object or null");return i}if("RegExp"!==n(e))throw TypeError("RegExp#exec called on incompatible receiver");return o.call(e,t)}},99749:function(e,t,r){"use strict";var n,o,i=r(58083),a=r(97047),c=RegExp.prototype.exec,l=String.prototype.replace,u=c,s=(n=/a/,o=/b*/g,c.call(n,"a"),c.call(o,"a"),0!==n.lastIndex||0!==o.lastIndex),p=a.UNSUPPORTED_Y||a.BROKEN_CARET,d=void 0!==/()??/.exec("")[1];(s||d||p)&&(u=function(e){var t,r,n,o,a=this,u=p&&a.sticky,f=i.call(a),m=a.source,g=0,h=e;return u&&(-1===(f=f.replace("y","")).indexOf("g")&&(f+="g"),h=String(e).slice(a.lastIndex),a.lastIndex>0&&(!a.multiline||a.multiline&&"\n"!==e[a.lastIndex-1])&&(m="(?: "+m+")",h=" "+h,g++),r=new RegExp("^(?:"+m+")",f)),d&&(r=new RegExp("^"+m+"$(?!\\s)",f)),s&&(t=a.lastIndex),n=c.call(u?r:a,h),u?n?(n.input=n.input.slice(g),n[0]=n[0].slice(g),n.index=a.lastIndex,a.lastIndex+=n[0].length):a.lastIndex=0:s&&n&&(a.lastIndex=a.global?n.index+n[0].length:t),d&&n&&n.length>1&&l.call(n[0],r,(function(){for(o=1;o<arguments.length-2;o++)void 0===arguments[o]&&(n[o]=void 0)})),n}),e.exports=u},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 o(e,t){return RegExp(e,t)}t.UNSUPPORTED_Y=n((function(){var e=o("a","y");return e.lastIndex=2,null!=e.exec("abcd")})),t.BROKEN_CARET=n((function(){var e=o("^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),o=r(45899);e.exports=function(e,t){try{o(n,e,t)}catch(r){n[e]=t}return t}},57323:function(e,t,r){"use strict";var n=r(22773),o=r(86385),i=r(52280),a=r(7493),c=i("species");e.exports=function(e){var t=n(e),r=o.f;a&&t&&!t[c]&&r(t,c,{configurable:!0,get:function(){return this}})}},60878:function(e,t,r){var n=r(86385).f,o=r(40454),i=r(52280)("toStringTag");e.exports=function(e,t,r){e&&!o(e=r?e:e.prototype,i)&&n(e,i,{configurable:!0,value:t})}},50466:function(e,t,r){var n=r(53580),o=r(34524),i=n("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},49415:function(e,t,r){var n=r(98363),o=r(51621),i="__core-js_shared__",a=n[i]||o(i,{});e.exports=a},53580:function(e,t,r){var n=r(21178),o=r(49415);(e.exports=function(e,t){return o[e]||(o[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),o=r(28641),i=r(52280)("species");e.exports=function(e,t){var r,a=n(e).constructor;return void 0===a||null==(r=n(a)[i])?t:o(r)}},13881:function(e,t,r){var n=r(79044);e.exports=function(e){return n((function(){var t=""[e]('"');return t!==t.toLowerCase()||t.split('"').length>3}))}},91140:function(e,t,r){var n=r(98330),o=r(96411),i=function(e){return function(t,r){var i,a,c=String(o(t)),l=n(r),u=c.length;return l<0||l>=u?e?"":void 0:(i=c.charCodeAt(l))<55296||i>56319||l+1===u||(a=c.charCodeAt(l+1))<56320||a>57343?e?c.charAt(l):i:e?c.slice(l,l+2):a-56320+(i-55296<<10)+65536}};e.exports={codeAt:i(!1),charAt:i(!0)}},68487:function(e,t,r){var n=r(79044),o=r(2569);e.exports=function(e){return n((function(){return!!o[e]()||"
"!="
"[e]()||o[e].name!==e}))}},10287:function(e,t,r){var n=r(96411),o="["+r(2569)+"]",i=RegExp("^"+o+o+"*"),a=RegExp(o+o+"*$"),c=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(i,"")),2&e&&(r=r.replace(a,"")),r}};e.exports={start:c(1),end:c(2),trim:c(3)}},84643:function(e,t,r){var n,o,i,a=r(98363),c=r(79044),l=r(79159),u=r(98166),s=r(47055),p=r(92750),d=r(53121),f=a.location,m=a.setImmediate,g=a.clearImmediate,h=a.process,v=a.MessageChannel,b=a.Dispatch,y=0,w={},I="onreadystatechange",S=function(e){if(w.hasOwnProperty(e)){var t=w[e];delete w[e],t()}},E=function(e){return function(){S(e)}},x=function(e){S(e.data)},D=function(e){a.postMessage(e+"",f.protocol+"//"+f.host)};m&&g||(m=function(e){for(var t=[],r=1;arguments.length>r;)t.push(arguments[r++]);return w[++y]=function(){("function"==typeof e?e:Function(e)).apply(void 0,t)},n(y),y},g=function(e){delete w[e]},"process"==l(h)?n=function(e){h.nextTick(E(e))}:b&&b.now?n=function(e){b.now(E(e))}:v&&!d?(i=(o=new v).port2,o.port1.onmessage=x,n=u(i.postMessage,i,1)):!a.addEventListener||"function"!=typeof postMessage||a.importScripts||c(D)||"file:"===f.protocol?n=I in p("script")?function(e){s.appendChild(p("script")).onreadystatechange=function(){s.removeChild(this),S(e)}}:function(e){setTimeout(E(e),0)}:(n=D,a.addEventListener("message",x,!1))),e.exports={set:m,clear:g}},32565:function(e,t,r){var n=r(98330),o=Math.max,i=Math.min;e.exports=function(e,t){var r=n(e);return r<0?o(r+t,0):i(r,t)}},29580:function(e,t,r){var n=r(78609),o=r(96411);e.exports=function(e){return n(o(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),o=Math.min;e.exports=function(e){return e>0?o(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,o;if(t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;if("function"==typeof(r=e.valueOf)&&!n(o=r.call(e)))return o;if(!t&&"function"==typeof(r=e.toString)&&!n(o=r.call(e)))return o;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},20127:function(e,t,r){var n=r(52280);t.f=n},52280:function(e,t,r){var n=r(98363),o=r(53580),i=r(40454),a=r(34524),c=r(3850),l=r(189),u=o("wks"),s=n.Symbol,p=l?s:s&&s.withoutSetter||a;e.exports=function(e){return i(u,e)||(c&&i(s,e)?u[e]=s[e]:u[e]=p("Symbol."+e)),u[e]}},2569:function(e){e.exports="\t\n\v\f\r \u2028\u2029\ufeff"},55862:function(e,t,r){"use strict";var n=r(19882),o=r(79044),i=r(71982),a=r(52786),c=r(30744),l=r(35108),u=r(35039),s=r(80150),p=r(82091),d=r(52280),f=r(11197),m=d("isConcatSpreadable"),g=9007199254740991,h="Maximum allowed index exceeded",v=f>=51||!o((function(){var e=[];return e[m]=!1,e.concat()[0]!==e})),b=p("concat"),y=function(e){if(!a(e))return!1;var t=e[m];return void 0!==t?!!t:i(e)};n({target:"Array",proto:!0,forced:!v||!b},{concat:function(e){var t,r,n,o,i,a=c(this),p=s(a,0),d=0;for(t=-1,n=arguments.length;t<n;t++)if(y(i=-1===t?a:arguments[t])){if(d+(o=l(i.length))>g)throw TypeError(h);for(r=0;r<o;r++,d++)r in i&&u(p,d,i[r])}else{if(d>=g)throw TypeError(h);u(p,d++,i)}return p.length=d,p}})},19701:function(e,t,r){"use strict";var n=r(19882),o=r(68671).filter,i=r(82091),a=r(5673),c=i("filter"),l=a("filter");n({target:"Array",proto:!0,forced:!c||!l},{filter:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},42900:function(e,t,r){"use strict";var n=r(19882),o=r(68671).find,i=r(6677),a=r(5673),c="find",l=!0,u=a(c);c in[]&&Array(1).find((function(){l=!1})),n({target:"Array",proto:!0,forced:l||!u},{find:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i(c)},61078:function(e,t,r){"use strict";var n=r(19882),o=r(20379);n({target:"Array",proto:!0,forced:[].forEach!=o},{forEach:o})},4845:function(e,t,r){var n=r(19882),o=r(84899);n({target:"Array",stat:!0,forced:!r(8662)((function(e){Array.from(e)}))},{from:o})},18183:function(e,t,r){"use strict";var n=r(19882),o=r(37190).includes,i=r(6677);n({target:"Array",proto:!0,forced:!r(5673)("indexOf",{ACCESSORS:!0,1:0})},{includes:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}}),i("includes")},31807:function(e,t,r){"use strict";var n=r(19882),o=r(37190).indexOf,i=r(54324),a=r(5673),c=[].indexOf,l=!!c&&1/[1].indexOf(1,-0)<0,u=i("indexOf"),s=a("indexOf",{ACCESSORS:!0,1:0});n({target:"Array",proto:!0,forced:l||!u||!s},{indexOf:function(e){return l?c.apply(this,arguments)||0:o(this,e,arguments.length>1?arguments[1]:void 0)}})},54883:function(e,t,r){"use strict";var n=r(29580),o=r(6677),i=r(44818),a=r(20821),c=r(61495),l="Array Iterator",u=a.set,s=a.getterFor(l);e.exports=c(Array,"Array",(function(e,t){u(this,{type:l,target:n(e),index:0,kind:t})}),(function(){var e=s(this),t=e.target,r=e.kind,n=e.index++;return!t||n>=t.length?(e.target=void 0,{value:void 0,done:!0}):"keys"==r?{value:n,done:!1}:"values"==r?{value:t[n],done:!1}:{value:[n,t[n]],done:!1}}),"values"),i.Arguments=i.Array,o("keys"),o("values"),o("entries")},85005:function(e,t,r){"use strict";var n=r(19882),o=r(78609),i=r(29580),a=r(54324),c=[].join,l=o!=Object,u=a("join",",");n({target:"Array",proto:!0,forced:l||!u},{join:function(e){return c.call(i(this),void 0===e?",":e)}})},73214:function(e,t,r){"use strict";var n=r(19882),o=r(68671).map,i=r(82091),a=r(5673),c=i("map"),l=a("map");n({target:"Array",proto:!0,forced:!c||!l},{map:function(e){return o(this,e,arguments.length>1?arguments[1]:void 0)}})},18821:function(e,t,r){"use strict";var n=r(19882),o=r(52786),i=r(71982),a=r(32565),c=r(35108),l=r(29580),u=r(35039),s=r(52280),p=r(82091),d=r(5673),f=p("slice"),m=d("slice",{ACCESSORS:!0,0:0,1:2}),g=s("species"),h=[].slice,v=Math.max;n({target:"Array",proto:!0,forced:!f||!m},{slice:function(e,t){var r,n,s,p=l(this),d=c(p.length),f=a(e,d),m=a(void 0===t?d:t,d);if(i(p)&&("function"!=typeof(r=p.constructor)||r!==Array&&!i(r.prototype)?o(r)&&null===(r=r[g])&&(r=void 0):r=void 0,r===Array||void 0===r))return h.call(p,f,m);for(n=new(void 0===r?Array:r)(v(m-f,0)),s=0;f<m;f++,s++)f in p&&u(n,s,p[f]);return n.length=s,n}})},55281:function(e,t,r){"use strict";var n=r(19882),o=r(28641),i=r(30744),a=r(79044),c=r(54324),l=[],u=l.sort,s=a((function(){l.sort(void 0)})),p=a((function(){l.sort(null)})),d=c("sort");n({target:"Array",proto:!0,forced:s||!p||!d},{sort:function(e){return void 0===e?u.call(i(this)):u.call(i(this),o(e))}})},54994:function(e,t,r){var n=r(7493),o=r(86385).f,i=Function.prototype,a=i.toString,c=/^\s*function ([^ (]*)/,l="name";n&&!(l in i)&&o(i,l,{configurable:!0,get:function(){try{return a.call(this).match(c)[1]}catch(e){return""}}})},80174:function(e,t,r){"use strict";var n=r(7493),o=r(98363),i=r(86291),a=r(35974),c=r(40454),l=r(79159),u=r(59250),s=r(21893),p=r(79044),d=r(51569),f=r(87994).f,m=r(66012).f,g=r(86385).f,h=r(10287).trim,v="Number",b=o.Number,y=b.prototype,w=l(d(y))==v,I=function(e){var t,r,n,o,i,a,c,l,u=s(e,!1);if("string"==typeof u&&u.length>2)if(43===(t=(u=h(u)).charCodeAt(0))||45===t){if(88===(r=u.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(u.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+u}for(a=(i=u.slice(2)).length,c=0;c<a;c++)if((l=i.charCodeAt(c))<48||l>o)return NaN;return parseInt(i,n)}return+u};if(i(v,!b(" 0o1")||!b("0b1")||b("+0x1"))){for(var S,E=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof E&&(w?p((function(){y.valueOf.call(r)})):l(r)!=v)?u(new b(I(t)),r,E):I(t)},x=n?f(b):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),D=0;x.length>D;D++)c(b,S=x[D])&&!c(E,S)&&g(E,S,m(b,S));E.prototype=y,y.constructor=E,a(o,v,E)}},80238:function(e,t,r){var n=r(19882),o=r(79044),i=r(29580),a=r(66012).f,c=r(7493),l=o((function(){a(1)}));n({target:"Object",stat:!0,forced:!c||l,sham:!c},{getOwnPropertyDescriptor:function(e,t){return a(i(e),t)}})},12938:function(e,t,r){var n=r(19882),o=r(7493),i=r(31561),a=r(29580),c=r(66012),l=r(35039);n({target:"Object",stat:!0,sham:!o},{getOwnPropertyDescriptors:function(e){for(var t,r,n=a(e),o=c.f,u=i(n),s={},p=0;u.length>p;)void 0!==(r=o(n,t=u[p++]))&&l(s,t,r);return s}})},56908:function(e,t,r){var n=r(19882),o=r(79044),i=r(30744),a=r(12654),c=r(25115);n({target:"Object",stat:!0,forced:o((function(){a(1)})),sham:!c},{getPrototypeOf:function(e){return a(i(e))}})},80044:function(e,t,r){var n=r(19882),o=r(30744),i=r(60667);n({target:"Object",stat:!0,forced:r(79044)((function(){i(1)}))},{keys:function(e){return i(o(e))}})},10853:function(e,t,r){var n=r(57301),o=r(35974),i=r(36699);n||o(Object.prototype,"toString",i,{unsafe:!0})},19457:function(e,t,r){var n=r(19882),o=r(8765).values;n({target:"Object",stat:!0},{values:function(e){return o(e)}})},35054:function(e,t,r){"use strict";var n,o,i,a,c=r(19882),l=r(21178),u=r(98363),s=r(22773),p=r(58369),d=r(35974),f=r(7592),m=r(60878),g=r(57323),h=r(52786),v=r(28641),b=r(9519),y=r(79159),w=r(56429),I=r(5166),S=r(8662),E=r(7270),x=r(84643).set,D=r(71800),T=r(11621),M=r(46271),P=r(29269),C=r(74443),N=r(20821),L=r(86291),j=r(52280),k=r(11197),O=j("species"),A="Promise",R=N.get,Z=N.set,H=N.getterFor(A),z=p,_=u.TypeError,B=u.document,G=u.process,U=s("fetch"),W=P.f,q=W,F="process"==y(G),V=!!(B&&B.createEvent&&u.dispatchEvent),J="unhandledrejection",Y=L(A,(function(){if(!(w(z)!==String(z))){if(66===k)return!0;if(!F&&"function"!=typeof PromiseRejectionEvent)return!0}if(l&&!z.prototype.finally)return!0;if(k>=51&&/native code/.test(z))return!1;var e=z.resolve(1),t=function(e){e((function(){}),(function(){}))};return(e.constructor={})[O]=t,!(e.then((function(){}))instanceof t)})),Q=Y||!S((function(e){z.all(e).catch((function(){}))})),X=function(e){var t;return!(!h(e)||"function"!=typeof(t=e.then))&&t},K=function(e,t,r){if(!t.notified){t.notified=!0;var n=t.reactions;D((function(){for(var o=t.value,i=1==t.state,a=0;n.length>a;){var c,l,u,s=n[a++],p=i?s.ok:s.fail,d=s.resolve,f=s.reject,m=s.domain;try{p?(i||(2===t.rejection&&re(e,t),t.rejection=1),!0===p?c=o:(m&&m.enter(),c=p(o),m&&(m.exit(),u=!0)),c===s.promise?f(_("Promise-chain cycle")):(l=X(c))?l.call(c,d,f):d(c)):f(o)}catch(g){m&&!u&&m.exit(),f(g)}}t.reactions=[],t.notified=!1,r&&!t.rejection&&ee(e,t)}))}},$=function(e,t,r){var n,o;V?((n=B.createEvent("Event")).promise=t,n.reason=r,n.initEvent(e,!1,!0),u.dispatchEvent(n)):n={promise:t,reason:r},(o=u["on"+e])?o(n):e===J&&M("Unhandled promise rejection",r)},ee=function(e,t){x.call(u,(function(){var r,n=t.value;if(te(t)&&(r=C((function(){F?G.emit("unhandledRejection",n,e):$(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){x.call(u,(function(){F?G.emit("rejectionHandled",e):$("rejectionhandled",e,t.value)}))},ne=function(e,t,r,n){return function(o){e(t,r,o,n)}},oe=function(e,t,r,n){t.done||(t.done=!0,n&&(t=n),t.value=r,t.state=2,K(e,t,!0))},ie=function(e,t,r,n){if(!t.done){t.done=!0,n&&(t=n);try{if(e===r)throw _("Promise can't be resolved itself");var o=X(r);o?D((function(){var n={done:!1};try{o.call(r,ne(ie,e,n,t),ne(oe,e,n,t))}catch(i){oe(e,n,i,t)}})):(t.value=r,t.state=1,K(e,t,!1))}catch(i){oe(e,{done:!1},i,t)}}};Y&&(z=function(e){b(this,z,A),v(e),n.call(this);var t=R(this);try{e(ne(ie,this,t),ne(oe,this,t))}catch(r){oe(this,t,r)}},(n=function(e){Z(this,{type:A,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=f(z.prototype,{then:function(e,t){var r=H(this),n=W(E(this,z));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&&K(this,r,!1),n.promise},catch:function(e){return this.then(void 0,e)}}),o=function(){var e=new n,t=R(e);this.promise=e,this.resolve=ne(ie,e,t),this.reject=ne(oe,e,t)},P.f=W=function(e){return e===z||e===i?new o(e):q(e)},l||"function"!=typeof p||(a=p.prototype.then,d(p.prototype,"then",(function(e,t){var r=this;return new z((function(e,t){a.call(r,e,t)})).then(e,t)}),{unsafe:!0}),"function"==typeof U&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(e){return T(z,U.apply(u,arguments))}}))),c({global:!0,wrap:!0,forced:Y},{Promise:z}),m(z,A,!1,!0),g(A),i=s(A),c({target:A,stat:!0,forced:Y},{reject:function(e){var t=W(this);return t.reject.call(void 0,e),t.promise}}),c({target:A,stat:!0,forced:l||Y},{resolve:function(e){return T(l&&this===i?z:this,e)}}),c({target:A,stat:!0,forced:Q},{all:function(e){var t=this,r=W(t),n=r.resolve,o=r.reject,i=C((function(){var r=v(t.resolve),i=[],a=0,c=1;I(e,(function(e){var l=a++,u=!1;i.push(void 0),c++,r.call(t,e).then((function(e){u||(u=!0,i[l]=e,--c||n(i))}),o)})),--c||n(i)}));return i.error&&o(i.value),r.promise},race:function(e){var t=this,r=W(t),n=r.reject,o=C((function(){var o=v(t.resolve);I(e,(function(e){o.call(t,e).then(r.resolve,n)}))}));return o.error&&n(o.value),r.promise}})},54130:function(e,t,r){var n=r(19882),o=r(22773),i=r(28641),a=r(83875),c=r(52786),l=r(51569),u=r(52381),s=r(79044),p=o("Reflect","construct"),d=s((function(){function e(){}return!(p((function(){}),[],e)instanceof e)})),f=!s((function(){p((function(){}))})),m=d||f;n({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(e,t){i(e),a(t);var r=arguments.length<3?e:i(arguments[2]);if(f&&!d)return p(e,t,r);if(e==r){switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}var n=[null];return n.push.apply(n,t),new(u.apply(e,n))}var o=r.prototype,s=l(c(o)?o:Object.prototype),m=Function.apply.call(e,s,t);return c(m)?m:s}})},39275:function(e,t,r){"use strict";var n=r(19882),o=r(99749);n({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},33290:function(e,t,r){"use strict";var n=r(35974),o=r(83875),i=r(79044),a=r(58083),c="toString",l=RegExp.prototype,u=l.toString,s=i((function(){return"/a/b"!=u.call({source:"a",flags:"b"})})),p=u.name!=c;(s||p)&&n(RegExp.prototype,c,(function(){var e=o(this),t=String(e.source),r=e.flags;return"/"+t+"/"+String(void 0===r&&e instanceof RegExp&&!("flags"in l)?a.call(e):r)}),{unsafe:!0})},19985:function(e,t,r){"use strict";var n=r(19882),o=r(21049),i=r(96411);n({target:"String",proto:!0,forced:!r(15454)("includes")},{includes:function(e){return!!~String(i(this)).indexOf(o(e),arguments.length>1?arguments[1]:void 0)}})},45007:function(e,t,r){"use strict";var n=r(91140).charAt,o=r(20821),i=r(61495),a="String Iterator",c=o.set,l=o.getterFor(a);i(String,"String",(function(e){c(this,{type:a,string:String(e),index:0})}),(function(){var e,t=l(this),r=t.string,o=t.index;return o>=r.length?{value:void 0,done:!0}:(e=n(r,o),t.index+=e.length,{value:e,done:!1})}))},86125:function(e,t,r){"use strict";var n=r(19882),o=r(75304);n({target:"String",proto:!0,forced:r(13881)("link")},{link:function(e){return o(this,"a","href",e)}})},75668:function(e,t,r){"use strict";var n=r(81492),o=r(83875),i=r(35108),a=r(96411),c=r(13350),l=r(94088);n("match",1,(function(e,t,r){return[function(t){var r=a(this),n=null==t?void 0:t[e];return void 0!==n?n.call(t,r):new RegExp(t)[e](String(r))},function(e){var n=r(t,e,this);if(n.done)return n.value;var a=o(e),u=String(this);if(!a.global)return l(a,u);var s=a.unicode;a.lastIndex=0;for(var p,d=[],f=0;null!==(p=l(a,u));){var m=String(p[0]);d[f]=m,""===m&&(a.lastIndex=c(u,i(a.lastIndex),s)),f++}return 0===f?null:d}]}))},22321:function(e,t,r){"use strict";var n=r(81492),o=r(83875),i=r(30744),a=r(35108),c=r(98330),l=r(96411),u=r(13350),s=r(94088),p=Math.max,d=Math.min,f=Math.floor,m=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;n("replace",2,(function(e,t,r,n){var h=n.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,v=n.REPLACE_KEEPS_$0,b=h?"$":"$0";return[function(r,n){var o=l(this),i=null==r?void 0:r[e];return void 0!==i?i.call(r,o,n):t.call(String(o),r,n)},function(e,n){if(!h&&v||"string"==typeof n&&-1===n.indexOf(b)){var i=r(t,e,this,n);if(i.done)return i.value}var l=o(e),f=String(this),m="function"==typeof n;m||(n=String(n));var g=l.global;if(g){var w=l.unicode;l.lastIndex=0}for(var I=[];;){var S=s(l,f);if(null===S)break;if(I.push(S),!g)break;""===String(S[0])&&(l.lastIndex=u(f,a(l.lastIndex),w))}for(var E,x="",D=0,T=0;T<I.length;T++){S=I[T];for(var M=String(S[0]),P=p(d(c(S.index),f.length),0),C=[],N=1;N<S.length;N++)C.push(void 0===(E=S[N])?E:String(E));var L=S.groups;if(m){var j=[M].concat(C,P,f);void 0!==L&&j.push(L);var k=String(n.apply(void 0,j))}else k=y(M,f,P,C,L,n);P>=D&&(x+=f.slice(D,P)+k,D=P+M.length)}return x+f.slice(D)}];function y(e,r,n,o,a,c){var l=n+e.length,u=o.length,s=g;return void 0!==a&&(a=i(a),s=m),t.call(c,s,(function(t,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return e;case"`":return r.slice(0,n);case"'":return r.slice(l);case"<":c=a[i.slice(1,-1)];break;default:var s=+i;if(0===s)return t;if(s>u){var p=f(s/10);return 0===p?t:p<=u?void 0===o[p-1]?i.charAt(1):o[p-1]+i.charAt(1):t}c=o[s-1]}return void 0===c?"":c}))}}))},67838:function(e,t,r){"use strict";var n=r(81492),o=r(42622),i=r(83875),a=r(96411),c=r(7270),l=r(13350),u=r(35108),s=r(94088),p=r(99749),d=r(79044),f=[].push,m=Math.min,g=4294967295,h=!d((function(){return!RegExp(g,"y")}));n("split",2,(function(e,t,r){var n;return n="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1).length||2!="ab".split(/(?:ab)*/).length||4!=".".split(/(.?)(.?)/).length||".".split(/()()/).length>1||"".split(/.?/).length?function(e,r){var n=String(a(this)),i=void 0===r?g:r>>>0;if(0===i)return[];if(void 0===e)return[n];if(!o(e))return t.call(n,e,i);for(var c,l,u,s=[],d=(e.ignoreCase?"i":"")+(e.multiline?"m":"")+(e.unicode?"u":"")+(e.sticky?"y":""),m=0,h=new RegExp(e.source,d+"g");(c=p.call(h,n))&&!((l=h.lastIndex)>m&&(s.push(n.slice(m,c.index)),c.length>1&&c.index<n.length&&f.apply(s,c.slice(1)),u=c[0].length,m=l,s.length>=i));)h.lastIndex===c.index&&h.lastIndex++;return m===n.length?!u&&h.test("")||s.push(""):s.push(n.slice(m)),s.length>i?s.slice(0,i):s}:"0".split(void 0,0).length?function(e,r){return void 0===e&&0===r?[]:t.call(this,e,r)}:t,[function(t,r){var o=a(this),i=null==t?void 0:t[e];return void 0!==i?i.call(t,o,r):n.call(String(o),t,r)},function(e,o){var a=r(n,e,this,o,n!==t);if(a.done)return a.value;var p=i(e),d=String(this),f=c(p,RegExp),v=p.unicode,b=(p.ignoreCase?"i":"")+(p.multiline?"m":"")+(p.unicode?"u":"")+(h?"y":"g"),y=new f(h?p:"^(?:"+p.source+")",b),w=void 0===o?g:o>>>0;if(0===w)return[];if(0===d.length)return null===s(y,d)?[d]:[];for(var I=0,S=0,E=[];S<d.length;){y.lastIndex=h?S:0;var x,D=s(y,h?d:d.slice(S));if(null===D||(x=m(u(y.lastIndex+(h?0:S)),d.length))===I)S=l(d,S,v);else{if(E.push(d.slice(I,S)),E.length===w)return E;for(var T=1;T<=D.length-1;T++)if(E.push(D[T]),E.length===w)return E;S=I=x}}return E.push(d.slice(I)),E}]}),!h)},29897:function(e,t,r){"use strict";var n=r(19882),o=r(10287).trim;n({target:"String",proto:!0,forced:r(68487)("trim")},{trim:function(){return o(this)}})},86632:function(e,t,r){"use strict";var n=r(19882),o=r(7493),i=r(98363),a=r(40454),c=r(52786),l=r(86385).f,u=r(73870),s=i.Symbol;if(o&&"function"==typeof s&&(!("description"in s.prototype)||void 0!==s().description)){var p={},d=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),t=this instanceof d?new s(e):void 0===e?s():s(e);return""===e&&(p[t]=!0),t};u(d,s);var f=d.prototype=s.prototype;f.constructor=d;var m=f.toString,g="Symbol(test)"==String(s("test")),h=/^Symbol\((.*)\)[^)]+$/;l(f,"description",{configurable:!0,get:function(){var e=c(this)?this.valueOf():this,t=m.call(e);if(a(p,e))return"";var r=g?t.slice(7,-1):t.replace(h,"$1");return""===r?void 0:r}}),n({global:!0,forced:!0},{Symbol:d})}},61928:function(e,t,r){r(68308)("iterator")},26364:function(e,t,r){"use strict";var n=r(19882),o=r(98363),i=r(22773),a=r(21178),c=r(7493),l=r(3850),u=r(189),s=r(79044),p=r(40454),d=r(71982),f=r(52786),m=r(83875),g=r(30744),h=r(29580),v=r(21893),b=r(69199),y=r(51569),w=r(60667),I=r(87994),S=r(74938),E=r(89612),x=r(66012),D=r(86385),T=r(81513),M=r(45899),P=r(35974),C=r(53580),N=r(50466),L=r(47505),j=r(34524),k=r(52280),O=r(20127),A=r(68308),R=r(60878),Z=r(20821),H=r(68671).forEach,z=N("hidden"),_="Symbol",B=k("toPrimitive"),G=Z.set,U=Z.getterFor(_),W=Object.prototype,q=o.Symbol,F=i("JSON","stringify"),V=x.f,J=D.f,Y=S.f,Q=T.f,X=C("symbols"),K=C("op-symbols"),$=C("string-to-symbol-registry"),ee=C("symbol-to-string-registry"),te=C("wks"),re=o.QObject,ne=!re||!re.prototype||!re.prototype.findChild,oe=c&&s((function(){return 7!=y(J({},"a",{get:function(){return J(this,"a",{value:7}).a}})).a}))?function(e,t,r){var n=V(W,t);n&&delete W[t],J(e,t,r),n&&e!==W&&J(W,t,n)}:J,ie=function(e,t){var r=X[e]=y(q.prototype);return G(r,{type:_,tag:e,description:t}),c||(r.description=t),r},ae=u?function(e){return"symbol"==typeof e}:function(e){return Object(e)instanceof q},ce=function(e,t,r){e===W&&ce(K,t,r),m(e);var n=v(t,!0);return m(r),p(X,n)?(r.enumerable?(p(e,z)&&e[z][n]&&(e[z][n]=!1),r=y(r,{enumerable:b(0,!1)})):(p(e,z)||J(e,z,b(1,{})),e[z][n]=!0),oe(e,n,r)):J(e,n,r)},le=function(e,t){m(e);var r=h(t),n=w(r).concat(de(r));return H(n,(function(t){c&&!ue.call(r,t)||ce(e,t,r[t])})),e},ue=function(e){var t=v(e,!0),r=Q.call(this,t);return!(this===W&&p(X,t)&&!p(K,t))&&(!(r||!p(this,t)||!p(X,t)||p(this,z)&&this[z][t])||r)},se=function(e,t){var r=h(e),n=v(t,!0);if(r!==W||!p(X,n)||p(K,n)){var o=V(r,n);return!o||!p(X,n)||p(r,z)&&r[z][n]||(o.enumerable=!0),o}},pe=function(e){var t=Y(h(e)),r=[];return H(t,(function(e){p(X,e)||p(L,e)||r.push(e)})),r},de=function(e){var t=e===W,r=Y(t?K:h(e)),n=[];return H(r,(function(e){!p(X,e)||t&&!p(W,e)||n.push(X[e])})),n};(l||(P((q=function(){if(this instanceof q)throw TypeError("Symbol is not a constructor");var e=arguments.length&&void 0!==arguments[0]?String(arguments[0]):void 0,t=j(e),r=function(e){this===W&&r.call(K,e),p(this,z)&&p(this[z],t)&&(this[z][t]=!1),oe(this,t,b(1,e))};return c&&ne&&oe(W,t,{configurable:!0,set:r}),ie(t,e)}).prototype,"toString",(function(){return U(this).tag})),P(q,"withoutSetter",(function(e){return ie(j(e),e)})),T.f=ue,D.f=ce,x.f=se,I.f=S.f=pe,E.f=de,O.f=function(e){return ie(k(e),e)},c&&(J(q.prototype,"description",{configurable:!0,get:function(){return U(this).description}}),a||P(W,"propertyIsEnumerable",ue,{unsafe:!0}))),n({global:!0,wrap:!0,forced:!l,sham:!l},{Symbol:q}),H(w(te),(function(e){A(e)})),n({target:_,stat:!0,forced:!l},{for:function(e){var t=String(e);if(p($,t))return $[t];var r=q(t);return $[t]=r,ee[r]=t,r},keyFor:function(e){if(!ae(e))throw TypeError(e+" is not a symbol");if(p(ee,e))return ee[e]},useSetter:function(){ne=!0},useSimple:function(){ne=!1}}),n({target:"Object",stat:!0,forced:!l,sham:!c},{create:function(e,t){return void 0===t?y(e):le(y(e),t)},defineProperty:ce,defineProperties:le,getOwnPropertyDescriptor:se}),n({target:"Object",stat:!0,forced:!l},{getOwnPropertyNames:pe,getOwnPropertySymbols:de}),n({target:"Object",stat:!0,forced:s((function(){E.f(1)}))},{getOwnPropertySymbols:function(e){return E.f(g(e))}}),F)&&n({target:"JSON",stat:!0,forced:!l||s((function(){var e=q();return"[null]"!=F([e])||"{}"!=F({a:e})||"{}"!=F(Object(e))}))},{stringify:function(e,t,r){for(var n,o=[e],i=1;arguments.length>i;)o.push(arguments[i++]);if(n=t,(f(t)||void 0!==e)&&!ae(e))return d(t)||(t=function(e,t){if("function"==typeof n&&(t=n.call(this,e,t)),!ae(t))return t}),o[1]=t,F.apply(null,o)}});q.prototype[B]||M(q.prototype,B,q.prototype.valueOf),R(q,_),L[z]=!0},6208:function(e,t,r){var n=r(98363),o=r(12848),i=r(20379),a=r(45899);for(var c in o){var l=n[c],u=l&&l.prototype;if(u&&u.forEach!==i)try{a(u,"forEach",i)}catch(s){u.forEach=i}}},68995:function(e,t,r){var n=r(98363),o=r(12848),i=r(54883),a=r(45899),c=r(52280),l=c("iterator"),u=c("toStringTag"),s=i.values;for(var p in o){var d=n[p],f=d&&d.prototype;if(f){if(f[l]!==s)try{a(f,l,s)}catch(g){f[l]=s}if(f[u]||a(f,u,p),o[p])for(var m in i)if(f[m]!==i[m])try{a(f,m,i[m])}catch(g){f[m]=i[m]}}}},87191:function(e,t,r){"use strict";r(19882)({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return URL.prototype.toString.call(this)}})},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 o=!("undefined"==typeof window||!window.document||!window.document.createElement),i={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(n=function(){return i}.call(t,r,t,e))||(e.exports=n)}()},2778:function(e,t,r){var n;/*! https://mths.be/he v1.2.0 by @mathias | MIT license */e=r.nmd(e),function(o){var i=t,a=(e&&e.exports,"object"==typeof r.g&&r.g);a.global!==a&&a.window;var c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,l=/[\x01-\x7F]/g,u=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,s=/<\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,p={"":"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"},d=/["&'<>`]/g,f={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},m=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,g=/[\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]/,h=/&(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,v={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:""},b={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:"ÿ"},y={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],I=String.fromCharCode,S={}.hasOwnProperty,E=function(e,t){return S.call(e,t)},x=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=E(e,r)?e[r]:t[r];return n},D=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&P("character reference outside the permissible Unicode range"),"�"):E(y,e)?(t&&P("disallowed character reference"),y[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(w,e)&&P("disallowed character reference"),e>65535&&(r+=I((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=I(e))},T=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},M=function(e){return"&#"+e+";"},P=function(e){throw Error("Parse error: "+e)},C=function(e,t){(t=x(t,C.options)).strict&&g.test(e)&&P("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,i=t.decimal?M:T,a=function(e){return i(e.charCodeAt(0))};return r?(e=e.replace(l,(function(e){return n&&E(p,e)?"&"+p[e]+";":a(e)})),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(s,(function(e){return"&"+p[e]+";"})))):n?(o||(e=e.replace(d,(function(e){return"&"+p[e]+";"}))),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(s,(function(e){return"&"+p[e]+";"}))):o||(e=e.replace(d,a)),e.replace(c,(function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return i(1024*(t-55296)+r-56320+65536)})).replace(u,a)};C.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var N=function(e,t){var r=(t=x(t,N.options)).strict;return r&&m.test(e)&&P("malformed character reference"),e.replace(h,(function(e,n,o,i,a,c,l,u,s){var p,d,f,m,g,h;return n?v[g=n]:o?(g=o,(h=i)&&t.isAttributeValue?(r&&"="==h&&P("`&` did not start a character reference"),e):(r&&P("named character reference was not terminated by a semicolon"),b[g]+(h||""))):a?(f=a,d=c,r&&!d&&P("character reference was not terminated by a semicolon"),p=parseInt(f,10),D(p,r)):l?(m=l,d=u,r&&!d&&P("character reference was not terminated by a semicolon"),p=parseInt(m,16),D(p,r)):(r&&P("named character reference was not terminated by a semicolon"),e)}))};N.options={isAttributeValue:!1,strict:!1};var L={version:"1.2.0",encode:C,decode:N,escape:function(e){return e.replace(d,(function(e){return f[e]}))},unescape:N};void 0===(n=function(){return L}.call(t,r,t,e))||(e.exports=n)}()},88824:function(e,t,r){"use strict";r.d(t,{lX:function(){return y},q_:function(){return x},PP:function(){return T},ob:function(){return d},Ep:function(){return p}});var n=r(54381),o=r(51874),i=r(58872),a=r(53499);function c(e){return"/"===e.charAt(0)?e:"/"+e}function l(e){return"/"===e.charAt(0)?e.substr(1):e}function u(e,t){return function(e,t){return new RegExp("^"+t+"(\\/|\\?|#|$)","i").test(e)}(e,t)?e.substr(t.length):e}function s(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function p(e){var t=e.pathname,r=e.search,n=e.hash,o=t||"/";return r&&"?"!==r&&(o+="?"===r.charAt(0)?r:"?"+r),n&&"#"!==n&&(o+="#"===n.charAt(0)?n:"#"+n),o}function d(e,t,r,i){var a;"string"==typeof e?(a=function(e){var t=e||"/",r="",n="",o=t.indexOf("#");-1!==o&&(n=t.substr(o),t=t.substr(0,o));var i=t.indexOf("?");return-1!==i&&(r=t.substr(i),t=t.substr(0,i)),{pathname:t,search:"?"===r?"":r,hash:"#"===n?"":n}}(e)).state=t:(void 0===(a=(0,n.Z)({},e)).pathname&&(a.pathname=""),a.search?"?"!==a.search.charAt(0)&&(a.search="?"+a.search):a.search="",a.hash?"#"!==a.hash.charAt(0)&&(a.hash="#"+a.hash):a.hash="",void 0!==t&&void 0===a.state&&(a.state=t));try{a.pathname=decodeURI(a.pathname)}catch(c){throw c instanceof URIError?new URIError('Pathname "'+a.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):c}return r&&(a.key=r),i?a.pathname?"/"!==a.pathname.charAt(0)&&(a.pathname=(0,o.Z)(a.pathname,i.pathname)):a.pathname=i.pathname:a.pathname||(a.pathname="/"),a}function f(){var e=null;var t=[];return{setPrompt:function(t){return e=t,function(){e===t&&(e=null)}},confirmTransitionTo:function(t,r,n,o){if(null!=e){var i="function"==typeof e?e(t,r):e;"string"==typeof i?"function"==typeof n?n(i,o):o(!0):o(!1!==i)}else o(!0)},appendListener:function(e){var r=!0;function n(){r&&e.apply(void 0,arguments)}return t.push(n),function(){r=!1,t=t.filter((function(e){return e!==n}))}},notifyListeners:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.forEach((function(e){return e.apply(void 0,r)}))}}}var m=!("undefined"==typeof window||!window.document||!window.document.createElement);function g(e,t){t(window.confirm(e))}var h="popstate",v="hashchange";function b(){try{return window.history.state||{}}catch(e){return{}}}function y(e){void 0===e&&(e={}),m||(0,a.Z)(!1);var t,r=window.history,o=(-1===(t=window.navigator.userAgent).indexOf("Android 2.")&&-1===t.indexOf("Android 4.0")||-1===t.indexOf("Mobile Safari")||-1!==t.indexOf("Chrome")||-1!==t.indexOf("Windows Phone"))&&window.history&&"pushState"in window.history,i=!(-1===window.navigator.userAgent.indexOf("Trident")),l=e,y=l.forceRefresh,w=void 0!==y&&y,I=l.getUserConfirmation,S=void 0===I?g:I,E=l.keyLength,x=void 0===E?6:E,D=e.basename?s(c(e.basename)):"";function T(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return D&&(i=u(i,D)),d(i,n,r)}function M(){return Math.random().toString(36).substr(2,x)}var P=f();function C(e){(0,n.Z)(B,e),B.length=r.length,P.notifyListeners(B.location,B.action)}function N(e){(function(e){void 0===e.state&&navigator.userAgent.indexOf("CriOS")})(e)||k(T(e.state))}function L(){k(T(b()))}var j=!1;function k(e){if(j)j=!1,C();else{P.confirmTransitionTo(e,"POP",S,(function(t){t?C({action:"POP",location:e}):function(e){var t=B.location,r=A.indexOf(t.key);-1===r&&(r=0);var n=A.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(j=!0,Z(o))}(e)}))}}var O=T(b()),A=[O.key];function R(e){return D+p(e)}function Z(e){r.go(e)}var H=0;function z(e){1===(H+=e)&&1===e?(window.addEventListener(h,N),i&&window.addEventListener(v,L)):0===H&&(window.removeEventListener(h,N),i&&window.removeEventListener(v,L))}var _=!1;var B={length:r.length,action:"POP",location:O,createHref:R,push:function(e,t){var n="PUSH",i=d(e,t,M(),B.location);P.confirmTransitionTo(i,n,S,(function(e){if(e){var t=R(i),a=i.key,c=i.state;if(o)if(r.pushState({key:a,state:c},null,t),w)window.location.href=t;else{var l=A.indexOf(B.location.key),u=A.slice(0,-1===l?0:l+1);u.push(i.key),A=u,C({action:n,location:i})}else window.location.href=t}}))},replace:function(e,t){var n="REPLACE",i=d(e,t,M(),B.location);P.confirmTransitionTo(i,n,S,(function(e){if(e){var t=R(i),a=i.key,c=i.state;if(o)if(r.replaceState({key:a,state:c},null,t),w)window.location.replace(t);else{var l=A.indexOf(B.location.key);-1!==l&&(A[l]=i.key),C({action:n,location:i})}else window.location.replace(t)}}))},go:Z,goBack:function(){Z(-1)},goForward:function(){Z(1)},block:function(e){void 0===e&&(e=!1);var t=P.setPrompt(e);return _||(z(1),_=!0),function(){return _&&(_=!1,z(-1)),t()}},listen:function(e){var t=P.appendListener(e);return z(1),function(){z(-1),t()}}};return B}var w="hashchange",I={hashbang:{encodePath:function(e){return"!"===e.charAt(0)?e:"!/"+l(e)},decodePath:function(e){return"!"===e.charAt(0)?e.substr(1):e}},noslash:{encodePath:l,decodePath:c},slash:{encodePath:c,decodePath:c}};function S(){var e=window.location.href,t=e.indexOf("#");return-1===t?"":e.substring(t+1)}function E(e){var t=window.location.href.indexOf("#");window.location.replace(window.location.href.slice(0,t>=0?t:0)+"#"+e)}function x(e){void 0===e&&(e={}),m||(0,a.Z)(!1);var t=window.history,r=(window.navigator.userAgent.indexOf("Firefox"),e),o=r.getUserConfirmation,l=void 0===o?g:o,h=r.hashType,v=void 0===h?"slash":h,b=e.basename?s(c(e.basename)):"",y=I[v],x=y.encodePath,D=y.decodePath;function T(){var e=D(S());return b&&(e=u(e,b)),d(e)}var M=f();function P(e){(0,n.Z)(_,e),_.length=t.length,M.notifyListeners(_.location,_.action)}var C=!1,N=null;function L(){var e,t,r=S(),n=x(r);if(r!==n)E(n);else{var o=T(),a=_.location;if(!C&&(t=o,(e=a).pathname===t.pathname&&e.search===t.search&&e.hash===t.hash&&e.key===t.key&&(0,i.Z)(e.state,t.state)))return;if(N===p(o))return;N=null,function(e){if(C)C=!1,P();else{var t="POP";M.confirmTransitionTo(e,t,l,(function(r){r?P({action:t,location:e}):function(e){var t=_.location,r=A.lastIndexOf(p(t));-1===r&&(r=0);var n=A.lastIndexOf(p(e));-1===n&&(n=0);var o=r-n;o&&(C=!0,R(o))}(e)}))}}(o)}}var j=S(),k=x(j);j!==k&&E(k);var O=T(),A=[p(O)];function R(e){t.go(e)}var Z=0;function H(e){1===(Z+=e)&&1===e?window.addEventListener(w,L):0===Z&&window.removeEventListener(w,L)}var z=!1;var _={length:t.length,action:"POP",location:O,createHref:function(e){return"#"+x(b+p(e))},push:function(e,t){var r="PUSH",n=d(e,void 0,void 0,_.location);M.confirmTransitionTo(n,r,l,(function(e){if(e){var t=p(n),o=x(b+t);if(S()!==o){N=t,function(e){window.location.hash=e}(o);var i=A.lastIndexOf(p(_.location)),a=A.slice(0,-1===i?0:i+1);a.push(t),A=a,P({action:r,location:n})}else P()}}))},replace:function(e,t){var r="REPLACE",n=d(e,void 0,void 0,_.location);M.confirmTransitionTo(n,r,l,(function(e){if(e){var t=p(n),o=x(b+t);S()!==o&&(N=t,E(o));var i=A.indexOf(p(_.location));-1!==i&&(A[i]=t),P({action:r,location:n})}}))},go:R,goBack:function(){R(-1)},goForward:function(){R(1)},block:function(e){void 0===e&&(e=!1);var t=M.setPrompt(e);return z||(H(1),z=!0),function(){return z&&(z=!1,H(-1)),t()}},listen:function(e){var t=M.appendListener(e);return H(1),function(){H(-1),t()}}};return _}function D(e,t,r){return Math.min(Math.max(e,t),r)}function T(e){void 0===e&&(e={});var t=e,r=t.getUserConfirmation,o=t.initialEntries,i=void 0===o?["/"]:o,a=t.initialIndex,c=void 0===a?0:a,l=t.keyLength,u=void 0===l?6:l,s=f();function m(e){(0,n.Z)(w,e),w.length=w.entries.length,s.notifyListeners(w.location,w.action)}function g(){return Math.random().toString(36).substr(2,u)}var h=D(c,0,i.length-1),v=i.map((function(e){return d(e,void 0,"string"==typeof e?g():e.key||g())})),b=p;function y(e){var t=D(w.index+e,0,w.entries.length-1),n=w.entries[t];s.confirmTransitionTo(n,"POP",r,(function(e){e?m({action:"POP",location:n,index:t}):m()}))}var w={length:v.length,action:"POP",location:v[h],index:h,entries:v,createHref:b,push:function(e,t){var n="PUSH",o=d(e,t,g(),w.location);s.confirmTransitionTo(o,n,r,(function(e){if(e){var t=w.index+1,r=w.entries.slice(0);r.length>t?r.splice(t,r.length-t,o):r.push(o),m({action:n,location:o,index:t,entries:r})}}))},replace:function(e,t){var n="REPLACE",o=d(e,t,g(),w.location);s.confirmTransitionTo(o,n,r,(function(e){e&&(w.entries[w.index]=o,m({action:n,location:o}))}))},go:y,goBack:function(){y(-1)},goForward:function(){y(1)},canGo:function(e){var t=w.index+e;return t>=0&&t<w.entries.length},block:function(e){return void 0===e&&(e=!1),s.setPrompt(e)},listen:function(e){return s.appendListener(e)}};return w}},54381:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},41281:function(e,t,r){"use strict";var n=r(338),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},i={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function l(e){return n.isMemo(e)?a:c[e.$$typeof]||o}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0};var u=Object.defineProperty,s=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(m){var o=f(r);o&&o!==m&&e(t,o,n)}var a=s(r);p&&(a=a.concat(p(r)));for(var c=l(t),g=l(r),h=0;h<a.length;++h){var v=a[h];if(!(i[v]||n&&n[v]||g&&g[v]||c&&c[v])){var b=d(r,v);try{u(t,v,b)}catch(y){}}}return t}return t}},47905:function(e,t,r){"use strict";var n=r(89526),o=r(45177),i=r(2652),a=r.n(i),c=1073741823,l="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:{};function u(e){var t=[];return{on:function(e){t.push(e)},off:function(e){t=t.filter((function(t){return t!==e}))},get:function(){return e},set:function(r,n){e=r,t.forEach((function(t){return t(e,n)}))}}}var s=n.createContext||function(e,t){var r,i,s,p="__create-react-context-"+((l[s="__global_unique_id__"]=(l[s]||0)+1)+"__"),d=function(e){function r(){var t;return(t=e.apply(this,arguments)||this).emitter=u(t.props.value),t}(0,o.Z)(r,e);var n=r.prototype;return n.getChildContext=function(){var e;return(e={})[p]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var r,n=this.props.value,o=e.value;((i=n)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?r=0:(r="function"==typeof t?t(n,o):c,0!==(r|=0)&&this.emitter.set(e.value,r))}var i,a},n.render=function(){return this.props.children},r}(n.Component);d.childContextTypes=((r={})[p]=a().object.isRequired,r);var f=function(t){function r(){var e;return(e=t.apply(this,arguments)||this).state={value:e.getValue()},e.onUpdate=function(t,r){0!=((0|e.observedBits)&r)&&e.setState({value:e.getValue()})},e}(0,o.Z)(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?c:t},n.componentDidMount=function(){this.context[p]&&this.context[p].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?c:e},n.componentWillUnmount=function(){this.context[p]&&this.context[p].off(this.onUpdate)},n.getValue=function(){return this.context[p]?this.context[p].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(n.Component);return f.contextTypes=((i={})[p]=a().object,i),{Provider:d,Consumer:f}};t.Z=s},39455:function(e,t,r){var n=r(99677);e.exports=f,e.exports.parse=i,e.exports.compile=function(e,t){return c(i(e,t))},e.exports.tokensToFunction=c,e.exports.tokensToRegExp=d;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var r,n=[],i=0,a=0,c="",s=t&&t.delimiter||"/";null!=(r=o.exec(e));){var p=r[0],d=r[1],f=r.index;if(c+=e.slice(a,f),a=f+p.length,d)c+=d[1];else{var m=e[a],g=r[2],h=r[3],v=r[4],b=r[5],y=r[6],w=r[7];c&&(n.push(c),c="");var I=null!=g&&null!=m&&m!==g,S="+"===y||"*"===y,E="?"===y||"*"===y,x=r[2]||s,D=v||b;n.push({name:h||i++,prefix:g||"",delimiter:x,optional:E,repeat:S,partial:I,asterisk:!!w,pattern:D?u(D):w?".*":"[^"+l(x)+"]+?"})}}return a<e.length&&(c+=e.substr(a)),c&&n.push(c),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function c(e){for(var t=new Array(e.length),r=0;r<e.length;r++)"object"==typeof e[r]&&(t[r]=new RegExp("^(?:"+e[r].pattern+")$"));return function(r,o){for(var i="",c=r||{},l=(o||{}).pretty?a:encodeURIComponent,u=0;u<e.length;u++){var s=e[u];if("string"!=typeof s){var p,d=c[s.name];if(null==d){if(s.optional){s.partial&&(i+=s.prefix);continue}throw new TypeError('Expected "'+s.name+'" to be defined')}if(n(d)){if(!s.repeat)throw new TypeError('Expected "'+s.name+'" to not repeat, but received `'+JSON.stringify(d)+"`");if(0===d.length){if(s.optional)continue;throw new TypeError('Expected "'+s.name+'" to not be empty')}for(var f=0;f<d.length;f++){if(p=l(d[f]),!t[u].test(p))throw new TypeError('Expected all "'+s.name+'" to match "'+s.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===f?s.prefix:s.delimiter)+p}}else{if(p=s.asterisk?encodeURI(d).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(d),!t[u].test(p))throw new TypeError('Expected "'+s.name+'" to match "'+s.pattern+'", but received "'+p+'"');i+=s.prefix+p}}else i+=s}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function u(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function s(e,t){return e.keys=t,e}function p(e){return e.sensitive?"":"i"}function d(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,i=!1!==r.end,a="",c=0;c<e.length;c++){var u=e[c];if("string"==typeof u)a+=l(u);else{var d=l(u.prefix),f="(?:"+u.pattern+")";t.push(u),u.repeat&&(f+="(?:"+d+f+")*"),a+=f=u.optional?u.partial?d+"("+f+")?":"(?:"+d+"("+f+"))?":d+"("+f+")"}}var m=l(r.delimiter||"/"),g=a.slice(-m.length)===m;return o||(a=(g?a.slice(0,-m.length):a)+"(?:"+m+"(?=$))?"),a+=i?"$":o&&g?"":"(?="+m+"|$)",s(new RegExp("^"+a,p(r)),t)}function f(e,t,r){return n(t)||(r=t||r,t=[]),r=r||{},e instanceof RegExp?function(e,t){var r=e.source.match(/\((?!\?)/g);if(r)for(var n=0;n<r.length;n++)t.push({name:n,prefix:null,delimiter:null,optional:!1,repeat:!1,partial:!1,asterisk:!1,pattern:null});return s(e,t)}(e,t):n(e)?function(e,t,r){for(var n=[],o=0;o<e.length;o++)n.push(f(e[o],t,r).source);return s(new RegExp("(?:"+n.join("|")+")",p(r)),t)}(e,t,r):function(e,t,r){return d(i(e,r),t,r)}(e,t,r)}},99677:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},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 |
*/
|
36 |
+
var n="undefined"!=typeof window&&"undefined"!=typeof document,o=["Edge","Trident","Firefox"],i=0,a=0;a<o.length;a+=1)if(n&&navigator.userAgent.indexOf(o[a])>=0){i=1;break}var c=n&&window.Promise?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then((function(){t=!1,e()})))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout((function(){t=!1,e()}),i))}};function l(e){return e&&"[object Function]"==={}.toString.call(e)}function u(e,t){if(1!==e.nodeType)return[];var r=e.ownerDocument.defaultView.getComputedStyle(e,null);return t?r[t]:r}function s(e){return"HTML"===e.nodeName?e:e.parentNode||e.host}function p(e){if(!e)return document.body;switch(e.nodeName){case"HTML":case"BODY":return e.ownerDocument.body;case"#document":return e.body}var t=u(e),r=t.overflow,n=t.overflowX,o=t.overflowY;return/(auto|scroll|overlay)/.test(r+o+n)?e:p(s(e))}var d=n&&!(!window.MSInputMethodContext||!document.documentMode),f=n&&/MSIE 10/.test(navigator.userAgent);function m(e){return 11===e?d:10===e?f:d||f}function g(e){if(!e)return document.documentElement;for(var t=m(10)?document.body:null,r=e.offsetParent||null;r===t&&e.nextElementSibling;)r=(e=e.nextElementSibling).offsetParent;var n=r&&r.nodeName;return n&&"BODY"!==n&&"HTML"!==n?-1!==["TH","TD","TABLE"].indexOf(r.nodeName)&&"static"===u(r,"position")?g(r):r:e?e.ownerDocument.documentElement:document.documentElement}function h(e){return null!==e.parentNode?h(e.parentNode):e}function v(e,t){if(!(e&&e.nodeType&&t&&t.nodeType))return document.documentElement;var r=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=r?e:t,o=r?t:e,i=document.createRange();i.setStart(n,0),i.setEnd(o,0);var a,c,l=i.commonAncestorContainer;if(e!==l&&t!==l||n.contains(o))return"BODY"===(c=(a=l).nodeName)||"HTML"!==c&&g(a.firstElementChild)!==a?g(l):l;var u=h(e);return u.host?v(u.host,t):v(e,h(t).host)}function b(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",r="top"===t?"scrollTop":"scrollLeft",n=e.nodeName;if("BODY"===n||"HTML"===n){var o=e.ownerDocument.documentElement,i=e.ownerDocument.scrollingElement||o;return i[r]}return e[r]}function y(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=b(t,"top"),o=b(t,"left"),i=r?-1:1;return e.top+=n*i,e.bottom+=n*i,e.left+=o*i,e.right+=o*i,e}function w(e,t){var r="x"===t?"Left":"Top",n="Left"===r?"Right":"Bottom";return parseFloat(e["border"+r+"Width"],10)+parseFloat(e["border"+n+"Width"],10)}function I(e,t,r,n){return Math.max(t["offset"+e],t["scroll"+e],r["client"+e],r["offset"+e],r["scroll"+e],m(10)?parseInt(r["offset"+e])+parseInt(n["margin"+("Height"===e?"Top":"Left")])+parseInt(n["margin"+("Height"===e?"Bottom":"Right")]):0)}function S(e){var t=e.body,r=e.documentElement,n=m(10)&&getComputedStyle(r);return{height:I("Height",t,r,n),width:I("Width",t,r,n)}}var E=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},x=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}}(),D=function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},T=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};function M(e){return T({},e,{right:e.left+e.width,bottom:e.top+e.height})}function P(e){var t={};try{if(m(10)){t=e.getBoundingClientRect();var r=b(e,"top"),n=b(e,"left");t.top+=r,t.left+=n,t.bottom+=r,t.right+=n}else t=e.getBoundingClientRect()}catch(d){}var o={left:t.left,top:t.top,width:t.right-t.left,height:t.bottom-t.top},i="HTML"===e.nodeName?S(e.ownerDocument):{},a=i.width||e.clientWidth||o.right-o.left,c=i.height||e.clientHeight||o.bottom-o.top,l=e.offsetWidth-a,s=e.offsetHeight-c;if(l||s){var p=u(e);l-=w(p,"x"),s-=w(p,"y"),o.width-=l,o.height-=s}return M(o)}function C(e,t){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=m(10),o="HTML"===t.nodeName,i=P(e),a=P(t),c=p(e),l=u(t),s=parseFloat(l.borderTopWidth,10),d=parseFloat(l.borderLeftWidth,10);r&&o&&(a.top=Math.max(a.top,0),a.left=Math.max(a.left,0));var f=M({top:i.top-a.top-s,left:i.left-a.left-d,width:i.width,height:i.height});if(f.marginTop=0,f.marginLeft=0,!n&&o){var g=parseFloat(l.marginTop,10),h=parseFloat(l.marginLeft,10);f.top-=s-g,f.bottom-=s-g,f.left-=d-h,f.right-=d-h,f.marginTop=g,f.marginLeft=h}return(n&&!r?t.contains(c):t===c&&"BODY"!==c.nodeName)&&(f=y(f,t)),f}function N(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=e.ownerDocument.documentElement,n=C(e,r),o=Math.max(r.clientWidth,window.innerWidth||0),i=Math.max(r.clientHeight,window.innerHeight||0),a=t?0:b(r),c=t?0:b(r,"left"),l={top:a-n.top+n.marginTop,left:c-n.left+n.marginLeft,width:o,height:i};return M(l)}function L(e){var t=e.nodeName;if("BODY"===t||"HTML"===t)return!1;if("fixed"===u(e,"position"))return!0;var r=s(e);return!!r&&L(r)}function j(e){if(!e||!e.parentElement||m())return document.documentElement;for(var t=e.parentElement;t&&"none"===u(t,"transform");)t=t.parentElement;return t||document.documentElement}function k(e,t,r,n){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i={top:0,left:0},a=o?j(e):v(e,t);if("viewport"===n)i=N(a,o);else{var c=void 0;"scrollParent"===n?"BODY"===(c=p(s(t))).nodeName&&(c=e.ownerDocument.documentElement):c="window"===n?e.ownerDocument.documentElement:n;var l=C(c,a,o);if("HTML"!==c.nodeName||L(a))i=l;else{var u=S(e.ownerDocument),d=u.height,f=u.width;i.top+=l.top-l.marginTop,i.bottom=d+l.top,i.left+=l.left-l.marginLeft,i.right=f+l.left}}var m="number"==typeof(r=r||0);return i.left+=m?r:r.left||0,i.top+=m?r:r.top||0,i.right-=m?r:r.right||0,i.bottom-=m?r:r.bottom||0,i}function O(e){return e.width*e.height}function A(e,t,r,n,o){var i=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf("auto"))return e;var a=k(r,n,i,o),c={top:{width:a.width,height:t.top-a.top},right:{width:a.right-t.right,height:a.height},bottom:{width:a.width,height:a.bottom-t.bottom},left:{width:t.left-a.left,height:a.height}},l=Object.keys(c).map((function(e){return T({key:e},c[e],{area:O(c[e])})})).sort((function(e,t){return t.area-e.area})),u=l.filter((function(e){var t=e.width,n=e.height;return t>=r.clientWidth&&n>=r.clientHeight})),s=u.length>0?u[0].key:l[0].key,p=e.split("-")[1];return s+(p?"-"+p:"")}function R(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=n?j(t):v(t,r);return C(r,o,n)}function Z(e){var t=e.ownerDocument.defaultView.getComputedStyle(e),r=parseFloat(t.marginTop||0)+parseFloat(t.marginBottom||0),n=parseFloat(t.marginLeft||0)+parseFloat(t.marginRight||0);return{width:e.offsetWidth+n,height:e.offsetHeight+r}}function H(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,(function(e){return t[e]}))}function z(e,t,r){r=r.split("-")[0];var n=Z(e),o={width:n.width,height:n.height},i=-1!==["right","left"].indexOf(r),a=i?"top":"left",c=i?"left":"top",l=i?"height":"width",u=i?"width":"height";return o[a]=t[a]+t[l]/2-n[l]/2,o[c]=r===c?t[c]-n[u]:t[H(c)],o}function _(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function B(e,t,r){return(void 0===r?e:e.slice(0,function(e,t,r){if(Array.prototype.findIndex)return e.findIndex((function(e){return e[t]===r}));var n=_(e,(function(e){return e[t]===r}));return e.indexOf(n)}(e,"name",r))).forEach((function(e){e.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var r=e.function||e.fn;e.enabled&&l(r)&&(t.offsets.popper=M(t.offsets.popper),t.offsets.reference=M(t.offsets.reference),t=r(t,e))})),t}function G(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=R(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=A(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=z(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",e=B(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function U(e,t){return e.some((function(e){var r=e.name;return e.enabled&&r===t}))}function W(e){for(var t=[!1,"ms","Webkit","Moz","O"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],i=o?""+o+r:e;if(void 0!==document.body.style[i])return i}return null}function q(){return this.state.isDestroyed=!0,U(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[W("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function F(e){var t=e.ownerDocument;return t?t.defaultView:window}function V(e,t,r,n){var o="BODY"===e.nodeName,i=o?e.ownerDocument.defaultView:e;i.addEventListener(t,r,{passive:!0}),o||V(p(i.parentNode),t,r,n),n.push(i)}function J(e,t,r,n){r.updateBound=n,F(e).addEventListener("resize",r.updateBound,{passive:!0});var o=p(e);return V(o,"scroll",r.updateBound,r.scrollParents),r.scrollElement=o,r.eventsEnabled=!0,r}function Y(){this.state.eventsEnabled||(this.state=J(this.reference,this.options,this.state,this.scheduleUpdate))}function Q(){var e,t;this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=(e=this.reference,t=this.state,F(e).removeEventListener("resize",t.updateBound),t.scrollParents.forEach((function(e){e.removeEventListener("scroll",t.updateBound)})),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t))}function X(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function K(e,t){Object.keys(t).forEach((function(r){var n="";-1!==["width","height","top","right","bottom","left"].indexOf(r)&&X(t[r])&&(n="px"),e.style[r]=t[r]+n}))}var $=n&&/Firefox/i.test(navigator.userAgent);function ee(e,t,r){var n=_(e,(function(e){return e.name===t})),o=!!n&&e.some((function(e){return e.name===r&&e.enabled&&e.order<n.order}));if(!o){var i="`"+t+"`",a="`"+r+"`";console.warn(a+" modifier is required by "+i+" modifier in order to work, be sure to include it before "+i+"!")}return o}var te=["auto-start","auto","auto-end","top-start","top","top-end","right-start","right","right-end","bottom-end","bottom","bottom-start","left-end","left","left-start"],re=te.slice(3);function ne(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=re.indexOf(e),n=re.slice(r+1).concat(re.slice(0,r));return t?n.reverse():n}var oe="flip",ie="clockwise",ae="counterclockwise";function ce(e,t,r,n){var o=[0,0],i=-1!==["right","left"].indexOf(n),a=e.split(/(\+|\-)/).map((function(e){return e.trim()})),c=a.indexOf(_(a,(function(e){return-1!==e.search(/,|\s/)})));a[c]&&-1===a[c].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==c?[a.slice(0,c).concat([a[c].split(l)[0]]),[a[c].split(l)[1]].concat(a.slice(c+1))]:[a];return(u=u.map((function(e,n){var o=(1===n?!i:i)?"height":"width",a=!1;return e.reduce((function(e,t){return""===e[e.length-1]&&-1!==["+","-"].indexOf(t)?(e[e.length-1]=t,a=!0,e):a?(e[e.length-1]+=t,a=!1,e):e.concat(t)}),[]).map((function(e){return function(e,t,r,n){var o=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),i=+o[1],a=o[2];if(!i)return e;if(0===a.indexOf("%")){var c=void 0;switch(a){case"%p":c=r;break;case"%":case"%r":default:c=n}return M(c)[t]/100*i}if("vh"===a||"vw"===a)return("vh"===a?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*i;return i}(e,o,t,r)}))}))).forEach((function(e,t){e.forEach((function(r,n){X(r)&&(o[t]+=r*("-"===e[n-1]?-1:1))}))})),o}var le={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,r=t.split("-")[0],n=t.split("-")[1];if(n){var o=e.offsets,i=o.reference,a=o.popper,c=-1!==["bottom","top"].indexOf(r),l=c?"left":"top",u=c?"width":"height",s={start:D({},l,i[l]),end:D({},l,i[l]+i[u]-a[u])};e.offsets.popper=T({},a,s[n])}return e}},offset:{order:200,enabled:!0,fn:function(e,t){var r=t.offset,n=e.placement,o=e.offsets,i=o.popper,a=o.reference,c=n.split("-")[0],l=void 0;return l=X(+r)?[+r,0]:ce(r,i,a,c),"left"===c?(i.top+=l[0],i.left-=l[1]):"right"===c?(i.top+=l[0],i.left+=l[1]):"top"===c?(i.left+=l[0],i.top-=l[1]):"bottom"===c&&(i.left+=l[0],i.top+=l[1]),e.popper=i,e},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var r=t.boundariesElement||g(e.instance.popper);e.instance.reference===r&&(r=g(r));var n=W("transform"),o=e.instance.popper.style,i=o.top,a=o.left,c=o[n];o.top="",o.left="",o[n]="";var l=k(e.instance.popper,e.instance.reference,t.padding,r,e.positionFixed);o.top=i,o.left=a,o[n]=c,t.boundaries=l;var u=t.priority,s=e.offsets.popper,p={primary:function(e){var r=s[e];return s[e]<l[e]&&!t.escapeWithReference&&(r=Math.max(s[e],l[e])),D({},e,r)},secondary:function(e){var r="right"===e?"left":"top",n=s[r];return s[e]>l[e]&&!t.escapeWithReference&&(n=Math.min(s[r],l[e]-("right"===e?s.width:s.height))),D({},r,n)}};return u.forEach((function(e){var t=-1!==["left","top"].indexOf(e)?"primary":"secondary";s=T({},s,p[t](e))})),e.offsets.popper=s,e},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,r=t.popper,n=t.reference,o=e.placement.split("-")[0],i=Math.floor,a=-1!==["top","bottom"].indexOf(o),c=a?"right":"bottom",l=a?"left":"top",u=a?"width":"height";return r[c]<i(n[l])&&(e.offsets.popper[l]=i(n[l])-r[u]),r[l]>i(n[c])&&(e.offsets.popper[l]=i(n[c])),e}},arrow:{order:500,enabled:!0,fn:function(e,t){var r;if(!ee(e.instance.modifiers,"arrow","keepTogether"))return e;var n=t.element;if("string"==typeof n){if(!(n=e.instance.popper.querySelector(n)))return e}else if(!e.instance.popper.contains(n))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),e;var o=e.placement.split("-")[0],i=e.offsets,a=i.popper,c=i.reference,l=-1!==["left","right"].indexOf(o),s=l?"height":"width",p=l?"Top":"Left",d=p.toLowerCase(),f=l?"left":"top",m=l?"bottom":"right",g=Z(n)[s];c[m]-g<a[d]&&(e.offsets.popper[d]-=a[d]-(c[m]-g)),c[d]+g>a[m]&&(e.offsets.popper[d]+=c[d]+g-a[m]),e.offsets.popper=M(e.offsets.popper);var h=c[d]+c[s]/2-g/2,v=u(e.instance.popper),b=parseFloat(v["margin"+p],10),y=parseFloat(v["border"+p+"Width"],10),w=h-e.offsets.popper[d]-b-y;return w=Math.max(Math.min(a[s]-g,w),0),e.arrowElement=n,e.offsets.arrow=(D(r={},d,Math.round(w)),D(r,f,""),r),e},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(e,t){if(U(e.instance.modifiers,"inner"))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var r=k(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split("-")[0],o=H(n),i=e.placement.split("-")[1]||"",a=[];switch(t.behavior){case oe:a=[n,o];break;case ie:a=ne(n);break;case ae:a=ne(n,!0);break;default:a=t.behavior}return a.forEach((function(c,l){if(n!==c||a.length===l+1)return e;n=e.placement.split("-")[0],o=H(n);var u=e.offsets.popper,s=e.offsets.reference,p=Math.floor,d="left"===n&&p(u.right)>p(s.left)||"right"===n&&p(u.left)<p(s.right)||"top"===n&&p(u.bottom)>p(s.top)||"bottom"===n&&p(u.top)<p(s.bottom),f=p(u.left)<p(r.left),m=p(u.right)>p(r.right),g=p(u.top)<p(r.top),h=p(u.bottom)>p(r.bottom),v="left"===n&&f||"right"===n&&m||"top"===n&&g||"bottom"===n&&h,b=-1!==["top","bottom"].indexOf(n),y=!!t.flipVariations&&(b&&"start"===i&&f||b&&"end"===i&&m||!b&&"start"===i&&g||!b&&"end"===i&&h),w=!!t.flipVariationsByContent&&(b&&"start"===i&&m||b&&"end"===i&&f||!b&&"start"===i&&h||!b&&"end"===i&&g),I=y||w;(d||v||I)&&(e.flipped=!0,(d||v)&&(n=a[l+1]),I&&(i=function(e){return"end"===e?"start":"start"===e?"end":e}(i)),e.placement=n+(i?"-"+i:""),e.offsets.popper=T({},e.offsets.popper,z(e.instance.popper,e.offsets.reference,e.placement)),e=B(e.instance.modifiers,e,"flip"))})),e},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,r=t.split("-")[0],n=e.offsets,o=n.popper,i=n.reference,a=-1!==["left","right"].indexOf(r),c=-1===["top","left"].indexOf(r);return o[a?"left":"top"]=i[r]-(c?o[a?"width":"height"]:0),e.placement=H(t),e.offsets.popper=M(o),e}},hide:{order:800,enabled:!0,fn:function(e){if(!ee(e.instance.modifiers,"hide","preventOverflow"))return e;var t=e.offsets.reference,r=_(e.instance.modifiers,(function(e){return"preventOverflow"===e.name})).boundaries;if(t.bottom<r.top||t.left>r.right||t.top>r.bottom||t.right<r.left){if(!0===e.hide)return e;e.hide=!0,e.attributes["x-out-of-boundaries"]=""}else{if(!1===e.hide)return e;e.hide=!1,e.attributes["x-out-of-boundaries"]=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var r=t.x,n=t.y,o=e.offsets.popper,i=_(e.instance.modifiers,(function(e){return"applyStyle"===e.name})).gpuAcceleration;void 0!==i&&console.warn("WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!");var a=void 0!==i?i:t.gpuAcceleration,c=g(e.instance.popper),l=P(c),u={position:o.position},s=function(e,t){var r=e.offsets,n=r.popper,o=r.reference,i=Math.round,a=Math.floor,c=function(e){return e},l=i(o.width),u=i(n.width),s=-1!==["left","right"].indexOf(e.placement),p=-1!==e.placement.indexOf("-"),d=t?s||p||l%2==u%2?i:a:c,f=t?i:c;return{left:d(l%2==1&&u%2==1&&!p&&t?n.left-1:n.left),top:f(n.top),bottom:f(n.bottom),right:d(n.right)}}(e,window.devicePixelRatio<2||!$),p="bottom"===r?"top":"bottom",d="right"===n?"left":"right",f=W("transform"),m=void 0,h=void 0;if(h="bottom"===p?"HTML"===c.nodeName?-c.clientHeight+s.bottom:-l.height+s.bottom:s.top,m="right"===d?"HTML"===c.nodeName?-c.clientWidth+s.right:-l.width+s.right:s.left,a&&f)u[f]="translate3d("+m+"px, "+h+"px, 0)",u[p]=0,u[d]=0,u.willChange="transform";else{var v="bottom"===p?-1:1,b="right"===d?-1:1;u[p]=h*v,u[d]=m*b,u.willChange=p+", "+d}var y={"x-placement":e.placement};return e.attributes=T({},y,e.attributes),e.styles=T({},u,e.styles),e.arrowStyles=T({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:"bottom",y:"right"},applyStyle:{order:900,enabled:!0,fn:function(e){var t,r;return K(e.instance.popper,e.styles),t=e.instance.popper,r=e.attributes,Object.keys(r).forEach((function(e){!1!==r[e]?t.setAttribute(e,r[e]):t.removeAttribute(e)})),e.arrowElement&&Object.keys(e.arrowStyles).length&&K(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,r,n,o){var i=R(o,t,e,r.positionFixed),a=A(r.placement,i,t,e,r.modifiers.flip.boundariesElement,r.modifiers.flip.padding);return t.setAttribute("x-placement",a),K(t,{position:r.positionFixed?"fixed":"absolute"}),r},gpuAcceleration:void 0}}},ue=function(){function e(t,r){var n=this,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};E(this,e),this.scheduleUpdate=function(){return requestAnimationFrame(n.update)},this.update=c(this.update.bind(this)),this.options=T({},e.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=t&&t.jquery?t[0]:t,this.popper=r&&r.jquery?r[0]:r,this.options.modifiers={},Object.keys(T({},e.Defaults.modifiers,o.modifiers)).forEach((function(t){n.options.modifiers[t]=T({},e.Defaults.modifiers[t]||{},o.modifiers?o.modifiers[t]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(e){return T({name:e},n.options.modifiers[e])})).sort((function(e,t){return e.order-t.order})),this.modifiers.forEach((function(e){e.enabled&&l(e.onLoad)&&e.onLoad(n.reference,n.popper,n.options,e,n.state)})),this.update();var i=this.options.eventsEnabled;i&&this.enableEventListeners(),this.state.eventsEnabled=i}return x(e,[{key:"update",value:function(){return G.call(this)}},{key:"destroy",value:function(){return q.call(this)}},{key:"enableEventListeners",value:function(){return Y.call(this)}},{key:"disableEventListeners",value:function(){return Q.call(this)}}]),e}();ue.Utils=("undefined"!=typeof window?window:r.g).PopperUtils,ue.placements=te,ue.Defaults=le,t.default=ue},5372:function(e,t,r){"use strict";var n=r(49567);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var c=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw c.name="Invariant Violation",c}}function t(){return e}e.isRequired=e;var r={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return r.PropTypes=r,r}},2652:function(e,t,r){e.exports=r(5372)()},49567:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4351:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CopyToClipboard=void 0;var n=i(r(89526)),o=i(r(77447));function i(e){return e&&e.__esModule?e:{default:e}}function a(e){return(a="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 c(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 l(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}function u(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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 p(e,t){return!t||"object"!==a(t)&&"function"!=typeof t?f(e):t}function d(e){return(d=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function f(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function m(e,t){return(m=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function g(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var h=function(e){function t(){var e,r;u(this,t);for(var i=arguments.length,a=new Array(i),c=0;c<i;c++)a[c]=arguments[c];return g(f(r=p(this,(e=d(t)).call.apply(e,[this].concat(a)))),"onClick",(function(e){var t=r.props,i=t.text,a=t.onCopy,c=t.children,l=t.options,u=n.default.Children.only(c),s=(0,o.default)(i,l);a&&a(i,s),u&&u.props&&"function"==typeof u.props.onClick&&u.props.onClick(e)})),r}var r,i,a;return 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&&m(e,t)}(t,e),r=t,(i=[{key:"render",value:function(){var e=this.props,t=(e.text,e.onCopy,e.options,e.children),r=l(e,["text","onCopy","options","children"]),o=n.default.Children.only(t);return n.default.cloneElement(o,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?c(r,!0).forEach((function(t){g(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):c(r).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{onClick:this.onClick}))}}])&&s(r.prototype,i),a&&s(r,a),t}(n.default.PureComponent);t.CopyToClipboard=h,g(h,"defaultProps",{onCopy:void 0,options:void 0})},55565:function(e,t,r){"use strict";var n=r(4351).CopyToClipboard;n.CopyToClipboard=n,e.exports=n},50310:function(e,t,r){"use strict";r.d(t,{XQ:function(){return o},Un:function(){return i},Qc:function(){return a}});var n=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},o=function(e){return e.split(/ ?; ?/).reduce((function(e,t){var r=n(t.split(/ ?: ?/),2),o=r[0],i=r[1];return o&&i&&(e[o.replace(/-(\w)/g,(function(e,t){return t.toUpperCase()}))]=Number.isNaN(Number(i))?i:Number(i)),e}),{})},i=["br","col","colgroup","dl","hr","iframe","img","input","link","menuitem","meta","ol","param","select","table","tbody","tfoot","thead","tr","ul","wbr"],a={"accept-charset":"acceptCharset",acceptcharset:"acceptCharset",accesskey:"accessKey",allowfullscreen:"allowFullScreen",autocapitalize:"autoCapitalize",autocomplete:"autoComplete",autocorrect:"autoCorrect",autofocus:"autoFocus",autoplay:"autoPlay",autosave:"autoSave",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",class:"className",classid:"classID",classname:"className",colspan:"colSpan",contenteditable:"contentEditable",contextmenu:"contextMenu",controlslist:"controlsList",crossorigin:"crossOrigin",dangerouslysetinnerhtml:"dangerouslySetInnerHTML",datetime:"dateTime",defaultchecked:"defaultChecked",defaultvalue:"defaultValue",enctype:"encType",for:"htmlFor",formmethod:"formMethod",formaction:"formAction",formenctype:"formEncType",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",hreflang:"hrefLang",htmlfor:"htmlFor",httpequiv:"httpEquiv","http-equiv":"httpEquiv",icon:"icon",innerhtml:"innerHTML",inputmode:"inputMode",itemid:"itemID",itemprop:"itemProp",itemref:"itemRef",itemscope:"itemScope",itemtype:"itemType",keyparams:"keyParams",keytype:"keyType",marginwidth:"marginWidth",marginheight:"marginHeight",maxlength:"maxLength",mediagroup:"mediaGroup",minlength:"minLength",nomodule:"noModule",novalidate:"noValidate",playsinline:"playsInline",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rowspan:"rowSpan",spellcheck:"spellCheck",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",tabindex:"tabIndex",typemustmatch:"typeMustMatch",usemap:"useMap",accentheight:"accentHeight","accent-height":"accentHeight",alignmentbaseline:"alignmentBaseline","alignment-baseline":"alignmentBaseline",allowreorder:"allowReorder",arabicform:"arabicForm","arabic-form":"arabicForm",attributename:"attributeName",attributetype:"attributeType",autoreverse:"autoReverse",basefrequency:"baseFrequency",baselineshift:"baselineShift","baseline-shift":"baselineShift",baseprofile:"baseProfile",calcmode:"calcMode",capheight:"capHeight","cap-height":"capHeight",clippath:"clipPath","clip-path":"clipPath",clippathunits:"clipPathUnits",cliprule:"clipRule","clip-rule":"clipRule",colorinterpolation:"colorInterpolation","color-interpolation":"colorInterpolation",colorinterpolationfilters:"colorInterpolationFilters","color-interpolation-filters":"colorInterpolationFilters",colorprofile:"colorProfile","color-profile":"colorProfile",colorrendering:"colorRendering","color-rendering":"colorRendering",contentscripttype:"contentScriptType",contentstyletype:"contentStyleType",diffuseconstant:"diffuseConstant",dominantbaseline:"dominantBaseline","dominant-baseline":"dominantBaseline",edgemode:"edgeMode",enablebackground:"enableBackground","enable-background":"enableBackground",externalresourcesrequired:"externalResourcesRequired",fillopacity:"fillOpacity","fill-opacity":"fillOpacity",fillrule:"fillRule","fill-rule":"fillRule",filterres:"filterRes",filterunits:"filterUnits",floodopacity:"floodOpacity","flood-opacity":"floodOpacity",floodcolor:"floodColor","flood-color":"floodColor",fontfamily:"fontFamily","font-family":"fontFamily",fontsize:"fontSize","font-size":"fontSize",fontsizeadjust:"fontSizeAdjust","font-size-adjust":"fontSizeAdjust",fontstretch:"fontStretch","font-stretch":"fontStretch",fontstyle:"fontStyle","font-style":"fontStyle",fontvariant:"fontVariant","font-variant":"fontVariant",fontweight:"fontWeight","font-weight":"fontWeight",glyphname:"glyphName","glyph-name":"glyphName",glyphorientationhorizontal:"glyphOrientationHorizontal","glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphorientationvertical:"glyphOrientationVertical","glyph-orientation-vertical":"glyphOrientationVertical",glyphref:"glyphRef",gradienttransform:"gradientTransform",gradientunits:"gradientUnits",horizadvx:"horizAdvX","horiz-adv-x":"horizAdvX",horizoriginx:"horizOriginX","horiz-origin-x":"horizOriginX",imagerendering:"imageRendering","image-rendering":"imageRendering",kernelmatrix:"kernelMatrix",kernelunitlength:"kernelUnitLength",keypoints:"keyPoints",keysplines:"keySplines",keytimes:"keyTimes",lengthadjust:"lengthAdjust",letterspacing:"letterSpacing","letter-spacing":"letterSpacing",lightingcolor:"lightingColor","lighting-color":"lightingColor",limitingconeangle:"limitingConeAngle",markerend:"markerEnd","marker-end":"markerEnd",markerheight:"markerHeight",markermid:"markerMid","marker-mid":"markerMid",markerstart:"markerStart","marker-start":"markerStart",markerunits:"markerUnits",markerwidth:"markerWidth",maskcontentunits:"maskContentUnits",maskunits:"maskUnits",numoctaves:"numOctaves",overlineposition:"overlinePosition","overline-position":"overlinePosition",overlinethickness:"overlineThickness","overline-thickness":"overlineThickness",paintorder:"paintOrder","paint-order":"paintOrder","panose-1":"panose1",pathlength:"pathLength",patterncontentunits:"patternContentUnits",patterntransform:"patternTransform",patternunits:"patternUnits",pointerevents:"pointerEvents","pointer-events":"pointerEvents",pointsatx:"pointsAtX",pointsaty:"pointsAtY",pointsatz:"pointsAtZ",preservealpha:"preserveAlpha",preserveaspectratio:"preserveAspectRatio",primitiveunits:"primitiveUnits",refx:"refX",refy:"refY",renderingintent:"renderingIntent","rendering-intent":"renderingIntent",repeatcount:"repeatCount",repeatdur:"repeatDur",requiredextensions:"requiredExtensions",requiredfeatures:"requiredFeatures",shaperendering:"shapeRendering","shape-rendering":"shapeRendering",specularconstant:"specularConstant",specularexponent:"specularExponent",spreadmethod:"spreadMethod",startoffset:"startOffset",stddeviation:"stdDeviation",stitchtiles:"stitchTiles",stopcolor:"stopColor","stop-color":"stopColor",stopopacity:"stopOpacity","stop-opacity":"stopOpacity",strikethroughposition:"strikethroughPosition","strikethrough-position":"strikethroughPosition",strikethroughthickness:"strikethroughThickness","strikethrough-thickness":"strikethroughThickness",strokedasharray:"strokeDasharray","stroke-dasharray":"strokeDasharray",strokedashoffset:"strokeDashoffset","stroke-dashoffset":"strokeDashoffset",strokelinecap:"strokeLinecap","stroke-linecap":"strokeLinecap",strokelinejoin:"strokeLinejoin","stroke-linejoin":"strokeLinejoin",strokemiterlimit:"strokeMiterlimit","stroke-miterlimit":"strokeMiterlimit",strokewidth:"strokeWidth","stroke-width":"strokeWidth",strokeopacity:"strokeOpacity","stroke-opacity":"strokeOpacity",suppresscontenteditablewarning:"suppressContentEditableWarning",suppresshydrationwarning:"suppressHydrationWarning",surfacescale:"surfaceScale",systemlanguage:"systemLanguage",tablevalues:"tableValues",targetx:"targetX",targety:"targetY",textanchor:"textAnchor","text-anchor":"textAnchor",textdecoration:"textDecoration","text-decoration":"textDecoration",textlength:"textLength",textrendering:"textRendering","text-rendering":"textRendering",underlineposition:"underlinePosition","underline-position":"underlinePosition",underlinethickness:"underlineThickness","underline-thickness":"underlineThickness",unicodebidi:"unicodeBidi","unicode-bidi":"unicodeBidi",unicoderange:"unicodeRange","unicode-range":"unicodeRange",unitsperem:"unitsPerEm","units-per-em":"unitsPerEm",unselectable:"unselectable",valphabetic:"vAlphabetic","v-alphabetic":"vAlphabetic",vectoreffect:"vectorEffect","vector-effect":"vectorEffect",vertadvy:"vertAdvY","vert-adv-y":"vertAdvY",vertoriginx:"vertOriginX","vert-origin-x":"vertOriginX",vertoriginy:"vertOriginY","vert-origin-y":"vertOriginY",vhanging:"vHanging","v-hanging":"vHanging",videographic:"vIdeographic","v-ideographic":"vIdeographic",viewbox:"viewBox",viewtarget:"viewTarget",vmathematical:"vMathematical","v-mathematical":"vMathematical",wordspacing:"wordSpacing","word-spacing":"wordSpacing",writingmode:"writingMode","writing-mode":"writingMode",xchannelselector:"xChannelSelector",xheight:"xHeight","x-height":"xHeight",xlinkactuate:"xlinkActuate","xlink:actuate":"xlinkActuate",xlinkarcrole:"xlinkArcrole","xlink:arcrole":"xlinkArcrole",xlinkhref:"xlinkHref","xlink:href":"xlinkHref",xlinkrole:"xlinkRole","xlink:role":"xlinkRole",xlinkshow:"xlinkShow","xlink:show":"xlinkShow",xlinktitle:"xlinkTitle","xlink:title":"xlinkTitle",xlinktype:"xlinkType","xlink:type":"xlinkType",xmlbase:"xmlBase","xml:base":"xmlBase",xmllang:"xmlLang","xml:lang":"xmlLang","xml:space":"xmlSpace",xmlnsxlink:"xmlnsXlink","xmlns:xlink":"xmlnsXlink",xmlspace:"xmlSpace",ychannelselector:"yChannelSelector",zoomandpan:"zoomAndPan",onblur:"onBlur",onchange:"onChange",onclick:"onClick",oncontextmenu:"onContextMenu",ondoubleclick:"onDoubleClick",ondrag:"onDrag",ondragend:"onDragEnd",ondragenter:"onDragEnter",ondragexit:"onDragExit",ondragleave:"onDragLeave",ondragover:"onDragOver",ondragstart:"onDragStart",ondrop:"onDrop",onerror:"onError",onfocus:"onFocus",oninput:"onInput",oninvalid:"onInvalid",onkeydown:"onKeyDown",onkeypress:"onKeyPress",onkeyup:"onKeyUp",onload:"onLoad",onmousedown:"onMouseDown",onmouseenter:"onMouseEnter",onmouseleave:"onMouseLeave",onmousemove:"onMouseMove",onmouseout:"onMouseOut",onmouseover:"onMouseOver",onmouseup:"onMouseUp",onscroll:"onScroll",onsubmit:"onSubmit",ontouchcancel:"onTouchCancel",ontouchend:"onTouchEnd",ontouchmove:"onTouchMove",ontouchstart:"onTouchStart",onwheel:"onWheel"}},88041:function(e,t,r){"use strict";r.d(t,{ZP:function(){return u}});var n=r(89526),o=r(50310),i=function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},c=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(a(arguments[t]));return e};function l(e,t){var r;if(void 0===t&&(t={}),!(e&&e instanceof Node))return null;var a,u=t.actions,s=void 0===u?[]:u,p=t.index,d=void 0===p?0:p,f=t.level,m=void 0===f?0:f,g=e,h=m+"-"+d,v=[];if(Array.isArray(s)&&s.forEach((function(t){t.condition(g,h,m)&&("function"==typeof t.pre&&((g=t.pre(g,h,m))instanceof Node||(g=e)),"function"==typeof t.post&&v.push(t.post(g,h,m)))})),v.length)return v;switch(g.nodeType){case 1:return n.createElement((a=g.nodeName,/[a-z]+[A-Z]+[a-z]+/.test(a)?a:a.toLowerCase()),function(e,t){var r={key:t};if(e instanceof Element){var n=e.getAttribute("class");n&&(r.className=n),c(e.attributes).forEach((function(e){switch(e.name){case"class":break;case"style":r[e.name]=(0,o.XQ)(e.value);break;case"allowfullscreen":case"allowpaymentrequest":case"async":case"autofocus":case"autoplay":case"checked":case"controls":case"default":case"defer":case"disabled":case"formnovalidate":case"hidden":case"ismap":case"itemscope":case"loop":case"multiple":case"muted":case"nomodule":case"novalidate":case"open":case"readonly":case"required":case"reversed":case"selected":case"typemustmatch":r[o.Qc[e.name]||e.name]=!0;break;default:r[o.Qc[e.name]||e.name]=e.value}}))}return r}(g,h),function(e,t,r){var n=c(e).map((function(e,n){return l(e,i(i({},r),{index:n,level:t+1}))})).filter(Boolean);return n.length?n:null}(g.childNodes,m,t));case 3:var b=(null===(r=g.nodeValue)||void 0===r?void 0:r.toString())||"";if(/^\s+$/.test(b)&&!/[\u202F\u00A0]/.test(b))return null;if(!g.parentNode)return b;var y=g.parentNode.nodeName.toLowerCase();return-1!==o.Un.indexOf(y)?(/\S/.test(b)&&console.warn("A textNode is not allowed inside '"+y+"'. Your text \""+b+'" will be ignored'),null):b;case 8:default:return null}}function u(e,t){return void 0===t&&(t={}),"string"==typeof e?function(e,t){if(void 0===t&&(t={}),!e||"string"!=typeof e)return null;var r=t.nodeOnly,n=void 0!==r&&r,o=t.selector,i=void 0===o?"body > *":o,a=t.type,c=void 0===a?"text/html":a;try{var u=(new DOMParser).parseFromString(e,c).querySelector(i);if(!(u instanceof Node))throw new Error("Error parsing input");return n?u:l(u,t)}catch(s){}return null}(e,t):e instanceof Node?l(e,t):null}},8126:function(e,t,r){"use strict";r.d(t,{Q_:function(){return o},Nq:function(){return i},Q6:function(){return a},O1:function(){return c}});var n=r(37941),o={FAILED:"failed",LOADED:"loaded",LOADING:"loading",PENDING:"pending",READY:"ready",UNSUPPORTED:"unsupported"};function i(){return n.canUseDOM}function a(){return function(){if(!document)return!1;var e=document.createElement("div");return e.innerHTML="<svg />",!!e.firstChild&&"http://www.w3.org/2000/svg"===e.firstChild.namespaceURI}()&&"undefined"!=typeof window&&null!==window}function c(e){for(var t,r="abcdefghijklmnopqrstuvwxyz",n=""+r+r.toUpperCase()+"1234567890",o="",i=0;i<e;i++)o+=(t=n)[Math.floor(Math.random()*t.length)];return o}},49092:function(e,t,r){"use strict";var n,o=r(89526),i=r(88041),a=r(8126),c=(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),l=function(){return(l=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r},s=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(c){o={error:c}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},p=function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(s(arguments[t]));return e},d=Object.create(null),f=function(e){function t(t){var r=e.call(this,t)||this;return r.isActive=!1,r.handleCacheQueue=function(e){"string"!=typeof e?r.handleError(e):r.handleLoad(e)},r.handleLoad=function(e){r.isActive&&r.setState({content:e,status:a.Q_.LOADED},r.getElement)},r.handleError=function(e){var t=r.props.onError,n="Browser does not support SVG"===e.message?a.Q_.UNSUPPORTED:a.Q_.FAILED;r.isActive&&r.setState({status:n},(function(){"function"==typeof t&&t(e)}))},r.request=function(){var e=r.props,t=e.cacheRequests,n=e.src;try{return t&&(d[n]={content:"",status:a.Q_.LOADING,queue:[]}),fetch(n).then((function(e){var t=e.headers.get("content-type"),r=s((t||"").split(/ ?; ?/),1)[0];if(e.status>299)throw new Error("Not found");if(!["image/svg+xml","text/plain"].some((function(e){return r.indexOf(e)>=0})))throw new Error("Content type isn't valid: "+r);return e.text()})).then((function(e){if(r.handleLoad(e),t){var o=d[n];o&&(o.content=e,o.status=a.Q_.LOADED,o.queue=o.queue.filter((function(t){return t(e),!1})))}})).catch((function(e){if(r.handleError(e),t){var o=d[n];o&&(o.queue.forEach((function(t){t(e)})),delete d[n])}}))}catch(o){return r.handleError(new Error(o.message))}},r.state={content:"",element:null,hasCache:!!t.cacheRequests&&!!d[t.src],status:a.Q_.PENDING},r.hash=t.uniqueHash||(0,a.O1)(8),r}return c(t,e),t.prototype.componentDidMount=function(){if(this.isActive=!0,(0,a.Nq)()){var e=this.state.status,t=this.props.src;try{if(e===a.Q_.PENDING){if(!(0,a.Q6)())throw new Error("Browser does not support SVG");if(!t)throw new Error("Missing src");this.load()}}catch(r){this.handleError(r)}}},t.prototype.componentDidUpdate=function(e,t){if((0,a.Nq)()){var r=this.state,n=r.hasCache,o=r.status,i=this.props,c=i.onLoad,l=i.src;if(t.status!==a.Q_.READY&&o===a.Q_.READY&&c&&c(l,n),e.src!==l){if(!l)return void this.handleError(new Error("Missing src"));this.load()}}},t.prototype.componentWillUnmount=function(){this.isActive=!1},t.prototype.processSVG=function(){var e=this.state.content,t=this.props.preProcessor;return t?t(e):e},t.prototype.updateSVGAttributes=function(e){var t=this,r=this.props,n=r.baseURL,o=void 0===n?"":n,i=r.uniquifyIDs,a=["id","href","xlink:href","xlink:role","xlink:arcrole"],c=["href","xlink:href"];return i?(p(e.children).map((function(e){if(e.attributes&&e.attributes.length){var r=Object.values(e.attributes).map((function(e){var r=e,n=e.value.match(/url\((.*?)\)/);return n&&n[1]&&(r.value=e.value.replace(n[0],"url("+o+n[1]+"__"+t.hash+")")),r}));a.forEach((function(e){var n,o,i=r.find((function(t){return t.name===e}));!i||(n=e,o=i.value,c.indexOf(n)>=0&&o&&o.indexOf("#")<0)||(i.value=i.value+"__"+t.hash)}))}return e.children.length?t.updateSVGAttributes(e):e})),e):e},t.prototype.getNode=function(){var e=this.props,t=e.description,r=e.title;try{var n=this.processSVG(),o=(0,i.ZP)(n,{nodeOnly:!0});if(!(o&&o instanceof SVGSVGElement))throw new Error("Could not convert the src to a DOM Node");var a=this.updateSVGAttributes(o);if(t){var c=a.querySelector("desc");c&&c.parentNode&&c.parentNode.removeChild(c);var l=document.createElement("desc");l.innerHTML=t,a.prepend(l)}if(r){var u=a.querySelector("title");u&&u.parentNode&&u.parentNode.removeChild(u);var s=document.createElement("title");s.innerHTML=r,a.prepend(s)}return a}catch(p){return this.handleError(p)}},t.prototype.getElement=function(){try{var e=this.getNode(),t=(0,i.ZP)(e);if(!t||!o.isValidElement(t))throw new Error("Could not convert the src to a React element");this.setState({element:t,status:a.Q_.READY})}catch(r){this.handleError(new Error(r.message))}},t.prototype.load=function(){var e=this;this.isActive&&this.setState({content:"",element:null,status:a.Q_.LOADING},(function(){var t=e.props,r=t.cacheRequests,n=t.src,o=r&&d[n];if(o)o.status===a.Q_.LOADING?o.queue.push(e.handleCacheQueue):o.status===a.Q_.LOADED&&e.handleLoad(o.content);else{var i,c=n.match(/data:image\/svg[^,]*?(;base64)?,(.*)/);c?i=c[1]?atob(c[2]):decodeURIComponent(c[2]):n.indexOf("<svg")>=0&&(i=n),i?e.handleLoad(i):e.request()}}))},t.prototype.render=function(){var e=this.state,t=e.element,r=e.status,n=this.props,i=(n.baseURL,n.cacheRequests,n.children),c=void 0===i?null:i,s=(n.description,n.innerRef),p=n.loader,d=void 0===p?null:p,f=(n.onError,n.onLoad,n.preProcessor,n.src,n.title,n.uniqueHash,n.uniquifyIDs,u(n,["baseURL","cacheRequests","children","description","innerRef","loader","onError","onLoad","preProcessor","src","title","uniqueHash","uniquifyIDs"]));return(0,a.Nq)()?t?o.cloneElement(t,l({ref:s},f)):[a.Q_.UNSUPPORTED,a.Q_.FAILED].indexOf(r)>-1?c:d:d},t.defaultProps={cacheRequests:!0,uniquifyIDs:!1},t}(o.PureComponent);t.Z=f},24821:function(e,t){"use strict";
|
37 |
/** @license React v16.8.3
|
38 |
* react-is.production.min.js
|
39 |
*
|
41 |
*
|
42 |
* This source code is licensed under the MIT license found in the
|
43 |
* LICENSE file in the root directory of this source tree.
|
44 |
+
*/Object.defineProperty(t,"__esModule",{value:!0});var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case p:case i:case c:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case g:case m:case o:return t}}}function v(e){return h(e)===p}t.typeOf=h,t.AsyncMode=s,t.ConcurrentMode=p,t.ContextConsumer=u,t.ContextProvider=l,t.Element=n,t.ForwardRef=d,t.Fragment=i,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=c,t.StrictMode=a,t.Suspense=f,t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===a||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isAsyncMode=function(e){return v(e)||h(e)===s},t.isConcurrentMode=v,t.isContextConsumer=function(e){return h(e)===u},t.isContextProvider=function(e){return h(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return h(e)===d},t.isFragment=function(e){return h(e)===i},t.isLazy=function(e){return h(e)===g},t.isMemo=function(e){return h(e)===m},t.isPortal=function(e){return h(e)===o},t.isProfiler=function(e){return h(e)===c},t.isStrictMode=function(e){return h(e)===a},t.isSuspense=function(e){return h(e)===f}},338:function(e,t,r){"use strict";e.exports=r(24821)},565:function(e,t,r){"use strict";r.d(t,{UT:function(){return s},OL:function(){return y}});var n=r(59934),o=r(24776),i=r(89526),a=r(88824),c=(r(2652),r(64797)),l=r(28933),u=r(53499);i.Component;var s=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),o=0;o<r;o++)n[o]=arguments[o];return(t=e.call.apply(e,[this].concat(n))||this).history=(0,a.q_)(t.props),t}return(0,o.Z)(t,e),t.prototype.render=function(){return i.createElement(n.F0,{history:this.history,children:this.props.children})},t}(i.Component);var p=function(e,t){return"function"==typeof e?e(t):e},d=function(e,t){return"string"==typeof e?(0,a.ob)(e,null,null,t):e},f=function(e){return e},m=i.forwardRef;void 0===m&&(m=f);var g=m((function(e,t){var r=e.innerRef,n=e.navigate,o=e.onClick,a=(0,l.Z)(e,["innerRef","navigate","onClick"]),u=a.target,s=(0,c.Z)({},a,{onClick:function(e){try{o&&o(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||u&&"_self"!==u||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),n())}});return s.ref=f!==m&&t||r,i.createElement("a",s)}));var h=m((function(e,t){var r=e.component,o=void 0===r?g:r,a=e.replace,s=e.to,h=e.innerRef,v=(0,l.Z)(e,["component","replace","to","innerRef"]);return i.createElement(n.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=e.history,n=d(p(s,e.location),e.location),l=n?r.createHref(n):"",g=(0,c.Z)({},v,{href:l,navigate:function(){var t=p(s,e.location);(a?r.replace:r.push)(t)}});return f!==m?g.ref=t||h:g.innerRef=h,i.createElement(o,g)}))})),v=function(e){return e},b=i.forwardRef;void 0===b&&(b=v);var y=b((function(e,t){var r=e["aria-current"],o=void 0===r?"page":r,a=e.activeClassName,s=void 0===a?"active":a,f=e.activeStyle,m=e.className,g=e.exact,y=e.isActive,w=e.location,I=e.sensitive,S=e.strict,E=e.style,x=e.to,D=e.innerRef,T=(0,l.Z)(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return i.createElement(n.s6.Consumer,null,(function(e){e||(0,u.Z)(!1);var r=w||e.location,a=d(p(x,r),r),l=a.pathname,M=l&&l.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),P=M?(0,n.LX)(r.pathname,{path:M,exact:g,sensitive:I,strict:S}):null,C=!!(y?y(P,r):P),N=C?function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter((function(e){return e})).join(" ")}(m,s):m,L=C?(0,c.Z)({},E,{},f):E,j=(0,c.Z)({"aria-current":C&&o||null,className:N,style:L,to:a},T);return v!==b?j.ref=t||D:j.innerRef=D,i.createElement(h,j)}))}))},64797:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},24776:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},28933:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},59934:function(e,t,r){"use strict";r.d(t,{AW:function(){return w},F0:function(){return h},rs:function(){return T},s6:function(){return g},LX:function(){return y},EN:function(){return M}});var n=r(73097),o=r(89526),i=(r(2652),r(88824)),a=r(47905),c=r(53499),l=r(86536),u=r(39455),s=r.n(u),p=(r(338),r(63022)),d=r(41281),f=r.n(d),m=function(e){var t=(0,a.Z)();return t.displayName=e,t}("Router-History"),g=function(e){var t=(0,a.Z)();return t.displayName=e,t}("Router"),h=function(e){function t(t){var r;return(r=e.call(this,t)||this).state={location:t.history.location},r._isMounted=!1,r._pendingLocation=null,t.staticContext||(r.unlisten=t.history.listen((function(e){r._isMounted?r.setState({location:e}):r._pendingLocation=e}))),r}(0,n.Z)(t,e),t.computeRootMatch=function(e){return{path:"/",url:"/",params:{},isExact:"/"===e}};var r=t.prototype;return r.componentDidMount=function(){this._isMounted=!0,this._pendingLocation&&this.setState({location:this._pendingLocation})},r.componentWillUnmount=function(){this.unlisten&&this.unlisten()},r.render=function(){return o.createElement(g.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},o.createElement(m.Provider,{children:this.props.children||null,value:this.props.history}))},t}(o.Component);o.Component;o.Component;var v={},b=0;function y(e,t){void 0===t&&(t={}),("string"==typeof t||Array.isArray(t))&&(t={path:t});var r=t,n=r.path,o=r.exact,i=void 0!==o&&o,a=r.strict,c=void 0!==a&&a,l=r.sensitive,u=void 0!==l&&l;return[].concat(n).reduce((function(t,r){if(!r&&""!==r)return null;if(t)return t;var n=function(e,t){var r=""+t.end+t.strict+t.sensitive,n=v[r]||(v[r]={});if(n[e])return n[e];var o=[],i={regexp:s()(e,o,t),keys:o};return b<1e4&&(n[e]=i,b++),i}(r,{end:i,strict:c,sensitive:u}),o=n.regexp,a=n.keys,l=o.exec(e);if(!l)return null;var p=l[0],d=l.slice(1),f=e===p;return i&&!f?null:{path:r,url:"/"===r&&""===p?"/":p,isExact:f,params:a.reduce((function(e,t,r){return e[t.name]=d[r],e}),{})}}),null)}var w=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(g.Consumer,null,(function(t){t||(0,c.Z)(!1);var r=e.props.location||t.location,n=e.props.computedMatch?e.props.computedMatch:e.props.path?y(r.pathname,e.props):t.match,i=(0,l.Z)({},t,{location:r,match:n}),a=e.props,u=a.children,s=a.component,p=a.render;return Array.isArray(u)&&0===u.length&&(u=null),o.createElement(g.Provider,{value:i},i.match?u?"function"==typeof u?u(i):u:s?o.createElement(s,i):p?p(i):null:"function"==typeof u?u(i):null)}))},t}(o.Component);function I(e){return"/"===e.charAt(0)?e:"/"+e}function S(e,t){if(!e)return t;var r=I(e);return 0!==t.pathname.indexOf(r)?t:(0,l.Z)({},t,{pathname:t.pathname.substr(r.length)})}function E(e){return"string"==typeof e?e:(0,i.Ep)(e)}function x(e){return function(){(0,c.Z)(!1)}}function D(){}o.Component;var T=function(e){function t(){return e.apply(this,arguments)||this}return(0,n.Z)(t,e),t.prototype.render=function(){var e=this;return o.createElement(g.Consumer,null,(function(t){t||(0,c.Z)(!1);var r,n,i=e.props.location||t.location;return o.Children.forEach(e.props.children,(function(e){if(null==n&&o.isValidElement(e)){r=e;var a=e.props.path||e.props.from;n=a?y(i.pathname,(0,l.Z)({},e.props,{path:a})):t.match}})),n?o.cloneElement(r,{location:i,computedMatch:n}):null}))},t}(o.Component);function M(e){var t="withRouter("+(e.displayName||e.name)+")",r=function(t){var r=t.wrappedComponentRef,n=(0,p.Z)(t,["wrappedComponentRef"]);return o.createElement(g.Consumer,null,(function(t){return t||(0,c.Z)(!1),o.createElement(e,(0,l.Z)({},n,t,{ref:r}))}))};return r.displayName=t,r.WrappedComponent=e,f()(r,e)}o.useContext},86536:function(e,t,r){"use strict";function n(){return(n=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)}r.d(t,{Z:function(){return n}})},73097:function(e,t,r){"use strict";function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}r.d(t,{Z:function(){return n}})},63022:function(e,t,r){"use strict";function n(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}r.d(t,{Z:function(){return n}})},45646:function(e,t){"use strict";var r="function"==typeof Symbol&&Symbol.for,n=r?Symbol.for("react.element"):60103,o=r?Symbol.for("react.portal"):60106,i=r?Symbol.for("react.fragment"):60107,a=r?Symbol.for("react.strict_mode"):60108,c=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,u=r?Symbol.for("react.context"):60110,s=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,d=r?Symbol.for("react.forward_ref"):60112,f=r?Symbol.for("react.suspense"):60113,m=r?Symbol.for("react.memo"):60115,g=r?Symbol.for("react.lazy"):60116;function h(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case s:case p:case i:case c:case a:case f:return e;default:switch(e=e&&e.$$typeof){case u:case d:case l:return e;default:return t}}case g:case m:case o:return t}}}function v(e){return h(e)===p}t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===c||e===a||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===l||e.$$typeof===u||e.$$typeof===d)},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}},79370:function(e,t,r){"use strict";e.exports=r(45646)},20877:function(e,t,r){var n;n=function(e,t,r){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=15)}([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=t.Browser={};"undefined"!=typeof window&&(n.SUPPORTED="requestAnimationFrame"in window,n.SUPPORTS_TOUCH="ontouchstart"in window,n.touch=!1,n.dynamicInputDetection=!0,n.iOS=function(){return/iPhone|iPad|iPod/.test(navigator.userAgent)&&!window.MSStream}),t.Store=[],t.Selectors={POPPER:".tippy-popper",TOOLTIP:".tippy-tooltip",CONTENT:".tippy-tooltip-content",CIRCLE:"[x-circle]",ARROW:"[x-arrow]",TOOLTIPPED_EL:"[data-tooltipped]",CONTROLLER:"[data-tippy-controller]"};var o=t.Defaults={html:!1,position:"top",animation:"shift",animateFill:!0,arrow:!1,arrowSize:"regular",delay:0,trigger:"mouseenter focus",duration:350,interactive:!1,interactiveBorder:2,theme:"dark",size:"regular",distance:10,offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,flipDuration:350,sticky:!1,stickyDuration:200,appendTo:function(){return document.body},zIndex:9999,touchHold:!1,performance:!1,dynamicTitle:!1,useContext:!1,reactInstance:void 0,popperOptions:{},open:void 0,onRequestClose:function(){}};t.DefaultsKeys=n.SUPPORTED&&Object.keys(o)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){for(var t=[!1,"webkit"],r=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var o=t[n],i=o?""+o+r:e;if(void 0!==window.document.body.style[i])return i}return null}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.replace(/-.+/,"")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return(Element.prototype.closest||function(e){for(var t=this;t;){if(n.matches.call(t,e))return t;t=t.parentElement}}).call(e,t)};var n=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){window.requestAnimationFrame((function(){setTimeout(e,0)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return{tooltip:e.querySelector(n.Selectors.TOOLTIP),circle:e.querySelector(n.Selectors.CIRCLE),content:e.querySelector(n.Selectors.CONTENT)}};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"visible"===e.style.visibility}},function(e,t,r){"use strict";function n(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),r=t.length;--r>=0&&t.item(r)!==this;);return r>-1}Object.defineProperty(t,"__esModule",{value:!0}),t.matches="undefined"==typeof window?n:Element.prototype.matches||Element.prototype.matchesSelector||Element.prototype.webkitMatchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=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}}(),i=r(13),a=u(i),c=u(r(30)),l=r(0);function u(e){return e&&e.__esModule?e:{default:e}}var s=function(e){return e.stopPropagation()},p={html:null,position:"top",animation:"shift",animateFill:!0,arrow:!1,delay:0,hideDelay:0,trigger:"mouseenter focus",duration:375,hideDuration:375,interactive:!1,interactiveBorder:2,theme:"dark",offset:0,hideOnClick:!0,multiple:!1,followCursor:!1,inertia:!1,popperOptions:{},onShow:function(){},onShown:function(){},onHide:function(){},onHidden:function(){},disabled:!1,arrowSize:"regular",size:"regular",className:"",style:{},distance:10,onRequestClose:function(){},sticky:!1,stickyDuration:200,tag:"div",touchHold:!1,unmountHTMLWhenHide:!1,zIndex:9999},d=Object.keys(p),f=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var r=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.initTippy=r._initTippy.bind(r),r.destroyTippy=r._destroyTippy.bind(r),r.updateTippy=r._updateTippy.bind(r),r.updateReactDom=r._updateReactDom.bind(r),r.showTooltip=r._showTooltip.bind(r),r.hideTooltip=r._hideTooltip.bind(r),r.updateSettings=r._updateSettings.bind(r),r.state={reactDOMValue:null},r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.initTippy()}},{key:"componentWillUnmount",value:function(){"undefined"!=typeof window&&"undefined"!=typeof document&&this.destroyTippy()}},{key:"componentDidUpdate",value:function(e){var t=this;if("undefined"!=typeof window&&"undefined"!=typeof document){if(!1===this.props.disabled&&!0===e.disabled)return this.updateSettings("disabled",!1),this.destroyTippy(),void this.initTippy();if(!0===this.props.disabled&&!1===e.disabled)return this.updateSettings("disabled",!0),void this.destroyTippy();!0!==this.props.open||e.open||(this.updateSettings("open",!0),setTimeout((function(){t.showTooltip()}),0)),!1===this.props.open&&!0===e.open&&(this.updateSettings("open",!1),this.hideTooltip()),this.props.html!==e.html&&this.updateReactDom(),this.props.title!==e.title&&this.updateTippy(),function(e,t){var r=[];return d.forEach((function(n){e[n]!==t[n]&&r.push(n)})),r}(this.props,e).forEach((function(e){t.updateSettings(e,t.props[e])}))}}},{key:"_showTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.show(e,this.props.duration)}}},{key:"_hideTooltip",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.hide(e,this.props.hideDuration)}}},{key:"_updateSettings",value:function(e,t){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var r=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.updateSettings(r,e,t)}}},{key:"_updateReactDom",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){this.updateSettings("reactDOM",this.props.html);var e=this.tippy.getPopperElement(this.tooltipDOM);("visible"===e.style.visibility||this.props.open)&&this.tippy.updateForReact(e,this.props.html)}}},{key:"_updateTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.tippy.update(e)}}},{key:"_initTippy",value:function(){var e=this;"undefined"!=typeof window&&"undefined"!=typeof document&&l.Browser.SUPPORTED&&(this.props.disabled?this.tippy=null:(this.props.title&&this.tooltipDOM.setAttribute("title",this.props.title),this.tippy=(0,c.default)(this.tooltipDOM,{disabled:this.props.disabled,position:this.props.position,animation:this.props.animation,animateFill:this.props.animateFill,arrow:this.props.arrow,arrowSize:this.props.arrowSize,delay:this.props.delay,hideDelay:this.props.hideDelay,trigger:this.props.trigger,duration:this.props.duration,hideDuration:this.props.hideDuration,interactive:this.props.interactive,interactiveBorder:this.props.interactiveBorder,theme:this.props.theme,offset:this.props.offset,hideOnClick:this.props.hideOnClick,multiple:this.props.multiple,size:this.props.size,followCursor:this.props.followCursor,inertia:this.props.inertia,popperOptions:this.props.popperOptions,onShow:this.props.onShow,onShown:this.props.onShown,onHide:this.props.onHide,onHidden:this.props.onHidden,distance:this.props.distance,reactDOM:this.props.html,setReactDOMValue:function(t){return e.setState({reactDOMValue:t})},unmountHTMLWhenHide:this.props.unmountHTMLWhenHide,open:this.props.open,sticky:this.props.sticky,stickyDuration:this.props.stickyDuration,tag:this.props.tag,touchHold:this.props.touchHold,onRequestClose:this.props.onRequestClose,useContext:this.props.useContext,reactInstance:this.props.useContext?this:void 0,performance:!0,html:this.props.rawTemplate?this.props.rawTemplate:void 0,zIndex:this.props.zIndex}),this.props.open&&this.showTooltip()))}},{key:"_destroyTippy",value:function(){if("undefined"!=typeof window&&"undefined"!=typeof document&&this.tippy){var e=this.tippy.getPopperElement(this.tooltipDOM);this.updateSettings("open",!1),this.tippy.hide(e,0),this.tippy.destroy(e),this.tippy=null}}},{key:"render",value:function(){var e=this,t=this.props.tag;return a.default.createElement(a.default.Fragment,null,a.default.createElement(t,{ref:function(t){e.tooltipDOM=t},title:this.props.title,className:this.props.className,tabIndex:this.props.tabIndex,style:n({display:"inline"},this.props.style)},this.props.children),this.state.reactDOMValue&&a.default.createElement("div",{onClick:s,onContextMenu:s,onDoubleClick:s,onDrag:s,onDragEnd:s,onDragEnter:s,onDragExit:s,onDragLeave:s,onDragOver:s,onDragStart:s,onDrop:s,onMouseDown:s,onMouseEnter:s,onMouseLeave:s,onMouseMove:s,onMouseOver:s,onMouseOut:s,onMouseUp:s,onKeyDown:s,onKeyPress:s,onKeyUp:s,onFocus:s,onBlur:s,onChange:s,onInput:s,onInvalid:s,onSubmit:s},this.state.reactDOMValue))}}]),t}(i.Component);f.defaultProps=p,t.default=f},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this,r=(0,i.default)(n.Store,(function(e){return e.el===t}));if(r){var c=r.popper,l=r.settings.offset,u=(0,o.default)(c.getAttribute("x-placement")),s=Math.round(c.offsetWidth/2),p=Math.round(c.offsetHeight/2),d=document.documentElement.offsetWidth||document.body.offsetWidth,f=e.pageX,m=e.pageY,g=void 0,h=void 0;switch(u){case"top":g=f-s+l,h=m-2.25*p;break;case"left":g=f-2*s-10,h=m-p+l;break;case"right":g=f+p,h=m-p+l;break;case"bottom":g=f-s+l,h=m+p/1.5}var v=f+5+s+l>d,b=f-5-s+l<0;"top"!==u&&"bottom"!==u||(v&&(g=d-5-2*s),b&&(g=5)),c.style[(0,a.default)("transform")]="translate3d("+g+"px, "+h+"px, 0)"}};var n=r(0),o=c(r(3)),i=c(r(2)),a=c(r(1));function c(e){return e&&e.__esModule?e:{default:e}}c(r(4))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return-(e-n.Defaults.distance)+"px"};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getAttribute("title");t&&e.setAttribute("data-original-title",t),e.removeAttribute("title")}},function(t,r){t.exports=e},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(r(13)),o=i(r(9));function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t){var r={};for(var n in e)t.indexOf(n)>=0||Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=e[n]);return r}t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return function(r){var i=a(r,[]);return n.default.createElement(o.default,t,n.default.createElement(e,i))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTooltip=t.Tooltip=void 0;var n=i(r(9)),o=i(r(14));function i(e){return e&&e.__esModule?e:{default:e}}t.Tooltip=n.default,t.withTooltip=o.default},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){var e,t=function(){n.Browser.touch=!0,n.Browser.iOS()&&document.body.classList.add("tippy-touch"),n.Browser.dynamicInputDetection&&window.performance&&document.addEventListener("mousemove",r)},r=(e=void 0,function(){var t=performance.now();t-e<20&&(n.Browser.touch=!1,document.removeEventListener("mousemove",r),n.Browser.iOS()||document.body.classList.remove("tippy-touch")),e=t});document.addEventListener("click",(function(e){if(!(e.target instanceof Element))return(0,o.default)();var t=(0,i.default)(e.target,n.Selectors.TOOLTIPPED_EL),r=(0,i.default)(e.target,n.Selectors.POPPER);if(r){var c=(0,a.default)(n.Store,(function(e){return e.popper===r}));if(!c)return;if(c.settings.interactive)return}if(t){var l=(0,a.default)(n.Store,(function(e){return e.el===t}));if(!l)return;var u=l.settings,s=u.hideOnClick,p=u.multiple,d=u.trigger;if(!p&&n.Browser.touch||!p&&-1!==d.indexOf("click"))return(0,o.default)(l);if(!0!==s||-1!==d.indexOf("click"))return}!(0,i.default)(e.target,n.Selectors.CONTROLLER)&&document.querySelector(n.Selectors.POPPER)&&(0,o.default)()})),document.addEventListener("touchstart",t),window.addEventListener("blur",(function(e){var t=document.activeElement;t&&t.blur&&c.matches.call(t,n.Selectors.TOOLTIPPED_EL)&&t.blur()})),!n.Browser.SUPPORTS_TOUCH&&(navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0)&&document.addEventListener("pointerdown",t)};var n=r(0),o=l(r(25)),i=l(r(4)),a=l(r(2)),c=r(8);function l(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var i=r.position,a=r.distance,c=r.arrow,l=r.animateFill,u=r.inertia,s=r.animation,p=r.arrowSize,d=r.size,f=r.theme,m=r.html,g=r.zIndex,h=r.interactive,v=document.createElement("div");v.setAttribute("class","tippy-popper"),v.setAttribute("role","tooltip"),v.setAttribute("aria-hidden","true"),v.setAttribute("id","tippy-tooltip-"+e),v.style.zIndex=g;var b=document.createElement("div");if(b.setAttribute("class","tippy-tooltip tippy-tooltip--"+d+" leave"),b.setAttribute("data-animation",s),f.split(" ").forEach((function(e){b.classList.add(e+"-theme")})),c){var y=document.createElement("div");y.setAttribute("class","arrow-"+p),y.setAttribute("x-arrow",""),b.appendChild(y)}if(l){b.setAttribute("data-animatefill","");var w=document.createElement("div");w.setAttribute("class","leave"),w.setAttribute("x-circle",""),b.appendChild(w)}u&&b.setAttribute("data-inertia",""),h&&b.setAttribute("data-interactive","");var I=document.createElement("div");if(I.setAttribute("class","tippy-tooltip-content"),m){var S=void 0;m instanceof Element?(I.appendChild(m),S="#"+m.id||0):(I.innerHTML=document.getElementById(m.replace("#","")).innerHTML,S=m),v.classList.add("html-template"),h&&v.setAttribute("tabindex","-1"),b.setAttribute("data-template-id",S)}else I.innerHTML=t;return b.style[(0,n.default)(i)]=(0,o.default)(a),b.appendChild(I),v.appendChild(b),v};var n=i(r(3)),o=i(r(11));function i(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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};t.default=function(e){var t=e.el,r=e.popper,s=e.settings,p=s.position,d=s.popperOptions,f=s.offset,m=s.distance,g=s.flipDuration,h=(0,l.default)(r).tooltip,v=n({placement:p},d||{},{modifiers:n({},d?d.modifiers:{},{flip:n({padding:m+5},d&&d.modifiers?d.modifiers.flip:{}),offset:n({offset:f},d&&d.modifiers?d.modifiers.offset:{})}),onUpdate:function(){var e=h.style;e.top="",e.bottom="",e.left="",e.right="",e[(0,c.default)(r.getAttribute("x-placement"))]=(0,u.default)(m)}});if(window.MutationObserver){var b=r.style,y=new MutationObserver((function(){b[(0,a.default)("transitionDuration")]="0ms",e.popperInstance.update(),(0,i.default)((function(){b[(0,a.default)("transitionDuration")]=g+"ms"}))}));y.observe(r,{childList:!0,subtree:!0,characterData:!0}),e._mutationObserver=y}return new o.default(t,r,v)};var o=s(r(38)),i=s(r(5)),a=s(r(1)),c=s(r(3)),l=s(r(6)),u=s(r(11));function s(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=this;return e.reduce((function(e,r){var u=s,p=(0,c.default)(t.settings.performance?t.settings:(0,n.default)(r,t.settings)),d=p.html,f=p.reactDOM,m=p.trigger,g=p.touchHold,h=r.getAttribute("title");if(!h&&!d&&!f)return e;r.setAttribute("data-tooltipped",""),r.setAttribute("aria-describedby","tippy-tooltip-"+u),(0,l.default)(r);var v=(0,o.default)(u,h,p),b=a.default.call(t,r,v,p),y=[];return m.trim().split(" ").forEach((function(e){return y=y.concat((0,i.default)(e,r,b,g))})),e.push({id:u,el:r,popper:v,settings:p,listeners:y,tippyInstance:t}),s++,e}),[])};var n=u(r(24)),o=u(r(17)),i=u(r(20)),a=u(r(23)),c=u(r(21)),l=u(r(12));function u(e){return e&&e.__esModule?e:{default:e}}r(0);var s=1},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,o){var i=[];return"manual"===e||(t.addEventListener(e,r.handleTrigger),i.push({event:e,handler:r.handleTrigger}),"mouseenter"===e&&(n.Browser.SUPPORTS_TOUCH&&o&&(t.addEventListener("touchstart",r.handleTrigger),i.push({event:"touchstart",handler:r.handleTrigger}),t.addEventListener("touchend",r.handleMouseleave),i.push({event:"touchend",handler:r.handleMouseleave})),t.addEventListener("mouseleave",r.handleMouseleave),i.push({event:"mouseleave",handler:r.handleMouseleave})),"focus"===e&&(t.addEventListener("blur",r.handleBlur),i.push({event:"blur",handler:r.handleBlur}))),i};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.arrow&&(e.animateFill=!1),e.appendTo&&"function"==typeof e.appendTo&&(e.appendTo=e.appendTo()),e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e instanceof Element?[e]:Array.isArray(e)?e:[].slice.call(document.querySelectorAll(e))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var c=this,l=(r.position,r.delay),u=(r.duration,r.interactive),s=(r.interactiveBorder,r.distance,r.hideOnClick),p=r.trigger,d=r.touchHold,f=void r.touchWait,m=void 0,g=function(){clearTimeout(f),clearTimeout(m)},h=function(){if(g(),!(0,o.default)(t)){var e=Array.isArray(l)?l[0]:l;l?f=setTimeout((function(){return c.show(t)}),e):c.show(t)}},v=function(){g();var e=Array.isArray(l)?l[1]:l;l?m=setTimeout((function(){return c.hide(t)}),e):c.hide(t)};return{handleTrigger:function(r){var i="mouseenter"===r.type&&n.Browser.SUPPORTS_TOUCH&&n.Browser.touch;if(!i||!d){var a="click"===r.type,l="persistent"!==s;a&&(0,o.default)(t)&&l?v():function(e){c.callbacks.wait?c.callbacks.wait.call(t,h,e):h()}(r),i&&n.Browser.iOS()&&e.click&&e.click()}},handleMouseleave:function(o){if(!("mouseleave"===o.type&&n.Browser.SUPPORTS_TOUCH&&n.Browser.touch&&d)){if(u)return document.body.addEventListener("mouseleave",v),void document.addEventListener("mousemove",(function o(c){var l=function(){document.body.removeEventListener("mouseleave",v),document.removeEventListener("mousemove",o),v()},u=(0,i.default)(c.target,n.Selectors.TOOLTIPPED_EL),s=(0,i.default)(c.target,n.Selectors.POPPER)===t,d=u===e,f=-1!==p.indexOf("click");if(u&&u!==e)return l();s||d||f||(0,a.default)(c,t,r)&&l()}));v()}},handleBlur:function(e){e.relatedTarget&&!n.Browser.touch&&((0,i.default)(e.relatedTarget,n.Selectors.POPPER)||v())}}};var n=r(0),o=c(r(7)),i=c(r(4)),a=c(r(32));function c(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=n.DefaultsKeys.reduce((function(r,n){var o=e.getAttribute("data-"+n.toLowerCase())||t[n];return"false"===o&&(o=!1),"true"===o&&(o=!0),isFinite(o)&&!isNaN(parseFloat(o))&&(o=parseFloat(o)),"string"==typeof o&&"["===o.trim().charAt(0)&&(o=JSON.parse(o)),r[n]=o,r}),{});return Object.assign({},t,r)};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){n.Store.forEach((function(t){var r=t.popper,n=t.tippyInstance,o=t.settings,i=o.appendTo,a=o.hideOnClick,c=o.trigger;if(i.contains(r)){var l=!0===a||-1!==c.indexOf("focus"),u=!e||r!==e.popper;l&&u&&(t.settings.onRequestClose(),n.hide(r))}}))};var n=r(0)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(){return!e.done&&(e.done=!0,(0,i.default)(),!0)};var n,o=r(16),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.popper,r=e.popperInstance,a=e.settings.stickyDuration;(0,n.default)((function e(){r&&r.scheduleUpdate(),t.style[(0,o.default)("transitionDuration")]=a+"ms",(0,i.default)(t)?window.requestAnimationFrame(e):t.style[(0,o.default)("transitionDuration")]=""}))};var n=a(r(5)),o=a(r(1)),i=a(r(7));function a(e){return e&&e.__esModule?e:{default:e}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.el,r=e.popper,a=e.settings,c=a.appendTo,l=a.followCursor;c.contains(r)||(c.appendChild(r),e.popperInstance?(e.popperInstance.update(),l&&!n.Browser.touch||e.popperInstance.enableEventListeners()):e.popperInstance=(0,i.default)(e),l&&!n.Browser.touch&&(t.addEventListener("mousemove",o.default),e.popperInstance.disableEventListeners()))};var n=r(0),o=a(r(10)),i=a(r(18));function a(e){return e&&e.__esModule?e:{default:e}}a(r(1))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return r();var n=(0,i.default)(e.popper).tooltip,o=!1,a=function(e){e.target!==n||o||(o=!0,r())};n.addEventListener("webkitTransitionEnd",a),n.addEventListener("transitionend",a),clearTimeout(e._transitionendTimeout),e._transitionendTimeout=setTimeout((function(){o||r()}),t)},r(0);var n,o=r(6),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=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},o=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}}(),i=r(0),a=D(r(39)),c=D(r(26)),l=D(r(5)),u=(D(r(1)),D(r(2))),s=D(r(34)),p=D(r(12)),d=D(r(33)),f=D(r(37)),m=D(r(35)),g=D(r(6)),h=D(r(31)),v=D(r(7)),b=D(r(36)),y=D(r(10)),w=D(r(22)),I=D(r(29)),S=D(r(28)),E=D(r(27)),x=D(r(19));function D(e){return e&&e.__esModule?e:{default:e}}function T(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var M=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};T(this,e),i.Browser.SUPPORTED&&((0,c.default)(),this.state={destroyed:!1},this.selector=t,this.settings=n({},i.Defaults,r),(r.show||r.shown||r.hide||r.hidden)&&console.warn("Callbacks without the `on` prefix are deprecated (with the exception of `wait`). Use onShow, onShown, onHide, and onHidden instead."),this.callbacks={wait:r.wait,show:r.onShow||r.show||b.default,shown:r.onShown||r.shown||b.default,hide:r.onHide||r.hide||b.default,hidden:r.onHidden||r.hidden||b.default},this.store=x.default.call(this,(0,w.default)(t)),i.Store.push.apply(i.Store,this.store))}return o(e,[{key:"getPopperElement",value:function(e){try{return(0,u.default)(this.store,(function(t){return t.el===e})).popper}catch(t){console.error("[getPopperElement]: Element passed as the argument does not exist in the instance")}}},{key:"getReferenceElement",value:function(e){try{return(0,u.default)(this.store,(function(t){return t.popper===e})).el}catch(t){console.error("[getReferenceElement]: Popper passed as the argument does not exist in the instance")}}},{key:"getReferenceData",value:function(e){return(0,u.default)(this.store,(function(t){return t.el===e||t.popper===e}))}},{key:"updateSettings",value:function(e,t,r){var o=(0,u.default)(this.store,(function(t){return t.popper===e}));if(o){var i=n({},o.settings,function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},t,r));o.settings=i}}},{key:"updateForReact",value:function(e,t){var r=e.querySelector(i.Selectors.CONTENT),n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=n.settings,c=o.useContext,l=o.setReactDOMValue;c?l(a.default.createPortal(t,r)):a.default.render(t,r)}}},{key:"show",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=(0,g.default)(e),a=o.tooltip,c=o.circle,s=o.content;if(document.body.contains(n.el)){if(this.callbacks.show.call(e),!n.settings||!1!==n.settings.open){n.settings.reactDOM&&this.updateForReact(e,n.settings.reactDOM);var d=n.el,b=n.settings,y=(b.appendTo,b.sticky),w=b.interactive,x=b.followCursor,D=b.flipDuration,T=b.duration;if(b.dynamicTitle){var M=d.getAttribute("title");M&&(s.innerHTML=M,(0,p.default)(d))}var P=void 0!==t?t:Array.isArray(T)?T[0]:T;(0,h.default)([e,a,c],0),(0,S.default)(n),e.style.visibility="visible",e.setAttribute("aria-hidden","false"),(0,l.default)((function(){x&&!i.Browser.touch||(n.popperInstance.update(),(0,h.default)([e],D)),(0,h.default)([a,c],P),c&&(s.style.opacity=1),w&&d.classList.add("active"),y&&(0,E.default)(n),(0,f.default)(a,c),(0,m.default)([a,c],(function(e){e.contains("tippy-notransition")&&e.remove("tippy-notransition"),e.remove("leave"),e.add("enter")})),(0,I.default)(n,P,(function(){(0,v.default)(e)&&!n._onShownFired&&(w&&e.focus(),a.classList.add("tippy-notransition"),n._onShownFired=!0,r.callbacks.shown.call(e))}))}))}}else this.destroy(e)}}}},{key:"hide",value:function(e,t){var r=this;if(!this.state.destroyed){this.callbacks.hide.call(e);var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=(0,g.default)(e),i=o.tooltip,c=o.circle,l=o.content;if(!1!==n.settings.disabled||!n||!n.settings.open){var s=n&&n.settings&&n.settings.unmountHTMLWhenHide&&n.settings.reactDOM,p=n.el,f=n.settings,b=f.appendTo,w=(f.sticky,f.interactive),S=(f.followCursor,f.html),E=f.trigger,x=f.duration,D=void 0!==t?t:Array.isArray(x)?x[1]:x;n._onShownFired=!1,w&&p.classList.remove("active"),e.style.visibility="hidden",e.setAttribute("aria-hidden","true"),(0,h.default)([i,c,c?l:null],D),c&&(l.style.opacity=0),(0,m.default)([i,c],(function(e){e.contains("tippy-tooltip")&&e.remove("tippy-notransition"),e.remove("enter"),e.add("leave")})),S&&-1!==E.indexOf("click")&&(0,d.default)(p)&&p.focus(),(0,I.default)(n,D,(function(){!(0,v.default)(e)&&b.contains(e)&&"1"!==getComputedStyle(i).opacity&&(p.removeEventListener("mousemove",y.default),n.popperInstance.disableEventListeners(),b.removeChild(e),r.callbacks.hidden.call(e),s&&a.default.unmountComponentAtNode(l))}))}}}}},{key:"update",value:function(e){if(!this.state.destroyed){var t=(0,u.default)(this.store,(function(t){return t.popper===e}));if(t){var r=(0,g.default)(e).content,n=t.el,o=t.settings.html;o instanceof Element?console.warn("Aborted: update() should not be used if `html` is a DOM element"):(r.innerHTML=o?document.getElementById(o.replace("#","")).innerHTML:n.getAttribute("title")||n.getAttribute("data-original-title"),o||(0,p.default)(n))}}}},{key:"destroy",value:function(e,t){var r=this;if(!this.state.destroyed){var n=(0,u.default)(this.store,(function(t){return t.popper===e}));if(n){var o=n.el,a=n.popperInstance,c=n.listeners,l=n._mutationObserver;(0,v.default)(e)&&this.hide(e,0),c.forEach((function(e){return o.removeEventListener(e.event,e.handler)})),o.setAttribute("title",o.getAttribute("data-original-title")),o.removeAttribute("data-original-title"),o.removeAttribute("data-tooltipped"),o.removeAttribute("aria-describedby"),a&&a.destroy(),l&&l.disconnect(),i.Store.splice((0,s.default)(i.Store,(function(t){return t.popper===e})),1),(void 0===t||t)&&(this.store=i.Store.filter((function(e){return e.tippyInstance===r})))}}}},{key:"destroyAll",value:function(){var e=this;if(!this.state.destroyed){var t=this.store.length;this.store.forEach((function(r,n){var o=r.popper;e.destroy(o,n===t-1)})),this.store=null,this.state.destroyed=!0}}}]),e}();function P(e,t){return new M(e,t)}P.Browser=i.Browser,P.Defaults=i.Defaults,P.disableDynamicInputDetection=function(){return i.Browser.dynamicInputDetection=!1},P.enableDynamicInputDetection=function(){return i.Browser.dynamicInputDetection=!0},t.default=P},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach((function(e){if(e){var r=c.matches.call(e,o.Selectors.CONTENT)?Math.round(t/1.3):t;e.style[(0,a.default)("transitionDuration")]=r+"ms"}}))};var n,o=r(0),i=r(1),a=(n=i)&&n.__esModule?n:{default:n},c=r(8)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t.getAttribute("x-placement"))return!0;var n=e.clientX,o=e.clientY,a=r.interactiveBorder,c=r.distance,l=t.getBoundingClientRect(),u=(0,i.default)(t.getAttribute("x-placement")),s=a+c,p={top:l.top-o>a,bottom:o-l.bottom>a,left:l.left-n>a,right:n-l.right>a};switch(u){case"top":p.top=l.top-o>s;break;case"bottom":p.bottom=o-l.bottom>s;break;case"left":p.left=l.left-n>s;break;case"right":p.right=n-l.right>s}return p.top||p.bottom||p.left||p.right};var n,o=r(3),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=e.getBoundingClientRect();return t.top>=0&&t.left>=0&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)&&t.right<=(window.innerWidth||document.documentElement.clientWidth)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return Array.prototype.findIndex?e.findIndex(t):e.indexOf((0,i.default)(e,t))};var n,o=r(2),i=(n=o)&&n.__esModule?n:{default:n}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.forEach((function(e){e&&t(e.classList)}))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){t?window.getComputedStyle(t)[(0,i.default)("transform")]:window.getComputedStyle(e).opacity};var n,o=r(1),i=(n=o)&&n.__esModule?n:{default:n}},function(e,r){e.exports=t},function(e,t){e.exports=r}])},e.exports=n(r(89526),r(65276),r(73961))},51874:function(e,t){"use strict";function r(e){return"/"===e.charAt(0)}function n(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}t.Z=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",o=e&&e.split("/")||[],i=t&&t.split("/")||[],a=e&&r(e),c=t&&r(t),l=a||c;if(e&&r(e)?i=o:o.length&&(i.pop(),i=i.concat(o)),!i.length)return"/";var u=void 0;if(i.length){var s=i[i.length-1];u="."===s||".."===s||""===s}else u=!1;for(var p=0,d=i.length;d>=0;d--){var f=i[d];"."===f?n(i,d):".."===f?(n(i,d),p++):p&&(n(i,d),p--)}if(!l)for(;p--;p)i.unshift("..");!l||""===i[0]||i[0]&&r(i[0])||i.unshift("");var m=i.join("/");return u&&"/"!==m.substr(-1)&&(m+="/"),m}},53499:function(e,t){"use strict";var r="Invariant failed";t.Z=function(e,t){if(!e)throw new Error(r)}},12817:function(e){e.exports=function(){var e=document.getSelection();if(!e.rangeCount)return function(){};for(var t=document.activeElement,r=[],n=0;n<e.rangeCount;n++)r.push(e.getRangeAt(n));switch(t.tagName.toUpperCase()){case"INPUT":case"TEXTAREA":t.blur();break;default:t=null}return e.removeAllRanges(),function(){"Caret"===e.type&&e.removeAllRanges(),e.rangeCount||r.forEach((function(t){e.addRange(t)})),t&&t.focus()}}},58872:function(e,t){"use strict";var r="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};t.Z=function e(t,n){if(t===n)return!0;if(null==t||null==n)return!1;if(Array.isArray(t))return Array.isArray(n)&&t.length===n.length&&t.every((function(t,r){return e(t,n[r])}));var o=void 0===t?"undefined":r(t);if(o!==(void 0===n?"undefined":r(n)))return!1;if("object"===o){var i=t.valueOf(),a=n.valueOf();if(i!==t||a!==n)return e(i,a);var c=Object.keys(t),l=Object.keys(n);return c.length===l.length&&c.every((function(r){return e(t[r],n[r])}))}return!1}}},0,[[85806,669]]]);
|
dist/admin-modal.css
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
.wprm-admin-modal-overlay{position:fixed;top:0px;left:0px;right:0px;bottom:0px;background-color:rgba(0,0,0,0.7);z-index:99999;display:flex;align-items:center;justify-content:center}.wprm-admin-modal{box-sizing:border-box;border:1px solid black;background-color:white;border-radius:4px;outline:none;width:90%;height:auto;max-height:95%;display:flex;flex-flow:column nowrap}.wprm-admin-modal *{box-sizing:border-box}.wprm-admin-modal .wprm-admin-modal-header{flex:none;padding:10px;background-color:#23282d;display:flex;justify-content:space-between;align-content:center}.wprm-admin-modal .wprm-admin-modal-header h2{margin:0;color:white}.wprm-admin-modal .wprm-admin-modal-header .wprm-admin-modal-close{margin-bottom:-2px}.wprm-admin-modal .wprm-admin-modal-header .wprm-admin-modal-close svg line{stroke:white}.wprm-admin-modal .wprm-admin-modal-content{flex:1 1 auto;overflow:auto;padding:10px}.wprm-admin-modal .wprm-admin-modal-footer{flex:none;padding:10px;background-color:#23282d;display:flex;justify-content:center;align-items:center}.wprm-admin-modal .wprm-admin-modal-footer a{text-decoration:none}.wprm-admin-modal .wprm-admin-modal-footer a:hover{text-decoration:underline}.wprm-admin-modal .wprm-admin-modal-footer span,.wprm-admin-modal .wprm-admin-modal-footer a{color:white}.wprm-admin-modal .wprm-admin-modal-footer span,.wprm-admin-modal .wprm-admin-modal-footer a,.wprm-admin-modal .wprm-admin-modal-footer .button{margin:0 5px}@media screen and (min-width: 782px){.wprm-admin-modal .wprm-admin-modal-footer{justify-content:flex-end}.wprm-admin-modal .wprm-admin-modal-footer .button:last-child{margin-right:0}}
|
2 |
|
3 |
-
.wprm-admin-modal input[type=checkbox]{border-radius:4px;border-color:#ccc}.wprm-admin-modal input[type=text],.wprm-admin-modal input[type=number],.wprm-admin-modal input[type=url],.wprm-admin-modal input[type=email],.wprm-admin-modal textarea{width:100%;height:auto;border-radius:4px;border-color:#ccc;padding:8px 10px;margin:0}.wprm-admin-modal input[type=text]::placeholder,.wprm-admin-modal input[type=number]::placeholder,.wprm-admin-modal input[type=url]::placeholder,.wprm-admin-modal input[type=email]::placeholder,.wprm-admin-modal textarea::placeholder{color:#444;opacity:0.333}.wprm-admin-modal input[type=text][type=number],.wprm-admin-modal input[type=number][type=number],.wprm-admin-modal input[type=url][type=number],.wprm-admin-modal input[type=email][type=number],.wprm-admin-modal textarea[type=number]{padding-right:5px}.wprm-admin-modal .wprm-admin-modal-field-radio-option{margin-bottom:5px}.wprm-admin-modal .wprm-admin-modal-field-radio-option:first-child{margin-top:8px}.wprm-admin-modal .wprm-admin-modal-field-radio-option input{width:16px;height:16px;margin-top:1px;border-color:#ccc}.wprm-admin-modal .wprm-admin-modal-field-radio-option input:checked:before{margin:3px;width:8px;height:8px}.wprm-admin-modal .wprm-admin-modal-field-radio-option label{font-size:16px;line-height:20px}.wprm-admin-modal .wprm-admin-modal-fields-group{padding-bottom:40px}.wprm-admin-modal .wprm-admin-modal-fields-group-header{text-align:center;font-size:18px;font-weight:300;text-transform:uppercase;color:#999;border-bottom:1px solid #999;margin-bottom:20px;padding-bottom:10px}.wprm-admin-modal .wprm-admin-modal-field-label{font-weight:bold;margin-top:10px;margin-bottom:2px;font-size:14px}.wprm-admin-modal .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-modal .wprm-admin-icon-help svg{width:10px;height:9px;margin-bottom:2px}.wprm-admin-modal .wprm-admin-icon-help:hover{background-color:#444}.wprm-admin-modal .wprm-admin-icon-help:hover svg g,.wprm-admin-modal .wprm-admin-icon-help:hover svg path{fill:white}.wprm-admin-modal .wprm-admin-modal-field{margin-bottom:30px}@media screen and (min-width: 782px){.wprm-admin-modal .wprm-admin-modal-field-radio-option label{font-size:14px;line-height:18px}.wprm-admin-modal .wprm-admin-modal-fields-group-header{text-align:left}.wprm-admin-modal .wprm-admin-modal-fields-group{padding-bottom:50px}.wprm-admin-modal .wprm-admin-modal-fields{padding:0 20px}.wprm-admin-modal .wprm-admin-modal-field-container{display:flex;width:100%}.wprm-admin-modal .wprm-admin-modal-field-label{flex-shrink:0;width:180px;text-align:right;padding-right:20px}.wprm-admin-modal .wprm-admin-modal-field-container-radio .wprm-admin-modal-field-label{margin-top:2px}.wprm-admin-modal .wprm-admin-modal-field{flex:auto;margin-bottom:15px}}
|
4 |
|
5 |
.wprm-error-boundary{overflow:scroll;margin:10px;padding:0 10px;border:1px dashed darkred;border-radius:4px}.wprm-error-boundary strong{color:darkred}.wprm-error-boundary pre{white-space:pre-wrap}
|
6 |
|
@@ -34,7 +34,7 @@
|
|
34 |
|
35 |
.wprm-admin-modal-field-edit-mode-container{margin-top:-10px;margin-bottom:20px;font-size:14px}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode{display:block;margin:5px;text-align:center;text-decoration:none;opacity:0.7}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode:hover,.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{opacity:1;text-decoration:underline}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{font-weight:bold}@media screen and (min-width: 500px){.wprm-admin-modal-field-edit-mode-container{display:flex;align-items:center;justify-content:space-between}}@media screen and (min-width: 782px){.wprm-admin-modal-field-edit-mode-container{margin-top:0;justify-content:flex-start;border-bottom:1px solid #999}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode{padding:5px 10px 3px;margin-top:0;margin-bottom:-1px}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode:hover,.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{text-decoration:none}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{border:1px solid #999;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-color:white}}
|
36 |
|
37 |
-
.wprm-admin-modal-field-ingredient-unit-conversion-systems{display:flex;flex-wrap:wrap;font-size:14px;margin-bottom:25px}.wprm-admin-modal-field-ingredient-unit-conversion-systems strong{flex:0 0 100%}.wprm-admin-modal-field-ingredient-unit-conversion-systems a{margin:0 5px;text-decoration:none}.wprm-admin-modal-field-ingredient-unit-conversion-systems a:first-child{margin-left:0}.wprm-admin-modal-field-ingredient-unit-conversion-container button{margin:10px 0 0 3px !important}.wprm-admin-modal-field-ingredient-unit-conversion{width:100%}.wprm-admin-modal-field-ingredient-unit-conversion thead{display:none}.wprm-admin-modal-field-ingredient-unit-conversion tr{display:block;margin-bottom:10px}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{display:block}.wprm-admin-modal-field-ingredient-unit-conversion tr td:nth-child(2){width:175px}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields{display:flex;align-items:center}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext:nth-child(1),.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext-legacy:nth-child(1){flex:0 0 75px;margin-right:5px}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext:nth-child(2),.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext-legacy:nth-child(2){flex:0 0 90px}.wprm-admin-modal-field-ingredient-unit-conversion-item{margin:5px 0;font-size:14px}.wprm-admin-modal-field-ingredient-unit-conversion-item strong{display:block;margin-top:20px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:20px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient .wprm-admin-modal-field-ingredient-unit-conversion-ingredient-system-1{margin-right:10px;flex:0 0 100px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient .wprm-admin-modal-field-ingredient-unit-conversion-ingredient-system-2{margin:0 10px}@media screen and (min-width: 500px){.wprm-admin-modal-field-ingredient-unit-conversion thead{display:table-header-group}.wprm-admin-modal-field-ingredient-unit-conversion thead th{text-align:left}.wprm-admin-modal-field-ingredient-unit-conversion tr{display:table-row;margin-bottom:0}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{display:table-cell;width:155px}}@media screen and (min-width: 782px){.wprm-admin-modal-field-ingredient-unit-conversion-systems strong{flex:none}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{width:175px}.wprm-admin-modal-field-ingredient-unit-conversion tr td:nth-child(2){width:195px}}
|
38 |
|
39 |
.wprm-admin-modal-field-equipment,.wprm-admin-modal-field-equipment-group{margin-bottom:5px;background-color:white}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container{display:flex;flex:auto;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle{flex-shrink:0}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle .wprm-admin-icon,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle .wprm-admin-icon{margin:0 5px;cursor:move}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container{flex:auto;display:flex;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-icon{flex-shrink:0;margin:0 5px;cursor:move}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-modal-field-richtext,.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-modal-field-richtext-legacy{flex:auto}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{display:flex;flex-direction:row-reverse;justify-content:space-between}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons{flex-shrink:0;margin:5px}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons .wprm-admin-icon{margin-right:5px}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons .wprm-admin-icon:last-child{margin-right:0}.wprm-admin-modal-field-equipment-actions{margin-left:26px;margin-top:10px}.wprm-admin-modal-field-equipment-actions .button{margin-top:5px;margin-right:5px}.wprm-admin-modal-field-equipment-actions p{font-style:italic}@media screen and (min-width: 782px){.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container{flex:0 0 68%}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{flex:auto}.wprm-admin-modal-field-equipment{display:flex;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{flex-direction:row;flex-wrap:wrap;align-items:center}}
|
40 |
|
1 |
.wprm-admin-modal-overlay{position:fixed;top:0px;left:0px;right:0px;bottom:0px;background-color:rgba(0,0,0,0.7);z-index:99999;display:flex;align-items:center;justify-content:center}.wprm-admin-modal{box-sizing:border-box;border:1px solid black;background-color:white;border-radius:4px;outline:none;width:90%;height:auto;max-height:95%;display:flex;flex-flow:column nowrap}.wprm-admin-modal *{box-sizing:border-box}.wprm-admin-modal .wprm-admin-modal-header{flex:none;padding:10px;background-color:#23282d;display:flex;justify-content:space-between;align-content:center}.wprm-admin-modal .wprm-admin-modal-header h2{margin:0;color:white}.wprm-admin-modal .wprm-admin-modal-header .wprm-admin-modal-close{margin-bottom:-2px}.wprm-admin-modal .wprm-admin-modal-header .wprm-admin-modal-close svg line{stroke:white}.wprm-admin-modal .wprm-admin-modal-content{flex:1 1 auto;overflow:auto;padding:10px}.wprm-admin-modal .wprm-admin-modal-footer{flex:none;padding:10px;background-color:#23282d;display:flex;justify-content:center;align-items:center}.wprm-admin-modal .wprm-admin-modal-footer a{text-decoration:none}.wprm-admin-modal .wprm-admin-modal-footer a:hover{text-decoration:underline}.wprm-admin-modal .wprm-admin-modal-footer span,.wprm-admin-modal .wprm-admin-modal-footer a{color:white}.wprm-admin-modal .wprm-admin-modal-footer span,.wprm-admin-modal .wprm-admin-modal-footer a,.wprm-admin-modal .wprm-admin-modal-footer .button{margin:0 5px}@media screen and (min-width: 782px){.wprm-admin-modal .wprm-admin-modal-footer{justify-content:flex-end}.wprm-admin-modal .wprm-admin-modal-footer .button:last-child{margin-right:0}}
|
2 |
|
3 |
+
.wprm-admin-modal input[type=checkbox]{border-radius:4px;border-color:#ccc}.wprm-admin-modal input[type=text],.wprm-admin-modal input[type=number],.wprm-admin-modal input[type=url],.wprm-admin-modal input[type=email],.wprm-admin-modal textarea{width:100%;height:auto;border-radius:4px;border-color:#ccc;padding:8px 10px;margin:0}.wprm-admin-modal input[type=text]::placeholder,.wprm-admin-modal input[type=number]::placeholder,.wprm-admin-modal input[type=url]::placeholder,.wprm-admin-modal input[type=email]::placeholder,.wprm-admin-modal textarea::placeholder{color:#444;opacity:0.333}.wprm-admin-modal input[type=text][type=number],.wprm-admin-modal input[type=number][type=number],.wprm-admin-modal input[type=url][type=number],.wprm-admin-modal input[type=email][type=number],.wprm-admin-modal textarea[type=number]{padding-right:5px}.wprm-admin-modal .wprm-admin-modal-field-checkbox{margin-top:10px}.wprm-admin-modal .wprm-admin-modal-field-radio-option{margin-bottom:5px}.wprm-admin-modal .wprm-admin-modal-field-radio-option:first-child{margin-top:8px}.wprm-admin-modal .wprm-admin-modal-field-radio-option input{width:16px;height:16px;margin-top:1px;border-color:#ccc}.wprm-admin-modal .wprm-admin-modal-field-radio-option input:checked:before{margin:3px;width:8px;height:8px}.wprm-admin-modal .wprm-admin-modal-field-radio-option label{font-size:16px;line-height:20px}.wprm-admin-modal .wprm-admin-modal-fields-group{padding-bottom:40px}.wprm-admin-modal .wprm-admin-modal-fields-group-header{text-align:center;font-size:18px;font-weight:300;text-transform:uppercase;color:#999;border-bottom:1px solid #999;margin-bottom:20px;padding-bottom:10px}.wprm-admin-modal .wprm-admin-modal-field-label{font-weight:bold;margin-top:10px;margin-bottom:2px;font-size:14px}.wprm-admin-modal .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-modal .wprm-admin-icon-help svg{width:10px;height:9px;margin-bottom:2px}.wprm-admin-modal .wprm-admin-icon-help:hover{background-color:#444}.wprm-admin-modal .wprm-admin-icon-help:hover svg g,.wprm-admin-modal .wprm-admin-icon-help:hover svg path{fill:white}.wprm-admin-modal .wprm-admin-modal-field{margin-bottom:30px}@media screen and (min-width: 782px){.wprm-admin-modal .wprm-admin-modal-field-radio-option label{font-size:14px;line-height:18px}.wprm-admin-modal .wprm-admin-modal-fields-group-header{text-align:left}.wprm-admin-modal .wprm-admin-modal-fields-group{padding-bottom:50px}.wprm-admin-modal .wprm-admin-modal-fields{padding:0 20px}.wprm-admin-modal .wprm-admin-modal-field-container{display:flex;width:100%}.wprm-admin-modal .wprm-admin-modal-field-label{flex-shrink:0;width:180px;text-align:right;padding-right:20px}.wprm-admin-modal .wprm-admin-modal-field-container-radio .wprm-admin-modal-field-label{margin-top:2px}.wprm-admin-modal .wprm-admin-modal-field{flex:auto;margin-bottom:15px}}
|
4 |
|
5 |
.wprm-error-boundary{overflow:scroll;margin:10px;padding:0 10px;border:1px dashed darkred;border-radius:4px}.wprm-error-boundary strong{color:darkred}.wprm-error-boundary pre{white-space:pre-wrap}
|
6 |
|
34 |
|
35 |
.wprm-admin-modal-field-edit-mode-container{margin-top:-10px;margin-bottom:20px;font-size:14px}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode{display:block;margin:5px;text-align:center;text-decoration:none;opacity:0.7}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode:hover,.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{opacity:1;text-decoration:underline}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{font-weight:bold}@media screen and (min-width: 500px){.wprm-admin-modal-field-edit-mode-container{display:flex;align-items:center;justify-content:space-between}}@media screen and (min-width: 782px){.wprm-admin-modal-field-edit-mode-container{margin-top:0;justify-content:flex-start;border-bottom:1px solid #999}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode{padding:5px 10px 3px;margin-top:0;margin-bottom:-1px}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode:hover,.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{text-decoration:none}.wprm-admin-modal-field-edit-mode-container .wprm-admin-modal-field-edit-mode.wprm-admin-modal-field-edit-mode-selected{border:1px solid #999;border-top-left-radius:4px;border-top-right-radius:4px;border-bottom-color:white}}
|
36 |
|
37 |
+
.wprm-admin-modal-field-ingredient-unit-conversion-systems{display:flex;flex-wrap:wrap;font-size:14px;margin-bottom:25px}.wprm-admin-modal-field-ingredient-unit-conversion-systems strong{flex:0 0 100%}.wprm-admin-modal-field-ingredient-unit-conversion-systems a{margin:0 5px;text-decoration:none}.wprm-admin-modal-field-ingredient-unit-conversion-systems a:first-child{margin-left:0}.wprm-admin-modal-field-ingredient-unit-conversion-container button{margin:10px 0 0 3px !important}.wprm-admin-modal-field-ingredient-unit-conversion-system{margin-bottom:15px}.wprm-admin-modal-field-ingredient-unit-conversion-system label{font-weight:bold;display:block;margin-bottom:5px}.wprm-admin-modal-field-ingredient-unit-conversion{width:100%}.wprm-admin-modal-field-ingredient-unit-conversion thead{display:none}.wprm-admin-modal-field-ingredient-unit-conversion tr{display:block;margin-bottom:10px}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{display:block}.wprm-admin-modal-field-ingredient-unit-conversion tr td:nth-child(2){width:175px}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields{display:flex;align-items:center}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext:nth-child(1),.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext-legacy:nth-child(1){flex:0 0 75px;margin-right:5px}.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext:nth-child(2),.wprm-admin-modal-field-ingredient-unit-conversion tr .wprm-admin-modal-field-ingredient-unit-conversion-fields .wprm-admin-modal-field-richtext-legacy:nth-child(2){flex:0 0 90px}.wprm-admin-modal-field-ingredient-unit-conversion-item{margin:5px 0;font-size:14px}.wprm-admin-modal-field-ingredient-unit-conversion-item strong{display:block;margin-top:20px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient{display:flex;flex-wrap:wrap;align-items:center;margin-bottom:20px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient .wprm-admin-modal-field-ingredient-unit-conversion-ingredient-system-1{margin-right:10px;flex:0 0 100px}.wprm-admin-modal-field-ingredient-unit-conversion-item .wprm-admin-modal-field-ingredient-unit-conversion-ingredient .wprm-admin-modal-field-ingredient-unit-conversion-ingredient-system-2{margin:0 10px}@media screen and (min-width: 500px){.wprm-admin-modal-field-ingredient-unit-conversion thead{display:table-header-group}.wprm-admin-modal-field-ingredient-unit-conversion thead th{text-align:left}.wprm-admin-modal-field-ingredient-unit-conversion tr{display:table-row;margin-bottom:0}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{display:table-cell;width:155px}}@media screen and (min-width: 782px){.wprm-admin-modal-field-ingredient-unit-conversion-systems strong{flex:none}.wprm-admin-modal-field-ingredient-unit-conversion tr td:first-child{width:175px}.wprm-admin-modal-field-ingredient-unit-conversion tr td:nth-child(2){width:195px}}
|
38 |
|
39 |
.wprm-admin-modal-field-equipment,.wprm-admin-modal-field-equipment-group{margin-bottom:5px;background-color:white}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container{display:flex;flex:auto;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle{flex-shrink:0}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle .wprm-admin-icon,.wprm-admin-modal-field-equipment-group .wprm-admin-modal-field-equipment-main-container .wprm-admin-modal-field-equipment-handle .wprm-admin-icon{margin:0 5px;cursor:move}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container{flex:auto;display:flex;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-icon{flex-shrink:0;margin:0 5px;cursor:move}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-modal-field-richtext,.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-name-container .wprm-admin-modal-field-richtext-legacy{flex:auto}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{display:flex;flex-direction:row-reverse;justify-content:space-between}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons{flex-shrink:0;margin:5px}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons .wprm-admin-icon{margin-right:5px}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container .wprm-admin-modal-field-equipment-after-container-icons .wprm-admin-icon:last-child{margin-right:0}.wprm-admin-modal-field-equipment-actions{margin-left:26px;margin-top:10px}.wprm-admin-modal-field-equipment-actions .button{margin-top:5px;margin-right:5px}.wprm-admin-modal-field-equipment-actions p{font-style:italic}@media screen and (min-width: 782px){.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-main-container{flex:0 0 68%}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{flex:auto}.wprm-admin-modal-field-equipment{display:flex;align-items:center}.wprm-admin-modal-field-equipment .wprm-admin-modal-field-equipment-after-container{flex-direction:row;flex-wrap:wrap;align-items:center}}
|
40 |
|
dist/admin-modal.js
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
-
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-modal"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[97],{5831:function(e,t,n){"use strict";n.d(t,{o:function(){return r},L:function(){return o}});n(12798),n(39275),n(22321),n(67838),n(29897);function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t=parseInt(t);var n=parseFloat(parseFloat(e).toFixed(t));return 0==n&&(n+=Math.pow(10,-1*t)),n}function o(e){e=(e=(e=""+e).replace(",",".")).replace(" to ","-");var t={"¼":" 1/4","½":" 1/2","¾":" 3/4","⅐":" 1/7","⅑":" 1/9","⅒":" 1/10","⅓":" 1/3","⅔":" 2/3","⅕":" 1/5","⅖":" 2/5","⅗":" 3/5","⅘":" 4/5","⅙":" 1/6","⅚":" 5/6","⅛":" 1/8","⅜":" 3/8","⅝":" 5/8","⅞":" 7/8"},n=(e=(e=(e=(e=(e=(e+"").replace(/(\u00BC|\u00BD|\u00BE|\u2150|\u2151|\u2152|\u2153|\u2154|\u2155|\u2156|\u2157|\u2158|\u2159|\u215A|\u215B|\u215C|\u215D|\u215E)/,(function(e,n){return t[n]}))).replace(/(<([^>]+)>)/gi,"")).replace(/(\[([^\]]+)\])/gi,"")).replace(/[^\d\s\.\/-]/gi,"")).trim()).split(" "),r=!1;if(""!==e){r=0;for(var o=0;o<n.length;o++)if(""!==n[o].trim()){var i=n[o].split("/",2),a=parseFloat(i[0]);if(void 0!==i[1]){var s=parseFloat(i[1]);0!==s&&(a/=s)}isNaN(a)||(r+=a)}}return r}},51952:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(26364),n(86632),n(61928),n(54883),n(56908),n(10853),n(54130),n(33290),n(45007),n(68995),n(34823)),a=n.n(i),s=n(48618),u=n(52082),c=(n(55862),n(73214),n(80044),n(37673)),l=n(95075),p=function(e){var t=!1,n=!!e.help&&e.help,r="button";if(e.required&&(!wprm_admin.addons.hasOwnProperty(e.required)||!0!==wprm_admin.addons[e.required]))if(t=!0,"premium"!==e.required){var i=e.required[0].toUpperCase()+e.required.substring(1);n="WP Recipe Maker ".concat(i," Bundle Only")}else n="WP Recipe Maker Premium Only";return e.isPrimary&&(r+=" button-primary"),t&&(r+=" wprm-button-required"),o.createElement(l.Z,{content:n},o.createElement("button",{className:r,tabIndex:e.disableTab?"-1":null,onClick:t?function(){confirm("Want to learn more about the version required for this feature?")&&window.open("https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/","_blank")}:e.onClick},e.children))},d=n(96005),f=n(86605),m=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Actions"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},h=(n(19701),n(61078),n(80238),n(12938),n(6208),n(59905)),g=n(24207);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){var t=!!e.action&&e.action.type,n=[{value:"change-link",label:(0,u.S)("Change Link"),default:""},{value:"change-nofollow",label:(0,u.S)("Change Link Nofollow"),default:"default"},{value:"export",label:(0,u.S)("Export Equipment"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Equipment"),default:!1}];return o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-link"===t&&o.createElement(h.Z,{name:"equipment-link",value:e.action.options,placeholder:(0,u.S)("Equipment Link"),onChange:function(t){var n=b(b({},e.action),{},{options:t});e.onActionChange(n)}}),"change-nofollow"===t&&o.createElement(g.Z,{id:"nofollow",options:wprm_admin_modal.options.equipment_link_nofollow,value:e.action.options,onChange:function(t){var n=b(b({},e.action),{},{options:t});e.onActionChange(n)}}))))};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=!!e.action&&e.action.type,n=[{value:"change-group",label:(0,u.S)("Change Shopping List Group"),default:""},{value:"change-link",label:(0,u.S)("Change Link"),default:""},{value:"change-nofollow",label:(0,u.S)("Change Link Nofollow"),default:"default"},{value:"create-nutrition",label:(0,u.S)("Add as Custom Nutrition Ingredient"),default:!1},{value:"export",label:(0,u.S)("Export Ingredients"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Ingredients"),default:!1}];return o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-group"===t&&o.createElement(h.Z,{name:"shopping-list-group",value:e.action.options,placeholder:(0,u.S)("Shopping List Group"),onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}),"change-link"===t&&o.createElement(h.Z,{name:"ingredient-link",value:e.action.options,placeholder:(0,u.S)("Ingredient Link"),onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}),"change-nofollow"===t&&o.createElement(g.Z,{id:"nofollow",options:wprm_admin_modal.options.ingredient_link_nofollow,value:e.action.options,onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}))))},O=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Ratings"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},C=(n(42900),n(54994),n(43636)),D=n(69347),P=(n(4845),n(18821),n(33130),n(2778)),M=n.n(P),k=n(844),A=(n(12821),n(2652),n(23078)),N=n(24573),j=(n(72144),n(72638),n(6185));function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var L,R,_,F=function(e,t){void 0===e&&(e="");var n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===n||o===n},B=T({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'+e+'"'},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return F(e,t)}))||n.some((function(t){return F(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),Z=(L=N.S,_=R=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).select=void 0,n.onChange=function(e,t){var r=n.props,o=r.getNewOptionData,i=r.inputValue,a=r.isMulti,s=r.onChange,u=r.onCreateOption,c=r.value,l=r.name;if("select-option"!==t.action)return s(e,t);var p=n.state.newOption,d=Array.isArray(e)?e:[e];if(d[d.length-1]!==p)s(e,t);else if(u)u(i);else{var f=o(i,i),m={action:"create-option",name:l};s(a?[].concat((0,A.e)(c),[f]):f,m)}};var r=t.options||[];return n.state={newOption:void 0,options:r},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.UNSAFE_componentWillReceiveProps=function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,o=e.getNewOptionData,i=e.inputValue,a=e.isLoading,s=e.isValidNewOption,u=e.value,c=e.options||[],l=this.state.newOption;l=s(i,(0,A.e)(u),c)?o(i,r(i)):void 0,this.setState({newOption:l,options:!t&&a||!l?c:"first"===n?[l].concat(c):[].concat(c,[l])})},i.focus=function(){this.select.focus()},i.blur=function(){this.select.blur()},i.render=function(){var e=this,t=this.state.options;return o.createElement(L,T({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))},r}(o.Component),R.defaultProps=B,_),H=(0,j.m)(Z);function U(e){return(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})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $(this,n)}}function $(e,t){return!t||"object"!==U(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 ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=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&&X(e,t)}(a,e);var t,n,r,i=K(a);function a(){return Y(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"shouldComponentUpdate",value:function(e){return this.props.id!==e.id||JSON.stringify(this.props.value)!==JSON.stringify(e.value)}},{key:"render",value:function(){var e,t=this,n=wprm_admin_modal.categories[this.props.id].terms,r=[],i=[],a=V(n);try{var s=function(){var n=e.value,o={value:n.term_id,label:M().decode(n.name)};r.push(o),t.props.value.find((function(e){return e.term_id===n.term_id||e.name===n.term_id}))&&i.push(o)};for(a.s();!(e=a.n()).done;)s()}catch(p){a.e(p)}finally{a.f()}var c=this.props.custom?this.props.custom:{},l=this.props.creatable?H:k.ZP;return o.createElement(l,W({isMulti:!0,options:r,value:i,placeholder:this.props.creatable?(0,u.S)("Select from list or type to create..."):(0,u.S)("Select from list..."),onChange:function(e){var n=[];if(e){var r,o=V(e);try{var i=function(){var e=r.value;e.hasOwnProperty("__isNew__")&&e.__isNew__&&wprm_admin_modal.categories[t.props.id].terms.push({term_id:e.label,name:e.label});var o=wprm_admin_modal.categories[t.props.id].terms.find((function(t){return t.term_id===e.value}));o&&n.push(o)};for(o.s();!(r=o.n()).done;)i()}catch(p){o.e(p)}finally{o.f()}}t.props.onChange(n)},styles:{placeholder:function(e){return z(z({},e),{},{color:"#444",opacity:"0.333"})},control:function(e){return z(z({},e),{},{backgroundColor:"white"})},container:function(e){return z(z({},e),{},{width:"100%",maxWidth:t.props.width?t.props.width:"100%"})}}},c))}}])&&Q(t.prototype,n),r&&Q(t,r),a}(o.Component);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ie=function(e){var t=!!e.action&&e.action.type,n=!1,r=[];Object.keys(wprm_admin_manage.taxonomies).map((function(e,t){var o=e.substr(5);n||(n=o),r.push({value:o,label:wprm_admin_manage.taxonomies[e].name})}));var i=[];return 0<r.length&&i.push({value:"add-terms",label:(0,u.S)("Add Terms"),default:{taxonomy:n,terms:[]}},{value:"remove-terms",label:(0,u.S)("Remove Terms"),default:{taxonomy:n,terms:[]}}),i.push({value:"change-type",label:(0,u.S)("Change Recipe Type"),default:"food"},{value:"change-author",label:(0,u.S)("Change Display Author"),default:{author:"default",author_name:"",author_link:""}},{value:"change-servings",label:(0,u.S)("Change Servings"),default:{servings:"",servings_unit:""}},{value:"recalculate-time",label:(0,u.S)("Recalculate Total Time"),default:!1},{value:"print",label:(0,u.S)("Print Recipes"),default:!1},{value:"export",label:(0,u.S)("Export Recipes"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Recipes"),default:!1}),o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},i.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};n.hasOwnProperty("required")&&(t.required=n.required),e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-type"===t&&o.createElement(g.Z,{id:"type",options:[{value:"food",label:(0,u.S)("Food Recipe")},{value:"howto",label:(0,u.S)("How-to Instructions")},{value:"other",label:(0,u.S)("Other (no metadata)")}],value:e.action.options,onChange:function(t){var n=re(re({},e.action),{},{options:t});e.onActionChange(n)}}),"change-author"===t&&o.createElement(o.Fragment,null,o.createElement(D.Z,{options:wprm_admin_modal.options.author.filter((function(e){return"same"!==e.actual})),value:e.action.options.author,onChange:function(t){var n=re(re({},e.action),{},{options:{author:t,author_name:"",author_link:""}});e.onActionChange(n)},width:300,custom:{menuPlacement:"top",maxMenuHeight:150}}),"custom"===wprm_admin_modal.options.author.find((function(t){return t.value===e.action.options.author})).actual&&o.createElement(o.Fragment,null," ",o.createElement(h.Z,{name:"author-name",placeholder:(0,u.S)("Author Name"),value:e.action.options.author_name,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{author_name:t})});e.onActionChange(n)}})," ",o.createElement(h.Z,{name:"author-link",placeholder:"https://bootstrapped.ventures",type:"url",value:e.action.options.author_link,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{author_link:t})});e.onActionChange(n)}}))),"change-servings"===t&&o.createElement(C.Z,{id:"servings"},o.createElement(h.Z,{placeholder:"4",type:"number",value:0!=e.action.options.servings?e.action.options.servings:"",onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{servings:t})});e.onActionChange(n)}}),o.createElement(h.Z,{name:"servings-unit",placeholder:(0,u.S)("people"),value:e.servings_unit,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{servings_unit:t})});e.onActionChange(n)}})),("add-terms"===t||"remove-terms"===t)&&o.createElement(o.Fragment,null,o.createElement(D.Z,{options:r,value:e.action.options.taxonomy,onChange:function(t){var n=re(re({},e.action),{},{options:{taxonomy:t,terms:[]}});e.onActionChange(n)},width:200,custom:{menuPlacement:"top",maxMenuHeight:150}})," ",o.createElement(te,{id:e.action.options.taxonomy,value:e.action.options.terms,onChange:function(t){var n=re(re({},e.action),{},{options:{taxonomy:e.action.options.taxonomy,terms:t}});e.onActionChange(n)},custom:{menuPlacement:"top",maxMenuHeight:200}})))))},ae=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Revisions"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},se=function(e){var t=!!e.action&&e.action.type,n=[{value:"export",label:(0,u.S)("Export Terms"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Terms"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"})))},ue=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Permanently Delete Recipes"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))};function ce(e){return(ce="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 le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=he(e);if(t){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?me(e):t}function me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge={analytics:{label:(0,u.S)("Actions"),elem:m},rating:{label:(0,u.S)("Ratings"),elem:O},recipe:{label:(0,u.S)("Recipes"),elem:ie},revision:{label:(0,u.S)("Revisions"),elem:ae},ingredient:{label:(0,u.S)("Ingredients"),elem:x},equipment:{label:(0,u.S)("Equipment"),elem:w},trash:{label:(0,u.S)("Recipes"),elem:ue},nutrition_ingredient:{label:(0,u.S)("Custom Nutrition Ingredients"),elem:se}};Object.keys(wprm_admin_modal.categories).map((function(e){var t=wprm_admin_modal.categories[e];ge[e]={label:t.label,elem:se}}));var ve=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&&pe(e,t)}(a,e);var t,n,r,i=de(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)).state={route:e.args.hasOwnProperty("route")?e.args.route:"recipe",type:e.args.hasOwnProperty("type")?e.args.type:"recipe",ids:e.args.hasOwnProperty("ids")?e.args.ids:[],action:!1,savingChanges:!1,result:!1},t.onBulkEdit=t.onBulkEdit.bind(me(t)),t.allowCloseModal=t.allowCloseModal.bind(me(t)),t}return t=a,(n=[{key:"onBulkEdit",value:function(){var e=this;this.state.action&&this.setState({savingChanges:!0},(function(){c.Z.manage.bulkEdit(e.state.route,e.state.type,e.state.ids,e.state.action).then((function(t){var n=!1;t.hasOwnProperty("result")&&(n=t.result),e.setState({savingChanges:!1,result:n},(function(){"function"==typeof e.props.args.saveCallback&&e.props.args.saveCallback(),n||e.props.maybeCloseModal()}))}))}))}},{key:"allowCloseModal",value:function(){return!this.state.savingChanges}},{key:"changesMade",value:function(){return!(!this.state.action||!this.state.action.type||Array.isArray(this.state.action.options)&&0===this.state.action.options.length)}},{key:"render",value:function(){var e=this,t=!!ge.hasOwnProperty(this.state.type)&&ge[this.state.type];if(!t)return null;var n=t.elem,r="".concat((0,u.S)("Bulk Edit")," ").concat(this.state.ids.length," ").concat(t.label);return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},r),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-container"},!1===this.state.result?o.createElement(n,{action:this.state.action,onActionChange:function(t){e.setState({action:t})}}):o.createElement("div",{dangerouslySetInnerHTML:{__html:this.state.result}})),o.createElement(f.Z,{savingChanges:this.state.savingChanges},!1===this.state.result?o.createElement(p,{isPrimary:!0,required:this.state.action&&this.state.action.hasOwnProperty("required")?this.state.action.required:null,onClick:this.onBulkEdit,disabled:!this.changesMade()},r):o.createElement(p,{isPrimary:!0,onClick:this.props.maybeCloseModal},(0,u.S)("Close"))))}}])&&le(t.prototype,n),r&&le(t,r),a}(o.Component),be=function(e){return o.createElement("textarea",{value:e.value,placeholder:e.placeholder,onChange:function(t){e.onChange(t.target.value)}})};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 we(e){return function(e){if(Array.isArray(e))return Ee(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 Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(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 Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ce(e);if(t){var o=Ce(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){return!t||"object"!==ye(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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var De=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&&Ie(e,t)}(a,e);var t,n,r,i=xe(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)).state={fields:e.args.fields},t}return t=a,(n=[{key:"render",value:function(){var e=this;return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},this.props.args.header),o.createElement("div",{className:"wprm-admin-modal-input-fields-container"},this.state.fields.map((function(t,n){var r=h.Z;switch(t.hasOwnProperty("type")?t.type:"text"){case"textarea":r=be}return o.createElement(o.Fragment,{key:n},t.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-modal-input-fields-field-label"},t.label),o.createElement(r,{value:t.value,onChange:function(t){var r=we(e.state.fields);r[n].value=t,e.setState({fields:r})}}))}))),o.createElement(f.Z,{savingChanges:!1},o.createElement("button",{className:"button button-primary",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback(e.state),e.props.maybeCloseModal()}},(0,u.S)("Change"))))}}])&&Se(t.prototype,n),r&&Se(t,r),a}(o.Component);n(39275),n(22321),n(86125);function Pe(e){return(Pe="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 Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Te(e,t){return(Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Re(this,n)}}function Re(e,t){return!t||"object"!==Pe(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 _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fe=function(e){return e=(e=(e=e.replace(/"/gm,"%22")).replace(/\]/gm,"%5D")).replace(/\r?\n|\r/gm,"%0A")},Be=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&&Te(e,t)}(a,e);var t,n,r,i=Le(a);function a(){return Ne(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this;return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},"WP Recipe Maker"),o.createElement("div",{className:"wprm-admin-modal-menu-container"},o.createElement("h2",null,(0,u.S)("Recipes")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{isPrimary:!0,onClick:function(){WPRM_Modal.open("recipe",e.props.args,!0)}},(0,u.S)("Create new Recipe")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Insert existing Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{}},insertCallback:function(t){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback('[wprm-recipe id="'.concat(t.recipe.id,'"]'))}},!0)}},(0,u.S)("Insert existing Recipe")),o.createElement(p,{required:"premium",onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Create new from existing Recipe"),button:(0,u.S)("Clone Recipe"),fields:{recipe:{}},nextStepCallback:function(t){WPRM_Modal.open("recipe",ke(ke({},e.props.args),{},{recipeId:t.recipe.id,cloneRecipe:!0}),!0)}},!0)}},(0,u.S)("Create new from existing Recipe"))),o.createElement("h2",null,(0,u.S)("Recipe Snippets")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{help:(0,u.S)("Displays default snippet template as set in the WPRM Settings"),onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Full Snippet Template"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-snippet";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Full Snippet Template")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Jump to Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-jump";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Jump to Recipe")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Jump to Video"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-jump-video";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Jump to Video")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Print Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-print";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Print Recipe"))),o.createElement("h2",null,(0,u.S)("Recipe Parts")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{required:"premium",onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Nutrition Label"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-nutrition-label";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Nutrition Label")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Recipe Video"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-video";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Recipe Video"))),o.createElement("h2",null,(0,u.S)("Other Features")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{help:(0,u.S)("Use for a list of existing recipes on your website"),onClick:function(){WPRM_Modal.open("roundup",{insertCallback:function(t){if("function"==typeof e.props.args.insertCallback)if(t.hasOwnProperty("type")&&"external"===t.type){var n="[wprm-recipe-roundup-item";n+=' link="'.concat(Fe(t.link),'"'),n+=t.nofollow?' nofollow="1"':"",n+=t.newtab?"":' newtab="0"',n+=' name="'.concat(Fe(t.name),'"'),n+=' summary="'.concat(Fe(t.summary),'"'),n+=t.image.id?' image="'.concat(t.image.id,'"'):"",-1===t.image.id&&t.image.url&&(n+=t.image.url?' image_url="'.concat(t.image.url,'"'):""),n+="]",e.props.args.insertCallback(n)}else e.props.args.insertCallback('[wprm-recipe-roundup-item id="'.concat(t.recipe.id,'"]'))}},!0)}},(0,u.S)("Recipe Roundup Item")),o.createElement(p,{required:"elite",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback("[wprm-recipe-submission]"),e.props.maybeCloseModal()}},(0,u.S)("Recipe Submission Form")),o.createElement(p,{required:"elite",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback("[wprm-recipe-collections]"),e.props.maybeCloseModal()}},(0,u.S)("Recipe Collections")),o.createElement(p,{required:"elite",help:(0,u.S)("Find the saved collection ID on the WP Recipe Maker > Manage > Saved Collections page"),onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback('[wprm-saved-collection id=""]'),e.props.maybeCloseModal()}},(0,u.S)("Saved Recipe Collection")))))}}])&&je(t.prototype,n),r&&je(t,r),a}(o.Component),Ze=n(68470),He=n(55565),Ue=n.n(He),We=n(34133),Ge=function(e){var t=null;return e.id&&(t="wprm-admin-modal-fields-group-".concat(e.id)),o.createElement(Ze.W_,{className:"wprm-admin-modal-fields-group",id:t,name:t},e.header?o.createElement("div",{className:"wprm-admin-modal-fields-group-header"},e.header):null,o.createElement("div",{className:"wprm-admin-modal-fields"},e.children))},ze=function(e){return o.createElement(o.Fragment,null,o.createElement(C.Z,{label:(0,u.S)("Import from Text")},o.createElement(be,{placeholder:(0,u.S)("Paste or type recipe to start..."),value:"",onChange:function(t){t&&e.onModeChange("text-import",t)}})),o.createElement(C.Z,{label:(0,u.S)("Import from JSON")},o.createElement(be,{placeholder:(0,u.S)("Paste the recipe JSON data to import"),value:"",onChange:function(t){if(t)try{var n=JSON.parse(t);e.onRecipeChange(n),alert((0,u.S)("The recipe has been imported."))}catch(r){alert((0,u.S)("No valid recipe found."))}}})))},qe=(n(85005),n(5308)),Ve=function(e){var t=e.id>0,n=function(t){t.preventDefault(),qe.Z.selectImage((function(t){if(e.hasOwnProperty("requirements")){var n=[];e.requirements.hasOwnProperty("width")&&t.width&&t.width<e.requirements.width&&n.push("".concat((0,u.S)("The image should have at least this width:")," ").concat(e.requirements.width,"px")),e.requirements.hasOwnProperty("height")&&t.height&&t.height<e.requirements.height&&n.push("".concat((0,u.S)("The image should have at least this height:")," ").concat(e.requirements.width,"px")),n.length&&alert("".concat((0,u.S)("Warning! We recommend making sure the image meets the following requirements:"),"\n\n").concat(n.join("\n")))}e.onChange(t.id,t.url)}))};return o.createElement("div",{className:"wprm-admin-modal-field-image"},t?o.createElement("div",{className:"wprm-admin-modal-field-image-preview"},o.createElement("img",{onClick:n,src:e.url}),o.createElement("a",{href:"#",tabIndex:e.disableTab?"-1":null,onClick:function(t){t.preventDefault(),e.onChange(0,"")}},(0,u.S)("Remove Image"))):o.createElement(p,{required:e.required,disableTab:e.disableTab,onClick:n},(0,u.S)("Select Image")))},Je=function(e){var t=e.id>0,n=!t&&(-1==e.id||e.embed),r=t||n,i=function(t){t.preventDefault(),qe.Z.selectVideo((function(t){e.onChange(t.attributes.id,t.attributes.thumb.src)}))};return o.createElement("div",{className:"wprm-admin-modal-field-video"},r?o.createElement(o.Fragment,null,t?o.createElement("div",{className:"wprm-admin-modal-field-video-preview"},o.createElement("img",{onClick:i,src:e.thumb}),o.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.onChange(0,"")}},(0,u.S)("Remove Video"))):o.createElement(o.Fragment,null,o.createElement(be,{value:e.embed,onChange:function(t){e.onChange(-1,"",t)},placeholder:(0,u.S)("Use URL to the video (e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ) or the full embed code.")}),o.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.onChange(0,"","")}},(0,u.S)("Remove Video")))):o.createElement(o.Fragment,null,o.createElement("button",{className:"button",onClick:i},(0,u.S)("Upload Video")),o.createElement("button",{className:"button",onClick:function(t){t.preventDefault(),e.onChange(-1,"")}},(0,u.S)("Embed Video"))))},Ye=function(e){return o.createElement(o.Fragment,null,o.createElement(C.Z,{label:(0,u.S)("Image"),help:(0,u.S)("Used in the recipe metadata. Should be an image of the completed dish.")},o.createElement(Ve,{requirements:{width:500,height:500},id:e.image.id,url:e.image.url,onChange:function(t,n){e.onRecipeChange({image_id:t,image_url:n})}})),"recipe_image"!==wprm_admin.settings.pinterest_use_for_image?o.createElement(C.Z,{label:(0,u.S)("Pin Image"),help:(0,u.S)('Optionally set a different image to use for the "Pin Recipe" button.')},o.createElement(Ve,{required:"premium",id:e.pinImage.id,url:e.pinImage.url,onChange:function(t,n){e.onRecipeChange({pin_image_id:t,pin_image_url:n})}})):null,o.createElement(C.Z,{label:(0,u.S)("Video"),help:(0,u.S)("Used in the recipe metadata. Can be displayed elsewhere on the page using the [wprm-recipe-video] shortcode.")},o.createElement(Je,{id:e.video.id,thumb:e.video.thumb,embed:e.video.embed,onChange:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o={video_id:t,video_thumb_url:n};!1!==r&&(o.video_embed=r),e.onRecipeChange(o)}})))},Qe=n(38974),Xe=n.n(Qe);function Ke(){return Xe().getParser(window.navigator.userAgent).satisfies({edge:"<80",ie:">0"})}var $e;n(18183),n(9968);
|
2 |
/*!
|
3 |
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
4 |
*
|
5 |
* Copyright (c) 2014-2017, Jon Schlinkert.
|
6 |
* Released under the MIT License.
|
7 |
*/
|
8 |
-
function
|
9 |
/*!
|
10 |
* isobject <https://github.com/jonschlinkert/isobject>
|
11 |
*
|
12 |
* Copyright (c) 2014-2017, Jon Schlinkert.
|
13 |
* Released under the MIT License.
|
14 |
*/
|
15 |
-
var t}function tt(e){var t,n;return!1!==et(e)&&("function"==typeof(t=e.constructor)&&(!1!==et(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}var nt,rt,ot="undefined"!=typeof Symbol,it="undefined"!=typeof Map,at="undefined"!=typeof Set,st=ot?Symbol("immer-nothing"):(($e={})["immer-nothing"]=!0,$e),ut=ot?Symbol("immer-draftable"):"__$immer_draftable",ct=ot?Symbol("immer-state"):"__$immer_state",lt=ot?Symbol.iterator:"@@iterator",pt=function(e,t){return(pt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function dt(e,t){function n(){this.constructor=e}pt(e,t),e.prototype=(n.prototype=t.prototype,new n)}function ft(e){return!!e&&!!e[ct]}function mt(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||Array.isArray(e)||!!e[ut]||!!e.constructor[ut]||Et(e)||St(e))}!function(e){e[e.Object=0]="Object",e[e.Array=1]="Array",e[e.Map=2]="Map",e[e.Set=3]="Set"}(nt||(nt={})),function(e){e[e.ProxyObject=0]="ProxyObject",e[e.ProxyArray=1]="ProxyArray",e[e.ES5Object=2]="ES5Object",e[e.ES5Array=3]="ES5Array",e[e.Map=4]="Map",e[e.Set=5]="Set"}(rt||(rt={}));var ht="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function gt(e,t){vt(e)===nt.Object?ht(e).forEach((function(n){return t(n,e[n],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function vt(e){if(e||Dt(),e[ct])switch(e[ct].type){case rt.ES5Object:case rt.ProxyObject:return nt.Object;case rt.ES5Array:case rt.ProxyArray:return nt.Array;case rt.Map:return nt.Map;case rt.Set:return nt.Set}return Array.isArray(e)?nt.Array:Et(e)?nt.Map:St(e)?nt.Set:nt.Object}function bt(e,t){return vt(e)===nt.Map?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function yt(e,t){return vt(e)===nt.Map?e.get(t):e[t]}function wt(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function Et(e){return it&&e instanceof Map}function St(e){return at&&e instanceof Set}function It(e){return e.copy||e.base}function xt(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return ht(e).forEach((function(r){if(r!==ct){var o=Object.getOwnPropertyDescriptor(e,r),i=o.value;if(o.get){if(!t)throw new Error("Immer drafts cannot have computed properties");i=o.get.call(e)}o.enumerable?n[r]=i:Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0})}})),n}function Ot(e,t){if(mt(e)&&!ft(e)&&!Object.isFrozen(e)){var n=vt(e);n===nt.Set?e.add=e.clear=e.delete=Ct:n===nt.Map&&(e.set=e.clear=e.delete=Ct),Object.freeze(e),t&>(e,(function(e,t){return Ot(t,!0)}))}}function Ct(){throw new Error("This object has been frozen and should not be mutated")}function Dt(){throw new Error("Illegal state, please file a bug")}var Pt=function(){function e(e,t){this.drafts=[],this.parent=e,this.immer=t,this.canAutoFreeze=!0}return e.prototype.usePatches=function(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},e.prototype.revoke=function(){this.leave(),this.drafts.forEach(Mt),this.drafts=null},e.prototype.leave=function(){this===e.current&&(e.current=this.parent)},e.enter=function(t){var n=new e(e.current,t);return e.current=n,n},e}();function Mt(e){var t=e[ct];t.type===rt.ProxyObject||t.type===rt.ProxyArray?t.revoke():t.revoked=!0}function kt(e,t,n){var r=n.drafts[0],o=void 0!==t&&t!==r;if(e.willFinalize(n,t,o),o){if(r[ct].modified)throw n.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");mt(t)&&(t=At(e,t,n),n.parent||Tt(e,t)),n.patches&&(n.patches.push({op:"replace",path:[],value:t}),n.inversePatches.push({op:"replace",path:[],value:r[ct].base}))}else t=At(e,r,n,[]);return n.revoke(),n.patches&&n.patchListener(n.patches,n.inversePatches),t!==st?t:void 0}function At(e,t,n,r){var o=t[ct];if(!o)return Object.isFrozen(t)?t:Nt(e,t,n);if(o.scope!==n)return t;if(!o.modified)return Tt(e,o.base,!0),o.base;if(!o.finalized){if(o.finalized=!0,Nt(e,o.draft,n,r),e.onDelete&&o.type!==rt.Set)if(e.useProxies){gt(o.assigned,(function(t,n){n||e.onDelete(o,t)}))}else{var i=o.base,a=o.copy;gt(i,(function(t){bt(a,t)||e.onDelete(o,t)}))}e.onCopy&&e.onCopy(o),e.autoFreeze&&n.canAutoFreeze&&Ot(o.copy,!1),r&&n.patches&&function(e,t,n,r){switch(e.type){case rt.ProxyObject:case rt.ES5Object:case rt.Map:return function(e,t,n,r){var o=e.base,i=e.copy;gt(e.assigned,(function(e,a){var s=yt(o,e),u=yt(i,e),c=a?bt(o,e)?"replace":"add":"remove";if(s!==u||"replace"!==c){var l=t.concat(e);n.push("remove"===c?{op:c,path:l}:{op:c,path:l,value:u}),r.push("add"===c?{op:"remove",path:l}:"remove"===c?{op:"add",path:l,value:s}:{op:"replace",path:l,value:s})}}))}(e,t,n,r);case rt.ES5Array:case rt.ProxyArray:return function(e,t,n,r){var o,i,a=e.base,s=e.assigned,u=e.copy;u||Dt();u.length<a.length&&(a=(o=[u,a])[0],u=o[1],n=(i=[r,n])[0],r=i[1]);var c=u.length-a.length,l=0;for(;a[l]===u[l]&&l<a.length;)++l;var p=a.length;for(;p>l&&a[p-1]===u[p+c-1];)--p;for(var d=l;d<p;++d)if(s[d]&&u[d]!==a[d]){var f=t.concat([d]);n.push({op:"replace",path:f,value:u[d]}),r.push({op:"replace",path:f,value:a[d]})}var m=n.length;for(d=p+c-1;d>=p;--d){f=t.concat([d]);n[m+d-p]={op:"add",path:f,value:u[d]},r.push({op:"remove",path:f})}}(e,t,n,r);case rt.Set:(function(e,t,n,r){var o=e.base,i=e.copy,a=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([a]);n.push({op:"remove",path:o,value:e}),r.unshift({op:"add",path:o,value:e})}a++})),a=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([a]);n.push({op:"add",path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}a++}))})(e,t,n,r)}}(o,r,n.patches,n.inversePatches)}return o.copy}function Nt(e,t,n,r){var o=t[ct];return o&&(o.type!==rt.ES5Object&&o.type!==rt.ES5Array||(o.copy=xt(o.draft,!0)),t=o.copy),gt(t,(function(i,a){return jt(e,n,t,o,t,i,a,r)})),t}function jt(e,t,n,r,o,i,a,s){if(a===o)throw Error("Immer forbids circular references");var u=!!r&&o===n,c=St(o);if(ft(a)){var l=s&&u&&!c&&!bt(r.assigned,i)?s.concat(i):void 0;(function(e,t,n){switch(vt(e)){case nt.Map:e.set(t,n);break;case nt.Set:e.delete(t),e.add(n);break;default:e[t]=n}})(o,i,a=At(e,a,t,l)),ft(a)&&(t.canAutoFreeze=!1)}else{if(u&&wt(a,yt(r.base,i)))return;mt(a)&&(gt(a,(function(o,i){return jt(e,t,n,r,a,o,i,s)})),t.parent||Tt(e,a))}u&&e.onAssign&&!c&&e.onAssign(r,i,a)}function Tt(e,t,n){void 0===n&&(n=!1),e.autoFreeze&&!ft(t)&&Ot(t,n)}var Lt={get:function(e,t){if(t===ct)return e;var n=e.drafts;if(!e.modified&&bt(n,t))return n[t];var r=It(e)[t];if(e.finalized||!mt(r))return r;if(e.modified){if(r!==_t(e.base,t))return r;n=e.copy}return n[t]=e.scope.immer.createProxy(r,e)},has:function(e,t){return t in It(e)},ownKeys:function(e){return Reflect.ownKeys(It(e))},set:function(e,t,n){if(!e.modified){var r=_t(e.base,t);if(n?wt(r,n)||n===e.drafts[t]:wt(r,n)&&t in e.base)return!0;Bt(e),Ft(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){return void 0!==_t(e.base,t)||t in e.base?(e.assigned[t]=!1,Bt(e),Ft(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=It(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=e.type!==rt.ProxyArray||"length"!==t),r},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},Rt={};function _t(e,t){var n=e[ct],r=Reflect.getOwnPropertyDescriptor(n?It(n):e,t);return r&&r.value}function Ft(e){if(!e.modified){if(e.modified=!0,e.type===rt.ProxyObject||e.type===rt.ProxyArray){var t=e.copy=xt(e.base);gt(e.drafts,(function(e,n){t[e]=n})),e.drafts=void 0}e.parent&&Ft(e.parent)}}function Bt(e){e.copy||(e.copy=xt(e.base))}function Zt(e,t,n){e.drafts.forEach((function(e){e[ct].finalizing=!0})),n?ft(t)&&t[ct].scope===e&&Jt(e.drafts):(e.patches&&Yt(e.drafts[0]),Jt(e.drafts))}function Ht(e,t){var n=Array.isArray(e),r=zt(e);gt(r,(function(t){!function(e,t,n){var r=qt[t];r?r.enumerable=n:qt[t]=r={configurable:!0,enumerable:n,get:function(){return function(e,t){Vt(e);var n=Ut(It(e),t);if(e.finalizing)return n;if(n===Ut(e.base,t)&&mt(n))return Gt(e),e.copy[t]=e.scope.immer.createProxy(n,e);return n}(this[ct],t)},set:function(e){!function(e,t,n){if(Vt(e),e.assigned[t]=!0,!e.modified){if(wt(n,Ut(It(e),t)))return;Wt(e),Gt(e)}e.copy[t]=n}(this[ct],t,e)}};Object.defineProperty(e,t,r)}(r,t,n||function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(!n||!n.enumerable)}(e,t))}));var o,i,a,s={type:n?rt.ES5Array:rt.ES5Object,scope:t?t.scope:Pt.current,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:t,base:e,draft:r,copy:null,revoked:!1,isManual:!1};return o=r,i=ct,a=s,Object.defineProperty(o,i,{value:a,enumerable:!1,writable:!0}),r}function Ut(e,t){var n=e[ct];if(n&&!n.finalizing){n.finalizing=!0;var r=e[t];return n.finalizing=!1,r}return e[t]}function Wt(e){e.modified||(e.modified=!0,e.parent&&Wt(e.parent))}function Gt(e){e.copy||(e.copy=zt(e.base))}function zt(e){var t=e&&e[ct];if(t){t.finalizing=!0;var n=xt(t.draft,!0);return t.finalizing=!1,n}return xt(e)}gt(Lt,(function(e,t){Rt[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),Rt.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer only supports deleting array indices");return Lt.deleteProperty.call(this,e[0],t)},Rt.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer only supports setting array indices and the 'length' property");return Lt.set.call(this,e[0],t,n,e[0])};var qt={};function Vt(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(It(e)))}function Jt(e){for(var t=e.length-1;t>=0;t--){var n=e[t][ct];if(!n.modified)switch(n.type){case rt.ES5Array:Xt(n)&&Wt(n);break;case rt.ES5Object:Qt(n)&&Wt(n)}}}function Yt(e){if(e&&"object"==typeof e){var t=e[ct];if(t){var n=t.base,r=t.draft,o=t.assigned,i=t.type;if(i===rt.ES5Object)gt(r,(function(e){e!==ct&&(void 0!==n[e]||bt(n,e)?o[e]||Yt(r[e]):(o[e]=!0,Wt(t)))})),gt(n,(function(e){void 0!==r[e]||bt(r,e)||(o[e]=!1,Wt(t))}));else if(i===rt.ES5Array){if(Xt(t)&&(Wt(t),o.length=!0),r.length<n.length)for(var a=r.length;a<n.length;a++)o[a]=!1;else for(a=n.length;a<r.length;a++)o[a]=!0;var s=Math.min(r.length,n.length);for(a=0;a<s;a++)void 0===o[a]&&Yt(r[a])}}}}function Qt(e){for(var t=e.base,n=e.draft,r=Object.keys(n),o=r.length-1;o>=0;o--){var i=r[o],a=t[i];if(void 0===a&&!bt(t,i))return!0;var s=n[i],u=s&&s[ct];if(u?u.base!==a:!wt(s,a))return!0}return r.length!==Object.keys(t).length}function Xt(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var Kt=function(e){if(!e)throw new Error("Map is not polyfilled");function t(e,t){return this[ct]={type:rt.Map,parent:t,scope:t?t.scope:Pt.current,modified:!1,finalized:!1,copy:void 0,assigned:void 0,base:e,draft:this,isManual:!1,revoked:!1},this}dt(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return It(this[ct]).size},enumerable:!0,configurable:!0}),n.has=function(e){return It(this[ct]).has(e)},n.set=function(e,t){var n=this[ct];return Vt(n),It(n).get(e)!==t&&($t(n),n.scope.immer.markChanged(n),n.assigned.set(e,!0),n.copy.set(e,t),n.assigned.set(e,!0)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[ct];return Vt(t),$t(t),t.scope.immer.markChanged(t),t.assigned.set(e,!1),t.copy.delete(e),!0},n.clear=function(){var e=this[ct];return Vt(e),$t(e),e.scope.immer.markChanged(e),e.assigned=new Map,e.copy.clear()},n.forEach=function(e,t){var n=this;It(this[ct]).forEach((function(r,o,i){e.call(t,n.get(o),o,n)}))},n.get=function(e){var t=this[ct];Vt(t);var n=It(t).get(e);if(t.finalized||!mt(n))return n;if(n!==t.base.get(e))return n;var r=t.scope.immer.createProxy(n,t);return $t(t),t.copy.set(e,r),r},n.keys=function(){return It(this[ct]).keys()},n.values=function(){var e,t=this,n=this.keys();return(e={})[lt]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},n.entries=function(){var e,t=this,n=this.keys();return(e={})[lt]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},n[lt]=function(){return this.entries()},t}(Map);function $t(e){e.copy||(e.assigned=new Map,e.copy=new Map(e.base))}var en=function(e){if(!e)throw new Error("Set is not polyfilled");function t(e,t){return this[ct]={type:rt.Set,parent:t,scope:t?t.scope:Pt.current,modified:!1,finalized:!1,copy:void 0,base:e,draft:this,drafts:new Map,revoked:!1,isManual:!1},this}dt(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return It(this[ct]).size},enumerable:!0,configurable:!0}),n.has=function(e){var t=this[ct];return Vt(t),t.copy?!!t.copy.has(e)||!(!t.drafts.has(e)||!t.copy.has(t.drafts.get(e))):t.base.has(e)},n.add=function(e){var t=this[ct];return Vt(t),t.copy?t.copy.add(e):t.base.has(e)||(tn(t),t.scope.immer.markChanged(t),t.copy.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[ct];return Vt(t),tn(t),t.scope.immer.markChanged(t),t.copy.delete(e)||!!t.drafts.has(e)&&t.copy.delete(t.drafts.get(e))},n.clear=function(){var e=this[ct];return Vt(e),tn(e),e.scope.immer.markChanged(e),e.copy.clear()},n.values=function(){var e=this[ct];return Vt(e),tn(e),e.copy.values()},n.entries=function(){var e=this[ct];return Vt(e),tn(e),e.copy.entries()},n.keys=function(){return this.values()},n[lt]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}(Set);function tn(e){e.copy||(e.copy=new Set,e.base.forEach((function(t){if(mt(t)){var n=e.scope.immer.createProxy(t,e);e.drafts.set(t,n),e.copy.add(n)}else e.copy.add(t)})))}function nn(e,t){return t.forEach((function(t){var n=t.path,r=t.op;n.length||Dt();for(var o=e,i=0;i<n.length-1;i++)if(!(o=yt(o,n[i]))||"object"!=typeof o)throw new Error("Cannot apply patch, path doesn't resolve: "+n.join("/"));var a=vt(o),s=rn(t.value),u=n[n.length-1];switch(r){case"replace":switch(a){case nt.Map:return o.set(u,s);case nt.Set:throw new Error('Sets cannot have "replace" patches.');default:return o[u]=s}case"add":switch(a){case nt.Array:return o.splice(u,0,s);case nt.Map:return o.set(u,s);case nt.Set:return o.add(s);default:return o[u]=s}case"remove":switch(a){case nt.Array:return o.splice(u,1);case nt.Map:return o.delete(u);case nt.Set:return o.delete(t.value);default:return delete o[u]}default:throw new Error("Unsupported patch operation: "+r)}})),e}function rn(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(rn);if(Et(e))return new Map(Array.from(e.entries()).map((function(e){return[e[0],rn(e[1])]})));if(St(e))return new Set(Array.from(e).map(rn));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=rn(e[n]);return t}
|
16 |
/*! *****************************************************************************
|
17 |
Copyright (c) Microsoft Corporation. All rights reserved.
|
18 |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
@@ -26,7 +26,7 @@ MERCHANTABLITY OR NON-INFRINGEMENT.
|
|
26 |
|
27 |
See the Apache Version 2.0 License for specific language governing permissions
|
28 |
and limitations under the License.
|
29 |
-
***************************************************************************** */function on(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;var r=Array(e),o=0;for(t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r}var an={useProxies:"undefined"!=typeof Proxy&&void 0!==Proxy.revocable&&"undefined"!=typeof Reflect,autoFreeze:"undefined"==typeof process&&"verifyMinified"===function(){}.name,onAssign:null,onDelete:null,onCopy:null},sn=new(function(){function e(e){var t=this;this.useProxies=!1,this.autoFreeze=!1,gt(an,(function(n,r){var o,i;t[n]=null!=(i=null===(o=e)||void 0===o?void 0:o[n])?i:r})),this.setUseProxies(this.useProxies),this.produce=this.produce.bind(this),this.produceWithPatches=this.produceWithPatches.bind(this)}return e.prototype.produce=function(e,t,n){var r,o=this;if("function"==typeof e&&"function"!=typeof t){var i=t;t=e;var a=this;return function(e){var n=arguments,r=this;void 0===e&&(e=i);for(var o=[],s=1;s<arguments.length;s++)o[s-1]=n[s];return a.produce(e,(function(e){return t.call.apply(t,on([r,e],o))}))}}if("function"!=typeof t)throw new Error("The first or second argument to `produce` must be a function");if(void 0!==n&&"function"!=typeof n)throw new Error("The third argument to `produce` must be a function or undefined");if(mt(e)){var s=Pt.enter(this),u=this.createProxy(e,void 0),c=!0;try{r=t(u),c=!1}finally{c?s.revoke():s.leave()}return"undefined"!=typeof Promise&&r instanceof Promise?r.then((function(e){return s.usePatches(n),kt(o,e,s)}),(function(e){throw s.revoke(),e})):(s.usePatches(n),kt(this,r,s))}if((r=t(e))!==st)return void 0===r&&(r=e),Tt(this,r,!0),r},e.prototype.produceWithPatches=function(e,t,n){var r,o,i=this;return"function"==typeof e?function(t){for(var n=arguments,r=[],o=1;o<arguments.length;o++)r[o-1]=n[o];return i.produceWithPatches(t,(function(t){return e.apply(void 0,on([t],r))}))}:(n&&Dt(),[this.produce(e,t,(function(e,t){r=e,o=t})),r,o])},e.prototype.createDraft=function(e){if(!mt(e))throw new Error("First argument to `createDraft` must be a plain object, an array, or an immerable object");var t=Pt.enter(this),n=this.createProxy(e,void 0);return n[ct].isManual=!0,t.leave(),n},e.prototype.finishDraft=function(e,t){var n=e&&e[ct];if(!n||!n.isManual)throw new Error("First argument to `finishDraft` must be a draft returned by `createDraft`");if(n.finalized)throw new Error("The given draft is already finalized");var r=n.scope;return r.usePatches(t),kt(this,void 0,r)},e.prototype.setAutoFreeze=function(e){this.autoFreeze=e},e.prototype.setUseProxies=function(e){this.useProxies=e},e.prototype.applyPatches=function(e,t){var n;for(n=t.length-1;n>=0;n--){var r=t[n];if(0===r.path.length&&"replace"===r.op){e=r.value;break}}return ft(e)?nn(e,t):this.produce(e,(function(e){return nn(e,t.slice(n+1))}))},e.prototype.createProxy=function(e,t){var n=Et(e)?function(e,t){return new Kt(e,t)}(e,t):St(e)?function(e,t){return new en(e,t)}(e,t):this.useProxies?function(e,t){var n=Array.isArray(e),r={type:n?rt.ProxyArray:rt.ProxyObject,scope:t?t.scope:Pt.current,modified:!1,finalized:!1,assigned:{},parent:t,base:e,draft:null,drafts:{},copy:null,revoke:null,isManual:!1},o=r,i=Lt;n&&(o=[r],i=Rt);var a=Proxy.revocable(o,i),s=a.revoke,u=a.proxy;return r.draft=u,r.revoke=s,u}(e,t):Ht(e,t);return(t?t.scope:Pt.current).drafts.push(n),n},e.prototype.willFinalize=function(e,t,n){this.useProxies||Zt(e,t,n)},e.prototype.markChanged=function(e){this.useProxies?Ft(e):Wt(e)},e}()),un=sn.produce,cn=(sn.produceWithPatches.bind(sn),sn.setAutoFreeze.bind(sn),sn.setUseProxies.bind(sn),sn.applyPatches.bind(sn),sn.createDraft.bind(sn)),ln=sn.finishDraft.bind(sn);var pn=n(43830);function dn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fn(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var mn=new WeakMap,hn=new WeakMap,gn=new WeakMap,vn=new WeakMap,bn=new WeakMap,yn=new WeakMap,wn=/\s/,En=/[\u0021-\u0023\u0025-\u002A\u002C-\u002F\u003A\u003B\u003F\u0040\u005B-\u005D\u005F\u007B\u007D\u00A1\u00A7\u00AB\u00B6\u00B7\u00BB\u00BF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0AF0\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E3B\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/,Sn=/['\u2018\u2019]/,In=e=>{for(var t=0,n=null,r=e.charCodeAt(0);r;)if(On(r)){var o=Cn(r,e,t);if("SURR"===n||"BMP"===n)break;t+=2,n=o?"MOD":"SURR",r=e.charCodeAt(t)}else if(8205!==r)if(Pn(r)){if(n&&"ZWJ"!==n&&"VAR"!==n)break;t+=1,n="BMP",r=e.charCodeAt(t)}else{if(!Dn(r)){if("MOD"===n){t+=1;break}break}if(n&&"ZWJ"!==n)break;t+=1,n="VAR",r=e.charCodeAt(t)}else t+=1,n="ZWJ",r=e.charCodeAt(t);return t||1},xn=(e,t)=>{if(wn.test(e))return!1;if(Sn.test(e)){var n=t.charAt(0),r=In(n);n=t.slice(0,r);var o=t.slice(r);if(xn(n,o))return!0}return!En.test(e)},On=e=>55296<=e&&e<=57343,Cn=(e,t,n)=>{if(55356===e){var r=t.charCodeAt(n+1);return r<=57343&&r>=57339}return!1},Dn=e=>e<=65039&&e>=65024,Pn=e=>10084===e||9794===e||9792===e||9760===e||9877===e||9992===e||9711===e;function Mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var An={above(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{voids:n=!1,mode:r="lowest",at:o=e.selection,match:i}=t;if(o){var a=An.path(e,o),s="lowest"===r;for(var[u,c]of An.levels(e,{at:a,voids:n,match:i,reverse:s}))if(!Jn.isText(u)&&!Fn.equals(a,c))return[u,c]}},addMark(e,t,n){e.addMark(t,n)},after(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:An.point(e,t,{edge:"end"}),focus:An.end(e,[])},{distance:i=1}=r,a=0;for(var s of An.positions(e,kn({},r,{at:o}))){if(a>i)break;0!==a&&(n=s),a++}return n},before(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o={anchor:An.start(e,[]),focus:An.point(e,t,{edge:"start"})},{distance:i=1}=r,a=0;for(var s of An.positions(e,kn({},r,{at:o,reverse:!0}))){if(a>i)break;0!==a&&(n=s),a++}return n},deleteBackward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteBackward(n)},deleteForward(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{unit:n="character"}=t;e.deleteForward(n)},deleteFragment(e){e.deleteFragment()},edges:(e,t)=>[An.start(e,t),An.end(e,t)],end:(e,t)=>An.point(e,t,{edge:"end"}),first(e,t){var n=An.path(e,t,{edge:"start"});return An.node(e,n)},fragment(e,t){var n=An.range(e,t);return Tn.fragment(e,n)},hasBlocks:(e,t)=>t.children.some((t=>An.isBlock(e,t))),hasInlines:(e,t)=>t.children.some((t=>Jn.isText(t)||An.isInline(e,t))),hasTexts:(e,t)=>t.children.every((e=>Jn.isText(e))),insertBreak(e){e.insertBreak()},insertFragment(e,t){e.insertFragment(t)},insertNode(e,t){e.insertNode(t)},insertText(e,t){e.insertText(t)},isBlock:(e,t)=>Nn.isElement(t)&&!e.isInline(t),isEditor:e=>tt(e)&&"function"==typeof e.addMark&&"function"==typeof e.apply&&"function"==typeof e.deleteBackward&&"function"==typeof e.deleteForward&&"function"==typeof e.deleteFragment&&"function"==typeof e.insertBreak&&"function"==typeof e.insertFragment&&"function"==typeof e.insertNode&&"function"==typeof e.insertText&&"function"==typeof e.isInline&&"function"==typeof e.isVoid&&"function"==typeof e.normalizeNode&&"function"==typeof e.onChange&&"function"==typeof e.removeMark&&(null===e.marks||tt(e.marks))&&(null===e.selection||Gn.isRange(e.selection))&&Tn.isNodeList(e.children)&&_n.isOperationList(e.operations),isEnd(e,t,n){var r=An.end(e,n);return Hn.equals(t,r)},isEdge:(e,t,n)=>An.isStart(e,t,n)||An.isEnd(e,t,n),isEmpty(e,t){var{children:n}=t,[r]=n;return 0===n.length||1===n.length&&Jn.isText(r)&&""===r.text&&!e.isVoid(t)},isInline:(e,t)=>Nn.isElement(t)&&e.isInline(t),isNormalizing(e){var t=gn.get(e);return void 0===t||t},isStart(e,t,n){if(0!==t.offset)return!1;var r=An.start(e,n);return Hn.equals(t,r)},isVoid:(e,t)=>Nn.isElement(t)&&e.isVoid(t),last(e,t){var n=An.path(e,t,{edge:"end"});return An.node(e,n)},leaf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=An.path(e,t,n);return[Tn.leaf(e,r),r]},*levels(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,reverse:r=!1,voids:o=!1}=t,{match:i}=t;if(null==i&&(i=()=>!0),n){var a=[],s=An.path(e,n);for(var[u,c]of Tn.levels(e,s))if(i(u)&&(a.push([u,c]),!o&&An.isVoid(e,u)))break;r&&a.reverse(),yield*a}},marks(e){var{marks:t,selection:n}=e;if(!n)return null;if(t)return t;if(Gn.isExpanded(n)){var[r]=An.nodes(e,{match:Jn.isText});if(r){var[o]=r;return fn(o,["text"])}return{}}var{anchor:i}=n,{path:a}=i,[s]=An.leaf(e,a);if(0===i.offset){var u=An.previous(e,{at:a,match:Jn.isText}),c=An.above(e,{match:t=>An.isBlock(e,t)});if(u&&c){var[l,p]=u,[,d]=c;Fn.isAncestor(d,p)&&(s=l)}}return fn(s,["text"])},next(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var[,a]=An.last(e,i),[,s]=An.last(e,[]),u=[a,s];if(Fn.isPath(i)&&0===i.length)throw new Error("Cannot get the next node from the root node!");if(null==o)if(Fn.isPath(i)){var[c]=An.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0;var[,l]=An.nodes(e,{at:u,match:o,mode:n,voids:r});return l}},node(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=An.path(e,t,n);return[Tn.get(e,r),r]},*nodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,mode:r="all",universal:o=!1,reverse:i=!1,voids:a=!1}=t,{match:s}=t;if(s||(s=()=>!0),n){var u,c;if(jn.isSpan(n))u=n[0],c=n[1];else{var l=An.path(e,n,{edge:"start"}),p=An.path(e,n,{edge:"end"});u=i?p:l,c=i?l:p}var d,f=Tn.nodes(e,{reverse:i,from:u,to:c,pass:t=>{var[n]=t;return!a&&An.isVoid(e,n)}}),m=[];for(var[h,g]of f){var v=d&&0===Fn.compare(g,d[1]);if("highest"!==r||!v)if(s(h))if("lowest"===r&&v)d=[h,g];else{var b="lowest"===r?d:[h,g];b&&(o?m.push(b):yield b),d=[h,g]}else if(o&&!v&&Jn.isText(h))return}"lowest"===r&&d&&(o?m.push(d):yield d),o&&(yield*m)}},normalize(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{force:n=!1}=t,r=e=>mn.get(e)||[];if(An.isNormalizing(e)){if(n){var o=Array.from(Tn.nodes(e),(e=>{var[,t]=e;return t}));mn.set(e,o)}0!==r(e).length&&An.withoutNormalizing(e,(()=>{for(var t=42*r(e).length,n=0;0!==r(e).length;){if(n>t)throw new Error("\n Could not completely normalize the editor after ".concat(t," iterations! This is usually due to incorrect normalization logic that leaves a node in an invalid state.\n "));var o=r(e).pop(),i=An.node(e,o);e.normalizeNode(i),n++}}))}},parent(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=An.path(e,t,n),o=Fn.parent(r);return An.node(e,o)},path(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{depth:r,edge:o}=n;if(Fn.isPath(t))if("start"===o){var[,i]=Tn.first(e,t);t=i}else if("end"===o){var[,a]=Tn.last(e,t);t=a}return Gn.isRange(t)&&(t="start"===o?Gn.start(t):"end"===o?Gn.end(t):Fn.common(t.anchor.path,t.focus.path)),Hn.isPoint(t)&&(t=t.path),null!=r&&(t=t.slice(0,r)),t},pathRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return An.pathRefs(e).delete(o),o.current=null,t}};return An.pathRefs(e).add(o),o},pathRefs(e){var t=vn.get(e);return t||(t=new Set,vn.set(e,t)),t},point(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{edge:r="start"}=n;if(Fn.isPath(t)){var o;if("end"===r){var[,i]=Tn.last(e,t);o=i}else{var[,a]=Tn.first(e,t);o=a}var s=Tn.get(e,o);if(!Jn.isText(s))throw new Error("Cannot get the ".concat(r," point in the node at path [").concat(t,"] because it has no ").concat(r," text node."));return{path:o,offset:"end"===r?s.text.length:0}}if(Gn.isRange(t)){var[u,c]=Gn.edges(t);return"start"===r?u:c}return t},pointRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return An.pointRefs(e).delete(o),o.current=null,t}};return An.pointRefs(e).add(o),o},pointRefs(e){var t=bn.get(e);return t||(t=new Set,bn.set(e,t)),t},*positions(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{at:n=e.selection,unit:r="offset",reverse:o=!1}=t;if(n){var i=An.range(e,n),[a,s]=Gn.edges(i),u=o?s:a,c="",l=0,p=0,d=null,f=!1,m=()=>{null==d&&(d="character"===r?In(c):"word"===r?(e=>{for(var t,n=0,r=0,o=!1;t=e.charAt(r);){var i=In(t);t=e.slice(r,r+i);var a=e.slice(r+i);if(xn(t,a))o=!0,n+=i;else{if(o)break;n+=i}r+=i}return n})(c):"line"===r||"block"===r?c.length:1,c=c.slice(d)),p=o?p-d:p+d,d=(l-=d)>=0?null:0-l};for(var[h,g]of An.nodes(e,{at:n,reverse:o})){if(Nn.isElement(h)){if(e.isVoid(h)){yield An.start(e,g);continue}if(e.isInline(h))continue;if(An.hasInlines(e,h)){var v=Fn.isAncestor(g,s.path)?s:An.end(e,g),b=Fn.isAncestor(g,a.path)?a:An.start(e,g),y=An.string(e,{anchor:b,focus:v});c=o?(0,pn.reverse)(y):y,f=!0}}if(Jn.isText(h)){var w=Fn.equals(g,u.path);for(l=h.text.length,p=o?l:0,w&&(l=o?u.offset:l-u.offset,p=u.offset),(w||f||"offset"===r)&&(yield{path:g,offset:p});""!==c&&(m(),l>=0);)yield{path:g,offset:p};f=!1}}}},previous(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection}=t;if(i){var[,a]=An.first(e,i),[,s]=An.first(e,[]),u=[a,s];if(Fn.isPath(i)&&0===i.length)throw new Error("Cannot get the previous node from the root node!");if(null==o)if(Fn.isPath(i)){var[c]=An.parent(e,i);o=e=>c.children.includes(e)}else o=()=>!0;var[,l]=An.nodes(e,{reverse:!0,at:u,match:o,mode:n,voids:r});return l}},range:(e,t,n)=>Gn.isRange(t)&&!n?t:{anchor:An.start(e,t),focus:An.end(e,n||t)},rangeRef(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{affinity:r="forward"}=n,o={current:t,affinity:r,unref(){var{current:t}=o;return An.rangeRefs(e).delete(o),o.current=null,t}};return An.rangeRefs(e).add(o),o},rangeRefs(e){var t=yn.get(e);return t||(t=new Set,yn.set(e,t)),t},removeMark(e,t){e.removeMark(t)},start:(e,t)=>An.point(e,t,{edge:"start"}),string(e,t){var n=An.range(e,t),[r,o]=Gn.edges(n),i="";for(var[a,s]of An.nodes(e,{at:n,match:Jn.isText})){var u=a.text;Fn.equals(s,o.path)&&(u=u.slice(0,o.offset)),Fn.equals(s,r.path)&&(u=u.slice(r.offset)),i+=u}return i},transform(e,t){e.children=cn(e.children);var n=e.selection&&cn(e.selection);switch(t.type){case"insert_node":var{path:r,node:o}=t,i=Tn.parent(e,r),a=r[r.length-1];if(i.children.splice(a,0,o),n)for(var[s,u]of Gn.points(n))n[u]=Hn.transform(s,t);break;case"insert_text":var{path:c,offset:l,text:p}=t,d=Tn.leaf(e,c),f=d.text.slice(0,l),m=d.text.slice(l);if(d.text=f+p+m,n)for(var[h,g]of Gn.points(n))n[g]=Hn.transform(h,t);break;case"merge_node":var{path:v}=t,b=Tn.get(e,v),y=Fn.previous(v),w=Tn.get(e,y),E=Tn.parent(e,v),S=v[v.length-1];if(Jn.isText(b)&&Jn.isText(w))w.text+=b.text;else{if(Jn.isText(b)||Jn.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interaces: ").concat(b," ").concat(w));w.children.push(...b.children)}if(E.children.splice(S,1),n)for(var[I,x]of Gn.points(n))n[x]=Hn.transform(I,t);break;case"move_node":var{path:O,newPath:C}=t;if(Fn.isAncestor(O,C))throw new Error("Cannot move a path [".concat(O,"] to new path [").concat(C,"] because the destination is inside itself."));var D=Tn.get(e,O),P=Tn.parent(e,O),M=O[O.length-1];P.children.splice(M,1);var k=Fn.transform(O,t),A=Tn.get(e,Fn.parent(k)),N=k[k.length-1];if(A.children.splice(N,0,D),n)for(var[j,T]of Gn.points(n))n[T]=Hn.transform(j,t);break;case"remove_node":var{path:L}=t,R=L[L.length-1];if(Tn.parent(e,L).children.splice(R,1),n)for(var[_,F]of Gn.points(n)){var B=Hn.transform(_,t);if(null!=n&&null!=B)n[F]=B;else{var Z=void 0,H=void 0;for(var[U,W]of Tn.texts(e)){if(-1!==Fn.compare(W,L)){H=[U,W];break}Z=[U,W]}Z?(_.path=Z[1],_.offset=Z[0].text.length):H?(_.path=H[1],_.offset=0):n=null}}break;case"remove_text":var{path:G,offset:z,text:q}=t,V=Tn.leaf(e,G),J=V.text.slice(0,z),Y=V.text.slice(z+q.length);if(V.text=J+Y,n)for(var[Q,X]of Gn.points(n))n[X]=Hn.transform(Q,t);break;case"set_node":var{path:K,newProperties:$}=t;if(0===K.length)throw new Error("Cannot set properties on the root node!");var ee=Tn.get(e,K);for(var te in $){if("children"===te||"text"===te)throw new Error('Cannot set the "'.concat(te,'" property of nodes!'));var ne=$[te];null==ne?delete ee[te]:ee[te]=ne}break;case"set_selection":var{newProperties:re}=t;if(null==re)n=re;else if(null==n){if(!Gn.isRange(re))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(re)," when there is no current selection."));n=re}else Object.assign(n,re);break;case"split_node":var{path:oe,position:ie,properties:ae}=t;if(0===oe.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(oe,"] because the root node cannot be split."));var se,ue=Tn.get(e,oe),ce=Tn.parent(e,oe),le=oe[oe.length-1];if(Jn.isText(ue)){var pe=ue.text.slice(0,ie),de=ue.text.slice(ie);ue.text=pe,se=kn({},ue,{},ae,{text:de})}else{var fe=ue.children.slice(0,ie),me=ue.children.slice(ie);ue.children=fe,se=kn({},ue,{},ae,{children:me})}if(ce.children.splice(le+1,0,se),n)for(var[he,ge]of Gn.points(n))n[ge]=Hn.transform(he,t)}e.children=ln(e.children),e.selection=n?ft(n)?ln(n):n:null},unhangRange(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{voids:r=!1}=n,[o,i]=Gn.edges(t);if(0!==o.offset||0!==i.offset||Gn.isCollapsed(t))return t;var a=An.above(e,{at:i,match:t=>An.isBlock(e,t)}),s=a?a[1]:[],u={anchor:An.start(e,[]),focus:i},c=!0;for(var[l,p]of An.nodes(e,{at:u,match:Jn.isText,reverse:!0,voids:r}))if(c)c=!1;else if(""!==l.text||Fn.isBefore(p,s)){i={path:p,offset:l.text.length};break}return{anchor:o,focus:i}},void(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return An.above(e,kn({},t,{match:t=>An.isVoid(e,t)}))},withoutNormalizing(e,t){var n=An.isNormalizing(e);gn.set(e,!1),t(),gn.set(e,n),An.normalize(e)}},Nn={isElement:e=>tt(e)&&Tn.isNodeList(e.children)&&!An.isEditor(e),isElementList:e=>Array.isArray(e)&&(0===e.length||Nn.isElement(e[0])),matches(e,t){for(var n in t)if("children"!==n&&e[n]!==t[n])return!1;return!0}},jn={isSpan:e=>Array.isArray(e)&&2===e.length&&e.every(Fn.isPath)},Tn={ancestor(e,t){var n=Tn.get(e,t);if(Jn.isText(n))throw new Error("Cannot get the ancestor node at path [".concat(t,"] because it refers to a text node instead: ").concat(n));return n},*ancestors(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Fn.ancestors(t,n)){var o=[Tn.ancestor(e,r),r];yield o}},child(e,t){if(Jn.isText(e))throw new Error("Cannot get the child of a text node: ".concat(JSON.stringify(e)));var n=e.children[t];if(null==n)throw new Error("Cannot get child at index `".concat(t,"` in node: ").concat(JSON.stringify(e)));return n},*children(e,t){for(var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{reverse:r=!1}=n,o=Tn.ancestor(e,t),{children:i}=o,a=r?i.length-1:0;r?a>=0:a<i.length;){var s=Tn.child(o,a),u=t.concat(a);yield[s,u],a=r?a-1:a+1}},common(e,t,n){var r=Fn.common(t,n);return[Tn.get(e,r),r]},descendant(e,t){var n=Tn.get(e,t);if(An.isEditor(n))throw new Error("Cannot get the descendant node at path [".concat(t,"] because it refers to the root editor node instead: ").concat(n));return n},*descendants(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Tn.nodes(e,t))0!==r.length&&(yield[n,r])},*elements(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Tn.nodes(e,t))Nn.isElement(n)&&(yield[n,r])},first(e,t){for(var n=t.slice(),r=Tn.get(e,n);r&&!Jn.isText(r)&&0!==r.children.length;)r=r.children[0],n.push(0);return[r,n]},fragment(e,t){if(Jn.isText(e))throw new Error("Cannot get a fragment starting from a root text node: ".concat(JSON.stringify(e)));return un(e,(e=>{var[n,r]=Gn.edges(t),o=Tn.nodes(e,{reverse:!0,pass:e=>{var[,n]=e;return!Gn.includes(t,n)}});for(var[,i]of o){if(!Gn.includes(t,i)){var a=Tn.parent(e,i),s=i[i.length-1];a.children.splice(s,1)}if(Fn.equals(i,r.path)){var u=Tn.leaf(e,i);u.text=u.text.slice(0,r.offset)}if(Fn.equals(i,n.path)){var c=Tn.leaf(e,i);c.text=c.text.slice(n.offset)}}delete e.selection})).children},get(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Jn.isText(n)||!n.children[o])throw new Error("Cannot find a descendant at path [".concat(t,"] in node: ").concat(JSON.stringify(e)));n=n.children[o]}return n},has(e,t){for(var n=e,r=0;r<t.length;r++){var o=t[r];if(Jn.isText(n)||!n.children[o])return!1;n=n.children[o]}return!0},isNode:e=>Jn.isText(e)||Nn.isElement(e)||An.isEditor(e),isNodeList:e=>Array.isArray(e)&&(0===e.length||Tn.isNode(e[0])),last(e,t){for(var n=t.slice(),r=Tn.get(e,n);r&&!Jn.isText(r)&&0!==r.children.length;){var o=r.children.length-1;r=r.children[o],n.push(o)}return[r,n]},leaf(e,t){var n=Tn.get(e,t);if(!Jn.isText(n))throw new Error("Cannot get the leaf node at path [".concat(t,"] because it refers to a non-leaf node: ").concat(n));return n},*levels(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};for(var r of Fn.levels(t,n)){var o=Tn.get(e,r);yield[o,r]}},matches:(e,t)=>Nn.isElement(e)&&Nn.matches(e,t)||Jn.isText(e)&&Jn.matches(e,t),*nodes(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{pass:n,reverse:r=!1}=t,{from:o=[],to:i}=t,a=new Set,s=[],u=e;!i||!(r?Fn.isBefore(s,i):Fn.isAfter(s,i));)if(a.has(u)||(yield[u,s]),a.has(u)||Jn.isText(u)||0===u.children.length||null!=n&&!1!==n([u,s])){if(0===s.length)break;if(!r){var c=Fn.next(s);if(Tn.has(e,c)){s=c,u=Tn.get(e,s);continue}}if(r&&0!==s[s.length-1])s=Fn.previous(s),u=Tn.get(e,s);else s=Fn.parent(s),u=Tn.get(e,s),a.add(u)}else{a.add(u);var l=r?u.children.length-1:0;Fn.isAncestor(s,o)&&(l=o[s.length]),s=s.concat(l),u=Tn.get(e,s)}},parent(e,t){var n=Fn.parent(t),r=Tn.get(e,n);if(Jn.isText(r))throw new Error("Cannot get the parent of path [".concat(t,"] because it does not exist in the root."));return r},string:e=>Jn.isText(e)?e.text:e.children.map(Tn.string).join(""),*texts(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};for(var[n,r]of Tn.nodes(e,t))Jn.isText(n)&&(yield[n,r])}};function Ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _n={isNodeOperation:e=>_n.isOperation(e)&&e.type.endsWith("_node"),isOperation(e){if(!tt(e))return!1;switch(e.type){case"insert_node":return Fn.isPath(e.path)&&Tn.isNode(e.node);case"insert_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Fn.isPath(e.path);case"merge_node":return"number"==typeof e.position&&("number"==typeof e.target||null===e.target)&&Fn.isPath(e.path)&&tt(e.properties);case"move_node":return Fn.isPath(e.path)&&Fn.isPath(e.newPath);case"remove_node":return Fn.isPath(e.path)&&Tn.isNode(e.node);case"remove_text":return"number"==typeof e.offset&&"string"==typeof e.text&&Fn.isPath(e.path);case"set_node":return Fn.isPath(e.path)&&tt(e.properties)&&tt(e.newProperties);case"set_selection":return null===e.properties&&Gn.isRange(e.newProperties)||null===e.newProperties&&Gn.isRange(e.properties)||tt(e.properties)&&tt(e.newProperties);case"split_node":return Fn.isPath(e.path)&&"number"==typeof e.position&&("number"==typeof e.target||null===e.target)&&tt(e.properties);default:return!1}},isOperationList:e=>Array.isArray(e)&&(0===e.length||_n.isOperation(e[0])),isSelectionOperation:e=>_n.isOperation(e)&&e.type.endsWith("_selection"),isTextOperation:e=>_n.isOperation(e)&&e.type.endsWith("_text"),inverse(e){switch(e.type){case"insert_node":return Rn({},e,{type:"remove_node"});case"insert_text":return Rn({},e,{type:"remove_text"});case"merge_node":return Rn({},e,{type:"split_node",path:Fn.previous(e.path)});case"move_node":var{newPath:t,path:n}=e;return Fn.equals(t,n)?e:Rn({},e,{path:Fn.transform(n,e),newPath:Fn.transform(Fn.next(n),e)});case"remove_node":return Rn({},e,{type:"insert_node"});case"remove_text":return Rn({},e,{type:"insert_text"});case"set_node":var{properties:r,newProperties:o}=e;return Rn({},e,{properties:o,newProperties:r});case"set_selection":var{properties:i,newProperties:a}=e;return Rn({},e,null==i?{properties:a,newProperties:null}:null==a?{properties:null,newProperties:i}:{properties:a,newProperties:i});case"split_node":return Rn({},e,{type:"merge_node",path:Fn.next(e.path)})}}},Fn={ancestors(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=Fn.levels(e,t);return r=n?r.slice(1):r.slice(0,-1)},common(e,t){for(var n=[],r=0;r<e.length&&r<t.length;r++){var o=e[r];if(o!==t[r])break;n.push(o)}return n},compare(e,t){for(var n=Math.min(e.length,t.length),r=0;r<n;r++){if(e[r]<t[r])return-1;if(e[r]>t[r])return 1}return 0},endsAfter(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Fn.equals(r,o)&&i>a},endsAt(e,t){var n=e.length,r=e.slice(0,n),o=t.slice(0,n);return Fn.equals(r,o)},endsBefore(e,t){var n=e.length-1,r=e.slice(0,n),o=t.slice(0,n),i=e[n],a=t[n];return Fn.equals(r,o)&&i<a},equals:(e,t)=>e.length===t.length&&e.every(((e,n)=>e===t[n])),isAfter:(e,t)=>1===Fn.compare(e,t),isAncestor:(e,t)=>e.length<t.length&&0===Fn.compare(e,t),isBefore:(e,t)=>-1===Fn.compare(e,t),isChild:(e,t)=>e.length===t.length+1&&0===Fn.compare(e,t),isCommon:(e,t)=>e.length<=t.length&&0===Fn.compare(e,t),isDescendant:(e,t)=>e.length>t.length&&0===Fn.compare(e,t),isParent:(e,t)=>e.length+1===t.length&&0===Fn.compare(e,t),isPath:e=>Array.isArray(e)&&(0===e.length||"number"==typeof e[0]),isSibling(e,t){if(e.length!==t.length)return!1;var n=e.slice(0,-1),r=t.slice(0,-1);return e[e.length-1]!==t[t.length-1]&&Fn.equals(n,r)},levels(e){for(var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,r=[],o=0;o<=e.length;o++)r.push(e.slice(0,o));return n&&r.reverse(),r},next(e){if(0===e.length)throw new Error("Cannot get the next path of a root path [".concat(e,"], because it has no next index."));var t=e[e.length-1];return e.slice(0,-1).concat(t+1)},parent(e){if(0===e.length)throw new Error("Cannot get the parent path of the root path [".concat(e,"]."));return e.slice(0,-1)},previous(e){if(0===e.length)throw new Error("Cannot get the previous path of a root path [".concat(e,"], because it has no previous index."));var t=e[e.length-1];if(t<=0)throw new Error("Cannot get the previous path of a first child path [".concat(e,"] because it would result in a negative index."));return e.slice(0,-1).concat(t-1)},relative(e,t){if(!Fn.isAncestor(t,e)&&!Fn.equals(e,t))throw new Error("Cannot get the relative path of [".concat(e,"] inside ancestor [").concat(t,"], because it is not above or equal to the path."));return e.slice(t.length)},transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return un(e,(r=>{var{affinity:o="forward"}=n;if(0!==e.length)switch(t.type){case"insert_node":var{path:i}=t;(Fn.equals(i,r)||Fn.endsBefore(i,r)||Fn.isAncestor(i,r))&&(r[i.length-1]+=1);break;case"remove_node":var{path:a}=t;if(Fn.equals(a,r)||Fn.isAncestor(a,r))return null;Fn.endsBefore(a,r)&&(r[a.length-1]-=1);break;case"merge_node":var{path:s,position:u}=t;Fn.equals(s,r)||Fn.endsBefore(s,r)?r[s.length-1]-=1:Fn.isAncestor(s,r)&&(r[s.length-1]-=1,r[s.length]+=u);break;case"split_node":var{path:c,position:l}=t;if(Fn.equals(c,r)){if("forward"===o)r[r.length-1]+=1;else if("backward"!==o)return null}else Fn.endsBefore(c,r)?r[c.length-1]+=1:Fn.isAncestor(c,r)&&e[c.length]>=l&&(r[c.length-1]+=1,r[c.length]-=l);break;case"move_node":var{path:p,newPath:d}=t;if(Fn.equals(p,d))return;if(Fn.isAncestor(p,r)||Fn.equals(p,r)){var f=d.slice();if(Fn.endsBefore(p,d)&&p.length<d.length)f[Math.min(d.length,p.length)-1]-=1;return f.concat(r.slice(p.length))}Fn.endsBefore(d,r)||Fn.equals(d,r)||Fn.isAncestor(d,r)?(Fn.endsBefore(p,r)&&(r[p.length-1]-=1),r[d.length-1]+=1):Fn.endsBefore(p,r)&&(Fn.equals(d,r)&&(r[d.length-1]+=1),r[p.length-1]-=1)}}))}},Bn={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Fn.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function Zn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Hn={compare(e,t){var n=Fn.compare(e.path,t.path);return 0===n?e.offset<t.offset?-1:e.offset>t.offset?1:0:n},isAfter:(e,t)=>1===Hn.compare(e,t),isBefore:(e,t)=>-1===Hn.compare(e,t),equals:(e,t)=>e.offset===t.offset&&Fn.equals(e.path,t.path),isPoint:e=>tt(e)&&"number"==typeof e.offset&&Fn.isPath(e.path),transform(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return un(e,(e=>{var{affinity:r="forward"}=n,{path:o,offset:i}=e;switch(t.type){case"insert_node":case"move_node":e.path=Fn.transform(o,t,n);break;case"insert_text":Fn.equals(t.path,o)&&t.offset<=i&&(e.offset+=t.text.length);break;case"merge_node":Fn.equals(t.path,o)&&(e.offset+=t.position),e.path=Fn.transform(o,t,n);break;case"remove_text":Fn.equals(t.path,o)&&t.offset<=i&&(e.offset-=Math.min(i-t.offset,t.text.length));break;case"remove_node":if(Fn.equals(t.path,o)||Fn.isAncestor(t.path,o))return null;e.path=Fn.transform(o,t,n);break;case"split_node":if(Fn.equals(t.path,o)){if(t.position===i&&null==r)return null;(t.position<i||t.position===i&&"forward"===r)&&(e.offset-=t.position,e.path=Fn.transform(o,t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},n,{affinity:"forward"})))}else e.path=Fn.transform(o,t,n)}}))}},Un={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Hn.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function Wn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Gn={edges(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{reverse:n=!1}=t,{anchor:r,focus:o}=e;return Gn.isBackward(e)===n?[r,o]:[o,r]},end(e){var[,t]=Gn.edges(e);return t},equals:(e,t)=>Hn.equals(e.anchor,t.anchor)&&Hn.equals(e.focus,t.focus),includes(e,t){if(Gn.isRange(t)){if(Gn.includes(e,t.anchor)||Gn.includes(e,t.focus))return!0;var[n,r]=Gn.edges(e),[o,i]=Gn.edges(t);return Hn.isBefore(n,o)&&Hn.isAfter(r,i)}var[a,s]=Gn.edges(e),u=!1,c=!1;return Hn.isPoint(t)?(u=Hn.compare(t,a)>=0,c=Hn.compare(t,s)<=0):(u=Fn.compare(t,a.path)>=0,c=Fn.compare(t,s.path)<=0),u&&c},intersection(e,t){var n=fn(e,["anchor","focus"]),[r,o]=Gn.edges(e),[i,a]=Gn.edges(t),s=Hn.isBefore(r,i)?i:r,u=Hn.isBefore(o,a)?o:a;return Hn.isBefore(u,s)?null:function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({anchor:s,focus:u},n)},isBackward(e){var{anchor:t,focus:n}=e;return Hn.isAfter(t,n)},isCollapsed(e){var{anchor:t,focus:n}=e;return Hn.equals(t,n)},isExpanded:e=>!Gn.isCollapsed(e),isForward:e=>!Gn.isBackward(e),isRange:e=>tt(e)&&Hn.isPoint(e.anchor)&&Hn.isPoint(e.focus),*points(e){yield[e.anchor,"anchor"],yield[e.focus,"focus"]},start(e){var[t]=Gn.edges(e);return t},transform(e,t,n){var r,o,{affinity:i="inward"}=n;return"inward"===i?Gn.isForward(e)?(r="forward",o="backward"):(r="backward",o="forward"):"outward"===i?Gn.isForward(e)?(r="backward",o="forward"):(r="forward",o="backward"):(r=i,o=i),un(e,(e=>{var n=Hn.transform(e.anchor,t,{affinity:r}),i=Hn.transform(e.focus,t,{affinity:o});if(!n||!i)return null;e.anchor=n,e.focus=i}))}},zn={transform(e,t){var{current:n,affinity:r}=e;if(null!=n){var o=Gn.transform(n,t,{affinity:r});e.current=o,null==o&&e.unref()}}};function qn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jn={equals(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{loose:r=!1}=n;for(var o in e)if((!r||"text"!==o)&&e[o]!==t[o])return!1;for(var i in t)if((!r||"text"!==i)&&e[i]!==t[i])return!1;return!0},isText:e=>tt(e)&&"string"==typeof e.text,isTextList:e=>Array.isArray(e)&&(0===e.length||Jn.isText(e[0])),matches(e,t){for(var n in t)if("text"!==n&&e[n]!==t[n])return!1;return!0},decorations(e,t){var n=[Vn({},e)];for(var r of t){var o=fn(r,["anchor","focus"]),[i,a]=Gn.edges(r),s=[],u=0;for(var c of n){var{length:l}=c.text,p=u;if(u+=l,i.offset<=p&&a.offset>=p+l)Object.assign(c,o),s.push(c);else if(i.offset>p+l||a.offset<p||a.offset===p&&0!==p)s.push(c);else{var d=c,f=void 0,m=void 0;if(a.offset<p+l){var h=a.offset-p;m=Vn({},d,{text:d.text.slice(h)}),d=Vn({},d,{text:d.text.slice(0,h)})}if(i.offset>p){var g=i.offset-p;f=Vn({},d,{text:d.text.slice(0,g)}),d=Vn({},d,{text:d.text.slice(g)})}Object.assign(d,o),f&&s.push(f),s.push(d),m&&s.push(m)}}n=s}return n}};function Yn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Yn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Yn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Kn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xn(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $n={insertNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};An.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1,mode:i="lowest"}=n,{at:a,match:s,select:u}=n;if(Tn.isNode(t)&&(t=[t]),0!==t.length){var[c]=t;if(a||(a=e.selection?e.selection:e.children.length>0?An.end(e,[]):[0],u=!0),null==u&&(u=!1),Gn.isRange(a))if(r||(a=An.unhangRange(e,a)),Gn.isCollapsed(a))a=a.anchor;else{var[,l]=Gn.edges(a),p=An.pointRef(e,l);ir.delete(e,{at:a}),a=p.unref()}if(Hn.isPoint(a)){null==s&&(s=Jn.isText(c)?e=>Jn.isText(e):e.isInline(c)?t=>Jn.isText(t)||An.isInline(e,t):t=>An.isBlock(e,t));var[d]=An.nodes(e,{at:a.path,match:s,mode:i,voids:o});if(!d)return;var[,f]=d,m=An.pathRef(e,f),h=An.isEnd(e,a,f);ir.splitNodes(e,{at:a,match:s,mode:i,voids:o});var g=m.unref();a=h?Fn.next(g):g}var v=Fn.parent(a),b=a[a.length-1];if(o||!An.void(e,{at:v})){for(var y of t){var w=v.concat(b);b++,e.apply({type:"insert_node",path:w,node:y})}if(u){var E=An.end(e,a);E&&ir.select(e,E)}}}}))},liftNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};An.withoutNormalizing(e,(()=>{var{at:n=e.selection,mode:r="lowest",voids:o=!1}=t,{match:i}=t;if(null==i&&(i=Fn.isPath(n)?tr(e,n):t=>An.isBlock(e,t)),n){var a=An.nodes(e,{at:n,match:i,mode:r,voids:o}),s=Array.from(a,(t=>{var[,n]=t;return An.pathRef(e,n)}));for(var u of s){var c=u.unref();if(c.length<2)throw new Error("Cannot lift node at a path [".concat(c,"] because it has a depth of less than `2`."));var l=An.node(e,Fn.parent(c)),[p,d]=l,f=c[c.length-1],{length:m}=p.children;if(1===m){var h=Fn.next(d);ir.moveNodes(e,{at:c,to:h,voids:o}),ir.removeNodes(e,{at:d,voids:o})}else if(0===f)ir.moveNodes(e,{at:c,to:d,voids:o});else if(f===m-1){var g=Fn.next(d);ir.moveNodes(e,{at:c,to:g,voids:o})}else{var v=Fn.next(c),b=Fn.next(d);ir.splitNodes(e,{at:v,voids:o}),ir.moveNodes(e,{at:c,to:b,voids:o})}}}}))},mergeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};An.withoutNormalizing(e,(()=>{var{match:n,at:r=e.selection}=t,{hanging:o=!1,voids:i=!1,mode:a="lowest"}=t;if(r){if(null==n)if(Fn.isPath(r)){var[s]=An.parent(e,r);n=e=>s.children.includes(e)}else n=t=>An.isBlock(e,t);if(!o&&Gn.isRange(r)&&(r=An.unhangRange(e,r)),Gn.isRange(r))if(Gn.isCollapsed(r))r=r.anchor;else{var[,u]=Gn.edges(r),c=An.pointRef(e,u);ir.delete(e,{at:r}),r=c.unref(),null==t.at&&ir.select(e,r)}var[l]=An.nodes(e,{at:r,match:n,voids:i,mode:a}),p=An.previous(e,{at:r,match:n,voids:i,mode:a});if(l&&p){var[d,f]=l,[m,h]=p;if(0!==f.length&&0!==h.length){var g,v,b=Fn.next(h),y=Fn.common(f,h),w=Fn.isSibling(f,h),E=Array.from(An.levels(e,{at:f}),(e=>{var[t]=e;return t})).slice(y.length).slice(0,-1),S=An.above(e,{at:f,mode:"highest",match:e=>E.includes(e)&&Nn.isElement(e)&&1===e.children.length}),I=S&&An.pathRef(e,S[1]);if(Jn.isText(d)&&Jn.isText(m)){var x=fn(d,["text"]);v=m.text.length,g=x}else{if(!Nn.isElement(d)||!Nn.isElement(m))throw new Error("Cannot merge the node at path [".concat(f,"] with the previous sibling because it is not the same kind: ").concat(JSON.stringify(d)," ").concat(JSON.stringify(m)));x=fn(d,["children"]);v=m.children.length,g=x}w||ir.moveNodes(e,{at:f,to:b,voids:i}),I&&ir.removeNodes(e,{at:I.current,voids:i}),Nn.isElement(m)&&An.isEmpty(e,m)||Jn.isText(m)&&""===m.text?ir.removeNodes(e,{at:h,voids:i}):e.apply({type:"merge_node",path:b,position:v,target:null,properties:g}),I&&I.unref()}}}}))},moveNodes(e,t){An.withoutNormalizing(e,(()=>{var{to:n,at:r=e.selection,mode:o="lowest",voids:i=!1}=t,{match:a}=t;if(r){null==a&&(a=Fn.isPath(r)?tr(e,r):t=>An.isBlock(e,t));var s=An.pathRef(e,n),u=An.nodes(e,{at:r,match:a,mode:o,voids:i}),c=Array.from(u,(t=>{var[,n]=t;return An.pathRef(e,n)}));for(var l of c){var p=l.unref(),d=s.current;0!==p.length&&e.apply({type:"move_node",path:p,newPath:d})}s.unref()}}))},removeNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};An.withoutNormalizing(e,(()=>{var{hanging:n=!1,voids:r=!1,mode:o="lowest"}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Fn.isPath(i)?tr(e,i):t=>An.isBlock(e,t)),!n&&Gn.isRange(i)&&(i=An.unhangRange(e,i));var s=An.nodes(e,{at:i,match:a,mode:o,voids:r}),u=Array.from(s,(t=>{var[,n]=t;return An.pathRef(e,n)}));for(var c of u){var l=c.unref();if(l){var[p]=An.node(e,l);e.apply({type:"remove_node",path:l,node:p})}}}}))},setNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};An.withoutNormalizing(e,(()=>{var{match:r,at:o=e.selection}=n,{hanging:i=!1,mode:a="lowest",split:s=!1,voids:u=!1}=n;if(o){if(null==r&&(r=Fn.isPath(o)?tr(e,o):t=>An.isBlock(e,t)),!i&&Gn.isRange(o)&&(o=An.unhangRange(e,o)),s&&Gn.isRange(o)){var c=An.rangeRef(e,o,{affinity:"inward"}),[l,p]=Gn.edges(o),d="lowest"===a?"lowest":"highest";ir.splitNodes(e,{at:p,match:r,mode:d,voids:u}),ir.splitNodes(e,{at:l,match:r,mode:d,voids:u}),o=c.unref(),null==n.at&&ir.select(e,o)}for(var[f,m]of An.nodes(e,{at:o,match:r,mode:a,voids:u})){var h={},g={};if(0!==m.length){for(var v in t)"children"!==v&&"text"!==v&&t[v]!==f[v]&&(h[v]=f[v],g[v]=t[v]);0!==Object.keys(g).length&&e.apply({type:"set_node",path:m,properties:h,newProperties:g})}}}}))},splitNodes(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};An.withoutNormalizing(e,(()=>{var{mode:n="lowest",voids:r=!1}=t,{match:o,at:i=e.selection,height:a=0,always:s=!1}=t;if(null==o&&(o=t=>An.isBlock(e,t)),Gn.isRange(i)&&(i=er(e,i)),Fn.isPath(i)){var u=i,c=An.point(e,u),[l]=An.parent(e,u);o=e=>e===l,a=c.path.length-u.length+1,i=c,s=!0}if(i){var p=An.pointRef(e,i,{affinity:"backward"}),[d]=An.nodes(e,{at:i,match:o,mode:n,voids:r});if(d){var f=An.void(e,{at:i,mode:"highest"});if(!r&&f){var[m,h]=f;if(Nn.isElement(m)&&e.isInline(m)){var g=An.after(e,h);if(!g){var v=Fn.next(h);ir.insertNodes(e,{text:""},{at:v,voids:r}),g=An.point(e,v)}i=g,s=!0}a=i.path.length-h.length+1,s=!0}var b=An.pointRef(e,i),y=i.path.length-a,[,w]=d,E=i.path.slice(0,y),S=0===a?i.offset:i.path[y]+0,I=null;for(var[x,O]of An.levels(e,{at:E,reverse:!0,voids:r})){var C=!1;if(O.length<w.length||0===O.length||!r&&An.isVoid(e,x))break;var D=p.current,P=An.isEnd(e,D,O);if(s||!p||!An.isEdge(e,D,O)){C=!0;var M=fn(x,["text","children"]);e.apply({type:"split_node",path:O,position:S,target:I,properties:M})}I=S,S=O[O.length-1]+(C||P?1:0)}if(null==t.at){var k=b.current||An.end(e,[]);ir.select(e,k)}p.unref(),b.unref()}}}))},unsetNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};Array.isArray(t)||(t=[t]);var r={};for(var o of t)r[o]=null;ir.setNodes(e,r,n)},unwrapNodes(e,t){An.withoutNormalizing(e,(()=>{var{mode:n="lowest",split:r=!1,voids:o=!1}=t,{at:i=e.selection,match:a}=t;if(i){null==a&&(a=Fn.isPath(i)?tr(e,i):t=>An.isBlock(e,t)),Fn.isPath(i)&&(i=An.range(e,i));var s=Gn.isRange(i)?An.rangeRef(e,i):null,u=An.nodes(e,{at:i,match:a,mode:n,voids:o}),c=Array.from(u,(t=>{var[,n]=t;return An.pathRef(e,n)})),l=function(t){var n=t.unref(),[i]=An.node(e,n),a=An.range(e,n);r&&s&&(a=Gn.intersection(s.current,a)),ir.liftNodes(e,{at:a,match:e=>i.children.includes(e),voids:o})};for(var p of c)l(p);s&&s.unref()}}))},wrapNodes(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};An.withoutNormalizing(e,(()=>{var{mode:r="lowest",split:o=!1,voids:i=!1}=n,{match:a,at:s=e.selection}=n;if(s){if(null==a&&(a=Fn.isPath(s)?tr(e,s):e.isInline(t)?t=>An.isInline(e,t)||Jn.isText(t):t=>An.isBlock(e,t)),o&&Gn.isRange(s)){var[u,c]=Gn.edges(s),l=An.rangeRef(e,s,{affinity:"inward"});ir.splitNodes(e,{at:c,match:a,voids:i}),ir.splitNodes(e,{at:u,match:a,voids:i}),s=l.unref(),null==n.at&&ir.select(e,s)}var p=Array.from(An.nodes(e,{at:s,match:e.isInline(t)?t=>An.isBlock(e,t):e=>An.isEditor(e),mode:"lowest",voids:i}));for(var[,d]of p){var f=Gn.isRange(s)?Gn.intersection(s,An.range(e,d)):s;if(f){var m=Array.from(An.nodes(e,{at:f,match:a,mode:r,voids:i}));m.length>0&&function(){var[n]=m,r=m[m.length-1],[,o]=n,[,a]=r,s=Fn.equals(o,a)?Fn.parent(o):Fn.common(o,a),u=An.range(e,o,a),c=An.node(e,s),[l]=c,p=s.length+1,d=Fn.next(a.slice(0,p)),f=Kn({},t,{children:[]});ir.insertNodes(e,f,{at:d,voids:i}),ir.moveNodes(e,{at:u,match:e=>l.children.includes(e),to:d.concat(0),voids:i})}()}}}}))}},er=(e,t)=>{if(Gn.isCollapsed(t))return t.anchor;var[,n]=Gn.edges(t),r=An.pointRef(e,n);return ir.delete(e,{at:t}),r.unref()},tr=(e,t)=>{var[n]=An.node(e,t);return e=>e===n};function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ir=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},{transform(e,t){e.children=cn(e.children);var n=e.selection&&cn(e.selection);switch(t.type){case"insert_node":var{path:r,node:o}=t,i=Tn.parent(e,r),a=r[r.length-1];if(i.children.splice(a,0,o),n)for(var[s,u]of Gn.points(n))n[u]=Hn.transform(s,t);break;case"insert_text":var{path:c,offset:l,text:p}=t,d=Tn.leaf(e,c),f=d.text.slice(0,l),m=d.text.slice(l);if(d.text=f+p+m,n)for(var[h,g]of Gn.points(n))n[g]=Hn.transform(h,t);break;case"merge_node":var{path:v}=t,b=Tn.get(e,v),y=Fn.previous(v),w=Tn.get(e,y),E=Tn.parent(e,v),S=v[v.length-1];if(Jn.isText(b)&&Jn.isText(w))w.text+=b.text;else{if(Jn.isText(b)||Jn.isText(w))throw new Error('Cannot apply a "merge_node" operation at path ['.concat(v,"] to nodes of different interaces: ").concat(b," ").concat(w));w.children.push(...b.children)}if(E.children.splice(S,1),n)for(var[I,x]of Gn.points(n))n[x]=Hn.transform(I,t);break;case"move_node":var{path:O,newPath:C}=t;if(Fn.isAncestor(O,C))throw new Error("Cannot move a path [".concat(O,"] to new path [").concat(C,"] because the destination is inside itself."));var D=Tn.get(e,O),P=Tn.parent(e,O),M=O[O.length-1];P.children.splice(M,1);var k=Fn.transform(O,t),A=Tn.get(e,Fn.parent(k)),N=k[k.length-1];if(A.children.splice(N,0,D),n)for(var[j,T]of Gn.points(n))n[T]=Hn.transform(j,t);break;case"remove_node":var{path:L}=t,R=L[L.length-1];if(Tn.parent(e,L).children.splice(R,1),n)for(var[_,F]of Gn.points(n)){var B=Hn.transform(_,t);if(null!=n&&null!=B)n[F]=B;else{var Z=void 0,H=void 0;for(var[U,W]of Tn.texts(e)){if(-1!==Fn.compare(W,L)){H=[U,W];break}Z=[U,W]}Z?(_.path=Z[1],_.offset=Z[0].text.length):H?(_.path=H[1],_.offset=0):n=null}}break;case"remove_text":var{path:G,offset:z,text:q}=t,V=Tn.leaf(e,G),J=V.text.slice(0,z),Y=V.text.slice(z+q.length);if(V.text=J+Y,n)for(var[Q,X]of Gn.points(n))n[X]=Hn.transform(Q,t);break;case"set_node":var{path:K,newProperties:$}=t;if(0===K.length)throw new Error("Cannot set properties on the root node!");var ee=Tn.get(e,K);for(var te in $){if("children"===te||"text"===te)throw new Error('Cannot set the "'.concat(te,'" property of nodes!'));var ne=$[te];null==ne?delete ee[te]:ee[te]=ne}break;case"set_selection":var{newProperties:re}=t;if(null==re)n=re;else if(null==n){if(!Gn.isRange(re))throw new Error('Cannot apply an incomplete "set_selection" operation properties '.concat(JSON.stringify(re)," when there is no current selection."));n=re}else Object.assign(n,re);break;case"split_node":var{path:oe,position:ie,properties:ae}=t;if(0===oe.length)throw new Error('Cannot apply a "split_node" operation at path ['.concat(oe,"] because the root node cannot be split."));var se,ue=Tn.get(e,oe),ce=Tn.parent(e,oe),le=oe[oe.length-1];if(Jn.isText(ue)){var pe=ue.text.slice(0,ie),de=ue.text.slice(ie);ue.text=pe,se=Qn({},ue,{},ae,{text:de})}else{var fe=ue.children.slice(0,ie),me=ue.children.slice(ie);ue.children=fe,se=Qn({},ue,{},ae,{children:me})}if(ce.children.splice(le+1,0,se),n)for(var[he,ge]of Gn.points(n))n[ge]=Hn.transform(he,t)}e.children=ln(e.children),e.selection=n?ft(n)?ln(n):n:null}},{},$n,{},{collapse(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{edge:n="anchor"}=t,{selection:r}=e;if(r)if("anchor"===n)ir.select(e,r.anchor);else if("focus"===n)ir.select(e,r.focus);else if("start"===n){var[o]=Gn.edges(r);ir.select(e,o)}else if("end"===n){var[,i]=Gn.edges(r);ir.select(e,i)}},deselect(e){var{selection:t}=e;t&&e.apply({type:"set_selection",properties:t,newProperties:null})},move(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{selection:n}=e,{distance:r=1,unit:o="character",reverse:i=!1}=t,{edge:a=null}=t;if(n){"start"===a&&(a=Gn.isBackward(n)?"focus":"anchor"),"end"===a&&(a=Gn.isBackward(n)?"anchor":"focus");var{anchor:s,focus:u}=n,c={distance:r,unit:o},l={};if(null==a||"anchor"===a){var p=i?An.before(e,s,c):An.after(e,s,c);p&&(l.anchor=p)}if(null==a||"focus"===a){var d=i?An.before(e,u,c):An.after(e,u,c);d&&(l.focus=d)}ir.setSelection(e,l)}},select(e,t){var{selection:n}=e;if(t=An.range(e,t),n)ir.setSelection(e,t);else{if(!Gn.isRange(t))throw new Error("When setting the selection and the current selection is `null` you must provide at least an `anchor` and `focus`, but you passed: ".concat(JSON.stringify(t)));e.apply({type:"set_selection",properties:n,newProperties:t})}},setPoint(e,t,n){var{selection:r}=e,{edge:o="both"}=n;if(r){"start"===o&&(o=Gn.isBackward(r)?"focus":"anchor"),"end"===o&&(o=Gn.isBackward(r)?"anchor":"focus");var{anchor:i,focus:a}=r,s="anchor"===o?i:a;ir.setSelection(e,{["anchor"===o?"anchor":"focus"]:rr({},s,{},t)})}},setSelection(e,t){var{selection:n}=e,r={},o={};if(n){for(var i in t)("anchor"===i&&null!=t.anchor&&!Hn.equals(t.anchor,n.anchor)||"focus"===i&&null!=t.focus&&!Hn.equals(t.focus,n.focus)||"anchor"!==i&&"focus"!==i&&t[i]!==n[i])&&(r[i]=n[i],o[i]=t[i]);Object.keys(r).length>0&&e.apply({type:"set_selection",properties:r,newProperties:o})}}},{},{delete(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};An.withoutNormalizing(e,(()=>{var{reverse:n=!1,unit:r="character",distance:o=1,voids:i=!1}=t,{at:a=e.selection,hanging:s=!1}=t;if(a){if(Gn.isRange(a)&&Gn.isCollapsed(a)&&(a=a.anchor),Hn.isPoint(a)){var u=An.void(e,{at:a,mode:"highest"});if(!i&&u){var[,c]=u;a=c}else{var l={unit:r,distance:o};a={anchor:a,focus:n?An.before(e,a,l)||An.start(e,[]):An.after(e,a,l)||An.end(e,[])},s=!0}}if(Fn.isPath(a))ir.removeNodes(e,{at:a,voids:i});else if(!Gn.isCollapsed(a)){s||(a=An.unhangRange(e,a,{voids:i}));var[p,d]=Gn.edges(a),f=An.above(e,{match:t=>An.isBlock(e,t),at:p,voids:i}),m=An.above(e,{match:t=>An.isBlock(e,t),at:d,voids:i}),h=f&&m&&!Fn.equals(f[1],m[1]),g=Fn.equals(p.path,d.path),v=i?null:An.void(e,{at:p,mode:"highest"}),b=i?null:An.void(e,{at:d,mode:"highest"});if(v){var y=An.before(e,p);y&&f&&Fn.isAncestor(f[1],y.path)&&(p=y)}if(b){var w=An.after(e,d);w&&m&&Fn.isAncestor(m[1],w.path)&&(d=w)}var E,S=[];for(var I of An.nodes(e,{at:a,voids:i})){var[x,O]=I;E&&0===Fn.compare(O,E)||(!i&&An.isVoid(e,x)||!Fn.isCommon(O,p.path)&&!Fn.isCommon(O,d.path))&&(S.push(I),E=O)}var C=Array.from(S,(t=>{var[,n]=t;return An.pathRef(e,n)})),D=An.pointRef(e,p),P=An.pointRef(e,d);if(!g&&!v){var M=D.current,[k]=An.leaf(e,M),{path:A}=M,{offset:N}=p,j=k.text.slice(N);e.apply({type:"remove_text",path:A,offset:N,text:j})}for(var T of C){var L=T.unref();ir.removeNodes(e,{at:L,voids:i})}if(!b){var R=P.current,[_]=An.leaf(e,R),{path:F}=R,B=g?p.offset:0,Z=_.text.slice(B,d.offset);e.apply({type:"remove_text",path:F,offset:B,text:Z})}!g&&h&&P.current&&D.current&&ir.mergeNodes(e,{at:P.current,hanging:!0,voids:i});var H=P.unref()||D.unref();null==t.at&&H&&ir.select(e,H)}}}))},insertFragment(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};An.withoutNormalizing(e,(()=>{var{hanging:r=!1,voids:o=!1}=n,{at:i=e.selection}=n;if(t.length&&i){if(Gn.isRange(i))if(r||(i=An.unhangRange(e,i)),Gn.isCollapsed(i))i=i.anchor;else{var[,a]=Gn.edges(i);if(!o&&An.void(e,{at:a}))return;var s=An.pointRef(e,a);ir.delete(e,{at:i}),i=s.unref()}else Fn.isPath(i)&&(i=An.start(e,i));if(o||!An.void(e,{at:i})){var u=An.above(e,{at:i,match:t=>An.isInline(e,t),mode:"highest",voids:o});if(u){var[,c]=u;if(An.isEnd(e,i,c))i=An.after(e,c);else if(An.isStart(e,i,c)){i=An.before(e,c)}}var l=An.above(e,{match:t=>An.isBlock(e,t),at:i,voids:o}),[,p]=l,d=An.isStart(e,i,p),f=An.isEnd(e,i,p),m=!d||d&&f,h=!f,[,g]=Tn.first({children:t},[]),[,v]=Tn.last({children:t},[]),b=[],y=t=>{var[n,r]=t;return!(m&&Fn.isAncestor(r,g)&&Nn.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))&&!(h&&Fn.isAncestor(r,v)&&Nn.isElement(n)&&!e.isVoid(n)&&!e.isInline(n))};for(var w of Tn.nodes({children:t},{pass:y}))w[1].length>0&&y(w)&&b.push(w);var E=[],S=[],I=[],x=!0,O=!1;for(var[C]of b)Nn.isElement(C)&&!e.isInline(C)?(x=!1,O=!0,S.push(C)):x?E.push(C):I.push(C);var[D]=An.nodes(e,{at:i,match:t=>Jn.isText(t)||An.isInline(e,t),mode:"highest",voids:o}),[,P]=D,M=An.isStart(e,i,P),k=An.isEnd(e,i,P),A=An.pathRef(e,f?Fn.next(p):p),N=An.pathRef(e,k?Fn.next(P):P);ir.splitNodes(e,{at:i,match:t=>O?An.isBlock(e,t):Jn.isText(t)||An.isInline(e,t),mode:O?"lowest":"highest",voids:o});var j=An.pathRef(e,!M||M&&k?Fn.next(P):P);if(ir.insertNodes(e,E,{at:j.current,match:t=>Jn.isText(t)||An.isInline(e,t),mode:"highest",voids:o}),ir.insertNodes(e,S,{at:A.current,match:t=>An.isBlock(e,t),mode:"lowest",voids:o}),ir.insertNodes(e,I,{at:N.current,match:t=>Jn.isText(t)||An.isInline(e,t),mode:"highest",voids:o}),!n.at){var T;T=I.length>0?Fn.previous(N.current):S.length>0?Fn.previous(A.current):Fn.previous(j.current);var L=An.end(e,T);ir.select(e,L)}j.unref(),A.unref(),N.unref()}}}))},insertText(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};An.withoutNormalizing(e,(()=>{var{voids:r=!1}=n,{at:o=e.selection}=n;if(o){if(Fn.isPath(o)&&(o=An.range(e,o)),Gn.isRange(o))if(Gn.isCollapsed(o))o=o.anchor;else{var i=Gn.end(o);if(!r&&An.void(e,{at:i}))return;var a=An.pointRef(e,i);ir.delete(e,{at:o,voids:r}),o=a.unref(),ir.setSelection(e,{anchor:o,focus:o})}if(r||!An.void(e,{at:o})){var{path:s,offset:u}=o;e.apply({type:"insert_text",path:s,offset:u,text:t})}}}))}});function ar(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function sr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(n),!0).forEach((function(t){dn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ar(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ur=()=>{var e={children:[],operations:[],selection:null,marks:null,isInline:()=>!1,isVoid:()=>!1,onChange:()=>{},apply:t=>{for(var n of An.pathRefs(e))Bn.transform(n,t);for(var r of An.pointRefs(e))Un.transform(r,t);for(var o of An.rangeRefs(e))zn.transform(o,t);var i=new Set,a=[],s=e=>{if(e){var t=e.join(",");i.has(t)||(i.add(t),a.push(e))}},u=mn.get(e)||[],c=cr(t);for(var l of u){s(Fn.transform(l,t))}for(var p of c)s(p);mn.set(e,a),An.transform(e,t),e.operations.push(t),An.normalize(e),"set_selection"===t.type&&(e.marks=null),hn.get(e)||(hn.set(e,!0),Promise.resolve().then((()=>{hn.set(e,!1),e.onChange(),e.operations=[]})))},addMark:(t,n)=>{var{selection:r}=e;if(r)if(Gn.isExpanded(r))ir.setNodes(e,{[t]:n},{match:Jn.isText,split:!0});else{var o=sr({},An.marks(e)||{},{[t]:n});e.marks=o,e.onChange()}},deleteBackward:t=>{var{selection:n}=e;n&&Gn.isCollapsed(n)&&ir.delete(e,{unit:t,reverse:!0})},deleteForward:t=>{var{selection:n}=e;n&&Gn.isCollapsed(n)&&ir.delete(e,{unit:t})},deleteFragment:()=>{var{selection:t}=e;t&&Gn.isExpanded(t)&&ir.delete(e)},getFragment:()=>{var{selection:t}=e;return t&&Gn.isExpanded(t)?Tn.fragment(e,t):[]},insertBreak:()=>{ir.splitNodes(e,{always:!0})},insertFragment:t=>{ir.insertFragment(e,t)},insertNode:t=>{ir.insertNodes(e,t)},insertText:t=>{var{selection:n,marks:r}=e;if(n){if(Gn.isCollapsed(n)){var o=An.above(e,{match:t=>An.isInline(e,t),mode:"highest"});if(o){var[,i]=o;if(An.isEnd(e,n.anchor,i)){var a=An.after(e,i);ir.setSelection(e,{anchor:a,focus:a})}}}if(r){var s=sr({text:t},r);ir.insertNodes(e,s)}else ir.insertText(e,t);e.marks=null}},normalizeNode:t=>{var[n,r]=t;if(!Jn.isText(n))if(Nn.isElement(n)&&0===n.children.length){ir.insertNodes(e,{text:""},{at:r.concat(0),voids:!0})}else for(var o=!An.isEditor(n)&&(Nn.isElement(n)&&(e.isInline(n)||0===n.children.length||Jn.isText(n.children[0])||e.isInline(n.children[0]))),i=0,a=0;a<n.children.length;a++,i++){var s=n.children[a],u=n.children[a-1],c=a===n.children.length-1;if((Jn.isText(s)||Nn.isElement(s)&&e.isInline(s))!==o)ir.removeNodes(e,{at:r.concat(i),voids:!0}),i--;else if(Nn.isElement(s)){if(e.isInline(s))if(null!=u&&Jn.isText(u)){if(c){ir.insertNodes(e,{text:""},{at:r.concat(i+1),voids:!0}),i++}}else{ir.insertNodes(e,{text:""},{at:r.concat(i),voids:!0}),i++}}else null!=u&&Jn.isText(u)&&(Jn.equals(s,u,{loose:!0})?(ir.mergeNodes(e,{at:r.concat(i),voids:!0}),i--):""===u.text?(ir.removeNodes(e,{at:r.concat(i-1),voids:!0}),i--):c&&""===s.text&&(ir.removeNodes(e,{at:r.concat(i),voids:!0}),i--))}},removeMark:t=>{var{selection:n}=e;if(n)if(Gn.isExpanded(n))ir.unsetNodes(e,t,{match:Jn.isText,split:!0});else{var r=sr({},An.marks(e)||{});delete r[t],e.marks=r,e.onChange()}}};return e},cr=e=>{switch(e.type){case"insert_text":case"remove_text":case"set_node":var{path:t}=e;return Fn.levels(t);case"insert_node":var{node:n,path:r}=e;return[...Fn.levels(r),...Jn.isText(n)?[]:Array.from(Tn.nodes(n),(e=>{var[,t]=e;return r.concat(t)}))];case"merge_node":var{path:o}=e;return[...Fn.ancestors(o),Fn.previous(o)];case"move_node":var{path:i,newPath:a}=e;if(Fn.equals(i,a))return[];var s=[],u=[];for(var c of Fn.ancestors(i)){var l=Fn.transform(c,e);s.push(l)}for(var p of Fn.ancestors(a)){var d=Fn.transform(p,e);u.push(d)}return[...s,...u];case"remove_node":var{path:f}=e;return[...Fn.ancestors(f)];case"split_node":var{path:m}=e;return[...Fn.levels(m),Fn.next(m)];default:return[]}},lr=n(38172),pr=n.n(lr);function dr(e){return null!=e&&"object"==typeof e&&1===e.nodeType}function fr(e,t){return(!t||"hidden"!==e)&&("visible"!==e&&"clip"!==e)}function mr(e,t){if(e.clientHeight<e.scrollHeight||e.clientWidth<e.scrollWidth){var n=getComputedStyle(e,null);return fr(n.overflowY,t)||fr(n.overflowX,t)||function(e){var t=function(e){return e.ownerDocument&&e.ownerDocument.defaultView?e.ownerDocument.defaultView.frameElement:null}(e);return!!t&&(t.clientHeight<e.scrollHeight||t.clientWidth<e.scrollWidth)}(e)}return!1}function hr(e,t,n,r,o,i,a,s){return i<e&&a>t||i>e&&a<t?0:i<=e&&s<=n||a>=t&&s>=n?i-e-r:a>t&&s<n||i<e&&s>n?a-t+o:0}var gr=function(e,t){var n=t.scrollMode,r=t.block,o=t.inline,i=t.boundary,a=t.skipOverflowHiddenElements,s="function"==typeof i?i:function(e){return e!==i};if(!dr(e))throw new TypeError("Invalid target");for(var u=document.scrollingElement||document.documentElement,c=[],l=e;dr(l)&&s(l);){if((l=l.parentNode)===u){c.push(l);break}l===document.body&&mr(l)&&!mr(document.documentElement)||mr(l,a)&&c.push(l)}for(var p=window.visualViewport?visualViewport.width:innerWidth,d=window.visualViewport?visualViewport.height:innerHeight,f=window.scrollX||pageXOffset,m=window.scrollY||pageYOffset,h=e.getBoundingClientRect(),g=h.height,v=h.width,b=h.top,y=h.right,w=h.bottom,E=h.left,S="start"===r||"nearest"===r?b:"end"===r?w:b+g/2,I="center"===o?E+v/2:"end"===o?y:E,x=[],O=0;O<c.length;O++){var C=c[O],D=C.getBoundingClientRect(),P=D.height,M=D.width,k=D.top,A=D.right,N=D.bottom,j=D.left;if("if-needed"===n&&b>=0&&E>=0&&w<=d&&y<=p&&b>=k&&w<=N&&E>=j&&y<=A)return x;var T=getComputedStyle(C),L=parseInt(T.borderLeftWidth,10),R=parseInt(T.borderTopWidth,10),_=parseInt(T.borderRightWidth,10),F=parseInt(T.borderBottomWidth,10),B=0,Z=0,H="offsetWidth"in C?C.offsetWidth-C.clientWidth-L-_:0,U="offsetHeight"in C?C.offsetHeight-C.clientHeight-R-F:0;if(u===C)B="start"===r?S:"end"===r?S-d:"nearest"===r?hr(m,m+d,d,R,F,m+S,m+S+g,g):S-d/2,Z="start"===o?I:"center"===o?I-p/2:"end"===o?I-p:hr(f,f+p,p,L,_,f+I,f+I+v,v),B=Math.max(0,B+m),Z=Math.max(0,Z+f);else{B="start"===r?S-k-R:"end"===r?S-N+F+U:"nearest"===r?hr(k,N,P,R,F+U,S,S+g,g):S-(k+P/2)+U/2,Z="start"===o?I-j-L:"center"===o?I-(j+M/2)+H/2:"end"===o?I-A+_+H:hr(j,A,M,L,_+H,I,I+v,v);var W=C.scrollLeft,G=C.scrollTop;S+=G-(B=Math.max(0,Math.min(G+B,C.scrollHeight-P+U))),I+=W-(Z=Math.max(0,Math.min(W+Z,C.scrollWidth-M+H)))}x.push({el:C,top:B,left:Z})}return x};function vr(e){return e===Object(e)&&0!==Object.keys(e).length}var br=function(e,t){var n=!e.ownerDocument.documentElement.contains(e);if(vr(t)&&"function"==typeof t.behavior)return t.behavior(n?[]:gr(e,t));if(!n){var r=function(e){return!1===e?{block:"end",inline:"nearest"}:vr(e)?e:{block:"start",inline:"nearest"}}(t);return function(e,t){void 0===t&&(t="auto");var n="scrollBehavior"in document.body.style;e.forEach((function(e){var r=e.el,o=e.top,i=e.left;r.scroll&&n?r.scroll({top:o,left:i,behavior:t}):(r.scrollTop=o,r.scrollLeft=i)}))}(gr(e,r),r.behavior)}},yr=n(19141),wr=n.n(yr),Er=n(45350);function Sr(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ir(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var xr=0;class Or{constructor(){this.id="".concat(xr++)}}var Cr=new WeakMap,Dr=new WeakMap,Pr=new WeakMap,Mr=new WeakMap,kr=new WeakMap,Ar=new WeakMap,Nr=new WeakMap,jr=new WeakMap,Tr=new WeakMap,Lr=new WeakMap,Rr=Symbol("placeholder"),_r=e=>Fr(e)&&1===e.nodeType,Fr=e=>e instanceof Node,Br=e=>Fr(e)&&3===e.nodeType,Zr=(e,t,n)=>{for(var r,{childNodes:o}=e,i=o[t],a=t,s=!1,u=!1;(Fr(r=i)&&8===r.nodeType||_r(i)&&0===i.childNodes.length||_r(i)&&"false"===i.getAttribute("contenteditable"))&&(!s||!u);)a>=o.length?(s=!0,a=t-1,n="backward"):a<0?(u=!0,a=t+1,n="forward"):(i=o[a],a+="forward"===n?1:-1);return i},Hr=e=>{var t="";if(Br(e)&&e.nodeValue)return e.nodeValue;if(_r(e)){for(var n of Array.from(e.childNodes))t+=Hr(n);var r=getComputedStyle(e).getPropertyValue("display");"block"!==r&&"list"!==r&&"BR"!==e.tagName||(t+="\n")}return t},Ur={findKey(e,t){var n=Nr.get(t);return n||(n=new Or,Nr.set(t,n)),n},findPath(e,t){for(var n=[],r=t;;){var o=Dr.get(r);if(null==o){if(An.isEditor(r))return n;break}var i=Cr.get(r);if(null==i)break;n.unshift(i),r=o}throw new Error("Unable to find the path for Slate node: ".concat(JSON.stringify(t)))},isFocused:e=>!!Tr.get(e),isReadOnly:e=>!!jr.get(e),blur(e){var t=Ur.toDOMNode(e,e);Tr.set(e,!1),window.document.activeElement===t&&t.blur()},focus(e){var t=Ur.toDOMNode(e,e);Tr.set(e,!0),window.document.activeElement!==t&&t.focus({preventScroll:!0})},deselect(e){var{selection:t}=e,n=window.getSelection();n&&n.rangeCount>0&&n.removeAllRanges(),t&&ir.deselect(e)},hasDOMNode(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{editable:o=!1}=r,i=Ur.toDOMNode(e,e);try{n=_r(t)?t:t.parentElement}catch(a){if(!a.message.includes('Permission denied to access property "nodeType"'))throw a}return!!n&&(n.closest("[data-slate-editor]")===i&&(!o||n.isContentEditable||!!n.getAttribute("data-slate-zero-width")))},insertData(e,t){e.insertData(t)},setFragmentData(e,t){e.setFragmentData(t)},toDOMNode(e,t){var n=An.isEditor(t)?Pr.get(e):kr.get(Ur.findKey(e,t));if(!n)throw new Error("Cannot resolve a DOM node from Slate node: ".concat(JSON.stringify(t)));return n},toDOMPoint(e,t){var n,[r]=An.node(e,t.path),o=Ur.toDOMNode(e,r);An.void(e,{at:t})&&(t={path:t.path,offset:0});var i=Array.from(o.querySelectorAll("[data-slate-string], [data-slate-zero-width]")),a=0;for(var s of i){var u=s.childNodes[0];if(null!=u&&null!=u.textContent){var{length:c}=u.textContent,l=s.getAttribute("data-slate-length"),p=a+(null==l?c:parseInt(l,10));if(t.offset<=p){n=[u,Math.min(c,Math.max(0,t.offset-a))];break}a=p}}if(!n)throw new Error("Cannot resolve a DOM point from Slate point: ".concat(JSON.stringify(t)));return n},toDOMRange(e,t){var{anchor:n,focus:r}=t,o=Gn.isBackward(t),i=Ur.toDOMPoint(e,n),a=Gn.isCollapsed(t)?i:Ur.toDOMPoint(e,r),s=window.document.createRange(),[u,c]=o?a:i,[l,p]=o?i:a,d=!!(_r(u)?u:u.parentElement).getAttribute("data-slate-zero-width"),f=!!(_r(l)?l:l.parentElement).getAttribute("data-slate-zero-width");return s.setStart(u,d?1:c),s.setEnd(l,f?1:p),s},toSlateNode(e,t){var n=_r(t)?t:t.parentElement;n&&!n.hasAttribute("data-slate-node")&&(n=n.closest("[data-slate-node]"));var r=n?Mr.get(n):null;if(!r)throw new Error("Cannot resolve a Slate node from DOM node: ".concat(n));return r},findEventRange(e,t){"nativeEvent"in t&&(t=t.nativeEvent);var{clientX:n,clientY:r,target:o}=t;if(null==n||null==r)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));var i,a=Ur.toSlateNode(e,t.target),s=Ur.findPath(e,a);if(An.isVoid(e,a)){var u=o.getBoundingClientRect(),c=e.isInline(a)?n-u.left<u.left+u.width-n:r-u.top<u.top+u.height-r,l=An.point(e,s,{edge:c?"start":"end"}),p=c?An.before(e,l):An.after(e,l);if(p)return An.range(e,p)}var{document:d}=window;if(d.caretRangeFromPoint)i=d.caretRangeFromPoint(n,r);else{var f=d.caretPositionFromPoint(n,r);f&&((i=d.createRange()).setStart(f.offsetNode,f.offset),i.setEnd(f.offsetNode,f.offset))}if(!i)throw new Error("Cannot resolve a Slate range from a DOM event: ".concat(t));return Ur.toSlateRange(e,i)},toSlatePoint(e,t){var[n,r]=(e=>{var[t,n]=e;if(_r(t)&&t.childNodes.length){var r=n===t.childNodes.length,o=r?"backward":"forward";for(t=Zr(t,r?n-1:n,o);_r(t)&&t.childNodes.length;){var i=r?t.childNodes.length-1:0;t=Zr(t,i,o)}n=r&&null!=t.textContent?t.textContent.length:0}return[t,n]})(t),o=n.parentNode,i=null,a=0;if(o){var s=o.closest('[data-slate-void="true"]'),u=o.closest("[data-slate-leaf]"),c=null;if(u){i=u.closest('[data-slate-node="text"]');var l=window.document.createRange();l.setStart(i,0),l.setEnd(n,r);var p=l.cloneContents();[...p.querySelectorAll("[data-slate-zero-width]"),...p.querySelectorAll("[contenteditable=false]")].forEach((e=>{e.parentNode.removeChild(e)})),a=p.textContent.length,c=i}else s&&(i=(u=s.querySelector("[data-slate-leaf]")).closest('[data-slate-node="text"]'),a=(c=u).textContent.length);c&&a===c.textContent.length&&o.hasAttribute("data-slate-zero-width")&&a--}if(!i)throw new Error("Cannot resolve a Slate point from DOM point: ".concat(t));var d=Ur.toSlateNode(e,i);return{path:Ur.findPath(e,d),offset:a}},toSlateRange(e,t){var n,r,o,i,a;if((t instanceof Selection?t.anchorNode:t.startContainer)&&(t instanceof Selection?(n=t.anchorNode,r=t.anchorOffset,o=t.focusNode,i=t.focusOffset,a=t.isCollapsed):(n=t.startContainer,r=t.startOffset,o=t.endContainer,i=t.endOffset,a=t.collapsed)),null==n||null==o||null==r||null==i)throw new Error("Cannot resolve a Slate range from DOM range: ".concat(t));var s=Ur.toSlatePoint(e,[n,r]);return{anchor:s,focus:a?s:Ur.toSlatePoint(e,[o,i])}}},Wr=(0,o.createContext)(!1),Gr=(0,o.createContext)(null),zr=()=>{var e=(0,o.useContext)(Gr);if(!e)throw new Error("The `useEditor` hook must be used inside the <Slate> component's context.");return e},qr=(0,o.createContext)(null),Vr=()=>{var e=(0,o.useContext)(qr);if(!e)throw new Error("The `useSlate` hook must be used inside the <SlateProvider> component's context.");var[t]=e;return t},Jr=e=>{var{editor:t,children:n,onChange:r,value:i}=e,a=Ir(e,["editor","children","onChange","value"]),[s,u]=(0,o.useState)(0),c=(0,o.useMemo)((()=>(t.children=i,Object.assign(t,a),[t])),[s,i,...Object.values(a)]),l=(0,o.useCallback)((()=>{r(t.children),u(s+1)}),[s,r]);return Lr.set(t,l),(0,o.useEffect)((()=>()=>{Lr.set(t,(()=>{}))}),[]),o.createElement(qr.Provider,{value:c},o.createElement(Gr.Provider,{value:t},o.createElement(Wr.Provider,{value:Ur.isFocused(t)},n)))},Yr=(0,o.createContext)(!1),Qr=(0,o.createContext)(!1),Xr=e=>{var{isLast:t,leaf:n,parent:r,text:i}=e,a=zr(),s=Ur.findPath(a,i),u=Fn.parent(s);return a.isVoid(r)?o.createElement($r,{length:Tn.string(r).length}):""!==n.text||r.children[r.children.length-1]!==i||a.isInline(r)||""!==An.string(a,u)?""===n.text?o.createElement($r,null):t&&"\n"===n.text.slice(-1)?o.createElement(Kr,{isTrailing:!0,text:n.text}):o.createElement(Kr,{text:n.text}):o.createElement($r,{isLineBreak:!0})},Kr=e=>{var{text:t,isTrailing:n=!1}=e;return o.createElement("span",{"data-slate-string":!0},t,n?"\n":null)},$r=e=>{var{length:t=0,isLineBreak:n=!1}=e;return o.createElement("span",{"data-slate-zero-width":n?"n":"z","data-slate-length":t},"\ufeff",n?o.createElement("br",null):null)},eo=o.memo((e=>{var{leaf:t,isLast:n,text:r,parent:i,renderLeaf:a=(e=>o.createElement(to,Object.assign({},e)))}=e,s=o.createElement(Xr,{isLast:n,leaf:t,parent:i,text:r});t[Rr]&&(s=o.createElement(o.Fragment,null,o.createElement("span",{contentEditable:!1,style:{pointerEvents:"none",display:"inline-block",verticalAlign:"text-top",width:"0",maxWidth:"100%",whiteSpace:"nowrap",opacity:"0.333",userSelect:"none"}},t.placeholder),s));return a({attributes:{"data-slate-leaf":!0},children:s,leaf:t,text:r})}),((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text&&Jn.matches(t.leaf,e.leaf))),to=e=>{var{attributes:t,children:n}=e;return o.createElement("span",Object.assign({},t),n)},no="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,ro=o.memo((e=>{for(var{decorations:t,isLast:n,parent:r,renderLeaf:i,text:a}=e,s=zr(),u=(0,o.useRef)(null),c=Jn.decorations(a,t),l=Ur.findKey(s,a),p=[],d=0;d<c.length;d++){var f=c[d];p.push(o.createElement(eo,{isLast:n&&d===c.length-1,key:"".concat(l.id,"-").concat(d),leaf:f,text:a,parent:r,renderLeaf:i}))}return no((()=>{u.current?(kr.set(l,u.current),Ar.set(a,u.current),Mr.set(u.current,a)):(kr.delete(l),Ar.delete(a))})),o.createElement("span",{"data-slate-node":"text",ref:u},p)}),((e,t)=>t.parent===e.parent&&t.isLast===e.isLast&&t.renderLeaf===e.renderLeaf&&t.text===e.text)),oo=o.memo((e=>{var{decorate:t,decorations:n,element:r,renderElement:i=(e=>o.createElement(io,Object.assign({},e))),renderLeaf:a,selection:s}=e,u=(0,o.useRef)(null),c=zr(),l=(0,o.useContext)(Yr),p=c.isInline(r),d=Ur.findKey(c,r),f=o.createElement(so,{decorate:t,decorations:n,node:r,renderElement:i,renderLeaf:a,selection:s}),m={"data-slate-node":"element",ref:u};if(p&&(m["data-slate-inline"]=!0),!p&&An.hasInlines(c,r)){var h=Tn.string(r),g=wr()(h);"rtl"===g&&(m.dir=g)}if(An.isVoid(c,r)){m["data-slate-void"]=!0,!l&&p&&(m.contentEditable=!1);var v=p?"span":"div",[[b]]=Tn.texts(r);f=l?null:o.createElement(v,{"data-slate-spacer":!0,style:{height:"0",color:"transparent",outline:"none",position:"absolute"}},o.createElement(ro,{decorations:[],isLast:!1,parent:r,text:b})),Cr.set(b,0),Dr.set(b,r)}return no((()=>{u.current?(kr.set(d,u.current),Ar.set(r,u.current),Mr.set(u.current,r)):(kr.delete(d),Ar.delete(r))})),o.createElement(Qr.Provider,{value:!!s},i({attributes:m,children:f,element:r}))}),((e,t)=>e.decorate===t.decorate&&e.element===t.element&&e.renderElement===t.renderElement&&e.renderLeaf===t.renderLeaf&&ao(e.decorations,t.decorations)&&(e.selection===t.selection||!!e.selection&&!!t.selection&&Gn.equals(e.selection,t.selection)))),io=e=>{var{attributes:t,children:n,element:r}=e,i=zr().isInline(r)?"span":"div";return o.createElement(i,Object.assign({},t,{style:{position:"relative"}}),n)},ao=(e,t)=>{if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++){var r=e[n],o=t[n];if(!Gn.equals(r,o))return!1}return!0},so=e=>{for(var{decorate:t,decorations:n,node:r,renderElement:i,renderLeaf:a,selection:s}=e,u=zr(),c=Ur.findPath(u,r),l=[],p=Nn.isElement(r)&&!u.isInline(r)&&An.hasInlines(u,r),d=0;d<r.children.length;d++){var f=c.concat(d),m=r.children[d],h=Ur.findKey(u,m),g=An.range(u,f),v=s&&Gn.intersection(g,s),b=t([m,f]);for(var y of n){var w=Gn.intersection(y,g);w&&b.push(w)}Nn.isElement(m)?l.push(o.createElement(oo,{decorate:t,decorations:b,element:m,key:h.id,renderElement:i,renderLeaf:a,selection:v})):l.push(o.createElement(ro,{decorations:b,key:h.id,isLast:p&&d===r.children.length-1,parent:r,renderLeaf:a,text:m})),Cr.set(m,d),Dr.set(m,r)}return o.createElement(o.Fragment,null,l)},uo=("undefined"!=typeof navigator&&"undefined"!=typeof window&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&window.MSStream,"undefined"!=typeof navigator&&/Mac OS X/.test(navigator.userAgent)),co="undefined"!=typeof navigator&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),lo="undefined"!=typeof navigator&&/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),po="undefined"!=typeof navigator&&/Edge?\/(?:[0-6][0-9]|[0-7][0-8])/i.test(navigator.userAgent),fo={bold:"mod+b",compose:["down","left","right","up","backspace","enter"],moveBackward:"left",moveForward:"right",moveWordBackward:"ctrl+left",moveWordForward:"ctrl+right",deleteBackward:"shift?+backspace",deleteForward:"shift?+delete",extendBackward:"shift+left",extendForward:"shift+right",italic:"mod+i",splitBlock:"shift?+enter",undo:"mod+z"},mo={moveLineBackward:"opt+up",moveLineForward:"opt+down",moveWordBackward:"opt+left",moveWordForward:"opt+right",deleteBackward:["ctrl+backspace","ctrl+h"],deleteForward:["ctrl+delete","ctrl+d"],deleteLineBackward:"cmd+shift?+backspace",deleteLineForward:["cmd+shift?+delete","ctrl+k"],deleteWordBackward:"opt+shift?+backspace",deleteWordForward:"opt+shift?+delete",extendLineBackward:"opt+shift+up",extendLineForward:"opt+shift+down",redo:"cmd+shift+z",transposeCharacter:"ctrl+t"},ho={deleteWordBackward:"ctrl+shift?+backspace",deleteWordForward:"ctrl+shift?+delete",redo:["ctrl+y","ctrl+shift+z"]},go=e=>{var t=fo[e],n=mo[e],r=ho[e],o=t&&(0,Er.TB)(t),i=n&&(0,Er.TB)(n),a=r&&(0,Er.TB)(r);return e=>!(!o||!o(e))||(!!(uo&&i&&i(e))||!(uo||!a||!a(e)))},vo={isBold:go("bold"),isCompose:go("compose"),isMoveBackward:go("moveBackward"),isMoveForward:go("moveForward"),isDeleteBackward:go("deleteBackward"),isDeleteForward:go("deleteForward"),isDeleteLineBackward:go("deleteLineBackward"),isDeleteLineForward:go("deleteLineForward"),isDeleteWordBackward:go("deleteWordBackward"),isDeleteWordForward:go("deleteWordForward"),isExtendBackward:go("extendBackward"),isExtendForward:go("extendForward"),isExtendLineBackward:go("extendLineBackward"),isExtendLineForward:go("extendLineForward"),isItalic:go("italic"),isMoveLineBackward:go("moveLineBackward"),isMoveLineForward:go("moveLineForward"),isMoveWordBackward:go("moveWordBackward"),isMoveWordForward:go("moveWordForward"),isRedo:go("redo"),isSplitBlock:go("splitBlock"),isTransposeCharacter:go("transposeCharacter"),isUndo:go("undo")};function bo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bo(Object(n),!0).forEach((function(t){Sr(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wo=!(co||po),Eo=e=>{var{autoFocus:t,decorate:n=So,onDOMBeforeInput:r,placeholder:i,readOnly:a=!1,renderElement:s,renderLeaf:u,style:c={},as:l="div"}=e,p=Ir(e,["autoFocus","decorate","onDOMBeforeInput","placeholder","readOnly","renderElement","renderLeaf","style","as"]),d=Vr(),f=(0,o.useRef)(null);jr.set(d,a);var m=(0,o.useMemo)((()=>({isComposing:!1,isUpdatingSelection:!1,latestElement:null})),[]);no((()=>{f.current?(Pr.set(d,f.current),Ar.set(d,f.current),Mr.set(f.current,d)):Ar.delete(d)})),no((()=>{var{selection:e}=d,t=window.getSelection();if(!m.isComposing&&t&&Ur.isFocused(d)){var n="None"!==t.type;if(e||n){var r=Pr.get(d),o=!1;if(r.contains(t.anchorNode)&&r.contains(t.focusNode)&&(o=!0),!(n&&o&&e&&Gn.equals(Ur.toSlateRange(d,t),e))){var i=Ur.toDOMNode(d,d);m.isUpdatingSelection=!0,t.removeAllRanges();var a=e&&Ur.toDOMRange(d,e);if(a){t.addRange(a);var s=a.startContainer.parentElement;br(s,{scrollMode:"if-needed",boundary:i})}setTimeout((()=>{a&&co&&i.focus(),m.isUpdatingSelection=!1}))}}}})),(0,o.useEffect)((()=>{f.current&&t&&f.current.focus()}),[t]);var h=(0,o.useCallback)((e=>{if(!a&&xo(d,e.target)&&!Do(e,r)){var{selection:t}=d,{inputType:n}=e,o=e.dataTransfer||e.data||void 0;if("insertCompositionText"===n||"deleteCompositionText"===n)return;if(e.preventDefault(),!n.startsWith("delete")||n.startsWith("deleteBy")){var[i]=e.getTargetRanges();if(i){var s=Ur.toSlateRange(d,i);t&&Gn.equals(t,s)||ir.select(d,s)}}if(t&&Gn.isExpanded(t)&&n.startsWith("delete"))return void An.deleteFragment(d);switch(n){case"deleteByComposition":case"deleteByCut":case"deleteByDrag":An.deleteFragment(d);break;case"deleteContent":case"deleteContentForward":An.deleteForward(d);break;case"deleteContentBackward":An.deleteBackward(d);break;case"deleteEntireSoftLine":An.deleteBackward(d,{unit:"line"}),An.deleteForward(d,{unit:"line"});break;case"deleteHardLineBackward":An.deleteBackward(d,{unit:"block"});break;case"deleteSoftLineBackward":An.deleteBackward(d,{unit:"line"});break;case"deleteHardLineForward":An.deleteForward(d,{unit:"block"});break;case"deleteSoftLineForward":An.deleteForward(d,{unit:"line"});break;case"deleteWordBackward":An.deleteBackward(d,{unit:"word"});break;case"deleteWordForward":An.deleteForward(d,{unit:"word"});break;case"insertLineBreak":case"insertParagraph":An.insertBreak(d);break;case"insertFromComposition":case"insertFromDrop":case"insertFromPaste":case"insertFromYank":case"insertReplacementText":case"insertText":o instanceof DataTransfer?Ur.insertData(d,o):"string"==typeof o&&An.insertText(d,o)}}}),[a]);no((()=>(f.current&&f.current.addEventListener("beforeinput",h),()=>{f.current&&f.current.removeEventListener("beforeinput",h)})),[h]);var g=(0,o.useCallback)(pr()((()=>{if(!a&&!m.isComposing&&!m.isUpdatingSelection){var{activeElement:e}=window.document,t=Ur.toDOMNode(d,d),n=window.getSelection();if(e===t?(m.latestElement=e,Tr.set(d,!0)):Tr.delete(d),!n)return ir.deselect(d);var{anchorNode:r,focusNode:o}=n,i=xo(d,r)||Oo(d,r),s=xo(d,o)||Oo(d,o);if(i&&s){var u=Ur.toSlateRange(d,n);ir.select(d,u)}else ir.deselect(d)}}),100),[a]);no((()=>(window.document.addEventListener("selectionchange",g),()=>{window.document.removeEventListener("selectionchange",g)})),[g]);var v=n([d,[]]);if(i&&1===d.children.length&&1===Array.from(Tn.texts(d)).length&&""===Tn.string(d)){var b=An.start(d,[]);v.push({[Rr]:!0,placeholder:i,anchor:b,focus:b})}return o.createElement(Yr.Provider,{value:a},o.createElement(l,Object.assign({"data-gramm":!1,role:a?void 0:"textbox"},p,{spellCheck:wo?p.spellCheck:void 0,autoCorrect:wo?p.autoCorrect:void 0,autoCapitalize:wo?p.autoCapitalize:void 0,"data-slate-editor":!0,"data-slate-node":"value",contentEditable:!a||void 0,suppressContentEditableWarning:!0,ref:f,style:yo({outline:"none",whiteSpace:"pre-wrap",wordWrap:"break-word"},c),onBeforeInput:(0,o.useCallback)((e=>{if(!wo&&!a&&!Co(e,p.onBeforeInput)&&xo(d,e.target)){e.preventDefault();var t=e.data;An.insertText(d,t)}}),[a]),onBlur:(0,o.useCallback)((e=>{if(!a&&!m.isUpdatingSelection&&xo(d,e.target)&&!Co(e,p.onBlur)&&m.latestElement!==window.document.activeElement){var{relatedTarget:t}=e;if(!(t===Ur.toDOMNode(d,d)||_r(t)&&t.hasAttribute("data-slate-spacer"))){if(null!=t&&Fr(t)&&Ur.hasDOMNode(d,t)){var n=Ur.toSlateNode(d,t);if(Nn.isElement(n)&&!d.isVoid(n))return}Tr.delete(d)}}}),[a,p.onBlur]),onClick:(0,o.useCallback)((e=>{if(!a&&Io(d,e.target)&&!Co(e,p.onClick)&&Fr(e.target)){var t=Ur.toSlateNode(d,e.target),n=Ur.findPath(d,t),r=An.start(d,n),o=An.end(d,n),i=An.void(d,{at:r}),s=An.void(d,{at:o});if(i&&s&&Fn.equals(i[1],s[1])){var u=An.range(d,r);ir.select(d,u)}}}),[a,p.onClick]),onCompositionEnd:(0,o.useCallback)((e=>{xo(d,e.target)&&!Co(e,p.onCompositionEnd)&&(m.isComposing=!1,lo||co||!e.data||An.insertText(d,e.data))}),[p.onCompositionEnd]),onCompositionStart:(0,o.useCallback)((e=>{xo(d,e.target)&&!Co(e,p.onCompositionStart)&&(m.isComposing=!0)}),[p.onCompositionStart]),onCopy:(0,o.useCallback)((e=>{xo(d,e.target)&&!Co(e,p.onCopy)&&(e.preventDefault(),Ur.setFragmentData(d,e.clipboardData))}),[p.onCopy]),onCut:(0,o.useCallback)((e=>{if(!a&&xo(d,e.target)&&!Co(e,p.onCut)){e.preventDefault(),Ur.setFragmentData(d,e.clipboardData);var{selection:t}=d;t&&Gn.isExpanded(t)&&An.deleteFragment(d)}}),[a,p.onCut]),onDragOver:(0,o.useCallback)((e=>{if(Io(d,e.target)&&!Co(e,p.onDragOver)){var t=Ur.toSlateNode(d,e.target);An.isVoid(d,t)&&e.preventDefault()}}),[p.onDragOver]),onDragStart:(0,o.useCallback)((e=>{if(Io(d,e.target)&&!Co(e,p.onDragStart)){var t=Ur.toSlateNode(d,e.target),n=Ur.findPath(d,t);if(An.void(d,{at:n})){var r=An.range(d,n);ir.select(d,r)}Ur.setFragmentData(d,e.dataTransfer)}}),[p.onDragStart]),onDrop:(0,o.useCallback)((e=>{if(Io(d,e.target)&&!a&&!Co(e,p.onDrop)&&(!wo||!lo&&e.dataTransfer.files.length>0)){e.preventDefault();var t=Ur.findEventRange(d,e),n=e.dataTransfer;ir.select(d,t),Ur.insertData(d,n)}}),[a,p.onDrop]),onFocus:(0,o.useCallback)((e=>{if(!a&&!m.isUpdatingSelection&&xo(d,e.target)&&!Co(e,p.onFocus)){var t=Ur.toDOMNode(d,d);if(m.latestElement=window.document.activeElement,co&&e.target!==t)return void t.focus();Tr.set(d,!0)}}),[a,p.onFocus]),onKeyDown:(0,o.useCallback)((e=>{if(!a&&xo(d,e.target)&&!Co(e,p.onKeyDown)){var{nativeEvent:t}=e,{selection:n}=d;if(vo.isRedo(t))return e.preventDefault(),void("function"==typeof d.redo&&d.redo());if(vo.isUndo(t))return e.preventDefault(),void("function"==typeof d.undo&&d.undo());if(vo.isMoveLineBackward(t))return e.preventDefault(),void ir.move(d,{unit:"line",reverse:!0});if(vo.isMoveLineForward(t))return e.preventDefault(),void ir.move(d,{unit:"line"});if(vo.isExtendLineBackward(t))return e.preventDefault(),void ir.move(d,{unit:"line",edge:"focus",reverse:!0});if(vo.isExtendLineForward(t))return e.preventDefault(),void ir.move(d,{unit:"line",edge:"focus"});if(vo.isMoveBackward(t))return e.preventDefault(),void(n&&Gn.isCollapsed(n)?ir.move(d,{reverse:!0}):ir.collapse(d,{edge:"start"}));if(vo.isMoveForward(t))return e.preventDefault(),void(n&&Gn.isCollapsed(n)?ir.move(d):ir.collapse(d,{edge:"end"}));if(vo.isMoveWordBackward(t))return e.preventDefault(),void ir.move(d,{unit:"word",reverse:!0});if(vo.isMoveWordForward(t))return e.preventDefault(),void ir.move(d,{unit:"word"});if(!wo){if(vo.isBold(t)||vo.isItalic(t)||vo.isTransposeCharacter(t))return void e.preventDefault();if(vo.isSplitBlock(t))return e.preventDefault(),void An.insertBreak(d);if(vo.isDeleteBackward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteBackward(d));if(vo.isDeleteForward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteForward(d));if(vo.isDeleteLineBackward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteBackward(d,{unit:"line"}));if(vo.isDeleteLineForward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteForward(d,{unit:"line"}));if(vo.isDeleteWordBackward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteBackward(d,{unit:"word"}));if(vo.isDeleteWordForward(t))return e.preventDefault(),void(n&&Gn.isExpanded(n)?An.deleteFragment(d):An.deleteForward(d,{unit:"word"}))}}}),[a,p.onKeyDown]),onPaste:(0,o.useCallback)((e=>{Co(e,p.onPaste)||wo&&!(e=>e.clipboardData&&""!==e.clipboardData.getData("text/plain")&&1===e.clipboardData.types.length)(e.nativeEvent)||a||!xo(d,e.target)||(e.preventDefault(),Ur.insertData(d,e.clipboardData))}),[a,p.onPaste])}),o.createElement(so,{decorate:n,decorations:v,node:d,renderElement:s,renderLeaf:u,selection:d.selection})))},So=()=>[],Io=(e,t)=>Fr(t)&&Ur.hasDOMNode(e,t),xo=(e,t)=>Fr(t)&&Ur.hasDOMNode(e,t,{editable:!0}),Oo=(e,t)=>{var n=Io(e,t)&&Ur.toSlateNode(e,t);return An.isVoid(e,n)},Co=(e,t)=>!!t&&(t(e),e.isDefaultPrevented()||e.isPropagationStopped()),Do=(e,t)=>!!t&&(t(e),e.defaultPrevented),Po={isHistory:e=>tt(e)&&Array.isArray(e.redos)&&Array.isArray(e.undos)&&(0===e.redos.length||_n.isOperationList(e.redos[0]))&&(0===e.undos.length||_n.isOperationList(e.undos[0]))},Mo=(new WeakMap,new WeakMap),ko=new WeakMap,Ao={isHistoryEditor:e=>An.isEditor(e)&&Po.isHistory(e.history),isMerging:e=>ko.get(e),isSaving:e=>Mo.get(e),redo(e){e.redo()},undo(e){e.undo()},withoutMerging(e,t){var n=Ao.isMerging(e);ko.set(e,!1),t(),ko.set(e,n)},withoutSaving(e,t){var n=Ao.isSaving(e);Mo.set(e,!1),t(),Mo.set(e,n)}},No=(e,t)=>"set_selection"===e.type||(!(!t||"insert_text"!==e.type||"insert_text"!==t.type||e.offset!==t.offset+t.text.length||!Fn.equals(e.path,t.path))||!(!t||"remove_text"!==e.type||"remove_text"!==t.type||e.offset+e.text.length!==t.offset||!Fn.equals(e.path,t.path))),jo=(e,t)=>"set_selection"!==e.type||null!=e.newProperties,To=(e,t)=>!(!t||"set_selection"!==e.type||"set_selection"!==t.type),Lo=e=>"set_selection"!==e.type;n(77295),n(19985),n(91967);function Ro(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var _o=new WeakMap,Fo=new WeakMap;class Bo{}class Zo extends Bo{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}class Ho extends Bo{constructor(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};super();var{offset:t,path:n}=e;this.offset=t,this.path=n}}var Uo=e=>Fo.get(e);function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Go(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){Ro(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zo=new WeakSet,qo=e=>{var t=[],n=e=>{if(null!=e){var r=t[t.length-1];if("string"==typeof e){var o={text:e};zo.add(o),e=o}if(Jn.isText(e)){var i=e;Jn.isText(r)&&zo.has(r)&&zo.has(i)&&Jn.equals(r,i,{loose:!0})?r.text+=i.text:t.push(i)}else if(Nn.isElement(e))t.push(e);else{if(!(e instanceof Bo))throw new Error("Unexpected hyperscript child object: ".concat(e));var a=t[t.length-1];Jn.isText(a)||(n(""),a=t[t.length-1]),e instanceof Zo?((e,t)=>{var n=e.text.length;_o.set(e,[n,t])})(a,e):e instanceof Ho&&((e,t)=>{var n=e.text.length;Fo.set(e,[n,t])})(a,e)}}};for(var r of e.flat(1/0))n(r);return t};function Vo(e,t,n){return Go({},t,{children:qo(n)})}function Jo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Jo(Object(n),!0).forEach((function(t){Ro(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Jo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Qo={anchor:function(e,t,n){return new Zo(t)},cursor:function(e,t,n){return[new Zo(t),new Ho(t)]},editor:function(e,t,n){var r,o=[];for(var i of n)Gn.isRange(i)?r=i:o.push(i);var a,s=qo(o),u={},c=ur();for(var[l,p]of(Object.assign(c,t),c.children=s,Tn.texts(c))){var d=(a=l,_o.get(a)),f=Uo(l);if(null!=d){var[m]=d;u.anchor={path:p,offset:m}}if(null!=f){var[h]=f;u.focus={path:p,offset:h}}}if(u.anchor&&!u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<anchor />`. For collapsed selections, use `<cursor />` instead.");if(!u.anchor&&u.focus)throw new Error("Slate hyperscript ranges must have both `<anchor />` and `<focus />` defined if one is defined, but you only defined `<focus />`. For collapsed selections, use `<cursor />` instead.");return null!=r?c.selection=r:Gn.isRange(u)&&(c.selection=u),c},element:Vo,focus:function(e,t,n){return new Ho(t)},fragment:function(e,t,n){return qo(n)},selection:function(e,t,n){var r=n.find((e=>e instanceof Zo)),o=n.find((e=>e instanceof Ho));if(!r||null==r.offset||null==r.path)throw new Error("The <selection> hyperscript tag must have an <anchor> tag as a child with `path` and `offset` attributes defined.");if(!o||null==o.offset||null==o.path)throw new Error("The <selection> hyperscript tag must have a <focus> tag as a child with `path` and `offset` attributes defined.");return Go({anchor:{offset:r.offset,path:r.path},focus:{offset:o.offset,path:o.path}},t)},text:function(e,t,n){var r=qo(n);if(r.length>1)throw new Error("The <text> hyperscript tag must only contain a single node's worth of children.");var[o]=r;if(null==o&&(o={text:""}),!Jn.isText(o))throw new Error("\n The <text> hyperscript tag can only contain text content as children.");return zo.delete(o),Object.assign(o,t),o}},Xo=e=>function(t,n){for(var r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a=e[t];if(!a)throw new Error("No hyperscript creator found for tag: <".concat(t,">"));null==n&&(n={}),tt(n)||(o=[n].concat(o),n={});var s=a(t,n,o=o.filter((e=>Boolean(e))).flat());return s},Ko=e=>{var t={},n=function(n){var r=e[n];if("object"!=typeof r)throw new Error("Properties specified for a hyperscript shorthand should be an object, but for the custom element <".concat(n,"> tag you passed: ").concat(r));t[n]=(e,t,n)=>Vo(0,Yo({},r,{},t),n)};for(var r in e)n(r);return t},$o=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{elements:t={}}=e,n=Ko(t),r=Yo({},Qo,{},n,{},e.creators),o=Xo(r);return o}(),ei=n(43613),ti=n.n(ei),ni={A:function(e){return{type:"link",url:e.getAttribute("href"),newTab:"_blank"===e.getAttribute("target"),noFollow:!(!e.getAttribute("rel")||!e.getAttribute("rel").includes("nofollow"))}},P:function(){return{type:"paragraph"}},"WPRM-CODE":function(e){return{type:"code"}}},ri={EM:function(){return{italic:!0}},I:function(){return{italic:!0}},STRONG:function(){return{bold:!0}},B:function(){return{bold:!0}},U:function(){return{underline:!0}},SUB:function(){return{subscript:!0}},SUP:function(){return{superscript:!0}}},oi=function e(t){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(3===t.nodeType)return t.textContent.replace(/\r?\n|\r/g,"");if(1!==t.nodeType)return null;if("BR"===t.nodeName)return"";var r=t.nodeName,o=t;"PRE"===r&&t.childNodes[0]&&"CODE"===t.childNodes[0].nodeName&&(o=t.childNodes[0]);var i=Array.from(o.childNodes).map((function(t){return e(t,n)})).reduce((function(e,t){return e.concat(t)}),[]);if("BODY"===t.nodeName)return $o("fragment",{},i);if(n&&"P"===r)return i;if(ni[r]){var a=ni[r](t);"A"===r&&t.hasAttribute("data-eafl-id")&&(a={type:"affiliate-link",url:t.getAttribute("href"),id:parseInt(t.getAttribute("data-eafl-id"))});var s=$o("element",a,i);return"WPRM-CODE"===r&&(s.children=[{text:t.innerHTML}]),0===s.children.length&&(s.children=[{text:""}]),s}if(ri[r]){var u=ri[r](t);return(i=i.map((function(e){return"string"==typeof e||Jn.isText(e)?e:e.hasOwnProperty("type")&&"link"===e.type&&(console.log("Information Lost",e),e.hasOwnProperty("children")&&1===e.children.length&&e.children[0].hasOwnProperty("text"))?e.children[0].text:""}))).map((function(e){return $o("text",u,e)}))}return i},ii=function e(t){if(Jn.isText(t)){var n=ti()(t.text);return t.bold&&(n="<strong>".concat(n,"</strong>")),t.italic&&(n="<em>".concat(n,"</em>")),t.underline&&(n="<u>".concat(n,"</u>")),t.subscript&&(n="<sub>".concat(n,"</sub>")),t.superscript&&(n="<sup>".concat(n,"</sup>")),n}var r=t.children.map((function(t){return e(t)})).join("");switch(t.type){case"paragraph":return"<p>".concat(r,"</p>");case"link":return'<a href="'.concat(ti()(t.url),'"').concat(t.newTab?' target="_blank"':"").concat(t.noFollow?' rel="nofollow"':"",">").concat(r,"</a>");case"affiliate-link":return'<a href="'.concat(ti()(t.url),'" data-eafl-id="').concat(ti()(t.id),'" class="eafl-link">').concat(r,"</a>");case"code":return"<wprm-code>".concat(r,"</wprm-code>");default:return r}},ai=n(62834),si=function(e){var t=document.getElementById("wprm-admin-modal-toolbar-container");return t?r.createPortal(o.createElement("div",{className:"wprm-admin-modal-toolbar",onMouseDown:function(e){e.preventDefault()}},e.children),t):null};function ui(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ci(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ci(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 ci(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function li(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pi=function(){if(!window.hasOwnProperty("EAFL_Modal"))return null;var e=Vr(),t=ui(An.nodes(e,{match:function(e){return"affiliate-link"===e.type}}),1)[0],n=!!t;return o.createElement(o.Fragment,null,o.createElement("span",{className:"wprm-admin-modal-toolbar-button".concat(n?" wprm-admin-modal-toolbar-button-active":""),onMouseDown:function(r){r.preventDefault();var o=e.selection,i=o&&Gn.isCollapsed(o),a="";if(i||(window.getSelection?a=window.getSelection().toString():document.selection&&"Control"!=document.selection.type&&(a=document.selection.createRange().text)),n){var s=t[0];EAFL_Modal.open("edit",{linkId:s.id,saveCallback:function(n){s.url!==n.url&&function(e,t,n,r){var o=t[0],i=t[1],a=li({},n,o[n]),s=li({},n,r);e.apply({type:"set_node",path:i,properties:a,newProperties:s})}(e,t,"url",n.url)}})}else EAFL_Modal.open("insert",{insertCallback:function(t,n){n||(n="affiliate link");var r={type:"affiliate-link",children:i?[{text:n}]:[],url:t.url,id:t.id};i?ir.insertNodes(e,r):(ir.select(e,o),ir.wrapNodes(e,r,{split:!0}),ir.collapse(e,{edge:"end"}))},selectedText:a})}},o.createElement(ai.Z,{type:"eafl-link",title:n?(0,u.S)("Edit Affiliate Link"):(0,u.S)("Add Affiliate Link")})),n&&o.createElement("span",{className:"wprm-admin-modal-toolbar-button wprm-admin-modal-toolbar-button-active",onMouseDown:function(t){t.preventDefault(),ir.unwrapNodes(e,{match:function(e){return"affiliate-link"===e.type}})}},o.createElement(ai.Z,{type:"eafl-unlink",title:(0,u.S)("Remove Affiliate Link")})))};function di(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return fi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return fi(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 fi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mi=function(e){var t=Vr(),n=function(e,t){return!!di(An.nodes(e,{match:function(e){return e.type===t}}),1)[0]}(t,e.type);return o.createElement(o.Fragment,null,n?o.createElement("span",{className:"wprm-admin-modal-toolbar-button wprm-admin-modal-toolbar-button-active",onMouseDown:function(n){n.preventDefault(),ir.unwrapNodes(t,{match:function(t){return t.type===e.type}})}},e.IconRemove()):o.createElement("span",{className:"wprm-admin-modal-toolbar-button",onMouseDown:function(n){n.preventDefault();var r=t.selection,o=r&&Gn.isCollapsed(r),i=!0;if("link"===e.type&&(i=window.prompt((0,u.S)("Enter the URL of the link:"))),"code"===e.type&&o&&(i=window.prompt((0,u.S)("HTML or Shortcode:"))),i){var a={type:e.type,children:o?[{text:""}]:[]};switch(e.type){case"link":a.url=i,o&&(a.children=[{text:i}]);break;case"code":o&&(a.children=[{text:i}]);break;default:o&&(a.children=[{text:e.type}])}o?ir.insertNodes(t,a):(ir.wrapNodes(t,a,{split:!0}),ir.collapse(t,{edge:"end"}))}}},e.IconAdd()))},hi=function(e){var t=Vr();return o.createElement("span",{className:"wprm-admin-modal-toolbar-button",onMouseDown:function(n){n.preventDefault(),An.insertText(t,e.character)}},o.createElement(l.Z,{content:e.title},o.createElement("span",{className:"wprm-admin-modal-toolbar-button-character"},e.character)))},gi=function(e){var t=Vr(),n=e.isMarkActive(t,e.type);return o.createElement("span",{className:"wprm-admin-modal-toolbar-button".concat(n?" wprm-admin-modal-toolbar-button-active":""),onMouseDown:function(n){n.preventDefault(),e.toggleMark(t,e.type)}},o.createElement(ai.Z,{type:e.type,title:e.title}))};function vi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vi(Object(n),!0).forEach((function(t){yi(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function yi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wi(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ei(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ei(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 Ei(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Si=function(e){var t=Vr();return o.createElement("span",{className:"wprm-admin-modal-toolbar-button",onMouseDown:function(n){n.preventDefault();var r=e.hasOwnProperty("before")?e.before:"",o=e.hasOwnProperty("after")?e.after:"",i=t.selection;if(i&&Gn.isCollapsed(i))t.insertText("".concat(r).concat(o)),ir.move(t,{distance:o.length,reverse:!0});else{var a=wi(Gn.edges(i),2),s=a[0],u=a[1];JSON.stringify(s.path)===JSON.stringify(u.path)&&(u=bi(bi({},u),{},{offset:u.offset+r.length})),ir.insertText(t,r,{at:s}),ir.insertText(t,o,{at:u}),ir.collapse(t,{edge:"end"})}}},e.Icon())},Ii=function(e){return o.createElement("span",{className:"wprm-admin-modal-toolbar-spacer"})};function xi(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Oi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Oi(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 Oi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ci=function(){var e=Vr(),t=xi(An.nodes(e,{match:function(e){return"affiliate-link"===e.type}}),1)[0];if(!t)return null;var n=t[0];return o.createElement("div",{className:"wprm-admin-modal-toolbar-link"},o.createElement(ai.Z,{type:"eafl-link"}),o.createElement("span",null,"#",n.id),o.createElement(Ii,null),o.createElement(ai.Z,{type:"link"}),o.createElement("span",null,n.url))};function Di(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Pi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pi(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 Pi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Mi(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ki=function(e,t){var n=t[0],r=window.prompt((0,u.S)("Enter the URL of the link:"),n.url);r?Ni(e,t,"url",r):""===r&&ir.unwrapNodes(e,{match:function(e){return"link"===e.type}})},Ai=function(e,t,n){var r=t[0],o=!!r.hasOwnProperty(n)&&r[n];Ni(e,t,n,!o)},Ni=function(e,t,n,r){var o=t[0],i=t[1],a=Mi({},n,o[n]),s=Mi({},n,r);e.apply({type:"set_node",path:i,properties:a,newProperties:s})},ji=function(e){var t=Vr(),n=Di(An.nodes(t,{match:function(e){return"link"===e.type}}),1)[0];if(!n)return null;var r=n[0];return o.createElement("div",{className:"wprm-admin-modal-toolbar-link"},o.createElement(ai.Z,{type:"link",onClick:function(){return ki(t,n)}}),o.createElement("span",{className:"wprm-admin-modal-toolbar-link-value",onMouseDown:function(){return ki(t,n)}},r.url),o.createElement(Ii,null),o.createElement(ai.Z,{type:r.newTab?"checkbox-checked":"checkbox-empty",onClick:function(){return Ai(t,n,"newTab")}}),o.createElement("span",{className:"wprm-admin-modal-toolbar-link-value",onMouseDown:function(){return Ai(t,n,"newTab")}},(0,u.S)("Open in new tab")),o.createElement(Ii,null),o.createElement(ai.Z,{type:r.noFollow?"checkbox-checked":"checkbox-empty",onClick:function(){return Ai(t,n,"noFollow")}}),o.createElement("span",{className:"wprm-admin-modal-toolbar-link-value",onMouseDown:function(){return Ai(t,n,"noFollow")}},(0,u.S)("Use nofollow")))};n(23528);function Ti(e){return(Ti="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 Li(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ri(e,t){return(Ri=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function _i(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Bi(e);if(t){var o=Bi(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Fi(this,n)}}function Fi(e,t){return!t||"object"!==Ti(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 Bi(e){return(Bi=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Zi=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&&Ri(e,t)}(a,e);var t,n,r,i=_i(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),window.wprm_admin_modal_suggestions=window.wprm_admin_modal_suggestions||{},window.wprm_admin_modal_suggestions.hasOwnProperty(e.type)||(window.wprm_admin_modal_suggestions[e.type]={}),t.state={search:"",suggestions:[],loading:!1},t}return t=a,(n=[{key:"componentDidMount",value:function(){this.updateSuggestions(this.props.value)}},{key:"componentDidUpdate",value:function(){this.props.value!==this.state.search&&this.updateSuggestions(this.props.value)}},{key:"updateSuggestions",value:function(e){var t=this;window.wprm_admin_modal_suggestions[this.props.type].hasOwnProperty(e)?this.setState({suggestions:window.wprm_admin_modal_suggestions[this.props.type][e],search:e}):(this.setState({loading:!0,search:e}),c.Z.modal.getSuggestions({type:this.props.type,search:e}).then((function(n){n&&(window.wprm_admin_modal_suggestions[t.props.type][e]=n.suggestions,t.setState({suggestions:n.suggestions,loading:!1}))})))}},{key:"render",value:function(){var e=this;return o.createElement("div",{className:"wprm-admin-modal-toolbar-suggest"},this.state.loading||0!==this.state.suggestions.length?o.createElement(o.Fragment,null,o.createElement("strong",null,(0,u.S)("Suggestions:")),this.state.loading?o.createElement(We.Z,null):o.createElement(o.Fragment,null,this.state.suggestions.map((function(t,n){return o.createElement("span",{className:"wprm-admin-modal-toolbar-suggestion",onMouseDown:function(n){n.preventDefault(),e.props.onSelect(t.name)},key:n},o.createElement("span",{className:"wprm-admin-modal-toolbar-suggestion-text"},t.name," (",t.count,")"))})))):o.createElement("strong",null,(0,u.S)("No suggestions found.")))}}])&&Li(t.prototype,n),r&&Li(t,r),a}(o.Component);function Hi(){return(Hi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Ui=function(e){var t,n="";if("ingredient"!==e.type&&"equipment"!==e.type||(t=Vr(),n=ii(t)),!(0,o.useContext)(Wr))return null;var r={visibility:"hidden"},i=!1,a=!1;if("none"===e.type)return null;switch(e.type){case"no-styling":i=!0;break;case"no-link":a=!0;break;case"equipment":case"ingredient":a=!0}return o.createElement(si,null,o.createElement(Ci,null),o.createElement(ji,null),("ingredient"===e.type||"equipment"===e.type)&&o.createElement(Zi,{value:n,onSelect:function(t){e.setValue([{type:"paragraph",children:[{text:t}]}])},type:e.type}),o.createElement("div",{className:"wprm-admin-modal-toolbar-buttons"},o.createElement("span",{style:i?r:null},o.createElement(gi,Hi({},e,{type:"bold",title:(0,u.S)("Bold")})),o.createElement(gi,Hi({},e,{type:"italic",title:(0,u.S)("Italic")})),o.createElement(gi,Hi({},e,{type:"underline",title:(0,u.S)("Underline")})),o.createElement(Ii,null),o.createElement(gi,Hi({},e,{type:"subscript",title:(0,u.S)("Subscript")})),o.createElement(gi,Hi({},e,{type:"superscript",title:(0,u.S)("Superscript")}))),o.createElement(Ii,null),o.createElement("span",{style:a?r:null},o.createElement(mi,{type:"link",IconAdd:function(){return o.createElement(ai.Z,{type:"link",title:(0,u.S)("Add Link")})},IconRemove:function(){return o.createElement(ai.Z,{type:"unlink",title:(0,u.S)("Remove Link")})}}),o.createElement(pi,null)),o.createElement(Ii,null),o.createElement(mi,{type:"code",IconAdd:function(){return o.createElement(ai.Z,{type:"code",title:(0,u.S)("Add HTML or Shortcode")})},IconRemove:function(){return o.createElement(ai.Z,{type:"code",title:(0,u.S)("Remove HTML or Shortcode")})}}),o.createElement(Si,{before:"[adjustable]",after:"[/adjustable]",Icon:function(){return o.createElement(ai.Z,{type:"adjustable",title:(0,u.S)("Add Adjustable Shortcode")})}}),o.createElement(Si,{before:"[timer minutes=0]",after:"[/timer]",Icon:function(){return o.createElement(ai.Z,{type:"clock",title:(0,u.S)("Add Timer Shortcode")})}}),o.createElement(Ii,null),o.createElement(hi,{character:"½"}),o.createElement(hi,{character:"⅓"}),o.createElement(hi,{character:"⅔"}),o.createElement(hi,{character:"¼"}),o.createElement(hi,{character:"¾"}),o.createElement(hi,{character:"⅕"}),o.createElement(hi,{character:"⅙"}),o.createElement(hi,{character:"⅐"}),o.createElement(hi,{character:"⅛"}),o.createElement(Ii,null),o.createElement(hi,{character:"°"}),o.createElement(hi,{character:"Ø"})))};function Wi(){return(Wi=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var Gi=function(e){var t=e.attributes,n=e.children,r=e.element;switch(r.type){case"link":return o.createElement("a",Wi({href:r.url,target:r.newTab?"_blank":null,rel:r.noFollow?"nofollow":null},t),n);case"affiliate-link":return o.createElement("a",Wi({href:r.url,"data-eafl-id":r.id,className:"eafl-link"},t),n);case"code":return o.createElement("wprm-code",null,n);default:return o.createElement("p",t,n)}},zi=function(e){var t=e.attributes,n=e.children,r=e.leaf;return r.bold&&(n=o.createElement("strong",null,n)),r.italic&&(n=o.createElement("em",null,n)),r.underline&&(n=o.createElement("u",null,n)),r.subscript&&(n=o.createElement("sub",null,n)),r.superscript&&(n=o.createElement("sup",null,n)),o.createElement("span",t,n)};function qi(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 n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(u){o=!0,i=u}finally{try{r||null==s.return||s.return()}finally{if(o)throw i}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Vi(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Vi(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 Vi(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ji={"mod+b":"bold","mod+i":"italic","mod+u":"underline"},Yi=["link","affiliate-link","code"],Qi=function(e){var t=e.isInline;return e.isInline=function(e){return!!Yi.includes(e.type)||t(e)},e},Xi=function(e,t){var n=e.insertData;return e.insertData=function(r){var o=r.getData("text/html");if(o){var i=(new DOMParser).parseFromString(o,"text/html"),a=oi(i.body,t.singleLine);ir.insertFragment(e,a)}else n(r)},e},Ki=function(e){for(var t=(new DOMParser).parseFromString(e,"text/html"),n=oi(t.body),r=0;r<n.length;r++){var o=n[r];o.hasOwnProperty("text")&&(n[r]={type:"paragraph",children:[o]})}return n},$i=function(e,t){ea(e,t)?An.removeMark(e,t):An.addMark(e,t,!0)},ea=function(e,t){var n=An.marks(e);return!!n&&!0===n[t]},ta=function(e){if(Ke())return e.singleLine?o.createElement("div",{className:"wprm-admin-modal-field-richtext-legacy"},o.createElement(h.Z,e)):o.createElement("div",{className:"wprm-admin-modal-field-richtext-legacy"},o.createElement(be,e));var t=(0,o.useMemo)((function(){return Xi(Qi((e=>{var t=e,{apply:n}=t;return t.history={undos:[],redos:[]},t.redo=()=>{var{history:e}=t,{redos:n}=e;if(n.length>0){var r=n[n.length-1];Ao.withoutSaving(t,(()=>{An.withoutNormalizing(t,(()=>{for(var e of r)t.apply(e)}))})),e.redos.pop(),e.undos.push(r)}},t.undo=()=>{var{history:e}=t,{undos:n}=e;if(n.length>0){var r=n[n.length-1];Ao.withoutSaving(t,(()=>{An.withoutNormalizing(t,(()=>{var e=r.map(_n.inverse).reverse();for(var n of e)n===e[e.length-1]&&"set_selection"===n.type&&null==n.newProperties||t.apply(n)}))})),e.redos.push(r),e.undos.pop()}},t.apply=e=>{var{operations:r,history:o}=t,{undos:i}=o,a=i[i.length-1],s=a&&a[a.length-1],u=To(e,s),c=Ao.isSaving(t),l=Ao.isMerging(t);if(null==c&&(c=jo(e)),c){if(null==l&&(l=null!=a&&(0!==r.length||No(e,s)||u)),a&&l)u&&a.pop(),a.push(e);else{var p=[e];i.push(p)}for(;i.length>100;)i.shift();Lo(e)&&(o.redos=[])}n(e)},t})((e=>{var t=e,{apply:n,onChange:o}=t;return t.apply=e=>{var r=[];switch(e.type){case"insert_text":case"remove_text":case"set_node":for(var[o,i]of An.levels(t,{at:e.path})){var a=Ur.findKey(t,o);r.push([i,a])}break;case"insert_node":case"remove_node":case"merge_node":case"split_node":for(var[s,u]of An.levels(t,{at:Fn.parent(e.path)})){var c=Ur.findKey(t,s);r.push([u,c])}}for(var[l,p]of(n(e),r)){var[d]=An.node(t,l);Nr.set(d,p)}},t.setFragmentData=e=>{var{selection:n}=t;if(n){var[r,o]=Gn.edges(n),i=An.void(t,{at:r.path}),a=An.void(t,{at:o
|
1 |
+
var WPRecipeMaker;(WPRecipeMaker=void 0===WPRecipeMaker?{}:WPRecipeMaker)["wp-recipe-maker/dist/admin-modal"]=(self.webpackChunkWPRecipeMaker_name_=self.webpackChunkWPRecipeMaker_name_||[]).push([[97],{5831:function(e,t,n){"use strict";n.d(t,{o:function(){return r},L:function(){return o}});n(12798),n(39275),n(22321),n(67838),n(29897);function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;t=parseInt(t);var n=parseFloat(parseFloat(e).toFixed(t));return 0==n&&(n+=Math.pow(10,-1*t)),n}function o(e){e=(e=(e=""+e).replace(",",".")).replace(" to ","-");var t={"¼":" 1/4","½":" 1/2","¾":" 3/4","⅐":" 1/7","⅑":" 1/9","⅒":" 1/10","⅓":" 1/3","⅔":" 2/3","⅕":" 1/5","⅖":" 2/5","⅗":" 3/5","⅘":" 4/5","⅙":" 1/6","⅚":" 5/6","⅛":" 1/8","⅜":" 3/8","⅝":" 5/8","⅞":" 7/8"},n=(e=(e=(e=(e=(e=(e+"").replace(/(\u00BC|\u00BD|\u00BE|\u2150|\u2151|\u2152|\u2153|\u2154|\u2155|\u2156|\u2157|\u2158|\u2159|\u215A|\u215B|\u215C|\u215D|\u215E)/,(function(e,n){return t[n]}))).replace(/(<([^>]+)>)/gi,"")).replace(/(\[([^\]]+)\])/gi,"")).replace(/[^\d\s\.\/-]/gi,"")).trim()).split(" "),r=!1;if(""!==e){r=0;for(var o=0;o<n.length;o++)if(""!==n[o].trim()){var i=n[o].split("/",2),a=parseFloat(i[0]);if(void 0!==i[1]){var s=parseFloat(i[1]);0!==s&&(a/=s)}isNaN(a)||(r+=a)}}return r}},29229:function(e,t,n){"use strict";n.r(t);var r=n(73961),o=n(89526),i=(n(26364),n(86632),n(61928),n(54883),n(56908),n(10853),n(54130),n(33290),n(45007),n(68995),n(34823)),a=n.n(i),s=n(48618),u=n(52082),c=(n(55862),n(73214),n(80044),n(37673)),l=n(95075),p=function(e){var t=!1,n=!!e.help&&e.help,r="button";if(e.required&&(!wprm_admin.addons.hasOwnProperty(e.required)||!0!==wprm_admin.addons[e.required]))if(t=!0,"premium"!==e.required){var i=e.required[0].toUpperCase()+e.required.substring(1);n="WP Recipe Maker ".concat(i," Bundle Only")}else n="WP Recipe Maker Premium Only";return e.isPrimary&&(r+=" button-primary"),t&&(r+=" wprm-button-required"),o.createElement(l.Z,{content:n},o.createElement("button",{className:r,tabIndex:e.disableTab?"-1":null,onClick:t?function(){confirm("Want to learn more about the version required for this feature?")&&window.open("https://bootstrapped.ventures/wp-recipe-maker/get-the-plugin/","_blank")}:e.onClick},e.children))},d=n(96005),f=n(86605),m=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Actions"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},h=(n(19701),n(61078),n(80238),n(12938),n(6208),n(59905)),g=n(24207);function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){y(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var w=function(e){var t=!!e.action&&e.action.type,n=[{value:"change-link",label:(0,u.S)("Change Link"),default:""},{value:"change-nofollow",label:(0,u.S)("Change Link Nofollow"),default:"default"},{value:"export",label:(0,u.S)("Export Equipment"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Equipment"),default:!1}];return o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-link"===t&&o.createElement(h.Z,{name:"equipment-link",value:e.action.options,placeholder:(0,u.S)("Equipment Link"),onChange:function(t){var n=b(b({},e.action),{},{options:t});e.onActionChange(n)}}),"change-nofollow"===t&&o.createElement(g.Z,{id:"nofollow",options:wprm_admin_modal.options.equipment_link_nofollow,value:e.action.options,onChange:function(t){var n=b(b({},e.action),{},{options:t});e.onActionChange(n)}}))))};function E(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function S(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?E(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):E(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var x=function(e){var t=!!e.action&&e.action.type,n=[{value:"change-group",label:(0,u.S)("Change Shopping List Group"),default:""},{value:"change-link",label:(0,u.S)("Change Link"),default:""},{value:"change-nofollow",label:(0,u.S)("Change Link Nofollow"),default:"default"},{value:"create-nutrition",label:(0,u.S)("Add as Custom Nutrition Ingredient"),default:!1},{value:"export",label:(0,u.S)("Export Ingredients"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Ingredients"),default:!1}];return o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-group"===t&&o.createElement(h.Z,{name:"shopping-list-group",value:e.action.options,placeholder:(0,u.S)("Shopping List Group"),onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}),"change-link"===t&&o.createElement(h.Z,{name:"ingredient-link",value:e.action.options,placeholder:(0,u.S)("Ingredient Link"),onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}),"change-nofollow"===t&&o.createElement(g.Z,{id:"nofollow",options:wprm_admin_modal.options.ingredient_link_nofollow,value:e.action.options,onChange:function(t){var n=S(S({},e.action),{},{options:t});e.onActionChange(n)}}))))},O=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Ratings"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},C=(n(42900),n(54994),n(43636)),D=n(69347),P=(n(4845),n(18821),n(33130),n(2778)),M=n.n(P),k=n(844),A=(n(12821),n(2652),n(23078)),N=n(24573),j=(n(72144),n(72638),n(6185));function T(){return(T=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}var L,R,_,F=function(e,t){void 0===e&&(e="");var n=String(e).toLowerCase(),r=String(t.value).toLowerCase(),o=String(t.label).toLowerCase();return r===n||o===n},B=T({allowCreateWhileLoading:!1,createOptionPosition:"last"},{formatCreateLabel:function(e){return'Create "'+e+'"'},isValidNewOption:function(e,t,n){return!(!e||t.some((function(t){return F(e,t)}))||n.some((function(t){return F(e,t)})))},getNewOptionData:function(e,t){return{label:t,value:e,__isNew__:!0}}}),Z=(L=N.S,_=R=function(e){var t,n;function r(t){var n;(n=e.call(this,t)||this).select=void 0,n.onChange=function(e,t){var r=n.props,o=r.getNewOptionData,i=r.inputValue,a=r.isMulti,s=r.onChange,u=r.onCreateOption,c=r.value,l=r.name;if("select-option"!==t.action)return s(e,t);var p=n.state.newOption,d=Array.isArray(e)?e:[e];if(d[d.length-1]!==p)s(e,t);else if(u)u(i);else{var f=o(i,i),m={action:"create-option",name:l};s(a?[].concat((0,A.e)(c),[f]):f,m)}};var r=t.options||[];return n.state={newOption:void 0,options:r},n}n=e,(t=r).prototype=Object.create(n.prototype),t.prototype.constructor=t,t.__proto__=n;var i=r.prototype;return i.UNSAFE_componentWillReceiveProps=function(e){var t=e.allowCreateWhileLoading,n=e.createOptionPosition,r=e.formatCreateLabel,o=e.getNewOptionData,i=e.inputValue,a=e.isLoading,s=e.isValidNewOption,u=e.value,c=e.options||[],l=this.state.newOption;l=s(i,(0,A.e)(u),c)?o(i,r(i)):void 0,this.setState({newOption:l,options:!t&&a||!l?c:"first"===n?[l].concat(c):[].concat(c,[l])})},i.focus=function(){this.select.focus()},i.blur=function(){this.select.blur()},i.render=function(){var e=this,t=this.state.options;return o.createElement(L,T({},this.props,{ref:function(t){e.select=t},options:t,onChange:this.onChange}))},r}(o.Component),R.defaultProps=B,_),H=(0,j.m)(Z);function U(e){return(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})(e)}function W(){return(W=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function G(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?G(Object(n),!0).forEach((function(t){q(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):G(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function q(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function V(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw i}}}}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Y(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Q(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function X(e,t){return(X=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function K(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=ee(e);if(t){var o=ee(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return $(this,n)}}function $(e,t){return!t||"object"!==U(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 ee(e){return(ee=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var te=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&&X(e,t)}(a,e);var t,n,r,i=K(a);function a(){return Y(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"shouldComponentUpdate",value:function(e){return this.props.id!==e.id||JSON.stringify(this.props.value)!==JSON.stringify(e.value)}},{key:"render",value:function(){var e,t=this,n=wprm_admin_modal.categories[this.props.id].terms,r=[],i=[],a=V(n);try{var s=function(){var n=e.value,o={value:n.term_id,label:M().decode(n.name)};r.push(o),t.props.value.find((function(e){return e.term_id===n.term_id||e.name===n.term_id}))&&i.push(o)};for(a.s();!(e=a.n()).done;)s()}catch(p){a.e(p)}finally{a.f()}var c=this.props.custom?this.props.custom:{},l=this.props.creatable?H:k.ZP;return o.createElement(l,W({isMulti:!0,options:r,value:i,placeholder:this.props.creatable?(0,u.S)("Select from list or type to create..."):(0,u.S)("Select from list..."),onChange:function(e){var n=[];if(e){var r,o=V(e);try{var i=function(){var e=r.value;e.hasOwnProperty("__isNew__")&&e.__isNew__&&wprm_admin_modal.categories[t.props.id].terms.push({term_id:e.label,name:e.label});var o=wprm_admin_modal.categories[t.props.id].terms.find((function(t){return t.term_id===e.value}));o&&n.push(o)};for(o.s();!(r=o.n()).done;)i()}catch(p){o.e(p)}finally{o.f()}}t.props.onChange(n)},styles:{placeholder:function(e){return z(z({},e),{},{color:"#444",opacity:"0.333"})},control:function(e){return z(z({},e),{},{backgroundColor:"white"})},container:function(e){return z(z({},e),{},{width:"100%",maxWidth:t.props.width?t.props.width:"100%"})}}},c))}}])&&Q(t.prototype,n),r&&Q(t,r),a}(o.Component);function ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ne(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ie=function(e){var t=!!e.action&&e.action.type,n=!1,r=[];Object.keys(wprm_admin_manage.taxonomies).map((function(e,t){var o=e.substr(5);n||(n=o),r.push({value:o,label:wprm_admin_manage.taxonomies[e].name})}));var i=[];return 0<r.length&&i.push({value:"add-terms",label:(0,u.S)("Add Terms"),default:{taxonomy:n,terms:[]}},{value:"remove-terms",label:(0,u.S)("Remove Terms"),default:{taxonomy:n,terms:[]}}),i.push({value:"change-type",label:(0,u.S)("Change Recipe Type"),default:"food"},{value:"change-author",label:(0,u.S)("Change Display Author"),default:{author:"default",author_name:"",author_link:""}},{value:"change-servings",label:(0,u.S)("Change Servings"),default:{servings:"",servings_unit:""}},{value:"recalculate-time",label:(0,u.S)("Recalculate Total Time"),default:!1},{value:"print",label:(0,u.S)("Print Recipes"),default:!1},{value:"export",label:(0,u.S)("Export Recipes"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Recipes"),default:!1}),o.createElement("form",null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},i.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};n.hasOwnProperty("required")&&(t.required=n.required),e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"},"change-type"===t&&o.createElement(g.Z,{id:"type",options:[{value:"food",label:(0,u.S)("Food Recipe")},{value:"howto",label:(0,u.S)("How-to Instructions")},{value:"other",label:(0,u.S)("Other (no metadata)")}],value:e.action.options,onChange:function(t){var n=re(re({},e.action),{},{options:t});e.onActionChange(n)}}),"change-author"===t&&o.createElement(o.Fragment,null,o.createElement(D.Z,{options:wprm_admin_modal.options.author.filter((function(e){return"same"!==e.actual})),value:e.action.options.author,onChange:function(t){var n=re(re({},e.action),{},{options:{author:t,author_name:"",author_link:""}});e.onActionChange(n)},width:300,custom:{menuPlacement:"top",maxMenuHeight:150}}),"custom"===wprm_admin_modal.options.author.find((function(t){return t.value===e.action.options.author})).actual&&o.createElement(o.Fragment,null," ",o.createElement(h.Z,{name:"author-name",placeholder:(0,u.S)("Author Name"),value:e.action.options.author_name,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{author_name:t})});e.onActionChange(n)}})," ",o.createElement(h.Z,{name:"author-link",placeholder:"https://bootstrapped.ventures",type:"url",value:e.action.options.author_link,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{author_link:t})});e.onActionChange(n)}}))),"change-servings"===t&&o.createElement(C.Z,{id:"servings"},o.createElement(h.Z,{placeholder:"4",type:"number",value:0!=e.action.options.servings?e.action.options.servings:"",onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{servings:t})});e.onActionChange(n)}}),o.createElement(h.Z,{name:"servings-unit",placeholder:(0,u.S)("people"),value:e.servings_unit,onChange:function(t){var n=re(re({},e.action),{},{options:re(re({},e.action.options),{},{servings_unit:t})});e.onActionChange(n)}})),("add-terms"===t||"remove-terms"===t)&&o.createElement(o.Fragment,null,o.createElement(D.Z,{options:r,value:e.action.options.taxonomy,onChange:function(t){var n=re(re({},e.action),{},{options:{taxonomy:t,terms:[]}});e.onActionChange(n)},width:200,custom:{menuPlacement:"top",maxMenuHeight:150}})," ",o.createElement(te,{id:e.action.options.taxonomy,value:e.action.options.terms,onChange:function(t){var n=re(re({},e.action),{},{options:{taxonomy:e.action.options.taxonomy,terms:t}});e.onActionChange(n)},custom:{menuPlacement:"top",maxMenuHeight:200}})))))},ae=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Delete Revisions"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))},se=function(e){var t=!!e.action&&e.action.type,n=[{value:"export",label:(0,u.S)("Export Terms"),default:!1,required:"premium"},{value:"delete",label:(0,u.S)("Delete Terms"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))),t&&!1!==e.action.options&&o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Action options:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-options"})))},ue=function(e){var t=!!e.action&&e.action.type,n=[{value:"delete",label:(0,u.S)("Permanently Delete Recipes"),default:!1}];return o.createElement(o.Fragment,null,o.createElement("div",{className:"wprm-admin-modal-bulk-edit-label"},(0,u.S)("Select an action to perform:")),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-actions"},n.map((function(n){return o.createElement("div",{className:"wprm-admin-modal-bulk-edit-action",key:n.value},o.createElement("input",{type:"radio",value:n.value,name:"wprm-admin-radio-bulk-edit-action",id:"wprm-admin-radio-bulk-edit-action-".concat(n.value),checked:t===n.value,onChange:function(){var t={type:n.value,options:n.default};e.onActionChange(t)}}),o.createElement("label",{htmlFor:"wprm-admin-radio-bulk-edit-action-".concat(n.value)},n.label))}))))};function ce(e){return(ce="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 le(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function pe(e,t){return(pe=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function de(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=he(e);if(t){var o=he(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return fe(this,n)}}function fe(e,t){return!t||"object"!==ce(t)&&"function"!=typeof t?me(e):t}function me(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function he(e){return(he=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var ge={analytics:{label:(0,u.S)("Actions"),elem:m},rating:{label:(0,u.S)("Ratings"),elem:O},recipe:{label:(0,u.S)("Recipes"),elem:ie},revision:{label:(0,u.S)("Revisions"),elem:ae},ingredient:{label:(0,u.S)("Ingredients"),elem:x},equipment:{label:(0,u.S)("Equipment"),elem:w},trash:{label:(0,u.S)("Recipes"),elem:ue},nutrition_ingredient:{label:(0,u.S)("Custom Nutrition Ingredients"),elem:se}};Object.keys(wprm_admin_modal.categories).map((function(e){var t=wprm_admin_modal.categories[e];ge[e]={label:t.label,elem:se}}));var ve=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&&pe(e,t)}(a,e);var t,n,r,i=de(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)).state={route:e.args.hasOwnProperty("route")?e.args.route:"recipe",type:e.args.hasOwnProperty("type")?e.args.type:"recipe",ids:e.args.hasOwnProperty("ids")?e.args.ids:[],action:!1,savingChanges:!1,result:!1},t.onBulkEdit=t.onBulkEdit.bind(me(t)),t.allowCloseModal=t.allowCloseModal.bind(me(t)),t}return t=a,(n=[{key:"onBulkEdit",value:function(){var e=this;this.state.action&&this.setState({savingChanges:!0},(function(){c.Z.manage.bulkEdit(e.state.route,e.state.type,e.state.ids,e.state.action).then((function(t){var n=!1;t.hasOwnProperty("result")&&(n=t.result),e.setState({savingChanges:!1,result:n},(function(){"function"==typeof e.props.args.saveCallback&&e.props.args.saveCallback(),n||e.props.maybeCloseModal()}))}))}))}},{key:"allowCloseModal",value:function(){return!this.state.savingChanges}},{key:"changesMade",value:function(){return!(!this.state.action||!this.state.action.type||Array.isArray(this.state.action.options)&&0===this.state.action.options.length)}},{key:"render",value:function(){var e=this,t=!!ge.hasOwnProperty(this.state.type)&&ge[this.state.type];if(!t)return null;var n=t.elem,r="".concat((0,u.S)("Bulk Edit")," ").concat(this.state.ids.length," ").concat(t.label);return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},r),o.createElement("div",{className:"wprm-admin-modal-bulk-edit-container"},!1===this.state.result?o.createElement(n,{action:this.state.action,onActionChange:function(t){e.setState({action:t})}}):o.createElement("div",{dangerouslySetInnerHTML:{__html:this.state.result}})),o.createElement(f.Z,{savingChanges:this.state.savingChanges},!1===this.state.result?o.createElement(p,{isPrimary:!0,required:this.state.action&&this.state.action.hasOwnProperty("required")?this.state.action.required:null,onClick:this.onBulkEdit,disabled:!this.changesMade()},r):o.createElement(p,{isPrimary:!0,onClick:this.props.maybeCloseModal},(0,u.S)("Close"))))}}])&&le(t.prototype,n),r&&le(t,r),a}(o.Component),be=function(e){return o.createElement("textarea",{value:e.value,placeholder:e.placeholder,onChange:function(t){e.onChange(t.target.value)}})};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 we(e){return function(e){if(Array.isArray(e))return Ee(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 Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ee(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 Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Se(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ie(e,t){return(Ie=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function xe(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Ce(e);if(t){var o=Ce(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Oe(this,n)}}function Oe(e,t){return!t||"object"!==ye(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 Ce(e){return(Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var De=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&&Ie(e,t)}(a,e);var t,n,r,i=xe(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)).state={fields:e.args.fields},t}return t=a,(n=[{key:"render",value:function(){var e=this;return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},this.props.args.header),o.createElement("div",{className:"wprm-admin-modal-input-fields-container"},this.state.fields.map((function(t,n){var r=h.Z;switch(t.hasOwnProperty("type")?t.type:"text"){case"textarea":r=be}return o.createElement(o.Fragment,{key:n},t.hasOwnProperty("label")&&o.createElement("div",{className:"wprm-admin-modal-input-fields-field-label"},t.label),o.createElement(r,{value:t.value,onChange:function(t){var r=we(e.state.fields);r[n].value=t,e.setState({fields:r})}}))}))),o.createElement(f.Z,{savingChanges:!1},o.createElement("button",{className:"button button-primary",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback(e.state),e.props.maybeCloseModal()}},(0,u.S)("Change"))))}}])&&Se(t.prototype,n),r&&Se(t,r),a}(o.Component);n(39275),n(22321),n(86125);function Pe(e){return(Pe="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 Me(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ke(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Me(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Me(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ne(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Te(e,t){return(Te=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Le(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=_e(e);if(t){var o=_e(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Re(this,n)}}function Re(e,t){return!t||"object"!==Pe(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 _e(e){return(_e=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Fe=function(e){return e=(e=(e=e.replace(/"/gm,"%22")).replace(/\]/gm,"%5D")).replace(/\r?\n|\r/gm,"%0A")},Be=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&&Te(e,t)}(a,e);var t,n,r,i=Le(a);function a(){return Ne(this,a),i.apply(this,arguments)}return t=a,(n=[{key:"render",value:function(){var e=this;return o.createElement(o.Fragment,null,o.createElement(d.Z,{onCloseModal:this.props.maybeCloseModal},"WP Recipe Maker"),o.createElement("div",{className:"wprm-admin-modal-menu-container"},o.createElement("h2",null,(0,u.S)("Recipes")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{isPrimary:!0,onClick:function(){WPRM_Modal.open("recipe",e.props.args,!0)}},(0,u.S)("Create new Recipe")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Insert existing Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{}},insertCallback:function(t){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback('[wprm-recipe id="'.concat(t.recipe.id,'"]'))}},!0)}},(0,u.S)("Insert existing Recipe")),o.createElement(p,{required:"premium",onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Create new from existing Recipe"),button:(0,u.S)("Clone Recipe"),fields:{recipe:{}},nextStepCallback:function(t){WPRM_Modal.open("recipe",ke(ke({},e.props.args),{},{recipeId:t.recipe.id,cloneRecipe:!0}),!0)}},!0)}},(0,u.S)("Create new from existing Recipe"))),o.createElement("h2",null,(0,u.S)("Recipe Snippets")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{help:(0,u.S)("Displays default snippet template as set in the WPRM Settings"),onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Full Snippet Template"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-snippet";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Full Snippet Template")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Jump to Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-jump";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Jump to Recipe")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Jump to Video"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-jump-video";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Jump to Video")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Print Recipe"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-print";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Print Recipe"))),o.createElement("h2",null,(0,u.S)("Recipe Parts")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{required:"premium",onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Nutrition Label"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-nutrition-label";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Nutrition Label")),o.createElement(p,{onClick:function(){WPRM_Modal.open("select",{title:(0,u.S)("Recipe Video"),button:(0,u.S)("Insert"),fields:{recipe:{showFirst:!0}},insertCallback:function(t){if("function"==typeof e.props.args.insertCallback){var n="[wprm-recipe-video";n+=t.recipe&&t.recipe.id?' id="'.concat(t.recipe.id,'"]'):"]",e.props.args.insertCallback(n)}}},!0)}},(0,u.S)("Recipe Video"))),o.createElement("h2",null,(0,u.S)("Other Features")),o.createElement("div",{className:"wprm-admin-modal-menu-buttons"},o.createElement(p,{help:(0,u.S)("Use for a list of existing recipes on your website"),onClick:function(){WPRM_Modal.open("roundup",{insertCallback:function(t){if("function"==typeof e.props.args.insertCallback)if(t.hasOwnProperty("type")&&"external"===t.type){var n="[wprm-recipe-roundup-item";n+=' link="'.concat(Fe(t.link),'"'),n+=t.nofollow?' nofollow="1"':"",n+=t.newtab?"":' newtab="0"',n+=' name="'.concat(Fe(t.name),'"'),n+=' summary="'.concat(Fe(t.summary),'"'),n+=t.image.id?' image="'.concat(t.image.id,'"'):"",-1===t.image.id&&t.image.url&&(n+=t.image.url?' image_url="'.concat(t.image.url,'"'):""),n+="]",e.props.args.insertCallback(n)}else e.props.args.insertCallback('[wprm-recipe-roundup-item id="'.concat(t.recipe.id,'"]'))}},!0)}},(0,u.S)("Recipe Roundup Item")),o.createElement(p,{required:"elite",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback("[wprm-recipe-submission]"),e.props.maybeCloseModal()}},(0,u.S)("Recipe Submission Form")),o.createElement(p,{required:"elite",onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback("[wprm-recipe-collections]"),e.props.maybeCloseModal()}},(0,u.S)("Recipe Collections")),o.createElement(p,{required:"elite",help:(0,u.S)("Find the saved collection ID on the WP Recipe Maker > Manage > Saved Collections page"),onClick:function(){"function"==typeof e.props.args.insertCallback&&e.props.args.insertCallback('[wprm-saved-collection id=""]'),e.props.maybeCloseModal()}},(0,u.S)("Saved Recipe Collection")))))}}])&&je(t.prototype,n),r&&je(t,r),a}(o.Component),Ze=n(68470),He=n(55565),Ue=n.n(He),We=n(34133),Ge=function(e){var t=null;return e.id&&(t="wprm-admin-modal-fields-group-".concat(e.id)),o.createElement(Ze.W_,{className:"wprm-admin-modal-fields-group",id:t,name:t},e.header?o.createElement("div",{className:"wprm-admin-modal-fields-group-header"},e.header):null,o.createElement("div",{className:"wprm-admin-modal-fields"},e.children))},ze=function(e){return o.createElement(o.Fragment,null,o.createElement(C.Z,{label:(0,u.S)("Import from Text")},o.createElement(be,{placeholder:(0,u.S)("Paste or type recipe to start..."),value:"",onChange:function(t){t&&e.onModeChange("text-import",t)}})),o.createElement(C.Z,{label:(0,u.S)("Import from JSON")},o.createElement(be,{placeholder:(0,u.S)("Paste the recipe JSON data to import"),value:"",onChange:function(t){if(t)try{var n=JSON.parse(t);e.onRecipeChange(n),alert((0,u.S)("The recipe has been imported."))}catch(r){alert((0,u.S)("No valid recipe found."))}}})))},qe=(n(85005),n(5308)),Ve=function(e){var t=e.id>0,n=function(t){t.preventDefault(),qe.Z.selectImage((function(t){if(e.hasOwnProperty("requirements")){var n=[];e.requirements.hasOwnProperty("width")&&t.width&&t.width<e.requirements.width&&n.push("".concat((0,u.S)("The image should have at least this width:")," ").concat(e.requirements.width,"px")),e.requirements.hasOwnProperty("height")&&t.height&&t.height<e.requirements.height&&n.push("".concat((0,u.S)("The image should have at least this height:")," ").concat(e.requirements.width,"px")),n.length&&alert("".concat((0,u.S)("Warning! We recommend making sure the image meets the following requirements:"),"\n\n").concat(n.join("\n")))}e.onChange(t.id,t.url)}))};return o.createElement("div",{className:"wprm-admin-modal-field-image"},t?o.createElement("div",{className:"wprm-admin-modal-field-image-preview"},o.createElement("img",{onClick:n,src:e.url}),o.createElement("a",{href:"#",tabIndex:e.disableTab?"-1":null,onClick:function(t){t.preventDefault(),e.onChange(0,"")}},(0,u.S)("Remove Image"))):o.createElement(p,{required:e.required,disableTab:e.disableTab,onClick:n},(0,u.S)("Select Image")))},Je=function(e){var t=e.id>0,n=!t&&(-1==e.id||e.embed),r=t||n,i=function(t){t.preventDefault(),qe.Z.selectVideo((function(t){e.onChange(t.attributes.id,t.attributes.thumb.src)}))};return o.createElement("div",{className:"wprm-admin-modal-field-video"},r?o.createElement(o.Fragment,null,t?o.createElement("div",{className:"wprm-admin-modal-field-video-preview"},o.createElement("img",{onClick:i,src:e.thumb}),o.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.onChange(0,"")}},(0,u.S)("Remove Video"))):o.createElement(o.Fragment,null,o.createElement(be,{value:e.embed,onChange:function(t){e.onChange(-1,"",t)},placeholder:(0,u.S)("Use URL to the video (e.g. https://www.youtube.com/watch?v=dQw4w9WgXcQ) or the full embed code.")}),o.createElement("a",{href:"#",onClick:function(t){t.preventDefault(),e.onChange(0,"","")}},(0,u.S)("Remove Video")))):o.createElement(o.Fragment,null,o.createElement("button",{className:"button",onClick:i},(0,u.S)("Upload Video")),o.createElement("button",{className:"button",onClick:function(t){t.preventDefault(),e.onChange(-1,"")}},(0,u.S)("Embed Video"))))},Ye=function(e){return o.createElement(o.Fragment,null,o.createElement(C.Z,{label:(0,u.S)("Image"),help:(0,u.S)("Used in the recipe metadata. Should be an image of the completed dish.")},o.createElement(Ve,{requirements:{width:500,height:500},id:e.image.id,url:e.image.url,onChange:function(t,n){e.onRecipeChange({image_id:t,image_url:n})}})),"recipe_image"!==wprm_admin.settings.pinterest_use_for_image?o.createElement(C.Z,{label:(0,u.S)("Pin Image"),help:(0,u.S)('Optionally set a different image to use for the "Pin Recipe" button.')},o.createElement(Ve,{required:"premium",id:e.pinImage.id,url:e.pinImage.url,onChange:function(t,n){e.onRecipeChange({pin_image_id:t,pin_image_url:n})}})):null,o.createElement(C.Z,{label:(0,u.S)("Video"),help:(0,u.S)("Used in the recipe metadata. Can be displayed elsewhere on the page using the [wprm-recipe-video] shortcode.")},o.createElement(Je,{id:e.video.id,thumb:e.video.thumb,embed:e.video.embed,onChange:function(t,n){var r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],o={video_id:t,video_thumb_url:n};!1!==r&&(o.video_embed=r),e.onRecipeChange(o)}})))},Qe=n(38974),Xe=n.n(Qe);function Ke(){return Xe().getParser(window.navigator.userAgent).satisfies({edge:"<80",ie:">0"})}var $e,et=function(e){var t=!!e.hasOwnProperty("disabled")&&e.disabled;return o.createElement("input",{type:"checkbox",className:"wprm-admin-modal-field-checkbox",disabled:t,name:e.name,checked:e.value,onChange:function(t){e.onChange(t.target.checked)}})};n(18183),n(9968);
|
2 |
/*!
|
3 |
* is-plain-object <https://github.com/jonschlinkert/is-plain-object>
|
4 |
*
|
5 |
* Copyright (c) 2014-2017, Jon Schlinkert.
|
6 |
* Released under the MIT License.
|
7 |
*/
|
8 |
+
function tt(e){return!0==(null!=(t=e)&&"object"==typeof t&&!1===Array.isArray(t))&&"[object Object]"===Object.prototype.toString.call(e);
|
9 |
/*!
|
10 |
* isobject <https://github.com/jonschlinkert/isobject>
|
11 |
*
|
12 |
* Copyright (c) 2014-2017, Jon Schlinkert.
|
13 |
* Released under the MIT License.
|
14 |
*/
|
15 |
+
var t}function nt(e){var t,n;return!1!==tt(e)&&("function"==typeof(t=e.constructor)&&(!1!==tt(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf")))}var rt,ot,it="undefined"!=typeof Symbol,at="undefined"!=typeof Map,st="undefined"!=typeof Set,ut=it?Symbol("immer-nothing"):(($e={})["immer-nothing"]=!0,$e),ct=it?Symbol("immer-draftable"):"__$immer_draftable",lt=it?Symbol("immer-state"):"__$immer_state",pt=it?Symbol.iterator:"@@iterator",dt=function(e,t){return(dt=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function ft(e,t){function n(){this.constructor=e}dt(e,t),e.prototype=(n.prototype=t.prototype,new n)}function mt(e){return!!e&&!!e[lt]}function ht(e){return!!e&&(function(e){if(!e||"object"!=typeof e)return!1;var t=Object.getPrototypeOf(e);return!t||t===Object.prototype}(e)||Array.isArray(e)||!!e[ct]||!!e.constructor[ct]||St(e)||It(e))}!function(e){e[e.Object=0]="Object",e[e.Array=1]="Array",e[e.Map=2]="Map",e[e.Set=3]="Set"}(rt||(rt={})),function(e){e[e.ProxyObject=0]="ProxyObject",e[e.ProxyArray=1]="ProxyArray",e[e.ES5Object=2]="ES5Object",e[e.ES5Array=3]="ES5Array",e[e.Map=4]="Map",e[e.Set=5]="Set"}(ot||(ot={}));var gt="undefined"!=typeof Reflect&&Reflect.ownKeys?Reflect.ownKeys:void 0!==Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:Object.getOwnPropertyNames;function vt(e,t){bt(e)===rt.Object?gt(e).forEach((function(n){return t(n,e[n],e)})):e.forEach((function(n,r){return t(r,n,e)}))}function bt(e){if(e||Pt(),e[lt])switch(e[lt].type){case ot.ES5Object:case ot.ProxyObject:return rt.Object;case ot.ES5Array:case ot.ProxyArray:return rt.Array;case ot.Map:return rt.Map;case ot.Set:return rt.Set}return Array.isArray(e)?rt.Array:St(e)?rt.Map:It(e)?rt.Set:rt.Object}function yt(e,t){return bt(e)===rt.Map?e.has(t):Object.prototype.hasOwnProperty.call(e,t)}function wt(e,t){return bt(e)===rt.Map?e.get(t):e[t]}function Et(e,t){return e===t?0!==e||1/e==1/t:e!=e&&t!=t}function St(e){return at&&e instanceof Map}function It(e){return st&&e instanceof Set}function xt(e){return e.copy||e.base}function Ot(e,t){if(void 0===t&&(t=!1),Array.isArray(e))return e.slice();var n=Object.create(Object.getPrototypeOf(e));return gt(e).forEach((function(r){if(r!==lt){var o=Object.getOwnPropertyDescriptor(e,r),i=o.value;if(o.get){if(!t)throw new Error("Immer drafts cannot have computed properties");i=o.get.call(e)}o.enumerable?n[r]=i:Object.defineProperty(n,r,{value:i,writable:!0,configurable:!0})}})),n}function Ct(e,t){if(ht(e)&&!mt(e)&&!Object.isFrozen(e)){var n=bt(e);n===rt.Set?e.add=e.clear=e.delete=Dt:n===rt.Map&&(e.set=e.clear=e.delete=Dt),Object.freeze(e),t&&vt(e,(function(e,t){return Ct(t,!0)}))}}function Dt(){throw new Error("This object has been frozen and should not be mutated")}function Pt(){throw new Error("Illegal state, please file a bug")}var Mt=function(){function e(e,t){this.drafts=[],this.parent=e,this.immer=t,this.canAutoFreeze=!0}return e.prototype.usePatches=function(e){e&&(this.patches=[],this.inversePatches=[],this.patchListener=e)},e.prototype.revoke=function(){this.leave(),this.drafts.forEach(kt),this.drafts=null},e.prototype.leave=function(){this===e.current&&(e.current=this.parent)},e.enter=function(t){var n=new e(e.current,t);return e.current=n,n},e}();function kt(e){var t=e[lt];t.type===ot.ProxyObject||t.type===ot.ProxyArray?t.revoke():t.revoked=!0}function At(e,t,n){var r=n.drafts[0],o=void 0!==t&&t!==r;if(e.willFinalize(n,t,o),o){if(r[lt].modified)throw n.revoke(),new Error("An immer producer returned a new value *and* modified its draft. Either return a new value *or* modify the draft.");ht(t)&&(t=Nt(e,t,n),n.parent||Lt(e,t)),n.patches&&(n.patches.push({op:"replace",path:[],value:t}),n.inversePatches.push({op:"replace",path:[],value:r[lt].base}))}else t=Nt(e,r,n,[]);return n.revoke(),n.patches&&n.patchListener(n.patches,n.inversePatches),t!==ut?t:void 0}function Nt(e,t,n,r){var o=t[lt];if(!o)return Object.isFrozen(t)?t:jt(e,t,n);if(o.scope!==n)return t;if(!o.modified)return Lt(e,o.base,!0),o.base;if(!o.finalized){if(o.finalized=!0,jt(e,o.draft,n,r),e.onDelete&&o.type!==ot.Set)if(e.useProxies){vt(o.assigned,(function(t,n){n||e.onDelete(o,t)}))}else{var i=o.base,a=o.copy;vt(i,(function(t){yt(a,t)||e.onDelete(o,t)}))}e.onCopy&&e.onCopy(o),e.autoFreeze&&n.canAutoFreeze&&Ct(o.copy,!1),r&&n.patches&&function(e,t,n,r){switch(e.type){case ot.ProxyObject:case ot.ES5Object:case ot.Map:return function(e,t,n,r){var o=e.base,i=e.copy;vt(e.assigned,(function(e,a){var s=wt(o,e),u=wt(i,e),c=a?yt(o,e)?"replace":"add":"remove";if(s!==u||"replace"!==c){var l=t.concat(e);n.push("remove"===c?{op:c,path:l}:{op:c,path:l,value:u}),r.push("add"===c?{op:"remove",path:l}:"remove"===c?{op:"add",path:l,value:s}:{op:"replace",path:l,value:s})}}))}(e,t,n,r);case ot.ES5Array:case ot.ProxyArray:return function(e,t,n,r){var o,i,a=e.base,s=e.assigned,u=e.copy;u||Pt();u.length<a.length&&(a=(o=[u,a])[0],u=o[1],n=(i=[r,n])[0],r=i[1]);var c=u.length-a.length,l=0;for(;a[l]===u[l]&&l<a.length;)++l;var p=a.length;for(;p>l&&a[p-1]===u[p+c-1];)--p;for(var d=l;d<p;++d)if(s[d]&&u[d]!==a[d]){var f=t.concat([d]);n.push({op:"replace",path:f,value:u[d]}),r.push({op:"replace",path:f,value:a[d]})}var m=n.length;for(d=p+c-1;d>=p;--d){f=t.concat([d]);n[m+d-p]={op:"add",path:f,value:u[d]},r.push({op:"remove",path:f})}}(e,t,n,r);case ot.Set:(function(e,t,n,r){var o=e.base,i=e.copy,a=0;o.forEach((function(e){if(!i.has(e)){var o=t.concat([a]);n.push({op:"remove",path:o,value:e}),r.unshift({op:"add",path:o,value:e})}a++})),a=0,i.forEach((function(e){if(!o.has(e)){var i=t.concat([a]);n.push({op:"add",path:i,value:e}),r.unshift({op:"remove",path:i,value:e})}a++}))})(e,t,n,r)}}(o,r,n.patches,n.inversePatches)}return o.copy}function jt(e,t,n,r){var o=t[lt];return o&&(o.type!==ot.ES5Object&&o.type!==ot.ES5Array||(o.copy=Ot(o.draft,!0)),t=o.copy),vt(t,(function(i,a){return Tt(e,n,t,o,t,i,a,r)})),t}function Tt(e,t,n,r,o,i,a,s){if(a===o)throw Error("Immer forbids circular references");var u=!!r&&o===n,c=It(o);if(mt(a)){var l=s&&u&&!c&&!yt(r.assigned,i)?s.concat(i):void 0;(function(e,t,n){switch(bt(e)){case rt.Map:e.set(t,n);break;case rt.Set:e.delete(t),e.add(n);break;default:e[t]=n}})(o,i,a=Nt(e,a,t,l)),mt(a)&&(t.canAutoFreeze=!1)}else{if(u&&Et(a,wt(r.base,i)))return;ht(a)&&(vt(a,(function(o,i){return Tt(e,t,n,r,a,o,i,s)})),t.parent||Lt(e,a))}u&&e.onAssign&&!c&&e.onAssign(r,i,a)}function Lt(e,t,n){void 0===n&&(n=!1),e.autoFreeze&&!mt(t)&&Ct(t,n)}var Rt={get:function(e,t){if(t===lt)return e;var n=e.drafts;if(!e.modified&&yt(n,t))return n[t];var r=xt(e)[t];if(e.finalized||!ht(r))return r;if(e.modified){if(r!==Ft(e.base,t))return r;n=e.copy}return n[t]=e.scope.immer.createProxy(r,e)},has:function(e,t){return t in xt(e)},ownKeys:function(e){return Reflect.ownKeys(xt(e))},set:function(e,t,n){if(!e.modified){var r=Ft(e.base,t);if(n?Et(r,n)||n===e.drafts[t]:Et(r,n)&&t in e.base)return!0;Zt(e),Bt(e)}return e.assigned[t]=!0,e.copy[t]=n,!0},deleteProperty:function(e,t){return void 0!==Ft(e.base,t)||t in e.base?(e.assigned[t]=!1,Zt(e),Bt(e)):e.assigned[t]&&delete e.assigned[t],e.copy&&delete e.copy[t],!0},getOwnPropertyDescriptor:function(e,t){var n=xt(e),r=Reflect.getOwnPropertyDescriptor(n,t);return r&&(r.writable=!0,r.configurable=e.type!==ot.ProxyArray||"length"!==t),r},defineProperty:function(){throw new Error("Object.defineProperty() cannot be used on an Immer draft")},getPrototypeOf:function(e){return Object.getPrototypeOf(e.base)},setPrototypeOf:function(){throw new Error("Object.setPrototypeOf() cannot be used on an Immer draft")}},_t={};function Ft(e,t){var n=e[lt],r=Reflect.getOwnPropertyDescriptor(n?xt(n):e,t);return r&&r.value}function Bt(e){if(!e.modified){if(e.modified=!0,e.type===ot.ProxyObject||e.type===ot.ProxyArray){var t=e.copy=Ot(e.base);vt(e.drafts,(function(e,n){t[e]=n})),e.drafts=void 0}e.parent&&Bt(e.parent)}}function Zt(e){e.copy||(e.copy=Ot(e.base))}function Ht(e,t,n){e.drafts.forEach((function(e){e[lt].finalizing=!0})),n?mt(t)&&t[lt].scope===e&&Yt(e.drafts):(e.patches&&Qt(e.drafts[0]),Yt(e.drafts))}function Ut(e,t){var n=Array.isArray(e),r=qt(e);vt(r,(function(t){!function(e,t,n){var r=Vt[t];r?r.enumerable=n:Vt[t]=r={configurable:!0,enumerable:n,get:function(){return function(e,t){Jt(e);var n=Wt(xt(e),t);if(e.finalizing)return n;if(n===Wt(e.base,t)&&ht(n))return zt(e),e.copy[t]=e.scope.immer.createProxy(n,e);return n}(this[lt],t)},set:function(e){!function(e,t,n){if(Jt(e),e.assigned[t]=!0,!e.modified){if(Et(n,Wt(xt(e),t)))return;Gt(e),zt(e)}e.copy[t]=n}(this[lt],t,e)}};Object.defineProperty(e,t,r)}(r,t,n||function(e,t){var n=Object.getOwnPropertyDescriptor(e,t);return!(!n||!n.enumerable)}(e,t))}));var o,i,a,s={type:n?ot.ES5Array:ot.ES5Object,scope:t?t.scope:Mt.current,modified:!1,finalizing:!1,finalized:!1,assigned:{},parent:t,base:e,draft:r,copy:null,revoked:!1,isManual:!1};return o=r,i=lt,a=s,Object.defineProperty(o,i,{value:a,enumerable:!1,writable:!0}),r}function Wt(e,t){var n=e[lt];if(n&&!n.finalizing){n.finalizing=!0;var r=e[t];return n.finalizing=!1,r}return e[t]}function Gt(e){e.modified||(e.modified=!0,e.parent&&Gt(e.parent))}function zt(e){e.copy||(e.copy=qt(e.base))}function qt(e){var t=e&&e[lt];if(t){t.finalizing=!0;var n=Ot(t.draft,!0);return t.finalizing=!1,n}return Ot(e)}vt(Rt,(function(e,t){_t[e]=function(){return arguments[0]=arguments[0][0],t.apply(this,arguments)}})),_t.deleteProperty=function(e,t){if(isNaN(parseInt(t)))throw new Error("Immer only supports deleting array indices");return Rt.deleteProperty.call(this,e[0],t)},_t.set=function(e,t,n){if("length"!==t&&isNaN(parseInt(t)))throw new Error("Immer only supports setting array indices and the 'length' property");return Rt.set.call(this,e[0],t,n,e[0])};var Vt={};function Jt(e){if(!0===e.revoked)throw new Error("Cannot use a proxy that has been revoked. Did you pass an object from inside an immer function to an async process? "+JSON.stringify(xt(e)))}function Yt(e){for(var t=e.length-1;t>=0;t--){var n=e[t][lt];if(!n.modified)switch(n.type){case ot.ES5Array:Kt(n)&&Gt(n);break;case ot.ES5Object:Xt(n)&&Gt(n)}}}function Qt(e){if(e&&"object"==typeof e){var t=e[lt];if(t){var n=t.base,r=t.draft,o=t.assigned,i=t.type;if(i===ot.ES5Object)vt(r,(function(e){e!==lt&&(void 0!==n[e]||yt(n,e)?o[e]||Qt(r[e]):(o[e]=!0,Gt(t)))})),vt(n,(function(e){void 0!==r[e]||yt(r,e)||(o[e]=!1,Gt(t))}));else if(i===ot.ES5Array){if(Kt(t)&&(Gt(t),o.length=!0),r.length<n.length)for(var a=r.length;a<n.length;a++)o[a]=!1;else for(a=n.length;a<r.length;a++)o[a]=!0;var s=Math.min(r.length,n.length);for(a=0;a<s;a++)void 0===o[a]&&Qt(r[a])}}}}function Xt(e){for(var t=e.base,n=e.draft,r=Object.keys(n),o=r.length-1;o>=0;o--){var i=r[o],a=t[i];if(void 0===a&&!yt(t,i))return!0;var s=n[i],u=s&&s[lt];if(u?u.base!==a:!Et(s,a))return!0}return r.length!==Object.keys(t).length}function Kt(e){var t=e.draft;if(t.length!==e.base.length)return!0;var n=Object.getOwnPropertyDescriptor(t,t.length-1);return!(!n||n.get)}var $t=function(e){if(!e)throw new Error("Map is not polyfilled");function t(e,t){return this[lt]={type:ot.Map,parent:t,scope:t?t.scope:Mt.current,modified:!1,finalized:!1,copy:void 0,assigned:void 0,base:e,draft:this,isManual:!1,revoked:!1},this}ft(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return xt(this[lt]).size},enumerable:!0,configurable:!0}),n.has=function(e){return xt(this[lt]).has(e)},n.set=function(e,t){var n=this[lt];return Jt(n),xt(n).get(e)!==t&&(en(n),n.scope.immer.markChanged(n),n.assigned.set(e,!0),n.copy.set(e,t),n.assigned.set(e,!0)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[lt];return Jt(t),en(t),t.scope.immer.markChanged(t),t.assigned.set(e,!1),t.copy.delete(e),!0},n.clear=function(){var e=this[lt];return Jt(e),en(e),e.scope.immer.markChanged(e),e.assigned=new Map,e.copy.clear()},n.forEach=function(e,t){var n=this;xt(this[lt]).forEach((function(r,o,i){e.call(t,n.get(o),o,n)}))},n.get=function(e){var t=this[lt];Jt(t);var n=xt(t).get(e);if(t.finalized||!ht(n))return n;if(n!==t.base.get(e))return n;var r=t.scope.immer.createProxy(n,t);return en(t),t.copy.set(e,r),r},n.keys=function(){return xt(this[lt]).keys()},n.values=function(){var e,t=this,n=this.keys();return(e={})[pt]=function(){return t.values()},e.next=function(){var e=n.next();return e.done?e:{done:!1,value:t.get(e.value)}},e},n.entries=function(){var e,t=this,n=this.keys();return(e={})[pt]=function(){return t.entries()},e.next=function(){var e=n.next();if(e.done)return e;var r=t.get(e.value);return{done:!1,value:[e.value,r]}},e},n[pt]=function(){return this.entries()},t}(Map);function en(e){e.copy||(e.assigned=new Map,e.copy=new Map(e.base))}var tn=function(e){if(!e)throw new Error("Set is not polyfilled");function t(e,t){return this[lt]={type:ot.Set,parent:t,scope:t?t.scope:Mt.current,modified:!1,finalized:!1,copy:void 0,base:e,draft:this,drafts:new Map,revoked:!1,isManual:!1},this}ft(t,e);var n=t.prototype;return Object.defineProperty(n,"size",{get:function(){return xt(this[lt]).size},enumerable:!0,configurable:!0}),n.has=function(e){var t=this[lt];return Jt(t),t.copy?!!t.copy.has(e)||!(!t.drafts.has(e)||!t.copy.has(t.drafts.get(e))):t.base.has(e)},n.add=function(e){var t=this[lt];return Jt(t),t.copy?t.copy.add(e):t.base.has(e)||(nn(t),t.scope.immer.markChanged(t),t.copy.add(e)),this},n.delete=function(e){if(!this.has(e))return!1;var t=this[lt];return Jt(t),nn(t),t.scope.immer.markChanged(t),t.copy.delete(e)||!!t.drafts.has(e)&&t.copy.delete(t.drafts.get(e))},n.clear=function(){var e=this[lt];return Jt(e),nn(e),e.scope.immer.markChanged(e),e.copy.clear()},n.values=function(){var e=this[lt];return Jt(e),nn(e),e.copy.values()},n.entries=function(){var e=this[lt];return Jt(e),nn(e),e.copy.entries()},n.keys=function(){return this.values()},n[pt]=function(){return this.values()},n.forEach=function(e,t){for(var n=this.values(),r=n.next();!r.done;)e.call(t,r.value,r.value,this),r=n.next()},t}(Set);function nn(e){e.copy||(e.copy=new Set,e.base.forEach((function(t){if(ht(t)){var n=e.scope.immer.createProxy(t,e);e.drafts.set(t,n),e.copy.add(n)}else e.copy.add(t)})))}function rn(e,t){return t.forEach((function(t){var n=t.path,r=t.op;n.length||Pt();for(var o=e,i=0;i<n.length-1;i++)if(!(o=wt(o,n[i]))||"object"!=typeof o)throw new Error("Cannot apply patch, path doesn't resolve: "+n.join("/"));var a=bt(o),s=on(t.value),u=n[n.length-1];switch(r){case"replace":switch(a){case rt.Map:return o.set(u,s);case rt.Set:throw new Error('Sets cannot have "replace" patches.');default:return o[u]=s}case"add":switch(a){case rt.Array:return o.splice(u,0,s);case rt.Map:return o.set(u,s);case rt.Set:return o.add(s);default:return o[u]=s}case"remove":switch(a){case rt.Array:return o.splice(u,1);case rt.Map:return o.delete(u);case rt.Set:return o.delete(t.value);default:return delete o[u]}default:throw new Error("Unsupported patch operation: "+r)}})),e}function on(e){if(!e||"object"!=typeof e)return e;if(Array.isArray(e))return e.map(on);if(St(e))return new Map(Array.from(e.entries()).map((function(e){return[e[0],on(e[1])]})));if(It(e))return new Set(Array.from(e).map(on));var t=Object.create(Object.getPrototypeOf(e));for(var n in e)t[n]=on(e[n]);return t}
|
16 |
/*! *****************************************************************************
|
17 |
Copyright (c) Microsoft Corporation. All rights reserved.
|
18 |
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
|
26 |
|
27 |
See the Apache Version 2.0 License for specific language governing permissions
|
28 |
and limitations under the License.
|
|