Version Description
TUESDAY, 9th AUGUST 2022 = * Feature - Customize variation swatches from the edit product page. * Improvement - Updated swatches' spacing. * Improvement - Maintain swatches order on frontend as per settings. * Improvement - Added RTL support for the settings page.
Download this release
Release Info
Developer | brainstormworg |
Plugin | Variation Swatches for WooCommerce by CartFlows |
Version | 1.0.2 |
Comparing to | |
See all releases |
Code changes from version 1.0.1 to 1.0.2
- admin-core/admin-menu.php +1 -1
- admin-core/assets/build/settings-rtl.css +1324 -0
- admin-core/assets/build/settings.asset.php +1 -1
- admin-core/assets/build/settings.css +0 -21
- admin-core/assets/build/settings.js +8 -8
- admin/assets/css/product-config.css +101 -0
- admin/assets/img/wc-placeholder.png +0 -0
- admin/assets/js/product-config.js +285 -0
- admin/assets/js/term-meta-type.js +3 -2
- admin/attributes-config.php +69 -70
- admin/product-config.php +248 -0
- admin/templates.php +365 -0
- admin/term-meta-config.php +32 -16
- assets/css/swatches.css +18 -40
- inc/helper.php +57 -0
- inc/swatches.php +236 -80
- languages/variation-swatches-woo.pot +176 -97
- plugin-loader.php +2 -0
- readme.txt +11 -3
- variation-swatches-woo.php +3 -2
admin-core/admin-menu.php
CHANGED
@@ -91,7 +91,6 @@ class Admin_Menu {
|
|
91 |
if ( 'woocommerce_page_cfvsw_settings' !== $hook ) {
|
92 |
return;
|
93 |
}
|
94 |
-
|
95 |
$script_asset_path = CFVSW_DIR . 'admin-core/assets/build/settings.asset.php';
|
96 |
$script_info = file_exists( $script_asset_path )
|
97 |
? include $script_asset_path
|
@@ -118,6 +117,7 @@ class Admin_Menu {
|
|
118 |
|
119 |
wp_register_style( 'cfvsw_settings', $this->tailwind_assets . 'settings.css', [], CFVSW_VER );
|
120 |
wp_enqueue_style( 'cfvsw_settings' );
|
|
|
121 |
}
|
122 |
|
123 |
/**
|
91 |
if ( 'woocommerce_page_cfvsw_settings' !== $hook ) {
|
92 |
return;
|
93 |
}
|
|
|
94 |
$script_asset_path = CFVSW_DIR . 'admin-core/assets/build/settings.asset.php';
|
95 |
$script_info = file_exists( $script_asset_path )
|
96 |
? include $script_asset_path
|
117 |
|
118 |
wp_register_style( 'cfvsw_settings', $this->tailwind_assets . 'settings.css', [], CFVSW_VER );
|
119 |
wp_enqueue_style( 'cfvsw_settings' );
|
120 |
+
wp_style_add_data( 'cfvsw_settings', 'rtl', 'replace' );
|
121 |
}
|
122 |
|
123 |
/**
|
admin-core/assets/build/settings-rtl.css
ADDED
@@ -0,0 +1,1324 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*
|
2 |
+
! tailwindcss v3.0.19 | MIT License | https://tailwindcss.com
|
3 |
+
*//*
|
4 |
+
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
|
5 |
+
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
|
6 |
+
*/
|
7 |
+
|
8 |
+
*,
|
9 |
+
::before,
|
10 |
+
::after {
|
11 |
+
box-sizing: border-box; /* 1 */
|
12 |
+
border-width: 0; /* 2 */
|
13 |
+
border-style: solid; /* 2 */
|
14 |
+
border-color: #e5e7eb; /* 2 */
|
15 |
+
}
|
16 |
+
|
17 |
+
::before,
|
18 |
+
::after {
|
19 |
+
--tw-content: '';
|
20 |
+
}
|
21 |
+
|
22 |
+
/*
|
23 |
+
1. Use a consistent sensible line-height in all browsers.
|
24 |
+
2. Prevent adjustments of font size after orientation changes in iOS.
|
25 |
+
3. Use a more readable tab size.
|
26 |
+
4. Use the user's configured `sans` font-family by default.
|
27 |
+
*/
|
28 |
+
|
29 |
+
html {
|
30 |
+
line-height: 1.5; /* 1 */
|
31 |
+
-webkit-text-size-adjust: 100%; /* 2 */
|
32 |
+
-moz-tab-size: 4; /* 3 */
|
33 |
+
-o-tab-size: 4;
|
34 |
+
tab-size: 4; /* 3 */
|
35 |
+
font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; /* 4 */
|
36 |
+
}
|
37 |
+
|
38 |
+
/*
|
39 |
+
1. Remove the margin in all browsers.
|
40 |
+
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
|
41 |
+
*/
|
42 |
+
|
43 |
+
body {
|
44 |
+
margin: 0; /* 1 */
|
45 |
+
line-height: inherit; /* 2 */
|
46 |
+
}
|
47 |
+
|
48 |
+
/*
|
49 |
+
1. Add the correct height in Firefox.
|
50 |
+
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
|
51 |
+
3. Ensure horizontal rules are visible by default.
|
52 |
+
*/
|
53 |
+
|
54 |
+
hr {
|
55 |
+
height: 0; /* 1 */
|
56 |
+
color: inherit; /* 2 */
|
57 |
+
border-top-width: 1px; /* 3 */
|
58 |
+
}
|
59 |
+
|
60 |
+
/*
|
61 |
+
Add the correct text decoration in Chrome, Edge, and Safari.
|
62 |
+
*/
|
63 |
+
|
64 |
+
abbr:where([title]) {
|
65 |
+
-webkit-text-decoration: underline dotted;
|
66 |
+
text-decoration: underline dotted;
|
67 |
+
}
|
68 |
+
|
69 |
+
/*
|
70 |
+
Remove the default font size and weight for headings.
|
71 |
+
*/
|
72 |
+
|
73 |
+
h1,
|
74 |
+
h2,
|
75 |
+
h3,
|
76 |
+
h4,
|
77 |
+
h5,
|
78 |
+
h6 {
|
79 |
+
font-size: inherit;
|
80 |
+
font-weight: inherit;
|
81 |
+
}
|
82 |
+
|
83 |
+
/*
|
84 |
+
Reset links to optimize for opt-in styling instead of opt-out.
|
85 |
+
*/
|
86 |
+
|
87 |
+
a {
|
88 |
+
color: inherit;
|
89 |
+
text-decoration: inherit;
|
90 |
+
}
|
91 |
+
|
92 |
+
/*
|
93 |
+
Add the correct font weight in Edge and Safari.
|
94 |
+
*/
|
95 |
+
|
96 |
+
b,
|
97 |
+
strong {
|
98 |
+
font-weight: bolder;
|
99 |
+
}
|
100 |
+
|
101 |
+
/*
|
102 |
+
1. Use the user's configured `mono` font family by default.
|
103 |
+
2. Correct the odd `em` font sizing in all browsers.
|
104 |
+
*/
|
105 |
+
|
106 |
+
code,
|
107 |
+
kbd,
|
108 |
+
samp,
|
109 |
+
pre {
|
110 |
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; /* 1 */
|
111 |
+
font-size: 1em; /* 2 */
|
112 |
+
}
|
113 |
+
|
114 |
+
/*
|
115 |
+
Add the correct font size in all browsers.
|
116 |
+
*/
|
117 |
+
|
118 |
+
small {
|
119 |
+
font-size: 80%;
|
120 |
+
}
|
121 |
+
|
122 |
+
/*
|
123 |
+
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
|
124 |
+
*/
|
125 |
+
|
126 |
+
sub,
|
127 |
+
sup {
|
128 |
+
font-size: 75%;
|
129 |
+
line-height: 0;
|
130 |
+
position: relative;
|
131 |
+
vertical-align: baseline;
|
132 |
+
}
|
133 |
+
|
134 |
+
sub {
|
135 |
+
bottom: -0.25em;
|
136 |
+
}
|
137 |
+
|
138 |
+
sup {
|
139 |
+
top: -0.5em;
|
140 |
+
}
|
141 |
+
|
142 |
+
/*
|
143 |
+
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
|
144 |
+
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
|
145 |
+
3. Remove gaps between table borders by default.
|
146 |
+
*/
|
147 |
+
|
148 |
+
table {
|
149 |
+
text-indent: 0; /* 1 */
|
150 |
+
border-color: inherit; /* 2 */
|
151 |
+
border-collapse: collapse; /* 3 */
|
152 |
+
}
|
153 |
+
|
154 |
+
/*
|
155 |
+
1. Change the font styles in all browsers.
|
156 |
+
2. Remove the margin in Firefox and Safari.
|
157 |
+
3. Remove default padding in all browsers.
|
158 |
+
*/
|
159 |
+
|
160 |
+
button,
|
161 |
+
input,
|
162 |
+
optgroup,
|
163 |
+
select,
|
164 |
+
textarea {
|
165 |
+
font-family: inherit; /* 1 */
|
166 |
+
font-size: 100%; /* 1 */
|
167 |
+
line-height: inherit; /* 1 */
|
168 |
+
color: inherit; /* 1 */
|
169 |
+
margin: 0; /* 2 */
|
170 |
+
padding: 0; /* 3 */
|
171 |
+
}
|
172 |
+
|
173 |
+
/*
|
174 |
+
Remove the inheritance of text transform in Edge and Firefox.
|
175 |
+
*/
|
176 |
+
|
177 |
+
button,
|
178 |
+
select {
|
179 |
+
text-transform: none;
|
180 |
+
}
|
181 |
+
|
182 |
+
/*
|
183 |
+
1. Correct the inability to style clickable types in iOS and Safari.
|
184 |
+
2. Remove default button styles.
|
185 |
+
*/
|
186 |
+
|
187 |
+
button,
|
188 |
+
[type='button'],
|
189 |
+
[type='reset'],
|
190 |
+
[type='submit'] {
|
191 |
+
-webkit-appearance: button; /* 1 */
|
192 |
+
background-color: transparent; /* 2 */
|
193 |
+
background-image: none; /* 2 */
|
194 |
+
}
|
195 |
+
|
196 |
+
/*
|
197 |
+
Use the modern Firefox focus style for all focusable elements.
|
198 |
+
*/
|
199 |
+
|
200 |
+
:-moz-focusring {
|
201 |
+
outline: auto;
|
202 |
+
}
|
203 |
+
|
204 |
+
/*
|
205 |
+
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
|
206 |
+
*/
|
207 |
+
|
208 |
+
:-moz-ui-invalid {
|
209 |
+
box-shadow: none;
|
210 |
+
}
|
211 |
+
|
212 |
+
/*
|
213 |
+
Add the correct vertical alignment in Chrome and Firefox.
|
214 |
+
*/
|
215 |
+
|
216 |
+
progress {
|
217 |
+
vertical-align: baseline;
|
218 |
+
}
|
219 |
+
|
220 |
+
/*
|
221 |
+
Correct the cursor style of increment and decrement buttons in Safari.
|
222 |
+
*/
|
223 |
+
|
224 |
+
::-webkit-inner-spin-button,
|
225 |
+
::-webkit-outer-spin-button {
|
226 |
+
height: auto;
|
227 |
+
}
|
228 |
+
|
229 |
+
/*
|
230 |
+
1. Correct the odd appearance in Chrome and Safari.
|
231 |
+
2. Correct the outline style in Safari.
|
232 |
+
*/
|
233 |
+
|
234 |
+
[type='search'] {
|
235 |
+
-webkit-appearance: textfield; /* 1 */
|
236 |
+
outline-offset: -2px; /* 2 */
|
237 |
+
}
|
238 |
+
|
239 |
+
/*
|
240 |
+
Remove the inner padding in Chrome and Safari on macOS.
|
241 |
+
*/
|
242 |
+
|
243 |
+
::-webkit-search-decoration {
|
244 |
+
-webkit-appearance: none;
|
245 |
+
}
|
246 |
+
|
247 |
+
/*
|
248 |
+
1. Correct the inability to style clickable types in iOS and Safari.
|
249 |
+
2. Change font properties to `inherit` in Safari.
|
250 |
+
*/
|
251 |
+
|
252 |
+
::-webkit-file-upload-button {
|
253 |
+
-webkit-appearance: button; /* 1 */
|
254 |
+
font: inherit; /* 2 */
|
255 |
+
}
|
256 |
+
|
257 |
+
/*
|
258 |
+
Add the correct display in Chrome and Safari.
|
259 |
+
*/
|
260 |
+
|
261 |
+
summary {
|
262 |
+
display: list-item;
|
263 |
+
}
|
264 |
+
|
265 |
+
/*
|
266 |
+
Removes the default spacing and border for appropriate elements.
|
267 |
+
*/
|
268 |
+
|
269 |
+
blockquote,
|
270 |
+
dl,
|
271 |
+
dd,
|
272 |
+
h1,
|
273 |
+
h2,
|
274 |
+
h3,
|
275 |
+
h4,
|
276 |
+
h5,
|
277 |
+
h6,
|
278 |
+
hr,
|
279 |
+
figure,
|
280 |
+
p,
|
281 |
+
pre {
|
282 |
+
margin: 0;
|
283 |
+
}
|
284 |
+
|
285 |
+
fieldset {
|
286 |
+
margin: 0;
|
287 |
+
padding: 0;
|
288 |
+
}
|
289 |
+
|
290 |
+
legend {
|
291 |
+
padding: 0;
|
292 |
+
}
|
293 |
+
|
294 |
+
ol,
|
295 |
+
ul,
|
296 |
+
menu {
|
297 |
+
list-style: none;
|
298 |
+
margin: 0;
|
299 |
+
padding: 0;
|
300 |
+
}
|
301 |
+
|
302 |
+
/*
|
303 |
+
Prevent resizing textareas horizontally by default.
|
304 |
+
*/
|
305 |
+
|
306 |
+
textarea {
|
307 |
+
resize: vertical;
|
308 |
+
}
|
309 |
+
|
310 |
+
/*
|
311 |
+
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
|
312 |
+
2. Set the default placeholder color to the user's configured gray 400 color.
|
313 |
+
*/
|
314 |
+
|
315 |
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
316 |
+
opacity: 1; /* 1 */
|
317 |
+
color: #9ca3af; /* 2 */
|
318 |
+
}
|
319 |
+
|
320 |
+
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
321 |
+
opacity: 1; /* 1 */
|
322 |
+
color: #9ca3af; /* 2 */
|
323 |
+
}
|
324 |
+
|
325 |
+
input::placeholder,
|
326 |
+
textarea::placeholder {
|
327 |
+
opacity: 1; /* 1 */
|
328 |
+
color: #9ca3af; /* 2 */
|
329 |
+
}
|
330 |
+
|
331 |
+
/*
|
332 |
+
Set the default cursor for buttons.
|
333 |
+
*/
|
334 |
+
|
335 |
+
button,
|
336 |
+
[role="button"] {
|
337 |
+
cursor: pointer;
|
338 |
+
}
|
339 |
+
|
340 |
+
/*
|
341 |
+
Make sure disabled buttons don't get the pointer cursor.
|
342 |
+
*/
|
343 |
+
:disabled {
|
344 |
+
cursor: default;
|
345 |
+
}
|
346 |
+
|
347 |
+
/*
|
348 |
+
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
|
349 |
+
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
|
350 |
+
This can trigger a poorly considered lint error in some tools but is included by design.
|
351 |
+
*/
|
352 |
+
|
353 |
+
img,
|
354 |
+
svg,
|
355 |
+
video,
|
356 |
+
canvas,
|
357 |
+
audio,
|
358 |
+
iframe,
|
359 |
+
embed,
|
360 |
+
object {
|
361 |
+
display: block; /* 1 */
|
362 |
+
vertical-align: middle; /* 2 */
|
363 |
+
}
|
364 |
+
|
365 |
+
/*
|
366 |
+
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
|
367 |
+
*/
|
368 |
+
|
369 |
+
img,
|
370 |
+
video {
|
371 |
+
max-width: 100%;
|
372 |
+
height: auto;
|
373 |
+
}
|
374 |
+
|
375 |
+
/*
|
376 |
+
Ensure the default browser behavior of the `hidden` attribute.
|
377 |
+
*/
|
378 |
+
|
379 |
+
[hidden] {
|
380 |
+
display: none;
|
381 |
+
}
|
382 |
+
|
383 |
+
[type='text'],[type='email'],[type='url'],[type='password'],[type='number'],[type='date'],[type='datetime-local'],[type='month'],[type='search'],[type='tel'],[type='time'],[type='week'],[multiple],textarea,select {
|
384 |
+
-webkit-appearance: none;
|
385 |
+
-moz-appearance: none;
|
386 |
+
appearance: none;
|
387 |
+
background-color: #fff;
|
388 |
+
border-color: #6b7280;
|
389 |
+
border-width: 1px;
|
390 |
+
border-radius: 0px;
|
391 |
+
padding-top: 0.5rem;
|
392 |
+
padding-left: 0.75rem;
|
393 |
+
padding-bottom: 0.5rem;
|
394 |
+
padding-right: 0.75rem;
|
395 |
+
font-size: 1rem;
|
396 |
+
line-height: 1.5rem;
|
397 |
+
--tw-shadow: 0 0 #0000;
|
398 |
+
}
|
399 |
+
|
400 |
+
[type='text']:focus, [type='email']:focus, [type='url']:focus, [type='password']:focus, [type='number']:focus, [type='date']:focus, [type='datetime-local']:focus, [type='month']:focus, [type='search']:focus, [type='tel']:focus, [type='time']:focus, [type='week']:focus, [multiple]:focus, textarea:focus, select:focus {
|
401 |
+
outline: 2px solid transparent;
|
402 |
+
outline-offset: 2px;
|
403 |
+
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
404 |
+
--tw-ring-offset-width: 0px;
|
405 |
+
--tw-ring-offset-color: #fff;
|
406 |
+
--tw-ring-color: #2563eb;
|
407 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
408 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
409 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
410 |
+
border-color: #2563eb;
|
411 |
+
}
|
412 |
+
|
413 |
+
input::-moz-placeholder, textarea::-moz-placeholder {
|
414 |
+
color: #6b7280;
|
415 |
+
opacity: 1;
|
416 |
+
}
|
417 |
+
|
418 |
+
input:-ms-input-placeholder, textarea:-ms-input-placeholder {
|
419 |
+
color: #6b7280;
|
420 |
+
opacity: 1;
|
421 |
+
}
|
422 |
+
|
423 |
+
input::placeholder,textarea::placeholder {
|
424 |
+
color: #6b7280;
|
425 |
+
opacity: 1;
|
426 |
+
}
|
427 |
+
|
428 |
+
::-webkit-datetime-edit-fields-wrapper {
|
429 |
+
padding: 0;
|
430 |
+
}
|
431 |
+
|
432 |
+
::-webkit-date-and-time-value {
|
433 |
+
min-height: 1.5em;
|
434 |
+
}
|
435 |
+
|
436 |
+
select {
|
437 |
+
background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%236b7280%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27M6 8l4 4 4-4%27/%3e%3c/svg%3e");
|
438 |
+
background-position: left 0.5rem center;
|
439 |
+
background-repeat: no-repeat;
|
440 |
+
background-size: 1.5em 1.5em;
|
441 |
+
padding-left: 2.5rem;
|
442 |
+
-webkit-print-color-adjust: exact;
|
443 |
+
color-adjust: exact;
|
444 |
+
}
|
445 |
+
|
446 |
+
[multiple] {
|
447 |
+
background-image: initial;
|
448 |
+
background-position: initial;
|
449 |
+
background-repeat: unset;
|
450 |
+
background-size: initial;
|
451 |
+
padding-left: 0.75rem;
|
452 |
+
-webkit-print-color-adjust: unset;
|
453 |
+
color-adjust: unset;
|
454 |
+
}
|
455 |
+
|
456 |
+
[type='checkbox'],[type='radio'] {
|
457 |
+
-webkit-appearance: none;
|
458 |
+
-moz-appearance: none;
|
459 |
+
appearance: none;
|
460 |
+
padding: 0;
|
461 |
+
-webkit-print-color-adjust: exact;
|
462 |
+
color-adjust: exact;
|
463 |
+
display: inline-block;
|
464 |
+
vertical-align: middle;
|
465 |
+
background-origin: border-box;
|
466 |
+
-webkit-user-select: none;
|
467 |
+
-moz-user-select: none;
|
468 |
+
-ms-user-select: none;
|
469 |
+
user-select: none;
|
470 |
+
flex-shrink: 0;
|
471 |
+
height: 1rem;
|
472 |
+
width: 1rem;
|
473 |
+
color: #2563eb;
|
474 |
+
background-color: #fff;
|
475 |
+
border-color: #6b7280;
|
476 |
+
border-width: 1px;
|
477 |
+
--tw-shadow: 0 0 #0000;
|
478 |
+
}
|
479 |
+
|
480 |
+
[type='checkbox'] {
|
481 |
+
border-radius: 0px;
|
482 |
+
}
|
483 |
+
|
484 |
+
[type='radio'] {
|
485 |
+
border-radius: 100%;
|
486 |
+
}
|
487 |
+
|
488 |
+
[type='checkbox']:focus,[type='radio']:focus {
|
489 |
+
outline: 2px solid transparent;
|
490 |
+
outline-offset: 2px;
|
491 |
+
--tw-ring-inset: var(--tw-empty,/*!*/ /*!*/);
|
492 |
+
--tw-ring-offset-width: 2px;
|
493 |
+
--tw-ring-offset-color: #fff;
|
494 |
+
--tw-ring-color: #2563eb;
|
495 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
496 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
497 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
498 |
+
}
|
499 |
+
|
500 |
+
[type='checkbox']:checked,[type='radio']:checked {
|
501 |
+
border-color: transparent;
|
502 |
+
background-color: currentColor;
|
503 |
+
background-size: 100% 100%;
|
504 |
+
background-position: center;
|
505 |
+
background-repeat: no-repeat;
|
506 |
+
}
|
507 |
+
|
508 |
+
[type='checkbox']:checked {
|
509 |
+
background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3cpath d=%27M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z%27/%3e%3c/svg%3e");
|
510 |
+
}
|
511 |
+
|
512 |
+
[type='radio']:checked {
|
513 |
+
background-image: url("data:image/svg+xml,%3csvg viewBox=%270 0 16 16%27 fill=%27white%27 xmlns=%27http://www.w3.org/2000/svg%27%3e%3ccircle cx=%278%27 cy=%278%27 r=%273%27/%3e%3c/svg%3e");
|
514 |
+
}
|
515 |
+
|
516 |
+
[type='checkbox']:checked:hover,[type='checkbox']:checked:focus,[type='radio']:checked:hover,[type='radio']:checked:focus {
|
517 |
+
border-color: transparent;
|
518 |
+
background-color: currentColor;
|
519 |
+
}
|
520 |
+
|
521 |
+
[type='checkbox']:indeterminate {
|
522 |
+
background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 16 16%27%3e%3cpath stroke=%27white%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%272%27 d=%27M4 8h8%27/%3e%3c/svg%3e");
|
523 |
+
border-color: transparent;
|
524 |
+
background-color: currentColor;
|
525 |
+
background-size: 100% 100%;
|
526 |
+
background-position: center;
|
527 |
+
background-repeat: no-repeat;
|
528 |
+
}
|
529 |
+
|
530 |
+
[type='checkbox']:indeterminate:hover,[type='checkbox']:indeterminate:focus {
|
531 |
+
border-color: transparent;
|
532 |
+
background-color: currentColor;
|
533 |
+
}
|
534 |
+
|
535 |
+
[type='file'] {
|
536 |
+
background: unset;
|
537 |
+
border-color: inherit;
|
538 |
+
border-width: 0;
|
539 |
+
border-radius: 0;
|
540 |
+
padding: 0;
|
541 |
+
font-size: unset;
|
542 |
+
line-height: inherit;
|
543 |
+
}
|
544 |
+
|
545 |
+
[type='file']:focus {
|
546 |
+
outline: 1px auto -webkit-focus-ring-color;
|
547 |
+
}
|
548 |
+
|
549 |
+
*, ::before, ::after {
|
550 |
+
--tw-translate-x: 0;
|
551 |
+
--tw-translate-y: 0;
|
552 |
+
--tw-rotate: 0;
|
553 |
+
--tw-skew-x: 0;
|
554 |
+
--tw-skew-y: 0;
|
555 |
+
--tw-scale-x: 1;
|
556 |
+
--tw-scale-y: 1;
|
557 |
+
--tw-pan-x: ;
|
558 |
+
--tw-pan-y: ;
|
559 |
+
--tw-pinch-zoom: ;
|
560 |
+
--tw-scroll-snap-strictness: proximity;
|
561 |
+
--tw-ordinal: ;
|
562 |
+
--tw-slashed-zero: ;
|
563 |
+
--tw-numeric-figure: ;
|
564 |
+
--tw-numeric-spacing: ;
|
565 |
+
--tw-numeric-fraction: ;
|
566 |
+
--tw-ring-inset: ;
|
567 |
+
--tw-ring-offset-width: 0px;
|
568 |
+
--tw-ring-offset-color: #fff;
|
569 |
+
--tw-ring-color: rgb(59 130 246 / 0.5);
|
570 |
+
--tw-ring-offset-shadow: 0 0 #0000;
|
571 |
+
--tw-ring-shadow: 0 0 #0000;
|
572 |
+
--tw-shadow: 0 0 #0000;
|
573 |
+
--tw-shadow-colored: 0 0 #0000;
|
574 |
+
--tw-blur: ;
|
575 |
+
--tw-brightness: ;
|
576 |
+
--tw-contrast: ;
|
577 |
+
--tw-grayscale: ;
|
578 |
+
--tw-hue-rotate: ;
|
579 |
+
--tw-invert: ;
|
580 |
+
--tw-saturate: ;
|
581 |
+
--tw-sepia: ;
|
582 |
+
--tw-drop-shadow: ;
|
583 |
+
--tw-backdrop-blur: ;
|
584 |
+
--tw-backdrop-brightness: ;
|
585 |
+
--tw-backdrop-contrast: ;
|
586 |
+
--tw-backdrop-grayscale: ;
|
587 |
+
--tw-backdrop-hue-rotate: ;
|
588 |
+
--tw-backdrop-invert: ;
|
589 |
+
--tw-backdrop-opacity: ;
|
590 |
+
--tw-backdrop-saturate: ;
|
591 |
+
--tw-backdrop-sepia: ;
|
592 |
+
}.cfvsw-settings a:hover, .cfvsw-settings a:active, .cfvsw-settings a:visited {
|
593 |
+
--tw-text-opacity: 1;
|
594 |
+
color: rgb(240 100 52 / var(--tw-text-opacity));
|
595 |
+
}.cfvsw-settings .cfvsw-color-field{align-items:center;line-height:1}.cfvsw-settings .cfvsw-color-field .cfvsw-colorpicker-swatch-wrap{display:flex;align-items:center;cursor:pointer}.cfvsw-settings .cfvsw-color-field .cfvsw-colorpicker-swatch{padding:0;background:#fafafa;display:inline-block;margin:0;border-left:1px solid #ddd;box-shadow:inset 0 0 0 3px #fff}.cfvsw-settings .cfvsw-color-field .cfvsw-color-picker-popover{position:absolute;z-index:2;margin:8px 0;left:30px}.cfvsw-settings .cfvsw-color-field .cfvsw-color-picker-cover{position:fixed;top:0;left:0;bottom:0;right:0}.cfvsw-settings .cfvsw-color-field .sketch-picker{font-weight:400}.cfvsw-settings .cfvsw-color-field .cfvsw-field-data-content .cfvsw-colorpicker-selector{display:flex;align-items:center}.cfvsw-settings .cfvsw-color-field .cfvsw-field-data-content .cfvsw-colorpicker-swatch-wrap{border:1px solid #ddd;border-radius:2px;background:#fff;color:#444}.cfvsw-settings .cfvsw-color-field .cfvsw-field-data-content .cfvsw-colorpicker-label{font-weight:400;padding:5px 7px}.cfvsw-settings .cfvsw-color-field .cfvsw-field-data-content .cfvsw-colorpicker-reset{padding:6px;cursor:pointer}.cfvsw-settings .cfvsw-color-field .cfvsw-color-picker{position:relative}.cfvsw-settings .cfvsw-color-field .cfvsw-color-picker input{margin:0}.cfvsw-settings .cfvsw-color-field .cfvsw-color-picker input[id^=rc-editable-input-]{width:100% !important}.cfvsw-settings .cfvsw-input-field-wrapper input.w-28 {
|
596 |
+
border-radius: 0.375rem;
|
597 |
+
}.cfvsw-settings .cfvsw-input-field-wrapper input{border-top-left-radius:0;border-bottom-left-radius:0;border:1px solid;outline:none;--tw-border-opacity: 1;border-color: rgb(209 213 219 / var(--tw-border-opacity))}.cfvsw-settings .cfvsw-input-field-wrapper input:focus {
|
598 |
+
--tw-border-opacity: 1;
|
599 |
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));box-shadow:none;
|
600 |
+
}.cfvsw-settings .cfvsw-animate-spin-reverse{-webkit-animation:cfvsw-reverse-spin 1s ease infinite;animation:cfvsw-reverse-spin 1s ease infinite}@-webkit-keyframes cfvsw-reverse-spin{from{transform:rotate(-360deg)}to{transform:rotate(0deg)}}@keyframes cfvsw-reverse-spin{from{transform:rotate(-360deg)}to{transform:rotate(0deg)}}.sr-only {
|
601 |
+
position: absolute;
|
602 |
+
width: 1px;
|
603 |
+
height: 1px;
|
604 |
+
padding: 0;
|
605 |
+
margin: -1px;
|
606 |
+
overflow: hidden;
|
607 |
+
clip: rect(0, 0, 0, 0);
|
608 |
+
white-space: nowrap;
|
609 |
+
border-width: 0;
|
610 |
+
}.pointer-events-none {
|
611 |
+
pointer-events: none;
|
612 |
+
}.pointer-events-auto {
|
613 |
+
pointer-events: auto;
|
614 |
+
}.fixed {
|
615 |
+
position: fixed;
|
616 |
+
}.absolute {
|
617 |
+
position: absolute;
|
618 |
+
}.relative {
|
619 |
+
position: relative;
|
620 |
+
}.sticky {
|
621 |
+
position: -webkit-sticky;
|
622 |
+
position: sticky;
|
623 |
+
}.inset-10 {
|
624 |
+
top: 2.5rem;
|
625 |
+
left: 2.5rem;
|
626 |
+
bottom: 2.5rem;
|
627 |
+
right: 2.5rem;
|
628 |
+
}.inset-y-0 {
|
629 |
+
top: 0px;
|
630 |
+
bottom: 0px;
|
631 |
+
}.top-0 {
|
632 |
+
top: 0px;
|
633 |
+
}.right-0 {
|
634 |
+
left: 0px;
|
635 |
+
}.left-0 {
|
636 |
+
right: 0px;
|
637 |
+
}.z-10 {
|
638 |
+
z-index: 10;
|
639 |
+
}.z-40 {
|
640 |
+
z-index: 40;
|
641 |
+
}.mx-auto {
|
642 |
+
margin-right: auto;
|
643 |
+
margin-left: auto;
|
644 |
+
}.-ml-5 {
|
645 |
+
margin-right: -1.25rem;
|
646 |
+
}.-mr-5 {
|
647 |
+
margin-left: -1.25rem;
|
648 |
+
}.mr-0 {
|
649 |
+
margin-left: 0px;
|
650 |
+
}.ml-2 {
|
651 |
+
margin-right: 0.5rem;
|
652 |
+
}.mr-3 {
|
653 |
+
margin-left: 0.75rem;
|
654 |
+
}.mt-1 {
|
655 |
+
margin-top: 0.25rem;
|
656 |
+
}.mr-\[20px\] {
|
657 |
+
margin-left: 20px;
|
658 |
+
}.mt-\[2\.5rem\] {
|
659 |
+
margin-top: 2.5rem;
|
660 |
+
}.ml-8 {
|
661 |
+
margin-right: 2rem;
|
662 |
+
}.mb-0 {
|
663 |
+
margin-bottom: 0px;
|
664 |
+
}.mr-\[80px\] {
|
665 |
+
margin-left: 80px;
|
666 |
+
}.ml-4 {
|
667 |
+
margin-right: 1rem;
|
668 |
+
}.ml-3 {
|
669 |
+
margin-right: 0.75rem;
|
670 |
+
}.mr-8 {
|
671 |
+
margin-left: 2rem;
|
672 |
+
}.mt-8 {
|
673 |
+
margin-top: 2rem;
|
674 |
+
}.mt-\[0\.6rem\] {
|
675 |
+
margin-top: 0.6rem;
|
676 |
+
}.ml-1 {
|
677 |
+
margin-right: 0.25rem;
|
678 |
+
}.-ml-0 {
|
679 |
+
margin-right: -0px;
|
680 |
+
}.-mr-0 {
|
681 |
+
margin-left: -0px;
|
682 |
+
}.block {
|
683 |
+
display: block;
|
684 |
+
}.inline-block {
|
685 |
+
display: inline-block;
|
686 |
+
}.inline {
|
687 |
+
display: inline;
|
688 |
+
}.flex {
|
689 |
+
display: flex;
|
690 |
+
}.inline-flex {
|
691 |
+
display: inline-flex;
|
692 |
+
}.table {
|
693 |
+
display: table;
|
694 |
+
}.grid {
|
695 |
+
display: grid;
|
696 |
+
}.hidden {
|
697 |
+
display: none;
|
698 |
+
}.h-16 {
|
699 |
+
height: 4rem;
|
700 |
+
}.h-\[2rem\] {
|
701 |
+
height: 2rem;
|
702 |
+
}.h-10 {
|
703 |
+
height: 2.5rem;
|
704 |
+
}.h-6 {
|
705 |
+
height: 1.5rem;
|
706 |
+
}.h-5 {
|
707 |
+
height: 1.25rem;
|
708 |
+
}.h-8 {
|
709 |
+
height: 2rem;
|
710 |
+
}.h-3\.5 {
|
711 |
+
height: 0.875rem;
|
712 |
+
}.h-3 {
|
713 |
+
height: 0.75rem;
|
714 |
+
}.h-full {
|
715 |
+
height: 100%;
|
716 |
+
}.h-4 {
|
717 |
+
height: 1rem;
|
718 |
+
}.max-h-60 {
|
719 |
+
max-height: 15rem;
|
720 |
+
}.w-auto {
|
721 |
+
width: auto;
|
722 |
+
}.w-10 {
|
723 |
+
width: 2.5rem;
|
724 |
+
}.w-6 {
|
725 |
+
width: 1.5rem;
|
726 |
+
}.w-5 {
|
727 |
+
width: 1.25rem;
|
728 |
+
}.w-32 {
|
729 |
+
width: 8rem;
|
730 |
+
}.w-full {
|
731 |
+
width: 100%;
|
732 |
+
}.w-24 {
|
733 |
+
width: 6rem;
|
734 |
+
}.w-8 {
|
735 |
+
width: 2rem;
|
736 |
+
}.w-\[2\.4rem\] {
|
737 |
+
width: 2.4rem;
|
738 |
+
}.w-3\.5 {
|
739 |
+
width: 0.875rem;
|
740 |
+
}.w-3 {
|
741 |
+
width: 0.75rem;
|
742 |
+
}.w-0 {
|
743 |
+
width: 0px;
|
744 |
+
}.w-\[78\%\] {
|
745 |
+
width: 78%;
|
746 |
+
}.w-4 {
|
747 |
+
width: 1rem;
|
748 |
+
}.max-w-3xl {
|
749 |
+
max-width: 48rem;
|
750 |
+
}.max-w-\[77rem\] {
|
751 |
+
max-width: 77rem;
|
752 |
+
}.max-w-sm {
|
753 |
+
max-width: 24rem;
|
754 |
+
}.flex-1 {
|
755 |
+
flex: 1 1 0%;
|
756 |
+
}.flex-shrink-0 {
|
757 |
+
flex-shrink: 0;
|
758 |
+
}.translate-x-5 {
|
759 |
+
--tw-translate-x: 1.25rem;
|
760 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
761 |
+
}.translate-x-0 {
|
762 |
+
--tw-translate-x: 0px;
|
763 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
764 |
+
}.translate-y-2 {
|
765 |
+
--tw-translate-y: 0.5rem;
|
766 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
767 |
+
}.translate-y-0 {
|
768 |
+
--tw-translate-y: 0px;
|
769 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
770 |
+
}.transform {
|
771 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
772 |
+
}@-webkit-keyframes spin {
|
773 |
+
|
774 |
+
to {
|
775 |
+
transform: rotate(-360deg);
|
776 |
+
}
|
777 |
+
}@keyframes spin {
|
778 |
+
|
779 |
+
to {
|
780 |
+
transform: rotate(-360deg);
|
781 |
+
}
|
782 |
+
}.animate-spin {
|
783 |
+
-webkit-animation: spin 1s linear infinite;
|
784 |
+
animation: spin 1s linear infinite;
|
785 |
+
}.cursor-pointer {
|
786 |
+
cursor: pointer;
|
787 |
+
}.cursor-default {
|
788 |
+
cursor: default;
|
789 |
+
}.select-none {
|
790 |
+
-webkit-user-select: none;
|
791 |
+
-moz-user-select: none;
|
792 |
+
-ms-user-select: none;
|
793 |
+
user-select: none;
|
794 |
+
}.list-disc {
|
795 |
+
list-style-type: disc;
|
796 |
+
}.appearance-none {
|
797 |
+
-webkit-appearance: none;
|
798 |
+
-moz-appearance: none;
|
799 |
+
appearance: none;
|
800 |
+
}.grid-cols-1 {
|
801 |
+
grid-template-columns: repeat(1, minmax(0, 1fr));
|
802 |
+
}.flex-col {
|
803 |
+
flex-direction: column;
|
804 |
+
}.items-start {
|
805 |
+
align-items: flex-start;
|
806 |
+
}.items-end {
|
807 |
+
align-items: flex-end;
|
808 |
+
}.items-center {
|
809 |
+
align-items: center;
|
810 |
+
}.justify-end {
|
811 |
+
justify-content: flex-end;
|
812 |
+
}.justify-center {
|
813 |
+
justify-content: center;
|
814 |
+
}.justify-between {
|
815 |
+
justify-content: space-between;
|
816 |
+
}.gap-4 {
|
817 |
+
gap: 1rem;
|
818 |
+
}.space-y-1 > :not([hidden]) ~ :not([hidden]) {
|
819 |
+
--tw-space-y-reverse: 0;
|
820 |
+
margin-top: calc(0.25rem * calc(1 - var(--tw-space-y-reverse)));
|
821 |
+
margin-bottom: calc(0.25rem * var(--tw-space-y-reverse));
|
822 |
+
}.space-y-5 > :not([hidden]) ~ :not([hidden]) {
|
823 |
+
--tw-space-y-reverse: 0;
|
824 |
+
margin-top: calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));
|
825 |
+
margin-bottom: calc(1.25rem * var(--tw-space-y-reverse));
|
826 |
+
}.space-y-4 > :not([hidden]) ~ :not([hidden]) {
|
827 |
+
--tw-space-y-reverse: 0;
|
828 |
+
margin-top: calc(1rem * calc(1 - var(--tw-space-y-reverse)));
|
829 |
+
margin-bottom: calc(1rem * var(--tw-space-y-reverse));
|
830 |
+
}.overflow-auto {
|
831 |
+
overflow: auto;
|
832 |
+
}.overflow-hidden {
|
833 |
+
overflow: hidden;
|
834 |
+
}.truncate {
|
835 |
+
overflow: hidden;
|
836 |
+
text-overflow: ellipsis;
|
837 |
+
white-space: nowrap;
|
838 |
+
}.rounded-full {
|
839 |
+
border-radius: 9999px;
|
840 |
+
}.rounded-\[4px\] {
|
841 |
+
border-radius: 4px;
|
842 |
+
}.rounded-md {
|
843 |
+
border-radius: 0.375rem;
|
844 |
+
}.rounded-\[0\.2rem\] {
|
845 |
+
border-radius: 0.2rem;
|
846 |
+
}.rounded-lg {
|
847 |
+
border-radius: 0.5rem;
|
848 |
+
}.rounded-r-md {
|
849 |
+
border-top-left-radius: 0.375rem;
|
850 |
+
border-bottom-left-radius: 0.375rem;
|
851 |
+
}.rounded-l-md {
|
852 |
+
border-top-right-radius: 0.375rem;
|
853 |
+
border-bottom-right-radius: 0.375rem;
|
854 |
+
}.border-\[1px\] {
|
855 |
+
border-width: 1px;
|
856 |
+
}.border-0 {
|
857 |
+
border-width: 0px;
|
858 |
+
}.border {
|
859 |
+
border-width: 1px;
|
860 |
+
}.border-2 {
|
861 |
+
border-width: 2px;
|
862 |
+
}.border-b-2 {
|
863 |
+
border-bottom-width: 2px;
|
864 |
+
}.border-l-0 {
|
865 |
+
border-right-width: 0px;
|
866 |
+
}.border-r {
|
867 |
+
border-left-width: 1px;
|
868 |
+
}.border-b {
|
869 |
+
border-bottom-width: 1px;
|
870 |
+
}.border-t {
|
871 |
+
border-top-width: 1px;
|
872 |
+
}.border-solid {
|
873 |
+
border-style: solid;
|
874 |
+
}.border-wpcolor {
|
875 |
+
--tw-border-opacity: 1;
|
876 |
+
border-color: rgb(240 100 52 / var(--tw-border-opacity));
|
877 |
+
}.border-transparent {
|
878 |
+
border-color: transparent;
|
879 |
+
}.border-cfvswbordercolor {
|
880 |
+
--tw-border-opacity: 1;
|
881 |
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
882 |
+
}.border-gray-300 {
|
883 |
+
--tw-border-opacity: 1;
|
884 |
+
border-color: rgb(209 213 219 / var(--tw-border-opacity));
|
885 |
+
}.border-slate-200 {
|
886 |
+
--tw-border-opacity: 1;
|
887 |
+
border-color: rgb(226 232 240 / var(--tw-border-opacity));
|
888 |
+
}.border-gray-200 {
|
889 |
+
--tw-border-opacity: 1;
|
890 |
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
891 |
+
}.bg-white {
|
892 |
+
--tw-bg-opacity: 1;
|
893 |
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
894 |
+
}.bg-gray-300 {
|
895 |
+
--tw-bg-opacity: 1;
|
896 |
+
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
|
897 |
+
}.bg-wpcolor {
|
898 |
+
--tw-bg-opacity: 1;
|
899 |
+
background-color: rgb(240 100 52 / var(--tw-bg-opacity));
|
900 |
+
}.bg-gray-200 {
|
901 |
+
--tw-bg-opacity: 1;
|
902 |
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
903 |
+
}.bg-gray-50 {
|
904 |
+
--tw-bg-opacity: 1;
|
905 |
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
906 |
+
}.bg-wpcolorfaded {
|
907 |
+
--tw-bg-opacity: 1;
|
908 |
+
background-color: rgb(247 247 249 / var(--tw-bg-opacity));
|
909 |
+
}.fill-wpcolor {
|
910 |
+
fill: #F06434;
|
911 |
+
}.fill-gray-900 {
|
912 |
+
fill: #111827;
|
913 |
+
}.p-3 {
|
914 |
+
padding: 0.75rem;
|
915 |
+
}.p-12 {
|
916 |
+
padding: 3rem;
|
917 |
+
}.p-7 {
|
918 |
+
padding: 1.75rem;
|
919 |
+
}.p-4 {
|
920 |
+
padding: 1rem;
|
921 |
+
}.px-8 {
|
922 |
+
padding-right: 2rem;
|
923 |
+
padding-left: 2rem;
|
924 |
+
}.px-1 {
|
925 |
+
padding-right: 0.25rem;
|
926 |
+
padding-left: 0.25rem;
|
927 |
+
}.py-2 {
|
928 |
+
padding-top: 0.5rem;
|
929 |
+
padding-bottom: 0.5rem;
|
930 |
+
}.py-1 {
|
931 |
+
padding-top: 0.25rem;
|
932 |
+
padding-bottom: 0.25rem;
|
933 |
+
}.px-2 {
|
934 |
+
padding-right: 0.5rem;
|
935 |
+
padding-left: 0.5rem;
|
936 |
+
}.py-6 {
|
937 |
+
padding-top: 1.5rem;
|
938 |
+
padding-bottom: 1.5rem;
|
939 |
+
}.py-\[2\.43rem\] {
|
940 |
+
padding-top: 2.43rem;
|
941 |
+
padding-bottom: 2.43rem;
|
942 |
+
}.px-6 {
|
943 |
+
padding-right: 1.5rem;
|
944 |
+
padding-left: 1.5rem;
|
945 |
+
}.px-4 {
|
946 |
+
padding-right: 1rem;
|
947 |
+
padding-left: 1rem;
|
948 |
+
}.px-2\.5 {
|
949 |
+
padding-right: 0.625rem;
|
950 |
+
padding-left: 0.625rem;
|
951 |
+
}.py-0\.5 {
|
952 |
+
padding-top: 0.125rem;
|
953 |
+
padding-bottom: 0.125rem;
|
954 |
+
}.py-0 {
|
955 |
+
padding-top: 0px;
|
956 |
+
padding-bottom: 0px;
|
957 |
+
}.pr-2 {
|
958 |
+
padding-left: 0.5rem;
|
959 |
+
}.pl-3 {
|
960 |
+
padding-right: 0.75rem;
|
961 |
+
}.pr-10 {
|
962 |
+
padding-left: 2.5rem;
|
963 |
+
}.pl-4 {
|
964 |
+
padding-right: 1rem;
|
965 |
+
}.pt-\[2\.2rem\] {
|
966 |
+
padding-top: 2.2rem;
|
967 |
+
}.pb-3 {
|
968 |
+
padding-bottom: 0.75rem;
|
969 |
+
}.pb-7 {
|
970 |
+
padding-bottom: 1.75rem;
|
971 |
+
}.pb-\[56\.25\%\] {
|
972 |
+
padding-bottom: 56.25%;
|
973 |
+
}.pb-2 {
|
974 |
+
padding-bottom: 0.5rem;
|
975 |
+
}.pt-0\.5 {
|
976 |
+
padding-top: 0.125rem;
|
977 |
+
}.pt-0 {
|
978 |
+
padding-top: 0px;
|
979 |
+
}.pr-16 {
|
980 |
+
padding-left: 4rem;
|
981 |
+
}.pb-8 {
|
982 |
+
padding-bottom: 2rem;
|
983 |
+
}.pl-8 {
|
984 |
+
padding-right: 2rem;
|
985 |
+
}.pr-5 {
|
986 |
+
padding-left: 1.25rem;
|
987 |
+
}.text-left {
|
988 |
+
text-align: right;
|
989 |
+
}.text-\[0\.940rem\] {
|
990 |
+
font-size: 0.940rem;
|
991 |
+
}.text-base {
|
992 |
+
font-size: 1rem;
|
993 |
+
line-height: 1.5rem;
|
994 |
+
}.text-sm {
|
995 |
+
font-size: 0.875rem;
|
996 |
+
line-height: 1.25rem;
|
997 |
+
}.text-\[1\.6rem\] {
|
998 |
+
font-size: 1.6rem;
|
999 |
+
}.text-xl {
|
1000 |
+
font-size: 1.25rem;
|
1001 |
+
line-height: 1.75rem;
|
1002 |
+
}.text-lg {
|
1003 |
+
font-size: 1.125rem;
|
1004 |
+
line-height: 1.75rem;
|
1005 |
+
}.text-xs {
|
1006 |
+
font-size: 0.75rem;
|
1007 |
+
line-height: 1rem;
|
1008 |
+
}.font-medium {
|
1009 |
+
font-weight: 500;
|
1010 |
+
}.font-normal {
|
1011 |
+
font-weight: 400;
|
1012 |
+
}.leading-\[2\.4rem\] {
|
1013 |
+
line-height: 2.4rem;
|
1014 |
+
}.leading-\[2\.47rem\] {
|
1015 |
+
line-height: 2.47rem;
|
1016 |
+
}.leading-6 {
|
1017 |
+
line-height: 1.5rem;
|
1018 |
+
}.text-cfvswheadingcolor {
|
1019 |
+
--tw-text-opacity: 1;
|
1020 |
+
color: rgb(31 41 55 / var(--tw-text-opacity));
|
1021 |
+
}.text-white {
|
1022 |
+
--tw-text-opacity: 1;
|
1023 |
+
color: rgb(255 255 255 / var(--tw-text-opacity));
|
1024 |
+
}.text-gray-400 {
|
1025 |
+
--tw-text-opacity: 1;
|
1026 |
+
color: rgb(156 163 175 / var(--tw-text-opacity));
|
1027 |
+
}.text-gray-900 {
|
1028 |
+
--tw-text-opacity: 1;
|
1029 |
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
1030 |
+
}.text-wpcolor {
|
1031 |
+
--tw-text-opacity: 1;
|
1032 |
+
color: rgb(240 100 52 / var(--tw-text-opacity));
|
1033 |
+
}.text-gray-500 {
|
1034 |
+
--tw-text-opacity: 1;
|
1035 |
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
1036 |
+
}.text-green-400 {
|
1037 |
+
--tw-text-opacity: 1;
|
1038 |
+
color: rgb(74 222 128 / var(--tw-text-opacity));
|
1039 |
+
}.underline {
|
1040 |
+
-webkit-text-decoration-line: underline;
|
1041 |
+
text-decoration-line: underline;
|
1042 |
+
}.opacity-25 {
|
1043 |
+
opacity: 0.25;
|
1044 |
+
}.opacity-75 {
|
1045 |
+
opacity: 0.75;
|
1046 |
+
}.opacity-100 {
|
1047 |
+
opacity: 1;
|
1048 |
+
}.opacity-0 {
|
1049 |
+
opacity: 0;
|
1050 |
+
}.shadow {
|
1051 |
+
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
1052 |
+
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1053 |
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1054 |
+
}.shadow-lg {
|
1055 |
+
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
1056 |
+
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
1057 |
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1058 |
+
}.ring-1 {
|
1059 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1060 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1061 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1062 |
+
}.ring-0 {
|
1063 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1064 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1065 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1066 |
+
}.ring-black {
|
1067 |
+
--tw-ring-opacity: 1;
|
1068 |
+
--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity));
|
1069 |
+
}.ring-opacity-5 {
|
1070 |
+
--tw-ring-opacity: 0.05;
|
1071 |
+
}.blur {
|
1072 |
+
--tw-blur: blur(8px);
|
1073 |
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1074 |
+
}.filter {
|
1075 |
+
filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
|
1076 |
+
}.transition {
|
1077 |
+
transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
|
1078 |
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
|
1079 |
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
|
1080 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1081 |
+
transition-duration: 150ms;
|
1082 |
+
}.transition-colors {
|
1083 |
+
transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
|
1084 |
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
|
1085 |
+
transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
|
1086 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1087 |
+
transition-duration: 150ms;
|
1088 |
+
}.duration-100 {
|
1089 |
+
transition-duration: 100ms;
|
1090 |
+
}.duration-200 {
|
1091 |
+
transition-duration: 200ms;
|
1092 |
+
}.duration-300 {
|
1093 |
+
transition-duration: 300ms;
|
1094 |
+
}.ease-in {
|
1095 |
+
transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
|
1096 |
+
}.ease-in-out {
|
1097 |
+
transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
|
1098 |
+
}.ease-out {
|
1099 |
+
transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
1100 |
+
}.last\:border-b-0:last-child {
|
1101 |
+
border-bottom-width: 0px;
|
1102 |
+
}.hover\:border-wphovercolor:hover {
|
1103 |
+
--tw-border-opacity: 1;
|
1104 |
+
border-color: rgb(238 71 16 / var(--tw-border-opacity));
|
1105 |
+
}.hover\:bg-gray-50:hover {
|
1106 |
+
--tw-bg-opacity: 1;
|
1107 |
+
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
1108 |
+
}.hover\:text-wphovercolor:hover {
|
1109 |
+
--tw-text-opacity: 1;
|
1110 |
+
color: rgb(238 71 16 / var(--tw-text-opacity));
|
1111 |
+
}.hover\:text-cfvswheadingcolor:hover {
|
1112 |
+
--tw-text-opacity: 1;
|
1113 |
+
color: rgb(31 41 55 / var(--tw-text-opacity));
|
1114 |
+
}.hover\:text-gray-900:hover {
|
1115 |
+
--tw-text-opacity: 1;
|
1116 |
+
color: rgb(17 24 39 / var(--tw-text-opacity));
|
1117 |
+
}.hover\:text-gray-500:hover {
|
1118 |
+
--tw-text-opacity: 1;
|
1119 |
+
color: rgb(107 114 128 / var(--tw-text-opacity));
|
1120 |
+
}.focus\:border-wpcolor:focus {
|
1121 |
+
--tw-border-opacity: 1;
|
1122 |
+
border-color: rgb(240 100 52 / var(--tw-border-opacity));
|
1123 |
+
}.focus\:bg-white:focus {
|
1124 |
+
--tw-bg-opacity: 1;
|
1125 |
+
background-color: rgb(255 255 255 / var(--tw-bg-opacity));
|
1126 |
+
}.focus\:shadow-none:focus {
|
1127 |
+
--tw-shadow: 0 0 #0000;
|
1128 |
+
--tw-shadow-colored: 0 0 #0000;
|
1129 |
+
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1130 |
+
}.focus\:outline-none:focus {
|
1131 |
+
outline: 2px solid transparent;
|
1132 |
+
outline-offset: 2px;
|
1133 |
+
}.focus\:ring-2:focus {
|
1134 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1135 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1136 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1137 |
+
}.focus\:ring-wpcolor:focus {
|
1138 |
+
--tw-ring-opacity: 1;
|
1139 |
+
--tw-ring-color: rgb(240 100 52 / var(--tw-ring-opacity));
|
1140 |
+
}.focus\:ring-indigo-500:focus {
|
1141 |
+
--tw-ring-opacity: 1;
|
1142 |
+
--tw-ring-color: rgb(99 102 241 / var(--tw-ring-opacity));
|
1143 |
+
}.focus\:ring-offset-2:focus {
|
1144 |
+
--tw-ring-offset-width: 2px;
|
1145 |
+
}.focus-visible\:border-indigo-500:focus-visible {
|
1146 |
+
--tw-border-opacity: 1;
|
1147 |
+
border-color: rgb(99 102 241 / var(--tw-border-opacity));
|
1148 |
+
}.focus-visible\:ring-2:focus-visible {
|
1149 |
+
--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
|
1150 |
+
--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);
|
1151 |
+
box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
|
1152 |
+
}.focus-visible\:ring-white:focus-visible {
|
1153 |
+
--tw-ring-opacity: 1;
|
1154 |
+
--tw-ring-color: rgb(255 255 255 / var(--tw-ring-opacity));
|
1155 |
+
}.focus-visible\:ring-opacity-75:focus-visible {
|
1156 |
+
--tw-ring-opacity: 0.75;
|
1157 |
+
}.focus-visible\:ring-offset-2:focus-visible {
|
1158 |
+
--tw-ring-offset-width: 2px;
|
1159 |
+
}.focus-visible\:ring-offset-orange-300:focus-visible {
|
1160 |
+
--tw-ring-offset-color: #fdba74;
|
1161 |
+
}@media (min-width: 640px) {
|
1162 |
+
|
1163 |
+
.sm\:static {
|
1164 |
+
position: static;
|
1165 |
+
}
|
1166 |
+
|
1167 |
+
.sm\:inset-auto {
|
1168 |
+
top: auto;
|
1169 |
+
left: auto;
|
1170 |
+
bottom: auto;
|
1171 |
+
right: auto;
|
1172 |
+
}
|
1173 |
+
|
1174 |
+
.sm\:ml-8 {
|
1175 |
+
margin-right: 2rem;
|
1176 |
+
}
|
1177 |
+
|
1178 |
+
.sm\:ml-6 {
|
1179 |
+
margin-right: 1.5rem;
|
1180 |
+
}
|
1181 |
+
|
1182 |
+
.sm\:-ml-6 {
|
1183 |
+
margin-right: -1.5rem;
|
1184 |
+
}
|
1185 |
+
|
1186 |
+
.sm\:-mr-6 {
|
1187 |
+
margin-left: -1.5rem;
|
1188 |
+
}
|
1189 |
+
|
1190 |
+
.sm\:flex {
|
1191 |
+
display: flex;
|
1192 |
+
}
|
1193 |
+
|
1194 |
+
.sm\:translate-y-0 {
|
1195 |
+
--tw-translate-y: 0px;
|
1196 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1197 |
+
}
|
1198 |
+
|
1199 |
+
.sm\:translate-x-2 {
|
1200 |
+
--tw-translate-x: 0.5rem;
|
1201 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1202 |
+
}
|
1203 |
+
|
1204 |
+
.sm\:translate-x-0 {
|
1205 |
+
--tw-translate-x: 0px;
|
1206 |
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
1207 |
+
}
|
1208 |
+
|
1209 |
+
.sm\:items-start {
|
1210 |
+
align-items: flex-start;
|
1211 |
+
}
|
1212 |
+
|
1213 |
+
.sm\:items-end {
|
1214 |
+
align-items: flex-end;
|
1215 |
+
}
|
1216 |
+
|
1217 |
+
.sm\:items-stretch {
|
1218 |
+
align-items: stretch;
|
1219 |
+
}
|
1220 |
+
|
1221 |
+
.sm\:justify-start {
|
1222 |
+
justify-content: flex-start;
|
1223 |
+
}
|
1224 |
+
|
1225 |
+
.sm\:space-x-8 > :not([hidden]) ~ :not([hidden]) {
|
1226 |
+
--tw-space-x-reverse: 0;
|
1227 |
+
margin-left: calc(2rem * var(--tw-space-x-reverse));
|
1228 |
+
margin-right: calc(2rem * calc(1 - var(--tw-space-x-reverse)));
|
1229 |
+
}
|
1230 |
+
|
1231 |
+
.sm\:p-6 {
|
1232 |
+
padding: 1.5rem;
|
1233 |
+
}
|
1234 |
+
|
1235 |
+
.sm\:px-6 {
|
1236 |
+
padding-right: 1.5rem;
|
1237 |
+
padding-left: 1.5rem;
|
1238 |
+
}
|
1239 |
+
|
1240 |
+
.sm\:pr-0 {
|
1241 |
+
padding-left: 0px;
|
1242 |
+
}
|
1243 |
+
|
1244 |
+
.sm\:text-sm {
|
1245 |
+
font-size: 0.875rem;
|
1246 |
+
line-height: 1.25rem;
|
1247 |
+
}
|
1248 |
+
}@media (min-width: 768px) {
|
1249 |
+
|
1250 |
+
.md\:top-\[32px\] {
|
1251 |
+
top: 32px;
|
1252 |
+
}
|
1253 |
+
}@media (min-width: 1024px) {
|
1254 |
+
|
1255 |
+
.lg\:col-span-3 {
|
1256 |
+
grid-column: span 3 / span 3;
|
1257 |
+
}
|
1258 |
+
|
1259 |
+
.lg\:col-span-9 {
|
1260 |
+
grid-column: span 9 / span 9;
|
1261 |
+
}
|
1262 |
+
|
1263 |
+
.lg\:col-span-2 {
|
1264 |
+
grid-column: span 2 / span 2;
|
1265 |
+
}
|
1266 |
+
|
1267 |
+
.lg\:-ml-8 {
|
1268 |
+
margin-right: -2rem;
|
1269 |
+
}
|
1270 |
+
|
1271 |
+
.lg\:-mr-0 {
|
1272 |
+
margin-left: -0px;
|
1273 |
+
}
|
1274 |
+
|
1275 |
+
.lg\:block {
|
1276 |
+
display: block;
|
1277 |
+
}
|
1278 |
+
|
1279 |
+
.lg\:grid {
|
1280 |
+
display: grid;
|
1281 |
+
}
|
1282 |
+
|
1283 |
+
.lg\:max-w-7xl {
|
1284 |
+
max-width: 80rem;
|
1285 |
+
}
|
1286 |
+
|
1287 |
+
.lg\:grid-cols-12 {
|
1288 |
+
grid-template-columns: repeat(12, minmax(0, 1fr));
|
1289 |
+
}
|
1290 |
+
|
1291 |
+
.lg\:grid-cols-3 {
|
1292 |
+
grid-template-columns: repeat(3, minmax(0, 1fr));
|
1293 |
+
}
|
1294 |
+
|
1295 |
+
.lg\:gap-\[2\.6rem\] {
|
1296 |
+
gap: 2.6rem;
|
1297 |
+
}
|
1298 |
+
|
1299 |
+
.lg\:gap-x-8 {
|
1300 |
+
-moz-column-gap: 2rem;
|
1301 |
+
column-gap: 2rem;
|
1302 |
+
}
|
1303 |
+
|
1304 |
+
.lg\:py-6 {
|
1305 |
+
padding-top: 1.5rem;
|
1306 |
+
padding-bottom: 1.5rem;
|
1307 |
+
}
|
1308 |
+
|
1309 |
+
.lg\:px-0 {
|
1310 |
+
padding-right: 0px;
|
1311 |
+
padding-left: 0px;
|
1312 |
+
}
|
1313 |
+
}@media (min-width: 1536px) {
|
1314 |
+
|
1315 |
+
.\32xl\:mx-auto {
|
1316 |
+
margin-right: auto;
|
1317 |
+
margin-left: auto;
|
1318 |
+
}
|
1319 |
+
}@media (min-width: 600px) and (max-width: 781px) {
|
1320 |
+
|
1321 |
+
.\36 00px\:top-\[46px\] {
|
1322 |
+
top: 46px;
|
1323 |
+
}
|
1324 |
+
}
|
admin-core/assets/build/settings.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-element', 'wp-i18n'), 'version' => 'e680c1587baf602829611ebb026adfd1');
|
admin-core/assets/build/settings.css
CHANGED
@@ -638,8 +638,6 @@ select {
|
|
638 |
z-index: 10;
|
639 |
}.z-40 {
|
640 |
z-index: 40;
|
641 |
-
}.z-0 {
|
642 |
-
z-index: 0;
|
643 |
}.mx-auto {
|
644 |
margin-left: auto;
|
645 |
margin-right: auto;
|
@@ -665,8 +663,6 @@ select {
|
|
665 |
margin-bottom: 0px;
|
666 |
}.mr-\[80px\] {
|
667 |
margin-right: 80px;
|
668 |
-
}.mr-4 {
|
669 |
-
margin-right: 1rem;
|
670 |
}.ml-4 {
|
671 |
margin-left: 1rem;
|
672 |
}.ml-3 {
|
@@ -811,8 +807,6 @@ select {
|
|
811 |
align-items: flex-end;
|
812 |
}.items-center {
|
813 |
align-items: center;
|
814 |
-
}.justify-start {
|
815 |
-
justify-content: flex-start;
|
816 |
}.justify-end {
|
817 |
justify-content: flex-end;
|
818 |
}.justify-center {
|
@@ -976,8 +970,6 @@ select {
|
|
976 |
padding-bottom: 1.75rem;
|
977 |
}.pb-\[56\.25\%\] {
|
978 |
padding-bottom: 56.25%;
|
979 |
-
}.pt-6 {
|
980 |
-
padding-top: 1.5rem;
|
981 |
}.pb-2 {
|
982 |
padding-bottom: 0.5rem;
|
983 |
}.pt-0\.5 {
|
@@ -1041,18 +1033,12 @@ select {
|
|
1041 |
}.text-gray-500 {
|
1042 |
--tw-text-opacity: 1;
|
1043 |
color: rgb(107 114 128 / var(--tw-text-opacity));
|
1044 |
-
}.text-gray-700 {
|
1045 |
-
--tw-text-opacity: 1;
|
1046 |
-
color: rgb(55 65 81 / var(--tw-text-opacity));
|
1047 |
}.text-green-400 {
|
1048 |
--tw-text-opacity: 1;
|
1049 |
color: rgb(74 222 128 / var(--tw-text-opacity));
|
1050 |
}.underline {
|
1051 |
-webkit-text-decoration-line: underline;
|
1052 |
text-decoration-line: underline;
|
1053 |
-
}.no-underline {
|
1054 |
-
-webkit-text-decoration-line: none;
|
1055 |
-
text-decoration-line: none;
|
1056 |
}.opacity-25 {
|
1057 |
opacity: 0.25;
|
1058 |
}.opacity-75 {
|
@@ -1065,10 +1051,6 @@ select {
|
|
1065 |
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
1066 |
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1067 |
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1068 |
-
}.shadow-sm {
|
1069 |
-
--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
|
1070 |
-
--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);
|
1071 |
-
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
1072 |
}.shadow-lg {
|
1073 |
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
1074 |
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
@@ -1123,9 +1105,6 @@ select {
|
|
1123 |
}.hover\:bg-gray-50:hover {
|
1124 |
--tw-bg-opacity: 1;
|
1125 |
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
1126 |
-
}.hover\:bg-wphovercolor:hover {
|
1127 |
-
--tw-bg-opacity: 1;
|
1128 |
-
background-color: rgb(238 71 16 / var(--tw-bg-opacity));
|
1129 |
}.hover\:text-wphovercolor:hover {
|
1130 |
--tw-text-opacity: 1;
|
1131 |
color: rgb(238 71 16 / var(--tw-text-opacity));
|
638 |
z-index: 10;
|
639 |
}.z-40 {
|
640 |
z-index: 40;
|
|
|
|
|
641 |
}.mx-auto {
|
642 |
margin-left: auto;
|
643 |
margin-right: auto;
|
663 |
margin-bottom: 0px;
|
664 |
}.mr-\[80px\] {
|
665 |
margin-right: 80px;
|
|
|
|
|
666 |
}.ml-4 {
|
667 |
margin-left: 1rem;
|
668 |
}.ml-3 {
|
807 |
align-items: flex-end;
|
808 |
}.items-center {
|
809 |
align-items: center;
|
|
|
|
|
810 |
}.justify-end {
|
811 |
justify-content: flex-end;
|
812 |
}.justify-center {
|
970 |
padding-bottom: 1.75rem;
|
971 |
}.pb-\[56\.25\%\] {
|
972 |
padding-bottom: 56.25%;
|
|
|
|
|
973 |
}.pb-2 {
|
974 |
padding-bottom: 0.5rem;
|
975 |
}.pt-0\.5 {
|
1033 |
}.text-gray-500 {
|
1034 |
--tw-text-opacity: 1;
|
1035 |
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
|
|
|
|
|
1036 |
}.text-green-400 {
|
1037 |
--tw-text-opacity: 1;
|
1038 |
color: rgb(74 222 128 / var(--tw-text-opacity));
|
1039 |
}.underline {
|
1040 |
-webkit-text-decoration-line: underline;
|
1041 |
text-decoration-line: underline;
|
|
|
|
|
|
|
1042 |
}.opacity-25 {
|
1043 |
opacity: 0.25;
|
1044 |
}.opacity-75 {
|
1051 |
--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
|
1052 |
--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);
|
1053 |
box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
|
|
|
|
|
|
|
|
|
1054 |
}.shadow-lg {
|
1055 |
--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
|
1056 |
--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);
|
1105 |
}.hover\:bg-gray-50:hover {
|
1106 |
--tw-bg-opacity: 1;
|
1107 |
background-color: rgb(249 250 251 / var(--tw-bg-opacity));
|
|
|
|
|
|
|
1108 |
}.hover\:text-wphovercolor:hover {
|
1109 |
--tw-text-opacity: 1;
|
1110 |
color: rgb(238 71 16 / var(--tw-text-opacity));
|
admin-core/assets/build/settings.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
-
!function(){var e={597:function(e,t,r){"use strict";var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(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}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:l},u)},p),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},3891:function(e,t,r){"use strict";var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(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}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:l},u)},p),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},9742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=l(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),u=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,l=n-o;s<l;s+=a)i.push(c(e,s,s+a>l?l:s+a));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";var n=r(9742),o=r(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),n=s(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var o=function(e){if(l.isBuffer(e)){var t=0|d(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||I(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return u(e),s(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function d(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(o)return n?-1:M(e).length;t=(""+t).toLowerCase(),o=!0}}function b(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return T(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return R(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function m(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),I(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var p=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){p=!1;break}if(p)return i}return-1}function w(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(I(s))return a;e[r+a]=s}return a}function x(e,t,r,n){return U(M(t,e.length-r),e,r,n)}function _(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return U(F(t),e,r,n)}function S(e,t,r,n){return U(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,l,c=e[o],u=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=p}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(H(i,Uint8Array))o+i.length>n.length?l.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o)}o+=i.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)m(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)m(this,t,t+3),m(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)m(this,t,t+7),m(this,t+1,t+6),m(this,t+2,t+5),m(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):b.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,o){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),p=0;p<s;++p)if(c[p]!==u[p]){i=c[p],a=u[p];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return _(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function O(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function L(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=z[e[i]];return o}function R(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function N(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,r,n,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function q(e,t,r,n,i){return t=+t,r>>>=0,i||D(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return t=+t,r>>>=0,i||D(e,0,r,8),o.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||N(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||N(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||N(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||N(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||N(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||N(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||N(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||N(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||N(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||N(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||N(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);j(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);j(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return q(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return q(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var P=/[^+/0-9A-Za-z-_]/g;function M(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function I(e){return e!=e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},7187:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var o,i,a,c;if(s(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=u.bind(n);return o.listener=r,n.wrapFn=o,o}function f(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):d(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function d(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var c=l.length,u=d(l,c);for(r=0;r<c;++r)n(u[r],this,t)}return!0},i.prototype.addListener=function(e,t){return c(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return c(this,e,t,!0)},i.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return f(this,e,!0)},i.prototype.rawListeners=function(e){return f(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},8679:function(e,t,r){"use strict";var n=r(9864),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},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var o=h(r);o&&o!==d&&e(t,o,n)}var a=u(r);p&&(a=a.concat(p(r)));for(var s=l(t),g=l(r),b=0;b<a.length;++b){var m=a[b];if(!(i[m]||n&&n[m]||g&&g[m]||s&&s[m])){var v=f(r,m);try{c(t,m,v)}catch(e){}}}}return t}},645:function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,p=r?o-1:0,f=r?-1:1,h=e[t+p];for(p+=f,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+p],p+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,p=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?f/l:f*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*l-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*g}},5717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},8552:function(e,t,r){var n=r(852)(r(5639),"DataView");e.exports=n},1989:function(e,t,r){var n=r(1789),o=r(401),i=r(7667),a=r(1327),s=r(1866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},8407:function(e,t,r){var n=r(7040),o=r(4125),i=r(2117),a=r(7529),s=r(4705);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},7071:function(e,t,r){var n=r(852)(r(5639),"Map");e.exports=n},3369:function(e,t,r){var n=r(4785),o=r(1285),i=r(6e3),a=r(9916),s=r(5265);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},3818:function(e,t,r){var n=r(852)(r(5639),"Promise");e.exports=n},8525:function(e,t,r){var n=r(852)(r(5639),"Set");e.exports=n},8668:function(e,t,r){var n=r(3369),o=r(619),i=r(2385);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},6384:function(e,t,r){var n=r(8407),o=r(7465),i=r(3779),a=r(7599),s=r(4758),l=r(4309);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},2705:function(e,t,r){var n=r(5639).Symbol;e.exports=n},1149:function(e,t,r){var n=r(5639).Uint8Array;e.exports=n},577:function(e,t,r){var n=r(852)(r(5639),"WeakMap");e.exports=n},6874:function(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},7412:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},4963:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},4636:function(e,t,r){var n=r(2545),o=r(5694),i=r(1469),a=r(4144),s=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),p=!r&&!u&&a(e),f=!r&&!u&&!p&&l(e),h=r||u||p||f,d=h?n(e.length,String):[],g=d.length;for(var b in e)!t&&!c.call(e,b)||h&&("length"==b||p&&("offset"==b||"parent"==b)||f&&("buffer"==b||"byteLength"==b||"byteOffset"==b)||s(b,g))||d.push(b);return d}},9932:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},2488:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},2908:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},6556:function(e,t,r){var n=r(9465),o=r(7813);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},4865:function(e,t,r){var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},8470:function(e,t,r){var n=r(7813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},4037:function(e,t,r){var n=r(8363),o=r(3674);e.exports=function(e,t){return e&&n(t,o(t),e)}},3886:function(e,t,r){var n=r(8363),o=r(1704);e.exports=function(e,t){return e&&n(t,o(t),e)}},9465:function(e,t,r){var n=r(8777);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},5990:function(e,t,r){var n=r(6384),o=r(7412),i=r(4865),a=r(4037),s=r(3886),l=r(4626),c=r(278),u=r(8805),p=r(1911),f=r(8234),h=r(6904),d=r(4160),g=r(3824),b=r(9148),m=r(8517),v=r(1469),y=r(4144),w=r(6688),x=r(3218),_=r(2928),E=r(3674),S=r(1704),C="[object Arguments]",k="[object Function]",A="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[A]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[k]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,T,L,R,N){var j,D=1&r,q=2&r,B=4&r;if(T&&(j=R?T(t,L,R,N):T(t)),void 0!==j)return j;if(!x(t))return t;var P=v(t);if(P){if(j=g(t),!D)return c(t,j)}else{var M=d(t),F=M==k||"[object GeneratorFunction]"==M;if(y(t))return l(t,D);if(M==A||M==C||F&&!R){if(j=q||F?{}:m(t),!D)return q?p(t,s(j,t)):u(t,a(j,t))}else{if(!O[M])return R?t:{};j=b(t,M,D)}}N||(N=new n);var U=N.get(t);if(U)return U;N.set(t,j),_(t)?t.forEach((function(n){j.add(e(n,r,T,n,t,N))})):w(t)&&t.forEach((function(n,o){j.set(o,e(n,r,T,o,t,N))}));var H=P?void 0:(B?q?h:f:q?S:E)(t);return o(H||t,(function(n,o){H&&(n=t[o=n]),i(j,o,e(n,r,T,o,t,N))})),j}},3118:function(e,t,r){var n=r(3218),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9881:function(e,t,r){var n=r(7816),o=r(9291)(n);e.exports=o},8483:function(e,t,r){var n=r(5063)();e.exports=n},7816:function(e,t,r){var n=r(8483),o=r(3674);e.exports=function(e,t){return e&&n(e,t,o)}},7786:function(e,t,r){var n=r(1811),o=r(327);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},8866:function(e,t,r){var n=r(2488),o=r(1469);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},4239:function(e,t,r){var n=r(2705),o=r(9607),i=r(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,r){var n=r(4239),o=r(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},939:function(e,t,r){var n=r(2492),o=r(7005);e.exports=function e(t,r,i,a,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,s))}},2492:function(e,t,r){var n=r(6384),o=r(7114),i=r(8351),a=r(6096),s=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,b,m){var v=l(e),y=l(t),w=v?f:s(e),x=y?f:s(t),_=(w=w==p?h:w)==h,E=(x=x==p?h:x)==h,S=w==x;if(S&&c(e)){if(!c(t))return!1;v=!0,_=!1}if(S&&!_)return m||(m=new n),v||u(e)?o(e,t,r,g,b,m):i(e,t,w,r,g,b,m);if(!(1&r)){var C=_&&d.call(e,"__wrapped__"),k=E&&d.call(t,"__wrapped__");if(C||k){var A=C?e.value():e,O=k?t.value():t;return m||(m=new n),b(A,O,r,g,m)}}return!!S&&(m||(m=new n),a(e,t,r,g,b,m))}},5588:function(e,t,r){var n=r(4160),o=r(7005);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},2958:function(e,t,r){var n=r(6384),o=r(939);e.exports=function(e,t,r,i){var a=r.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],p=e[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in e))return!1}else{var h=new n;if(i)var d=i(p,f,u,e,t,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:function(e,t,r){var n=r(3560),o=r(5346),i=r(3218),a=r(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?f:s).test(a(e))}},9221:function(e,t,r){var n=r(4160),o=r(7005);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},8749:function(e,t,r){var n=r(4239),o=r(1780),i=r(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},7206:function(e,t,r){var n=r(1573),o=r(6432),i=r(6557),a=r(1469),s=r(9601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):s(e)}},280:function(e,t,r){var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},313:function(e,t,r){var n=r(3218),o=r(5726),i=r(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},9199:function(e,t,r){var n=r(9881),o=r(8612);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}},1573:function(e,t,r){var n=r(2958),o=r(1499),i=r(2634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6432:function(e,t,r){var n=r(939),o=r(7361),i=r(9095),a=r(5403),s=r(9162),l=r(2634),c=r(327);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},2980:function(e,t,r){var n=r(6384),o=r(6556),i=r(8483),a=r(9783),s=r(3218),l=r(1704),c=r(6390);e.exports=function e(t,r,u,p,f){t!==r&&i(r,(function(i,l){if(f||(f=new n),s(i))a(t,r,l,u,e,p,f);else{var h=p?p(c(t,l),i,l+"",t,r,f):void 0;void 0===h&&(h=i),o(t,l,h)}}),l)}},9783:function(e,t,r){var n=r(6556),o=r(4626),i=r(7133),a=r(278),s=r(8517),l=r(5694),c=r(1469),u=r(9246),p=r(4144),f=r(3560),h=r(3218),d=r(8630),g=r(6719),b=r(6390),m=r(3678);e.exports=function(e,t,r,v,y,w,x){var _=b(e,r),E=b(t,r),S=x.get(E);if(S)n(e,r,S);else{var C=w?w(_,E,r+"",e,t,x):void 0,k=void 0===C;if(k){var A=c(E),O=!A&&p(E),T=!A&&!O&&g(E);C=E,A||O||T?c(_)?C=_:u(_)?C=a(_):O?(k=!1,C=o(E,!0)):T?(k=!1,C=i(E,!0)):C=[]:d(E)||l(E)?(C=_,l(_)?C=m(_):h(_)&&!f(_)||(C=s(E))):k=!1}k&&(x.set(E,C),y(C,E,v,w,x),x.delete(E)),n(e,r,C)}}},371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:function(e,t,r){var n=r(7786);e.exports=function(e){return function(t){return n(t,e)}}},5976:function(e,t,r){var n=r(6557),o=r(5357),i=r(61);e.exports=function(e,t){return i(o(e,t,n),e+"")}},6560:function(e,t,r){var n=r(5703),o=r(8777),i=r(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},2545:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},531:function(e,t,r){var n=r(2705),o=r(9932),i=r(1469),a=r(3448),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7561:function(e,t,r){var n=r(7990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},4757:function(e){e.exports=function(e,t){return e.has(t)}},4290:function(e,t,r){var n=r(6557);e.exports=function(e){return"function"==typeof e?e:n}},1811:function(e,t,r){var n=r(1469),o=r(5403),i=r(5514),a=r(9833);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},4318:function(e,t,r){var n=r(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4626:function(e,t,r){e=r.nmd(e);var n=r(5639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},7157:function(e,t,r){var n=r(4318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},419:function(e,t,r){var n=r(2705),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},7133:function(e,t,r){var n=r(4318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},8363:function(e,t,r){var n=r(4865),o=r(9465);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?o(r,c,u):n(r,c,u)}return r}},8805:function(e,t,r){var n=r(8363),o=r(9551);e.exports=function(e,t){return n(e,o(e),t)}},1911:function(e,t,r){var n=r(8363),o=r(1442);e.exports=function(e,t){return n(e,o(e),t)}},4429:function(e,t,r){var n=r(5639)["__core-js_shared__"];e.exports=n},1463:function(e,t,r){var n=r(5976),o=r(6612);e.exports=function(e){return n((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var l=r[n];l&&e(t,l,n,a)}return t}))}},9291:function(e,t,r){var n=r(8612);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,a=t?i:-1,s=Object(r);(t?a--:++a<i)&&!1!==o(s[a],a,s););return r}}},5063:function(e){e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}}},8777:function(e,t,r){var n=r(852),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},7114:function(e,t,r){var n=r(8668),o=r(2908),i=r(4757);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var d=-1,g=!0,b=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++d<u;){var m=e[d],v=t[d];if(a)var y=c?a(v,m,d,t,e,l):a(m,v,d,e,t,l);if(void 0!==y){if(y)continue;g=!1;break}if(b){if(!o(t,(function(e,t){if(!i(b,t)&&(m===e||s(m,e,r,a,l)))return b.push(t)}))){g=!1;break}}else if(m!==v&&!s(m,v,r,a,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},8351:function(e,t,r){var n=r(2705),o=r(1149),i=r(7813),a=r(7114),s=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,p,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var d=1&n;if(h||(h=l),e.size!=t.size&&!d)return!1;var g=f.get(e);if(g)return g==t;n|=2,f.set(e,t);var b=a(h(e),h(t),n,c,p,f);return f.delete(e),b;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:function(e,t,r){var n=r(8234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in t:o.call(t,f)))return!1}var h=s.get(e),d=s.get(t);if(h&&d)return h==t&&d==e;var g=!0;s.set(e,t),s.set(t,e);for(var b=l;++p<u;){var m=e[f=c[p]],v=t[f];if(i)var y=l?i(v,m,f,t,e,s):i(m,v,f,e,t,s);if(!(void 0===y?m===v||a(m,v,r,i,s):y)){g=!1;break}b||(b="constructor"==f)}if(g&&!b){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return s.delete(e),s.delete(t),g}},1957:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},8234:function(e,t,r){var n=r(8866),o=r(9551),i=r(3674);e.exports=function(e){return n(e,i,o)}},6904:function(e,t,r){var n=r(8866),o=r(1442),i=r(1704);e.exports=function(e){return n(e,i,o)}},5050:function(e,t,r){var n=r(7019);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},1499:function(e,t,r){var n=r(9162),o=r(3674);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},852:function(e,t,r){var n=r(8458),o=r(7801);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},5924:function(e,t,r){var n=r(5569)(Object.getPrototypeOf,Object);e.exports=n},9607:function(e,t,r){var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},9551:function(e,t,r){var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},1442:function(e,t,r){var n=r(2488),o=r(5924),i=r(9551),a=r(479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},4160:function(e,t,r){var n=r(8552),o=r(7071),i=r(3818),a=r(8525),s=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",g=c(n),b=c(o),m=c(i),v=c(a),y=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=u||i&&w(i.resolve())!=p||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return d;case b:return u;case m:return p;case v:return f;case y:return h}return t}),e.exports=w},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,r){var n=r(1811),o=r(5694),i=r(1469),a=r(5776),s=r(1780),l=r(327);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,p=!1;++c<u;){var f=l(t[c]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},1789:function(e,t,r){var n=r(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,r){var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1327:function(e,t,r){var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1866:function(e,t,r){var n=r(4536);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},9148:function(e,t,r){var n=r(4318),o=r(7157),i=r(3147),a=r(419),s=r(7133);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,r){var n=r(3118),o=r(5924),i=r(5726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},6612:function(e,t,r){var n=r(7813),o=r(8612),i=r(5776),a=r(3218);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&i(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},5403:function(e,t,r){var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,r){var n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},9162:function(e,t,r){var n=r(3218);e.exports=function(e){return e==e&&!n(e)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,r){var n=r(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},2117:function(e,t,r){var n=r(8470);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},7529:function(e,t,r){var n=r(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:function(e,t,r){var n=r(8470);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},4785:function(e,t,r){var n=r(1989),o=r(8407),i=r(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:function(e,t,r){var n=r(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,r){var n=r(5050);e.exports=function(e){return n(this,e).get(e)}},9916:function(e,t,r){var n=r(5050);e.exports=function(e){return n(this,e).has(e)}},5265:function(e,t,r){var n=r(5050);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},8776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},2634:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},4523:function(e,t,r){var n=r(8306);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},4536:function(e,t,r){var n=r(852)(Object,"create");e.exports=n},6916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},1167:function(e,t,r){e=r.nmd(e);var n=r(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},5357:function(e,t,r){var n=r(6874),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=r(l),n(e,this,c)}}},5639:function(e,t,r){var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:function(e){e.exports=function(e){return this.__data__.has(e)}},1814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},61:function(e,t,r){var n=r(6560),o=r(1275)(n);e.exports=o},1275:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},7465:function(e,t,r){var n=r(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,r){var n=r(8407),o=r(7071),i=r(3369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},5514:function(e,t,r){var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},327:function(e,t,r){var n=r(3448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},361:function(e,t,r){var n=r(5990);e.exports=function(e){return n(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},3279:function(e,t,r){var n=r(3218),o=r(7771),i=r(4841),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,p,f,h,d=0,g=!1,b=!1,m=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=l,n=c;return l=c=void 0,d=t,p=e.apply(n,r)}function y(e){return d=e,f=setTimeout(x,t),g?v(e):p}function w(e){var r=e-h;return void 0===h||r>=t||r<0||b&&e-d>=u}function x(){var e=o();if(w(e))return _(e);f=setTimeout(x,function(e){var r=t-(e-h);return b?s(r,u-(e-d)):r}(e))}function _(e){return f=void 0,m&&l?v(e):(l=c=void 0,p)}function E(){var e=o(),r=w(e);if(l=arguments,c=this,h=e,r){if(void 0===f)return y(h);if(b)return clearTimeout(f),f=setTimeout(x,t),v(h)}return void 0===f&&(f=setTimeout(x,t)),p}return t=i(t)||0,n(r)&&(g=!!r.leading,u=(b="maxWait"in r)?a(i(r.maxWait)||0,t):u,m="trailing"in r?!!r.trailing:m),E.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},E.flush=function(){return void 0===f?p:_(o())},E}},6073:function(e,t,r){e.exports=r(4486)},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},4486:function(e,t,r){var n=r(7412),o=r(9881),i=r(4290),a=r(1469);e.exports=function(e,t){return(a(e)?n:o)(e,i(t))}},2525:function(e,t,r){var n=r(7816),o=r(4290);e.exports=function(e,t){return e&&n(e,o(t))}},7361:function(e,t,r){var n=r(7786);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},9095:function(e,t,r){var n=r(13),o=r(222);e.exports=function(e,t){return null!=e&&o(e,t,n)}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,r){var n=r(9454),o=r(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,r){var n=r(3560),o=r(1780);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},9246:function(e,t,r){var n=r(8612),o=r(7005);e.exports=function(e){return o(e)&&n(e)}},4144:function(e,t,r){e=r.nmd(e);var n=r(5639),o=r(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3560:function(e,t,r){var n=r(4239),o=r(3218);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,r){var n=r(5588),o=r(7518),i=r(1167),a=i&&i.isMap,s=a?o(a):n;e.exports=s},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,r){var n=r(4239),o=r(5924),i=r(7005),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},2928:function(e,t,r){var n=r(9221),o=r(7518),i=r(1167),a=i&&i.isSet,s=a?o(a):n;e.exports=s},7037:function(e,t,r){var n=r(4239),o=r(1469),i=r(7005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},3448:function(e,t,r){var n=r(4239),o=r(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},6719:function(e,t,r){var n=r(8749),o=r(7518),i=r(1167),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},2353:function(e){e.exports=function(e){return void 0===e}},3674:function(e,t,r){var n=r(4636),o=r(280),i=r(8612);e.exports=function(e){return i(e)?n(e):o(e)}},1704:function(e,t,r){var n=r(4636),o=r(313),i=r(8612);e.exports=function(e){return i(e)?n(e,!0):o(e)}},5161:function(e,t,r){var n=r(9932),o=r(7206),i=r(9199),a=r(1469);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},8306:function(e,t,r){var n=r(3369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},3857:function(e,t,r){var n=r(2980),o=r(1463)((function(e,t,r){n(e,t,r)}));e.exports=o},7771:function(e,t,r){var n=r(5639);e.exports=function(){return n.Date.now()}},9601:function(e,t,r){var n=r(371),o=r(9152),i=r(5403),a=r(327);e.exports=function(e){return i(e)?n(a(e)):o(e)}},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},3493:function(e,t,r){var n=r(3279),o=r(3218);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},4841:function(e,t,r){var n=r(7561),o=r(3218),i=r(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},3678:function(e,t,r){var n=r(8363),o=r(1704);e.exports=function(e){return n(e,o(e))}},9833:function(e,t,r){var n=r(531);e.exports=function(e){return null==e?"":n(e)}},4779:function(e,t,r){var n=r(6173);e.exports=function e(t,r,o){return n(r)||(o=r||o,r=[]),o=o||{},t 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 u(e,t)}(t,r):n(t)?function(t,r,n){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],r,n).source);return u(new RegExp("(?:"+o.join("|")+")",p(n)),r)}(t,r,o):function(e,t,r){return f(i(e,r),t,r)}(t,r,o)},e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var r,n=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(r=o.exec(e));){var p=r[0],f=r[1],h=r.index;if(s+=e.slice(a,h),a=h+p.length,f)s+=f[1];else{var d=e[a],g=r[2],b=r[3],m=r[4],v=r[5],y=r[6],w=r[7];s&&(n.push(s),s="");var x=null!=g&&null!=d&&d!==g,_="+"===y||"*"===y,E="?"===y||"*"===y,S=r[2]||u,C=m||v;n.push({name:b||i++,prefix:g||"",delimiter:S,optional:E,repeat:_,partial:x,asterisk:!!w,pattern:C?c(C):w?".*":"[^"+l(S)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&n.push(s),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",p(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var p,f=s[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(n(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(p=l(f[h]),!r[c].test(p))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===h?u.prefix:u.delimiter)+p}}else{if(p=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!r[c].test(p))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+p+'"');i+=u.prefix+p}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function f(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,i=!1!==r.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var f=l(c.prefix),h="(?:"+c.pattern+")";t.push(c),c.repeat&&(h+="(?:"+f+h+")*"),a+=h=c.optional?c.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var d=l(r.delimiter||"/"),g=a.slice(-d.length)===d;return o||(a=(g?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&g?"":"(?="+d+"|$)",u(new RegExp("^"+a,p(r)),t)}},6173:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2703:function(e,t,r){"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint: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}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.decodeEntities,i=void 0===r||r,a=t.transform,s=t.preprocessNodes,l=void 0===s?function(e){return e}:s,c=l(n.default.parseDOM(e,{decodeEntities:i}));return(0,o.default)(c,a)};var n=i(r(6842)),o=i(r(6630));function i(e){return e&&e.__esModule?e:{default:e}}},5324:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return o.default[e.type](e,t,r)};var n,o=(n=r(532))&&n.__esModule?n:{default:n}},5888:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},5260:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},3662:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},5961:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0;e.children.length>0&&(r=e.children[0].data);var i=(0,o.default)(e.attribs,t);return n.default.createElement("style",i,r)};var n=i(r(9196)),o=i(r(8024));function i(e){return e&&e.__esModule?e:{default:e}}},2593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var l=e.name;if(!(0,s.default)(l))return null;var c=(0,i.default)(e.attribs,t),u=null;return-1===a.default.indexOf(l)&&(u=(0,o.default)(e.children,r)),n.default.createElement(l,c,u)};var n=l(r(9196)),o=l(r(6630)),i=l(r(8024)),a=l(r(3662)),s=l(r(2536));function l(e){return e&&e.__esModule?e:{default:e}}},3180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},2608:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},532:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var o=r(6842),i=c(r(3180)),a=c(r(2593)),s=c(r(5961)),l=c(r(2608));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(u(n={},o.ElementType.Text,i.default),u(n,o.ElementType.Tag,a.default),u(n,o.ElementType.Style,s.default),u(n,o.ElementType.Directive,l.default),u(n,o.ElementType.Comment,l.default),u(n,o.ElementType.Script,l.default),u(n,o.ElementType.CDATA,l.default),u(n,o.ElementType.Doctype,l.default),n)},653:function(e,t,r){"use strict";r(6630),r(5324),r(6842);var n,o=(n=r(4887))&&n.__esModule?n:{default:n};t.ZP=o.default},6630:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.filter((function(e){return!(0,n.default)(e)})).map((function(e,r){var n=void 0;return"function"!=typeof t||null!==(n=t(e,r))&&!n?(0,o.default)(e,r,t):n}))};var n=i(r(2057)),o=i(r(5324));function i(e){return e&&e.__esModule?e:{default:e}}},8024: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,t){var r=n({},(0,o.default)(e),{key:t});return"string"==typeof r.style||r.style instanceof String?r.style=(0,i.default)(r.style):delete r.style,r};var o=a(r(4381)),i=a(r(3083));function a(e){return e&&e.__esModule?e:{default:e}}},4381:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,i.default)(e)})).reduce((function(t,r){var i=r.toLowerCase(),a=o.default[i]||i;return t[a]=function(e,t){return n.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e),t}(a,e[r]),t}),{})};var n=a(r(5888)),o=a(r(5260)),i=a(r(2536));function a(e){return e&&e.__esModule?e:{default:e}}},3083:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(e){n=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(n)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce((function(e,t){var n=t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),o=r(n,2),i=o[0],a=o[1];return void 0===a||(e[i=i.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=a),e}),{})}},2057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},2536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.hasOwnProperty(e)||(n[e]=r.test(e)),n[e]};var r=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,n={}},8472:function(e,t,r){var n=r(5025),o=r(713),i=r(5287);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",o=0;o<e.length;o++){var i=e[o];"root"===i.type?r+=l(i.children,t):n.isTag(i)?r+=u(i,t):i.type===n.Directive?r+=p(i):i.type===n.Comment?r+=d(i):i.type===n.CDATA?r+=h(i):r+=f(i,t)}return r},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function u(e,t){"foreign"===t.xmlMode&&(e.name=i.elementNames[e.name]||e.name,e.parent&&c.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?o.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),s[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function p(e){return"<"+e.data+">"}function f(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=o.encodeXML(r)),r}function h(e){return"<![CDATA["+e.children[0].data+"]]>"}function d(e){return"\x3c!--"+e.data+"--\x3e"}},5025:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},2753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(4655)),i=n(r(9293)),a=n(r(9048)),s=n(r(5083)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=p(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(a.default),t.decodeHTMLStrict=c(o.default);var u=function(e,t){return e<t?1:-1};function p(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(i.default).sort(u),t=Object.keys(o.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=p(o.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,l)}}()},5083:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(615)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(e))}},6437:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=u(n(r(9048)).default),i=p(o);t.encodeXML=b(o);var a,s,l=u(n(r(4655)).default),c=p(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function p(e){for(var t=[],r=[],n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];1===i.length?t.push("\\"+i):r.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||t.splice(a,l,t[a]+"-"+t[s])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,s=c,function(e){return e.replace(s,(function(e){return a[e]})).replace(f,d)}),t.encodeNonAsciiHTML=b(l);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function d(e){return"&#x"+(e.length>1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(i.source+"|"+f.source,"g");function b(e){return function(t){return t.replace(g,(function(t){return e[t]||d(t)}))}}t.escape=function(e){return e.replace(g,d)},t.escapeUTF8=function(e){return e.replace(i,d)}},713:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(2753),o=r(6437);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=r(6437);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(2753);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},1777:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},6034:function(e,t,r){var n=r(1777),o=/\s+/g,i=r(2273),a=r(888);function s(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)},s.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(o," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(o," "):t.data+=e;else{r&&(e=e.replace(o," "));var i=this._createDomElement({data:e,type:n.Text});this._addDomElement(i)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=s},888:function(e,t,r){var n=r(2273),o=e.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},2273:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var n=r[e];Object.defineProperty(t,e,{get:function(){return this[n]||null},set:function(e){return this[n]=e,e}})}))},5993:function(e,t,r){var n=e.exports;[r(6541),r(7310),r(8399),r(1731),r(3942),r(9259)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},9259:function(e,t){t.removeSubsets=function(e){for(var t,r,n,o=e.length;--o>-1;){for(t=r=e[o],e[o]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(o,1);break}r=r.parent}n&&(e[o]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,o,i,a,s,l=[],c=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)c.unshift(r),r=r.parent;for(s=0;l[s]===c[s];)s++;return 0===s?1:(o=(n=l[s-1]).children,i=l[s],a=c[s],o.indexOf(i)>o.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=r(e,t);return 2&n?-1:4&n?1:0})),e}},3942:function(e,t,r){var n=r(1777),o=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function s(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var o=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===o.length?[]:this.filter(o.reduce(s),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(i.tag_type(e),t,r,n)}},8399:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},1731:function(e,t,r){var n=r(1777).isTag;function o(e,t,r,n){for(var i,a=[],s=0,l=t.length;s<l&&!(e(t[s])&&(a.push(t[s]),--n<=0))&&(i=t[s].children,!(r&&i&&i.length>0&&(i=o(e,i,r,n),a=a.concat(i),(n-=i.length)<=0)));s++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),o(e,t,!1!==r,n)},find:o,findOneChild:function(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){for(var o=null,i=0,a=r.length;i<a&&!o;i++)n(r[i])&&(t(r[i])?o=r[i]:r[i].children.length>0&&(o=e(t,r[i].children)));return o},existsOne:function e(t,r){for(var o=0,i=r.length;o<i;o++)if(n(r[o])&&(t(r[o])||r[o].children.length>0&&e(t,r[o].children)))return!0;return!1},findAll:function(e,t){for(var r=[],o=t.slice();o.length;){var i=o.shift();n(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),e(i)&&r.push(i))}return r}}},6541:function(e,t,r){var n=r(1777),o=r(8472),i=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},7310:function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},2517:function(e,t,r){var n=r(362);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},3497:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var o=r(6842).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},4235:function(e,t,r){var n=r(6034),o=r(5993);function i(e,t){this.init(e,t)}function a(e,t){return o.getElementsByTagName(e,t,!0)}function s(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return o.getText(o.getElementsByTagName(e,t,r,1)).trim()}function c(e,t,r,n,o){var i=l(r,n,o);i&&(e[t]=i)}r(5717)(i,n),i.prototype.init=n;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},o=s(u,this.dom);o&&("feed"===o.name?(t=o.children,r.type="atom",c(r,"id","id",t),c(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),c(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),c(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return c(r,"id","id",e=e.children),c(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=s("channel",o.children).children,r.type=o.name.substr(0,3),r.id="",c(r,"title","title",t),c(r,"link","link",t),c(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),c(r,"author","managingEditor",t,!0),r.items=a("item",o.children).map((function(e){var t,r={};return c(r,"id","guid",e=e.children),c(r,"title","title",e),c(r,"link","link",e),c(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=i},8134:function(e,t,r){var n=r(8083),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(5717)(u,r(7187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in s?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in s||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(c),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},1802:function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var o=r(6842).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},287:function(e,t,r){e.exports=o;var n=r(7214);function o(e){n.call(this,new i(this),e)}function i(e){this.scope=e}r(5717)(o,n),o.prototype.readable=!0;var a=r(6842).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},8083:function(e,t,r){e.exports=be;var n=r(2517),o=r(5567),i=r(213),a=r(4143),s=0,l=s++,c=s++,u=s++,p=s++,f=s++,h=s++,d=s++,g=s++,b=s++,m=s++,v=s++,y=s++,w=s++,x=s++,_=s++,E=s++,S=s++,C=s++,k=s++,A=s++,O=s++,T=s++,L=s++,R=s++,N=s++,j=s++,D=s++,q=s++,B=s++,P=s++,M=s++,F=s++,U=s++,H=s++,I=s++,z=s++,V=s++,G=s++,Z=s++,W=s++,$=s++,X=s++,Y=s++,J=s++,K=s++,Q=s++,ee=s++,te=s++,re=s++,ne=s++,oe=s++,ie=s++,ae=s++,se=s++,le=s++,ce=0,ue=ce++,pe=ce++,fe=ce++;function he(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function de(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(o){o===n||o===e?this._state=t:(this._state=r,this._index--)}}function ge(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=u,this._index--)}}function be(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}be.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=oe,this._sectionStart=this._index)},be.prototype._stateBeforeTagName=function(e){"/"===e?this._state=f:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||he(e)?this._state=l:"!"===e?(this._state=_,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:M,this._sectionStart=this._index)},be.prototype._stateInTagName=function(e){("/"===e||">"===e||he(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},be.prototype._stateBeforeCloseingTagName=function(e){he(e)||(">"===e?this._state=l:this._special!==ue?"s"===e||"S"===e?this._state=F:(this._state=l,this._index--):(this._state=h,this._sectionStart=this._index))},be.prototype._stateInCloseingTagName=function(e){(">"===e||he(e))&&(this._emitToken("onclosetag"),this._state=d,this._index--)},be.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},be.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:he(e)||(this._state=b,this._sectionStart=this._index)},be.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):he(e)||(this._state=g,this._index--)},be.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||he(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=m,this._index--)},be.prototype._stateAfterAttributeName=function(e){"="===e?this._state=v:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):he(e)||(this._cbs.onattribend(),this._state=b,this._sectionStart=this._index)},be.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=y,this._sectionStart=this._index+1):"'"===e?(this._state=w,this._sectionStart=this._index+1):he(e)||(this._state=x,this._sectionStart=this._index,this._index--)},be.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},be.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},be.prototype._stateInAttributeValueNoQuotes=function(e){he(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},be.prototype._stateBeforeDeclaration=function(e){this._state="["===e?T:"-"===e?C:E},be.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},be.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},be.prototype._stateBeforeComment=function(e){"-"===e?(this._state=k,this._sectionStart=this._index+1):this._state=E},be.prototype._stateInComment=function(e){"-"===e&&(this._state=A)},be.prototype._stateAfterComment1=function(e){this._state="-"===e?O:k},be.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=k)},be.prototype._stateBeforeCdata1=de("C",L,E),be.prototype._stateBeforeCdata2=de("D",R,E),be.prototype._stateBeforeCdata3=de("A",N,E),be.prototype._stateBeforeCdata4=de("T",j,E),be.prototype._stateBeforeCdata5=de("A",D,E),be.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=q,this._sectionStart=this._index+1):(this._state=E,this._index--)},be.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},be.prototype._stateAfterCdata1=function(e){this._state="]"===e?P:q},be.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=q)},be.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=Y:(this._state=u,this._index--)},be.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==fe||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=G},be.prototype._stateBeforeScript1=ge("R",H),be.prototype._stateBeforeScript2=ge("I",I),be.prototype._stateBeforeScript3=ge("P",z),be.prototype._stateBeforeScript4=ge("T",V),be.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||he(e))&&(this._special=pe),this._state=u,this._index--},be.prototype._stateAfterScript1=de("R",Z,l),be.prototype._stateAfterScript2=de("I",W,l),be.prototype._stateAfterScript3=de("P",$,l),be.prototype._stateAfterScript4=de("T",X,l),be.prototype._stateAfterScript5=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-6,this._index--):this._state=l},be.prototype._stateBeforeStyle1=ge("Y",J),be.prototype._stateBeforeStyle2=ge("L",K),be.prototype._stateBeforeStyle3=ge("E",Q),be.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||he(e))&&(this._special=fe),this._state=u,this._index--},be.prototype._stateAfterStyle1=de("Y",te,l),be.prototype._stateAfterStyle2=de("L",re,l),be.prototype._stateAfterStyle3=de("E",ne,l),be.prototype._stateAfterStyle4=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-5,this._index--):this._state=l},be.prototype._stateBeforeEntity=de("#",ie,ae),be.prototype._stateBeforeNumericEntity=de("X",le,se),be.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:o;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},be.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},be.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},be.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var o=this._buffer.substring(r,this._index),i=parseInt(o,t);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},be.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},be.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},be.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},be.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},be.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===c?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===f?this._stateBeforeCloseingTagName(e):this._state===h?this._stateInCloseingTagName(e):this._state===d?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===b?this._stateInAttributeName(e):this._state===m?this._stateAfterAttributeName(e):this._state===v?this._stateBeforeAttributeValue(e):this._state===y?this._stateInAttributeValueDoubleQuotes(e):this._state===w?this._stateInAttributeValueSingleQuotes(e):this._state===x?this._stateInAttributeValueNoQuotes(e):this._state===_?this._stateBeforeDeclaration(e):this._state===E?this._stateInDeclaration(e):this._state===S?this._stateInProcessingInstruction(e):this._state===C?this._stateBeforeComment(e):this._state===k?this._stateInComment(e):this._state===A?this._stateAfterComment1(e):this._state===O?this._stateAfterComment2(e):this._state===T?this._stateBeforeCdata1(e):this._state===L?this._stateBeforeCdata2(e):this._state===R?this._stateBeforeCdata3(e):this._state===N?this._stateBeforeCdata4(e):this._state===j?this._stateBeforeCdata5(e):this._state===D?this._stateBeforeCdata6(e):this._state===q?this._stateInCdata(e):this._state===B?this._stateAfterCdata1(e):this._state===P?this._stateAfterCdata2(e):this._state===M?this._stateBeforeSpecial(e):this._state===F?this._stateBeforeSpecialEnd(e):this._state===U?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===I?this._stateBeforeScript3(e):this._state===z?this._stateBeforeScript4(e):this._state===V?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===Z?this._stateAfterScript2(e):this._state===W?this._stateAfterScript3(e):this._state===$?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Y?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===K?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===oe?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===se?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},be.prototype.pause=function(){this._running=!1},be.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},be.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},be.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},be.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===q||this._state===B||this._state===P?this._cbs.oncdata(e):this._state===k||this._state===A||this._state===O?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==se||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==g&&this._state!==v&&this._state!==m&&this._state!==b&&this._state!==w&&this._state!==y&&this._state!==x&&this._state!==h&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},be.prototype.reset=function(){be.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},be.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},be.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},be.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},be.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},7214:function(e,t,r){e.exports=s;var n=r(8134),o=r(9557).Writable,i=r(2553).s,a=r(8764).Buffer;function s(e,t){var r=this._parser=new n(e,t),a=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(5717)(s,o),s.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},6842:function(e,t,r){var n=r(8134),o=r(6034);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(8083),ElementType:r(1777),DomHandler:o,get FeedHandler(){return i("FeedHandler",r(4235))},get Stream(){return i("Stream",r(287))},get WritableStream(){return i("WritableStream",r(7214))},get ProxyHandler(){return i("ProxyHandler",r(1802))},get DomUtils(){return i("DomUtils",r(5993))},get CollectingHandler(){return i("CollectingHandler",r(3497))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new o(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var o=new e.exports.FeedHandler(r);return new n(o,r).end(t),o.dom},createDomStream:function(e,t,r){var i=new o(e,t,r);return new n(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},9921: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,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,b=r?Symbol.for("react.lazy"):60116,m=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case b:case g:case l:return e;default:return t}}case o:return t}}}function _(e){return x(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=b,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||x(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===b},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===b||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===m)},t.typeOf=x},9864:function(e,t,r){"use strict";e.exports=r(9921)},4754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,o=(n=r(2525))&&n.__esModule?n:{default:n},i=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},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){return t[e]||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,(function(e,r){var n={};(0,o.default)(e,(function(e,t){var r=a[t];r?n=i({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=s},6002:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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}function l(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)}var c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,l,c;a(this,n);for(var u=arguments.length,p=Array(u),f=0;f<u;f++)p[f]=arguments[f];return l=c=s(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(p))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return i.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},i.default.createElement(e,o({},c.props,c.state)))},s(c,l)}return l(n,r),n}(i.default.Component)};t.default=c},1765:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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}function l(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)}var c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,l,c;a(this,n);for(var u=arguments.length,p=Array(u),f=0;f<u;f++)p[f]=arguments[f];return l=c=s(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(p))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return i.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},i.default.createElement(e,o({},c.props,c.state)))},s(c,l)}return l(n,r),n}(i.default.Component)};t.default=c},4147:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=s(r(7037)),o=s(r(2525)),i=s(r(8630)),a=s(r(5161));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=l},9941:function(e,t,r){"use strict";t.tz=void 0;var n=c(r(4147)),o=c(r(8556)),i=c(r(4754)),a=c(r(1765)),s=c(r(6002)),l=c(r(7742));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.tz=a.default,s.default,l.default;t.ZP=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];var s=(0,n.default)(r),l=(0,o.default)(e,s);return(0,i.default)(l)}},7742:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},8556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=a(r(2525)),o=a(r(361)),i=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 a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,n.default)(o,(function(e,t){r[t]||(r[t]={}),r[t]=i({},r[t],o[t])})),t})),r};t.default=s},9509:function(e,t,r){var n=r(8764),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},2553:function(e,t,r){"use strict";var n=r(9509).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=a(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=a(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=a(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},7621:function(e,t,r){var n;!function(o){var i=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,p=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t,r,n,s={r:0,g:0,b:0},l=1,p=null,f=null,h=null,d=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,r=!1;if(L[e])e=L[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=z.hex8.exec(e))?{r:q(t[1]),g:q(t[2]),b:q(t[3]),a:F(t[4]),format:r?"name":"hex8"}:(t=z.hex6.exec(e))?{r:q(t[1]),g:q(t[2]),b:q(t[3]),format:r?"name":"hex"}:(t=z.hex4.exec(e))?{r:q(t[1]+""+t[1]),g:q(t[2]+""+t[2]),b:q(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:q(t[1]+""+t[1]),g:q(t[2]+""+t[2]),b:q(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(t=e.r,r=e.g,n=e.b,s={r:255*j(t,255),g:255*j(r,255),b:255*j(n,255)},d=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(p=P(e.s),f=P(e.v),s=function(e,t,r){e=6*j(e,360),t=j(t,100),r=j(r,100);var n=o.floor(e),i=e-n,a=r*(1-t),s=r*(1-i*t),l=r*(1-(1-i)*t),c=n%6;return{r:255*[r,s,a,a,l,r][c],g:255*[l,r,r,s,a,a][c],b:255*[a,a,l,r,r,s][c]}}(e.h,p,f),d=!0,g="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(p=P(e.s),h=P(e.l),s=function(e,t,r){var n,o,i;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=j(e,360),t=j(t,100),r=j(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(e.h,p,h),d=!0,g="hsl"),e.hasOwnProperty("a")&&(l=e.a)),l=N(l),{ok:d,format:e.format||g,r:c(255,u(s.r,0)),g:c(255,u(s.g,0)),b:c(255,u(s.b,0)),a:l}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,i=u(e,t,r),a=c(e,t,r),s=(i+a)/2;if(i==a)n=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,l:s}}function d(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,i=u(e,t,r),a=c(e,t,r),s=i,l=i-a;if(o=0===i?0:l/i,i==a)n=0;else{switch(i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,v:s}}function g(e,t,r,n){var o=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function b(e,t,r,n){return[B(M(n)),B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16))].join("")}function m(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s-=t/100,r.s=D(r.s),f(r)}function v(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s+=t/100,r.s=D(r.s),f(r)}function y(e){return f(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l+=t/100,r.l=D(r.l),f(r)}function x(e,t){t=0===t?0:t||10;var r=f(e).toRgb();return r.r=u(0,c(255,r.r-l(-t/100*255))),r.g=u(0,c(255,r.g-l(-t/100*255))),r.b=u(0,c(255,r.b-l(-t/100*255))),f(r)}function _(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l-=t/100,r.l=D(r.l),f(r)}function E(e,t){var r=f(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,f(r)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+120)%360,s:t.s,l:t.l}),f({h:(r+240)%360,s:t.s,l:t.l})]}function k(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+90)%360,s:t.s,l:t.l}),f({h:(r+180)%360,s:t.s,l:t.l}),f({h:(r+270)%360,s:t.s,l:t.l})]}function A(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+72)%360,s:t.s,l:t.l}),f({h:(r+216)%360,s:t.s,l:t.l})]}function O(e,t,r){t=t||6,r=r||30;var n=f(e).toHsl(),o=360/r,i=[f(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(f(n));return i}function T(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(f({h:n,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=N(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var i=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16)),B(M(n))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*j(this._r,255))+"%",g:l(100*j(this._g,255))+"%",b:l(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%)":"rgba("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(R[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+b(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);r="#"+b(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(m,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),o=f(t).toRgb(),i=r/100;return f({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,o,i,a,s,l=f.readability(e,t);switch(o=!1,(i=r,"AA"!==(a=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(i.size||"small").toLowerCase())&&"large"!==s&&(s="small"),n={level:a,size:s}).level+n.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},f.mostReadable=function(e,t,r){var n,o,i,a,s=null,l=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var c=0;c<t.length;c++)(n=f.readability(e,t[c]))>l&&(l=n,s=f(t[c]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var L=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},R=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(L);function N(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function D(e){return c(1,u(0,e))}function q(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return q(e)/255}var U,H,I,z=(H="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",I="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},3450:function(e,t,r){"use strict";e.exports=r.p+"images/logo.46bd2419.png"},9196:function(e){"use strict";e.exports=window.React},9557:function(){},5287:function(e){"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},615:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},4655:function(e){"use strict";e.exports=JSON.parse('{"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":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","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":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","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":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","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":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","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":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","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":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","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":"▫","emsp13":" ","emsp14":" ","emsp":" ","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":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","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","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","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":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","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":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","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":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","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":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","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":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","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":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","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":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","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":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","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":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","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":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","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":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","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":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","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":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","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":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","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":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","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":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","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":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","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":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","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":""}')},9293:function(e){"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},9048:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},362:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},5567:function(e){"use strict";e.exports=JSON.parse('{"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":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","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":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","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":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","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":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","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":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","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":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","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":"▫","emsp13":" ","emsp14":" ","emsp":" ","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":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","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","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","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":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","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":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","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":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","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":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","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":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","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":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","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":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","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":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","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":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","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":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","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":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","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":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","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":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","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":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","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":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","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":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","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":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","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":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","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":""}')},213:function(e){"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},4143:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e}(),function(){"use strict";var e=window.wp.element,t=r(9196),n=r.n(t),o=window.ReactDOM,i=r.n(o);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function l(){return 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},l.apply(this,arguments)}function c(e){return"/"===e.charAt(0)}function u(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}function p(e,t){if(!e)throw new Error("Invariant failed")}function f(e){return"/"===e.charAt(0)?e:"/"+e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function g(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 b(e,t,r,n){var o;"string"==typeof e?(o=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),o.state=t):(void 0===(o=l({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&c(e),a=t&&c(t),s=i||a;if(e&&c(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";if(o.length){var l=o[o.length-1];r="."===l||".."===l||""===l}else r=!1;for(var p=0,f=o.length;f>=0;f--){var h=o[f];"."===h?u(o,f):".."===h?(u(o,f),p++):p&&(u(o,f),p--)}if(!s)for(;p--;p)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var d=o.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d}(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o}function m(){var e=null,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 v=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function _(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),v||p(!1);var t,r=window.history,n=(-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,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,c=i.getUserConfirmation,u=void 0===c?y:c,E=i.keyLength,S=void 0===E?6:E,C=e.basename?d(f(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return C&&(i=h(i,C)),b(i,n,r)}function A(){return Math.random().toString(36).substr(2,S)}var O=m();function T(e){l(H,e),H.length=r.length,O.notifyListeners(H.location,H.action)}function L(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(k(e.state))}function R(){j(k(_()))}var N=!1;function j(e){N?(N=!1,T()):O.confirmTransitionTo(e,"POP",u,(function(t){t?T({action:"POP",location:e}):function(e){var t=H.location,r=q.indexOf(t.key);-1===r&&(r=0);var n=q.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(N=!0,P(o))}(e)}))}var D=k(_()),q=[D.key];function B(e){return C+g(e)}function P(e){r.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?(window.addEventListener(w,L),o&&window.addEventListener(x,R)):0===M&&(window.removeEventListener(w,L),o&&window.removeEventListener(x,R))}var U=!1,H={length:r.length,action:"POP",location:D,createHref:B,push:function(e,t){var o="PUSH",i=b(e,t,A(),H.location);O.confirmTransitionTo(i,o,u,(function(e){if(e){var t=B(i),a=i.key,l=i.state;if(n)if(r.pushState({key:a,state:l},null,t),s)window.location.href=t;else{var c=q.indexOf(H.location.key),u=q.slice(0,c+1);u.push(i.key),q=u,T({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=b(e,t,A(),H.location);O.confirmTransitionTo(i,o,u,(function(e){if(e){var t=B(i),a=i.key,l=i.state;if(n)if(r.replaceState({key:a,state:l},null,t),s)window.location.replace(t);else{var c=q.indexOf(H.location.key);-1!==c&&(q[c]=i.key),T({action:o,location:i})}else window.location.replace(t)}}))},go:P,goBack:function(){P(-1)},goForward:function(){P(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=O.appendListener(e);return F(1),function(){F(-1),t()}}};return H}var S=r(5697),C=r.n(S),k=1073741823,A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:{};function O(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 T=n().createContext||function(e,r){var n,o,i,a="__create-react-context-"+((A[i="__global_unique_id__"]=(A[i]||0)+1)+"__"),l=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).emitter=O(t.props.value),t}s(t,e);var n=t.prototype;return n.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,n=this.props.value,o=e.value;((i=n)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?t=0:(t="function"==typeof r?r(n,o):k,0!=(t|=0)&&this.emitter.set(e.value,t))}var i,a},n.render=function(){return this.props.children},t}(t.Component);l.childContextTypes=((n={})[a]=C().object.isRequired,n);var c=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}s(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?k:t},n.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?k:e},n.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},n.getValue=function(){return this.context[a]?this.context[a].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(t.Component);return c.contextTypes=((o={})[a]=C().object,o),{Provider:l,Consumer:c}},L=T,R=r(4779),N=r.n(R);function j(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(9864),r(8679);var D=function(e){var t=L();return t.displayName=e,t},q=D("Router-History"),B=D("Router"),P=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}s(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(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return n().createElement(B.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},n().createElement(q.Provider,{children:this.props.children||null,value:this.props.history}))},t}(n().Component);n().Component,n().Component;var M={},F=0;n().Component,n().Component,n().Component;var U=n().useContext;var H=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=E(t.props),t}return s(t,e),t.prototype.render=function(){return n().createElement(P,{history:this.history,children:this.props.children})},t}(n().Component);n().Component;var I=function(e,t){return"function"==typeof e?e(t):e},z=function(e,t){return"string"==typeof e?b(e,null,null,t):e},V=function(e){return e},G=n().forwardRef;void 0===G&&(G=V);var Z=G((function(e,t){var r=e.innerRef,o=e.navigate,i=e.onClick,a=j(e,["innerRef","navigate","onClick"]),s=a.target,c=l({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),o())}});return c.ref=V!==G&&t||r,n().createElement("a",c)})),W=G((function(e,t){var r=e.component,o=void 0===r?Z:r,i=e.replace,a=e.to,s=e.innerRef,c=j(e,["component","replace","to","innerRef"]);return n().createElement(B.Consumer,null,(function(e){e||p(!1);var r=e.history,u=z(I(a,e.location),e.location),f=u?r.createHref(u):"",h=l({},c,{href:f,navigate:function(){var t=I(a,e.location),n=g(e.location)===g(z(t));(i||n?r.replace:r.push)(t)}});return V!==G?h.ref=t||s:h.innerRef=s,n().createElement(o,h)}))})),$=function(e){return e},X=n().forwardRef;void 0===X&&(X=$),X((function(e,t){var r=e["aria-current"],o=void 0===r?"page":r,i=e.activeClassName,a=void 0===i?"active":i,s=e.activeStyle,c=e.className,u=e.exact,f=e.isActive,h=e.location,d=e.sensitive,g=e.strict,b=e.style,m=e.to,v=e.innerRef,y=j(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return n().createElement(B.Consumer,null,(function(e){e||p(!1);var r=h||e.location,i=z(I(m,r),r),w=i.pathname,x=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=x?function(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,s=void 0!==a&&a,l=r.sensitive,c=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=M[r]||(M[r]={});if(n[e])return n[e];var o=[],i={regexp:N()(e,o,t),keys:o};return F<1e4&&(n[e]=i,F++),i}(r,{end:i,strict:s,sensitive:c}),o=n.regexp,a=n.keys,l=o.exec(e);if(!l)return null;var u=l[0],p=l.slice(1),f=e===u;return i&&!f?null:{path:r,url:"/"===r&&""===u?"/":u,isExact:f,params:a.reduce((function(e,t,r){return e[t.name]=p[r],e}),{})}}),null)}(r.pathname,{path:x,exact:u,sensitive:d,strict:g}):null,E=!!(f?f(_,r):_),S="function"==typeof c?c(E):c,C="function"==typeof b?b(E):b;E&&(S=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(" ")}(S,a),C=l({},C,s));var k=l({"aria-current":E&&o||null,className:S,style:C,to:i},y);return $!==X?k.ref=t||v:k.innerRef=v,n().createElement(W,k)}))}));const Y=cfvsw_settings;var J,K,Q=window.wp.i18n;function ee(){return ee=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},ee.apply(this,arguments)}function te(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}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}function ne(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return re(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)?re(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function oe(e,t){if(e in t){for(var r=t[e],n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return"function"==typeof r?r.apply(void 0,o):r}var a=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map((function(e){return'"'+e+'"'})).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(a,oe),a}function ie(e){var t=e.props,r=e.slot,n=e.defaultTag,o=e.features,i=e.visible,a=void 0===i||i,s=e.name;if(a)return ae(t,r,n,s);var l=null!=o?o:J.None;if(l&J.Static){var c=t.static,u=void 0!==c&&c,p=te(t,["static"]);if(u)return ae(p,r,n,s)}if(l&J.RenderStrategy){var f,h=t.unmount,d=void 0===h||h,g=te(t,["unmount"]);return oe(d?K.Unmount:K.Hidden,((f={})[K.Unmount]=function(){return null},f[K.Hidden]=function(){return ae(ee({},g,{hidden:!0,style:{display:"none"}}),r,n,s)},f))}return ae(t,r,n,s)}function ae(e,r,n,o){var i;void 0===r&&(r={});var a=le(e,["unmount","static"]),s=a.as,l=void 0===s?n:s,c=a.children,u=a.refName,p=void 0===u?"ref":u,f=te(a,["as","children","refName"]),h=void 0!==e.ref?((i={})[p]=e.ref,i):{},d="function"==typeof c?c(r):c;if(f.className&&"function"==typeof f.className&&(f.className=f.className(r)),l===t.Fragment&&Object.keys(f).length>0){if(!(0,t.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <"+o+' /> is rendering a "Fragment".',"However we need to passthrough the following props:",Object.keys(f).map((function(e){return" - "+e})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((function(e){return" - "+e})).join("\n")].join("\n"));return(0,t.cloneElement)(d,Object.assign({},function(e,t,r){for(var n,o=Object.assign({},e),i=function(){var r,i=n.value;void 0!==e[i]&&void 0!==t[i]&&Object.assign(o,((r={})[i]=function(r){r.defaultPrevented||e[i](r),r.defaultPrevented||t[i](r)},r))},a=ne(["onClick"]);!(n=a()).done;)i();return o}(function(e){var t=Object.assign({},e);for(var r in t)void 0===t[r]&&delete t[r];return t}(le(f,["ref"])),d.props),h))}return(0,t.createElement)(l,Object.assign({},le(f,["ref"]),l!==t.Fragment&&h),d)}function se(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function le(e,t){void 0===t&&(t=[]);for(var r,n=Object.assign({},e),o=ne(t);!(r=o()).done;){var i=r.value;i in n&&delete n[i]}return n}!function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"}(J||(J={})),function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"}(K||(K={}));var ce="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,ue={serverHandoffComplete:!1};function pe(){var e=(0,t.useState)(ue.serverHandoffComplete),r=e[0],n=e[1];return(0,t.useEffect)((function(){!0!==r&&n(!0)}),[r]),(0,t.useEffect)((function(){!1===ue.serverHandoffComplete&&(ue.serverHandoffComplete=!0)}),[]),r}var fe=0;function he(){return++fe}function de(){var e=pe(),r=(0,t.useState)(e?he:null),n=r[0],o=r[1];return ce((function(){null===n&&o(he())}),[n]),null!=n?""+n:void 0}var ge,be,me=(0,t.createContext)(null);function ve(){return(0,t.useContext)(me)}function ye(e){var t=e.value,r=e.children;return n().createElement(me.Provider,{value:t},r)}function we(){var e=[],t={requestAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=requestAnimationFrame.apply(void 0,arguments);t.add((function(){return cancelAnimationFrame(e)}))})),nextFrame:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.requestAnimationFrame((function(){t.requestAnimationFrame.apply(t,r)}))},setTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=setTimeout.apply(void 0,arguments);t.add((function(){return clearTimeout(e)}))})),add:function(t){e.push(t)},dispose:function(){for(var t,r=ne(e.splice(0));!(t=r()).done;){(0,t.value)()}}};return t}function xe(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e&&n.length>0&&(t=e.classList).add.apply(t,n)}function _e(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e&&n.length>0&&(t=e.classList).remove.apply(t,n)}function Ee(e,t,r,n,o,i){var a=we(),s=void 0!==i?function(e){var t={called:!1};return function(){if(!t.called)return t.called=!0,e.apply(void 0,arguments)}}(i):function(){};return _e.apply(void 0,[e].concat(o)),xe.apply(void 0,[e].concat(t,r)),a.nextFrame((function(){_e.apply(void 0,[e].concat(r)),xe.apply(void 0,[e].concat(n)),a.add(function(e,t){var r=we();if(!e)return r.dispose;var n=getComputedStyle(e),o=[n.transitionDuration,n.transitionDelay].map((function(e){var t=e.split(",").filter(Boolean).map((function(e){return e.includes("ms")?parseFloat(e):1e3*parseFloat(e)})).sort((function(e,t){return t-e}))[0];return void 0===t?0:t})),i=o[0],a=o[1];return 0!==i?r.setTimeout((function(){t(be.Finished)}),i+a):t(be.Finished),r.add((function(){return t(be.Cancelled)})),r.dispose}(e,(function(r){return _e.apply(void 0,[e].concat(n,t)),xe.apply(void 0,[e].concat(o)),s(r)})))})),a.add((function(){return _e.apply(void 0,[e].concat(t,r,n,o))})),a.add((function(){return s(be.Cancelled)})),a.dispose}function Se(e){return void 0===e&&(e=""),(0,t.useMemo)((function(){return e.split(" ").filter((function(e){return e.trim().length>1}))}),[e])}me.displayName="OpenClosedContext",function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(ge||(ge={})),function(e){e.Finished="finished",e.Cancelled="cancelled"}(be||(be={}));var Ce,ke=(0,t.createContext)(null);ke.displayName="TransitionContext",function(e){e.Visible="visible",e.Hidden="hidden"}(Ce||(Ce={}));var Ae=(0,t.createContext)(null);function Oe(e){return"children"in e?Oe(e.children):e.current.filter((function(e){return e.state===Ce.Visible})).length>0}function Te(e){var r=(0,t.useRef)(e),n=(0,t.useRef)([]),o=function(){var e=(0,t.useRef)(!1);return(0,t.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}();(0,t.useEffect)((function(){r.current=e}),[e]);var i=(0,t.useCallback)((function(e,t){var i;void 0===t&&(t=K.Hidden);var a=n.current.findIndex((function(t){return t.id===e}));-1!==a&&(oe(t,((i={})[K.Unmount]=function(){n.current.splice(a,1)},i[K.Hidden]=function(){n.current[a].state=Ce.Hidden},i)),!Oe(n)&&o.current&&(null==r.current||r.current()))}),[r,o,n]),a=(0,t.useCallback)((function(e){var t=n.current.find((function(t){return t.id===e}));return t?t.state!==Ce.Visible&&(t.state=Ce.Visible):n.current.push({id:e,state:Ce.Visible}),function(){return i(e,K.Unmount)}}),[n,i]);return(0,t.useMemo)((function(){return{children:n,register:a,unregister:i}}),[a,i,n])}function Le(){}Ae.displayName="NestingContext";var Re=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function Ne(e){for(var t,r={},n=ne(Re);!(t=n()).done;){var o,i=t.value;r[i]=null!=(o=e[i])?o:Le}return r}var je=J.RenderStrategy;function De(e){var r,o=e.beforeEnter,i=e.afterEnter,a=e.beforeLeave,s=e.afterLeave,l=e.enter,c=e.enterFrom,u=e.enterTo,p=e.entered,f=e.leave,h=e.leaveFrom,d=e.leaveTo,g=te(e,["beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"]),b=(0,t.useRef)(null),m=(0,t.useState)(Ce.Visible),v=m[0],y=m[1],w=g.unmount?K.Unmount:K.Hidden,x=function(){var e=(0,t.useContext)(ke);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),_=x.show,E=x.appear,S=x.initial,C=function(){var e=(0,t.useContext)(Ae);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),k=C.register,A=C.unregister,O=de(),T=(0,t.useRef)(!1),L=Te((function(){T.current||(y(Ce.Hidden),A(O),M.current.afterLeave())}));ce((function(){if(O)return k(O)}),[k,O]),ce((function(){var e;w===K.Hidden&&O&&(_&&v!==Ce.Visible?y(Ce.Visible):oe(v,((e={})[Ce.Hidden]=function(){return A(O)},e[Ce.Visible]=function(){return k(O)},e)))}),[v,O,k,A,_,w]);var R=Se(l),N=Se(c),j=Se(u),D=Se(p),q=Se(f),B=Se(h),P=Se(d),M=function(e){var r=(0,t.useRef)(Ne(e));return(0,t.useEffect)((function(){r.current=Ne(e)}),[e]),r}({beforeEnter:o,afterEnter:i,beforeLeave:a,afterLeave:s}),F=pe();(0,t.useEffect)((function(){if(F&&v===Ce.Visible&&null===b.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[b,v,F]);var U=S&&!E;ce((function(){var e=b.current;if(e&&!U)return T.current=!0,_&&M.current.beforeEnter(),_||M.current.beforeLeave(),_?Ee(e,R,N,j,D,(function(e){T.current=!1,e===be.Finished&&M.current.afterEnter()})):Ee(e,q,B,P,D,(function(e){T.current=!1,e===be.Finished&&(Oe(L)||(y(Ce.Hidden),A(O),M.current.afterLeave()))}))}),[M,O,T,A,L,b,U,_,R,N,j,q,B,P]);var H={ref:b},I=g;return n().createElement(Ae.Provider,{value:L},n().createElement(ye,{value:oe(v,(r={},r[Ce.Visible]=ge.Open,r[Ce.Hidden]=ge.Closed,r))},ie({props:ee({},I,H),defaultTag:"div",features:je,visible:v===Ce.Visible,name:"Transition.Child"})))}function qe(e){var r,o=e.show,i=e.appear,a=void 0!==i&&i,s=e.unmount,l=te(e,["show","appear","unmount"]),c=ve();if(void 0===o&&null!==c&&(o=oe(c,((r={})[ge.Open]=!0,r[ge.Closed]=!1,r))),![!0,!1].includes(o))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");var u=(0,t.useState)(o?Ce.Visible:Ce.Hidden),p=u[0],f=u[1],h=Te((function(){f(Ce.Hidden)})),d=function(){var e=(0,t.useRef)(!0);return(0,t.useEffect)((function(){e.current=!1}),[]),e.current}(),g=(0,t.useMemo)((function(){return{show:o,appear:a||!d,initial:d}}),[o,a,d]);(0,t.useEffect)((function(){o?f(Ce.Visible):Oe(h)||f(Ce.Hidden)}),[o,h]);var b={unmount:s};return n().createElement(Ae.Provider,{value:h},n().createElement(ke.Provider,{value:g},ie({props:ee({},b,{as:t.Fragment,children:n().createElement(De,Object.assign({},b,l))}),defaultTag:t.Fragment,features:je,visible:p===Ce.Visible,name:"Transition"})))}qe.Child=function(e){var r=null!==(0,t.useContext)(ke),o=null!==ve();return!r&&o?n().createElement(qe,Object.assign({},e)):n().createElement(De,Object.assign({},e))},qe.Root=qe;var Be=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))},Pe=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))},Me=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),t.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))},Fe=function(r){const{status:n,setStatus:o}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"fixed inset-10 z-10 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"},(0,e.createElement)("div",{className:"w-full flex flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(qe,{show:n,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},(0,e.createElement)(Be,{className:"h-6 w-6 text-green-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},(0,Q.__)("Successfully saved!","variation-swatches-woo"))),(0,e.createElement)("div",{className:"ml-4 flex-shrink-0 flex"},(0,e.createElement)("button",{className:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",onClick:e=>{e.preventDefault(),o(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Me,{className:"h-5 w-5","aria-hidden":"true"}))))))))))},Ue=r(3450);const He=[{name:(0,Q.__)("Settings","variation-swatches-woo"),path:"settings"}];var Ie,ze=function(t){const{processing:r,activePath:n}=t;return(0,e.createElement)("div",{className:"sticky top-0 md:top-[32px] 600px:top-[46px] right-0 bg-white -ml-5 shadow z-10"},(0,e.createElement)("div",{className:"relative flex justify-between h-16 max-w-3xl mx-auto px-8 lg:max-w-7xl"},(0,e.createElement)("div",{className:"flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"},(0,e.createElement)("span",{className:"flex-shrink-0 flex items-center"},(0,e.createElement)("img",{className:"lg:block h-[2rem] w-auto",src:Ue,alt:(0,Q.__)("Variation Swatches","variation-swatches-woo")})),(0,e.createElement)("div",{className:"sm:ml-8 sm:flex sm:space-x-8"},He.map(((t,r)=>(0,e.createElement)(W,{index:r,key:`?page=cfvsw_settings&path=${t.path}`,to:{pathname:"admin.php",search:"?page=cfvsw_settings"+(""!==t.path?"&path="+t.path:"")},className:n===t.path?" border-wpcolor hover:text-wphovercolor text-cfvswheadingcolor inline-flex items-center px-1 border-b-2 text-[0.940rem] font-medium focus:shadow-none":"border-transparent hover:border-wphovercolor hover:text-cfvswheadingcolor inline-flex items-center px-1 border-b-2 text-[0.940rem] font-medium focus:shadow-none"},t.name))))),(0,e.createElement)("div",{className:"absolute right-0 flex items-center pr-2 -mr-5 sm:static sm:inset-auto sm:ml-6 sm:pr-0"},(0,e.createElement)("button",{title:(0,Q.__)("Notification","variation-swatches-woo"),className:"w-10 h-10 mr-0 rounded-full flex items-center justify-center cursor-pointer bg-gray-300"},r&&(0,e.createElement)("svg",{className:"cfvsw-animate-spin-reverse h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})),!r&&(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M11 5.88218V19.2402C11 20.2121 10.2121 21 9.24018 21C8.49646 21 7.83302 20.5325 7.58288 19.8321L5.43647 13.6829M18 13C19.6569 13 21 11.6569 21 10C21 8.34315 19.6569 7 18 7M5.43647 13.6829C4.0043 13.0741 3 11.6543 3 10C3 7.79086 4.79086 6 6.99999 6H8.83208C12.9327 6 16.4569 4.7659 18 3L18 17C16.4569 15.2341 12.9327 14 8.83208 14L6.99998 14C6.44518 14 5.91677 13.887 5.43647 13.6829Z",stroke:"#111827",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))))},Ve={general:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})),global:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})),shop:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})),how:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"})),spinner:(0,e.createElement)("svg",{className:"animate-spin ml-2 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,e.createElement)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),style:(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"var(--ci-primary-color, currentColor)",d:"M19.946 3.846C17.849 1.85 15.032.75 12.013.75c-2.814 0-5.619.941-7.695 2.581C2.017 5.149.75 7.695.75 10.5c0 2.817.728 4.635 2.291 5.72 1.313.911 3.207 1.3 6.334 1.3h1.395A1.232 1.232 0 0 1 12 18.75v2.249a1.5 1.5 0 0 0 1.5 1.5h.002l4.254-.004a1.504 1.504 0 0 0 .923-.319c.456-.357 1.628-1.378 2.662-3.136 1.267-2.153 1.909-4.648 1.909-7.415 0-2.987-1.173-5.75-3.304-7.779Zm.102 14.434c-.905 1.537-1.906 2.412-2.294 2.715l-4.254.004V18.75a2.734 2.734 0 0 0-2.73-2.73H9.375c-2.798 0-4.436-.309-5.479-1.032-1.138-.791-1.646-2.175-1.646-4.488 0-5.164 4.964-8.25 9.763-8.25 5.46 0 9.737 4.118 9.737 9.375 0 2.496-.573 4.735-1.702 6.655Z",className:"ci-primary"}),(0,e.createElement)("path",{fill:"var(--ci-primary-color, currentColor)",d:"M6 6.75a2.625 2.625 0 1 0 2.625 2.625A2.628 2.628 0 0 0 6 6.75Zm0 3.75a1.125 1.125 0 1 1 1.125-1.125A1.126 1.126 0 0 1 6 10.5Zm5.25-7.125A2.625 2.625 0 1 0 13.875 6a2.628 2.628 0 0 0-2.625-2.625Zm0 3.75A1.125 1.125 0 1 1 12.375 6a1.126 1.126 0 0 1-1.125 1.125ZM16.875 6A2.625 2.625 0 1 0 19.5 8.625 2.628 2.628 0 0 0 16.875 6Zm0 3.75A1.125 1.125 0 1 1 18 8.625a1.126 1.126 0 0 1-1.125 1.125Zm.75 2.625A2.625 2.625 0 1 0 20.25 15a2.628 2.628 0 0 0-2.625-2.625Zm0 3.75A1.125 1.125 0 1 1 18.75 15a1.126 1.126 0 0 1-1.125 1.125Z",className:"ci-primary"})),"checked-circle":(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))};function Ge(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=(0,t.useRef)(r);return(0,t.useEffect)((function(){o.current=r}),[r]),(0,t.useCallback)((function(e){for(var t,r=ne(o.current);!(t=r()).done;){var n=t.value;null!=n&&("function"==typeof n?n(e):n.current=e)}}),[o])}function Ze(e){for(var t,r,n=e.parentElement,o=null;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(o=n),n=n.parentElement;var i=null!=(t=""===(null==(r=n)?void 0:r.getAttribute("disabled")))&&t;return(!i||!function(e){if(!e)return!1;for(var t=e.previousElementSibling;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(o))&&i}!function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"}(Ie||(Ie={}));var We=(0,t.createContext)(null);function $e(){var e=(0,t.useContext)(We);if(null===e){var r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,$e),r}return e}function Xe(e){var t;if(e.type)return e.type;var r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Ye(e,r){var n=(0,t.useState)((function(){return Xe(e)})),o=n[0],i=n[1];return ce((function(){i(Xe(e))}),[e.type,e.as]),ce((function(){o||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&i("button")}),[o,r]),o}var Je=(0,t.createContext)(null);function Ke(){var e=(0,t.useContext)(Je);if(null===e){var r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Ke),r}return e}var Qe=(0,t.createContext)(null);Qe.displayName="GroupContext";var et=t.Fragment;function tt(e){var r=e.checked,n=e.onChange,o=te(e,["checked","onChange"]),i="headlessui-switch-"+de(),a=(0,t.useContext)(Qe),s=(0,t.useRef)(null),l=Ge(s,null===a?null:a.setSwitch),c=(0,t.useCallback)((function(){return n(!r)}),[n,r]),u=(0,t.useCallback)((function(e){if(Ze(e.currentTarget))return e.preventDefault();e.preventDefault(),c()}),[c]),p=(0,t.useCallback)((function(e){e.key!==Ie.Tab&&e.preventDefault(),e.key===Ie.Space&&c()}),[c]),f=(0,t.useCallback)((function(e){return e.preventDefault()}),[]),h=(0,t.useMemo)((function(){return{checked:r}}),[r]);return ie({props:ee({},o,{id:i,ref:l,role:"switch",type:Ye(e,s),tabIndex:0,"aria-checked":r,"aria-labelledby":null==a?void 0:a.labelledby,"aria-describedby":null==a?void 0:a.describedby,onClick:u,onKeyUp:p,onKeyPress:f}),slot:h,defaultTag:"button",name:"Switch"})}tt.Group=function(e){var r=(0,t.useState)(null),o=r[0],i=r[1],a=function(){var e=(0,t.useState)([]),r=e[0],o=e[1];return[r.length>0?r.join(" "):void 0,(0,t.useMemo)((function(){return function(e){var r=(0,t.useCallback)((function(e){return o((function(t){return[].concat(t,[e])})),function(){return o((function(t){var r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))}}),[]),i=(0,t.useMemo)((function(){return{register:r,slot:e.slot,name:e.name,props:e.props}}),[r,e.slot,e.name,e.props]);return n().createElement(Je.Provider,{value:i},e.children)}}),[o])]}(),s=a[0],l=a[1],c=function(){var e=(0,t.useState)([]),r=e[0],o=e[1];return[r.length>0?r.join(" "):void 0,(0,t.useMemo)((function(){return function(e){var r=(0,t.useCallback)((function(e){return o((function(t){return[].concat(t,[e])})),function(){return o((function(t){var r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))}}),[]),i=(0,t.useMemo)((function(){return{register:r,slot:e.slot,name:e.name,props:e.props}}),[r,e.slot,e.name,e.props]);return n().createElement(We.Provider,{value:i},e.children)}}),[o])]}(),u=c[0],p=c[1],f=(0,t.useMemo)((function(){return{switch:o,setSwitch:i,labelledby:s,describedby:u}}),[o,i,s,u]);return n().createElement(p,{name:"Switch.Description"},n().createElement(l,{name:"Switch.Label",props:{onClick:function(){o&&(o.click(),o.focus({preventScroll:!0}))}}},n().createElement(Qe.Provider,{value:f},ie({props:e,defaultTag:et,name:"Switch.Group"}))))},tt.Label=function(e){var t=e.passive,r=void 0!==t&&t,n=te(e,["passive"]),o=Ke(),i="headlessui-label-"+de();ce((function(){return o.register(i)}),[i,o.register]);var a=ee({},o.props,{id:i}),s=ee({},n,a);return r&&delete s.onClick,ie({props:s,slot:o.slot||{},defaultTag:"label",name:o.name||"Label"})},tt.Description=function(e){var t=$e(),r="headlessui-description-"+de();ce((function(){return t.register(r)}),[r,t.register]);var n=e,o=ee({},t.props,{id:r});return ie({props:ee({},n,o),slot:t.slot||{},defaultTag:"p",name:t.name||"Description"})};const rt=n().createContext(),nt=()=>(0,t.useContext)(rt);var ot=window.lodash,it=function(t){const{children:r,title:n,description:o,badge:i,content:a}=t;return(0,e.createElement)("section",{className:"flex border-b border-solid border-slate-200 mr-8 mt-8 last:border-b-0"},(n||o)&&(0,e.createElement)("div",{className:"pr-16 pb-8 w-[78%]"},n&&(0,e.createElement)("h3",{className:"text-lg leading-6 font-medium text-gray-900"},n),o&&(0,e.createElement)("p",{className:"mt-[0.6rem] text-sm "},o,i&&(0,e.createElement)("span",{className:"inline-flex items-center ml-1 px-2.5 py-0.5 rounded-md text-xs font-medium bg-wpcolorfaded text-wpcolor"},i))),a&&(0,e.createElement)("div",{className:"pr-16 pb-8 w-full]"},r),!a&&r)};function at(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}var st,lt,ct,ut,pt,ft,ht,dt,gt=function(r){const{title:n,description:o,name:i,value:a}=r,[s,l]=nt(),[c,u]=(0,t.useState)(a),p=(0,t.useRef)((0,ot.debounce)((async e=>{l(e)}),500)).current;return(0,t.useEffect)((()=>()=>{p.cancel()}),[p]),(0,e.createElement)(it,{title:n,description:o},(0,e.createElement)("div",null,(0,e.createElement)(tt,{checked:c,value:c,name:i,onChange:()=>{!function(e){u(!e),"function"==typeof r.manageState&&r.manageState(!e);const t=s,n=i.split(/[\[\]]/);t[n[0]][n[1]]=!e,p({type:"CHANGE",data:t})}(c)},className:at(c?"bg-wpcolor":"bg-gray-200","relative inline-flex flex-shrink-0 h-5 w-[2.4rem] items-center border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none")},(0,e.createElement)("span",{className:"sr-only"}),(0,e.createElement)("span",{"aria-hidden":"true",className:at(c?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-3.5 w-3.5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))},bt=function(){const[t]=nt();return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(gt,{title:(0,Q.__)("Enable for Product page","variation-swatches-woo"),description:(0,Q.__)("Enable swatches for product page.","variation-swatches-woo"),name:"cfvsw_global[enable_swatches]",value:t.cfvsw_global.enable_swatches}),(0,e.createElement)(gt,{title:(0,Q.__)("Enable for Shop page","variation-swatches-woo"),description:(0,Q.__)("Enable swatches for shop / archieve page.","variation-swatches-woo"),name:"cfvsw_global[enable_swatches_shop]",value:t.cfvsw_global.enable_swatches_shop}),(0,e.createElement)(gt,{title:(0,Q.__)("Auto convert dropdown to label","variation-swatches-woo"),description:(0,Q.__)("Automatically convert dropdown to labels.","variation-swatches-woo"),name:"cfvsw_global[auto_convert]",value:t.cfvsw_global.auto_convert}))},mt=function(r){const{children:n,heading:o}=r,[i,a]=(0,t.useState)(!0);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"flex cursor-pointer justify-between border-t border-b -ml-0 -mr-0 sm:-ml-6 sm:-mr-6 lg:-ml-8 lg:-mr-0 border-gray-200 bg-wpcolorfaded pl-8 pr-5 py-2 text-sm font-medium text-gray-500",onClick:()=>a(!i)},(0,e.createElement)("h3",{className:"text-cfvswheadingcolor"},o),(0,e.createElement)("span",{className:"flex items-center"},i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})),!i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"})))),(0,e.createElement)("div",null,i&&n))},vt=function(r){const[n,o]=(0,t.useState)(r.val),[i,a]=nt(),s=(0,t.useRef)((0,ot.debounce)((async e=>{a(e)}),500)).current;return(0,t.useEffect)((()=>()=>{s.cancel()}),[s]),(0,e.createElement)("div",{className:" flex justify-end"},(0,e.createElement)("input",{type:"number",name:r.name,min:r.min||0,value:n,onChange:function(e){o(e.target.value);const t=i,n=r.name.split(/[\[\]]/);t[n[0]][n[1]]=e.target.value,s({type:"CHANGE",data:t})},className:(r.badge?"w-24 ":"w-32 rounded-r-md")+"\n\t\t\t\tfocus:ring-wpcolor focus:border-wpcolor px-8 sm:text-sm border-gray-300 rounded-l-md inline-flex bg-white text-gray-500 appearance-none border-0 focus:outline-none focus:bg-white"}),r.badge&&(0,e.createElement)("span",{className:"inline-flex w-8 h-8 items-center px-2 rounded-r-md border border-l-0 border-gray-300 bg-white text-gray-500 sm:text-sm"},"px"))},yt=function(t){const{title:r,description:n,name:o,value:i,badge:a,min:s}=t;return(0,e.createElement)(it,{title:r,description:n,badge:a},(0,e.createElement)("div",{className:"cfvsw-input-field-wrapper"},(0,e.createElement)(vt,{name:o,val:i,badge:a,min:s})))},wt=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((function(e){return e+":not([tabindex='-1'])"})).join(",");function xt(){var e=(0,t.useState)(we)[0];return(0,t.useEffect)((function(){return function(){return e.dispose()}}),[e]),e}function _t(e,r){var n=(0,t.useState)(e),o=n[0],i=n[1],a=(0,t.useRef)(e);return ce((function(){a.current=e}),[e]),ce((function(){return i(a.current)}),[a,i].concat(r)),o}!function(e){e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll"}(st||(st={})),function(e){e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow"}(lt||(lt={})),function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"}(ct||(ct={})),function(e){e[e.Strict=0]="Strict",e[e.Loose=1]="Loose"}(ut||(ut={})),function(e){e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing"}(pt||(pt={})),function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(ht||(ht={})),function(e){e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.SetDisabled=2]="SetDisabled",e[e.SetOrientation=3]="SetOrientation",e[e.GoToOption=4]="GoToOption",e[e.Search=5]="Search",e[e.ClearSearch=6]="ClearSearch",e[e.RegisterOption=7]="RegisterOption",e[e.UnregisterOption=8]="UnregisterOption"}(dt||(dt={}));var Et=((ft={})[dt.CloseListbox]=function(e){return e.disabled||e.listboxState===ht.Closed?e:ee({},e,{activeOptionIndex:null,listboxState:ht.Closed})},ft[dt.OpenListbox]=function(e){return e.disabled||e.listboxState===ht.Open?e:ee({},e,{listboxState:ht.Open})},ft[dt.SetDisabled]=function(e,t){return e.disabled===t.disabled?e:ee({},e,{disabled:t.disabled})},ft[dt.SetOrientation]=function(e,t){return e.orientation===t.orientation?e:ee({},e,{orientation:t.orientation})},ft[dt.GoToOption]=function(e,t){if(e.disabled)return e;if(e.listboxState===ht.Closed)return e;var r=function(e,t){var r=t.resolveItems();if(r.length<=0)return null;var n=t.resolveActiveIndex(),o=null!=n?n:-1,i=function(){switch(e.focus){case pt.First:return r.findIndex((function(e){return!t.resolveDisabled(e)}));case pt.Previous:var n=r.slice().reverse().findIndex((function(e,r,n){return!(-1!==o&&n.length-r-1>=o||t.resolveDisabled(e))}));return-1===n?n:r.length-1-n;case pt.Next:return r.findIndex((function(e,r){return!(r<=o||t.resolveDisabled(e))}));case pt.Last:var i=r.slice().reverse().findIndex((function(e){return!t.resolveDisabled(e)}));return-1===i?i:r.length-1-i;case pt.Specific:return r.findIndex((function(r){return t.resolveId(r)===e.id}));case pt.Nothing:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}();return-1===i?n:i}(t,{resolveItems:function(){return e.options},resolveActiveIndex:function(){return e.activeOptionIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return""===e.searchQuery&&e.activeOptionIndex===r?e:ee({},e,{searchQuery:"",activeOptionIndex:r})},ft[dt.Search]=function(e,t){if(e.disabled)return e;if(e.listboxState===ht.Closed)return e;var r=e.searchQuery+t.value.toLowerCase(),n=e.options.findIndex((function(e){var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}));return-1===n||n===e.activeOptionIndex?ee({},e,{searchQuery:r}):ee({},e,{searchQuery:r,activeOptionIndex:n})},ft[dt.ClearSearch]=function(e){return e.disabled||e.listboxState===ht.Closed||""===e.searchQuery?e:ee({},e,{searchQuery:""})},ft[dt.RegisterOption]=function(e,t){return ee({},e,{options:[].concat(e.options,[{id:t.id,dataRef:t.dataRef}])})},ft[dt.UnregisterOption]=function(e,t){var r=e.options.slice(),n=null!==e.activeOptionIndex?r[e.activeOptionIndex]:null,o=r.findIndex((function(e){return e.id===t.id}));return-1!==o&&r.splice(o,1),ee({},e,{options:r,activeOptionIndex:o===e.activeOptionIndex||null===n?null:r.indexOf(n)})},ft),St=(0,t.createContext)(null);function Ct(e){var r=(0,t.useContext)(St);if(null===r){var n=new Error("<"+e+" /> is missing a parent <"+Ot.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,Ct),n}return r}function kt(e,t){return oe(t.type,Et,e,t)}St.displayName="ListboxContext";var At=t.Fragment;function Ot(e){var r,o,i,a,s,l=e.value,c=e.onChange,u=e.disabled,p=void 0!==u&&u,f=e.horizontal,h=void 0!==f&&f,d=te(e,["value","onChange","disabled","horizontal"]),g=h?"horizontal":"vertical",b=(0,t.useReducer)(kt,{listboxState:ht.Closed,propsRef:{current:{value:l,onChange:c}},labelRef:(0,t.createRef)(),buttonRef:(0,t.createRef)(),optionsRef:(0,t.createRef)(),disabled:p,orientation:g,options:[],searchQuery:"",activeOptionIndex:null}),m=b[0],v=m.listboxState,y=m.propsRef,w=m.optionsRef,x=m.buttonRef,_=b[1];ce((function(){y.current.value=l}),[l,y]),ce((function(){y.current.onChange=c}),[c,y]),ce((function(){return _({type:dt.SetDisabled,disabled:p})}),[p]),ce((function(){return _({type:dt.SetOrientation,orientation:g})}),[g]),o="mousedown",i=function(e){var t,r,n,o=e.target;v===ht.Open&&((null==(t=x.current)?void 0:t.contains(o))||(null==(r=w.current)?void 0:r.contains(o))||(_({type:dt.CloseListbox}),function(e,t){var r;return void 0===t&&(t=ut.Strict),e!==document.body&&oe(t,((r={})[ut.Strict]=function(){return e.matches(wt)},r[ut.Loose]=function(){for(var t=e;null!==t;){if(t.matches(wt))return!0;t=t.parentElement}return!1},r))}(o,ut.Loose)||(e.preventDefault(),null==(n=x.current)||n.focus())))},(s=(0,t.useRef)(i)).current=i,(0,t.useEffect)((function(){function e(e){s.current.call(window,e)}return window.addEventListener(o,e,a),function(){return window.removeEventListener(o,e,a)}}),[o,a]);var E=(0,t.useMemo)((function(){return{open:v===ht.Open,disabled:p}}),[v,p]);return n().createElement(St.Provider,{value:b},n().createElement(ye,{value:oe(v,(r={},r[ht.Open]=ge.Open,r[ht.Closed]=ge.Closed,r))},ie({props:d,slot:E,defaultTag:At,name:"Listbox"})))}var Tt=se((function e(r,n){var o,i=Ct([Ot.name,e.name].join(".")),a=i[0],s=i[1],l=Ge(a.buttonRef,n),c="headlessui-listbox-button-"+de(),u=xt(),p=(0,t.useCallback)((function(e){switch(e.key){case Ie.Space:case Ie.Enter:case Ie.ArrowDown:e.preventDefault(),s({type:dt.OpenListbox}),u.nextFrame((function(){a.propsRef.current.value||s({type:dt.GoToOption,focus:pt.First})}));break;case Ie.ArrowUp:e.preventDefault(),s({type:dt.OpenListbox}),u.nextFrame((function(){a.propsRef.current.value||s({type:dt.GoToOption,focus:pt.Last})}))}}),[s,a,u]),f=(0,t.useCallback)((function(e){e.key===Ie.Space&&e.preventDefault()}),[]),h=(0,t.useCallback)((function(e){if(Ze(e.currentTarget))return e.preventDefault();a.listboxState===ht.Open?(s({type:dt.CloseListbox}),u.nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),s({type:dt.OpenListbox}))}),[s,u,a]),d=_t((function(){if(a.labelRef.current)return[a.labelRef.current.id,c].join(" ")}),[a.labelRef.current,c]),g=(0,t.useMemo)((function(){return{open:a.listboxState===ht.Open,disabled:a.disabled}}),[a]);return ie({props:ee({},r,{ref:l,id:c,type:Ye(r,a.buttonRef),"aria-haspopup":!0,"aria-controls":null==(o=a.optionsRef.current)?void 0:o.id,"aria-expanded":a.disabled?void 0:a.listboxState===ht.Open,"aria-labelledby":d,disabled:a.disabled,onKeyDown:p,onKeyUp:f,onClick:h}),slot:g,defaultTag:"button",name:"Listbox.Button"})})),Lt=J.RenderStrategy|J.Static,Rt=se((function e(r,n){var o,i=Ct([Ot.name,e.name].join(".")),a=i[0],s=i[1],l=Ge(a.optionsRef,n),c="headlessui-listbox-options-"+de(),u=xt(),p=xt(),f=ve(),h=null!==f?f===ge.Open:a.listboxState===ht.Open;ce((function(){var e=a.optionsRef.current;e&&a.listboxState===ht.Open&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[a.listboxState,a.optionsRef]);var d=(0,t.useCallback)((function(e){switch(p.dispose(),e.key){case Ie.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),s({type:dt.Search,value:e.key});case Ie.Enter:if(e.preventDefault(),e.stopPropagation(),s({type:dt.CloseListbox}),null!==a.activeOptionIndex){var t=a.options[a.activeOptionIndex].dataRef;a.propsRef.current.onChange(t.current.value)}we().nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case oe(a.orientation,{vertical:Ie.ArrowDown,horizontal:Ie.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s({type:dt.GoToOption,focus:pt.Next});case oe(a.orientation,{vertical:Ie.ArrowUp,horizontal:Ie.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s({type:dt.GoToOption,focus:pt.Previous});case Ie.Home:case Ie.PageUp:return e.preventDefault(),e.stopPropagation(),s({type:dt.GoToOption,focus:pt.First});case Ie.End:case Ie.PageDown:return e.preventDefault(),e.stopPropagation(),s({type:dt.GoToOption,focus:pt.Last});case Ie.Escape:return e.preventDefault(),e.stopPropagation(),s({type:dt.CloseListbox}),u.nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case Ie.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s({type:dt.Search,value:e.key}),p.setTimeout((function(){return s({type:dt.ClearSearch})}),350))}}),[u,s,p,a]),g=_t((function(){var e,t,r;return null!=(e=null==(t=a.labelRef.current)?void 0:t.id)?e:null==(r=a.buttonRef.current)?void 0:r.id}),[a.labelRef.current,a.buttonRef.current]),b=(0,t.useMemo)((function(){return{open:a.listboxState===ht.Open}}),[a]);return ie({props:ee({},r,{"aria-activedescendant":null===a.activeOptionIndex||null==(o=a.options[a.activeOptionIndex])?void 0:o.id,"aria-labelledby":g,"aria-orientation":a.orientation,id:c,onKeyDown:d,role:"listbox",tabIndex:0,ref:l}),slot:b,defaultTag:"ul",features:Lt,visible:h,name:"Listbox.Options"})}));Ot.Button=Tt,Ot.Label=function e(r){var n=Ct([Ot.name,e.name].join("."))[0],o="headlessui-listbox-label-"+de(),i=(0,t.useCallback)((function(){var e;return null==(e=n.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),[n.buttonRef]),a=(0,t.useMemo)((function(){return{open:n.listboxState===ht.Open,disabled:n.disabled}}),[n]);return ie({props:ee({},r,{ref:n.labelRef,id:o,onClick:i}),slot:a,defaultTag:"label",name:"Listbox.Label"})},Ot.Options=Rt,Ot.Option=function e(r){var n=r.disabled,o=void 0!==n&&n,i=r.value,a=te(r,["disabled","value"]),s=Ct([Ot.name,e.name].join(".")),l=s[0],c=s[1],u="headlessui-listbox-option-"+de(),p=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===u,f=l.propsRef.current.value===i,h=(0,t.useRef)({disabled:o,value:i});ce((function(){h.current.disabled=o}),[h,o]),ce((function(){h.current.value=i}),[h,i]),ce((function(){var e,t;h.current.textValue=null==(e=document.getElementById(u))||null==(t=e.textContent)?void 0:t.toLowerCase()}),[h,u]);var d=(0,t.useCallback)((function(){return l.propsRef.current.onChange(i)}),[l.propsRef,i]);ce((function(){return c({type:dt.RegisterOption,id:u,dataRef:h}),function(){return c({type:dt.UnregisterOption,id:u})}}),[h,u]),ce((function(){var e;l.listboxState===ht.Open&&f&&(c({type:dt.GoToOption,focus:pt.Specific,id:u}),null==(e=document.getElementById(u))||null==e.focus||e.focus())}),[l.listboxState]),ce((function(){if(l.listboxState===ht.Open&&p){var e=we();return e.nextFrame((function(){var e;return null==(e=document.getElementById(u))||null==e.scrollIntoView?void 0:e.scrollIntoView({block:"nearest"})})),e.dispose}}),[u,p,l.listboxState]);var g=(0,t.useCallback)((function(e){if(o)return e.preventDefault();d(),c({type:dt.CloseListbox}),we().nextFrame((function(){var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),[c,l.buttonRef,o,d]),b=(0,t.useCallback)((function(){if(o)return c({type:dt.GoToOption,focus:pt.Nothing});c({type:dt.GoToOption,focus:pt.Specific,id:u})}),[o,u,c]),m=(0,t.useCallback)((function(){o||p||c({type:dt.GoToOption,focus:pt.Specific,id:u})}),[o,p,u,c]),v=(0,t.useCallback)((function(){o||p&&c({type:dt.GoToOption,focus:pt.Nothing})}),[o,p,c]),y=(0,t.useMemo)((function(){return{active:p,selected:f,disabled:o}}),[p,f,o]);return ie({props:ee({},a,{id:u,role:"option",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,"aria-selected":!0===f||void 0,disabled:void 0,onClick:g,onFocus:b,onPointerMove:m,onMouseMove:m,onPointerLeave:v,onMouseLeave:v}),slot:y,defaultTag:"li",name:"Listbox.Option"})};var Nt=function(r){const{title:n,description:o,name:i,value:a,optionsArray:s}=r,[l,c]=nt(),u=(0,t.useRef)((0,ot.debounce)((async e=>{c(e)}),500)).current;(0,t.useEffect)((()=>()=>{u.cancel()}),[u]);const p=Object.keys(s).find((e=>s[e].id===a)),[f,h]=(0,t.useState)(s[p]);return(0,e.createElement)(it,{title:n,description:o},(0,e.createElement)("div",null,(0,e.createElement)(Ot,{name:i,value:f,onChange:h},(0,e.createElement)("div",{className:"relative mt-1 w-32"},(0,e.createElement)(Ot.Button,{className:"relative w-full py-2 pl-3 pr-10 text-left bg-white cursor-default focus:outline-none focus-visible:ring-2 focus-visible:ring-opacity-75 focus-visible:ring-white focus-visible:ring-offset-orange-300 focus-visible:ring-offset-2 focus-visible:border-indigo-500 sm:text-sm border-[1px] border-cfvswbordercolor rounded-[4px] "},(0,e.createElement)("span",{className:"block truncate"},f.name),(0,e.createElement)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},(0,e.createElement)(Pe,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)(qe,{as:t.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)(Ot.Options,{className:"absolute w-full py-1 mt-1 z-40 overflow-auto text-base bg-white rounded-md max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},s.map(((r,n)=>(0,e.createElement)(Ot.Option,{key:n,className:e=>{let{active:t}=e;return(t?" text-white bg-wpcolor":"text-gray-900")+"\n\t\t\t\t\t\t\t\t\tcursor-default select-none relative py-1 pl-4"},value:r},(n=>{let{selected:o,active:i}=n;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("span",{className:(o?"font-medium":"font-normal")+" block"},r.name),o?(0,e.createElement)("span",{className:(i?"text-wpcolor":"text-wpcolor20")+"\n\t\t\t\t\t\t\t\t\t\t\tabsolute inset-y-0 left-0 flex items-center pl-3"}):null)})))))))),(0,e.createElement)("input",{type:"hidden",name:i,value:f.id,onChange:function(e){let t=!1;const r=l,n=i.split(/[\[\]]/);l[n[0]][n[1]]!==e&&(r[n[0]][n[1]]=e,t=!0),t&&u({type:"CHANGE",data:r})}(f.id)})))},jt=r(9941),Dt=function(e,t,r,n,o){var i=o.clientWidth,a=o.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=s-(o.getBoundingClientRect().left+window.pageXOffset),u=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var p;if(p=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var f;if(n!==(f=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null},qt={},Bt=function(e,t,r,n){var o=e+"-"+t+"-"+r+(n?"-server":"");if(qt[o])return qt[o];var i=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),o.toDataURL()):null}(e,t,r,n);return qt[o]=i,i},Pt=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},Mt=function(e){var r=e.white,o=e.grey,i=e.size,a=e.renderers,s=e.borderRadius,l=e.boxShadow,c=e.children,u=(0,jt.ZP)({default:{grid:{borderRadius:s,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+Bt(r,o,i,a.canvas)+") center left"}}});return(0,t.isValidElement)(c)?n().cloneElement(c,Pt({},c.props,{style:Pt({},c.props.style,u.grid)})):n().createElement("div",{style:u.grid})};Mt.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var Ft=Mt,Ut=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},Ht=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 It(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function zt(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 Vt=function(e){function t(){var e,r,n;It(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=zt(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=Dt(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},zt(n,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),Ht(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,jt.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:Ut({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return n().createElement("div",{style:r.alpha},n().createElement("div",{style:r.checkboard},n().createElement(Ft,{renderers:this.props.renderers})),n().createElement("div",{style:r.gradient}),n().createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("div",{style:r.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:r.slider}))))}}]),t}(t.PureComponent||t.Component),Gt=Vt,Zt=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}}(),Wt=[38,40],$t=1,Xt=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));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t,n=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(n)&&(t=e.keyCode,Wt.indexOf(t)>-1)){var o=r.getArrowOffset(),i=38===e.keyCode?n+o:n-o;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+$t++,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),Zt(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,jt.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return n().createElement("div",{style:t.wrap},n().createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?n().createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(t.PureComponent||t.Component),Yt=function(e,t,r,n){var o=n.clientWidth,i=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),c=s-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,r.h!==u)return{h:u,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p=void 0;if(p=l<0?0:l>o?359:100*l/o*360/100,r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null},Jt=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 Kt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qt(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 er=function(e){function t(){var e,r,n;Kt(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=Qt(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=Yt(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},Qt(n,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),Jt(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,o=(0,jt.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return n().createElement("div",{style:o.hue},n().createElement("div",{className:"hue-"+r,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),n().createElement("div",{style:o.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:o.slider}))))}}]),t}(t.PureComponent||t.Component),tr=er,rr=r(3857),nr=r.n(rr),or=function(e){var t=e.zDepth,r=e.radius,o=e.background,i=e.children,a=e.styles,s=void 0===a?{}:a,l=(0,jt.ZP)(nr()({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return n().createElement("div",{style:l.wrap},n().createElement("div",{style:l.bg}),n().createElement("div",{style:l.content},i))};or.propTypes={background:C().string,zDepth:C().oneOf([0,1,2,3,4,5]),radius:C().number,styles:C().object},or.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var ir=or,ar=r(3493),sr=r.n(ar),lr=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}}(),cr=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.handleChange=function(e){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,function(e,t,r){var n=r.getBoundingClientRect(),o=n.width,i=n.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,p=1-c/i;return{h:t.h,s:u,v:p,a:t.a,source:"hsv"}}(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=sr()((function(e,t,r){e(t,r)}),50),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),lr(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,o=t.white,i=t.black,a=t.pointer,s=t.circle,l=(0,jt.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:i,pointer:a,circle:s}},{custom:!!this.props.style});return n().createElement("div",{style:l.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),n().createElement("div",{style:l.white,className:"saturation-white"},n().createElement("div",{style:l.black,className:"saturation-black"}),n().createElement("div",{style:l.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:l.circle}))))}}]),t}(t.PureComponent||t.Component),ur=r(3279),pr=r.n(ur),fr=r(6073),hr=r.n(fr),dr=r(7621),gr=r.n(dr),br=function(e){var t=0,r=0;return hr()(["r","g","b","a","h","s","l","v"],(function(n){e[n]&&(t+=1,isNaN(e[n])||(r+=1),"s"===n||"l"===n)&&/^\d+%$/.test(e[n])&&(r+=1)})),t===r&&e},mr=function(e,t){var r=e.hex?gr()(e.hex):gr()(e),n=r.toHsl(),o=r.toHsv(),i=r.toRgb(),a=r.toHex();return 0===n.s&&(n.h=t||0,o.h=t||0),{hsl:n,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||n.h,source:e.source}},vr=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&gr()(e).isValid()},yr=function(e){if(!e)return"#fff";var t=mr(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},wr=function(e,t){var r=e.replace("°","");return gr()(t+" ("+r+")")._ok},xr=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},_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}}(),Er=function(e){var r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=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,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(br(e)){var n=mr(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(br(e)){var n=mr(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=xr({},mr(e.color,0)),t.debounce=pr()((function(e,t,r){e(t,r)}),100),t}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)}(r,t),_r(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),n().createElement(e,xr({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return xr({},mr(e.color,t.oldHue))}}]),r}(t.PureComponent||t.Component);return r.propTypes=xr({},e.propTypes),r.defaultProps=xr({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),r},Sr=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},Cr=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 kr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(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}function Or(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)}var Tr=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},Lr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r;kr(this,o);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return t=r=Ar(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(i))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},Ar(r,t)}return Or(o,r),Cr(o,[{key:"render",value:function(){return n().createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},n().createElement(e,Sr({},this.props,this.state)))}}]),o}(n().Component)}((function(e){var t=e.color,r=e.style,o=e.onClick,i=void 0===o?function(){}:o,a=e.onHover,s=e.title,l=void 0===s?t:s,c=e.children,u=e.focus,p=e.focusStyle,f=void 0===p?{}:p,h="transparent"===t,d=(0,jt.ZP)({default:{swatch:Tr({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,u?f:{})}}),g={};return a&&(g.onMouseOver=function(e){return a(t,e)}),n().createElement("div",Tr({style:d.swatch,onClick:function(e){return i(t,e)},title:l,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&i(t,e)}},g),c,h&&n().createElement(Ft,{borderRadius:d.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))})),Rr=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},Nr=function(e){var t=e.rgb,r=e.hsl,o=e.width,i=e.height,a=e.onChange,s=e.direction,l=e.style,c=e.renderers,u=e.pointer,p=e.className,f=void 0===p?"":p,h=(0,jt.ZP)({default:{picker:{position:"relative",width:o,height:i},alpha:{radius:"2px",style:l}}});return n().createElement("div",{style:h.picker,className:"alpha-picker "+f},n().createElement(Gt,Rr({},h.alpha,{rgb:t,hsl:r,pointer:u,renderers:c,onChange:a,direction:s})))};Nr.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,jt.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n().createElement("div",{style:r.picker})}},Er(Nr);var jr=r(5161),Dr=r.n(jr),qr=function(e){var t=e.colors,r=e.onClick,o=e.onSwatchHover,i=(0,jt.ZP)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n().createElement("div",{style:i.swatches},Dr()(t,(function(e){return n().createElement(Lr,{key:e,color:e,style:i.swatch,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+e}})})),n().createElement("div",{style:i.clear}))},Br=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f="transparent"===o,h=function(e,r){vr(e)&&t({hex:e,source:"hex"},r)},d=(0,jt.ZP)(nr()({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:yr(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===s});return n().createElement("div",{style:d.card,className:"block-picker "+p},n().createElement("div",{style:d.triangle}),n().createElement("div",{style:d.head},f&&n().createElement(Ft,{borderRadius:"6px 6px 0 0"}),n().createElement("div",{style:d.label},o)),n().createElement("div",{style:d.body},n().createElement(qr,{colors:i,onClick:h,onSwatchHover:r}),n().createElement(Xt,{style:{input:d.input},value:o,onChange:h})))};Br.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["top","hide"]),styles:C().object},Br.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Er(Br);var Pr="#ffcdd2",Mr="#e57373",Fr="#f44336",Ur="#d32f2f",Hr="#b71c1c",Ir="#f8bbd0",zr="#f06292",Vr="#e91e63",Gr="#c2185b",Zr="#880e4f",Wr="#e1bee7",$r="#ba68c8",Xr="#9c27b0",Yr="#7b1fa2",Jr="#4a148c",Kr="#d1c4e9",Qr="#9575cd",en="#673ab7",tn="#512da8",rn="#311b92",nn="#c5cae9",on="#7986cb",an="#3f51b5",sn="#303f9f",ln="#1a237e",cn="#bbdefb",un="#64b5f6",pn="#2196f3",fn="#1976d2",hn="#0d47a1",dn="#b3e5fc",gn="#4fc3f7",bn="#03a9f4",mn="#0288d1",vn="#01579b",yn="#b2ebf2",wn="#4dd0e1",xn="#00bcd4",En="#0097a7",Sn="#006064",Cn="#b2dfdb",kn="#4db6ac",An="#009688",On="#00796b",Tn="#004d40",Ln="#c8e6c9",Rn="#81c784",Nn="#4caf50",jn="#388e3c",Dn="#dcedc8",qn="#aed581",Bn="#8bc34a",Pn="#689f38",Mn="#33691e",Fn="#f0f4c3",Un="#dce775",Hn="#cddc39",In="#afb42b",zn="#827717",Vn="#fff9c4",Gn="#fff176",Zn="#ffeb3b",Wn="#fbc02d",$n="#f57f17",Xn="#ffecb3",Yn="#ffd54f",Jn="#ffc107",Kn="#ffa000",Qn="#ff6f00",eo="#ffe0b2",to="#ffb74d",ro="#ff9800",no="#f57c00",oo="#e65100",io="#ffccbc",ao="#ff8a65",so="#ff5722",lo="#e64a19",co="#bf360c",uo="#d7ccc8",po="#a1887f",fo="#795548",ho="#5d4037",go="#3e2723",bo="#cfd8dc",mo="#90a4ae",vo="#607d8b",yo="#455a64",wo="#263238",xo=function(e){var t=e.color,r=e.onClick,o=e.onSwatchHover,i=e.hover,a=e.active,s=e.circleSize,l=e.circleSpacing,c=(0,jt.ZP)({default:{swatch:{width:s,height:s,marginRight:l,marginBottom:l,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:i,active:a});return n().createElement("div",{style:c.swatch},n().createElement(Lr,{style:c.Swatch,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+t}}))};xo.defaultProps={circleSize:28,circleSpacing:14};var _o=(0,jt.tz)(xo),Eo=function(e){var t=e.width,r=e.onChange,o=e.onSwatchHover,i=e.colors,a=e.hex,s=e.circleSize,l=e.styles,c=void 0===l?{}:l,u=e.circleSpacing,p=e.className,f=void 0===p?"":p,h=(0,jt.ZP)(nr()({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c)),d=function(e,t){return r({hex:e,source:"hex"},t)};return n().createElement("div",{style:h.card,className:"circle-picker "+f},Dr()(i,(function(e){return n().createElement(_o,{key:e,color:e,onClick:d,onSwatchHover:o,active:a===e.toLowerCase(),circleSize:s,circleSpacing:u})})))};Eo.propTypes={width:C().oneOfType([C().string,C().number]),circleSize:C().number,circleSpacing:C().number,styles:C().object},Eo.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Fr,Vr,Xr,en,an,pn,bn,xn,An,Nn,Bn,Hn,Zn,Jn,ro,so,fo,vo],styles:{}},Er(Eo);var So=r(2353),Co=r.n(So),ko=r(3891),Ao=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}}(),Oo=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));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?vr(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(Co()(e.s)?r.props.hsl.s:e.s),l:Number(Co()(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},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),Ao(t,[{key:"render",value:function(){var e=this,t=(0,jt.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n().createElement("div",{style:t.alpha},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n().createElement("div",{style:t.alpha},n().createElement(Xt,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n().createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n().createElement("div",{style:t.toggle},n().createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n().createElement(ko.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n().Component);Oo.defaultProps={view:"hex"};var To=Oo,Lo=function(){var e=(0,jt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n().createElement("div",{style:e.picker})},Ro=function(){var e=(0,jt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n().createElement("div",{style:e.picker})},No=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,i=e.rgb,a=e.hsl,s=e.hsv,l=e.hex,c=e.renderers,u=e.styles,p=void 0===u?{}:u,f=e.className,h=void 0===f?"":f,d=e.defaultView,g=(0,jt.ZP)(nr()({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:o});return n().createElement("div",{style:g.picker,className:"chrome-picker "+h},n().createElement("div",{style:g.saturation},n().createElement(cr,{style:g.Saturation,hsl:a,hsv:s,pointer:Ro,onChange:r})),n().createElement("div",{style:g.body},n().createElement("div",{style:g.controls,className:"flexbox-fix"},n().createElement("div",{style:g.color},n().createElement("div",{style:g.swatch},n().createElement("div",{style:g.active}),n().createElement(Ft,{renderers:c}))),n().createElement("div",{style:g.toggles},n().createElement("div",{style:g.hue},n().createElement(tr,{style:g.Hue,hsl:a,pointer:Lo,onChange:r})),n().createElement("div",{style:g.alpha},n().createElement(Gt,{style:g.Alpha,rgb:i,hsl:a,pointer:Lo,renderers:c,onChange:r})))),n().createElement(To,{rgb:i,hsl:a,hex:l,view:d,onChange:r,disableAlpha:o})))};No.propTypes={width:C().oneOfType([C().string,C().number]),disableAlpha:C().bool,styles:C().object,defaultView:C().oneOf(["hex","rgb","hsl"])},No.defaultProps={width:225,disableAlpha:!1,styles:{}},Er(No);var jo=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.active,s=(0,jt.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:yr(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n().createElement(Lr,{style:s.color,color:t,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n().createElement("div",{style:s.dot}))},Do=function(e){var t=e.hex,r=e.rgb,o=e.onChange,i=(0,jt.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?o({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return n().createElement("div",{style:i.fields,className:"flexbox-fix"},n().createElement("div",{style:i.active}),n().createElement(Xt,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:a}),n().createElement(Xt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:a}),n().createElement(Xt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:a}),n().createElement(Xt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:a}))},qo=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,i=e.hex,a=e.rgb,s=e.styles,l=void 0===s?{}:s,c=e.className,u=void 0===c?"":c,p=(0,jt.ZP)(nr()({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l)),f=function(e,r){e.hex?vr(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n().createElement(ir,{style:p.Compact,styles:l},n().createElement("div",{style:p.compact,className:"compact-picker "+u},n().createElement("div",null,Dr()(o,(function(e){return n().createElement(jo,{key:e,color:e,active:e.toLowerCase()===i,onClick:f,onSwatchHover:r})})),n().createElement("div",{style:p.clear})),n().createElement(Do,{hex:i,rgb:a,onChange:f})))};qo.propTypes={colors:C().arrayOf(C().string),styles:C().object},qo.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Er(qo);var Bo=(0,jt.tz)((function(e){var t=e.hover,r=e.color,o=e.onClick,i=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,jt.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return n().createElement("div",{style:s.swatch},n().createElement(Lr,{color:r,onClick:o,onHover:i,focusStyle:a}))})),Po=function(e){var t=e.width,r=e.colors,o=e.onChange,i=e.onSwatchHover,a=e.triangle,s=e.styles,l=void 0===s?{}:s,c=e.className,u=void 0===c?"":c,p=(0,jt.ZP)(nr()({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),f=function(e,t){return o({hex:e,source:"hex"},t)};return n().createElement("div",{style:p.card,className:"github-picker "+u},n().createElement("div",{style:p.triangleShadow}),n().createElement("div",{style:p.triangle}),Dr()(r,(function(e){return n().createElement(Bo,{color:e,key:e,onClick:f,onSwatchHover:i})})))};Po.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:C().object},Po.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Er(Po);var Mo=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},Fo=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.hsl,a=e.direction,s=e.pointer,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,jt.ZP)(nr()({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},c));return n().createElement("div",{style:f.picker,className:"hue-picker "+p},n().createElement(tr,Mo({},f.hue,{hsl:i,pointer:s,onChange:function(e){return o({a:1,h:e.h,l:.5,s:1})},direction:a})))};Fo.propTypes={styles:C().object},Fo.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,jt.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n().createElement("div",{style:r.picker})},styles:{}},Er(Fo),Er((function(e){var t=e.onChange,r=e.hex,o=e.rgb,i=e.styles,a=void 0===i?{}:i,s=e.className,l=void 0===s?"":s,c=(0,jt.ZP)(nr()({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),u=function(e,r){e.hex?vr(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||o.r,g:e.g||o.g,b:e.b||o.b,source:"rgb"},r)};return n().createElement(ir,{styles:a},n().createElement("div",{style:c.material,className:"material-picker "+l},n().createElement(Xt,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:r,onChange:u}),n().createElement("div",{style:c.split,className:"flexbox-fix"},n().createElement("div",{style:c.third},n().createElement(Xt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:o.r,onChange:u})),n().createElement("div",{style:c.third},n().createElement(Xt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:o.g,onChange:u})),n().createElement("div",{style:c.third},n().createElement(Xt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:o.b,onChange:u})))))}));var Uo=function(e){var t=e.onChange,r=e.rgb,o=e.hsv,i=e.hex,a=(0,jt.ZP)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,n){e["#"]?vr(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||o.h,s:e.s||o.s,v:e.v||o.v,source:"hsv"},n)};return n().createElement("div",{style:a.fields},n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(o.h),onChange:s}),n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*o.s),onChange:s}),n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*o.v),onChange:s}),n().createElement("div",{style:a.divider}),n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:s}),n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:s}),n().createElement(Xt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:s}),n().createElement("div",{style:a.divider}),n().createElement(Xt,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:i.replace("#",""),onChange:s}),n().createElement("div",{style:a.fieldSymbols},n().createElement("div",{style:a.symbol},"°"),n().createElement("div",{style:a.symbol},"%"),n().createElement("div",{style:a.symbol},"%")))},Ho=function(e){var t=e.hsl,r=(0,jt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return n().createElement("div",{style:r.picker})},Io=function(){var e=(0,jt.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n().createElement("div",{style:e.pointer},n().createElement("div",{style:e.left},n().createElement("div",{style:e.leftInside})),n().createElement("div",{style:e.right},n().createElement("div",{style:e.rightInside})))},zo=function(e){var t=e.onClick,r=e.label,o=e.children,i=e.active,a=(0,jt.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n().createElement("div",{style:a.button,onClick:t},r||o)},Vo=function(e){var t=e.rgb,r=e.currentColor,o=(0,jt.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n().createElement("div",null,n().createElement("div",{style:o.label},"new"),n().createElement("div",{style:o.swatches},n().createElement("div",{style:o.new}),n().createElement("div",{style:o.current})),n().createElement("div",{style:o.label},"current"))},Go=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}}(),Zo=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));return r.state={currentColor:e.hex},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),Go(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=void 0===t?{}:t,o=e.className,i=void 0===o?"":o,a=(0,jt.ZP)(nr()({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return n().createElement("div",{style:a.picker,className:"photoshop-picker "+i},n().createElement("div",{style:a.head},this.props.header),n().createElement("div",{style:a.body,className:"flexbox-fix"},n().createElement("div",{style:a.saturation},n().createElement(cr,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Ho,onChange:this.props.onChange})),n().createElement("div",{style:a.hue},n().createElement(tr,{direction:"vertical",hsl:this.props.hsl,pointer:Io,onChange:this.props.onChange})),n().createElement("div",{style:a.controls},n().createElement("div",{style:a.top,className:"flexbox-fix"},n().createElement("div",{style:a.previews},n().createElement(Vo,{rgb:this.props.rgb,currentColor:this.state.currentColor})),n().createElement("div",{style:a.actions},n().createElement(zo,{label:"OK",onClick:this.props.onAccept,active:!0}),n().createElement(zo,{label:"Cancel",onClick:this.props.onCancel}),n().createElement(Uo,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(n().Component);Zo.propTypes={header:C().string,styles:C().object},Zo.defaultProps={header:"Color Picker",styles:{}},Er(Zo);var Wo=function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.disableAlpha,s=(0,jt.ZP)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),l=function(e,n){e.hex?vr(e.hex)&&t({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},n))};return n().createElement("div",{style:s.fields,className:"flexbox-fix"},n().createElement("div",{style:s.double},n().createElement(Xt,{style:{input:s.input,label:s.label},label:"hex",value:i.replace("#",""),onChange:l})),n().createElement("div",{style:s.single},n().createElement(Xt,{style:{input:s.input,label:s.label},label:"r",value:r.r,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.single},n().createElement(Xt,{style:{input:s.input,label:s.label},label:"g",value:r.g,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.single},n().createElement(Xt,{style:{input:s.input,label:s.label},label:"b",value:r.b,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.alpha},n().createElement(Xt,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*r.a),onChange:l,dragLabel:"true",dragMax:"100"})))},$o=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},Xo=function(e){var t=e.colors,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=(0,jt.ZP)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){o({hex:e,source:"hex"},t)};return n().createElement("div",{style:a.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,r=""+t.color+(t.title||"");return n().createElement("div",{key:r,style:a.swatchWrap},n().createElement(Lr,$o({},t,{style:a.swatch,onClick:s,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};Xo.propTypes={colors:C().arrayOf(C().oneOfType([C().string,C().shape({color:C().string,title:C().string})])).isRequired};var Yo=Xo,Jo=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},Ko=function(e){var t=e.width,r=e.rgb,o=e.hex,i=e.hsv,a=e.hsl,s=e.onChange,l=e.onSwatchHover,c=e.disableAlpha,u=e.presetColors,p=e.renderers,f=e.styles,h=void 0===f?{}:f,d=e.className,g=void 0===d?"":d,b=(0,jt.ZP)(nr()({default:Jo({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},h),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},h),{disableAlpha:c});return n().createElement("div",{style:b.picker,className:"sketch-picker "+g},n().createElement("div",{style:b.saturation},n().createElement(cr,{style:b.Saturation,hsl:a,hsv:i,onChange:s})),n().createElement("div",{style:b.controls,className:"flexbox-fix"},n().createElement("div",{style:b.sliders},n().createElement("div",{style:b.hue},n().createElement(tr,{style:b.Hue,hsl:a,onChange:s})),n().createElement("div",{style:b.alpha},n().createElement(Gt,{style:b.Alpha,rgb:r,hsl:a,renderers:p,onChange:s}))),n().createElement("div",{style:b.color},n().createElement(Ft,null),n().createElement("div",{style:b.activeColor}))),n().createElement(Wo,{rgb:r,hsl:a,hex:o,onChange:s,disableAlpha:c}),n().createElement(Yo,{colors:u,onClick:s,onSwatchHover:l}))};Ko.propTypes={disableAlpha:C().bool,width:C().oneOfType([C().string,C().number]),styles:C().object},Ko.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var Qo=Er(Ko),ei=function(e){var t=e.hsl,r=e.offset,o=e.onClick,i=void 0===o?function(){}:o,a=e.active,s=e.first,l=e.last,c=(0,jt.ZP)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:l});return n().createElement("div",{style:c.swatch,onClick:function(e){return i({h:t.h,s:.5,l:r,source:"hsl"},e)}})},ti=function(e){var t=e.onClick,r=e.hsl,o=(0,jt.ZP)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),i=.1;return n().createElement("div",{style:o.swatches},n().createElement("div",{style:o.swatch},n().createElement(ei,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<i&&Math.abs(r.s-.5)<i,onClick:t,first:!0})),n().createElement("div",{style:o.swatch},n().createElement(ei,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ei,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ei,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ei,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<i&&Math.abs(r.s-.5)<i,onClick:t,last:!0})),n().createElement("div",{style:o.clear}))},ri=function(e){var t=e.hsl,r=e.onChange,o=e.pointer,i=e.styles,a=void 0===i?{}:i,s=e.className,l=void 0===s?"":s,c=(0,jt.ZP)(nr()({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return n().createElement("div",{style:c.wrap||{},className:"slider-picker "+l},n().createElement("div",{style:c.hue},n().createElement(tr,{style:c.Hue,hsl:t,pointer:o,onChange:r})),n().createElement("div",{style:c.swatches},n().createElement(ti,{hsl:t,onClick:r})))};ri.propTypes={styles:C().object},ri.defaultProps={pointer:function(){var e=(0,jt.ZP)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n().createElement("div",{style:e.picker})},styles:{}},Er(ri);var ni=r(597),oi=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.first,s=e.last,l=e.active,c=(0,jt.ZP)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:yr(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:l,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n().createElement(Lr,{color:t,style:c.color,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n().createElement("div",{style:c.check},n().createElement(ni.Z,null)))},ii=function(e){var t=e.onClick,r=e.onSwatchHover,o=e.group,i=e.active,a=(0,jt.ZP)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n().createElement("div",{style:a.group},Dr()(o,(function(e,a){return n().createElement(oi,{key:e,color:e,active:e.toLowerCase()===i,first:0===a,last:a===o.length-1,onClick:t,onSwatchHover:r})})))},ai=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.onSwatchHover,a=e.colors,s=e.hex,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,jt.ZP)(nr()({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),h=function(e,t){return o({hex:e,source:"hex"},t)};return n().createElement("div",{style:f.picker,className:"swatches-picker "+p},n().createElement(ir,null,n().createElement("div",{style:f.overflow},n().createElement("div",{style:f.body},Dr()(a,(function(e){return n().createElement(ii,{key:e.toString(),group:e,active:s,onClick:h,onSwatchHover:i})})),n().createElement("div",{style:f.clear})))))};ai.propTypes={width:C().oneOfType([C().string,C().number]),height:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().arrayOf(C().string)),styles:C().object},ai.defaultProps={width:320,height:240,colors:[[Hr,Ur,Fr,Mr,Pr],[Zr,Gr,Vr,zr,Ir],[Jr,Yr,Xr,$r,Wr],[rn,tn,en,Qr,Kr],[ln,sn,an,on,nn],[hn,fn,pn,un,cn],[vn,mn,bn,gn,dn],[Sn,En,xn,wn,yn],[Tn,On,An,kn,Cn],["#194D33",jn,Nn,Rn,Ln],[Mn,Pn,Bn,qn,Dn],[zn,In,Hn,Un,Fn],[$n,Wn,Zn,Gn,Vn],[Qn,Kn,Jn,Yn,Xn],[oo,no,ro,to,eo],[co,lo,so,ao,io],[go,ho,fo,po,uo],[wo,yo,vo,mo,bo],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Er(ai);var si=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,jt.ZP)(nr()({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),h=function(e,r){vr(e)&&t({hex:e,source:"hex"},r)};return n().createElement("div",{style:f.card,className:"twitter-picker "+p},n().createElement("div",{style:f.triangleShadow}),n().createElement("div",{style:f.triangle}),n().createElement("div",{style:f.body},Dr()(i,(function(e,t){return n().createElement(Lr,{key:t,color:e,hex:e,style:f.swatch,onClick:h,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n().createElement("div",{style:f.hash},"#"),n().createElement(Xt,{label:null,style:{input:f.input},value:o.replace("#",""),onChange:h}),n().createElement("div",{style:f.clear})))};si.propTypes={width:C().oneOfType([C().string,C().number]),triangle:C().oneOf(["hide","top-left","top-right"]),colors:C().arrayOf(C().string),styles:C().object},si.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Er(si);var li=function(e){var t=(0,jt.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return n().createElement("div",{style:t.picker})};li.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},li.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var ci=li,ui=function(e){var t=(0,jt.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return n().createElement("div",{style:t.picker})};ui.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},ui.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var pi=ui,fi=function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.hsv,s=function(e,r){if(e.hex)vr(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");wr(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var o=e.hsv.split(",");wr(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},r))}else if(e.hsl){var i=e.hsl.split(",");wr(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},r))}},l=(0,jt.ZP)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,u=Math.round(o.h)+"°, "+Math.round(100*o.s)+"%, "+Math.round(100*o.l)+"%",p=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return n().createElement("div",{style:l.wrap,className:"flexbox-fix"},n().createElement("div",{style:l.fields},n().createElement("div",{style:l.double},n().createElement(Xt,{style:{input:l.input,label:l.label},label:"hex",value:i,onChange:s})),n().createElement("div",{style:l.column},n().createElement("div",{style:l.single},n().createElement(Xt,{style:{input:l.input2,label:l.label2},label:"rgb",value:c,onChange:s})),n().createElement("div",{style:l.single},n().createElement(Xt,{style:{input:l.input2,label:l.label2},label:"hsv",value:p,onChange:s})),n().createElement("div",{style:l.single},n().createElement(Xt,{style:{input:l.input2,label:l.label2},label:"hsl",value:u,onChange:s})))))},hi=function(e){var t=e.width,r=e.onChange,o=e.rgb,i=e.hsl,a=e.hsv,s=e.hex,l=e.header,c=e.styles,u=void 0===c?{}:c,p=e.className,f=void 0===p?"":p,h=(0,jt.ZP)(nr()({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return n().createElement("div",{style:h.picker,className:"google-picker "+f},n().createElement("div",{style:h.head},l),n().createElement("div",{style:h.swatch}),n().createElement("div",{style:h.saturation},n().createElement(cr,{hsl:i,hsv:a,pointer:ci,onChange:r})),n().createElement("div",{style:h.body},n().createElement("div",{style:h.controls,className:"flexbox-fix"},n().createElement("div",{style:h.hue},n().createElement(tr,{style:h.Hue,hsl:i,radius:"4px",pointer:pi,onChange:r}))),n().createElement(fi,{rgb:o,hsl:i,hex:s,hsv:a,onChange:r})))};hi.propTypes={width:C().oneOfType([C().string,C().number]),styles:C().object,header:C().string},hi.defaultProps={width:652,styles:{},header:"Color picker"},Er(hi);var di=function(r){const{name:n,value:o,defaultColor:i}=r,[a,s]=nt(),[l,c]=(0,t.useState)(!1),[u,p]=(0,t.useState)(o),f=(0,t.useRef)((0,ot.debounce)((async e=>{s(e)}),500)).current;(0,t.useEffect)((()=>()=>{f.cancel()}),[f]);const h=(0,jt.ZP)({default:{color:{width:"36px",height:"30px",background:u}}}),d=e=>{p(e?e.hex:e);const t=new CustomEvent("cfvsw:color:change",{bubbles:!0,detail:{e:"color",name:r.name,value:e?e.hex:e}});document.dispatchEvent(t);let o=!1;const i=a,s=n.split(/[\[\]]/);(a[s[0]][s[1]]!==e?e.hex:e)&&(i[s[0]][s[1]]=e?e.hex:e,o=!0),o&&f({type:"CHANGE",data:i})};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"cfvsw-field-data-content"},(0,e.createElement)("div",{className:"cfvsw-colorpicker-selector justify-end"},(0,e.createElement)("div",{className:"cfvsw-colorpicker-swatch-wrap",onClick:()=>{c((e=>!e))}},(0,e.createElement)("span",{className:"cfvsw-colorpicker-swatch",style:h.color}),(0,e.createElement)("span",{className:"cfvsw-colorpicker-label"},(0,Q.__)("Select Color","variation-swatches-woo")),(0,e.createElement)("input",{type:"hidden",name:n,value:u})),(0,e.createElement)("span",{className:"cfvsw-colorpicker-reset",onClick:()=>{d({hex:i})},title:(0,Q.__)("Reset","cartflows")},(0,e.createElement)("span",{className:"dashicons dashicons-update-alt"}))),(0,e.createElement)("div",{className:"cfvsw-color-picker"},l?(0,e.createElement)("div",{className:"cfvsw-color-picker-popover"},(0,e.createElement)("div",{className:"cfvsw-color-picker-cover",onClick:()=>{c(!1)}}),(0,e.createElement)(Qo,{name:n,color:u,onChange:d,disableAlpha:!0})):null)))},gi=function(t){const{title:r,description:n}=t;return(0,e.createElement)(it,{title:r,description:n},(0,e.createElement)("div",{className:"cfvsw-color-field"},(0,e.createElement)(di,{name:t.name,value:t.value,defaultColor:t.default})))},bi=function(){const[t]=nt();return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(mt,{heading:(0,Q.__)("Swatches","variation-swatches-woo")},(0,e.createElement)(yt,{title:(0,Q.__)("Swatch minimum width","variation-swatches-woo"),description:(0,Q.__)("Minimum width of swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default width: 24px","variation-swatches-woo"),name:"cfvsw_global[min_width]",value:t.cfvsw_global.min_width}),(0,e.createElement)(yt,{title:(0,Q.__)("Swatch minimum height","variation-swatches-woo"),description:(0,Q.__)("Minimum height of swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default height: 24px","variation-swatches-woo"),name:"cfvsw_global[min_height]",value:t.cfvsw_global.min_height}),(0,e.createElement)(yt,{title:(0,Q.__)("Swatch border radius","variation-swatches-woo"),description:(0,Q.__)("Add border radius for swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default: 3px","variation-swatches-woo"),name:"cfvsw_global[border_radius]",value:t.cfvsw_global.border_radius}),(0,e.createElement)(yt,{title:(0,Q.__)("Font size","variation-swatches-woo"),description:(0,Q.__)("Set font size for label swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_global[font_size]",value:t.cfvsw_global.font_size}),(0,e.createElement)(gi,{title:(0,Q.__)("Border color","variation-swatches-woo"),description:(0,Q.__)("Choose color for swatch border.","variation-swatches-woo"),name:"cfvsw_style[border_color]",value:t.cfvsw_style.border_color,default:"#333333"}),(0,e.createElement)(Nt,{title:(0,Q.__)("Disabled attribute effect","variation-swatches-woo"),description:(0,Q.__)("How to display disabled attributes.","variation-swatches-woo"),name:"cfvsw_global[disable_attr_type]",value:t.cfvsw_global.disable_attr_type,optionsArray:[{id:"blurCross",name:(0,Q.__)("Blur with cross","variation-swatches-woo")},{id:"blur",name:(0,Q.__)("Blur","variation-swatches-woo")},{id:"hide",name:(0,Q.__)("Hide","variation-swatches-woo")}]})),(0,e.createElement)(mt,{heading:(0,Q.__)("Tooltip","variation-swatches-woo")},(0,e.createElement)(gt,{title:(0,Q.__)("Tooltip","variation-swatches-woo"),description:(0,Q.__)("Display label over swatches as tooltip.","variation-swatches-woo"),name:"cfvsw_global[tooltip]",value:t.cfvsw_global.tooltip}),t.cfvsw_global.tooltip&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(gi,{title:(0,Q.__)("Tooltip background color","variation-swatches-woo"),description:(0,Q.__)("Choose color for tooltip background.","variation-swatches-woo"),name:"cfvsw_style[tooltip_background]",value:t.cfvsw_style.tooltip_background,default:"#000000"}),(0,e.createElement)(gi,{title:(0,Q.__)("Tooltip font color","variation-swatches-woo"),description:(0,Q.__)("Choose color for tooltip font.","variation-swatches-woo"),name:"cfvsw_style[tooltip_font_color]",value:t.cfvsw_style.tooltip_font_color,default:"#ffffff"}),(0,e.createElement)(yt,{title:(0,Q.__)("Tooltip font size","variation-swatches-woo"),description:(0,Q.__)("Set tooltip font size.","variation-swatches-woo"),badge:(0,Q.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_style[tooltip_font_size]",value:t.cfvsw_style.tooltip_font_size,min:1}),(0,e.createElement)(gt,{title:(0,Q.__)("Image preview on tooltip","variation-swatches-woo"),description:(0,Q.__)("Image preview will be shown in tooltip if this option is enabled, This setting works only for image type swatches.","variation-swatches-woo"),name:"cfvsw_style[tooltip_image]",value:t.cfvsw_style.tooltip_image}))),(0,e.createElement)(mt,{heading:(0,Q.__)("Label","variation-swatches-woo")},(0,e.createElement)(Nt,{title:(0,Q.__)("Label position","variation-swatches-woo"),description:(0,Q.__)("Display options for swatches label.","variation-swatches-woo"),name:"cfvsw_global[html_design]",value:t.cfvsw_global.html_design,optionsArray:[{id:"none",name:(0,Q.__)("None","variation-swatches-woo")},{id:"stacked",name:(0,Q.__)("Stacked","variation-swatches-woo")},{id:"inline",name:(0,Q.__)("Inline","variation-swatches-woo")}]}),(0,e.createElement)(yt,{title:(0,Q.__)("Label font size","variation-swatches-woo"),description:(0,Q.__)("Set font size for swatches label, Keep it 0 or blank to get default value from theme.","variation-swatches-woo"),badge:(0,Q.__)("Default: inherit","variation-swatches-woo"),name:"cfvsw_style[label_font_size]",value:t.cfvsw_style.label_font_size})),(0,e.createElement)(mt,{heading:(0,Q.__)("Widgets","variation-swatches-woo")},(0,e.createElement)(gt,{title:(0,Q.__)("Filters","variation-swatches-woo"),description:(0,Q.__)("Enable swatches for WooCommerce filters.","variation-swatches-woo"),name:"cfvsw_style[filters]",value:t.cfvsw_style.filters})))},mi=function(){const[r]=nt(),[n,o]=(0,t.useState)(r.cfvsw_shop.override_global);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(mt,{heading:(0,Q.__)("General","variation-swatches-woo")},(0,e.createElement)(Nt,{title:(0,Q.__)("Swatch alignment","variation-swatches-woo"),description:(0,Q.__)("Swatch alignment on shop page. Keep your swatches left center or right aligned.","variation-swatches-woo"),name:"cfvsw_shop[alignment]",value:r.cfvsw_shop.alignment,optionsArray:[{id:"left",name:(0,Q.__)("Left","variation-swatches-woo")},{id:"center",name:(0,Q.__)("Center","variation-swatches-woo")},{id:"right",name:(0,Q.__)("Right","variation-swatches-woo")}]}),(0,e.createElement)(Nt,{title:(0,Q.__)("Swatch position","variation-swatches-woo"),description:(0,Q.__)("Select position where to display swatches on shop page.","variation-swatches-woo"),name:"cfvsw_shop[position]",value:r.cfvsw_shop.position,optionsArray:[{id:"before_title",name:(0,Q.__)("Before Title","variation-swatches-woo")},{id:"after_title",name:(0,Q.__)("After Title","variation-swatches-woo")},{id:"before_price",name:(0,Q.__)("Before Price","variation-swatches-woo")},{id:"after_price",name:(0,Q.__)("After Price","variation-swatches-woo")}]}),(0,e.createElement)(gt,{title:(0,Q.__)("Show swatches label","variation-swatches-woo"),description:(0,Q.__)("Display swatch label on shop page.","variation-swatches-woo"),name:"cfvsw_shop[label]",value:r.cfvsw_shop.label}),(0,e.createElement)(yt,{title:(0,Q.__)("Attributes Limit","variation-swatches-woo"),description:(0,Q.__)("Number of attributes to display on shop page. Keep it 0 or blank to load all attributes.","variation-swatches-woo"),name:"cfvsw_shop[limit]",value:r.cfvsw_shop.limit})),(0,e.createElement)(mt,{heading:(0,Q.__)("More customizations","variation-swatches-woo")},(0,e.createElement)(gt,{title:(0,Q.__)("Override global settings","variation-swatches-woo"),description:(0,Q.__)("Override global settings for shop page. Below settings are applicable only on shop page.","variation-swatches-woo"),name:"cfvsw_shop[override_global]",value:r.cfvsw_shop.override_global,manageState:o}),n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(yt,{title:(0,Q.__)("Swatch minimum width","variation-swatches-woo"),description:(0,Q.__)("Minimum width of swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default width: 24px","variation-swatches-woo"),name:"cfvsw_shop[min_width]",value:r.cfvsw_shop.min_width}),(0,e.createElement)(yt,{title:(0,Q.__)("Swatch minimum height","variation-swatches-woo"),description:(0,Q.__)("Minimum height of swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default height: 24px","variation-swatches-woo"),name:"cfvsw_shop[min_height]",value:r.cfvsw_shop.min_height}),(0,e.createElement)(yt,{title:(0,Q.__)("Swatch border radius","variation-swatches-woo"),description:(0,Q.__)("Add border radius for swatches.","variation-swatches-woo"),badge:(0,Q.__)("Default: 24px","variation-swatches-woo"),name:"cfvsw_shop[border_radius]",value:r.cfvsw_shop.border_radius}),(0,e.createElement)(yt,{title:(0,Q.__)("Font size","variation-swatches-woo"),description:(0,Q.__)("Set font size for label swatches","variation-swatches-woo"),badge:(0,Q.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_shop[font_size]",value:r.cfvsw_shop.font_size}),(0,e.createElement)(Nt,{title:(0,Q.__)("Disabled attribute effect","variation-swatches-woo"),description:(0,Q.__)("How to display disabled attributes.","variation-swatches-woo"),name:"cfvsw_shop[disable_attr_type]",value:r.cfvsw_shop.disable_attr_type,optionsArray:[{id:"blurCross",name:(0,Q.__)("Blur with cross","variation-swatches-woo")},{id:"blur",name:(0,Q.__)("Blur","variation-swatches-woo")},{id:"hide",name:(0,Q.__)("Hide","variation-swatches-woo")}]}))))},vi=r(653),yi=function(t){const{children:r,content:n}=t;return(0,e.createElement)(it,{content:n},r)},wi=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(mt,{heading:(0,Q.__)("How to create attributes variations","variation-swatches-woo")},(0,e.createElement)(yi,{content:!0},(0,e.createElement)("ul",{className:"list-disc ml-4"},(0,e.createElement)("li",null,(0,Q.__)("To create attributes click on Products > ","variation-swatches-woo"),(0,e.createElement)("b",null,(0,e.createElement)("a",{className:"text-wpcolor",href:"edit.php?post_type=product&page=product_attributes",target:"__blank"},(0,Q.__)("Attributes","variation-swatches-woo")))),(0,e.createElement)("li",null,(0,vi.ZP)((0,Q.sprintf)(// translators: %1$s: bold tag start, %2$s: bold tag end.
|
2 |
-
(0,
|
3 |
-
(0,
|
4 |
-
(0,
|
5 |
-
(0,
|
6 |
-
(0,
|
7 |
-
(0,
|
8 |
-
(0,
|
1 |
+
!function(){var e={597:function(e,t,r){"use strict";var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(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}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:l},u)},p),i.default.createElement("path",{d:"M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"}))}},3891:function(e,t,r){"use strict";var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};t.Z=function(e){var t=e.fill,r=void 0===t?"currentColor":t,n=e.width,a=void 0===n?24:n,s=e.height,l=void 0===s?24:s,c=e.style,u=void 0===c?{}:c,p=function(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}(e,["fill","width","height","style"]);return i.default.createElement("svg",o({viewBox:"0 0 24 24",style:o({fill:r,width:a,height:l},u)},p),i.default.createElement("path",{d:"M12,18.17L8.83,15L7.42,16.41L12,21L16.59,16.41L15.17,15M12,5.83L15.17,9L16.58,7.59L12,3L7.41,7.59L8.83,9L12,5.83Z"}))}},9742:function(e,t){"use strict";t.byteLength=function(e){var t=l(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=l(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),u=0,p=s>0?a-4:a;for(r=0;r<p;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,l=n-o;s<l;s+=a)i.push(c(e,s,s+a>l?l:s+a));return 1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"=")),i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function l(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},8764:function(e,t,r){"use strict";var n=r(9742),o=r(645),i="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50;var a=2147483647;function s(e){if(e>a)throw new RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw new TypeError('The "string" argument must be of type string. Received type number');return p(e)}return c(e,t,r)}function c(e,t,r){if("string"==typeof e)return function(e,t){if("string"==typeof t&&""!==t||(t="utf8"),!l.isEncoding(t))throw new TypeError("Unknown encoding: "+t);var r=0|g(e,t),n=s(r),o=n.write(e,t);return o!==r&&(n=n.slice(0,o)),n}(e,t);if(ArrayBuffer.isView(e))return function(e){if(H(e,Uint8Array)){var t=new Uint8Array(e);return h(t.buffer,t.byteOffset,t.byteLength)}return f(e)}(e);if(null==e)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(H(e,ArrayBuffer)||e&&H(e.buffer,ArrayBuffer))return h(e,t,r);if("undefined"!=typeof SharedArrayBuffer&&(H(e,SharedArrayBuffer)||e&&H(e.buffer,SharedArrayBuffer)))return h(e,t,r);if("number"==typeof e)throw new TypeError('The "value" argument must not be of type number. Received type number');var n=e.valueOf&&e.valueOf();if(null!=n&&n!==e)return l.from(n,t,r);var o=function(e){if(l.isBuffer(e)){var t=0|d(e.length),r=s(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||I(e.length)?s(0):f(e):"Buffer"===e.type&&Array.isArray(e.data)?f(e.data):void 0}(e);if(o)return o;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function u(e){if("number"!=typeof e)throw new TypeError('"size" argument must be of type number');if(e<0)throw new RangeError('The value "'+e+'" is invalid for option "size"')}function p(e){return u(e),s(e<0?0:0|d(e))}function f(e){for(var t=e.length<0?0:0|d(e.length),r=s(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}function h(e,t,r){if(t<0||e.byteLength<t)throw new RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw new RangeError('"length" is outside of buffer bounds');var n;return n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),Object.setPrototypeOf(n,l.prototype),n}function d(e){if(e>=a)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a.toString(16)+" bytes");return 0|e}function g(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||H(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var o=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return M(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return F(e).length;default:if(o)return n?-1:M(e).length;t=(""+t).toLowerCase(),o=!0}}function m(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return L(this,t,r);case"utf8":case"utf-8":return k(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return T(this,t,r);case"base64":return C(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function b(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function v(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),I(r=+r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,o);if("number"==typeof t)return t&=255,"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):y(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function y(e,t,r,n,o){var i,a=1,s=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var u=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===u?0:i-u)){if(-1===u&&(u=i),i-u+1===l)return u*a}else-1!==u&&(i-=i-u),u=-1}else for(r+l>s&&(r=s-l),i=r;i>=0;i--){for(var p=!0,f=0;f<l;f++)if(c(e,i+f)!==c(t,f)){p=!1;break}if(p)return i}return-1}function w(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(I(s))return a;e[r+a]=s}return a}function x(e,t,r,n){return U(M(t,e.length-r),e,r,n)}function _(e,t,r,n){return U(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function E(e,t,r,n){return U(F(t),e,r,n)}function S(e,t,r,n){return U(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function C(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function k(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,l,c=e[o],u=null,p=c>239?4:c>223?3:c>191?2:1;if(o+p<=r)switch(p){case 1:c<128&&(u=c);break;case 2:128==(192&(i=e[o+1]))&&(l=(31&c)<<6|63&i)>127&&(u=l);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(l=(15&c)<<12|(63&i)<<6|63&a)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(l=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&l<1114112&&(u=l)}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),o+=p}return function(e){var t=e.length;if(t<=A)return String.fromCharCode.apply(String,e);for(var r="",n=0;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=A));return r}(n)}t.kMaxLength=a,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return c(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return function(e,t,r){return u(e),e<=0?s(e):void 0!==t?"string"==typeof r?s(e).fill(t,r):s(e).fill(t):s(e)}(e,t,r)},l.allocUnsafe=function(e){return p(e)},l.allocUnsafeSlow=function(e){return p(e)},l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),H(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var i=e[r];if(H(i,Uint8Array))o+i.length>n.length?l.from(i).copy(n,o):Uint8Array.prototype.set.call(n,i,o);else{if(!l.isBuffer(i))throw new TypeError('"list" argument must be an Array of Buffers');i.copy(n,o)}o+=i.length}return n},l.byteLength=g,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)b(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)b(this,t,t+3),b(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)b(this,t,t+7),b(this,t+1,t+6),b(this,t+2,t+5),b(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0===arguments.length?k(this,0,e):m.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},i&&(l.prototype[i]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,o){if(H(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),u=e.slice(t,r),p=0;p<s;++p)if(c[p]!==u[p]){i=c[p],a=u[p];break}return i<a?-1:a<i?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return v(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return v(this,e,t,r,!1)},l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return w(this,e,t,r);case"utf8":case"utf-8":return x(this,e,t,r);case"ascii":case"latin1":case"binary":return _(this,e,t,r);case"base64":return E(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return S(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var A=4096;function O(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function T(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function L(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=z[e[i]];return o}function N(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length-1;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function R(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function j(e,t,r,n,o,i){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function q(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function D(e,t,r,n,i){return t=+t,r>>>=0,i||q(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return t=+t,r>>>=0,i||q(e,0,r,8),o.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r=this.length;(e=~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),(t=void 0===t?r:~~t)<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUintLE=l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},l.prototype.readUintBE=l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},l.prototype.readUint8=l.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},l.prototype.readUint16LE=l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUint16BE=l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUint32LE=l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUint32BE=l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||R(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},l.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),o.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),o.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),o.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),o.read(this,e,!1,52,8)},l.prototype.writeUintLE=l.prototype.writeUIntLE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},l.prototype.writeUintBE=l.prototype.writeUIntBE=function(e,t,r,n){e=+e,t>>>=0,r>>>=0,n||j(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},l.prototype.writeUint8=l.prototype.writeUInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUint16LE=l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUint16BE=l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUint32LE=l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUint32BE=l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);j(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t>>>=0,!n){var o=Math.pow(2,8*r-1);j(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t>>>=0,r||j(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return D(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return D(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw new TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("Index out of range");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o=n-r;return this===e&&"function"==typeof Uint8Array.prototype.copyWithin?this.copyWithin(t,r,n):Uint8Array.prototype.set.call(e,this.subarray(r,n),t),o},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw new TypeError("Unknown encoding: "+n);if(1===e.length){var o=e.charCodeAt(0);("utf8"===n&&o<128||"latin1"===n)&&(e=o)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=l.isBuffer(e)?e:l.from(e,n),s=a.length;if(0===s)throw new TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var P=/[^+/0-9A-Za-z-_]/g;function M(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function F(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(P,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function U(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}function H(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}function I(e){return e!=e}var z=function(){for(var e="0123456789abcdef",t=new Array(256),r=0;r<16;++r)for(var n=16*r,o=0;o<16;++o)t[n+o]=e[r]+e[o];return t}()},7187:function(e){"use strict";var t,r="object"==typeof Reflect?Reflect:null,n=r&&"function"==typeof r.apply?r.apply:function(e,t,r){return Function.prototype.apply.call(e,t,r)};t=r&&"function"==typeof r.ownKeys?r.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};var o=Number.isNaN||function(e){return e!=e};function i(){i.init.call(this)}e.exports=i,e.exports.once=function(e,t){return new Promise((function(r,n){function o(r){e.removeListener(t,i),n(r)}function i(){"function"==typeof e.removeListener&&e.removeListener("error",o),r([].slice.call(arguments))}g(e,t,i,{once:!0}),"error"!==t&&function(e,t,r){"function"==typeof e.on&&g(e,"error",t,{once:!0})}(e,o)}))},i.EventEmitter=i,i.prototype._events=void 0,i.prototype._eventsCount=0,i.prototype._maxListeners=void 0;var a=10;function s(e){if("function"!=typeof e)throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof e)}function l(e){return void 0===e._maxListeners?i.defaultMaxListeners:e._maxListeners}function c(e,t,r,n){var o,i,a,c;if(s(r),void 0===(i=e._events)?(i=e._events=Object.create(null),e._eventsCount=0):(void 0!==i.newListener&&(e.emit("newListener",t,r.listener?r.listener:r),i=e._events),a=i[t]),void 0===a)a=i[t]=r,++e._eventsCount;else if("function"==typeof a?a=i[t]=n?[r,a]:[a,r]:n?a.unshift(r):a.push(r),(o=l(e))>0&&a.length>o&&!a.warned){a.warned=!0;var u=new Error("Possible EventEmitter memory leak detected. "+a.length+" "+String(t)+" listeners added. Use emitter.setMaxListeners() to increase limit");u.name="MaxListenersExceededWarning",u.emitter=e,u.type=t,u.count=a.length,c=u,console&&console.warn&&console.warn(c)}return e}function u(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,0===arguments.length?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,r){var n={fired:!1,wrapFn:void 0,target:e,type:t,listener:r},o=u.bind(n);return o.listener=r,n.wrapFn=o,o}function f(e,t,r){var n=e._events;if(void 0===n)return[];var o=n[t];return void 0===o?[]:"function"==typeof o?r?[o.listener||o]:[o]:r?function(e){for(var t=new Array(e.length),r=0;r<t.length;++r)t[r]=e[r].listener||e[r];return t}(o):d(o,o.length)}function h(e){var t=this._events;if(void 0!==t){var r=t[e];if("function"==typeof r)return 1;if(void 0!==r)return r.length}return 0}function d(e,t){for(var r=new Array(t),n=0;n<t;++n)r[n]=e[n];return r}function g(e,t,r,n){if("function"==typeof e.on)n.once?e.once(t,r):e.on(t,r);else{if("function"!=typeof e.addEventListener)throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof e);e.addEventListener(t,(function o(i){n.once&&e.removeEventListener(t,o),r(i)}))}}Object.defineProperty(i,"defaultMaxListeners",{enumerable:!0,get:function(){return a},set:function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+e+".");a=e}}),i.init=function(){void 0!==this._events&&this._events!==Object.getPrototypeOf(this)._events||(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},i.prototype.setMaxListeners=function(e){if("number"!=typeof e||e<0||o(e))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+e+".");return this._maxListeners=e,this},i.prototype.getMaxListeners=function(){return l(this)},i.prototype.emit=function(e){for(var t=[],r=1;r<arguments.length;r++)t.push(arguments[r]);var o="error"===e,i=this._events;if(void 0!==i)o=o&&void 0===i.error;else if(!o)return!1;if(o){var a;if(t.length>0&&(a=t[0]),a instanceof Error)throw a;var s=new Error("Unhandled error."+(a?" ("+a.message+")":""));throw s.context=a,s}var l=i[e];if(void 0===l)return!1;if("function"==typeof l)n(l,this,t);else{var c=l.length,u=d(l,c);for(r=0;r<c;++r)n(u[r],this,t)}return!0},i.prototype.addListener=function(e,t){return c(this,e,t,!1)},i.prototype.on=i.prototype.addListener,i.prototype.prependListener=function(e,t){return c(this,e,t,!0)},i.prototype.once=function(e,t){return s(t),this.on(e,p(this,e,t)),this},i.prototype.prependOnceListener=function(e,t){return s(t),this.prependListener(e,p(this,e,t)),this},i.prototype.removeListener=function(e,t){var r,n,o,i,a;if(s(t),void 0===(n=this._events))return this;if(void 0===(r=n[e]))return this;if(r===t||r.listener===t)0==--this._eventsCount?this._events=Object.create(null):(delete n[e],n.removeListener&&this.emit("removeListener",e,r.listener||t));else if("function"!=typeof r){for(o=-1,i=r.length-1;i>=0;i--)if(r[i]===t||r[i].listener===t){a=r[i].listener,o=i;break}if(o<0)return this;0===o?r.shift():function(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}(r,o),1===r.length&&(n[e]=r[0]),void 0!==n.removeListener&&this.emit("removeListener",e,a||t)}return this},i.prototype.off=i.prototype.removeListener,i.prototype.removeAllListeners=function(e){var t,r,n;if(void 0===(r=this._events))return this;if(void 0===r.removeListener)return 0===arguments.length?(this._events=Object.create(null),this._eventsCount=0):void 0!==r[e]&&(0==--this._eventsCount?this._events=Object.create(null):delete r[e]),this;if(0===arguments.length){var o,i=Object.keys(r);for(n=0;n<i.length;++n)"removeListener"!==(o=i[n])&&this.removeAllListeners(o);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if("function"==typeof(t=r[e]))this.removeListener(e,t);else if(void 0!==t)for(n=t.length-1;n>=0;n--)this.removeListener(e,t[n]);return this},i.prototype.listeners=function(e){return f(this,e,!0)},i.prototype.rawListeners=function(e){return f(this,e,!1)},i.listenerCount=function(e,t){return"function"==typeof e.listenerCount?e.listenerCount(t):h.call(e,t)},i.prototype.listenerCount=h,i.prototype.eventNames=function(){return this._eventsCount>0?t(this._events):[]}},8679:function(e,t,r){"use strict";var n=r(9864),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},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||o}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,p=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,d=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(d){var o=h(r);o&&o!==d&&e(t,o,n)}var a=u(r);p&&(a=a.concat(p(r)));for(var s=l(t),g=l(r),m=0;m<a.length;++m){var b=a[m];if(!(i[b]||n&&n[b]||g&&g[b]||s&&s[b])){var v=f(r,b);try{c(t,b,v)}catch(e){}}}}return t}},645:function(e,t){t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,l=(1<<s)-1,c=l>>1,u=-7,p=r?o-1:0,f=r?-1:1,h=e[t+p];for(p+=f,i=h&(1<<-u)-1,h>>=-u,u+=s;u>0;i=256*i+e[t+p],p+=f,u-=8);for(a=i&(1<<-u)-1,i>>=-u,u+=n;u>0;a=256*a+e[t+p],p+=f,u-=8);if(0===i)i=1-c;else{if(i===l)return a?NaN:1/0*(h?-1:1);a+=Math.pow(2,n),i-=c}return(h?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,l,c=8*i-o-1,u=(1<<c)-1,p=u>>1,f=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,h=n?0:i-1,d=n?1:-1,g=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),(t+=a+p>=1?f/l:f*Math.pow(2,1-p))*l>=2&&(a++,l/=2),a+p>=u?(s=0,a=u):a+p>=1?(s=(t*l-1)*Math.pow(2,o),a+=p):(s=t*Math.pow(2,p-1)*Math.pow(2,o),a=0));o>=8;e[r+h]=255&s,h+=d,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+h]=255&a,h+=d,a/=256,c-=8);e[r+h-d]|=128*g}},5717:function(e){"function"==typeof Object.create?e.exports=function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(e,t){if(t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=e}}},8552:function(e,t,r){var n=r(852)(r(5639),"DataView");e.exports=n},1989:function(e,t,r){var n=r(1789),o=r(401),i=r(7667),a=r(1327),s=r(1866);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},8407:function(e,t,r){var n=r(7040),o=r(4125),i=r(2117),a=r(7529),s=r(4705);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},7071:function(e,t,r){var n=r(852)(r(5639),"Map");e.exports=n},3369:function(e,t,r){var n=r(4785),o=r(1285),i=r(6e3),a=r(9916),s=r(5265);function l(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}l.prototype.clear=n,l.prototype.delete=o,l.prototype.get=i,l.prototype.has=a,l.prototype.set=s,e.exports=l},3818:function(e,t,r){var n=r(852)(r(5639),"Promise");e.exports=n},8525:function(e,t,r){var n=r(852)(r(5639),"Set");e.exports=n},8668:function(e,t,r){var n=r(3369),o=r(619),i=r(2385);function a(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new n;++t<r;)this.add(e[t])}a.prototype.add=a.prototype.push=o,a.prototype.has=i,e.exports=a},6384:function(e,t,r){var n=r(8407),o=r(7465),i=r(3779),a=r(7599),s=r(4758),l=r(4309);function c(e){var t=this.__data__=new n(e);this.size=t.size}c.prototype.clear=o,c.prototype.delete=i,c.prototype.get=a,c.prototype.has=s,c.prototype.set=l,e.exports=c},2705:function(e,t,r){var n=r(5639).Symbol;e.exports=n},1149:function(e,t,r){var n=r(5639).Uint8Array;e.exports=n},577:function(e,t,r){var n=r(852)(r(5639),"WeakMap");e.exports=n},6874:function(e){e.exports=function(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}},7412:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n&&!1!==t(e[r],r,e););return e}},4963:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=0,i=[];++r<n;){var a=e[r];t(a,r,e)&&(i[o++]=a)}return i}},4636:function(e,t,r){var n=r(2545),o=r(5694),i=r(1469),a=r(4144),s=r(5776),l=r(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var r=i(e),u=!r&&o(e),p=!r&&!u&&a(e),f=!r&&!u&&!p&&l(e),h=r||u||p||f,d=h?n(e.length,String):[],g=d.length;for(var m in e)!t&&!c.call(e,m)||h&&("length"==m||p&&("offset"==m||"parent"==m)||f&&("buffer"==m||"byteLength"==m||"byteOffset"==m)||s(m,g))||d.push(m);return d}},9932:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}},2488:function(e){e.exports=function(e,t){for(var r=-1,n=t.length,o=e.length;++r<n;)e[o+r]=t[r];return e}},2908:function(e){e.exports=function(e,t){for(var r=-1,n=null==e?0:e.length;++r<n;)if(t(e[r],r,e))return!0;return!1}},6556:function(e,t,r){var n=r(9465),o=r(7813);e.exports=function(e,t,r){(void 0!==r&&!o(e[t],r)||void 0===r&&!(t in e))&&n(e,t,r)}},4865:function(e,t,r){var n=r(9465),o=r(7813),i=Object.prototype.hasOwnProperty;e.exports=function(e,t,r){var a=e[t];i.call(e,t)&&o(a,r)&&(void 0!==r||t in e)||n(e,t,r)}},8470:function(e,t,r){var n=r(7813);e.exports=function(e,t){for(var r=e.length;r--;)if(n(e[r][0],t))return r;return-1}},4037:function(e,t,r){var n=r(8363),o=r(3674);e.exports=function(e,t){return e&&n(t,o(t),e)}},3886:function(e,t,r){var n=r(8363),o=r(1704);e.exports=function(e,t){return e&&n(t,o(t),e)}},9465:function(e,t,r){var n=r(8777);e.exports=function(e,t,r){"__proto__"==t&&n?n(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}},5990:function(e,t,r){var n=r(6384),o=r(7412),i=r(4865),a=r(4037),s=r(3886),l=r(4626),c=r(278),u=r(8805),p=r(1911),f=r(8234),h=r(6904),d=r(4160),g=r(3824),m=r(9148),b=r(8517),v=r(1469),y=r(4144),w=r(6688),x=r(3218),_=r(2928),E=r(3674),S=r(1704),C="[object Arguments]",k="[object Function]",A="[object Object]",O={};O[C]=O["[object Array]"]=O["[object ArrayBuffer]"]=O["[object DataView]"]=O["[object Boolean]"]=O["[object Date]"]=O["[object Float32Array]"]=O["[object Float64Array]"]=O["[object Int8Array]"]=O["[object Int16Array]"]=O["[object Int32Array]"]=O["[object Map]"]=O["[object Number]"]=O[A]=O["[object RegExp]"]=O["[object Set]"]=O["[object String]"]=O["[object Symbol]"]=O["[object Uint8Array]"]=O["[object Uint8ClampedArray]"]=O["[object Uint16Array]"]=O["[object Uint32Array]"]=!0,O["[object Error]"]=O[k]=O["[object WeakMap]"]=!1,e.exports=function e(t,r,T,L,N,R){var j,q=1&r,D=2&r,B=4&r;if(T&&(j=N?T(t,L,N,R):T(t)),void 0!==j)return j;if(!x(t))return t;var P=v(t);if(P){if(j=g(t),!q)return c(t,j)}else{var M=d(t),F=M==k||"[object GeneratorFunction]"==M;if(y(t))return l(t,q);if(M==A||M==C||F&&!N){if(j=D||F?{}:b(t),!q)return D?p(t,s(j,t)):u(t,a(j,t))}else{if(!O[M])return N?t:{};j=m(t,M,q)}}R||(R=new n);var U=R.get(t);if(U)return U;R.set(t,j),_(t)?t.forEach((function(n){j.add(e(n,r,T,n,t,R))})):w(t)&&t.forEach((function(n,o){j.set(o,e(n,r,T,o,t,R))}));var H=P?void 0:(B?D?h:f:D?S:E)(t);return o(H||t,(function(n,o){H&&(n=t[o=n]),i(j,o,e(n,r,T,o,t,R))})),j}},3118:function(e,t,r){var n=r(3218),o=Object.create,i=function(){function e(){}return function(t){if(!n(t))return{};if(o)return o(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}}();e.exports=i},9881:function(e,t,r){var n=r(7816),o=r(9291)(n);e.exports=o},8483:function(e,t,r){var n=r(5063)();e.exports=n},7816:function(e,t,r){var n=r(8483),o=r(3674);e.exports=function(e,t){return e&&n(e,t,o)}},7786:function(e,t,r){var n=r(1811),o=r(327);e.exports=function(e,t){for(var r=0,i=(t=n(t,e)).length;null!=e&&r<i;)e=e[o(t[r++])];return r&&r==i?e:void 0}},8866:function(e,t,r){var n=r(2488),o=r(1469);e.exports=function(e,t,r){var i=t(e);return o(e)?i:n(i,r(e))}},4239:function(e,t,r){var n=r(2705),o=r(9607),i=r(2333),a=n?n.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":a&&a in Object(e)?o(e):i(e)}},13:function(e){e.exports=function(e,t){return null!=e&&t in Object(e)}},9454:function(e,t,r){var n=r(4239),o=r(7005);e.exports=function(e){return o(e)&&"[object Arguments]"==n(e)}},939:function(e,t,r){var n=r(2492),o=r(7005);e.exports=function e(t,r,i,a,s){return t===r||(null==t||null==r||!o(t)&&!o(r)?t!=t&&r!=r:n(t,r,i,a,e,s))}},2492:function(e,t,r){var n=r(6384),o=r(7114),i=r(8351),a=r(6096),s=r(4160),l=r(1469),c=r(4144),u=r(6719),p="[object Arguments]",f="[object Array]",h="[object Object]",d=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,g,m,b){var v=l(e),y=l(t),w=v?f:s(e),x=y?f:s(t),_=(w=w==p?h:w)==h,E=(x=x==p?h:x)==h,S=w==x;if(S&&c(e)){if(!c(t))return!1;v=!0,_=!1}if(S&&!_)return b||(b=new n),v||u(e)?o(e,t,r,g,m,b):i(e,t,w,r,g,m,b);if(!(1&r)){var C=_&&d.call(e,"__wrapped__"),k=E&&d.call(t,"__wrapped__");if(C||k){var A=C?e.value():e,O=k?t.value():t;return b||(b=new n),m(A,O,r,g,b)}}return!!S&&(b||(b=new n),a(e,t,r,g,m,b))}},5588:function(e,t,r){var n=r(4160),o=r(7005);e.exports=function(e){return o(e)&&"[object Map]"==n(e)}},2958:function(e,t,r){var n=r(6384),o=r(939);e.exports=function(e,t,r,i){var a=r.length,s=a,l=!i;if(null==e)return!s;for(e=Object(e);a--;){var c=r[a];if(l&&c[2]?c[1]!==e[c[0]]:!(c[0]in e))return!1}for(;++a<s;){var u=(c=r[a])[0],p=e[u],f=c[1];if(l&&c[2]){if(void 0===p&&!(u in e))return!1}else{var h=new n;if(i)var d=i(p,f,u,e,t,h);if(!(void 0===d?o(f,p,3,i,h):d))return!1}}return!0}},8458:function(e,t,r){var n=r(3560),o=r(5346),i=r(3218),a=r(346),s=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,p=c.hasOwnProperty,f=RegExp("^"+u.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||o(e))&&(n(e)?f:s).test(a(e))}},9221:function(e,t,r){var n=r(4160),o=r(7005);e.exports=function(e){return o(e)&&"[object Set]"==n(e)}},8749:function(e,t,r){var n=r(4239),o=r(1780),i=r(7005),a={};a["[object Float32Array]"]=a["[object Float64Array]"]=a["[object Int8Array]"]=a["[object Int16Array]"]=a["[object Int32Array]"]=a["[object Uint8Array]"]=a["[object Uint8ClampedArray]"]=a["[object Uint16Array]"]=a["[object Uint32Array]"]=!0,a["[object Arguments]"]=a["[object Array]"]=a["[object ArrayBuffer]"]=a["[object Boolean]"]=a["[object DataView]"]=a["[object Date]"]=a["[object Error]"]=a["[object Function]"]=a["[object Map]"]=a["[object Number]"]=a["[object Object]"]=a["[object RegExp]"]=a["[object Set]"]=a["[object String]"]=a["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&o(e.length)&&!!a[n(e)]}},7206:function(e,t,r){var n=r(1573),o=r(6432),i=r(6557),a=r(1469),s=r(9601);e.exports=function(e){return"function"==typeof e?e:null==e?i:"object"==typeof e?a(e)?o(e[0],e[1]):n(e):s(e)}},280:function(e,t,r){var n=r(5726),o=r(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return o(e);var t=[];for(var r in Object(e))i.call(e,r)&&"constructor"!=r&&t.push(r);return t}},313:function(e,t,r){var n=r(3218),o=r(5726),i=r(3498),a=Object.prototype.hasOwnProperty;e.exports=function(e){if(!n(e))return i(e);var t=o(e),r=[];for(var s in e)("constructor"!=s||!t&&a.call(e,s))&&r.push(s);return r}},9199:function(e,t,r){var n=r(9881),o=r(8612);e.exports=function(e,t){var r=-1,i=o(e)?Array(e.length):[];return n(e,(function(e,n,o){i[++r]=t(e,n,o)})),i}},1573:function(e,t,r){var n=r(2958),o=r(1499),i=r(2634);e.exports=function(e){var t=o(e);return 1==t.length&&t[0][2]?i(t[0][0],t[0][1]):function(r){return r===e||n(r,e,t)}}},6432:function(e,t,r){var n=r(939),o=r(7361),i=r(9095),a=r(5403),s=r(9162),l=r(2634),c=r(327);e.exports=function(e,t){return a(e)&&s(t)?l(c(e),t):function(r){var a=o(r,e);return void 0===a&&a===t?i(r,e):n(t,a,3)}}},2980:function(e,t,r){var n=r(6384),o=r(6556),i=r(8483),a=r(9783),s=r(3218),l=r(1704),c=r(6390);e.exports=function e(t,r,u,p,f){t!==r&&i(r,(function(i,l){if(f||(f=new n),s(i))a(t,r,l,u,e,p,f);else{var h=p?p(c(t,l),i,l+"",t,r,f):void 0;void 0===h&&(h=i),o(t,l,h)}}),l)}},9783:function(e,t,r){var n=r(6556),o=r(4626),i=r(7133),a=r(278),s=r(8517),l=r(5694),c=r(1469),u=r(9246),p=r(4144),f=r(3560),h=r(3218),d=r(8630),g=r(6719),m=r(6390),b=r(3678);e.exports=function(e,t,r,v,y,w,x){var _=m(e,r),E=m(t,r),S=x.get(E);if(S)n(e,r,S);else{var C=w?w(_,E,r+"",e,t,x):void 0,k=void 0===C;if(k){var A=c(E),O=!A&&p(E),T=!A&&!O&&g(E);C=E,A||O||T?c(_)?C=_:u(_)?C=a(_):O?(k=!1,C=o(E,!0)):T?(k=!1,C=i(E,!0)):C=[]:d(E)||l(E)?(C=_,l(_)?C=b(_):h(_)&&!f(_)||(C=s(E))):k=!1}k&&(x.set(E,C),y(C,E,v,w,x),x.delete(E)),n(e,r,C)}}},371:function(e){e.exports=function(e){return function(t){return null==t?void 0:t[e]}}},9152:function(e,t,r){var n=r(7786);e.exports=function(e){return function(t){return n(t,e)}}},5976:function(e,t,r){var n=r(6557),o=r(5357),i=r(61);e.exports=function(e,t){return i(o(e,t,n),e+"")}},6560:function(e,t,r){var n=r(5703),o=r(8777),i=r(6557),a=o?function(e,t){return o(e,"toString",{configurable:!0,enumerable:!1,value:n(t),writable:!0})}:i;e.exports=a},2545:function(e){e.exports=function(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}},531:function(e,t,r){var n=r(2705),o=r(9932),i=r(1469),a=r(3448),s=n?n.prototype:void 0,l=s?s.toString:void 0;e.exports=function e(t){if("string"==typeof t)return t;if(i(t))return o(t,e)+"";if(a(t))return l?l.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r}},7561:function(e,t,r){var n=r(7990),o=/^\s+/;e.exports=function(e){return e?e.slice(0,n(e)+1).replace(o,""):e}},7518:function(e){e.exports=function(e){return function(t){return e(t)}}},4757:function(e){e.exports=function(e,t){return e.has(t)}},4290:function(e,t,r){var n=r(6557);e.exports=function(e){return"function"==typeof e?e:n}},1811:function(e,t,r){var n=r(1469),o=r(5403),i=r(5514),a=r(9833);e.exports=function(e,t){return n(e)?e:o(e,t)?[e]:i(a(e))}},4318:function(e,t,r){var n=r(1149);e.exports=function(e){var t=new e.constructor(e.byteLength);return new n(t).set(new n(e)),t}},4626:function(e,t,r){e=r.nmd(e);var n=r(5639),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=a?a.allocUnsafe:void 0;e.exports=function(e,t){if(t)return e.slice();var r=e.length,n=s?s(r):new e.constructor(r);return e.copy(n),n}},7157:function(e,t,r){var n=r(4318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}},3147:function(e){var t=/\w*$/;e.exports=function(e){var r=new e.constructor(e.source,t.exec(e));return r.lastIndex=e.lastIndex,r}},419:function(e,t,r){var n=r(2705),o=n?n.prototype:void 0,i=o?o.valueOf:void 0;e.exports=function(e){return i?Object(i.call(e)):{}}},7133:function(e,t,r){var n=r(4318);e.exports=function(e,t){var r=t?n(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}},278:function(e){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}},8363:function(e,t,r){var n=r(4865),o=r(9465);e.exports=function(e,t,r,i){var a=!r;r||(r={});for(var s=-1,l=t.length;++s<l;){var c=t[s],u=i?i(r[c],e[c],c,r,e):void 0;void 0===u&&(u=e[c]),a?o(r,c,u):n(r,c,u)}return r}},8805:function(e,t,r){var n=r(8363),o=r(9551);e.exports=function(e,t){return n(e,o(e),t)}},1911:function(e,t,r){var n=r(8363),o=r(1442);e.exports=function(e,t){return n(e,o(e),t)}},4429:function(e,t,r){var n=r(5639)["__core-js_shared__"];e.exports=n},1463:function(e,t,r){var n=r(5976),o=r(6612);e.exports=function(e){return n((function(t,r){var n=-1,i=r.length,a=i>1?r[i-1]:void 0,s=i>2?r[2]:void 0;for(a=e.length>3&&"function"==typeof a?(i--,a):void 0,s&&o(r[0],r[1],s)&&(a=i<3?void 0:a,i=1),t=Object(t);++n<i;){var l=r[n];l&&e(t,l,n,a)}return t}))}},9291:function(e,t,r){var n=r(8612);e.exports=function(e,t){return function(r,o){if(null==r)return r;if(!n(r))return e(r,o);for(var i=r.length,a=t?i:-1,s=Object(r);(t?a--:++a<i)&&!1!==o(s[a],a,s););return r}}},5063:function(e){e.exports=function(e){return function(t,r,n){for(var o=-1,i=Object(t),a=n(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===r(i[l],l,i))break}return t}}},8777:function(e,t,r){var n=r(852),o=function(){try{var e=n(Object,"defineProperty");return e({},"",{}),e}catch(e){}}();e.exports=o},7114:function(e,t,r){var n=r(8668),o=r(2908),i=r(4757);e.exports=function(e,t,r,a,s,l){var c=1&r,u=e.length,p=t.length;if(u!=p&&!(c&&p>u))return!1;var f=l.get(e),h=l.get(t);if(f&&h)return f==t&&h==e;var d=-1,g=!0,m=2&r?new n:void 0;for(l.set(e,t),l.set(t,e);++d<u;){var b=e[d],v=t[d];if(a)var y=c?a(v,b,d,t,e,l):a(b,v,d,e,t,l);if(void 0!==y){if(y)continue;g=!1;break}if(m){if(!o(t,(function(e,t){if(!i(m,t)&&(b===e||s(b,e,r,a,l)))return m.push(t)}))){g=!1;break}}else if(b!==v&&!s(b,v,r,a,l)){g=!1;break}}return l.delete(e),l.delete(t),g}},8351:function(e,t,r){var n=r(2705),o=r(1149),i=r(7813),a=r(7114),s=r(8776),l=r(1814),c=n?n.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,r,n,c,p,f){switch(r){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!p(new o(e),new o(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var h=s;case"[object Set]":var d=1&n;if(h||(h=l),e.size!=t.size&&!d)return!1;var g=f.get(e);if(g)return g==t;n|=2,f.set(e,t);var m=a(h(e),h(t),n,c,p,f);return f.delete(e),m;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:function(e,t,r){var n=r(8234),o=Object.prototype.hasOwnProperty;e.exports=function(e,t,r,i,a,s){var l=1&r,c=n(e),u=c.length;if(u!=n(t).length&&!l)return!1;for(var p=u;p--;){var f=c[p];if(!(l?f in t:o.call(t,f)))return!1}var h=s.get(e),d=s.get(t);if(h&&d)return h==t&&d==e;var g=!0;s.set(e,t),s.set(t,e);for(var m=l;++p<u;){var b=e[f=c[p]],v=t[f];if(i)var y=l?i(v,b,f,t,e,s):i(b,v,f,e,t,s);if(!(void 0===y?b===v||a(b,v,r,i,s):y)){g=!1;break}m||(m="constructor"==f)}if(g&&!m){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return s.delete(e),s.delete(t),g}},1957:function(e,t,r){var n="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g;e.exports=n},8234:function(e,t,r){var n=r(8866),o=r(9551),i=r(3674);e.exports=function(e){return n(e,i,o)}},6904:function(e,t,r){var n=r(8866),o=r(1442),i=r(1704);e.exports=function(e){return n(e,i,o)}},5050:function(e,t,r){var n=r(7019);e.exports=function(e,t){var r=e.__data__;return n(t)?r["string"==typeof t?"string":"hash"]:r.map}},1499:function(e,t,r){var n=r(9162),o=r(3674);e.exports=function(e){for(var t=o(e),r=t.length;r--;){var i=t[r],a=e[i];t[r]=[i,a,n(a)]}return t}},852:function(e,t,r){var n=r(8458),o=r(7801);e.exports=function(e,t){var r=o(e,t);return n(r)?r:void 0}},5924:function(e,t,r){var n=r(5569)(Object.getPrototypeOf,Object);e.exports=n},9607:function(e,t,r){var n=r(2705),o=Object.prototype,i=o.hasOwnProperty,a=o.toString,s=n?n.toStringTag:void 0;e.exports=function(e){var t=i.call(e,s),r=e[s];try{e[s]=void 0;var n=!0}catch(e){}var o=a.call(e);return n&&(t?e[s]=r:delete e[s]),o}},9551:function(e,t,r){var n=r(4963),o=r(479),i=Object.prototype.propertyIsEnumerable,a=Object.getOwnPropertySymbols,s=a?function(e){return null==e?[]:(e=Object(e),n(a(e),(function(t){return i.call(e,t)})))}:o;e.exports=s},1442:function(e,t,r){var n=r(2488),o=r(5924),i=r(9551),a=r(479),s=Object.getOwnPropertySymbols?function(e){for(var t=[];e;)n(t,i(e)),e=o(e);return t}:a;e.exports=s},4160:function(e,t,r){var n=r(8552),o=r(7071),i=r(3818),a=r(8525),s=r(577),l=r(4239),c=r(346),u="[object Map]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",d="[object DataView]",g=c(n),m=c(o),b=c(i),v=c(a),y=c(s),w=l;(n&&w(new n(new ArrayBuffer(1)))!=d||o&&w(new o)!=u||i&&w(i.resolve())!=p||a&&w(new a)!=f||s&&w(new s)!=h)&&(w=function(e){var t=l(e),r="[object Object]"==t?e.constructor:void 0,n=r?c(r):"";if(n)switch(n){case g:return d;case m:return u;case b:return p;case v:return f;case y:return h}return t}),e.exports=w},7801:function(e){e.exports=function(e,t){return null==e?void 0:e[t]}},222:function(e,t,r){var n=r(1811),o=r(5694),i=r(1469),a=r(5776),s=r(1780),l=r(327);e.exports=function(e,t,r){for(var c=-1,u=(t=n(t,e)).length,p=!1;++c<u;){var f=l(t[c]);if(!(p=null!=e&&r(e,f)))break;e=e[f]}return p||++c!=u?p:!!(u=null==e?0:e.length)&&s(u)&&a(f,u)&&(i(e)||o(e))}},1789:function(e,t,r){var n=r(4536);e.exports=function(){this.__data__=n?n(null):{},this.size=0}},401:function(e){e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:function(e,t,r){var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(n){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return o.call(t,e)?t[e]:void 0}},1327:function(e,t,r){var n=r(4536),o=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return n?void 0!==t[e]:o.call(t,e)}},1866:function(e,t,r){var n=r(4536);e.exports=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=n&&void 0===t?"__lodash_hash_undefined__":t,this}},3824:function(e){var t=Object.prototype.hasOwnProperty;e.exports=function(e){var r=e.length,n=new e.constructor(r);return r&&"string"==typeof e[0]&&t.call(e,"index")&&(n.index=e.index,n.input=e.input),n}},9148:function(e,t,r){var n=r(4318),o=r(7157),i=r(3147),a=r(419),s=r(7133);e.exports=function(e,t,r){var l=e.constructor;switch(t){case"[object ArrayBuffer]":return n(e);case"[object Boolean]":case"[object Date]":return new l(+e);case"[object DataView]":return o(e,r);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return s(e,r);case"[object Map]":case"[object Set]":return new l;case"[object Number]":case"[object String]":return new l(e);case"[object RegExp]":return i(e);case"[object Symbol]":return a(e)}}},8517:function(e,t,r){var n=r(3118),o=r(5924),i=r(5726);e.exports=function(e){return"function"!=typeof e.constructor||i(e)?{}:n(o(e))}},5776:function(e){var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,r){var n=typeof e;return!!(r=null==r?9007199254740991:r)&&("number"==n||"symbol"!=n&&t.test(e))&&e>-1&&e%1==0&&e<r}},6612:function(e,t,r){var n=r(7813),o=r(8612),i=r(5776),a=r(3218);e.exports=function(e,t,r){if(!a(r))return!1;var s=typeof t;return!!("number"==s?o(r)&&i(t,r.length):"string"==s&&t in r)&&n(r[t],e)}},5403:function(e,t,r){var n=r(1469),o=r(3448),i=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,a=/^\w*$/;e.exports=function(e,t){if(n(e))return!1;var r=typeof e;return!("number"!=r&&"symbol"!=r&&"boolean"!=r&&null!=e&&!o(e))||a.test(e)||!i.test(e)||null!=t&&e in Object(t)}},7019:function(e){e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:function(e,t,r){var n,o=r(4429),i=(n=/[^.]+$/.exec(o&&o.keys&&o.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";e.exports=function(e){return!!i&&i in e}},5726:function(e){var t=Object.prototype;e.exports=function(e){var r=e&&e.constructor;return e===("function"==typeof r&&r.prototype||t)}},9162:function(e,t,r){var n=r(3218);e.exports=function(e){return e==e&&!n(e)}},7040:function(e){e.exports=function(){this.__data__=[],this.size=0}},4125:function(e,t,r){var n=r(8470),o=Array.prototype.splice;e.exports=function(e){var t=this.__data__,r=n(t,e);return!(r<0||(r==t.length-1?t.pop():o.call(t,r,1),--this.size,0))}},2117:function(e,t,r){var n=r(8470);e.exports=function(e){var t=this.__data__,r=n(t,e);return r<0?void 0:t[r][1]}},7529:function(e,t,r){var n=r(8470);e.exports=function(e){return n(this.__data__,e)>-1}},4705:function(e,t,r){var n=r(8470);e.exports=function(e,t){var r=this.__data__,o=n(r,e);return o<0?(++this.size,r.push([e,t])):r[o][1]=t,this}},4785:function(e,t,r){var n=r(1989),o=r(8407),i=r(7071);e.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||o),string:new n}}},1285:function(e,t,r){var n=r(5050);e.exports=function(e){var t=n(this,e).delete(e);return this.size-=t?1:0,t}},6e3:function(e,t,r){var n=r(5050);e.exports=function(e){return n(this,e).get(e)}},9916:function(e,t,r){var n=r(5050);e.exports=function(e){return n(this,e).has(e)}},5265:function(e,t,r){var n=r(5050);e.exports=function(e,t){var r=n(this,e),o=r.size;return r.set(e,t),this.size+=r.size==o?0:1,this}},8776:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}},2634:function(e){e.exports=function(e,t){return function(r){return null!=r&&r[e]===t&&(void 0!==t||e in Object(r))}}},4523:function(e,t,r){var n=r(8306);e.exports=function(e){var t=n(e,(function(e){return 500===r.size&&r.clear(),e})),r=t.cache;return t}},4536:function(e,t,r){var n=r(852)(Object,"create");e.exports=n},6916:function(e,t,r){var n=r(5569)(Object.keys,Object);e.exports=n},3498:function(e){e.exports=function(e){var t=[];if(null!=e)for(var r in Object(e))t.push(r);return t}},1167:function(e,t,r){e=r.nmd(e);var n=r(1957),o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o&&n.process,s=function(){try{return i&&i.require&&i.require("util").types||a&&a.binding&&a.binding("util")}catch(e){}}();e.exports=s},2333:function(e){var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:function(e){e.exports=function(e,t){return function(r){return e(t(r))}}},5357:function(e,t,r){var n=r(6874),o=Math.max;e.exports=function(e,t,r){return t=o(void 0===t?e.length-1:t,0),function(){for(var i=arguments,a=-1,s=o(i.length-t,0),l=Array(s);++a<s;)l[a]=i[t+a];a=-1;for(var c=Array(t+1);++a<t;)c[a]=i[a];return c[t]=r(l),n(e,this,c)}}},5639:function(e,t,r){var n=r(1957),o="object"==typeof self&&self&&self.Object===Object&&self,i=n||o||Function("return this")();e.exports=i},6390:function(e){e.exports=function(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}},619:function(e){e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:function(e){e.exports=function(e){return this.__data__.has(e)}},1814:function(e){e.exports=function(e){var t=-1,r=Array(e.size);return e.forEach((function(e){r[++t]=e})),r}},61:function(e,t,r){var n=r(6560),o=r(1275)(n);e.exports=o},1275:function(e){var t=Date.now;e.exports=function(e){var r=0,n=0;return function(){var o=t(),i=16-(o-n);if(n=o,i>0){if(++r>=800)return arguments[0]}else r=0;return e.apply(void 0,arguments)}}},7465:function(e,t,r){var n=r(8407);e.exports=function(){this.__data__=new n,this.size=0}},3779:function(e){e.exports=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}},7599:function(e){e.exports=function(e){return this.__data__.get(e)}},4758:function(e){e.exports=function(e){return this.__data__.has(e)}},4309:function(e,t,r){var n=r(8407),o=r(7071),i=r(3369);e.exports=function(e,t){var r=this.__data__;if(r instanceof n){var a=r.__data__;if(!o||a.length<199)return a.push([e,t]),this.size=++r.size,this;r=this.__data__=new i(a)}return r.set(e,t),this.size=r.size,this}},5514:function(e,t,r){var n=r(4523),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,a=n((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(o,(function(e,r,n,o){t.push(n?o.replace(i,"$1"):r||e)})),t}));e.exports=a},327:function(e,t,r){var n=r(3448);e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t}},346:function(e){var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:function(e){var t=/\s/;e.exports=function(e){for(var r=e.length;r--&&t.test(e.charAt(r)););return r}},361:function(e,t,r){var n=r(5990);e.exports=function(e){return n(e,5)}},5703:function(e){e.exports=function(e){return function(){return e}}},3279:function(e,t,r){var n=r(3218),o=r(7771),i=r(4841),a=Math.max,s=Math.min;e.exports=function(e,t,r){var l,c,u,p,f,h,d=0,g=!1,m=!1,b=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function v(t){var r=l,n=c;return l=c=void 0,d=t,p=e.apply(n,r)}function y(e){return d=e,f=setTimeout(x,t),g?v(e):p}function w(e){var r=e-h;return void 0===h||r>=t||r<0||m&&e-d>=u}function x(){var e=o();if(w(e))return _(e);f=setTimeout(x,function(e){var r=t-(e-h);return m?s(r,u-(e-d)):r}(e))}function _(e){return f=void 0,b&&l?v(e):(l=c=void 0,p)}function E(){var e=o(),r=w(e);if(l=arguments,c=this,h=e,r){if(void 0===f)return y(h);if(m)return clearTimeout(f),f=setTimeout(x,t),v(h)}return void 0===f&&(f=setTimeout(x,t)),p}return t=i(t)||0,n(r)&&(g=!!r.leading,u=(m="maxWait"in r)?a(i(r.maxWait)||0,t):u,b="trailing"in r?!!r.trailing:b),E.cancel=function(){void 0!==f&&clearTimeout(f),d=0,l=h=c=f=void 0},E.flush=function(){return void 0===f?p:_(o())},E}},6073:function(e,t,r){e.exports=r(4486)},7813:function(e){e.exports=function(e,t){return e===t||e!=e&&t!=t}},4486:function(e,t,r){var n=r(7412),o=r(9881),i=r(4290),a=r(1469);e.exports=function(e,t){return(a(e)?n:o)(e,i(t))}},2525:function(e,t,r){var n=r(7816),o=r(4290);e.exports=function(e,t){return e&&n(e,o(t))}},7361:function(e,t,r){var n=r(7786);e.exports=function(e,t,r){var o=null==e?void 0:n(e,t);return void 0===o?r:o}},9095:function(e,t,r){var n=r(13),o=r(222);e.exports=function(e,t){return null!=e&&o(e,t,n)}},6557:function(e){e.exports=function(e){return e}},5694:function(e,t,r){var n=r(9454),o=r(7005),i=Object.prototype,a=i.hasOwnProperty,s=i.propertyIsEnumerable,l=n(function(){return arguments}())?n:function(e){return o(e)&&a.call(e,"callee")&&!s.call(e,"callee")};e.exports=l},1469:function(e){var t=Array.isArray;e.exports=t},8612:function(e,t,r){var n=r(3560),o=r(1780);e.exports=function(e){return null!=e&&o(e.length)&&!n(e)}},9246:function(e,t,r){var n=r(8612),o=r(7005);e.exports=function(e){return o(e)&&n(e)}},4144:function(e,t,r){e=r.nmd(e);var n=r(5639),o=r(5062),i=t&&!t.nodeType&&t,a=i&&e&&!e.nodeType&&e,s=a&&a.exports===i?n.Buffer:void 0,l=(s?s.isBuffer:void 0)||o;e.exports=l},3560:function(e,t,r){var n=r(4239),o=r(3218);e.exports=function(e){if(!o(e))return!1;var t=n(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:function(e){e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},6688:function(e,t,r){var n=r(5588),o=r(7518),i=r(1167),a=i&&i.isMap,s=a?o(a):n;e.exports=s},3218:function(e){e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:function(e){e.exports=function(e){return null!=e&&"object"==typeof e}},8630:function(e,t,r){var n=r(4239),o=r(5924),i=r(7005),a=Function.prototype,s=Object.prototype,l=a.toString,c=s.hasOwnProperty,u=l.call(Object);e.exports=function(e){if(!i(e)||"[object Object]"!=n(e))return!1;var t=o(e);if(null===t)return!0;var r=c.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&l.call(r)==u}},2928:function(e,t,r){var n=r(9221),o=r(7518),i=r(1167),a=i&&i.isSet,s=a?o(a):n;e.exports=s},7037:function(e,t,r){var n=r(4239),o=r(1469),i=r(7005);e.exports=function(e){return"string"==typeof e||!o(e)&&i(e)&&"[object String]"==n(e)}},3448:function(e,t,r){var n=r(4239),o=r(7005);e.exports=function(e){return"symbol"==typeof e||o(e)&&"[object Symbol]"==n(e)}},6719:function(e,t,r){var n=r(8749),o=r(7518),i=r(1167),a=i&&i.isTypedArray,s=a?o(a):n;e.exports=s},2353:function(e){e.exports=function(e){return void 0===e}},3674:function(e,t,r){var n=r(4636),o=r(280),i=r(8612);e.exports=function(e){return i(e)?n(e):o(e)}},1704:function(e,t,r){var n=r(4636),o=r(313),i=r(8612);e.exports=function(e){return i(e)?n(e,!0):o(e)}},5161:function(e,t,r){var n=r(9932),o=r(7206),i=r(9199),a=r(1469);e.exports=function(e,t){return(a(e)?n:i)(e,o(t,3))}},8306:function(e,t,r){var n=r(3369);function o(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var r=function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var a=e.apply(this,n);return r.cache=i.set(o,a)||i,a};return r.cache=new(o.Cache||n),r}o.Cache=n,e.exports=o},3857:function(e,t,r){var n=r(2980),o=r(1463)((function(e,t,r){n(e,t,r)}));e.exports=o},7771:function(e,t,r){var n=r(5639);e.exports=function(){return n.Date.now()}},9601:function(e,t,r){var n=r(371),o=r(9152),i=r(5403),a=r(327);e.exports=function(e){return i(e)?n(a(e)):o(e)}},479:function(e){e.exports=function(){return[]}},5062:function(e){e.exports=function(){return!1}},3493:function(e,t,r){var n=r(3279),o=r(3218);e.exports=function(e,t,r){var i=!0,a=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return o(r)&&(i="leading"in r?!!r.leading:i,a="trailing"in r?!!r.trailing:a),n(e,t,{leading:i,maxWait:t,trailing:a})}},4841:function(e,t,r){var n=r(7561),o=r(3218),i=r(3448),a=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=n(e);var r=s.test(e);return r||l.test(e)?c(e.slice(2),r?2:8):a.test(e)?NaN:+e}},3678:function(e,t,r){var n=r(8363),o=r(1704);e.exports=function(e){return n(e,o(e))}},9833:function(e,t,r){var n=r(531);e.exports=function(e){return null==e?"":n(e)}},4779:function(e,t,r){var n=r(6173);e.exports=function e(t,r,o){return n(r)||(o=r||o,r=[]),o=o||{},t 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 u(e,t)}(t,r):n(t)?function(t,r,n){for(var o=[],i=0;i<t.length;i++)o.push(e(t[i],r,n).source);return u(new RegExp("(?:"+o.join("|")+")",p(n)),r)}(t,r,o):function(e,t,r){return f(i(e,r),t,r)}(t,r,o)},e.exports.parse=i,e.exports.compile=function(e,t){return s(i(e,t),t)},e.exports.tokensToFunction=s,e.exports.tokensToRegExp=f;var o=new RegExp(["(\\\\.)","([\\/.])?(?:(?:\\:(\\w+)(?:\\(((?:\\\\.|[^\\\\()])+)\\))?|\\(((?:\\\\.|[^\\\\()])+)\\))([+*?])?|(\\*))"].join("|"),"g");function i(e,t){for(var r,n=[],i=0,a=0,s="",u=t&&t.delimiter||"/";null!=(r=o.exec(e));){var p=r[0],f=r[1],h=r.index;if(s+=e.slice(a,h),a=h+p.length,f)s+=f[1];else{var d=e[a],g=r[2],m=r[3],b=r[4],v=r[5],y=r[6],w=r[7];s&&(n.push(s),s="");var x=null!=g&&null!=d&&d!==g,_="+"===y||"*"===y,E="?"===y||"*"===y,S=r[2]||u,C=b||v;n.push({name:m||i++,prefix:g||"",delimiter:S,optional:E,repeat:_,partial:x,asterisk:!!w,pattern:C?c(C):w?".*":"[^"+l(S)+"]+?"})}}return a<e.length&&(s+=e.substr(a)),s&&n.push(s),n}function a(e){return encodeURI(e).replace(/[\/?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}))}function s(e,t){for(var r=new Array(e.length),o=0;o<e.length;o++)"object"==typeof e[o]&&(r[o]=new RegExp("^(?:"+e[o].pattern+")$",p(t)));return function(t,o){for(var i="",s=t||{},l=(o||{}).pretty?a:encodeURIComponent,c=0;c<e.length;c++){var u=e[c];if("string"!=typeof u){var p,f=s[u.name];if(null==f){if(u.optional){u.partial&&(i+=u.prefix);continue}throw new TypeError('Expected "'+u.name+'" to be defined')}if(n(f)){if(!u.repeat)throw new TypeError('Expected "'+u.name+'" to not repeat, but received `'+JSON.stringify(f)+"`");if(0===f.length){if(u.optional)continue;throw new TypeError('Expected "'+u.name+'" to not be empty')}for(var h=0;h<f.length;h++){if(p=l(f[h]),!r[c].test(p))throw new TypeError('Expected all "'+u.name+'" to match "'+u.pattern+'", but received `'+JSON.stringify(p)+"`");i+=(0===h?u.prefix:u.delimiter)+p}}else{if(p=u.asterisk?encodeURI(f).replace(/[?#]/g,(function(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()})):l(f),!r[c].test(p))throw new TypeError('Expected "'+u.name+'" to match "'+u.pattern+'", but received "'+p+'"');i+=u.prefix+p}}else i+=u}return i}}function l(e){return e.replace(/([.+*?=^!:${}()[\]|\/\\])/g,"\\$1")}function c(e){return e.replace(/([=!:$\/()])/g,"\\$1")}function u(e,t){return e.keys=t,e}function p(e){return e&&e.sensitive?"":"i"}function f(e,t,r){n(t)||(r=t||r,t=[]);for(var o=(r=r||{}).strict,i=!1!==r.end,a="",s=0;s<e.length;s++){var c=e[s];if("string"==typeof c)a+=l(c);else{var f=l(c.prefix),h="(?:"+c.pattern+")";t.push(c),c.repeat&&(h+="(?:"+f+h+")*"),a+=h=c.optional?c.partial?f+"("+h+")?":"(?:"+f+"("+h+"))?":f+"("+h+")"}}var d=l(r.delimiter||"/"),g=a.slice(-d.length)===d;return o||(a=(g?a.slice(0,-d.length):a)+"(?:"+d+"(?=$))?"),a+=i?"$":o&&g?"":"(?="+d+"|$)",u(new RegExp("^"+a,p(r)),t)}},6173:function(e){e.exports=Array.isArray||function(e){return"[object Array]"==Object.prototype.toString.call(e)}},2703:function(e,t,r){"use strict";var n=r(414);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,i,a){if(a!==n){var s=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 s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint: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}},5697:function(e,t,r){e.exports=r(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},4887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=t.decodeEntities,i=void 0===r||r,a=t.transform,s=t.preprocessNodes,l=void 0===s?function(e){return e}:s,c=l(n.default.parseDOM(e,{decodeEntities:i}));return(0,o.default)(c,a)};var n=i(r(6842)),o=i(r(6630));function i(e){return e&&e.__esModule?e:{default:e}}},5324:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){return o.default[e.type](e,t,r)};var n,o=(n=r(532))&&n.__esModule?n:{default:n}},5888:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["allowfullScreen","async","autoplay","capture","checked","controls","default","defer","disabled","formnovalidate","hidden","loop","multiple","muted","novalidate","open","playsinline","readonly","required","reversed","scoped","seamless","selected","itemscope"]},5260:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={accept:"accept","accept-charset":"acceptCharset",accesskey:"accessKey",action:"action",allowfullscreen:"allowFullScreen",allowtransparency:"allowTransparency",alt:"alt",as:"as",async:"async",autocomplete:"autoComplete",autoplay:"autoPlay",capture:"capture",cellpadding:"cellPadding",cellspacing:"cellSpacing",charset:"charSet",challenge:"challenge",checked:"checked",cite:"cite",classid:"classID",class:"className",cols:"cols",colspan:"colSpan",content:"content",contenteditable:"contentEditable",contextmenu:"contextMenu",controls:"controls",controlsList:"controlsList",coords:"coords",crossorigin:"crossOrigin",data:"data",datetime:"dateTime",default:"default",defer:"defer",dir:"dir",disabled:"disabled",download:"download",draggable:"draggable",enctype:"encType",form:"form",formaction:"formAction",formenctype:"formEncType",formmethod:"formMethod",formnovalidate:"formNoValidate",formtarget:"formTarget",frameborder:"frameBorder",headers:"headers",height:"height",hidden:"hidden",high:"high",href:"href",hreflang:"hrefLang",for:"htmlFor","http-equiv":"httpEquiv",icon:"icon",id:"id",inputmode:"inputMode",integrity:"integrity",is:"is",keyparams:"keyParams",keytype:"keyType",kind:"kind",label:"label",lang:"lang",list:"list",loop:"loop",low:"low",manifest:"manifest",marginheight:"marginHeight",marginwidth:"marginWidth",max:"max",maxlength:"maxLength",media:"media",mediagroup:"mediaGroup",method:"method",min:"min",minlength:"minLength",multiple:"multiple",muted:"muted",name:"name",nonce:"nonce",novalidate:"noValidate",open:"open",optimum:"optimum",pattern:"pattern",placeholder:"placeholder",playsinline:"playsInline",poster:"poster",preload:"preload",profile:"profile",radiogroup:"radioGroup",readonly:"readOnly",referrerpolicy:"referrerPolicy",rel:"rel",required:"required",reversed:"reversed",role:"role",rows:"rows",rowspan:"rowSpan",sandbox:"sandbox",scope:"scope",scoped:"scoped",scrolling:"scrolling",seamless:"seamless",selected:"selected",shape:"shape",size:"size",sizes:"sizes",slot:"slot",span:"span",spellcheck:"spellCheck",src:"src",srcdoc:"srcDoc",srclang:"srcLang",srcset:"srcSet",start:"start",step:"step",style:"style",summary:"summary",tabindex:"tabIndex",target:"target",title:"title",type:"type",usemap:"useMap",value:"value",width:"width",wmode:"wmode",wrap:"wrap",about:"about",datatype:"datatype",inlist:"inlist",prefix:"prefix",property:"property",resource:"resource",typeof:"typeof",vocab:"vocab",autocapitalize:"autoCapitalize",autocorrect:"autoCorrect",autosave:"autoSave",color:"color",itemprop:"itemProp",itemscope:"itemScope",itemtype:"itemType",itemid:"itemID",itemref:"itemRef",results:"results",security:"security",unselectable:"unselectable"}},3662:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=["area","base","br","col","command","embed","hr","img","input","keygen","link","meta","param","source","track","wbr"]},5961:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r=void 0;e.children.length>0&&(r=e.children[0].data);var i=(0,o.default)(e.attribs,t);return n.default.createElement("style",i,r)};var n=i(r(9196)),o=i(r(8024));function i(e){return e&&e.__esModule?e:{default:e}}},2593:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){var l=e.name;if(!(0,s.default)(l))return null;var c=(0,i.default)(e.attribs,t),u=null;return-1===a.default.indexOf(l)&&(u=(0,o.default)(e.children,r)),n.default.createElement(l,c,u)};var n=l(r(9196)),o=l(r(6630)),i=l(r(8024)),a=l(r(3662)),s=l(r(2536));function l(e){return e&&e.__esModule?e:{default:e}}},3180:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e.data}},2608:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){return null}},532:function(e,t,r){"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0});var o=r(6842),i=c(r(3180)),a=c(r(2593)),s=c(r(5961)),l=c(r(2608));function c(e){return e&&e.__esModule?e:{default:e}}function u(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}t.default=(u(n={},o.ElementType.Text,i.default),u(n,o.ElementType.Tag,a.default),u(n,o.ElementType.Style,s.default),u(n,o.ElementType.Directive,l.default),u(n,o.ElementType.Comment,l.default),u(n,o.ElementType.Script,l.default),u(n,o.ElementType.CDATA,l.default),u(n,o.ElementType.Doctype,l.default),n)},653:function(e,t,r){"use strict";r(6630),r(5324),r(6842);var n,o=(n=r(4887))&&n.__esModule?n:{default:n};t.ZP=o.default},6630:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){return e.filter((function(e){return!(0,n.default)(e)})).map((function(e,r){var n=void 0;return"function"!=typeof t||null!==(n=t(e,r))&&!n?(0,o.default)(e,r,t):n}))};var n=i(r(2057)),o=i(r(5324));function i(e){return e&&e.__esModule?e:{default:e}}},8024: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,t){var r=n({},(0,o.default)(e),{key:t});return"string"==typeof r.style||r.style instanceof String?r.style=(0,i.default)(r.style):delete r.style,r};var o=a(r(4381)),i=a(r(3083));function a(e){return e&&e.__esModule?e:{default:e}}},4381:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return Object.keys(e).filter((function(e){return(0,i.default)(e)})).reduce((function(t,r){var i=r.toLowerCase(),a=o.default[i]||i;return t[a]=function(e,t){return n.default.map((function(e){return e.toLowerCase()})).indexOf(e.toLowerCase())>=0&&(t=e),t}(a,e[r]),t}),{})};var n=a(r(5888)),o=a(r(5260)),i=a(r(2536));function a(e){return e&&e.__esModule?e:{default:e}}},3083:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=function(e,t){if(Array.isArray(e))return e;if(Symbol.iterator in Object(e))return function(e,t){var r=[],_n=!0,n=!1,o=void 0;try{for(var i,a=e[Symbol.iterator]();!(_n=(i=a.next()).done)&&(r.push(i.value),!t||r.length!==t);_n=!0);}catch(e){n=!0,o=e}finally{try{!_n&&a.return&&a.return()}finally{if(n)throw o}}return r}(e,t);throw new TypeError("Invalid attempt to destructure non-iterable instance")};t.default=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return""===e?{}:e.split(";").reduce((function(e,t){var n=t.split(/^([^:]+):/).filter((function(e,t){return t>0})).map((function(e){return e.trim().toLowerCase()})),o=r(n,2),i=o[0],a=o[1];return void 0===a||(e[i=i.replace(/^-ms-/,"ms-").replace(/-(.)/g,(function(e,t){return t.toUpperCase()}))]=a),e}),{})}},2057:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return"text"===e.type&&/\r?\n/.test(e.data)&&""===e.data.trim()}},2536:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return n.hasOwnProperty(e)||(n[e]=r.test(e)),n[e]};var r=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,n={}},8472:function(e,t,r){var n=r(5025),o=r(713),i=r(5287);i.elementNames.__proto__=null,i.attributeNames.__proto__=null;var a={__proto__:null,style:!0,script:!0,xmp:!0,iframe:!0,noembed:!0,noframes:!0,plaintext:!0,noscript:!0},s={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},l=e.exports=function(e,t){Array.isArray(e)||e.cheerio||(e=[e]),t=t||{};for(var r="",o=0;o<e.length;o++){var i=e[o];"root"===i.type?r+=l(i.children,t):n.isTag(i)?r+=u(i,t):i.type===n.Directive?r+=p(i):i.type===n.Comment?r+=d(i):i.type===n.CDATA?r+=h(i):r+=f(i,t)}return r},c=["mi","mo","mn","ms","mtext","annotation-xml","foreignObject","desc","title"];function u(e,t){"foreign"===t.xmlMode&&(e.name=i.elementNames[e.name]||e.name,e.parent&&c.indexOf(e.parent.name)>=0&&(t=Object.assign({},t,{xmlMode:!1}))),!t.xmlMode&&["svg","math"].indexOf(e.name)>=0&&(t=Object.assign({},t,{xmlMode:"foreign"}));var r="<"+e.name,n=function(e,t){if(e){var r,n="";for(var a in e)r=e[a],n&&(n+=" "),"foreign"===t.xmlMode&&(a=i.attributeNames[a]||a),n+=a,(null!==r&&""!==r||t.xmlMode)&&(n+='="'+(t.decodeEntities?o.encodeXML(r):r.replace(/\"/g,"""))+'"');return n}}(e.attribs,t);return n&&(r+=" "+n),!t.xmlMode||e.children&&0!==e.children.length?(r+=">",e.children&&(r+=l(e.children,t)),s[e.name]&&!t.xmlMode||(r+="</"+e.name+">")):r+="/>",r}function p(e){return"<"+e.data+">"}function f(e,t){var r=e.data||"";return!t.decodeEntities||e.parent&&e.parent.name in a||(r=o.encodeXML(r)),r}function h(e){return"<![CDATA["+e.children[0].data+"]]>"}function d(e){return"\x3c!--"+e.data+"--\x3e"}},5025:function(e,t){"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(r=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===r.Tag||e.type===r.Script||e.type===r.Style},t.Root=r.Root,t.Text=r.Text,t.Directive=r.Directive,t.Comment=r.Comment,t.Script=r.Script,t.Style=r.Style,t.Tag=r.Tag,t.CDATA=r.CDATA,t.Doctype=r.Doctype},2753:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.decodeHTML=t.decodeHTMLStrict=t.decodeXML=void 0;var o=n(r(4655)),i=n(r(9293)),a=n(r(9048)),s=n(r(5083)),l=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;function c(e){var t=p(e);return function(e){return String(e).replace(l,t)}}t.decodeXML=c(a.default),t.decodeHTMLStrict=c(o.default);var u=function(e,t){return e<t?1:-1};function p(e){return function(t){if("#"===t.charAt(1)){var r=t.charAt(2);return"X"===r||"x"===r?s.default(parseInt(t.substr(3),16)):s.default(parseInt(t.substr(2),10))}return e[t.slice(1,-1)]||t}}t.decodeHTML=function(){for(var e=Object.keys(i.default).sort(u),t=Object.keys(o.default).sort(u),r=0,n=0;r<t.length;r++)e[n]===t[r]?(t[r]+=";?",n++):t[r]+=";";var a=new RegExp("&(?:"+t.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),s=p(o.default);function l(e){return";"!==e.substr(-1)&&(e+=";"),s(e)}return function(e){return String(e).replace(a,l)}}()},5083:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=n(r(615)),i=String.fromCodePoint||function(e){var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)};t.default=function(e){return e>=55296&&e<=57343||e>1114111?"�":(e in o.default&&(e=o.default[e]),i(e))}},6437:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=void 0;var o=u(n(r(9048)).default),i=p(o);t.encodeXML=m(o);var a,s,l=u(n(r(4655)).default),c=p(l);function u(e){return Object.keys(e).sort().reduce((function(t,r){return t[e[r]]="&"+r+";",t}),{})}function p(e){for(var t=[],r=[],n=0,o=Object.keys(e);n<o.length;n++){var i=o[n];1===i.length?t.push("\\"+i):r.push(i)}t.sort();for(var a=0;a<t.length-1;a++){for(var s=a;s<t.length-1&&t[s].charCodeAt(1)+1===t[s+1].charCodeAt(1);)s+=1;var l=1+s-a;l<3||t.splice(a,l,t[a]+"-"+t[s])}return r.unshift("["+t.join("")+"]"),new RegExp(r.join("|"),"g")}t.encodeHTML=(a=l,s=c,function(e){return e.replace(s,(function(e){return a[e]})).replace(f,d)}),t.encodeNonAsciiHTML=m(l);var f=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,h=null!=String.prototype.codePointAt?function(e){return e.codePointAt(0)}:function(e){return 1024*(e.charCodeAt(0)-55296)+e.charCodeAt(1)-56320+65536};function d(e){return"&#x"+(e.length>1?h(e):e.charCodeAt(0)).toString(16).toUpperCase()+";"}var g=new RegExp(i.source+"|"+f.source,"g");function m(e){return function(t){return t.replace(g,(function(t){return e[t]||d(t)}))}}t.escape=function(e){return e.replace(g,d)},t.escapeUTF8=function(e){return e.replace(i,d)}},713:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.decodeXMLStrict=t.decodeHTML5Strict=t.decodeHTML4Strict=t.decodeHTML5=t.decodeHTML4=t.decodeHTMLStrict=t.decodeHTML=t.decodeXML=t.encodeHTML5=t.encodeHTML4=t.escapeUTF8=t.escape=t.encodeNonAsciiHTML=t.encodeHTML=t.encodeXML=t.encode=t.decodeStrict=t.decode=void 0;var n=r(2753),o=r(6437);t.decode=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTML)(e)},t.decodeStrict=function(e,t){return(!t||t<=0?n.decodeXML:n.decodeHTMLStrict)(e)},t.encode=function(e,t){return(!t||t<=0?o.encodeXML:o.encodeHTML)(e)};var i=r(6437);Object.defineProperty(t,"encodeXML",{enumerable:!0,get:function(){return i.encodeXML}}),Object.defineProperty(t,"encodeHTML",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeNonAsciiHTML",{enumerable:!0,get:function(){return i.encodeNonAsciiHTML}}),Object.defineProperty(t,"escape",{enumerable:!0,get:function(){return i.escape}}),Object.defineProperty(t,"escapeUTF8",{enumerable:!0,get:function(){return i.escapeUTF8}}),Object.defineProperty(t,"encodeHTML4",{enumerable:!0,get:function(){return i.encodeHTML}}),Object.defineProperty(t,"encodeHTML5",{enumerable:!0,get:function(){return i.encodeHTML}});var a=r(2753);Object.defineProperty(t,"decodeXML",{enumerable:!0,get:function(){return a.decodeXML}}),Object.defineProperty(t,"decodeHTML",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTMLStrict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML4",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML5",{enumerable:!0,get:function(){return a.decodeHTML}}),Object.defineProperty(t,"decodeHTML4Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeHTML5Strict",{enumerable:!0,get:function(){return a.decodeHTMLStrict}}),Object.defineProperty(t,"decodeXMLStrict",{enumerable:!0,get:function(){return a.decodeXML}})},1777:function(e){e.exports={Text:"text",Directive:"directive",Comment:"comment",Script:"script",Style:"style",Tag:"tag",CDATA:"cdata",Doctype:"doctype",isTag:function(e){return"tag"===e.type||"script"===e.type||"style"===e.type}}},6034:function(e,t,r){var n=r(1777),o=/\s+/g,i=r(2273),a=r(888);function s(e,t,r){"object"==typeof e?(r=t,t=e,e=null):"function"==typeof t&&(r=t,t=l),this._callback=e,this._options=t||l,this._elementCB=r,this.dom=[],this._done=!1,this._tagStack=[],this._parser=this._parser||null}var l={normalizeWhitespace:!1,withStartIndices:!1,withEndIndices:!1};s.prototype.onparserinit=function(e){this._parser=e},s.prototype.onreset=function(){s.call(this,this._callback,this._options,this._elementCB)},s.prototype.onend=function(){this._done||(this._done=!0,this._parser=null,this._handleCallback(null))},s.prototype._handleCallback=s.prototype.onerror=function(e){if("function"==typeof this._callback)this._callback(e,this.dom);else if(e)throw e},s.prototype.onclosetag=function(){var e=this._tagStack.pop();this._options.withEndIndices&&e&&(e.endIndex=this._parser.endIndex),this._elementCB&&this._elementCB(e)},s.prototype._createDomElement=function(e){if(!this._options.withDomLvl1)return e;var t;for(var r in t="tag"===e.type?Object.create(a):Object.create(i),e)e.hasOwnProperty(r)&&(t[r]=e[r]);return t},s.prototype._addDomElement=function(e){var t=this._tagStack[this._tagStack.length-1],r=t?t.children:this.dom,n=r[r.length-1];e.next=null,this._options.withStartIndices&&(e.startIndex=this._parser.startIndex),this._options.withEndIndices&&(e.endIndex=this._parser.endIndex),n?(e.prev=n,n.next=e):e.prev=null,r.push(e),e.parent=t||null},s.prototype.onopentag=function(e,t){var r={type:"script"===e?n.Script:"style"===e?n.Style:n.Tag,name:e,attribs:t,children:[]},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)},s.prototype.ontext=function(e){var t,r=this._options.normalizeWhitespace||this._options.ignoreWhitespace;if(!this._tagStack.length&&this.dom.length&&(t=this.dom[this.dom.length-1]).type===n.Text)r?t.data=(t.data+e).replace(o," "):t.data+=e;else if(this._tagStack.length&&(t=this._tagStack[this._tagStack.length-1])&&(t=t.children[t.children.length-1])&&t.type===n.Text)r?t.data=(t.data+e).replace(o," "):t.data+=e;else{r&&(e=e.replace(o," "));var i=this._createDomElement({data:e,type:n.Text});this._addDomElement(i)}},s.prototype.oncomment=function(e){var t=this._tagStack[this._tagStack.length-1];if(t&&t.type===n.Comment)t.data+=e;else{var r={data:e,type:n.Comment},o=this._createDomElement(r);this._addDomElement(o),this._tagStack.push(o)}},s.prototype.oncdatastart=function(){var e={children:[{data:"",type:n.Text}],type:n.CDATA},t=this._createDomElement(e);this._addDomElement(t),this._tagStack.push(t)},s.prototype.oncommentend=s.prototype.oncdataend=function(){this._tagStack.pop()},s.prototype.onprocessinginstruction=function(e,t){var r=this._createDomElement({name:e,data:t,type:n.Directive});this._addDomElement(r)},e.exports=s},888:function(e,t,r){var n=r(2273),o=e.exports=Object.create(n),i={tagName:"name"};Object.keys(i).forEach((function(e){var t=i[e];Object.defineProperty(o,e,{get:function(){return this[t]||null},set:function(e){return this[t]=e,e}})}))},2273:function(e){var t=e.exports={get firstChild(){var e=this.children;return e&&e[0]||null},get lastChild(){var e=this.children;return e&&e[e.length-1]||null},get nodeType(){return n[this.type]||n.element}},r={tagName:"name",childNodes:"children",parentNode:"parent",previousSibling:"prev",nextSibling:"next",nodeValue:"data"},n={element:1,text:3,cdata:4,comment:8};Object.keys(r).forEach((function(e){var n=r[e];Object.defineProperty(t,e,{get:function(){return this[n]||null},set:function(e){return this[n]=e,e}})}))},5993:function(e,t,r){var n=e.exports;[r(6541),r(7310),r(8399),r(1731),r(3942),r(9259)].forEach((function(e){Object.keys(e).forEach((function(t){n[t]=e[t].bind(n)}))}))},9259:function(e,t){t.removeSubsets=function(e){for(var t,r,n,o=e.length;--o>-1;){for(t=r=e[o],e[o]=null,n=!0;r;){if(e.indexOf(r)>-1){n=!1,e.splice(o,1);break}r=r.parent}n&&(e[o]=t)}return e};var r=t.compareDocumentPosition=function(e,t){var r,n,o,i,a,s,l=[],c=[];if(e===t)return 0;for(r=e;r;)l.unshift(r),r=r.parent;for(r=t;r;)c.unshift(r),r=r.parent;for(s=0;l[s]===c[s];)s++;return 0===s?1:(o=(n=l[s-1]).children,i=l[s],a=c[s],o.indexOf(i)>o.indexOf(a)?n===t?20:4:n===e?10:2)};t.uniqueSort=function(e){var t,n,o=e.length;for(e=e.slice();--o>-1;)t=e[o],(n=e.indexOf(t))>-1&&n<o&&e.splice(o,1);return e.sort((function(e,t){var n=r(e,t);return 2&n?-1:4&n?1:0})),e}},3942:function(e,t,r){var n=r(1777),o=t.isTag=n.isTag;t.testElement=function(e,t){for(var r in e)if(e.hasOwnProperty(r))if("tag_name"===r){if(!o(t)||!e.tag_name(t.name))return!1}else if("tag_type"===r){if(!e.tag_type(t.type))return!1}else if("tag_contains"===r){if(o(t)||!e.tag_contains(t.data))return!1}else if(!t.attribs||!e[r](t.attribs[r]))return!1;return!0};var i={tag_name:function(e){return"function"==typeof e?function(t){return o(t)&&e(t.name)}:"*"===e?o:function(t){return o(t)&&t.name===e}},tag_type:function(e){return"function"==typeof e?function(t){return e(t.type)}:function(t){return t.type===e}},tag_contains:function(e){return"function"==typeof e?function(t){return!o(t)&&e(t.data)}:function(t){return!o(t)&&t.data===e}}};function a(e,t){return"function"==typeof t?function(r){return r.attribs&&t(r.attribs[e])}:function(r){return r.attribs&&r.attribs[e]===t}}function s(e,t){return function(r){return e(r)||t(r)}}t.getElements=function(e,t,r,n){var o=Object.keys(e).map((function(t){var r=e[t];return t in i?i[t](r):a(t,r)}));return 0===o.length?[]:this.filter(o.reduce(s),t,r,n)},t.getElementById=function(e,t,r){return Array.isArray(t)||(t=[t]),this.findOne(a("id",e),t,!1!==r)},t.getElementsByTagName=function(e,t,r,n){return this.filter(i.tag_name(e),t,r,n)},t.getElementsByTagType=function(e,t,r,n){return this.filter(i.tag_type(e),t,r,n)}},8399:function(e,t){t.removeElement=function(e){if(e.prev&&(e.prev.next=e.next),e.next&&(e.next.prev=e.prev),e.parent){var t=e.parent.children;t.splice(t.lastIndexOf(e),1)}},t.replaceElement=function(e,t){var r=t.prev=e.prev;r&&(r.next=t);var n=t.next=e.next;n&&(n.prev=t);var o=t.parent=e.parent;if(o){var i=o.children;i[i.lastIndexOf(e)]=t}},t.appendChild=function(e,t){if(t.parent=e,1!==e.children.push(t)){var r=e.children[e.children.length-2];r.next=t,t.prev=r,t.next=null}},t.append=function(e,t){var r=e.parent,n=e.next;if(t.next=n,t.prev=e,e.next=t,t.parent=r,n){if(n.prev=t,r){var o=r.children;o.splice(o.lastIndexOf(n),0,t)}}else r&&r.children.push(t)},t.prepend=function(e,t){var r=e.parent;if(r){var n=r.children;n.splice(n.lastIndexOf(e),0,t)}e.prev&&(e.prev.next=t),t.parent=r,t.prev=e.prev,t.next=e,e.prev=t}},1731:function(e,t,r){var n=r(1777).isTag;function o(e,t,r,n){for(var i,a=[],s=0,l=t.length;s<l&&!(e(t[s])&&(a.push(t[s]),--n<=0))&&(i=t[s].children,!(r&&i&&i.length>0&&(i=o(e,i,r,n),a=a.concat(i),(n-=i.length)<=0)));s++);return a}e.exports={filter:function(e,t,r,n){return Array.isArray(t)||(t=[t]),"number"==typeof n&&isFinite(n)||(n=1/0),o(e,t,!1!==r,n)},find:o,findOneChild:function(e,t){for(var r=0,n=t.length;r<n;r++)if(e(t[r]))return t[r];return null},findOne:function e(t,r){for(var o=null,i=0,a=r.length;i<a&&!o;i++)n(r[i])&&(t(r[i])?o=r[i]:r[i].children.length>0&&(o=e(t,r[i].children)));return o},existsOne:function e(t,r){for(var o=0,i=r.length;o<i;o++)if(n(r[o])&&(t(r[o])||r[o].children.length>0&&e(t,r[o].children)))return!0;return!1},findAll:function(e,t){for(var r=[],o=t.slice();o.length;){var i=o.shift();n(i)&&(i.children&&i.children.length>0&&o.unshift.apply(o,i.children),e(i)&&r.push(i))}return r}}},6541:function(e,t,r){var n=r(1777),o=r(8472),i=n.isTag;e.exports={getInnerHTML:function(e,t){return e.children?e.children.map((function(e){return o(e,t)})).join(""):""},getOuterHTML:o,getText:function e(t){return Array.isArray(t)?t.map(e).join(""):i(t)?"br"===t.name?"\n":e(t.children):t.type===n.CDATA?e(t.children):t.type===n.Text?t.data:""}}},7310:function(e,t){var r=t.getChildren=function(e){return e.children},n=t.getParent=function(e){return e.parent};t.getSiblings=function(e){var t=n(e);return t?r(t):[e]},t.getAttributeValue=function(e,t){return e.attribs&&e.attribs[t]},t.hasAttrib=function(e,t){return!!e.attribs&&hasOwnProperty.call(e.attribs,t)},t.getName=function(e){return e.name}},2517:function(e,t,r){var n=r(362);e.exports=function(e){if(e>=55296&&e<=57343||e>1114111)return"�";e in n&&(e=n[e]);var t="";return e>65535&&(e-=65536,t+=String.fromCharCode(e>>>10&1023|55296),e=56320|1023&e),t+String.fromCharCode(e)}},3497:function(e,t,r){function n(e){this._cbs=e||{},this.events=[]}e.exports=n;var o=r(6842).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,n.prototype[e]=function(){this.events.push([e]),this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,n.prototype[e]=function(t){this.events.push([e,t]),this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this.events.push([e,t,r]),this._cbs[e]&&this._cbs[e](t,r)}}})),n.prototype.onreset=function(){this.events=[],this._cbs.onreset&&this._cbs.onreset()},n.prototype.restart=function(){this._cbs.onreset&&this._cbs.onreset();for(var e=0,t=this.events.length;e<t;e++)if(this._cbs[this.events[e][0]]){var r=this.events[e].length;1===r?this._cbs[this.events[e][0]]():2===r?this._cbs[this.events[e][0]](this.events[e][1]):this._cbs[this.events[e][0]](this.events[e][1],this.events[e][2])}}},4235:function(e,t,r){var n=r(6034),o=r(5993);function i(e,t){this.init(e,t)}function a(e,t){return o.getElementsByTagName(e,t,!0)}function s(e,t){return o.getElementsByTagName(e,t,!0,1)[0]}function l(e,t,r){return o.getText(o.getElementsByTagName(e,t,r,1)).trim()}function c(e,t,r,n,o){var i=l(r,n,o);i&&(e[t]=i)}r(5717)(i,n),i.prototype.init=n;var u=function(e){return"rss"===e||"feed"===e||"rdf:RDF"===e};i.prototype.onend=function(){var e,t,r={},o=s(u,this.dom);o&&("feed"===o.name?(t=o.children,r.type="atom",c(r,"id","id",t),c(r,"title","title",t),(e=s("link",t))&&(e=e.attribs)&&(e=e.href)&&(r.link=e),c(r,"description","subtitle",t),(e=l("updated",t))&&(r.updated=new Date(e)),c(r,"author","email",t,!0),r.items=a("entry",t).map((function(e){var t,r={};return c(r,"id","id",e=e.children),c(r,"title","title",e),(t=s("link",e))&&(t=t.attribs)&&(t=t.href)&&(r.link=t),(t=l("summary",e)||l("content",e))&&(r.description=t),(t=l("updated",e))&&(r.pubDate=new Date(t)),r}))):(t=s("channel",o.children).children,r.type=o.name.substr(0,3),r.id="",c(r,"title","title",t),c(r,"link","link",t),c(r,"description","description",t),(e=l("lastBuildDate",t))&&(r.updated=new Date(e)),c(r,"author","managingEditor",t,!0),r.items=a("item",o.children).map((function(e){var t,r={};return c(r,"id","guid",e=e.children),c(r,"title","title",e),c(r,"link","link",e),c(r,"description","description",e),(t=l("pubDate",e))&&(r.pubDate=new Date(t)),r})))),this.dom=r,n.prototype._handleCallback.call(this,o?null:Error("couldn't find root of feed"))},e.exports=i},8134:function(e,t,r){var n=r(8083),o={input:!0,option:!0,optgroup:!0,select:!0,button:!0,datalist:!0,textarea:!0},i={tr:{tr:!0,th:!0,td:!0},th:{th:!0},td:{thead:!0,th:!0,td:!0},body:{head:!0,link:!0,script:!0},li:{li:!0},p:{p:!0},h1:{p:!0},h2:{p:!0},h3:{p:!0},h4:{p:!0},h5:{p:!0},h6:{p:!0},select:o,input:o,output:o,button:o,datalist:o,textarea:o,option:{option:!0},optgroup:{optgroup:!0}},a={__proto__:null,area:!0,base:!0,basefont:!0,br:!0,col:!0,command:!0,embed:!0,frame:!0,hr:!0,img:!0,input:!0,isindex:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},s={__proto__:null,math:!0,svg:!0},l={__proto__:null,mi:!0,mo:!0,mn:!0,ms:!0,mtext:!0,"annotation-xml":!0,foreignObject:!0,desc:!0,title:!0},c=/\s|\//;function u(e,t){this._options=t||{},this._cbs=e||{},this._tagname="",this._attribname="",this._attribvalue="",this._attribs=null,this._stack=[],this._foreignContext=[],this.startIndex=0,this.endIndex=null,this._lowerCaseTagNames="lowerCaseTags"in this._options?!!this._options.lowerCaseTags:!this._options.xmlMode,this._lowerCaseAttributeNames="lowerCaseAttributeNames"in this._options?!!this._options.lowerCaseAttributeNames:!this._options.xmlMode,this._options.Tokenizer&&(n=this._options.Tokenizer),this._tokenizer=new n(this._options,this),this._cbs.onparserinit&&this._cbs.onparserinit(this)}r(5717)(u,r(7187).EventEmitter),u.prototype._updatePosition=function(e){null===this.endIndex?this._tokenizer._sectionStart<=e?this.startIndex=0:this.startIndex=this._tokenizer._sectionStart-e:this.startIndex=this.endIndex+1,this.endIndex=this._tokenizer.getAbsoluteIndex()},u.prototype.ontext=function(e){this._updatePosition(1),this.endIndex--,this._cbs.ontext&&this._cbs.ontext(e)},u.prototype.onopentagname=function(e){if(this._lowerCaseTagNames&&(e=e.toLowerCase()),this._tagname=e,!this._options.xmlMode&&e in i)for(var t;(t=this._stack[this._stack.length-1])in i[e];this.onclosetag(t));!this._options.xmlMode&&e in a||(this._stack.push(e),e in s?this._foreignContext.push(!0):e in l&&this._foreignContext.push(!1)),this._cbs.onopentagname&&this._cbs.onopentagname(e),this._cbs.onopentag&&(this._attribs={})},u.prototype.onopentagend=function(){this._updatePosition(1),this._attribs&&(this._cbs.onopentag&&this._cbs.onopentag(this._tagname,this._attribs),this._attribs=null),!this._options.xmlMode&&this._cbs.onclosetag&&this._tagname in a&&this._cbs.onclosetag(this._tagname),this._tagname=""},u.prototype.onclosetag=function(e){if(this._updatePosition(1),this._lowerCaseTagNames&&(e=e.toLowerCase()),(e in s||e in l)&&this._foreignContext.pop(),!this._stack.length||e in a&&!this._options.xmlMode)this._options.xmlMode||"br"!==e&&"p"!==e||(this.onopentagname(e),this._closeCurrentTag());else{var t=this._stack.lastIndexOf(e);if(-1!==t)if(this._cbs.onclosetag)for(t=this._stack.length-t;t--;)this._cbs.onclosetag(this._stack.pop());else this._stack.length=t;else"p"!==e||this._options.xmlMode||(this.onopentagname(e),this._closeCurrentTag())}},u.prototype.onselfclosingtag=function(){this._options.xmlMode||this._options.recognizeSelfClosing||this._foreignContext[this._foreignContext.length-1]?this._closeCurrentTag():this.onopentagend()},u.prototype._closeCurrentTag=function(){var e=this._tagname;this.onopentagend(),this._stack[this._stack.length-1]===e&&(this._cbs.onclosetag&&this._cbs.onclosetag(e),this._stack.pop())},u.prototype.onattribname=function(e){this._lowerCaseAttributeNames&&(e=e.toLowerCase()),this._attribname=e},u.prototype.onattribdata=function(e){this._attribvalue+=e},u.prototype.onattribend=function(){this._cbs.onattribute&&this._cbs.onattribute(this._attribname,this._attribvalue),this._attribs&&!Object.prototype.hasOwnProperty.call(this._attribs,this._attribname)&&(this._attribs[this._attribname]=this._attribvalue),this._attribname="",this._attribvalue=""},u.prototype._getInstructionName=function(e){var t=e.search(c),r=t<0?e:e.substr(0,t);return this._lowerCaseTagNames&&(r=r.toLowerCase()),r},u.prototype.ondeclaration=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("!"+t,"!"+e)}},u.prototype.onprocessinginstruction=function(e){if(this._cbs.onprocessinginstruction){var t=this._getInstructionName(e);this._cbs.onprocessinginstruction("?"+t,"?"+e)}},u.prototype.oncomment=function(e){this._updatePosition(4),this._cbs.oncomment&&this._cbs.oncomment(e),this._cbs.oncommentend&&this._cbs.oncommentend()},u.prototype.oncdata=function(e){this._updatePosition(1),this._options.xmlMode||this._options.recognizeCDATA?(this._cbs.oncdatastart&&this._cbs.oncdatastart(),this._cbs.ontext&&this._cbs.ontext(e),this._cbs.oncdataend&&this._cbs.oncdataend()):this.oncomment("[CDATA["+e+"]]")},u.prototype.onerror=function(e){this._cbs.onerror&&this._cbs.onerror(e)},u.prototype.onend=function(){if(this._cbs.onclosetag)for(var e=this._stack.length;e>0;this._cbs.onclosetag(this._stack[--e]));this._cbs.onend&&this._cbs.onend()},u.prototype.reset=function(){this._cbs.onreset&&this._cbs.onreset(),this._tokenizer.reset(),this._tagname="",this._attribname="",this._attribs=null,this._stack=[],this._cbs.onparserinit&&this._cbs.onparserinit(this)},u.prototype.parseComplete=function(e){this.reset(),this.end(e)},u.prototype.write=function(e){this._tokenizer.write(e)},u.prototype.end=function(e){this._tokenizer.end(e)},u.prototype.pause=function(){this._tokenizer.pause()},u.prototype.resume=function(){this._tokenizer.resume()},u.prototype.parseChunk=u.prototype.write,u.prototype.done=u.prototype.end,e.exports=u},1802:function(e,t,r){function n(e){this._cbs=e||{}}e.exports=n;var o=r(6842).EVENTS;Object.keys(o).forEach((function(e){if(0===o[e])e="on"+e,n.prototype[e]=function(){this._cbs[e]&&this._cbs[e]()};else if(1===o[e])e="on"+e,n.prototype[e]=function(t){this._cbs[e]&&this._cbs[e](t)};else{if(2!==o[e])throw Error("wrong number of arguments");e="on"+e,n.prototype[e]=function(t,r){this._cbs[e]&&this._cbs[e](t,r)}}}))},287:function(e,t,r){e.exports=o;var n=r(7214);function o(e){n.call(this,new i(this),e)}function i(e){this.scope=e}r(5717)(o,n),o.prototype.readable=!0;var a=r(6842).EVENTS;Object.keys(a).forEach((function(e){if(0===a[e])i.prototype["on"+e]=function(){this.scope.emit(e)};else if(1===a[e])i.prototype["on"+e]=function(t){this.scope.emit(e,t)};else{if(2!==a[e])throw Error("wrong number of arguments!");i.prototype["on"+e]=function(t,r){this.scope.emit(e,t,r)}}}))},8083:function(e,t,r){e.exports=me;var n=r(2517),o=r(5567),i=r(213),a=r(4143),s=0,l=s++,c=s++,u=s++,p=s++,f=s++,h=s++,d=s++,g=s++,m=s++,b=s++,v=s++,y=s++,w=s++,x=s++,_=s++,E=s++,S=s++,C=s++,k=s++,A=s++,O=s++,T=s++,L=s++,N=s++,R=s++,j=s++,q=s++,D=s++,B=s++,P=s++,M=s++,F=s++,U=s++,H=s++,I=s++,z=s++,V=s++,G=s++,Z=s++,W=s++,$=s++,X=s++,Y=s++,J=s++,K=s++,Q=s++,ee=s++,te=s++,re=s++,ne=s++,oe=s++,ie=s++,ae=s++,se=s++,le=s++,ce=0,ue=ce++,pe=ce++,fe=ce++;function he(e){return" "===e||"\n"===e||"\t"===e||"\f"===e||"\r"===e}function de(e,t,r){var n=e.toLowerCase();return e===n?function(e){e===n?this._state=t:(this._state=r,this._index--)}:function(o){o===n||o===e?this._state=t:(this._state=r,this._index--)}}function ge(e,t){var r=e.toLowerCase();return function(n){n===r||n===e?this._state=t:(this._state=u,this._index--)}}function me(e,t){this._state=l,this._buffer="",this._sectionStart=0,this._index=0,this._bufferOffset=0,this._baseState=l,this._special=ue,this._cbs=t,this._running=!0,this._ended=!1,this._xmlMode=!(!e||!e.xmlMode),this._decodeEntities=!(!e||!e.decodeEntities)}me.prototype._stateText=function(e){"<"===e?(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._state=c,this._sectionStart=this._index):this._decodeEntities&&this._special===ue&&"&"===e&&(this._index>this._sectionStart&&this._cbs.ontext(this._getSection()),this._baseState=l,this._state=oe,this._sectionStart=this._index)},me.prototype._stateBeforeTagName=function(e){"/"===e?this._state=f:"<"===e?(this._cbs.ontext(this._getSection()),this._sectionStart=this._index):">"===e||this._special!==ue||he(e)?this._state=l:"!"===e?(this._state=_,this._sectionStart=this._index+1):"?"===e?(this._state=S,this._sectionStart=this._index+1):(this._state=this._xmlMode||"s"!==e&&"S"!==e?u:M,this._sectionStart=this._index)},me.prototype._stateInTagName=function(e){("/"===e||">"===e||he(e))&&(this._emitToken("onopentagname"),this._state=g,this._index--)},me.prototype._stateBeforeCloseingTagName=function(e){he(e)||(">"===e?this._state=l:this._special!==ue?"s"===e||"S"===e?this._state=F:(this._state=l,this._index--):(this._state=h,this._sectionStart=this._index))},me.prototype._stateInCloseingTagName=function(e){(">"===e||he(e))&&(this._emitToken("onclosetag"),this._state=d,this._index--)},me.prototype._stateAfterCloseingTagName=function(e){">"===e&&(this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeAttributeName=function(e){">"===e?(this._cbs.onopentagend(),this._state=l,this._sectionStart=this._index+1):"/"===e?this._state=p:he(e)||(this._state=m,this._sectionStart=this._index)},me.prototype._stateInSelfClosingTag=function(e){">"===e?(this._cbs.onselfclosingtag(),this._state=l,this._sectionStart=this._index+1):he(e)||(this._state=g,this._index--)},me.prototype._stateInAttributeName=function(e){("="===e||"/"===e||">"===e||he(e))&&(this._cbs.onattribname(this._getSection()),this._sectionStart=-1,this._state=b,this._index--)},me.prototype._stateAfterAttributeName=function(e){"="===e?this._state=v:"/"===e||">"===e?(this._cbs.onattribend(),this._state=g,this._index--):he(e)||(this._cbs.onattribend(),this._state=m,this._sectionStart=this._index)},me.prototype._stateBeforeAttributeValue=function(e){'"'===e?(this._state=y,this._sectionStart=this._index+1):"'"===e?(this._state=w,this._sectionStart=this._index+1):he(e)||(this._state=x,this._sectionStart=this._index,this._index--)},me.prototype._stateInAttributeValueDoubleQuotes=function(e){'"'===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},me.prototype._stateInAttributeValueSingleQuotes=function(e){"'"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},me.prototype._stateInAttributeValueNoQuotes=function(e){he(e)||">"===e?(this._emitToken("onattribdata"),this._cbs.onattribend(),this._state=g,this._index--):this._decodeEntities&&"&"===e&&(this._emitToken("onattribdata"),this._baseState=this._state,this._state=oe,this._sectionStart=this._index)},me.prototype._stateBeforeDeclaration=function(e){this._state="["===e?T:"-"===e?C:E},me.prototype._stateInDeclaration=function(e){">"===e&&(this._cbs.ondeclaration(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateInProcessingInstruction=function(e){">"===e&&(this._cbs.onprocessinginstruction(this._getSection()),this._state=l,this._sectionStart=this._index+1)},me.prototype._stateBeforeComment=function(e){"-"===e?(this._state=k,this._sectionStart=this._index+1):this._state=E},me.prototype._stateInComment=function(e){"-"===e&&(this._state=A)},me.prototype._stateAfterComment1=function(e){this._state="-"===e?O:k},me.prototype._stateAfterComment2=function(e){">"===e?(this._cbs.oncomment(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"-"!==e&&(this._state=k)},me.prototype._stateBeforeCdata1=de("C",L,E),me.prototype._stateBeforeCdata2=de("D",N,E),me.prototype._stateBeforeCdata3=de("A",R,E),me.prototype._stateBeforeCdata4=de("T",j,E),me.prototype._stateBeforeCdata5=de("A",q,E),me.prototype._stateBeforeCdata6=function(e){"["===e?(this._state=D,this._sectionStart=this._index+1):(this._state=E,this._index--)},me.prototype._stateInCdata=function(e){"]"===e&&(this._state=B)},me.prototype._stateAfterCdata1=function(e){this._state="]"===e?P:D},me.prototype._stateAfterCdata2=function(e){">"===e?(this._cbs.oncdata(this._buffer.substring(this._sectionStart,this._index-2)),this._state=l,this._sectionStart=this._index+1):"]"!==e&&(this._state=D)},me.prototype._stateBeforeSpecial=function(e){"c"===e||"C"===e?this._state=U:"t"===e||"T"===e?this._state=Y:(this._state=u,this._index--)},me.prototype._stateBeforeSpecialEnd=function(e){this._special!==pe||"c"!==e&&"C"!==e?this._special!==fe||"t"!==e&&"T"!==e?this._state=l:this._state=ee:this._state=G},me.prototype._stateBeforeScript1=ge("R",H),me.prototype._stateBeforeScript2=ge("I",I),me.prototype._stateBeforeScript3=ge("P",z),me.prototype._stateBeforeScript4=ge("T",V),me.prototype._stateBeforeScript5=function(e){("/"===e||">"===e||he(e))&&(this._special=pe),this._state=u,this._index--},me.prototype._stateAfterScript1=de("R",Z,l),me.prototype._stateAfterScript2=de("I",W,l),me.prototype._stateAfterScript3=de("P",$,l),me.prototype._stateAfterScript4=de("T",X,l),me.prototype._stateAfterScript5=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-6,this._index--):this._state=l},me.prototype._stateBeforeStyle1=ge("Y",J),me.prototype._stateBeforeStyle2=ge("L",K),me.prototype._stateBeforeStyle3=ge("E",Q),me.prototype._stateBeforeStyle4=function(e){("/"===e||">"===e||he(e))&&(this._special=fe),this._state=u,this._index--},me.prototype._stateAfterStyle1=de("Y",te,l),me.prototype._stateAfterStyle2=de("L",re,l),me.prototype._stateAfterStyle3=de("E",ne,l),me.prototype._stateAfterStyle4=function(e){">"===e||he(e)?(this._special=ue,this._state=h,this._sectionStart=this._index-5,this._index--):this._state=l},me.prototype._stateBeforeEntity=de("#",ie,ae),me.prototype._stateBeforeNumericEntity=de("X",le,se),me.prototype._parseNamedEntityStrict=function(){if(this._sectionStart+1<this._index){var e=this._buffer.substring(this._sectionStart+1,this._index),t=this._xmlMode?a:o;t.hasOwnProperty(e)&&(this._emitPartial(t[e]),this._sectionStart=this._index+1)}},me.prototype._parseLegacyEntity=function(){var e=this._sectionStart+1,t=this._index-e;for(t>6&&(t=6);t>=2;){var r=this._buffer.substr(e,t);if(i.hasOwnProperty(r))return this._emitPartial(i[r]),void(this._sectionStart+=t+1);t--}},me.prototype._stateInNamedEntity=function(e){";"===e?(this._parseNamedEntityStrict(),this._sectionStart+1<this._index&&!this._xmlMode&&this._parseLegacyEntity(),this._state=this._baseState):(e<"a"||e>"z")&&(e<"A"||e>"Z")&&(e<"0"||e>"9")&&(this._xmlMode||this._sectionStart+1===this._index||(this._baseState!==l?"="!==e&&this._parseNamedEntityStrict():this._parseLegacyEntity()),this._state=this._baseState,this._index--)},me.prototype._decodeNumericEntity=function(e,t){var r=this._sectionStart+e;if(r!==this._index){var o=this._buffer.substring(r,this._index),i=parseInt(o,t);this._emitPartial(n(i)),this._sectionStart=this._index}else this._sectionStart--;this._state=this._baseState},me.prototype._stateInNumericEntity=function(e){";"===e?(this._decodeNumericEntity(2,10),this._sectionStart++):(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(2,10),this._index--)},me.prototype._stateInHexEntity=function(e){";"===e?(this._decodeNumericEntity(3,16),this._sectionStart++):(e<"a"||e>"f")&&(e<"A"||e>"F")&&(e<"0"||e>"9")&&(this._xmlMode?this._state=this._baseState:this._decodeNumericEntity(3,16),this._index--)},me.prototype._cleanup=function(){this._sectionStart<0?(this._buffer="",this._bufferOffset+=this._index,this._index=0):this._running&&(this._state===l?(this._sectionStart!==this._index&&this._cbs.ontext(this._buffer.substr(this._sectionStart)),this._buffer="",this._bufferOffset+=this._index,this._index=0):this._sectionStart===this._index?(this._buffer="",this._bufferOffset+=this._index,this._index=0):(this._buffer=this._buffer.substr(this._sectionStart),this._index-=this._sectionStart,this._bufferOffset+=this._sectionStart),this._sectionStart=0)},me.prototype.write=function(e){this._ended&&this._cbs.onerror(Error(".write() after done!")),this._buffer+=e,this._parse()},me.prototype._parse=function(){for(;this._index<this._buffer.length&&this._running;){var e=this._buffer.charAt(this._index);this._state===l?this._stateText(e):this._state===c?this._stateBeforeTagName(e):this._state===u?this._stateInTagName(e):this._state===f?this._stateBeforeCloseingTagName(e):this._state===h?this._stateInCloseingTagName(e):this._state===d?this._stateAfterCloseingTagName(e):this._state===p?this._stateInSelfClosingTag(e):this._state===g?this._stateBeforeAttributeName(e):this._state===m?this._stateInAttributeName(e):this._state===b?this._stateAfterAttributeName(e):this._state===v?this._stateBeforeAttributeValue(e):this._state===y?this._stateInAttributeValueDoubleQuotes(e):this._state===w?this._stateInAttributeValueSingleQuotes(e):this._state===x?this._stateInAttributeValueNoQuotes(e):this._state===_?this._stateBeforeDeclaration(e):this._state===E?this._stateInDeclaration(e):this._state===S?this._stateInProcessingInstruction(e):this._state===C?this._stateBeforeComment(e):this._state===k?this._stateInComment(e):this._state===A?this._stateAfterComment1(e):this._state===O?this._stateAfterComment2(e):this._state===T?this._stateBeforeCdata1(e):this._state===L?this._stateBeforeCdata2(e):this._state===N?this._stateBeforeCdata3(e):this._state===R?this._stateBeforeCdata4(e):this._state===j?this._stateBeforeCdata5(e):this._state===q?this._stateBeforeCdata6(e):this._state===D?this._stateInCdata(e):this._state===B?this._stateAfterCdata1(e):this._state===P?this._stateAfterCdata2(e):this._state===M?this._stateBeforeSpecial(e):this._state===F?this._stateBeforeSpecialEnd(e):this._state===U?this._stateBeforeScript1(e):this._state===H?this._stateBeforeScript2(e):this._state===I?this._stateBeforeScript3(e):this._state===z?this._stateBeforeScript4(e):this._state===V?this._stateBeforeScript5(e):this._state===G?this._stateAfterScript1(e):this._state===Z?this._stateAfterScript2(e):this._state===W?this._stateAfterScript3(e):this._state===$?this._stateAfterScript4(e):this._state===X?this._stateAfterScript5(e):this._state===Y?this._stateBeforeStyle1(e):this._state===J?this._stateBeforeStyle2(e):this._state===K?this._stateBeforeStyle3(e):this._state===Q?this._stateBeforeStyle4(e):this._state===ee?this._stateAfterStyle1(e):this._state===te?this._stateAfterStyle2(e):this._state===re?this._stateAfterStyle3(e):this._state===ne?this._stateAfterStyle4(e):this._state===oe?this._stateBeforeEntity(e):this._state===ie?this._stateBeforeNumericEntity(e):this._state===ae?this._stateInNamedEntity(e):this._state===se?this._stateInNumericEntity(e):this._state===le?this._stateInHexEntity(e):this._cbs.onerror(Error("unknown _state"),this._state),this._index++}this._cleanup()},me.prototype.pause=function(){this._running=!1},me.prototype.resume=function(){this._running=!0,this._index<this._buffer.length&&this._parse(),this._ended&&this._finish()},me.prototype.end=function(e){this._ended&&this._cbs.onerror(Error(".end() after done!")),e&&this.write(e),this._ended=!0,this._running&&this._finish()},me.prototype._finish=function(){this._sectionStart<this._index&&this._handleTrailingData(),this._cbs.onend()},me.prototype._handleTrailingData=function(){var e=this._buffer.substr(this._sectionStart);this._state===D||this._state===B||this._state===P?this._cbs.oncdata(e):this._state===k||this._state===A||this._state===O?this._cbs.oncomment(e):this._state!==ae||this._xmlMode?this._state!==se||this._xmlMode?this._state!==le||this._xmlMode?this._state!==u&&this._state!==g&&this._state!==v&&this._state!==b&&this._state!==m&&this._state!==w&&this._state!==y&&this._state!==x&&this._state!==h&&this._cbs.ontext(e):(this._decodeNumericEntity(3,16),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._decodeNumericEntity(2,10),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData())):(this._parseLegacyEntity(),this._sectionStart<this._index&&(this._state=this._baseState,this._handleTrailingData()))},me.prototype.reset=function(){me.call(this,{xmlMode:this._xmlMode,decodeEntities:this._decodeEntities},this._cbs)},me.prototype.getAbsoluteIndex=function(){return this._bufferOffset+this._index},me.prototype._getSection=function(){return this._buffer.substring(this._sectionStart,this._index)},me.prototype._emitToken=function(e){this._cbs[e](this._getSection()),this._sectionStart=-1},me.prototype._emitPartial=function(e){this._baseState!==l?this._cbs.onattribdata(e):this._cbs.ontext(e)}},7214:function(e,t,r){e.exports=s;var n=r(8134),o=r(9557).Writable,i=r(2553).s,a=r(8764).Buffer;function s(e,t){var r=this._parser=new n(e,t),a=this._decoder=new i;o.call(this,{decodeStrings:!1}),this.once("finish",(function(){r.end(a.end())}))}r(5717)(s,o),s.prototype._write=function(e,t,r){e instanceof a&&(e=this._decoder.write(e)),this._parser.write(e),r()}},6842:function(e,t,r){var n=r(8134),o=r(6034);function i(t,r){return delete e.exports[t],e.exports[t]=r,r}e.exports={Parser:n,Tokenizer:r(8083),ElementType:r(1777),DomHandler:o,get FeedHandler(){return i("FeedHandler",r(4235))},get Stream(){return i("Stream",r(287))},get WritableStream(){return i("WritableStream",r(7214))},get ProxyHandler(){return i("ProxyHandler",r(1802))},get DomUtils(){return i("DomUtils",r(5993))},get CollectingHandler(){return i("CollectingHandler",r(3497))},DefaultHandler:o,get RssHandler(){return i("RssHandler",this.FeedHandler)},parseDOM:function(e,t){var r=new o(t);return new n(r,t).end(e),r.dom},parseFeed:function(t,r){var o=new e.exports.FeedHandler(r);return new n(o,r).end(t),o.dom},createDomStream:function(e,t,r){var i=new o(e,t,r);return new n(i,t)},EVENTS:{attribute:2,cdatastart:0,cdataend:0,text:1,processinginstruction:2,comment:1,commentend:0,closetag:1,opentag:2,opentagname:1,error:1,end:0}}},9921: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,s=r?Symbol.for("react.profiler"):60114,l=r?Symbol.for("react.provider"):60109,c=r?Symbol.for("react.context"):60110,u=r?Symbol.for("react.async_mode"):60111,p=r?Symbol.for("react.concurrent_mode"):60111,f=r?Symbol.for("react.forward_ref"):60112,h=r?Symbol.for("react.suspense"):60113,d=r?Symbol.for("react.suspense_list"):60120,g=r?Symbol.for("react.memo"):60115,m=r?Symbol.for("react.lazy"):60116,b=r?Symbol.for("react.block"):60121,v=r?Symbol.for("react.fundamental"):60117,y=r?Symbol.for("react.responder"):60118,w=r?Symbol.for("react.scope"):60119;function x(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case u:case p:case i:case s:case a:case h:return e;default:switch(e=e&&e.$$typeof){case c:case f:case m:case g:case l:return e;default:return t}}case o:return t}}}function _(e){return x(e)===p}t.AsyncMode=u,t.ConcurrentMode=p,t.ContextConsumer=c,t.ContextProvider=l,t.Element=n,t.ForwardRef=f,t.Fragment=i,t.Lazy=m,t.Memo=g,t.Portal=o,t.Profiler=s,t.StrictMode=a,t.Suspense=h,t.isAsyncMode=function(e){return _(e)||x(e)===u},t.isConcurrentMode=_,t.isContextConsumer=function(e){return x(e)===c},t.isContextProvider=function(e){return x(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===n},t.isForwardRef=function(e){return x(e)===f},t.isFragment=function(e){return x(e)===i},t.isLazy=function(e){return x(e)===m},t.isMemo=function(e){return x(e)===g},t.isPortal=function(e){return x(e)===o},t.isProfiler=function(e){return x(e)===s},t.isStrictMode=function(e){return x(e)===a},t.isSuspense=function(e){return x(e)===h},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===i||e===p||e===s||e===a||e===h||e===d||"object"==typeof e&&null!==e&&(e.$$typeof===m||e.$$typeof===g||e.$$typeof===l||e.$$typeof===c||e.$$typeof===f||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=x},9864:function(e,t,r){"use strict";e.exports=r(9921)},4754:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.autoprefix=void 0;var n,o=(n=r(2525))&&n.__esModule?n:{default:n},i=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},a={borderRadius:function(e){return{msBorderRadius:e,MozBorderRadius:e,OBorderRadius:e,WebkitBorderRadius:e,borderRadius:e}},boxShadow:function(e){return{msBoxShadow:e,MozBoxShadow:e,OBoxShadow:e,WebkitBoxShadow:e,boxShadow:e}},userSelect:function(e){return{WebkitTouchCallout:e,KhtmlUserSelect:e,MozUserSelect:e,msUserSelect:e,WebkitUserSelect:e,userSelect:e}},flex:function(e){return{WebkitBoxFlex:e,MozBoxFlex:e,WebkitFlex:e,msFlex:e,flex:e}},flexBasis:function(e){return{WebkitFlexBasis:e,flexBasis:e}},justifyContent:function(e){return{WebkitJustifyContent:e,justifyContent:e}},transition:function(e){return{msTransition:e,MozTransition:e,OTransition:e,WebkitTransition:e,transition:e}},transform:function(e){return{msTransform:e,MozTransform:e,OTransform:e,WebkitTransform:e,transform:e}},absolute:function(e){var t=e&&e.split(" ");return{position:"absolute",top:t&&t[0],right:t&&t[1],bottom:t&&t[2],left:t&&t[3]}},extend:function(e,t){return t[e]||{extend:e}}},s=t.autoprefix=function(e){var t={};return(0,o.default)(e,(function(e,r){var n={};(0,o.default)(e,(function(e,t){var r=a[t];r?n=i({},n,r(e)):n[t]=e})),t[r]=n})),t};t.default=s},6002:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.active=void 0;var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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}function l(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)}var c=t.active=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,l,c;a(this,n);for(var u=arguments.length,p=Array(u),f=0;f<u;f++)p[f]=arguments[f];return l=c=s(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(p))),c.state={active:!1},c.handleMouseDown=function(){return c.setState({active:!0})},c.handleMouseUp=function(){return c.setState({active:!1})},c.render=function(){return i.default.createElement(t,{onMouseDown:c.handleMouseDown,onMouseUp:c.handleMouseUp},i.default.createElement(e,o({},c.props,c.state)))},s(c,l)}return l(n,r),n}(i.default.Component)};t.default=c},1765:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hover=void 0;var n,o=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},i=(n=r(9196))&&n.__esModule?n:{default:n};function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function s(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}function l(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)}var c=t.hover=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function n(){var r,l,c;a(this,n);for(var u=arguments.length,p=Array(u),f=0;f<u;f++)p[f]=arguments[f];return l=c=s(this,(r=n.__proto__||Object.getPrototypeOf(n)).call.apply(r,[this].concat(p))),c.state={hover:!1},c.handleMouseOver=function(){return c.setState({hover:!0})},c.handleMouseOut=function(){return c.setState({hover:!1})},c.render=function(){return i.default.createElement(t,{onMouseOver:c.handleMouseOver,onMouseOut:c.handleMouseOut},i.default.createElement(e,o({},c.props,c.state)))},s(c,l)}return l(n,r),n}(i.default.Component)};t.default=c},4147:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.flattenNames=void 0;var n=s(r(7037)),o=s(r(2525)),i=s(r(8630)),a=s(r(5161));function s(e){return e&&e.__esModule?e:{default:e}}var l=t.flattenNames=function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=[];return(0,a.default)(t,(function(t){Array.isArray(t)?e(t).map((function(e){return r.push(e)})):(0,i.default)(t)?(0,o.default)(t,(function(e,t){!0===e&&r.push(t),r.push(t+"-"+e)})):(0,n.default)(t)&&r.push(t)})),r};t.default=l},9941:function(e,t,r){"use strict";t.tz=void 0;var n=c(r(4147)),o=c(r(8556)),i=c(r(4754)),a=c(r(1765)),s=c(r(6002)),l=c(r(7742));function c(e){return e&&e.__esModule?e:{default:e}}a.default,t.tz=a.default,s.default,l.default;t.ZP=function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),a=1;a<t;a++)r[a-1]=arguments[a];var s=(0,n.default)(r),l=(0,o.default)(e,s);return(0,i.default)(l)}},7742:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var r={},n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];r[e]=t};return 0===e&&n("first-child"),e===t-1&&n("last-child"),(0===e||e%2==0)&&n("even"),1===Math.abs(e%2)&&n("odd"),n("nth-child",e),r}},8556:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mergeClasses=void 0;var n=a(r(2525)),o=a(r(361)),i=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 a(e){return e&&e.__esModule?e:{default:e}}var s=t.mergeClasses=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=e.default&&(0,o.default)(e.default)||{};return t.map((function(t){var o=e[t];return o&&(0,n.default)(o,(function(e,t){r[t]||(r[t]={}),r[t]=i({},r[t],o[t])})),t})),r};t.default=s},9509:function(e,t,r){var n=r(8764),o=n.Buffer;function i(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return o(e,t,r)}o.from&&o.alloc&&o.allocUnsafe&&o.allocUnsafeSlow?e.exports=n:(i(n,t),t.Buffer=a),i(o,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return o(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=o(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return o(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},2553:function(e,t,r){"use strict";var n=r(9509).Buffer,o=n.isEncoding||function(e){switch((e=""+e)&&e.toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":case"raw":return!0;default:return!1}};function i(e){var t;switch(this.encoding=function(e){var t=function(e){if(!e)return"utf8";for(var t;;)switch(e){case"utf8":case"utf-8":return"utf8";case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return"utf16le";case"latin1":case"binary":return"latin1";case"base64":case"ascii":case"hex":return e;default:if(t)return;e=(""+e).toLowerCase(),t=!0}}(e);if("string"!=typeof t&&(n.isEncoding===o||!o(e)))throw new Error("Unknown encoding: "+e);return t||e}(e),this.encoding){case"utf16le":this.text=l,this.end=c,t=4;break;case"utf8":this.fillLast=s,t=4;break;case"base64":this.text=u,this.end=p,t=3;break;default:return this.write=f,void(this.end=h)}this.lastNeed=0,this.lastTotal=0,this.lastChar=n.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e){var t=this.lastTotal-this.lastNeed,r=function(e,t,r){if(128!=(192&t[0]))return e.lastNeed=0,"�";if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,"�";if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,"�"}}(this,e);return void 0!==r?r:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function l(e,t){if((e.length-t)%2==0){var r=e.toString("utf16le",t);if(r){var n=r.charCodeAt(r.length-1);if(n>=55296&&n<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],r.slice(0,-1)}return r}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString("utf16le",t,e.length-1)}function c(e){var t=e&&e.length?this.write(e):"";if(this.lastNeed){var r=this.lastTotal-this.lastNeed;return t+this.lastChar.toString("utf16le",0,r)}return t}function u(e,t){var r=(e.length-t)%3;return 0===r?e.toString("base64",t):(this.lastNeed=3-r,this.lastTotal=3,1===r?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString("base64",t,e.length-r))}function p(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+this.lastChar.toString("base64",0,3-this.lastNeed):t}function f(e){return e.toString(this.encoding)}function h(e){return e&&e.length?this.write(e):""}t.s=i,i.prototype.write=function(e){if(0===e.length)return"";var t,r;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return"";r=this.lastNeed,this.lastNeed=0}else r=0;return r<e.length?t?t+this.text(e,r):this.text(e,r):t||""},i.prototype.end=function(e){var t=e&&e.length?this.write(e):"";return this.lastNeed?t+"�":t},i.prototype.text=function(e,t){var r=function(e,t,r){var n=t.length-1;if(n<r)return 0;var o=a(t[n]);return o>=0?(o>0&&(e.lastNeed=o-1),o):--n<r||-2===o?0:(o=a(t[n]))>=0?(o>0&&(e.lastNeed=o-2),o):--n<r||-2===o?0:(o=a(t[n]))>=0?(o>0&&(2===o?o=0:e.lastNeed=o-3),o):0}(this,e,t);if(!this.lastNeed)return e.toString("utf8",t);this.lastTotal=r;var n=e.length-(r-this.lastNeed);return e.copy(this.lastChar,0,n),e.toString("utf8",t,n)},i.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},7621:function(e,t,r){var n;!function(o){var i=/^\s+/,a=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,p=o.random;function f(e,t){if(t=t||{},(e=e||"")instanceof f)return e;if(!(this instanceof f))return new f(e,t);var r=function(e){var t,r,n,s={r:0,g:0,b:0},l=1,p=null,f=null,h=null,d=!1,g=!1;return"string"==typeof e&&(e=function(e){e=e.replace(i,"").replace(a,"").toLowerCase();var t,r=!1;if(L[e])e=L[e],r=!0;else if("transparent"==e)return{r:0,g:0,b:0,a:0,format:"name"};return(t=z.rgb.exec(e))?{r:t[1],g:t[2],b:t[3]}:(t=z.rgba.exec(e))?{r:t[1],g:t[2],b:t[3],a:t[4]}:(t=z.hsl.exec(e))?{h:t[1],s:t[2],l:t[3]}:(t=z.hsla.exec(e))?{h:t[1],s:t[2],l:t[3],a:t[4]}:(t=z.hsv.exec(e))?{h:t[1],s:t[2],v:t[3]}:(t=z.hsva.exec(e))?{h:t[1],s:t[2],v:t[3],a:t[4]}:(t=z.hex8.exec(e))?{r:D(t[1]),g:D(t[2]),b:D(t[3]),a:F(t[4]),format:r?"name":"hex8"}:(t=z.hex6.exec(e))?{r:D(t[1]),g:D(t[2]),b:D(t[3]),format:r?"name":"hex"}:(t=z.hex4.exec(e))?{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),a:F(t[4]+""+t[4]),format:r?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:D(t[1]+""+t[1]),g:D(t[2]+""+t[2]),b:D(t[3]+""+t[3]),format:r?"name":"hex"}}(e)),"object"==typeof e&&(V(e.r)&&V(e.g)&&V(e.b)?(t=e.r,r=e.g,n=e.b,s={r:255*j(t,255),g:255*j(r,255),b:255*j(n,255)},d=!0,g="%"===String(e.r).substr(-1)?"prgb":"rgb"):V(e.h)&&V(e.s)&&V(e.v)?(p=P(e.s),f=P(e.v),s=function(e,t,r){e=6*j(e,360),t=j(t,100),r=j(r,100);var n=o.floor(e),i=e-n,a=r*(1-t),s=r*(1-i*t),l=r*(1-(1-i)*t),c=n%6;return{r:255*[r,s,a,a,l,r][c],g:255*[l,r,r,s,a,a][c],b:255*[a,a,l,r,r,s][c]}}(e.h,p,f),d=!0,g="hsv"):V(e.h)&&V(e.s)&&V(e.l)&&(p=P(e.s),h=P(e.l),s=function(e,t,r){var n,o,i;function a(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}if(e=j(e,360),t=j(t,100),r=j(r,100),0===t)n=o=i=r;else{var s=r<.5?r*(1+t):r+t-r*t,l=2*r-s;n=a(l,s,e+1/3),o=a(l,s,e),i=a(l,s,e-1/3)}return{r:255*n,g:255*o,b:255*i}}(e.h,p,h),d=!0,g="hsl"),e.hasOwnProperty("a")&&(l=e.a)),l=R(l),{ok:d,format:e.format||g,r:c(255,u(s.r,0)),g:c(255,u(s.g,0)),b:c(255,u(s.b,0)),a:l}}(e);this._originalInput=e,this._r=r.r,this._g=r.g,this._b=r.b,this._a=r.a,this._roundA=l(100*this._a)/100,this._format=t.format||r.format,this._gradientType=t.gradientType,this._r<1&&(this._r=l(this._r)),this._g<1&&(this._g=l(this._g)),this._b<1&&(this._b=l(this._b)),this._ok=r.ok,this._tc_id=s++}function h(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,i=u(e,t,r),a=c(e,t,r),s=(i+a)/2;if(i==a)n=o=0;else{var l=i-a;switch(o=s>.5?l/(2-i-a):l/(i+a),i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,l:s}}function d(e,t,r){e=j(e,255),t=j(t,255),r=j(r,255);var n,o,i=u(e,t,r),a=c(e,t,r),s=i,l=i-a;if(o=0===i?0:l/i,i==a)n=0;else{switch(i){case e:n=(t-r)/l+(t<r?6:0);break;case t:n=(r-e)/l+2;break;case r:n=(e-t)/l+4}n/=6}return{h:n,s:o,v:s}}function g(e,t,r,n){var o=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16))];return n&&o[0].charAt(0)==o[0].charAt(1)&&o[1].charAt(0)==o[1].charAt(1)&&o[2].charAt(0)==o[2].charAt(1)?o[0].charAt(0)+o[1].charAt(0)+o[2].charAt(0):o.join("")}function m(e,t,r,n){return[B(M(n)),B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16))].join("")}function b(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s-=t/100,r.s=q(r.s),f(r)}function v(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.s+=t/100,r.s=q(r.s),f(r)}function y(e){return f(e).desaturate(100)}function w(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l+=t/100,r.l=q(r.l),f(r)}function x(e,t){t=0===t?0:t||10;var r=f(e).toRgb();return r.r=u(0,c(255,r.r-l(-t/100*255))),r.g=u(0,c(255,r.g-l(-t/100*255))),r.b=u(0,c(255,r.b-l(-t/100*255))),f(r)}function _(e,t){t=0===t?0:t||10;var r=f(e).toHsl();return r.l-=t/100,r.l=q(r.l),f(r)}function E(e,t){var r=f(e).toHsl(),n=(r.h+t)%360;return r.h=n<0?360+n:n,f(r)}function S(e){var t=f(e).toHsl();return t.h=(t.h+180)%360,f(t)}function C(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+120)%360,s:t.s,l:t.l}),f({h:(r+240)%360,s:t.s,l:t.l})]}function k(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+90)%360,s:t.s,l:t.l}),f({h:(r+180)%360,s:t.s,l:t.l}),f({h:(r+270)%360,s:t.s,l:t.l})]}function A(e){var t=f(e).toHsl(),r=t.h;return[f(e),f({h:(r+72)%360,s:t.s,l:t.l}),f({h:(r+216)%360,s:t.s,l:t.l})]}function O(e,t,r){t=t||6,r=r||30;var n=f(e).toHsl(),o=360/r,i=[f(e)];for(n.h=(n.h-(o*t>>1)+720)%360;--t;)n.h=(n.h+o)%360,i.push(f(n));return i}function T(e,t){t=t||6;for(var r=f(e).toHsv(),n=r.h,o=r.s,i=r.v,a=[],s=1/t;t--;)a.push(f({h:n,s:o,v:i})),i=(i+s)%1;return a}f.prototype={isDark:function(){return this.getBrightness()<128},isLight:function(){return!this.isDark()},isValid:function(){return this._ok},getOriginalInput:function(){return this._originalInput},getFormat:function(){return this._format},getAlpha:function(){return this._a},getBrightness:function(){var e=this.toRgb();return(299*e.r+587*e.g+114*e.b)/1e3},getLuminance:function(){var e,t,r,n=this.toRgb();return e=n.r/255,t=n.g/255,r=n.b/255,.2126*(e<=.03928?e/12.92:o.pow((e+.055)/1.055,2.4))+.7152*(t<=.03928?t/12.92:o.pow((t+.055)/1.055,2.4))+.0722*(r<=.03928?r/12.92:o.pow((r+.055)/1.055,2.4))},setAlpha:function(e){return this._a=R(e),this._roundA=l(100*this._a)/100,this},toHsv:function(){var e=d(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=d(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.v);return 1==this._a?"hsv("+t+", "+r+"%, "+n+"%)":"hsva("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHsl:function(){var e=h(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=h(this._r,this._g,this._b),t=l(360*e.h),r=l(100*e.s),n=l(100*e.l);return 1==this._a?"hsl("+t+", "+r+"%, "+n+"%)":"hsla("+t+", "+r+"%, "+n+"%, "+this._roundA+")"},toHex:function(e){return g(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,r,n,o){var i=[B(l(e).toString(16)),B(l(t).toString(16)),B(l(r).toString(16)),B(M(n))];return o&&i[0].charAt(0)==i[0].charAt(1)&&i[1].charAt(0)==i[1].charAt(1)&&i[2].charAt(0)==i[2].charAt(1)&&i[3].charAt(0)==i[3].charAt(1)?i[0].charAt(0)+i[1].charAt(0)+i[2].charAt(0)+i[3].charAt(0):i.join("")}(this._r,this._g,this._b,this._a,e)},toHex8String:function(e){return"#"+this.toHex8(e)},toRgb:function(){return{r:l(this._r),g:l(this._g),b:l(this._b),a:this._a}},toRgbString:function(){return 1==this._a?"rgb("+l(this._r)+", "+l(this._g)+", "+l(this._b)+")":"rgba("+l(this._r)+", "+l(this._g)+", "+l(this._b)+", "+this._roundA+")"},toPercentageRgb:function(){return{r:l(100*j(this._r,255))+"%",g:l(100*j(this._g,255))+"%",b:l(100*j(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%)":"rgba("+l(100*j(this._r,255))+"%, "+l(100*j(this._g,255))+"%, "+l(100*j(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[g(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+m(this._r,this._g,this._b,this._a),r=t,n=this._gradientType?"GradientType = 1, ":"";if(e){var o=f(e);r="#"+m(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+n+"startColorstr="+t+",endColorstr="+r+")"},toString:function(e){var t=!!e;e=e||this._format;var r=!1,n=this._a<1&&this._a>=0;return t||!n||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(r=this.toRgbString()),"prgb"===e&&(r=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(r=this.toHexString()),"hex3"===e&&(r=this.toHexString(!0)),"hex4"===e&&(r=this.toHex8String(!0)),"hex8"===e&&(r=this.toHex8String()),"name"===e&&(r=this.toName()),"hsl"===e&&(r=this.toHslString()),"hsv"===e&&(r=this.toHsvString()),r||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return f(this.toString())},_applyModification:function(e,t){var r=e.apply(null,[this].concat([].slice.call(t)));return this._r=r._r,this._g=r._g,this._b=r._b,this.setAlpha(r._a),this},lighten:function(){return this._applyModification(w,arguments)},brighten:function(){return this._applyModification(x,arguments)},darken:function(){return this._applyModification(_,arguments)},desaturate:function(){return this._applyModification(b,arguments)},saturate:function(){return this._applyModification(v,arguments)},greyscale:function(){return this._applyModification(y,arguments)},spin:function(){return this._applyModification(E,arguments)},_applyCombination:function(e,t){return e.apply(null,[this].concat([].slice.call(t)))},analogous:function(){return this._applyCombination(O,arguments)},complement:function(){return this._applyCombination(S,arguments)},monochromatic:function(){return this._applyCombination(T,arguments)},splitcomplement:function(){return this._applyCombination(A,arguments)},triad:function(){return this._applyCombination(C,arguments)},tetrad:function(){return this._applyCombination(k,arguments)}},f.fromRatio=function(e,t){if("object"==typeof e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]="a"===n?e[n]:P(e[n]));e=r}return f(e,t)},f.equals=function(e,t){return!(!e||!t)&&f(e).toRgbString()==f(t).toRgbString()},f.random=function(){return f.fromRatio({r:p(),g:p(),b:p()})},f.mix=function(e,t,r){r=0===r?0:r||50;var n=f(e).toRgb(),o=f(t).toRgb(),i=r/100;return f({r:(o.r-n.r)*i+n.r,g:(o.g-n.g)*i+n.g,b:(o.b-n.b)*i+n.b,a:(o.a-n.a)*i+n.a})},f.readability=function(e,t){var r=f(e),n=f(t);return(o.max(r.getLuminance(),n.getLuminance())+.05)/(o.min(r.getLuminance(),n.getLuminance())+.05)},f.isReadable=function(e,t,r){var n,o,i,a,s,l=f.readability(e,t);switch(o=!1,(i=r,"AA"!==(a=((i=i||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==a&&(a="AA"),"small"!==(s=(i.size||"small").toLowerCase())&&"large"!==s&&(s="small"),n={level:a,size:s}).level+n.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},f.mostReadable=function(e,t,r){var n,o,i,a,s=null,l=0;o=(r=r||{}).includeFallbackColors,i=r.level,a=r.size;for(var c=0;c<t.length;c++)(n=f.readability(e,t[c]))>l&&(l=n,s=f(t[c]));return f.isReadable(e,s,{level:i,size:a})||!o?s:(r.includeFallbackColors=!1,f.mostReadable(e,["#fff","#000"],r))};var L=f.names={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"0ff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"00f",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",burntsienna:"ea7e5d",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"0ff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"f0f",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"},N=f.hexNames=function(e){var t={};for(var r in e)e.hasOwnProperty(r)&&(t[e[r]]=r);return t}(L);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function j(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var r=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),r&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function q(e){return c(1,u(0,e))}function D(e){return parseInt(e,16)}function B(e){return 1==e.length?"0"+e:""+e}function P(e){return e<=1&&(e=100*e+"%"),e}function M(e){return o.round(255*parseFloat(e)).toString(16)}function F(e){return D(e)/255}var U,H,I,z=(H="[\\s|\\(]+("+(U="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",I="[\\s|\\(]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")[,|\\s]+("+U+")\\s*\\)?",{CSS_UNIT:new RegExp(U),rgb:new RegExp("rgb"+H),rgba:new RegExp("rgba"+I),hsl:new RegExp("hsl"+H),hsla:new RegExp("hsla"+I),hsv:new RegExp("hsv"+H),hsva:new RegExp("hsva"+I),hex3:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex6:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,hex4:/^#?([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,hex8:/^#?([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/});function V(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=f:void 0===(n=function(){return f}.call(t,r,t,e))||(e.exports=n)}(Math)},3450:function(e,t,r){"use strict";e.exports=r.p+"images/logo.46bd2419.png"},9196:function(e){"use strict";e.exports=window.React},9557:function(){},5287:function(e){"use strict";e.exports=JSON.parse('{"elementNames":{"altglyph":"altGlyph","altglyphdef":"altGlyphDef","altglyphitem":"altGlyphItem","animatecolor":"animateColor","animatemotion":"animateMotion","animatetransform":"animateTransform","clippath":"clipPath","feblend":"feBlend","fecolormatrix":"feColorMatrix","fecomponenttransfer":"feComponentTransfer","fecomposite":"feComposite","feconvolvematrix":"feConvolveMatrix","fediffuselighting":"feDiffuseLighting","fedisplacementmap":"feDisplacementMap","fedistantlight":"feDistantLight","fedropshadow":"feDropShadow","feflood":"feFlood","fefunca":"feFuncA","fefuncb":"feFuncB","fefuncg":"feFuncG","fefuncr":"feFuncR","fegaussianblur":"feGaussianBlur","feimage":"feImage","femerge":"feMerge","femergenode":"feMergeNode","femorphology":"feMorphology","feoffset":"feOffset","fepointlight":"fePointLight","fespecularlighting":"feSpecularLighting","fespotlight":"feSpotLight","fetile":"feTile","feturbulence":"feTurbulence","foreignobject":"foreignObject","glyphref":"glyphRef","lineargradient":"linearGradient","radialgradient":"radialGradient","textpath":"textPath"},"attributeNames":{"definitionurl":"definitionURL","attributename":"attributeName","attributetype":"attributeType","basefrequency":"baseFrequency","baseprofile":"baseProfile","calcmode":"calcMode","clippathunits":"clipPathUnits","diffuseconstant":"diffuseConstant","edgemode":"edgeMode","filterunits":"filterUnits","glyphref":"glyphRef","gradienttransform":"gradientTransform","gradientunits":"gradientUnits","kernelmatrix":"kernelMatrix","kernelunitlength":"kernelUnitLength","keypoints":"keyPoints","keysplines":"keySplines","keytimes":"keyTimes","lengthadjust":"lengthAdjust","limitingconeangle":"limitingConeAngle","markerheight":"markerHeight","markerunits":"markerUnits","markerwidth":"markerWidth","maskcontentunits":"maskContentUnits","maskunits":"maskUnits","numoctaves":"numOctaves","pathlength":"pathLength","patterncontentunits":"patternContentUnits","patterntransform":"patternTransform","patternunits":"patternUnits","pointsatx":"pointsAtX","pointsaty":"pointsAtY","pointsatz":"pointsAtZ","preservealpha":"preserveAlpha","preserveaspectratio":"preserveAspectRatio","primitiveunits":"primitiveUnits","refx":"refX","refy":"refY","repeatcount":"repeatCount","repeatdur":"repeatDur","requiredextensions":"requiredExtensions","requiredfeatures":"requiredFeatures","specularconstant":"specularConstant","specularexponent":"specularExponent","spreadmethod":"spreadMethod","startoffset":"startOffset","stddeviation":"stdDeviation","stitchtiles":"stitchTiles","surfacescale":"surfaceScale","systemlanguage":"systemLanguage","tablevalues":"tableValues","targetx":"targetX","targety":"targetY","textlength":"textLength","viewbox":"viewBox","viewtarget":"viewTarget","xchannelselector":"xChannelSelector","ychannelselector":"yChannelSelector","zoomandpan":"zoomAndPan"}}')},615:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},4655:function(e){"use strict";e.exports=JSON.parse('{"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":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","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":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","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":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","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":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","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":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","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":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","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":"▫","emsp13":" ","emsp14":" ","emsp":" ","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":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","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","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","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":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","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":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","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":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","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":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","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":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","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":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","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":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","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":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","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":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","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":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","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":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","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":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","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":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","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":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","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":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","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":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","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":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","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":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","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":""}')},9293:function(e){"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},9048:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')},362:function(e){"use strict";e.exports=JSON.parse('{"0":65533,"128":8364,"130":8218,"131":402,"132":8222,"133":8230,"134":8224,"135":8225,"136":710,"137":8240,"138":352,"139":8249,"140":338,"142":381,"145":8216,"146":8217,"147":8220,"148":8221,"149":8226,"150":8211,"151":8212,"152":732,"153":8482,"154":353,"155":8250,"156":339,"158":382,"159":376}')},5567:function(e){"use strict";e.exports=JSON.parse('{"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":"&","andand":"⩕","And":"⩓","and":"∧","andd":"⩜","andslope":"⩘","andv":"⩚","ang":"∠","ange":"⦤","angle":"∠","angmsdaa":"⦨","angmsdab":"⦩","angmsdac":"⦪","angmsdad":"⦫","angmsdae":"⦬","angmsdaf":"⦭","angmsdag":"⦮","angmsdah":"⦯","angmsd":"∡","angrt":"∟","angrtvb":"⊾","angrtvbd":"⦝","angsph":"∢","angst":"Å","angzarr":"⍼","Aogon":"Ą","aogon":"ą","Aopf":"𝔸","aopf":"𝕒","apacir":"⩯","ap":"≈","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":"⋍","bsolb":"⧅","bsol":"\\\\","bsolhsub":"⟈","bull":"•","bullet":"•","bump":"≎","bumpE":"⪮","bumpe":"≏","Bumpeq":"≎","bumpeq":"≏","Cacute":"Ć","cacute":"ć","capand":"⩄","capbrcup":"⩉","capcap":"⩋","cap":"∩","Cap":"⋒","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":"χ","circ":"ˆ","circeq":"≗","circlearrowleft":"↺","circlearrowright":"↻","circledast":"⊛","circledcirc":"⊚","circleddash":"⊝","CircleDot":"⊙","circledR":"®","circledS":"Ⓢ","CircleMinus":"⊖","CirclePlus":"⊕","CircleTimes":"⊗","cir":"○","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":"⤽","cupbrcap":"⩈","cupcap":"⩆","CupCap":"≍","cup":"∪","Cup":"⋓","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":"д","ddagger":"‡","ddarr":"⇊","DD":"ⅅ","dd":"ⅆ","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":"∥","DownArrowBar":"⤓","downarrow":"↓","DownArrow":"↓","Downarrow":"⇓","DownArrowUpArrow":"⇵","DownBreve":"̑","downdownarrows":"⇊","downharpoonleft":"⇃","downharpoonright":"⇂","DownLeftRightVector":"⥐","DownLeftTeeVector":"⥞","DownLeftVectorBar":"⥖","DownLeftVector":"↽","DownRightTeeVector":"⥟","DownRightVectorBar":"⥗","DownRightVector":"⇁","DownTeeArrow":"↧","DownTee":"⊤","drbkarow":"⤐","drcorn":"⌟","drcrop":"⌌","Dscr":"𝒟","dscr":"𝒹","DScy":"Ѕ","dscy":"ѕ","dsol":"⧶","Dstrok":"Đ","dstrok":"đ","dtdot":"⋱","dtri":"▿","dtrif":"▾","duarr":"⇵","duhar":"⥯","dwangle":"⦦","DZcy":"Џ","dzcy":"џ","dzigrarr":"⟿","Eacute":"É","eacute":"é","easter":"⩮","Ecaron":"Ě","ecaron":"ě","Ecirc":"Ê","ecirc":"ê","ecir":"≖","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":"▫","emsp13":" ","emsp14":" ","emsp":" ","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":"⩾","gescc":"⪩","ges":"⩾","gesdot":"⪀","gesdoto":"⪂","gesdotol":"⪄","gesl":"⋛︀","gesles":"⪔","Gfr":"𝔊","gfr":"𝔤","gg":"≫","Gg":"⋙","ggg":"⋙","gimel":"ℷ","GJcy":"Ѓ","gjcy":"ѓ","gla":"⪥","gl":"≷","glE":"⪒","glj":"⪤","gnap":"⪊","gnapprox":"⪊","gne":"⪈","gnE":"≩","gneq":"⪈","gneqq":"≩","gnsim":"⋧","Gopf":"𝔾","gopf":"𝕘","grave":"`","GreaterEqual":"≥","GreaterEqualLess":"⋛","GreaterFullEqual":"≧","GreaterGreater":"⪢","GreaterLess":"≷","GreaterSlantEqual":"⩾","GreaterTilde":"≳","Gscr":"𝒢","gscr":"ℊ","gsim":"≳","gsime":"⪎","gsiml":"⪐","gtcc":"⪧","gtcir":"⩺","gt":">","GT":">","Gt":"≫","gtdot":"⋗","gtlPar":"⦕","gtquest":"⩼","gtrapprox":"⪆","gtrarr":"⥸","gtrdot":"⋗","gtreqless":"⋛","gtreqqless":"⪌","gtrless":"≷","gtrsim":"≳","gvertneqq":"≩︀","gvnE":"≩︀","Hacek":"ˇ","hairsp":" ","half":"½","hamilt":"ℋ","HARDcy":"Ъ","hardcy":"ъ","harrcir":"⥈","harr":"↔","hArr":"⇔","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","Imacr":"Ī","imacr":"ī","image":"ℑ","ImaginaryI":"ⅈ","imagline":"ℐ","imagpart":"ℑ","imath":"ı","Im":"ℑ","imof":"⊷","imped":"Ƶ","Implies":"⇒","incare":"℅","in":"∈","infin":"∞","infintie":"⧝","inodot":"ı","intcal":"⊺","int":"∫","Int":"∬","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":"«","larrb":"⇤","larrbfs":"⤟","larr":"←","Larr":"↞","lArr":"⇐","larrfs":"⤝","larrhk":"↩","larrlp":"↫","larrpl":"⤹","larrsim":"⥳","larrtl":"↢","latail":"⤙","lAtail":"⤛","lat":"⪫","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":"⟨","LeftArrowBar":"⇤","leftarrow":"←","LeftArrow":"←","Leftarrow":"⇐","LeftArrowRightArrow":"⇆","leftarrowtail":"↢","LeftCeiling":"⌈","LeftDoubleBracket":"⟦","LeftDownTeeVector":"⥡","LeftDownVectorBar":"⥙","LeftDownVector":"⇃","LeftFloor":"⌊","leftharpoondown":"↽","leftharpoonup":"↼","leftleftarrows":"⇇","leftrightarrow":"↔","LeftRightArrow":"↔","Leftrightarrow":"⇔","leftrightarrows":"⇆","leftrightharpoons":"⇋","leftrightsquigarrow":"↭","LeftRightVector":"⥎","LeftTeeArrow":"↤","LeftTee":"⊣","LeftTeeVector":"⥚","leftthreetimes":"⋋","LeftTriangleBar":"⧏","LeftTriangle":"⊲","LeftTriangleEqual":"⊴","LeftUpDownVector":"⥑","LeftUpTeeVector":"⥠","LeftUpVectorBar":"⥘","LeftUpVector":"↿","LeftVectorBar":"⥒","LeftVector":"↼","lEg":"⪋","leg":"⋚","leq":"≤","leqq":"≦","leqslant":"⩽","lescc":"⪨","les":"⩽","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":"љ","llarr":"⇇","ll":"≪","Ll":"⋘","llcorner":"⌞","Lleftarrow":"⇚","llhard":"⥫","lltri":"◺","Lmidot":"Ŀ","lmidot":"ŀ","lmoustache":"⎰","lmoust":"⎰","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":"ł","ltcc":"⪦","ltcir":"⩹","lt":"<","LT":"<","Lt":"≪","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":"µ","midast":"*","midcir":"⫰","mid":"∣","middot":"·","minusb":"⊟","minus":"−","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":"≉","natural":"♮","naturals":"ℕ","natur":"♮","nbsp":" ","nbump":"≎̸","nbumpe":"≏̸","ncap":"⩃","Ncaron":"Ň","ncaron":"ň","Ncedil":"Ņ","ncedil":"ņ","ncong":"≇","ncongdot":"⩭̸","ncup":"⩂","Ncy":"Н","ncy":"н","ndash":"–","nearhk":"⤤","nearr":"↗","neArr":"⇗","nearrow":"↗","ne":"≠","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":"⋶","NotLeftTriangleBar":"⧏̸","NotLeftTriangle":"⋪","NotLeftTriangleEqual":"⋬","NotLess":"≮","NotLessEqual":"≰","NotLessGreater":"≸","NotLessLess":"≪̸","NotLessSlantEqual":"⩽̸","NotLessTilde":"≴","NotNestedGreaterGreater":"⪢̸","NotNestedLessLess":"⪡̸","notni":"∌","notniva":"∌","notnivb":"⋾","notnivc":"⋽","NotPrecedes":"⊀","NotPrecedesEqual":"⪯̸","NotPrecedesSlantEqual":"⋠","NotReverseElement":"∌","NotRightTriangleBar":"⧐̸","NotRightTriangle":"⋫","NotRightTriangleEqual":"⋭","NotSquareSubset":"⊏̸","NotSquareSubsetEqual":"⋢","NotSquareSuperset":"⊐̸","NotSquareSupersetEqual":"⋣","NotSubset":"⊂⃒","NotSubsetEqual":"⊈","NotSucceeds":"⊁","NotSucceedsEqual":"⪰̸","NotSucceedsSlantEqual":"⋡","NotSucceedsTilde":"≿̸","NotSuperset":"⊃⃒","NotSupersetEqual":"⊉","NotTilde":"≁","NotTildeEqual":"≄","NotTildeFullEqual":"≇","NotTildeTilde":"≉","NotVerticalBar":"∤","nparallel":"∦","npar":"∦","nparsl":"⫽⃥","npart":"∂̸","npolint":"⨔","npr":"⊀","nprcue":"⋠","nprec":"⊀","npreceq":"⪯̸","npre":"⪯̸","nrarrc":"⤳̸","nrarr":"↛","nrArr":"⇏","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":"⊛","Ocirc":"Ô","ocirc":"ô","ocir":"⊚","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":"⊕","orarr":"↻","Or":"⩔","or":"∨","ord":"⩝","order":"ℴ","orderof":"ℴ","ordf":"ª","ordm":"º","origof":"⊶","oror":"⩖","orslope":"⩗","orv":"⩛","oS":"Ⓢ","Oscr":"𝒪","oscr":"ℴ","Oslash":"Ø","oslash":"ø","osol":"⊘","Otilde":"Õ","otilde":"õ","otimesas":"⨶","Otimes":"⨷","otimes":"⊗","Ouml":"Ö","ouml":"ö","ovbar":"⌽","OverBar":"‾","OverBrace":"⏞","OverBracket":"⎴","OverParenthesis":"⏜","para":"¶","parallel":"∥","par":"∥","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":"ℏ","plusacir":"⨣","plusb":"⊞","pluscir":"⨢","plus":"+","plusdo":"∔","plusdu":"⨥","pluse":"⩲","PlusMinus":"±","plusmn":"±","plussim":"⨦","plustwo":"⨧","pm":"±","Poincareplane":"ℌ","pointint":"⨕","popf":"𝕡","Popf":"ℙ","pound":"£","prap":"⪷","Pr":"⪻","pr":"≺","prcue":"≼","precapprox":"⪷","prec":"≺","preccurlyeq":"≼","Precedes":"≺","PrecedesEqual":"⪯","PrecedesSlantEqual":"≼","PrecedesTilde":"≾","preceq":"⪯","precnapprox":"⪹","precneqq":"⪵","precnsim":"⋨","pre":"⪯","prE":"⪳","precsim":"≾","prime":"′","Prime":"″","primes":"ℙ","prnap":"⪹","prnE":"⪵","prnsim":"⋨","prod":"∏","Product":"∏","profalar":"⌮","profline":"⌒","profsurf":"⌓","prop":"∝","Proportional":"∝","Proportion":"∷","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":"»","rarrap":"⥵","rarrb":"⇥","rarrbfs":"⤠","rarrc":"⤳","rarr":"→","Rarr":"↠","rArr":"⇒","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":"↳","real":"ℜ","realine":"ℛ","realpart":"ℜ","reals":"ℝ","Re":"ℜ","rect":"▭","reg":"®","REG":"®","ReverseElement":"∋","ReverseEquilibrium":"⇋","ReverseUpEquilibrium":"⥯","rfisht":"⥽","rfloor":"⌋","rfr":"𝔯","Rfr":"ℜ","rHar":"⥤","rhard":"⇁","rharu":"⇀","rharul":"⥬","Rho":"Ρ","rho":"ρ","rhov":"ϱ","RightAngleBracket":"⟩","RightArrowBar":"⇥","rightarrow":"→","RightArrow":"→","Rightarrow":"⇒","RightArrowLeftArrow":"⇄","rightarrowtail":"↣","RightCeiling":"⌉","RightDoubleBracket":"⟧","RightDownTeeVector":"⥝","RightDownVectorBar":"⥕","RightDownVector":"⇂","RightFloor":"⌋","rightharpoondown":"⇁","rightharpoonup":"⇀","rightleftarrows":"⇄","rightleftharpoons":"⇌","rightrightarrows":"⇉","rightsquigarrow":"↝","RightTeeArrow":"↦","RightTee":"⊢","RightTeeVector":"⥛","rightthreetimes":"⋌","RightTriangleBar":"⧐","RightTriangle":"⊳","RightTriangleEqual":"⊵","RightUpDownVector":"⥏","RightUpTeeVector":"⥜","RightUpVectorBar":"⥔","RightUpVector":"↾","RightVectorBar":"⥓","RightVector":"⇀","ring":"˚","risingdotseq":"≓","rlarr":"⇄","rlhar":"⇌","rlm":"","rmoustache":"⎱","rmoust":"⎱","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":"‚","scap":"⪸","Scaron":"Š","scaron":"š","Sc":"⪼","sc":"≻","sccue":"≽","sce":"⪰","scE":"⪴","Scedil":"Ş","scedil":"ş","Scirc":"Ŝ","scirc":"ŝ","scnap":"⪺","scnE":"⪶","scnsim":"⋩","scpolint":"⨓","scsim":"≿","Scy":"С","scy":"с","sdotb":"⊡","sdot":"⋅","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":"ь","solbar":"⌿","solb":"⧄","sol":"/","Sopf":"𝕊","sopf":"𝕤","spades":"♠","spadesuit":"♠","spar":"∥","sqcap":"⊓","sqcaps":"⊓︀","sqcup":"⊔","sqcups":"⊔︀","Sqrt":"√","sqsub":"⊏","sqsube":"⊑","sqsubset":"⊏","sqsubseteq":"⊑","sqsup":"⊐","sqsupe":"⊒","sqsupset":"⊐","sqsupseteq":"⊒","square":"□","Square":"□","SquareIntersection":"⊓","SquareSubset":"⊏","SquareSubsetEqual":"⊑","SquareSuperset":"⊐","SquareSupersetEqual":"⊒","SquareUnion":"⊔","squarf":"▪","squ":"□","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":"⫓","succapprox":"⪸","succ":"≻","succcurlyeq":"≽","Succeeds":"≻","SucceedsEqual":"⪰","SucceedsSlantEqual":"≽","SucceedsTilde":"≿","succeq":"⪰","succnapprox":"⪺","succneqq":"⪶","succnsim":"⋩","succsim":"≿","SuchThat":"∋","sum":"∑","Sum":"∑","sung":"♪","sup1":"¹","sup2":"²","sup3":"³","sup":"⊃","Sup":"⋑","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":" ","ThinSpace":" ","thinsp":" ","thkap":"≈","thksim":"∼","THORN":"Þ","thorn":"þ","tilde":"˜","Tilde":"∼","TildeEqual":"≃","TildeFullEqual":"≅","TildeTilde":"≈","timesbar":"⨱","timesb":"⊠","times":"×","timesd":"⨰","tint":"∭","toea":"⤨","topbot":"⌶","topcir":"⫱","top":"⊤","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":"𝕦","UpArrowBar":"⤒","uparrow":"↑","UpArrow":"↑","Uparrow":"⇑","UpArrowDownArrow":"⇅","updownarrow":"↕","UpDownArrow":"↕","Updownarrow":"⇕","UpEquilibrium":"⥮","upharpoonleft":"↿","upharpoonright":"↾","uplus":"⊎","UpperLeftArrow":"↖","UpperRightArrow":"↗","upsi":"υ","Upsi":"ϒ","upsih":"ϒ","Upsilon":"Υ","upsilon":"υ","UpTeeArrow":"↥","UpTee":"⊥","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":"⫦","veebar":"⊻","vee":"∨","Vee":"⋁","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":""}')},213:function(e){"use strict";e.exports=JSON.parse('{"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":"ÿ"}')},4143:function(e){"use strict";e.exports=JSON.parse('{"amp":"&","apos":"\'","gt":">","lt":"<","quot":"\\""}')}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,{a:t}),t},r.d=function(e,t){for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;r.g.importScripts&&(e=r.g.location+"");var t=r.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");n.length&&(e=n[n.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),r.p=e}(),function(){"use strict";var e=window.wp.element,t=r(9196),n=r.n(t),o=window.ReactDOM,i=r.n(o);function a(e,t){return a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},a(e,t)}function s(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,a(e,t)}function l(){return 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},l.apply(this,arguments)}function c(e){return"/"===e.charAt(0)}function u(e,t){for(var r=t,n=r+1,o=e.length;n<o;r+=1,n+=1)e[r]=e[n];e.pop()}function p(e,t){if(!e)throw new Error("Invariant failed")}function f(e){return"/"===e.charAt(0)?e:"/"+e}function h(e,t){return function(e,t){return 0===e.toLowerCase().indexOf(t.toLowerCase())&&-1!=="/?#".indexOf(e.charAt(t.length))}(e,t)?e.substr(t.length):e}function d(e){return"/"===e.charAt(e.length-1)?e.slice(0,-1):e}function g(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 m(e,t,r,n){var o;"string"==typeof e?(o=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),o.state=t):(void 0===(o=l({},e)).pathname&&(o.pathname=""),o.search?"?"!==o.search.charAt(0)&&(o.search="?"+o.search):o.search="",o.hash?"#"!==o.hash.charAt(0)&&(o.hash="#"+o.hash):o.hash="",void 0!==t&&void 0===o.state&&(o.state=t));try{o.pathname=decodeURI(o.pathname)}catch(e){throw e instanceof URIError?new URIError('Pathname "'+o.pathname+'" could not be decoded. This is likely caused by an invalid percent-encoding.'):e}return r&&(o.key=r),n?o.pathname?"/"!==o.pathname.charAt(0)&&(o.pathname=function(e,t){void 0===t&&(t="");var r,n=e&&e.split("/")||[],o=t&&t.split("/")||[],i=e&&c(e),a=t&&c(t),s=i||a;if(e&&c(e)?o=n:n.length&&(o.pop(),o=o.concat(n)),!o.length)return"/";if(o.length){var l=o[o.length-1];r="."===l||".."===l||""===l}else r=!1;for(var p=0,f=o.length;f>=0;f--){var h=o[f];"."===h?u(o,f):".."===h?(u(o,f),p++):p&&(u(o,f),p--)}if(!s)for(;p--;p)o.unshift("..");!s||""===o[0]||o[0]&&c(o[0])||o.unshift("");var d=o.join("/");return r&&"/"!==d.substr(-1)&&(d+="/"),d}(o.pathname,n.pathname)):o.pathname=n.pathname:o.pathname||(o.pathname="/"),o}function b(){var e=null,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 v=!("undefined"==typeof window||!window.document||!window.document.createElement);function y(e,t){t(window.confirm(e))}var w="popstate",x="hashchange";function _(){try{return window.history.state||{}}catch(e){return{}}}function E(e){void 0===e&&(e={}),v||p(!1);var t,r=window.history,n=(-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,o=!(-1===window.navigator.userAgent.indexOf("Trident")),i=e,a=i.forceRefresh,s=void 0!==a&&a,c=i.getUserConfirmation,u=void 0===c?y:c,E=i.keyLength,S=void 0===E?6:E,C=e.basename?d(f(e.basename)):"";function k(e){var t=e||{},r=t.key,n=t.state,o=window.location,i=o.pathname+o.search+o.hash;return C&&(i=h(i,C)),m(i,n,r)}function A(){return Math.random().toString(36).substr(2,S)}var O=b();function T(e){l(H,e),H.length=r.length,O.notifyListeners(H.location,H.action)}function L(e){(function(e){return void 0===e.state&&-1===navigator.userAgent.indexOf("CriOS")})(e)||j(k(e.state))}function N(){j(k(_()))}var R=!1;function j(e){R?(R=!1,T()):O.confirmTransitionTo(e,"POP",u,(function(t){t?T({action:"POP",location:e}):function(e){var t=H.location,r=D.indexOf(t.key);-1===r&&(r=0);var n=D.indexOf(e.key);-1===n&&(n=0);var o=r-n;o&&(R=!0,P(o))}(e)}))}var q=k(_()),D=[q.key];function B(e){return C+g(e)}function P(e){r.go(e)}var M=0;function F(e){1===(M+=e)&&1===e?(window.addEventListener(w,L),o&&window.addEventListener(x,N)):0===M&&(window.removeEventListener(w,L),o&&window.removeEventListener(x,N))}var U=!1,H={length:r.length,action:"POP",location:q,createHref:B,push:function(e,t){var o="PUSH",i=m(e,t,A(),H.location);O.confirmTransitionTo(i,o,u,(function(e){if(e){var t=B(i),a=i.key,l=i.state;if(n)if(r.pushState({key:a,state:l},null,t),s)window.location.href=t;else{var c=D.indexOf(H.location.key),u=D.slice(0,c+1);u.push(i.key),D=u,T({action:o,location:i})}else window.location.href=t}}))},replace:function(e,t){var o="REPLACE",i=m(e,t,A(),H.location);O.confirmTransitionTo(i,o,u,(function(e){if(e){var t=B(i),a=i.key,l=i.state;if(n)if(r.replaceState({key:a,state:l},null,t),s)window.location.replace(t);else{var c=D.indexOf(H.location.key);-1!==c&&(D[c]=i.key),T({action:o,location:i})}else window.location.replace(t)}}))},go:P,goBack:function(){P(-1)},goForward:function(){P(1)},block:function(e){void 0===e&&(e=!1);var t=O.setPrompt(e);return U||(F(1),U=!0),function(){return U&&(U=!1,F(-1)),t()}},listen:function(e){var t=O.appendListener(e);return F(1),function(){F(-1),t()}}};return H}var S=r(5697),C=r.n(S),k=1073741823,A="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==r.g?r.g:{};function O(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 T=n().createContext||function(e,r){var n,o,i,a="__create-react-context-"+((A[i="__global_unique_id__"]=(A[i]||0)+1)+"__"),l=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).emitter=O(t.props.value),t}s(t,e);var n=t.prototype;return n.getChildContext=function(){var e;return(e={})[a]=this.emitter,e},n.componentWillReceiveProps=function(e){if(this.props.value!==e.value){var t,n=this.props.value,o=e.value;((i=n)===(a=o)?0!==i||1/i==1/a:i!=i&&a!=a)?t=0:(t="function"==typeof r?r(n,o):k,0!=(t|=0)&&this.emitter.set(e.value,t))}var i,a},n.render=function(){return this.props.children},t}(t.Component);l.childContextTypes=((n={})[a]=C().object.isRequired,n);var c=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}s(r,t);var n=r.prototype;return n.componentWillReceiveProps=function(e){var t=e.observedBits;this.observedBits=null==t?k:t},n.componentDidMount=function(){this.context[a]&&this.context[a].on(this.onUpdate);var e=this.props.observedBits;this.observedBits=null==e?k:e},n.componentWillUnmount=function(){this.context[a]&&this.context[a].off(this.onUpdate)},n.getValue=function(){return this.context[a]?this.context[a].get():e},n.render=function(){return(e=this.props.children,Array.isArray(e)?e[0]:e)(this.state.value);var e},r}(t.Component);return c.contextTypes=((o={})[a]=C().object,o),{Provider:l,Consumer:c}},L=T,N=r(4779),R=r.n(N);function j(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(9864),r(8679);var q=function(e){var t=L();return t.displayName=e,t},D=q("Router-History"),B=q("Router"),P=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}s(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(),this._isMounted=!1,this._pendingLocation=null)},r.render=function(){return n().createElement(B.Provider,{value:{history:this.props.history,location:this.state.location,match:t.computeRootMatch(this.state.location.pathname),staticContext:this.props.staticContext}},n().createElement(D.Provider,{children:this.props.children||null,value:this.props.history}))},t}(n().Component);n().Component,n().Component;var M={},F=0;n().Component,n().Component,n().Component;var U=n().useContext;function H(){return U(B).location}var I=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=E(t.props),t}return s(t,e),t.prototype.render=function(){return n().createElement(P,{history:this.history,children:this.props.children})},t}(n().Component);n().Component;var z=function(e,t){return"function"==typeof e?e(t):e},V=function(e,t){return"string"==typeof e?m(e,null,null,t):e},G=function(e){return e},Z=n().forwardRef;void 0===Z&&(Z=G);var W=Z((function(e,t){var r=e.innerRef,o=e.navigate,i=e.onClick,a=j(e,["innerRef","navigate","onClick"]),s=a.target,c=l({},a,{onClick:function(e){try{i&&i(e)}catch(t){throw e.preventDefault(),t}e.defaultPrevented||0!==e.button||s&&"_self"!==s||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e)||(e.preventDefault(),o())}});return c.ref=G!==Z&&t||r,n().createElement("a",c)})),$=Z((function(e,t){var r=e.component,o=void 0===r?W:r,i=e.replace,a=e.to,s=e.innerRef,c=j(e,["component","replace","to","innerRef"]);return n().createElement(B.Consumer,null,(function(e){e||p(!1);var r=e.history,u=V(z(a,e.location),e.location),f=u?r.createHref(u):"",h=l({},c,{href:f,navigate:function(){var t=z(a,e.location),n=g(e.location)===g(V(t));(i||n?r.replace:r.push)(t)}});return G!==Z?h.ref=t||s:h.innerRef=s,n().createElement(o,h)}))})),X=function(e){return e},Y=n().forwardRef;void 0===Y&&(Y=X),Y((function(e,t){var r=e["aria-current"],o=void 0===r?"page":r,i=e.activeClassName,a=void 0===i?"active":i,s=e.activeStyle,c=e.className,u=e.exact,f=e.isActive,h=e.location,d=e.sensitive,g=e.strict,m=e.style,b=e.to,v=e.innerRef,y=j(e,["aria-current","activeClassName","activeStyle","className","exact","isActive","location","sensitive","strict","style","to","innerRef"]);return n().createElement(B.Consumer,null,(function(e){e||p(!1);var r=h||e.location,i=V(z(b,r),r),w=i.pathname,x=w&&w.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1"),_=x?function(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,s=void 0!==a&&a,l=r.sensitive,c=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=M[r]||(M[r]={});if(n[e])return n[e];var o=[],i={regexp:R()(e,o,t),keys:o};return F<1e4&&(n[e]=i,F++),i}(r,{end:i,strict:s,sensitive:c}),o=n.regexp,a=n.keys,l=o.exec(e);if(!l)return null;var u=l[0],p=l.slice(1),f=e===u;return i&&!f?null:{path:r,url:"/"===r&&""===u?"/":u,isExact:f,params:a.reduce((function(e,t,r){return e[t.name]=p[r],e}),{})}}),null)}(r.pathname,{path:x,exact:u,sensitive:d,strict:g}):null,E=!!(f?f(_,r):_),S="function"==typeof c?c(E):c,C="function"==typeof m?m(E):m;E&&(S=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(" ")}(S,a),C=l({},C,s));var k=l({"aria-current":E&&o||null,className:S,style:C,to:i},y);return X!==Y?k.ref=t||v:k.innerRef=v,n().createElement($,k)}))}));const J=cfvsw_settings;var K,Q,ee=window.wp.i18n;function te(){return te=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},te.apply(this,arguments)}function re(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}function ne(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 oe(e,t){var r;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return ne(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)?ne(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(r=e[Symbol.iterator]()).next.bind(r)}function ie(e,t){if(e in t){for(var r=t[e],n=arguments.length,o=new Array(n>2?n-2:0),i=2;i<n;i++)o[i-2]=arguments[i];return"function"==typeof r?r.apply(void 0,o):r}var a=new Error('Tried to handle "'+e+'" but there is no handler defined. Only defined handlers are: '+Object.keys(t).map((function(e){return'"'+e+'"'})).join(", ")+".");throw Error.captureStackTrace&&Error.captureStackTrace(a,ie),a}function ae(e){var t=e.props,r=e.slot,n=e.defaultTag,o=e.features,i=e.visible,a=void 0===i||i,s=e.name;if(a)return se(t,r,n,s);var l=null!=o?o:K.None;if(l&K.Static){var c=t.static,u=void 0!==c&&c,p=re(t,["static"]);if(u)return se(p,r,n,s)}if(l&K.RenderStrategy){var f,h=t.unmount,d=void 0===h||h,g=re(t,["unmount"]);return ie(d?Q.Unmount:Q.Hidden,((f={})[Q.Unmount]=function(){return null},f[Q.Hidden]=function(){return se(te({},g,{hidden:!0,style:{display:"none"}}),r,n,s)},f))}return se(t,r,n,s)}function se(e,r,n,o){var i;void 0===r&&(r={});var a=ce(e,["unmount","static"]),s=a.as,l=void 0===s?n:s,c=a.children,u=a.refName,p=void 0===u?"ref":u,f=re(a,["as","children","refName"]),h=void 0!==e.ref?((i={})[p]=e.ref,i):{},d="function"==typeof c?c(r):c;if(f.className&&"function"==typeof f.className&&(f.className=f.className(r)),l===t.Fragment&&Object.keys(f).length>0){if(!(0,t.isValidElement)(d)||Array.isArray(d)&&d.length>1)throw new Error(['Passing props on "Fragment"!',"","The current component <"+o+' /> is rendering a "Fragment".',"However we need to passthrough the following props:",Object.keys(f).map((function(e){return" - "+e})).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((function(e){return" - "+e})).join("\n")].join("\n"));return(0,t.cloneElement)(d,Object.assign({},function(e,t,r){for(var n,o=Object.assign({},e),i=function(){var r,i=n.value;void 0!==e[i]&&void 0!==t[i]&&Object.assign(o,((r={})[i]=function(r){r.defaultPrevented||e[i](r),r.defaultPrevented||t[i](r)},r))},a=oe(["onClick"]);!(n=a()).done;)i();return o}(function(e){var t=Object.assign({},e);for(var r in t)void 0===t[r]&&delete t[r];return t}(ce(f,["ref"])),d.props),h))}return(0,t.createElement)(l,Object.assign({},ce(f,["ref"]),l!==t.Fragment&&h),d)}function le(e){var r;return Object.assign((0,t.forwardRef)(e),{displayName:null!=(r=e.displayName)?r:e.name})}function ce(e,t){void 0===t&&(t=[]);for(var r,n=Object.assign({},e),o=oe(t);!(r=o()).done;){var i=r.value;i in n&&delete n[i]}return n}!function(e){e[e.None=0]="None",e[e.RenderStrategy=1]="RenderStrategy",e[e.Static=2]="Static"}(K||(K={})),function(e){e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden"}(Q||(Q={}));var ue="undefined"!=typeof window?t.useLayoutEffect:t.useEffect,pe={serverHandoffComplete:!1};function fe(){var e=(0,t.useState)(pe.serverHandoffComplete),r=e[0],n=e[1];return(0,t.useEffect)((function(){!0!==r&&n(!0)}),[r]),(0,t.useEffect)((function(){!1===pe.serverHandoffComplete&&(pe.serverHandoffComplete=!0)}),[]),r}var he=0;function de(){return++he}function ge(){var e=fe(),r=(0,t.useState)(e?de:null),n=r[0],o=r[1];return ue((function(){null===n&&o(de())}),[n]),null!=n?""+n:void 0}var me,be,ve=(0,t.createContext)(null);function ye(){return(0,t.useContext)(ve)}function we(e){var t=e.value,r=e.children;return n().createElement(ve.Provider,{value:t},r)}function xe(){var e=[],t={requestAnimationFrame:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=requestAnimationFrame.apply(void 0,arguments);t.add((function(){return cancelAnimationFrame(e)}))})),nextFrame:function(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];t.requestAnimationFrame((function(){t.requestAnimationFrame.apply(t,r)}))},setTimeout:function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(){var e=setTimeout.apply(void 0,arguments);t.add((function(){return clearTimeout(e)}))})),add:function(t){e.push(t)},dispose:function(){for(var t,r=oe(e.splice(0));!(t=r()).done;){(0,t.value)()}}};return t}function _e(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e&&n.length>0&&(t=e.classList).add.apply(t,n)}function Ee(e){for(var t,r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];e&&n.length>0&&(t=e.classList).remove.apply(t,n)}function Se(e,t,r,n,o,i){var a=xe(),s=void 0!==i?function(e){var t={called:!1};return function(){if(!t.called)return t.called=!0,e.apply(void 0,arguments)}}(i):function(){};return Ee.apply(void 0,[e].concat(o)),_e.apply(void 0,[e].concat(t,r)),a.nextFrame((function(){Ee.apply(void 0,[e].concat(r)),_e.apply(void 0,[e].concat(n)),a.add(function(e,t){var r=xe();if(!e)return r.dispose;var n=getComputedStyle(e),o=[n.transitionDuration,n.transitionDelay].map((function(e){var t=e.split(",").filter(Boolean).map((function(e){return e.includes("ms")?parseFloat(e):1e3*parseFloat(e)})).sort((function(e,t){return t-e}))[0];return void 0===t?0:t})),i=o[0],a=o[1];return 0!==i?r.setTimeout((function(){t(be.Finished)}),i+a):t(be.Finished),r.add((function(){return t(be.Cancelled)})),r.dispose}(e,(function(r){return Ee.apply(void 0,[e].concat(n,t)),_e.apply(void 0,[e].concat(o)),s(r)})))})),a.add((function(){return Ee.apply(void 0,[e].concat(t,r,n,o))})),a.add((function(){return s(be.Cancelled)})),a.dispose}function Ce(e){return void 0===e&&(e=""),(0,t.useMemo)((function(){return e.split(" ").filter((function(e){return e.trim().length>1}))}),[e])}ve.displayName="OpenClosedContext",function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(me||(me={})),function(e){e.Finished="finished",e.Cancelled="cancelled"}(be||(be={}));var ke,Ae=(0,t.createContext)(null);Ae.displayName="TransitionContext",function(e){e.Visible="visible",e.Hidden="hidden"}(ke||(ke={}));var Oe=(0,t.createContext)(null);function Te(e){return"children"in e?Te(e.children):e.current.filter((function(e){return e.state===ke.Visible})).length>0}function Le(e){var r=(0,t.useRef)(e),n=(0,t.useRef)([]),o=function(){var e=(0,t.useRef)(!1);return(0,t.useEffect)((function(){return e.current=!0,function(){e.current=!1}}),[]),e}();(0,t.useEffect)((function(){r.current=e}),[e]);var i=(0,t.useCallback)((function(e,t){var i;void 0===t&&(t=Q.Hidden);var a=n.current.findIndex((function(t){return t.id===e}));-1!==a&&(ie(t,((i={})[Q.Unmount]=function(){n.current.splice(a,1)},i[Q.Hidden]=function(){n.current[a].state=ke.Hidden},i)),!Te(n)&&o.current&&(null==r.current||r.current()))}),[r,o,n]),a=(0,t.useCallback)((function(e){var t=n.current.find((function(t){return t.id===e}));return t?t.state!==ke.Visible&&(t.state=ke.Visible):n.current.push({id:e,state:ke.Visible}),function(){return i(e,Q.Unmount)}}),[n,i]);return(0,t.useMemo)((function(){return{children:n,register:a,unregister:i}}),[a,i,n])}function Ne(){}Oe.displayName="NestingContext";var Re=["beforeEnter","afterEnter","beforeLeave","afterLeave"];function je(e){for(var t,r={},n=oe(Re);!(t=n()).done;){var o,i=t.value;r[i]=null!=(o=e[i])?o:Ne}return r}var qe=K.RenderStrategy;function De(e){var r,o=e.beforeEnter,i=e.afterEnter,a=e.beforeLeave,s=e.afterLeave,l=e.enter,c=e.enterFrom,u=e.enterTo,p=e.entered,f=e.leave,h=e.leaveFrom,d=e.leaveTo,g=re(e,["beforeEnter","afterEnter","beforeLeave","afterLeave","enter","enterFrom","enterTo","entered","leave","leaveFrom","leaveTo"]),m=(0,t.useRef)(null),b=(0,t.useState)(ke.Visible),v=b[0],y=b[1],w=g.unmount?Q.Unmount:Q.Hidden,x=function(){var e=(0,t.useContext)(Ae);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),_=x.show,E=x.appear,S=x.initial,C=function(){var e=(0,t.useContext)(Oe);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),k=C.register,A=C.unregister,O=ge(),T=(0,t.useRef)(!1),L=Le((function(){T.current||(y(ke.Hidden),A(O),M.current.afterLeave())}));ue((function(){if(O)return k(O)}),[k,O]),ue((function(){var e;w===Q.Hidden&&O&&(_&&v!==ke.Visible?y(ke.Visible):ie(v,((e={})[ke.Hidden]=function(){return A(O)},e[ke.Visible]=function(){return k(O)},e)))}),[v,O,k,A,_,w]);var N=Ce(l),R=Ce(c),j=Ce(u),q=Ce(p),D=Ce(f),B=Ce(h),P=Ce(d),M=function(e){var r=(0,t.useRef)(je(e));return(0,t.useEffect)((function(){r.current=je(e)}),[e]),r}({beforeEnter:o,afterEnter:i,beforeLeave:a,afterLeave:s}),F=fe();(0,t.useEffect)((function(){if(F&&v===ke.Visible&&null===m.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[m,v,F]);var U=S&&!E;ue((function(){var e=m.current;if(e&&!U)return T.current=!0,_&&M.current.beforeEnter(),_||M.current.beforeLeave(),_?Se(e,N,R,j,q,(function(e){T.current=!1,e===be.Finished&&M.current.afterEnter()})):Se(e,D,B,P,q,(function(e){T.current=!1,e===be.Finished&&(Te(L)||(y(ke.Hidden),A(O),M.current.afterLeave()))}))}),[M,O,T,A,L,m,U,_,N,R,j,D,B,P]);var H={ref:m},I=g;return n().createElement(Oe.Provider,{value:L},n().createElement(we,{value:ie(v,(r={},r[ke.Visible]=me.Open,r[ke.Hidden]=me.Closed,r))},ae({props:te({},I,H),defaultTag:"div",features:qe,visible:v===ke.Visible,name:"Transition.Child"})))}function Be(e){var r,o=e.show,i=e.appear,a=void 0!==i&&i,s=e.unmount,l=re(e,["show","appear","unmount"]),c=ye();if(void 0===o&&null!==c&&(o=ie(c,((r={})[me.Open]=!0,r[me.Closed]=!1,r))),![!0,!1].includes(o))throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");var u=(0,t.useState)(o?ke.Visible:ke.Hidden),p=u[0],f=u[1],h=Le((function(){f(ke.Hidden)})),d=function(){var e=(0,t.useRef)(!0);return(0,t.useEffect)((function(){e.current=!1}),[]),e.current}(),g=(0,t.useMemo)((function(){return{show:o,appear:a||!d,initial:d}}),[o,a,d]);(0,t.useEffect)((function(){o?f(ke.Visible):Te(h)||f(ke.Hidden)}),[o,h]);var m={unmount:s};return n().createElement(Oe.Provider,{value:h},n().createElement(Ae.Provider,{value:g},ae({props:te({},m,{as:t.Fragment,children:n().createElement(De,Object.assign({},m,l))}),defaultTag:t.Fragment,features:qe,visible:p===ke.Visible,name:"Transition"})))}Be.Child=function(e){var r=null!==(0,t.useContext)(Ae),o=null!==ye();return!r&&o?n().createElement(Be,Object.assign({},e)):n().createElement(De,Object.assign({},e))},Be.Root=Be;var Pe=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","aria-hidden":"true"},e),t.createElement("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))},Me=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),t.createElement("path",{fillRule:"evenodd",d:"M10 3a1 1 0 01.707.293l3 3a1 1 0 01-1.414 1.414L10 5.414 7.707 7.707a1 1 0 01-1.414-1.414l3-3A1 1 0 0110 3zm-3.707 9.293a1 1 0 011.414 0L10 14.586l2.293-2.293a1 1 0 011.414 1.414l-3 3a1 1 0 01-1.414 0l-3-3a1 1 0 010-1.414z",clipRule:"evenodd"}))},Fe=function(e){return t.createElement("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor","aria-hidden":"true"},e),t.createElement("path",{fillRule:"evenodd",d:"M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z",clipRule:"evenodd"}))},Ue=function(r){const{status:n,setStatus:o}=r;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("div",{"aria-live":"assertive",className:"fixed inset-10 z-10 flex items-end px-4 py-6 pointer-events-none sm:p-6 sm:items-start"},(0,e.createElement)("div",{className:"w-full flex flex-col items-center space-y-4 sm:items-end"},(0,e.createElement)(Be,{show:n,as:t.Fragment,enter:"transform ease-out duration-300 transition",enterFrom:"translate-y-2 opacity-0 sm:translate-y-0 sm:translate-x-2",enterTo:"translate-y-0 opacity-100 sm:translate-x-0",leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)("div",{className:"max-w-sm w-full bg-white shadow-lg rounded-lg pointer-events-auto ring-1 ring-black ring-opacity-5 overflow-hidden"},(0,e.createElement)("div",{className:"p-4"},(0,e.createElement)("div",{className:"flex items-start"},(0,e.createElement)("div",{className:"flex-shrink-0"},(0,e.createElement)(Pe,{className:"h-6 w-6 text-green-400","aria-hidden":"true"})),(0,e.createElement)("div",{className:"ml-3 w-0 flex-1 pt-0.5"},(0,e.createElement)("p",{className:"text-sm font-medium text-gray-900"},(0,ee.__)("Successfully saved!","variation-swatches-woo"))),(0,e.createElement)("div",{className:"ml-4 flex-shrink-0 flex"},(0,e.createElement)("button",{className:"bg-white rounded-md inline-flex text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",onClick:e=>{e.preventDefault(),o(!1)}},(0,e.createElement)("span",{className:"sr-only"},"Close"),(0,e.createElement)(Fe,{className:"h-5 w-5","aria-hidden":"true"}))))))))))},He=r(3450);const Ie=[{name:(0,ee.__)("Welcome","variation-swatches-woo"),path:""},{name:(0,ee.__)("Settings","variation-swatches-woo"),path:"settings"}];var ze,Ve=function(t){const{processing:r,activePath:n}=t;return(0,e.createElement)("div",{className:"sticky top-0 md:top-[32px] 600px:top-[46px] right-0 bg-white -ml-5 shadow z-10"},(0,e.createElement)("div",{className:"relative flex justify-between h-16 max-w-3xl mx-auto px-8 lg:max-w-7xl"},(0,e.createElement)("div",{className:"flex-1 flex items-center justify-center sm:items-stretch sm:justify-start"},(0,e.createElement)("span",{className:"flex-shrink-0 flex items-center"},(0,e.createElement)("img",{className:"lg:block h-[2rem] w-auto",src:He,alt:(0,ee.__)("Variation Swatches","variation-swatches-woo")})),(0,e.createElement)("div",{className:"sm:ml-8 sm:flex sm:space-x-8"},Ie.map(((t,r)=>(0,e.createElement)($,{index:r,key:`?page=cfvsw_settings&path=${t.path}`,to:{pathname:"admin.php",search:"?page=cfvsw_settings"+(""!==t.path?"&path="+t.path:"")},className:n===t.path?" border-wpcolor hover:text-wphovercolor text-cfvswheadingcolor inline-flex items-center px-1 border-b-2 text-[0.940rem] font-medium focus:shadow-none":"border-transparent hover:border-wphovercolor hover:text-cfvswheadingcolor inline-flex items-center px-1 border-b-2 text-[0.940rem] font-medium focus:shadow-none"},t.name))))),(0,e.createElement)("div",{className:"absolute right-0 flex items-center pr-2 -mr-5 sm:static sm:inset-auto sm:ml-6 sm:pr-0"},(0,e.createElement)("button",{title:(0,ee.__)("Notification","variation-swatches-woo"),className:"w-10 h-10 mr-0 rounded-full flex items-center justify-center cursor-pointer bg-gray-300"},r&&(0,e.createElement)("svg",{className:"cfvsw-animate-spin-reverse h-6 w-6",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"})),!r&&(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M11 5.88218V19.2402C11 20.2121 10.2121 21 9.24018 21C8.49646 21 7.83302 20.5325 7.58288 19.8321L5.43647 13.6829M18 13C19.6569 13 21 11.6569 21 10C21 8.34315 19.6569 7 18 7M5.43647 13.6829C4.0043 13.0741 3 11.6543 3 10C3 7.79086 4.79086 6 6.99999 6H8.83208C12.9327 6 16.4569 4.7659 18 3L18 17C16.4569 15.2341 12.9327 14 8.83208 14L6.99998 14C6.44518 14 5.91677 13.887 5.43647 13.6829Z",stroke:"#111827",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"}))))))},Ge={general:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"}),(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M15 12a3 3 0 11-6 0 3 3 0 016 0z"})),global:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M21 12a9 9 0 01-9 9m9-9a9 9 0 00-9-9m9 9H3m9 9a9 9 0 01-9-9m9 9c1.657 0 3-4.03 3-9s-1.343-9-3-9m0 18c-1.657 0-3-4.03-3-9s1.343-9 3-9m-9 9a9 9 0 019-9"})),shop:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M3 3h2l.4 2M7 13h10l4-8H5.4M7 13L5.4 5M7 13l-2.293 2.293c-.63.63-.184 1.707.707 1.707H17m0 0a2 2 0 100 4 2 2 0 000-4zm-8 2a2 2 0 11-4 0 2 2 0 014 0z"})),how:(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M9.663 17h4.673M12 3v1m6.364 1.636l-.707.707M21 12h-1M4 12H3m3.343-5.657l-.707-.707m2.828 9.9a5 5 0 117.072 0l-.548.547A3.374 3.374 0 0014 18.469V19a2 2 0 11-4 0v-.531c0-.895-.356-1.754-.988-2.386l-.548-.547z"})),spinner:(0,e.createElement)("svg",{className:"animate-spin ml-2 mr-3 h-5 w-5 text-white",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},(0,e.createElement)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,e.createElement)("path",{className:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})),style:(0,e.createElement)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{fill:"var(--ci-primary-color, currentColor)",d:"M19.946 3.846C17.849 1.85 15.032.75 12.013.75c-2.814 0-5.619.941-7.695 2.581C2.017 5.149.75 7.695.75 10.5c0 2.817.728 4.635 2.291 5.72 1.313.911 3.207 1.3 6.334 1.3h1.395A1.232 1.232 0 0 1 12 18.75v2.249a1.5 1.5 0 0 0 1.5 1.5h.002l4.254-.004a1.504 1.504 0 0 0 .923-.319c.456-.357 1.628-1.378 2.662-3.136 1.267-2.153 1.909-4.648 1.909-7.415 0-2.987-1.173-5.75-3.304-7.779Zm.102 14.434c-.905 1.537-1.906 2.412-2.294 2.715l-4.254.004V18.75a2.734 2.734 0 0 0-2.73-2.73H9.375c-2.798 0-4.436-.309-5.479-1.032-1.138-.791-1.646-2.175-1.646-4.488 0-5.164 4.964-8.25 9.763-8.25 5.46 0 9.737 4.118 9.737 9.375 0 2.496-.573 4.735-1.702 6.655Z",className:"ci-primary"}),(0,e.createElement)("path",{fill:"var(--ci-primary-color, currentColor)",d:"M6 6.75a2.625 2.625 0 1 0 2.625 2.625A2.628 2.628 0 0 0 6 6.75Zm0 3.75a1.125 1.125 0 1 1 1.125-1.125A1.126 1.126 0 0 1 6 10.5Zm5.25-7.125A2.625 2.625 0 1 0 13.875 6a2.628 2.628 0 0 0-2.625-2.625Zm0 3.75A1.125 1.125 0 1 1 12.375 6a1.126 1.126 0 0 1-1.125 1.125ZM16.875 6A2.625 2.625 0 1 0 19.5 8.625 2.628 2.628 0 0 0 16.875 6Zm0 3.75A1.125 1.125 0 1 1 18 8.625a1.126 1.126 0 0 1-1.125 1.125Zm.75 2.625A2.625 2.625 0 1 0 20.25 15a2.628 2.628 0 0 0-2.625-2.625Zm0 3.75A1.125 1.125 0 1 1 18.75 15a1.126 1.126 0 0 1-1.125 1.125Z",className:"ci-primary"})),"checked-circle":(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:"M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"}))};function Ze(){for(var e=arguments.length,r=new Array(e),n=0;n<e;n++)r[n]=arguments[n];var o=(0,t.useRef)(r);return(0,t.useEffect)((function(){o.current=r}),[r]),(0,t.useCallback)((function(e){for(var t,r=oe(o.current);!(t=r()).done;){var n=t.value;null!=n&&("function"==typeof n?n(e):n.current=e)}}),[o])}function We(e){for(var t,r,n=e.parentElement,o=null;n&&!(n instanceof HTMLFieldSetElement);)n instanceof HTMLLegendElement&&(o=n),n=n.parentElement;var i=null!=(t=""===(null==(r=n)?void 0:r.getAttribute("disabled")))&&t;return(!i||!function(e){if(!e)return!1;for(var t=e.previousElementSibling;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(o))&&i}!function(e){e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab"}(ze||(ze={}));var $e=(0,t.createContext)(null);function Xe(){var e=(0,t.useContext)($e);if(null===e){var r=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Xe),r}return e}function Ye(e){var t;if(e.type)return e.type;var r=null!=(t=e.as)?t:"button";return"string"==typeof r&&"button"===r.toLowerCase()?"button":void 0}function Je(e,r){var n=(0,t.useState)((function(){return Ye(e)})),o=n[0],i=n[1];return ue((function(){i(Ye(e))}),[e.type,e.as]),ue((function(){o||r.current&&r.current instanceof HTMLButtonElement&&!r.current.hasAttribute("type")&&i("button")}),[o,r]),o}var Ke=(0,t.createContext)(null);function Qe(){var e=(0,t.useContext)(Ke);if(null===e){var r=new Error("You used a <Label /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(r,Qe),r}return e}var et=(0,t.createContext)(null);et.displayName="GroupContext";var tt=t.Fragment;function rt(e){var r=e.checked,n=e.onChange,o=re(e,["checked","onChange"]),i="headlessui-switch-"+ge(),a=(0,t.useContext)(et),s=(0,t.useRef)(null),l=Ze(s,null===a?null:a.setSwitch),c=(0,t.useCallback)((function(){return n(!r)}),[n,r]),u=(0,t.useCallback)((function(e){if(We(e.currentTarget))return e.preventDefault();e.preventDefault(),c()}),[c]),p=(0,t.useCallback)((function(e){e.key!==ze.Tab&&e.preventDefault(),e.key===ze.Space&&c()}),[c]),f=(0,t.useCallback)((function(e){return e.preventDefault()}),[]),h=(0,t.useMemo)((function(){return{checked:r}}),[r]);return ae({props:te({},o,{id:i,ref:l,role:"switch",type:Je(e,s),tabIndex:0,"aria-checked":r,"aria-labelledby":null==a?void 0:a.labelledby,"aria-describedby":null==a?void 0:a.describedby,onClick:u,onKeyUp:p,onKeyPress:f}),slot:h,defaultTag:"button",name:"Switch"})}rt.Group=function(e){var r=(0,t.useState)(null),o=r[0],i=r[1],a=function(){var e=(0,t.useState)([]),r=e[0],o=e[1];return[r.length>0?r.join(" "):void 0,(0,t.useMemo)((function(){return function(e){var r=(0,t.useCallback)((function(e){return o((function(t){return[].concat(t,[e])})),function(){return o((function(t){var r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))}}),[]),i=(0,t.useMemo)((function(){return{register:r,slot:e.slot,name:e.name,props:e.props}}),[r,e.slot,e.name,e.props]);return n().createElement(Ke.Provider,{value:i},e.children)}}),[o])]}(),s=a[0],l=a[1],c=function(){var e=(0,t.useState)([]),r=e[0],o=e[1];return[r.length>0?r.join(" "):void 0,(0,t.useMemo)((function(){return function(e){var r=(0,t.useCallback)((function(e){return o((function(t){return[].concat(t,[e])})),function(){return o((function(t){var r=t.slice(),n=r.indexOf(e);return-1!==n&&r.splice(n,1),r}))}}),[]),i=(0,t.useMemo)((function(){return{register:r,slot:e.slot,name:e.name,props:e.props}}),[r,e.slot,e.name,e.props]);return n().createElement($e.Provider,{value:i},e.children)}}),[o])]}(),u=c[0],p=c[1],f=(0,t.useMemo)((function(){return{switch:o,setSwitch:i,labelledby:s,describedby:u}}),[o,i,s,u]);return n().createElement(p,{name:"Switch.Description"},n().createElement(l,{name:"Switch.Label",props:{onClick:function(){o&&(o.click(),o.focus({preventScroll:!0}))}}},n().createElement(et.Provider,{value:f},ae({props:e,defaultTag:tt,name:"Switch.Group"}))))},rt.Label=function(e){var t=e.passive,r=void 0!==t&&t,n=re(e,["passive"]),o=Qe(),i="headlessui-label-"+ge();ue((function(){return o.register(i)}),[i,o.register]);var a=te({},o.props,{id:i}),s=te({},n,a);return r&&delete s.onClick,ae({props:s,slot:o.slot||{},defaultTag:"label",name:o.name||"Label"})},rt.Description=function(e){var t=Xe(),r="headlessui-description-"+ge();ue((function(){return t.register(r)}),[r,t.register]);var n=e,o=te({},t.props,{id:r});return ae({props:te({},n,o),slot:t.slot||{},defaultTag:"p",name:t.name||"Description"})};const nt=n().createContext(),ot=()=>(0,t.useContext)(nt);var it=window.lodash,at=function(t){const{children:r,title:n,description:o,badge:i,content:a}=t;return(0,e.createElement)("section",{className:"flex border-b border-solid border-slate-200 mr-8 mt-8 last:border-b-0"},(n||o)&&(0,e.createElement)("div",{className:"pr-16 pb-8 w-[78%]"},n&&(0,e.createElement)("h3",{className:"text-lg leading-6 font-medium text-gray-900"},n),o&&(0,e.createElement)("p",{className:"mt-[0.6rem] text-sm "},o,i&&(0,e.createElement)("span",{className:"inline-flex items-center ml-1 px-2.5 py-0.5 rounded-md text-xs font-medium bg-wpcolorfaded text-wpcolor"},i))),a&&(0,e.createElement)("div",{className:"pr-16 pb-8 w-full]"},r),!a&&r)};function st(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}var lt,ct,ut,pt,ft,ht,dt,gt,mt=function(r){const{title:n,description:o,name:i,value:a}=r,[s,l]=ot(),[c,u]=(0,t.useState)(a),p=(0,t.useRef)((0,it.debounce)((async e=>{l(e)}),500)).current;return(0,t.useEffect)((()=>()=>{p.cancel()}),[p]),(0,e.createElement)(at,{title:n,description:o},(0,e.createElement)("div",null,(0,e.createElement)(rt,{checked:c,value:c,name:i,style:{direction:"ltr"},onChange:()=>{!function(e){u(!e),"function"==typeof r.manageState&&r.manageState(!e);const t=s,n=i.split(/[\[\]]/);t[n[0]][n[1]]=!e,p({type:"CHANGE",data:t})}(c)},className:st(c?"bg-wpcolor":"bg-gray-200","relative inline-flex flex-shrink-0 h-5 w-[2.4rem] items-center border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none")},(0,e.createElement)("span",{className:"sr-only"}),(0,e.createElement)("span",{"aria-hidden":"true",className:st(c?"translate-x-5":"translate-x-0","pointer-events-none inline-block h-3.5 w-3.5 rounded-full bg-white shadow transform ring-0 transition ease-in-out duration-200")}))))},bt=function(){const[t]=ot();return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(mt,{title:(0,ee.__)("Enable for Product page","variation-swatches-woo"),description:(0,ee.__)("Enable swatches for product page.","variation-swatches-woo"),name:"cfvsw_global[enable_swatches]",value:t.cfvsw_global.enable_swatches}),(0,e.createElement)(mt,{title:(0,ee.__)("Enable for Shop page","variation-swatches-woo"),description:(0,ee.__)("Enable swatches for shop / archieve page.","variation-swatches-woo"),name:"cfvsw_global[enable_swatches_shop]",value:t.cfvsw_global.enable_swatches_shop}),(0,e.createElement)(mt,{title:(0,ee.__)("Auto convert dropdown to label","variation-swatches-woo"),description:(0,ee.__)("Automatically convert dropdown to labels.","variation-swatches-woo"),name:"cfvsw_global[auto_convert]",value:t.cfvsw_global.auto_convert}))},vt=function(r){const{children:n,heading:o}=r,[i,a]=(0,t.useState)(!0);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"flex cursor-pointer justify-between border-t border-b -ml-0 -mr-0 sm:-ml-6 sm:-mr-6 lg:-ml-8 lg:-mr-0 border-gray-200 bg-wpcolorfaded pl-8 pr-5 py-2 text-sm font-medium text-gray-500",onClick:()=>a(!i)},(0,e.createElement)("h3",{className:"text-cfvswheadingcolor"},o),(0,e.createElement)("span",{className:"flex items-center"},i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M19 9l-7 7-7-7"})),!i&&(0,e.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-4 w-4",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",strokeWidth:"2"},(0,e.createElement)("path",{strokeLinecap:"round",strokeLinejoin:"round",d:"M5 15l7-7 7 7"})))),(0,e.createElement)("div",null,i&&n))},yt=function(r){const[n,o]=(0,t.useState)(r.val),[i,a]=ot(),s=(0,t.useRef)((0,it.debounce)((async e=>{a(e)}),500)).current;return(0,t.useEffect)((()=>()=>{s.cancel()}),[s]),(0,e.createElement)("div",{className:" flex justify-end"},(0,e.createElement)("input",{type:"number",name:r.name,min:r.min||0,value:n,onChange:function(e){o(e.target.value);const t=i,n=r.name.split(/[\[\]]/);t[n[0]][n[1]]=e.target.value,s({type:"CHANGE",data:t})},className:(r.badge?"w-24 ":"w-32 rounded-r-md")+"\n\t\t\t\tfocus:ring-wpcolor focus:border-wpcolor px-8 sm:text-sm border-gray-300 rounded-l-md inline-flex bg-white text-gray-500 appearance-none border-0 focus:outline-none focus:bg-white"}),r.badge&&(0,e.createElement)("span",{className:"inline-flex w-8 h-8 items-center px-2 rounded-r-md border border-l-0 border-gray-300 bg-white text-gray-500 sm:text-sm"},"px"))},wt=function(t){const{title:r,description:n,name:o,value:i,badge:a,min:s}=t;return(0,e.createElement)(at,{title:r,description:n,badge:a},(0,e.createElement)("div",{className:"cfvsw-input-field-wrapper"},(0,e.createElement)(yt,{name:o,val:i,badge:a,min:s})))},xt=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((function(e){return e+":not([tabindex='-1'])"})).join(",");function _t(){var e=(0,t.useState)(xe)[0];return(0,t.useEffect)((function(){return function(){return e.dispose()}}),[e]),e}function Et(e,r){var n=(0,t.useState)(e),o=n[0],i=n[1],a=(0,t.useRef)(e);return ue((function(){a.current=e}),[e]),ue((function(){return i(a.current)}),[a,i].concat(r)),o}!function(e){e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll"}(lt||(lt={})),function(e){e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow"}(ct||(ct={})),function(e){e[e.Previous=-1]="Previous",e[e.Next=1]="Next"}(ut||(ut={})),function(e){e[e.Strict=0]="Strict",e[e.Loose=1]="Loose"}(pt||(pt={})),function(e){e[e.First=0]="First",e[e.Previous=1]="Previous",e[e.Next=2]="Next",e[e.Last=3]="Last",e[e.Specific=4]="Specific",e[e.Nothing=5]="Nothing"}(ft||(ft={})),function(e){e[e.Open=0]="Open",e[e.Closed=1]="Closed"}(dt||(dt={})),function(e){e[e.OpenListbox=0]="OpenListbox",e[e.CloseListbox=1]="CloseListbox",e[e.SetDisabled=2]="SetDisabled",e[e.SetOrientation=3]="SetOrientation",e[e.GoToOption=4]="GoToOption",e[e.Search=5]="Search",e[e.ClearSearch=6]="ClearSearch",e[e.RegisterOption=7]="RegisterOption",e[e.UnregisterOption=8]="UnregisterOption"}(gt||(gt={}));var St=((ht={})[gt.CloseListbox]=function(e){return e.disabled||e.listboxState===dt.Closed?e:te({},e,{activeOptionIndex:null,listboxState:dt.Closed})},ht[gt.OpenListbox]=function(e){return e.disabled||e.listboxState===dt.Open?e:te({},e,{listboxState:dt.Open})},ht[gt.SetDisabled]=function(e,t){return e.disabled===t.disabled?e:te({},e,{disabled:t.disabled})},ht[gt.SetOrientation]=function(e,t){return e.orientation===t.orientation?e:te({},e,{orientation:t.orientation})},ht[gt.GoToOption]=function(e,t){if(e.disabled)return e;if(e.listboxState===dt.Closed)return e;var r=function(e,t){var r=t.resolveItems();if(r.length<=0)return null;var n=t.resolveActiveIndex(),o=null!=n?n:-1,i=function(){switch(e.focus){case ft.First:return r.findIndex((function(e){return!t.resolveDisabled(e)}));case ft.Previous:var n=r.slice().reverse().findIndex((function(e,r,n){return!(-1!==o&&n.length-r-1>=o||t.resolveDisabled(e))}));return-1===n?n:r.length-1-n;case ft.Next:return r.findIndex((function(e,r){return!(r<=o||t.resolveDisabled(e))}));case ft.Last:var i=r.slice().reverse().findIndex((function(e){return!t.resolveDisabled(e)}));return-1===i?i:r.length-1-i;case ft.Specific:return r.findIndex((function(r){return t.resolveId(r)===e.id}));case ft.Nothing:return null;default:!function(e){throw new Error("Unexpected object: "+e)}(e)}}();return-1===i?n:i}(t,{resolveItems:function(){return e.options},resolveActiveIndex:function(){return e.activeOptionIndex},resolveId:function(e){return e.id},resolveDisabled:function(e){return e.dataRef.current.disabled}});return""===e.searchQuery&&e.activeOptionIndex===r?e:te({},e,{searchQuery:"",activeOptionIndex:r})},ht[gt.Search]=function(e,t){if(e.disabled)return e;if(e.listboxState===dt.Closed)return e;var r=e.searchQuery+t.value.toLowerCase(),n=e.options.findIndex((function(e){var t;return!e.dataRef.current.disabled&&(null==(t=e.dataRef.current.textValue)?void 0:t.startsWith(r))}));return-1===n||n===e.activeOptionIndex?te({},e,{searchQuery:r}):te({},e,{searchQuery:r,activeOptionIndex:n})},ht[gt.ClearSearch]=function(e){return e.disabled||e.listboxState===dt.Closed||""===e.searchQuery?e:te({},e,{searchQuery:""})},ht[gt.RegisterOption]=function(e,t){return te({},e,{options:[].concat(e.options,[{id:t.id,dataRef:t.dataRef}])})},ht[gt.UnregisterOption]=function(e,t){var r=e.options.slice(),n=null!==e.activeOptionIndex?r[e.activeOptionIndex]:null,o=r.findIndex((function(e){return e.id===t.id}));return-1!==o&&r.splice(o,1),te({},e,{options:r,activeOptionIndex:o===e.activeOptionIndex||null===n?null:r.indexOf(n)})},ht),Ct=(0,t.createContext)(null);function kt(e){var r=(0,t.useContext)(Ct);if(null===r){var n=new Error("<"+e+" /> is missing a parent <"+Tt.name+" /> component.");throw Error.captureStackTrace&&Error.captureStackTrace(n,kt),n}return r}function At(e,t){return ie(t.type,St,e,t)}Ct.displayName="ListboxContext";var Ot=t.Fragment;function Tt(e){var r,o,i,a,s,l=e.value,c=e.onChange,u=e.disabled,p=void 0!==u&&u,f=e.horizontal,h=void 0!==f&&f,d=re(e,["value","onChange","disabled","horizontal"]),g=h?"horizontal":"vertical",m=(0,t.useReducer)(At,{listboxState:dt.Closed,propsRef:{current:{value:l,onChange:c}},labelRef:(0,t.createRef)(),buttonRef:(0,t.createRef)(),optionsRef:(0,t.createRef)(),disabled:p,orientation:g,options:[],searchQuery:"",activeOptionIndex:null}),b=m[0],v=b.listboxState,y=b.propsRef,w=b.optionsRef,x=b.buttonRef,_=m[1];ue((function(){y.current.value=l}),[l,y]),ue((function(){y.current.onChange=c}),[c,y]),ue((function(){return _({type:gt.SetDisabled,disabled:p})}),[p]),ue((function(){return _({type:gt.SetOrientation,orientation:g})}),[g]),o="mousedown",i=function(e){var t,r,n,o=e.target;v===dt.Open&&((null==(t=x.current)?void 0:t.contains(o))||(null==(r=w.current)?void 0:r.contains(o))||(_({type:gt.CloseListbox}),function(e,t){var r;return void 0===t&&(t=pt.Strict),e!==document.body&&ie(t,((r={})[pt.Strict]=function(){return e.matches(xt)},r[pt.Loose]=function(){for(var t=e;null!==t;){if(t.matches(xt))return!0;t=t.parentElement}return!1},r))}(o,pt.Loose)||(e.preventDefault(),null==(n=x.current)||n.focus())))},(s=(0,t.useRef)(i)).current=i,(0,t.useEffect)((function(){function e(e){s.current.call(window,e)}return window.addEventListener(o,e,a),function(){return window.removeEventListener(o,e,a)}}),[o,a]);var E=(0,t.useMemo)((function(){return{open:v===dt.Open,disabled:p}}),[v,p]);return n().createElement(Ct.Provider,{value:m},n().createElement(we,{value:ie(v,(r={},r[dt.Open]=me.Open,r[dt.Closed]=me.Closed,r))},ae({props:d,slot:E,defaultTag:Ot,name:"Listbox"})))}var Lt=le((function e(r,n){var o,i=kt([Tt.name,e.name].join(".")),a=i[0],s=i[1],l=Ze(a.buttonRef,n),c="headlessui-listbox-button-"+ge(),u=_t(),p=(0,t.useCallback)((function(e){switch(e.key){case ze.Space:case ze.Enter:case ze.ArrowDown:e.preventDefault(),s({type:gt.OpenListbox}),u.nextFrame((function(){a.propsRef.current.value||s({type:gt.GoToOption,focus:ft.First})}));break;case ze.ArrowUp:e.preventDefault(),s({type:gt.OpenListbox}),u.nextFrame((function(){a.propsRef.current.value||s({type:gt.GoToOption,focus:ft.Last})}))}}),[s,a,u]),f=(0,t.useCallback)((function(e){e.key===ze.Space&&e.preventDefault()}),[]),h=(0,t.useCallback)((function(e){if(We(e.currentTarget))return e.preventDefault();a.listboxState===dt.Open?(s({type:gt.CloseListbox}),u.nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))):(e.preventDefault(),s({type:gt.OpenListbox}))}),[s,u,a]),d=Et((function(){if(a.labelRef.current)return[a.labelRef.current.id,c].join(" ")}),[a.labelRef.current,c]),g=(0,t.useMemo)((function(){return{open:a.listboxState===dt.Open,disabled:a.disabled}}),[a]);return ae({props:te({},r,{ref:l,id:c,type:Je(r,a.buttonRef),"aria-haspopup":!0,"aria-controls":null==(o=a.optionsRef.current)?void 0:o.id,"aria-expanded":a.disabled?void 0:a.listboxState===dt.Open,"aria-labelledby":d,disabled:a.disabled,onKeyDown:p,onKeyUp:f,onClick:h}),slot:g,defaultTag:"button",name:"Listbox.Button"})})),Nt=K.RenderStrategy|K.Static,Rt=le((function e(r,n){var o,i=kt([Tt.name,e.name].join(".")),a=i[0],s=i[1],l=Ze(a.optionsRef,n),c="headlessui-listbox-options-"+ge(),u=_t(),p=_t(),f=ye(),h=null!==f?f===me.Open:a.listboxState===dt.Open;ue((function(){var e=a.optionsRef.current;e&&a.listboxState===dt.Open&&e!==document.activeElement&&e.focus({preventScroll:!0})}),[a.listboxState,a.optionsRef]);var d=(0,t.useCallback)((function(e){switch(p.dispose(),e.key){case ze.Space:if(""!==a.searchQuery)return e.preventDefault(),e.stopPropagation(),s({type:gt.Search,value:e.key});case ze.Enter:if(e.preventDefault(),e.stopPropagation(),s({type:gt.CloseListbox}),null!==a.activeOptionIndex){var t=a.options[a.activeOptionIndex].dataRef;a.propsRef.current.onChange(t.current.value)}xe().nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));break;case ie(a.orientation,{vertical:ze.ArrowDown,horizontal:ze.ArrowRight}):return e.preventDefault(),e.stopPropagation(),s({type:gt.GoToOption,focus:ft.Next});case ie(a.orientation,{vertical:ze.ArrowUp,horizontal:ze.ArrowLeft}):return e.preventDefault(),e.stopPropagation(),s({type:gt.GoToOption,focus:ft.Previous});case ze.Home:case ze.PageUp:return e.preventDefault(),e.stopPropagation(),s({type:gt.GoToOption,focus:ft.First});case ze.End:case ze.PageDown:return e.preventDefault(),e.stopPropagation(),s({type:gt.GoToOption,focus:ft.Last});case ze.Escape:return e.preventDefault(),e.stopPropagation(),s({type:gt.CloseListbox}),u.nextFrame((function(){var e;return null==(e=a.buttonRef.current)?void 0:e.focus({preventScroll:!0})}));case ze.Tab:e.preventDefault(),e.stopPropagation();break;default:1===e.key.length&&(s({type:gt.Search,value:e.key}),p.setTimeout((function(){return s({type:gt.ClearSearch})}),350))}}),[u,s,p,a]),g=Et((function(){var e,t,r;return null!=(e=null==(t=a.labelRef.current)?void 0:t.id)?e:null==(r=a.buttonRef.current)?void 0:r.id}),[a.labelRef.current,a.buttonRef.current]),m=(0,t.useMemo)((function(){return{open:a.listboxState===dt.Open}}),[a]);return ae({props:te({},r,{"aria-activedescendant":null===a.activeOptionIndex||null==(o=a.options[a.activeOptionIndex])?void 0:o.id,"aria-labelledby":g,"aria-orientation":a.orientation,id:c,onKeyDown:d,role:"listbox",tabIndex:0,ref:l}),slot:m,defaultTag:"ul",features:Nt,visible:h,name:"Listbox.Options"})}));Tt.Button=Lt,Tt.Label=function e(r){var n=kt([Tt.name,e.name].join("."))[0],o="headlessui-listbox-label-"+ge(),i=(0,t.useCallback)((function(){var e;return null==(e=n.buttonRef.current)?void 0:e.focus({preventScroll:!0})}),[n.buttonRef]),a=(0,t.useMemo)((function(){return{open:n.listboxState===dt.Open,disabled:n.disabled}}),[n]);return ae({props:te({},r,{ref:n.labelRef,id:o,onClick:i}),slot:a,defaultTag:"label",name:"Listbox.Label"})},Tt.Options=Rt,Tt.Option=function e(r){var n=r.disabled,o=void 0!==n&&n,i=r.value,a=re(r,["disabled","value"]),s=kt([Tt.name,e.name].join(".")),l=s[0],c=s[1],u="headlessui-listbox-option-"+ge(),p=null!==l.activeOptionIndex&&l.options[l.activeOptionIndex].id===u,f=l.propsRef.current.value===i,h=(0,t.useRef)({disabled:o,value:i});ue((function(){h.current.disabled=o}),[h,o]),ue((function(){h.current.value=i}),[h,i]),ue((function(){var e,t;h.current.textValue=null==(e=document.getElementById(u))||null==(t=e.textContent)?void 0:t.toLowerCase()}),[h,u]);var d=(0,t.useCallback)((function(){return l.propsRef.current.onChange(i)}),[l.propsRef,i]);ue((function(){return c({type:gt.RegisterOption,id:u,dataRef:h}),function(){return c({type:gt.UnregisterOption,id:u})}}),[h,u]),ue((function(){var e;l.listboxState===dt.Open&&f&&(c({type:gt.GoToOption,focus:ft.Specific,id:u}),null==(e=document.getElementById(u))||null==e.focus||e.focus())}),[l.listboxState]),ue((function(){if(l.listboxState===dt.Open&&p){var e=xe();return e.nextFrame((function(){var e;return null==(e=document.getElementById(u))||null==e.scrollIntoView?void 0:e.scrollIntoView({block:"nearest"})})),e.dispose}}),[u,p,l.listboxState]);var g=(0,t.useCallback)((function(e){if(o)return e.preventDefault();d(),c({type:gt.CloseListbox}),xe().nextFrame((function(){var e;return null==(e=l.buttonRef.current)?void 0:e.focus({preventScroll:!0})}))}),[c,l.buttonRef,o,d]),m=(0,t.useCallback)((function(){if(o)return c({type:gt.GoToOption,focus:ft.Nothing});c({type:gt.GoToOption,focus:ft.Specific,id:u})}),[o,u,c]),b=(0,t.useCallback)((function(){o||p||c({type:gt.GoToOption,focus:ft.Specific,id:u})}),[o,p,u,c]),v=(0,t.useCallback)((function(){o||p&&c({type:gt.GoToOption,focus:ft.Nothing})}),[o,p,c]),y=(0,t.useMemo)((function(){return{active:p,selected:f,disabled:o}}),[p,f,o]);return ae({props:te({},a,{id:u,role:"option",tabIndex:!0===o?void 0:-1,"aria-disabled":!0===o||void 0,"aria-selected":!0===f||void 0,disabled:void 0,onClick:g,onFocus:m,onPointerMove:b,onMouseMove:b,onPointerLeave:v,onMouseLeave:v}),slot:y,defaultTag:"li",name:"Listbox.Option"})};var jt=function(r){const{title:n,description:o,name:i,value:a,optionsArray:s}=r,[l,c]=ot(),u=(0,t.useRef)((0,it.debounce)((async e=>{c(e)}),500)).current;(0,t.useEffect)((()=>()=>{u.cancel()}),[u]);const p=Object.keys(s).find((e=>s[e].id===a)),[f,h]=(0,t.useState)(s[p]);return(0,e.createElement)(at,{title:n,description:o},(0,e.createElement)("div",null,(0,e.createElement)(Tt,{name:i,value:f,onChange:h},(0,e.createElement)("div",{className:"relative mt-1 w-32"},(0,e.createElement)(Tt.Button,{className:"relative w-full py-2 pl-3 pr-10 text-left bg-white cursor-default focus:outline-none focus-visible:ring-2 focus-visible:ring-opacity-75 focus-visible:ring-white focus-visible:ring-offset-orange-300 focus-visible:ring-offset-2 focus-visible:border-indigo-500 sm:text-sm border-[1px] border-cfvswbordercolor rounded-[4px] "},(0,e.createElement)("span",{className:"block truncate"},f.name),(0,e.createElement)("span",{className:"absolute inset-y-0 right-0 flex items-center pr-2 pointer-events-none"},(0,e.createElement)(Me,{className:"w-5 h-5 text-gray-400","aria-hidden":"true"}))),(0,e.createElement)(Be,{as:t.Fragment,leave:"transition ease-in duration-100",leaveFrom:"opacity-100",leaveTo:"opacity-0"},(0,e.createElement)(Tt.Options,{className:"absolute w-full py-1 mt-1 z-40 overflow-auto text-base bg-white rounded-md max-h-60 ring-1 ring-black ring-opacity-5 focus:outline-none sm:text-sm"},s.map(((r,n)=>(0,e.createElement)(Tt.Option,{key:n,className:e=>{let{active:t}=e;return(t?" text-white bg-wpcolor":"text-gray-900")+"\n\t\t\t\t\t\t\t\t\tcursor-default select-none relative py-1 pl-4"},value:r},(n=>{let{selected:o,active:i}=n;return(0,e.createElement)(t.Fragment,null,(0,e.createElement)("span",{className:(o?"font-medium":"font-normal")+" block"},r.name),o?(0,e.createElement)("span",{className:(i?"text-wpcolor":"text-wpcolor20")+"\n\t\t\t\t\t\t\t\t\t\t\tabsolute inset-y-0 left-0 flex items-center pl-3"}):null)})))))))),(0,e.createElement)("input",{type:"hidden",name:i,value:f.id,onChange:function(e){let t=!1;const r=l,n=i.split(/[\[\]]/);l[n[0]][n[1]]!==e&&(r[n[0]][n[1]]=e,t=!0),t&&u({type:"CHANGE",data:r})}(f.id)})))},qt=r(9941),Dt=function(e,t,r,n,o){var i=o.clientWidth,a=o.clientHeight,s="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,l="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,c=s-(o.getBoundingClientRect().left+window.pageXOffset),u=l-(o.getBoundingClientRect().top+window.pageYOffset);if("vertical"===r){var p;if(p=u<0?0:u>a?1:Math.round(100*u/a)/100,t.a!==p)return{h:t.h,s:t.s,l:t.l,a:p,source:"rgb"}}else{var f;if(n!==(f=c<0?0:c>i?1:Math.round(100*c/i)/100))return{h:t.h,s:t.s,l:t.l,a:f,source:"rgb"}}return null},Bt={},Pt=function(e,t,r,n){var o=e+"-"+t+"-"+r+(n?"-server":"");if(Bt[o])return Bt[o];var i=function(e,t,r,n){if("undefined"==typeof document&&!n)return null;var o=n?new n:document.createElement("canvas");o.width=2*r,o.height=2*r;var i=o.getContext("2d");return i?(i.fillStyle=e,i.fillRect(0,0,o.width,o.height),i.fillStyle=t,i.fillRect(0,0,r,r),i.translate(r,r),i.fillRect(0,0,r,r),o.toDataURL()):null}(e,t,r,n);return Bt[o]=i,i},Mt=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},Ft=function(e){var r=e.white,o=e.grey,i=e.size,a=e.renderers,s=e.borderRadius,l=e.boxShadow,c=e.children,u=(0,qt.ZP)({default:{grid:{borderRadius:s,boxShadow:l,absolute:"0px 0px 0px 0px",background:"url("+Pt(r,o,i,a.canvas)+") center left"}}});return(0,t.isValidElement)(c)?n().cloneElement(c,Mt({},c.props,{style:Mt({},c.props.style,u.grid)})):n().createElement("div",{style:u.grid})};Ft.defaultProps={size:8,white:"transparent",grey:"rgba(0,0,0,.08)",renderers:{}};var Ut=Ft,Ht=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},It=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 zt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Vt(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 Gt=function(e){function t(){var e,r,n;zt(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=Vt(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=Dt(e,n.props.hsl,n.props.direction,n.props.a,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},n.unbindEventListeners=function(){window.removeEventListener("mousemove",n.handleChange),window.removeEventListener("mouseup",n.handleMouseUp)},Vt(n,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),It(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"render",value:function(){var e=this,t=this.props.rgb,r=(0,qt.ZP)({default:{alpha:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},checkboard:{absolute:"0px 0px 0px 0px",overflow:"hidden",borderRadius:this.props.radius},gradient:{absolute:"0px 0px 0px 0px",background:"linear-gradient(to right, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)",boxShadow:this.props.shadow,borderRadius:this.props.radius},container:{position:"relative",height:"100%",margin:"0 3px"},pointer:{position:"absolute",left:100*t.a+"%"},slider:{width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",marginTop:"1px",transform:"translateX(-2px)"}},vertical:{gradient:{background:"linear-gradient(to bottom, rgba("+t.r+","+t.g+","+t.b+", 0) 0%,\n rgba("+t.r+","+t.g+","+t.b+", 1) 100%)"},pointer:{left:0,top:100*t.a+"%"}},overwrite:Ht({},this.props.style)},{vertical:"vertical"===this.props.direction,overwrite:!0});return n().createElement("div",{style:r.alpha},n().createElement("div",{style:r.checkboard},n().createElement(Ut,{renderers:this.props.renderers})),n().createElement("div",{style:r.gradient}),n().createElement("div",{style:r.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("div",{style:r.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:r.slider}))))}}]),t}(t.PureComponent||t.Component),Zt=Gt,Wt=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}}(),$t=[38,40],Xt=1,Yt=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));return r.handleBlur=function(){r.state.blurValue&&r.setState({value:r.state.blurValue,blurValue:null})},r.handleChange=function(e){r.setUpdatedValue(e.target.value,e)},r.handleKeyDown=function(e){var t,n=function(e){return Number(String(e).replace(/%/g,""))}(e.target.value);if(!isNaN(n)&&(t=e.keyCode,$t.indexOf(t)>-1)){var o=r.getArrowOffset(),i=38===e.keyCode?n+o:n-o;r.setUpdatedValue(i,e)}},r.handleDrag=function(e){if(r.props.dragLabel){var t=Math.round(r.props.value+e.movementX);t>=0&&t<=r.props.dragMax&&r.props.onChange&&r.props.onChange(r.getValueObjectWithLabel(t),e)}},r.handleMouseDown=function(e){r.props.dragLabel&&(e.preventDefault(),r.handleDrag(e),window.addEventListener("mousemove",r.handleDrag),window.addEventListener("mouseup",r.handleMouseUp))},r.handleMouseUp=function(){r.unbindEventListeners()},r.unbindEventListeners=function(){window.removeEventListener("mousemove",r.handleDrag),window.removeEventListener("mouseup",r.handleMouseUp)},r.state={value:String(e.value).toUpperCase(),blurValue:String(e.value).toUpperCase()},r.inputId="rc-editable-input-"+Xt++,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),Wt(t,[{key:"componentDidUpdate",value:function(e,t){this.props.value===this.state.value||e.value===this.props.value&&t.value===this.state.value||(this.input===document.activeElement?this.setState({blurValue:String(this.props.value).toUpperCase()}):this.setState({value:String(this.props.value).toUpperCase(),blurValue:!this.state.blurValue&&String(this.props.value).toUpperCase()}))}},{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"getValueObjectWithLabel",value:function(e){return function(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}({},this.props.label,e)}},{key:"getArrowOffset",value:function(){return this.props.arrowOffset||1}},{key:"setUpdatedValue",value:function(e,t){var r=this.props.label?this.getValueObjectWithLabel(e):e;this.props.onChange&&this.props.onChange(r,t),this.setState({value:e})}},{key:"render",value:function(){var e=this,t=(0,qt.ZP)({default:{wrap:{position:"relative"}},"user-override":{wrap:this.props.style&&this.props.style.wrap?this.props.style.wrap:{},input:this.props.style&&this.props.style.input?this.props.style.input:{},label:this.props.style&&this.props.style.label?this.props.style.label:{}},"dragLabel-true":{label:{cursor:"ew-resize"}}},{"user-override":!0},this.props);return n().createElement("div",{style:t.wrap},n().createElement("input",{id:this.inputId,style:t.input,ref:function(t){return e.input=t},value:this.state.value,onKeyDown:this.handleKeyDown,onChange:this.handleChange,onBlur:this.handleBlur,placeholder:this.props.placeholder,spellCheck:"false"}),this.props.label&&!this.props.hideLabel?n().createElement("label",{htmlFor:this.inputId,style:t.label,onMouseDown:this.handleMouseDown},this.props.label):null)}}]),t}(t.PureComponent||t.Component),Jt=function(e,t,r,n){var o=n.clientWidth,i=n.clientHeight,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(n.getBoundingClientRect().left+window.pageXOffset),c=s-(n.getBoundingClientRect().top+window.pageYOffset);if("vertical"===t){var u=void 0;if(u=c<0?359:c>i?0:360*(-100*c/i+100)/100,r.h!==u)return{h:u,s:r.s,l:r.l,a:r.a,source:"hsl"}}else{var p=void 0;if(p=l<0?0:l>o?359:100*l/o*360/100,r.h!==p)return{h:p,s:r.s,l:r.l,a:r.a,source:"hsl"}}return null},Kt=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 Qt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function er(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 tr=function(e){function t(){var e,r,n;Qt(this,t);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return r=n=er(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(i))),n.handleChange=function(e){var t=Jt(e,n.props.direction,n.props.hsl,n.container);t&&"function"==typeof n.props.onChange&&n.props.onChange(t,e)},n.handleMouseDown=function(e){n.handleChange(e),window.addEventListener("mousemove",n.handleChange),window.addEventListener("mouseup",n.handleMouseUp)},n.handleMouseUp=function(){n.unbindEventListeners()},er(n,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),Kt(t,[{key:"componentWillUnmount",value:function(){this.unbindEventListeners()}},{key:"unbindEventListeners",value:function(){window.removeEventListener("mousemove",this.handleChange),window.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.direction,r=void 0===t?"horizontal":t,o=(0,qt.ZP)({default:{hue:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius,boxShadow:this.props.shadow},container:{padding:"0 2px",position:"relative",height:"100%",borderRadius:this.props.radius},pointer:{position:"absolute",left:100*this.props.hsl.h/360+"%"},slider:{marginTop:"1px",width:"4px",borderRadius:"1px",height:"8px",boxShadow:"0 0 2px rgba(0, 0, 0, .6)",background:"#fff",transform:"translateX(-2px)"}},vertical:{pointer:{left:"0px",top:-100*this.props.hsl.h/360+100+"%"}}},{vertical:"vertical"===r});return n().createElement("div",{style:o.hue},n().createElement("div",{className:"hue-"+r,style:o.container,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("style",null,"\n .hue-horizontal {\n background: linear-gradient(to right, #f00 0%, #ff0 17%, #0f0\n 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to right, #f00 0%, #ff0\n 17%, #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n\n .hue-vertical {\n background: linear-gradient(to top, #f00 0%, #ff0 17%, #0f0 33%,\n #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n background: -webkit-linear-gradient(to top, #f00 0%, #ff0 17%,\n #0f0 33%, #0ff 50%, #00f 67%, #f0f 83%, #f00 100%);\n }\n "),n().createElement("div",{style:o.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:o.slider}))))}}]),t}(t.PureComponent||t.Component),rr=tr,nr=r(3857),or=r.n(nr),ir=function(e){var t=e.zDepth,r=e.radius,o=e.background,i=e.children,a=e.styles,s=void 0===a?{}:a,l=(0,qt.ZP)(or()({default:{wrap:{position:"relative",display:"inline-block"},content:{position:"relative"},bg:{absolute:"0px 0px 0px 0px",boxShadow:"0 "+t+"px "+4*t+"px rgba(0,0,0,.24)",borderRadius:r,background:o}},"zDepth-0":{bg:{boxShadow:"none"}},"zDepth-1":{bg:{boxShadow:"0 2px 10px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.16)"}},"zDepth-2":{bg:{boxShadow:"0 6px 20px rgba(0,0,0,.19), 0 8px 17px rgba(0,0,0,.2)"}},"zDepth-3":{bg:{boxShadow:"0 17px 50px rgba(0,0,0,.19), 0 12px 15px rgba(0,0,0,.24)"}},"zDepth-4":{bg:{boxShadow:"0 25px 55px rgba(0,0,0,.21), 0 16px 28px rgba(0,0,0,.22)"}},"zDepth-5":{bg:{boxShadow:"0 40px 77px rgba(0,0,0,.22), 0 27px 24px rgba(0,0,0,.2)"}},square:{bg:{borderRadius:"0"}},circle:{bg:{borderRadius:"50%"}}},s),{"zDepth-1":1===t});return n().createElement("div",{style:l.wrap},n().createElement("div",{style:l.bg}),n().createElement("div",{style:l.content},i))};ir.propTypes={background:C().string,zDepth:C().oneOf([0,1,2,3,4,5]),radius:C().number,styles:C().object},ir.defaultProps={background:"#fff",zDepth:1,radius:2,styles:{}};var ar=ir,sr=r(3493),lr=r.n(sr),cr=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}}(),ur=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.handleChange=function(e){"function"==typeof r.props.onChange&&r.throttle(r.props.onChange,function(e,t,r){var n=r.getBoundingClientRect(),o=n.width,i=n.height,a="number"==typeof e.pageX?e.pageX:e.touches[0].pageX,s="number"==typeof e.pageY?e.pageY:e.touches[0].pageY,l=a-(r.getBoundingClientRect().left+window.pageXOffset),c=s-(r.getBoundingClientRect().top+window.pageYOffset);l<0?l=0:l>o&&(l=o),c<0?c=0:c>i&&(c=i);var u=l/o,p=1-c/i;return{h:t.h,s:u,v:p,a:t.a,source:"hsv"}}(e,r.props.hsl,r.container),e)},r.handleMouseDown=function(e){r.handleChange(e);var t=r.getContainerRenderWindow();t.addEventListener("mousemove",r.handleChange),t.addEventListener("mouseup",r.handleMouseUp)},r.handleMouseUp=function(){r.unbindEventListeners()},r.throttle=lr()((function(e,t,r){e(t,r)}),50),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),cr(t,[{key:"componentWillUnmount",value:function(){this.throttle.cancel(),this.unbindEventListeners()}},{key:"getContainerRenderWindow",value:function(){for(var e=this.container,t=window;!t.document.contains(e)&&t.parent!==t;)t=t.parent;return t}},{key:"unbindEventListeners",value:function(){var e=this.getContainerRenderWindow();e.removeEventListener("mousemove",this.handleChange),e.removeEventListener("mouseup",this.handleMouseUp)}},{key:"render",value:function(){var e=this,t=this.props.style||{},r=t.color,o=t.white,i=t.black,a=t.pointer,s=t.circle,l=(0,qt.ZP)({default:{color:{absolute:"0px 0px 0px 0px",background:"hsl("+this.props.hsl.h+",100%, 50%)",borderRadius:this.props.radius},white:{absolute:"0px 0px 0px 0px",borderRadius:this.props.radius},black:{absolute:"0px 0px 0px 0px",boxShadow:this.props.shadow,borderRadius:this.props.radius},pointer:{position:"absolute",top:-100*this.props.hsv.v+100+"%",left:100*this.props.hsv.s+"%",cursor:"default"},circle:{width:"4px",height:"4px",boxShadow:"0 0 0 1.5px #fff, inset 0 0 1px 1px rgba(0,0,0,.3),\n 0 0 1px 2px rgba(0,0,0,.4)",borderRadius:"50%",cursor:"hand",transform:"translate(-2px, -2px)"}},custom:{color:r,white:o,black:i,pointer:a,circle:s}},{custom:!!this.props.style});return n().createElement("div",{style:l.color,ref:function(t){return e.container=t},onMouseDown:this.handleMouseDown,onTouchMove:this.handleChange,onTouchStart:this.handleChange},n().createElement("style",null,"\n .saturation-white {\n background: -webkit-linear-gradient(to right, #fff, rgba(255,255,255,0));\n background: linear-gradient(to right, #fff, rgba(255,255,255,0));\n }\n .saturation-black {\n background: -webkit-linear-gradient(to top, #000, rgba(0,0,0,0));\n background: linear-gradient(to top, #000, rgba(0,0,0,0));\n }\n "),n().createElement("div",{style:l.white,className:"saturation-white"},n().createElement("div",{style:l.black,className:"saturation-black"}),n().createElement("div",{style:l.pointer},this.props.pointer?n().createElement(this.props.pointer,this.props):n().createElement("div",{style:l.circle}))))}}]),t}(t.PureComponent||t.Component),pr=r(3279),fr=r.n(pr),hr=r(6073),dr=r.n(hr),gr=r(7621),mr=r.n(gr),br=function(e){var t=0,r=0;return dr()(["r","g","b","a","h","s","l","v"],(function(n){e[n]&&(t+=1,isNaN(e[n])||(r+=1),"s"===n||"l"===n)&&/^\d+%$/.test(e[n])&&(r+=1)})),t===r&&e},vr=function(e,t){var r=e.hex?mr()(e.hex):mr()(e),n=r.toHsl(),o=r.toHsv(),i=r.toRgb(),a=r.toHex();return 0===n.s&&(n.h=t||0,o.h=t||0),{hsl:n,hex:"000000"===a&&0===i.a?"transparent":"#"+a,rgb:i,hsv:o,oldHue:e.h||t||n.h,source:e.source}},yr=function(e){if("transparent"===e)return!0;var t="#"===String(e).charAt(0)?1:0;return e.length!==4+t&&e.length<7+t&&mr()(e).isValid()},wr=function(e){if(!e)return"#fff";var t=vr(e);return"transparent"===t.hex?"rgba(0,0,0,0.4)":(299*t.rgb.r+587*t.rgb.g+114*t.rgb.b)/1e3>=128?"#000":"#fff"},xr=function(e,t){var r=e.replace("°","");return mr()(t+" ("+r+")")._ok},_r=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},Er=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}}(),Sr=function(e){var r=function(t){function r(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var t=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,(r.__proto__||Object.getPrototypeOf(r)).call(this));return t.handleChange=function(e,r){if(br(e)){var n=vr(e,e.h||t.state.oldHue);t.setState(n),t.props.onChangeComplete&&t.debounce(t.props.onChangeComplete,n,r),t.props.onChange&&t.props.onChange(n,r)}},t.handleSwatchHover=function(e,r){if(br(e)){var n=vr(e,e.h||t.state.oldHue);t.props.onSwatchHover&&t.props.onSwatchHover(n,r)}},t.state=_r({},vr(e.color,0)),t.debounce=fr()((function(e,t,r){e(t,r)}),100),t}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)}(r,t),Er(r,[{key:"render",value:function(){var t={};return this.props.onSwatchHover&&(t.onSwatchHover=this.handleSwatchHover),n().createElement(e,_r({},this.props,this.state,{onChange:this.handleChange},t))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return _r({},vr(e.color,t.oldHue))}}]),r}(t.PureComponent||t.Component);return r.propTypes=_r({},e.propTypes),r.defaultProps=_r({},e.defaultProps,{color:{h:250,s:.5,l:.2,a:1}}),r},Cr=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},kr=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 Ar(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Or(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}function Tr(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)}var Lr=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},Nr=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"span";return function(r){function o(){var e,t,r;Ar(this,o);for(var n=arguments.length,i=Array(n),a=0;a<n;a++)i[a]=arguments[a];return t=r=Or(this,(e=o.__proto__||Object.getPrototypeOf(o)).call.apply(e,[this].concat(i))),r.state={focus:!1},r.handleFocus=function(){return r.setState({focus:!0})},r.handleBlur=function(){return r.setState({focus:!1})},Or(r,t)}return Tr(o,r),kr(o,[{key:"render",value:function(){return n().createElement(t,{onFocus:this.handleFocus,onBlur:this.handleBlur},n().createElement(e,Cr({},this.props,this.state)))}}]),o}(n().Component)}((function(e){var t=e.color,r=e.style,o=e.onClick,i=void 0===o?function(){}:o,a=e.onHover,s=e.title,l=void 0===s?t:s,c=e.children,u=e.focus,p=e.focusStyle,f=void 0===p?{}:p,h="transparent"===t,d=(0,qt.ZP)({default:{swatch:Lr({background:t,height:"100%",width:"100%",cursor:"pointer",position:"relative",outline:"none"},r,u?f:{})}}),g={};return a&&(g.onMouseOver=function(e){return a(t,e)}),n().createElement("div",Lr({style:d.swatch,onClick:function(e){return i(t,e)},title:l,tabIndex:0,onKeyDown:function(e){return 13===e.keyCode&&i(t,e)}},g),c,h&&n().createElement(Ut,{borderRadius:d.swatch.borderRadius,boxShadow:"inset 0 0 0 1px rgba(0,0,0,0.1)"}))})),Rr=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},jr=function(e){var t=e.rgb,r=e.hsl,o=e.width,i=e.height,a=e.onChange,s=e.direction,l=e.style,c=e.renderers,u=e.pointer,p=e.className,f=void 0===p?"":p,h=(0,qt.ZP)({default:{picker:{position:"relative",width:o,height:i},alpha:{radius:"2px",style:l}}});return n().createElement("div",{style:h.picker,className:"alpha-picker "+f},n().createElement(Zt,Rr({},h.alpha,{rgb:t,hsl:r,pointer:u,renderers:c,onChange:a,direction:s})))};jr.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,qt.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n().createElement("div",{style:r.picker})}},Sr(jr);var qr=r(5161),Dr=r.n(qr),Br=function(e){var t=e.colors,r=e.onClick,o=e.onSwatchHover,i=(0,qt.ZP)({default:{swatches:{marginRight:"-10px"},swatch:{width:"22px",height:"22px",float:"left",marginRight:"10px",marginBottom:"10px",borderRadius:"4px"},clear:{clear:"both"}}});return n().createElement("div",{style:i.swatches},Dr()(t,(function(e){return n().createElement(Nr,{key:e,color:e,style:i.swatch,onClick:r,onHover:o,focusStyle:{boxShadow:"0 0 4px "+e}})})),n().createElement("div",{style:i.clear}))},Pr=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f="transparent"===o,h=function(e,r){yr(e)&&t({hex:e,source:"hex"},r)},d=(0,qt.ZP)(or()({default:{card:{width:a,background:"#fff",boxShadow:"0 1px rgba(0,0,0,.1)",borderRadius:"6px",position:"relative"},head:{height:"110px",background:o,borderRadius:"6px 6px 0 0",display:"flex",alignItems:"center",justifyContent:"center",position:"relative"},body:{padding:"10px"},label:{fontSize:"18px",color:wr(o),position:"relative"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 10px 10px 10px",borderColor:"transparent transparent "+o+" transparent",position:"absolute",top:"-10px",left:"50%",marginLeft:"-10px"},input:{width:"100%",fontSize:"12px",color:"#666",border:"0px",outline:"none",height:"22px",boxShadow:"inset 0 0 0 1px #ddd",borderRadius:"4px",padding:"0 7px",boxSizing:"border-box"}},"hide-triangle":{triangle:{display:"none"}}},c),{"hide-triangle":"hide"===s});return n().createElement("div",{style:d.card,className:"block-picker "+p},n().createElement("div",{style:d.triangle}),n().createElement("div",{style:d.head},f&&n().createElement(Ut,{borderRadius:"6px 6px 0 0"}),n().createElement("div",{style:d.label},o)),n().createElement("div",{style:d.body},n().createElement(Br,{colors:i,onClick:h,onSwatchHover:r}),n().createElement(Yt,{style:{input:d.input},value:o,onChange:h})))};Pr.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["top","hide"]),styles:C().object},Pr.defaultProps={width:170,colors:["#D9E3F0","#F47373","#697689","#37D67A","#2CCCE4","#555555","#dce775","#ff8a65","#ba68c8"],triangle:"top",styles:{}},Sr(Pr);var Mr="#ffcdd2",Fr="#e57373",Ur="#f44336",Hr="#d32f2f",Ir="#b71c1c",zr="#f8bbd0",Vr="#f06292",Gr="#e91e63",Zr="#c2185b",Wr="#880e4f",$r="#e1bee7",Xr="#ba68c8",Yr="#9c27b0",Jr="#7b1fa2",Kr="#4a148c",Qr="#d1c4e9",en="#9575cd",tn="#673ab7",rn="#512da8",nn="#311b92",on="#c5cae9",an="#7986cb",sn="#3f51b5",ln="#303f9f",cn="#1a237e",un="#bbdefb",pn="#64b5f6",fn="#2196f3",hn="#1976d2",dn="#0d47a1",gn="#b3e5fc",mn="#4fc3f7",bn="#03a9f4",vn="#0288d1",yn="#01579b",wn="#b2ebf2",xn="#4dd0e1",En="#00bcd4",Sn="#0097a7",Cn="#006064",kn="#b2dfdb",An="#4db6ac",On="#009688",Tn="#00796b",Ln="#004d40",Nn="#c8e6c9",Rn="#81c784",jn="#4caf50",qn="#388e3c",Dn="#dcedc8",Bn="#aed581",Pn="#8bc34a",Mn="#689f38",Fn="#33691e",Un="#f0f4c3",Hn="#dce775",In="#cddc39",zn="#afb42b",Vn="#827717",Gn="#fff9c4",Zn="#fff176",Wn="#ffeb3b",$n="#fbc02d",Xn="#f57f17",Yn="#ffecb3",Jn="#ffd54f",Kn="#ffc107",Qn="#ffa000",eo="#ff6f00",to="#ffe0b2",ro="#ffb74d",no="#ff9800",oo="#f57c00",io="#e65100",ao="#ffccbc",so="#ff8a65",lo="#ff5722",co="#e64a19",uo="#bf360c",po="#d7ccc8",fo="#a1887f",ho="#795548",go="#5d4037",mo="#3e2723",bo="#cfd8dc",vo="#90a4ae",yo="#607d8b",wo="#455a64",xo="#263238",_o=function(e){var t=e.color,r=e.onClick,o=e.onSwatchHover,i=e.hover,a=e.active,s=e.circleSize,l=e.circleSpacing,c=(0,qt.ZP)({default:{swatch:{width:s,height:s,marginRight:l,marginBottom:l,transform:"scale(1)",transition:"100ms transform ease"},Swatch:{borderRadius:"50%",background:"transparent",boxShadow:"inset 0 0 0 "+(s/2+1)+"px "+t,transition:"100ms box-shadow ease"}},hover:{swatch:{transform:"scale(1.2)"}},active:{Swatch:{boxShadow:"inset 0 0 0 3px "+t}}},{hover:i,active:a});return n().createElement("div",{style:c.swatch},n().createElement(Nr,{style:c.Swatch,color:t,onClick:r,onHover:o,focusStyle:{boxShadow:c.Swatch.boxShadow+", 0 0 5px "+t}}))};_o.defaultProps={circleSize:28,circleSpacing:14};var Eo=(0,qt.tz)(_o),So=function(e){var t=e.width,r=e.onChange,o=e.onSwatchHover,i=e.colors,a=e.hex,s=e.circleSize,l=e.styles,c=void 0===l?{}:l,u=e.circleSpacing,p=e.className,f=void 0===p?"":p,h=(0,qt.ZP)(or()({default:{card:{width:t,display:"flex",flexWrap:"wrap",marginRight:-u,marginBottom:-u}}},c)),d=function(e,t){return r({hex:e,source:"hex"},t)};return n().createElement("div",{style:h.card,className:"circle-picker "+f},Dr()(i,(function(e){return n().createElement(Eo,{key:e,color:e,onClick:d,onSwatchHover:o,active:a===e.toLowerCase(),circleSize:s,circleSpacing:u})})))};So.propTypes={width:C().oneOfType([C().string,C().number]),circleSize:C().number,circleSpacing:C().number,styles:C().object},So.defaultProps={width:252,circleSize:28,circleSpacing:14,colors:[Ur,Gr,Yr,tn,sn,fn,bn,En,On,jn,Pn,In,Wn,Kn,no,lo,ho,yo],styles:{}},Sr(So);var Co=r(2353),ko=r.n(Co),Ao=r(3891),Oo=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}}(),To=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));return r.toggleViews=function(){"hex"===r.state.view?r.setState({view:"rgb"}):"rgb"===r.state.view?r.setState({view:"hsl"}):"hsl"===r.state.view&&(1===r.props.hsl.a?r.setState({view:"hex"}):r.setState({view:"rgb"}))},r.handleChange=function(e,t){e.hex?yr(e.hex)&&r.props.onChange({hex:e.hex,source:"hex"},t):e.r||e.g||e.b?r.props.onChange({r:e.r||r.props.rgb.r,g:e.g||r.props.rgb.g,b:e.b||r.props.rgb.b,source:"rgb"},t):e.a?(e.a<0?e.a=0:e.a>1&&(e.a=1),r.props.onChange({h:r.props.hsl.h,s:r.props.hsl.s,l:r.props.hsl.l,a:Math.round(100*e.a)/100,source:"rgb"},t)):(e.h||e.s||e.l)&&("string"==typeof e.s&&e.s.includes("%")&&(e.s=e.s.replace("%","")),"string"==typeof e.l&&e.l.includes("%")&&(e.l=e.l.replace("%","")),1==e.s?e.s=.01:1==e.l&&(e.l=.01),r.props.onChange({h:e.h||r.props.hsl.h,s:Number(ko()(e.s)?r.props.hsl.s:e.s),l:Number(ko()(e.l)?r.props.hsl.l:e.l),source:"hsl"},t))},r.showHighlight=function(e){e.currentTarget.style.background="#eee"},r.hideHighlight=function(e){e.currentTarget.style.background="transparent"},1!==e.hsl.a&&"hex"===e.view?r.state={view:"rgb"}:r.state={view:e.view},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),Oo(t,[{key:"render",value:function(){var e=this,t=(0,qt.ZP)({default:{wrap:{paddingTop:"16px",display:"flex"},fields:{flex:"1",display:"flex",marginLeft:"-6px"},field:{paddingLeft:"6px",width:"100%"},alpha:{paddingLeft:"6px",width:"100%"},toggle:{width:"32px",textAlign:"right",position:"relative"},icon:{marginRight:"-4px",marginTop:"12px",cursor:"pointer",position:"relative"},iconHighlight:{position:"absolute",width:"24px",height:"28px",background:"#eee",borderRadius:"4px",top:"10px",left:"12px",display:"none"},input:{fontSize:"11px",color:"#333",width:"100%",borderRadius:"2px",border:"none",boxShadow:"inset 0 0 0 1px #dadada",height:"21px",textAlign:"center"},label:{textTransform:"uppercase",fontSize:"11px",lineHeight:"11px",color:"#969696",textAlign:"center",display:"block",marginTop:"12px"},svg:{fill:"#333",width:"24px",height:"24px",border:"1px transparent solid",borderRadius:"5px"}},disableAlpha:{alpha:{display:"none"}}},this.props,this.state),r=void 0;return"hex"===this.state.view?r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"hex",value:this.props.hex,onChange:this.handleChange}))):"rgb"===this.state.view?r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"r",value:this.props.rgb.r,onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"g",value:this.props.rgb.g,onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"b",value:this.props.rgb.b,onChange:this.handleChange})),n().createElement("div",{style:t.alpha},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"a",value:this.props.rgb.a,arrowOffset:.01,onChange:this.handleChange}))):"hsl"===this.state.view&&(r=n().createElement("div",{style:t.fields,className:"flexbox-fix"},n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"h",value:Math.round(this.props.hsl.h),onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"s",value:Math.round(100*this.props.hsl.s)+"%",onChange:this.handleChange})),n().createElement("div",{style:t.field},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"l",value:Math.round(100*this.props.hsl.l)+"%",onChange:this.handleChange})),n().createElement("div",{style:t.alpha},n().createElement(Yt,{style:{input:t.input,label:t.label},label:"a",value:this.props.hsl.a,arrowOffset:.01,onChange:this.handleChange})))),n().createElement("div",{style:t.wrap,className:"flexbox-fix"},r,n().createElement("div",{style:t.toggle},n().createElement("div",{style:t.icon,onClick:this.toggleViews,ref:function(t){return e.icon=t}},n().createElement(Ao.Z,{style:t.svg,onMouseOver:this.showHighlight,onMouseEnter:this.showHighlight,onMouseOut:this.hideHighlight}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return 1!==e.hsl.a&&"hex"===t.view?{view:"rgb"}:null}}]),t}(n().Component);To.defaultProps={view:"hex"};var Lo=To,No=function(){var e=(0,qt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",transform:"translate(-6px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n().createElement("div",{style:e.picker})},Ro=function(){var e=(0,qt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}}});return n().createElement("div",{style:e.picker})},jo=function(e){var t=e.width,r=e.onChange,o=e.disableAlpha,i=e.rgb,a=e.hsl,s=e.hsv,l=e.hex,c=e.renderers,u=e.styles,p=void 0===u?{}:u,f=e.className,h=void 0===f?"":f,d=e.defaultView,g=(0,qt.ZP)(or()({default:{picker:{width:t,background:"#fff",borderRadius:"2px",boxShadow:"0 0 2px rgba(0,0,0,.3), 0 4px 8px rgba(0,0,0,.3)",boxSizing:"initial",fontFamily:"Menlo"},saturation:{width:"100%",paddingBottom:"55%",position:"relative",borderRadius:"2px 2px 0 0",overflow:"hidden"},Saturation:{radius:"2px 2px 0 0"},body:{padding:"16px 16px 12px"},controls:{display:"flex"},color:{width:"32px"},swatch:{marginTop:"6px",width:"16px",height:"16px",borderRadius:"8px",position:"relative",overflow:"hidden"},active:{absolute:"0px 0px 0px 0px",borderRadius:"8px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.1)",background:"rgba("+i.r+", "+i.g+", "+i.b+", "+i.a+")",zIndex:"2"},toggles:{flex:"1"},hue:{height:"10px",position:"relative",marginBottom:"8px"},Hue:{radius:"2px"},alpha:{height:"10px",position:"relative"},Alpha:{radius:"2px"}},disableAlpha:{color:{width:"22px"},alpha:{display:"none"},hue:{marginBottom:"0px"},swatch:{width:"10px",height:"10px",marginTop:"0px"}}},p),{disableAlpha:o});return n().createElement("div",{style:g.picker,className:"chrome-picker "+h},n().createElement("div",{style:g.saturation},n().createElement(ur,{style:g.Saturation,hsl:a,hsv:s,pointer:Ro,onChange:r})),n().createElement("div",{style:g.body},n().createElement("div",{style:g.controls,className:"flexbox-fix"},n().createElement("div",{style:g.color},n().createElement("div",{style:g.swatch},n().createElement("div",{style:g.active}),n().createElement(Ut,{renderers:c}))),n().createElement("div",{style:g.toggles},n().createElement("div",{style:g.hue},n().createElement(rr,{style:g.Hue,hsl:a,pointer:No,onChange:r})),n().createElement("div",{style:g.alpha},n().createElement(Zt,{style:g.Alpha,rgb:i,hsl:a,pointer:No,renderers:c,onChange:r})))),n().createElement(Lo,{rgb:i,hsl:a,hex:l,view:d,onChange:r,disableAlpha:o})))};jo.propTypes={width:C().oneOfType([C().string,C().number]),disableAlpha:C().bool,styles:C().object,defaultView:C().oneOf(["hex","rgb","hsl"])},jo.defaultProps={width:225,disableAlpha:!1,styles:{}},Sr(jo);var qo=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.active,s=(0,qt.ZP)({default:{color:{background:t,width:"15px",height:"15px",float:"left",marginRight:"5px",marginBottom:"5px",position:"relative",cursor:"pointer"},dot:{absolute:"5px 5px 5px 5px",background:wr(t),borderRadius:"50%",opacity:"0"}},active:{dot:{opacity:"1"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},dot:{background:"#000"}},transparent:{dot:{background:"#000"}}},{active:a,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n().createElement(Nr,{style:s.color,color:t,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n().createElement("div",{style:s.dot}))},Do=function(e){var t=e.hex,r=e.rgb,o=e.onChange,i=(0,qt.ZP)({default:{fields:{display:"flex",paddingBottom:"6px",paddingRight:"5px",position:"relative"},active:{position:"absolute",top:"6px",left:"5px",height:"9px",width:"9px",background:t},HEXwrap:{flex:"6",position:"relative"},HEXinput:{width:"80%",padding:"0px",paddingLeft:"20%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},HEXlabel:{display:"none"},RGBwrap:{flex:"3",position:"relative"},RGBinput:{width:"70%",padding:"0px",paddingLeft:"30%",border:"none",outline:"none",background:"none",fontSize:"12px",color:"#333",height:"16px"},RGBlabel:{position:"absolute",top:"3px",left:"0px",lineHeight:"16px",textTransform:"uppercase",fontSize:"12px",color:"#999"}}}),a=function(e,t){e.r||e.g||e.b?o({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},t):o({hex:e.hex,source:"hex"},t)};return n().createElement("div",{style:i.fields,className:"flexbox-fix"},n().createElement("div",{style:i.active}),n().createElement(Yt,{style:{wrap:i.HEXwrap,input:i.HEXinput,label:i.HEXlabel},label:"hex",value:t,onChange:a}),n().createElement(Yt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"r",value:r.r,onChange:a}),n().createElement(Yt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"g",value:r.g,onChange:a}),n().createElement(Yt,{style:{wrap:i.RGBwrap,input:i.RGBinput,label:i.RGBlabel},label:"b",value:r.b,onChange:a}))},Bo=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.colors,i=e.hex,a=e.rgb,s=e.styles,l=void 0===s?{}:s,c=e.className,u=void 0===c?"":c,p=(0,qt.ZP)(or()({default:{Compact:{background:"#f6f6f6",radius:"4px"},compact:{paddingTop:"5px",paddingLeft:"5px",boxSizing:"initial",width:"240px"},clear:{clear:"both"}}},l)),f=function(e,r){e.hex?yr(e.hex)&&t({hex:e.hex,source:"hex"},r):t(e,r)};return n().createElement(ar,{style:p.Compact,styles:l},n().createElement("div",{style:p.compact,className:"compact-picker "+u},n().createElement("div",null,Dr()(o,(function(e){return n().createElement(qo,{key:e,color:e,active:e.toLowerCase()===i,onClick:f,onSwatchHover:r})})),n().createElement("div",{style:p.clear})),n().createElement(Do,{hex:i,rgb:a,onChange:f})))};Bo.propTypes={colors:C().arrayOf(C().string),styles:C().object},Bo.defaultProps={colors:["#4D4D4D","#999999","#FFFFFF","#F44E3B","#FE9200","#FCDC00","#DBDF00","#A4DD00","#68CCCA","#73D8FF","#AEA1FF","#FDA1FF","#333333","#808080","#cccccc","#D33115","#E27300","#FCC400","#B0BC00","#68BC00","#16A5A5","#009CE0","#7B64FF","#FA28FF","#000000","#666666","#B3B3B3","#9F0500","#C45100","#FB9E00","#808900","#194D33","#0C797D","#0062B1","#653294","#AB149E"],styles:{}},Sr(Bo);var Po=(0,qt.tz)((function(e){var t=e.hover,r=e.color,o=e.onClick,i=e.onSwatchHover,a={position:"relative",zIndex:"2",outline:"2px solid #fff",boxShadow:"0 0 5px 2px rgba(0,0,0,0.25)"},s=(0,qt.ZP)({default:{swatch:{width:"25px",height:"25px",fontSize:"0"}},hover:{swatch:a}},{hover:t});return n().createElement("div",{style:s.swatch},n().createElement(Nr,{color:r,onClick:o,onHover:i,focusStyle:a}))})),Mo=function(e){var t=e.width,r=e.colors,o=e.onChange,i=e.onSwatchHover,a=e.triangle,s=e.styles,l=void 0===s?{}:s,c=e.className,u=void 0===c?"":c,p=(0,qt.ZP)(or()({default:{card:{width:t,background:"#fff",border:"1px solid rgba(0,0,0,0.2)",boxShadow:"0 3px 12px rgba(0,0,0,0.15)",borderRadius:"4px",position:"relative",padding:"5px",display:"flex",flexWrap:"wrap"},triangle:{position:"absolute",border:"7px solid transparent",borderBottomColor:"#fff"},triangleShadow:{position:"absolute",border:"8px solid transparent",borderBottomColor:"rgba(0,0,0,0.15)"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-14px",left:"10px"},triangleShadow:{top:"-16px",left:"9px"}},"top-right-triangle":{triangle:{top:"-14px",right:"10px"},triangleShadow:{top:"-16px",right:"9px"}},"bottom-left-triangle":{triangle:{top:"35px",left:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",left:"9px",transform:"rotate(180deg)"}},"bottom-right-triangle":{triangle:{top:"35px",right:"10px",transform:"rotate(180deg)"},triangleShadow:{top:"37px",right:"9px",transform:"rotate(180deg)"}}},l),{"hide-triangle":"hide"===a,"top-left-triangle":"top-left"===a,"top-right-triangle":"top-right"===a,"bottom-left-triangle":"bottom-left"===a,"bottom-right-triangle":"bottom-right"===a}),f=function(e,t){return o({hex:e,source:"hex"},t)};return n().createElement("div",{style:p.card,className:"github-picker "+u},n().createElement("div",{style:p.triangleShadow}),n().createElement("div",{style:p.triangle}),Dr()(r,(function(e){return n().createElement(Po,{color:e,key:e,onClick:f,onSwatchHover:i})})))};Mo.propTypes={width:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().string),triangle:C().oneOf(["hide","top-left","top-right","bottom-left","bottom-right"]),styles:C().object},Mo.defaultProps={width:200,colors:["#B80000","#DB3E00","#FCCB00","#008B02","#006B76","#1273DE","#004DCF","#5300EB","#EB9694","#FAD0C3","#FEF3BD","#C1E1C5","#BEDADC","#C4DEF6","#BED3F3","#D4C4FB"],triangle:"top-left",styles:{}},Sr(Mo);var Fo=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},Uo=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.hsl,a=e.direction,s=e.pointer,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,qt.ZP)(or()({default:{picker:{position:"relative",width:t,height:r},hue:{radius:"2px"}}},c));return n().createElement("div",{style:f.picker,className:"hue-picker "+p},n().createElement(rr,Fo({},f.hue,{hsl:i,pointer:s,onChange:function(e){return o({a:1,h:e.h,l:.5,s:1})},direction:a})))};Uo.propTypes={styles:C().object},Uo.defaultProps={width:"316px",height:"16px",direction:"horizontal",pointer:function(e){var t=e.direction,r=(0,qt.ZP)({default:{picker:{width:"18px",height:"18px",borderRadius:"50%",transform:"translate(-9px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}},vertical:{picker:{transform:"translate(-3px, -9px)"}}},{vertical:"vertical"===t});return n().createElement("div",{style:r.picker})},styles:{}},Sr(Uo),Sr((function(e){var t=e.onChange,r=e.hex,o=e.rgb,i=e.styles,a=void 0===i?{}:i,s=e.className,l=void 0===s?"":s,c=(0,qt.ZP)(or()({default:{material:{width:"98px",height:"98px",padding:"16px",fontFamily:"Roboto"},HEXwrap:{position:"relative"},HEXinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"2px solid "+r,outline:"none",height:"30px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},Hex:{style:{}},RGBwrap:{position:"relative"},RGBinput:{width:"100%",marginTop:"12px",fontSize:"15px",color:"#333",padding:"0px",border:"0px",borderBottom:"1px solid #eee",outline:"none",height:"30px"},RGBlabel:{position:"absolute",top:"0px",left:"0px",fontSize:"11px",color:"#999999",textTransform:"capitalize"},split:{display:"flex",marginRight:"-10px",paddingTop:"11px"},third:{flex:"1",paddingRight:"10px"}}},a)),u=function(e,r){e.hex?yr(e.hex)&&t({hex:e.hex,source:"hex"},r):(e.r||e.g||e.b)&&t({r:e.r||o.r,g:e.g||o.g,b:e.b||o.b,source:"rgb"},r)};return n().createElement(ar,{styles:a},n().createElement("div",{style:c.material,className:"material-picker "+l},n().createElement(Yt,{style:{wrap:c.HEXwrap,input:c.HEXinput,label:c.HEXlabel},label:"hex",value:r,onChange:u}),n().createElement("div",{style:c.split,className:"flexbox-fix"},n().createElement("div",{style:c.third},n().createElement(Yt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"r",value:o.r,onChange:u})),n().createElement("div",{style:c.third},n().createElement(Yt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"g",value:o.g,onChange:u})),n().createElement("div",{style:c.third},n().createElement(Yt,{style:{wrap:c.RGBwrap,input:c.RGBinput,label:c.RGBlabel},label:"b",value:o.b,onChange:u})))))}));var Ho=function(e){var t=e.onChange,r=e.rgb,o=e.hsv,i=e.hex,a=(0,qt.ZP)({default:{fields:{paddingTop:"5px",paddingBottom:"9px",width:"80px",position:"relative"},divider:{height:"5px"},RGBwrap:{position:"relative"},RGBinput:{marginLeft:"40%",width:"40%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"5px",fontSize:"13px",paddingLeft:"3px",marginRight:"10px"},RGBlabel:{left:"0px",top:"0px",width:"34px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px",position:"absolute"},HEXwrap:{position:"relative"},HEXinput:{marginLeft:"20%",width:"80%",height:"18px",border:"1px solid #888888",boxShadow:"inset 0 1px 1px rgba(0,0,0,.1), 0 1px 0 0 #ECECEC",marginBottom:"6px",fontSize:"13px",paddingLeft:"3px"},HEXlabel:{position:"absolute",top:"0px",left:"0px",width:"14px",textTransform:"uppercase",fontSize:"13px",height:"18px",lineHeight:"22px"},fieldSymbols:{position:"absolute",top:"5px",right:"-7px",fontSize:"13px"},symbol:{height:"20px",lineHeight:"22px",paddingBottom:"7px"}}}),s=function(e,n){e["#"]?yr(e["#"])&&t({hex:e["#"],source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,source:"rgb"},n):(e.h||e.s||e.v)&&t({h:e.h||o.h,s:e.s||o.s,v:e.v||o.v,source:"hsv"},n)};return n().createElement("div",{style:a.fields},n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"h",value:Math.round(o.h),onChange:s}),n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"s",value:Math.round(100*o.s),onChange:s}),n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"v",value:Math.round(100*o.v),onChange:s}),n().createElement("div",{style:a.divider}),n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"r",value:r.r,onChange:s}),n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"g",value:r.g,onChange:s}),n().createElement(Yt,{style:{wrap:a.RGBwrap,input:a.RGBinput,label:a.RGBlabel},label:"b",value:r.b,onChange:s}),n().createElement("div",{style:a.divider}),n().createElement(Yt,{style:{wrap:a.HEXwrap,input:a.HEXinput,label:a.HEXlabel},label:"#",value:i.replace("#",""),onChange:s}),n().createElement("div",{style:a.fieldSymbols},n().createElement("div",{style:a.symbol},"°"),n().createElement("div",{style:a.symbol},"%"),n().createElement("div",{style:a.symbol},"%")))},Io=function(e){var t=e.hsl,r=(0,qt.ZP)({default:{picker:{width:"12px",height:"12px",borderRadius:"6px",boxShadow:"inset 0 0 0 1px #fff",transform:"translate(-6px, -6px)"}},"black-outline":{picker:{boxShadow:"inset 0 0 0 1px #000"}}},{"black-outline":t.l>.5});return n().createElement("div",{style:r.picker})},zo=function(){var e=(0,qt.ZP)({default:{triangle:{width:0,height:0,borderStyle:"solid",borderWidth:"4px 0 4px 6px",borderColor:"transparent transparent transparent #fff",position:"absolute",top:"1px",left:"1px"},triangleBorder:{width:0,height:0,borderStyle:"solid",borderWidth:"5px 0 5px 8px",borderColor:"transparent transparent transparent #555"},left:{Extend:"triangleBorder",transform:"translate(-13px, -4px)"},leftInside:{Extend:"triangle",transform:"translate(-8px, -5px)"},right:{Extend:"triangleBorder",transform:"translate(20px, -14px) rotate(180deg)"},rightInside:{Extend:"triangle",transform:"translate(-8px, -5px)"}}});return n().createElement("div",{style:e.pointer},n().createElement("div",{style:e.left},n().createElement("div",{style:e.leftInside})),n().createElement("div",{style:e.right},n().createElement("div",{style:e.rightInside})))},Vo=function(e){var t=e.onClick,r=e.label,o=e.children,i=e.active,a=(0,qt.ZP)({default:{button:{backgroundImage:"linear-gradient(-180deg, #FFFFFF 0%, #E6E6E6 100%)",border:"1px solid #878787",borderRadius:"2px",height:"20px",boxShadow:"0 1px 0 0 #EAEAEA",fontSize:"14px",color:"#000",lineHeight:"20px",textAlign:"center",marginBottom:"10px",cursor:"pointer"}},active:{button:{boxShadow:"0 0 0 1px #878787"}}},{active:i});return n().createElement("div",{style:a.button,onClick:t},r||o)},Go=function(e){var t=e.rgb,r=e.currentColor,o=(0,qt.ZP)({default:{swatches:{border:"1px solid #B3B3B3",borderBottom:"1px solid #F0F0F0",marginBottom:"2px",marginTop:"1px"},new:{height:"34px",background:"rgb("+t.r+","+t.g+", "+t.b+")",boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 1px 0 #000"},current:{height:"34px",background:r,boxShadow:"inset 1px 0 0 #000, inset -1px 0 0 #000, inset 0 -1px 0 #000"},label:{fontSize:"14px",color:"#000",textAlign:"center"}}});return n().createElement("div",null,n().createElement("div",{style:o.label},"new"),n().createElement("div",{style:o.swatches},n().createElement("div",{style:o.new}),n().createElement("div",{style:o.current})),n().createElement("div",{style:o.label},"current"))},Zo=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}}(),Wo=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));return r.state={currentColor:e.hex},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),Zo(t,[{key:"render",value:function(){var e=this.props,t=e.styles,r=void 0===t?{}:t,o=e.className,i=void 0===o?"":o,a=(0,qt.ZP)(or()({default:{picker:{background:"#DCDCDC",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.25), 0 8px 16px rgba(0,0,0,.15)",boxSizing:"initial",width:"513px"},head:{backgroundImage:"linear-gradient(-180deg, #F0F0F0 0%, #D4D4D4 100%)",borderBottom:"1px solid #B1B1B1",boxShadow:"inset 0 1px 0 0 rgba(255,255,255,.2), inset 0 -1px 0 0 rgba(0,0,0,.02)",height:"23px",lineHeight:"24px",borderRadius:"4px 4px 0 0",fontSize:"13px",color:"#4D4D4D",textAlign:"center"},body:{padding:"15px 15px 0",display:"flex"},saturation:{width:"256px",height:"256px",position:"relative",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0",overflow:"hidden"},hue:{position:"relative",height:"256px",width:"19px",marginLeft:"10px",border:"2px solid #B3B3B3",borderBottom:"2px solid #F0F0F0"},controls:{width:"180px",marginLeft:"10px"},top:{display:"flex"},previews:{width:"60px"},actions:{flex:"1",marginLeft:"20px"}}},r));return n().createElement("div",{style:a.picker,className:"photoshop-picker "+i},n().createElement("div",{style:a.head},this.props.header),n().createElement("div",{style:a.body,className:"flexbox-fix"},n().createElement("div",{style:a.saturation},n().createElement(ur,{hsl:this.props.hsl,hsv:this.props.hsv,pointer:Io,onChange:this.props.onChange})),n().createElement("div",{style:a.hue},n().createElement(rr,{direction:"vertical",hsl:this.props.hsl,pointer:zo,onChange:this.props.onChange})),n().createElement("div",{style:a.controls},n().createElement("div",{style:a.top,className:"flexbox-fix"},n().createElement("div",{style:a.previews},n().createElement(Go,{rgb:this.props.rgb,currentColor:this.state.currentColor})),n().createElement("div",{style:a.actions},n().createElement(Vo,{label:"OK",onClick:this.props.onAccept,active:!0}),n().createElement(Vo,{label:"Cancel",onClick:this.props.onCancel}),n().createElement(Ho,{onChange:this.props.onChange,rgb:this.props.rgb,hsv:this.props.hsv,hex:this.props.hex}))))))}}]),t}(n().Component);Wo.propTypes={header:C().string,styles:C().object},Wo.defaultProps={header:"Color Picker",styles:{}},Sr(Wo);var $o=function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.disableAlpha,s=(0,qt.ZP)({default:{fields:{display:"flex",paddingTop:"4px"},single:{flex:"1",paddingLeft:"6px"},alpha:{flex:"1",paddingLeft:"6px"},double:{flex:"2"},input:{width:"80%",padding:"4px 10% 3px",border:"none",boxShadow:"inset 0 0 0 1px #ccc",fontSize:"11px"},label:{display:"block",textAlign:"center",fontSize:"11px",color:"#222",paddingTop:"3px",paddingBottom:"4px",textTransform:"capitalize"}},disableAlpha:{alpha:{display:"none"}}},{disableAlpha:a}),l=function(e,n){e.hex?yr(e.hex)&&t({hex:e.hex,source:"hex"},n):e.r||e.g||e.b?t({r:e.r||r.r,g:e.g||r.g,b:e.b||r.b,a:r.a,source:"rgb"},n):e.a&&(e.a<0?e.a=0:e.a>100&&(e.a=100),e.a/=100,t({h:o.h,s:o.s,l:o.l,a:e.a,source:"rgb"},n))};return n().createElement("div",{style:s.fields,className:"flexbox-fix"},n().createElement("div",{style:s.double},n().createElement(Yt,{style:{input:s.input,label:s.label},label:"hex",value:i.replace("#",""),onChange:l})),n().createElement("div",{style:s.single},n().createElement(Yt,{style:{input:s.input,label:s.label},label:"r",value:r.r,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.single},n().createElement(Yt,{style:{input:s.input,label:s.label},label:"g",value:r.g,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.single},n().createElement(Yt,{style:{input:s.input,label:s.label},label:"b",value:r.b,onChange:l,dragLabel:"true",dragMax:"255"})),n().createElement("div",{style:s.alpha},n().createElement(Yt,{style:{input:s.input,label:s.label},label:"a",value:Math.round(100*r.a),onChange:l,dragLabel:"true",dragMax:"100"})))},Xo=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},Yo=function(e){var t=e.colors,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=(0,qt.ZP)({default:{colors:{margin:"0 -10px",padding:"10px 0 0 10px",borderTop:"1px solid #eee",display:"flex",flexWrap:"wrap",position:"relative"},swatchWrap:{width:"16px",height:"16px",margin:"0 10px 10px 0"},swatch:{borderRadius:"3px",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15)"}},"no-presets":{colors:{display:"none"}}},{"no-presets":!t||!t.length}),s=function(e,t){o({hex:e,source:"hex"},t)};return n().createElement("div",{style:a.colors,className:"flexbox-fix"},t.map((function(e){var t="string"==typeof e?{color:e}:e,r=""+t.color+(t.title||"");return n().createElement("div",{key:r,style:a.swatchWrap},n().createElement(Nr,Xo({},t,{style:a.swatch,onClick:s,onHover:i,focusStyle:{boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), 0 0 4px "+t.color}})))})))};Yo.propTypes={colors:C().arrayOf(C().oneOfType([C().string,C().shape({color:C().string,title:C().string})])).isRequired};var Jo=Yo,Ko=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},Qo=function(e){var t=e.width,r=e.rgb,o=e.hex,i=e.hsv,a=e.hsl,s=e.onChange,l=e.onSwatchHover,c=e.disableAlpha,u=e.presetColors,p=e.renderers,f=e.styles,h=void 0===f?{}:f,d=e.className,g=void 0===d?"":d,m=(0,qt.ZP)(or()({default:Ko({picker:{width:t,padding:"10px 10px 0",boxSizing:"initial",background:"#fff",borderRadius:"4px",boxShadow:"0 0 0 1px rgba(0,0,0,.15), 0 8px 16px rgba(0,0,0,.15)"},saturation:{width:"100%",paddingBottom:"75%",position:"relative",overflow:"hidden"},Saturation:{radius:"3px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},controls:{display:"flex"},sliders:{padding:"4px 0",flex:"1"},color:{width:"24px",height:"24px",position:"relative",marginTop:"4px",marginLeft:"4px",borderRadius:"3px"},activeColor:{absolute:"0px 0px 0px 0px",borderRadius:"2px",background:"rgba("+r.r+","+r.g+","+r.b+","+r.a+")",boxShadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},hue:{position:"relative",height:"10px",overflow:"hidden"},Hue:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"},alpha:{position:"relative",height:"10px",marginTop:"4px",overflow:"hidden"},Alpha:{radius:"2px",shadow:"inset 0 0 0 1px rgba(0,0,0,.15), inset 0 0 4px rgba(0,0,0,.25)"}},h),disableAlpha:{color:{height:"10px"},hue:{height:"10px"},alpha:{display:"none"}}},h),{disableAlpha:c});return n().createElement("div",{style:m.picker,className:"sketch-picker "+g},n().createElement("div",{style:m.saturation},n().createElement(ur,{style:m.Saturation,hsl:a,hsv:i,onChange:s})),n().createElement("div",{style:m.controls,className:"flexbox-fix"},n().createElement("div",{style:m.sliders},n().createElement("div",{style:m.hue},n().createElement(rr,{style:m.Hue,hsl:a,onChange:s})),n().createElement("div",{style:m.alpha},n().createElement(Zt,{style:m.Alpha,rgb:r,hsl:a,renderers:p,onChange:s}))),n().createElement("div",{style:m.color},n().createElement(Ut,null),n().createElement("div",{style:m.activeColor}))),n().createElement($o,{rgb:r,hsl:a,hex:o,onChange:s,disableAlpha:c}),n().createElement(Jo,{colors:u,onClick:s,onSwatchHover:l}))};Qo.propTypes={disableAlpha:C().bool,width:C().oneOfType([C().string,C().number]),styles:C().object},Qo.defaultProps={disableAlpha:!1,width:200,styles:{},presetColors:["#D0021B","#F5A623","#F8E71C","#8B572A","#7ED321","#417505","#BD10E0","#9013FE","#4A90E2","#50E3C2","#B8E986","#000000","#4A4A4A","#9B9B9B","#FFFFFF"]};var ei=Sr(Qo),ti=function(e){var t=e.hsl,r=e.offset,o=e.onClick,i=void 0===o?function(){}:o,a=e.active,s=e.first,l=e.last,c=(0,qt.ZP)({default:{swatch:{height:"12px",background:"hsl("+t.h+", 50%, "+100*r+"%)",cursor:"pointer"}},first:{swatch:{borderRadius:"2px 0 0 2px"}},last:{swatch:{borderRadius:"0 2px 2px 0"}},active:{swatch:{transform:"scaleY(1.8)",borderRadius:"3.6px/2px"}}},{active:a,first:s,last:l});return n().createElement("div",{style:c.swatch,onClick:function(e){return i({h:t.h,s:.5,l:r,source:"hsl"},e)}})},ri=function(e){var t=e.onClick,r=e.hsl,o=(0,qt.ZP)({default:{swatches:{marginTop:"20px"},swatch:{boxSizing:"border-box",width:"20%",paddingRight:"1px",float:"left"},clear:{clear:"both"}}}),i=.1;return n().createElement("div",{style:o.swatches},n().createElement("div",{style:o.swatch},n().createElement(ti,{hsl:r,offset:".80",active:Math.abs(r.l-.8)<i&&Math.abs(r.s-.5)<i,onClick:t,first:!0})),n().createElement("div",{style:o.swatch},n().createElement(ti,{hsl:r,offset:".65",active:Math.abs(r.l-.65)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ti,{hsl:r,offset:".50",active:Math.abs(r.l-.5)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ti,{hsl:r,offset:".35",active:Math.abs(r.l-.35)<i&&Math.abs(r.s-.5)<i,onClick:t})),n().createElement("div",{style:o.swatch},n().createElement(ti,{hsl:r,offset:".20",active:Math.abs(r.l-.2)<i&&Math.abs(r.s-.5)<i,onClick:t,last:!0})),n().createElement("div",{style:o.clear}))},ni=function(e){var t=e.hsl,r=e.onChange,o=e.pointer,i=e.styles,a=void 0===i?{}:i,s=e.className,l=void 0===s?"":s,c=(0,qt.ZP)(or()({default:{hue:{height:"12px",position:"relative"},Hue:{radius:"2px"}}},a));return n().createElement("div",{style:c.wrap||{},className:"slider-picker "+l},n().createElement("div",{style:c.hue},n().createElement(rr,{style:c.Hue,hsl:t,pointer:o,onChange:r})),n().createElement("div",{style:c.swatches},n().createElement(ri,{hsl:t,onClick:r})))};ni.propTypes={styles:C().object},ni.defaultProps={pointer:function(){var e=(0,qt.ZP)({default:{picker:{width:"14px",height:"14px",borderRadius:"6px",transform:"translate(-7px, -1px)",backgroundColor:"rgb(248, 248, 248)",boxShadow:"0 1px 4px 0 rgba(0, 0, 0, 0.37)"}}});return n().createElement("div",{style:e.picker})},styles:{}},Sr(ni);var oi=r(597),ii=function(e){var t=e.color,r=e.onClick,o=void 0===r?function(){}:r,i=e.onSwatchHover,a=e.first,s=e.last,l=e.active,c=(0,qt.ZP)({default:{color:{width:"40px",height:"24px",cursor:"pointer",background:t,marginBottom:"1px"},check:{color:wr(t),marginLeft:"8px",display:"none"}},first:{color:{overflow:"hidden",borderRadius:"2px 2px 0 0"}},last:{color:{overflow:"hidden",borderRadius:"0 0 2px 2px"}},active:{check:{display:"block"}},"color-#FFFFFF":{color:{boxShadow:"inset 0 0 0 1px #ddd"},check:{color:"#333"}},transparent:{check:{color:"#333"}}},{first:a,last:s,active:l,"color-#FFFFFF":"#FFFFFF"===t,transparent:"transparent"===t});return n().createElement(Nr,{color:t,style:c.color,onClick:o,onHover:i,focusStyle:{boxShadow:"0 0 4px "+t}},n().createElement("div",{style:c.check},n().createElement(oi.Z,null)))},ai=function(e){var t=e.onClick,r=e.onSwatchHover,o=e.group,i=e.active,a=(0,qt.ZP)({default:{group:{paddingBottom:"10px",width:"40px",float:"left",marginRight:"10px"}}});return n().createElement("div",{style:a.group},Dr()(o,(function(e,a){return n().createElement(ii,{key:e,color:e,active:e.toLowerCase()===i,first:0===a,last:a===o.length-1,onClick:t,onSwatchHover:r})})))},si=function(e){var t=e.width,r=e.height,o=e.onChange,i=e.onSwatchHover,a=e.colors,s=e.hex,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,qt.ZP)(or()({default:{picker:{width:t,height:r},overflow:{height:r,overflowY:"scroll"},body:{padding:"16px 0 6px 16px"},clear:{clear:"both"}}},c)),h=function(e,t){return o({hex:e,source:"hex"},t)};return n().createElement("div",{style:f.picker,className:"swatches-picker "+p},n().createElement(ar,null,n().createElement("div",{style:f.overflow},n().createElement("div",{style:f.body},Dr()(a,(function(e){return n().createElement(ai,{key:e.toString(),group:e,active:s,onClick:h,onSwatchHover:i})})),n().createElement("div",{style:f.clear})))))};si.propTypes={width:C().oneOfType([C().string,C().number]),height:C().oneOfType([C().string,C().number]),colors:C().arrayOf(C().arrayOf(C().string)),styles:C().object},si.defaultProps={width:320,height:240,colors:[[Ir,Hr,Ur,Fr,Mr],[Wr,Zr,Gr,Vr,zr],[Kr,Jr,Yr,Xr,$r],[nn,rn,tn,en,Qr],[cn,ln,sn,an,on],[dn,hn,fn,pn,un],[yn,vn,bn,mn,gn],[Cn,Sn,En,xn,wn],[Ln,Tn,On,An,kn],["#194D33",qn,jn,Rn,Nn],[Fn,Mn,Pn,Bn,Dn],[Vn,zn,In,Hn,Un],[Xn,$n,Wn,Zn,Gn],[eo,Qn,Kn,Jn,Yn],[io,oo,no,ro,to],[uo,co,lo,so,ao],[mo,go,ho,fo,po],[xo,wo,yo,vo,bo],["#000000","#525252","#969696","#D9D9D9","#FFFFFF"]],styles:{}},Sr(si);var li=function(e){var t=e.onChange,r=e.onSwatchHover,o=e.hex,i=e.colors,a=e.width,s=e.triangle,l=e.styles,c=void 0===l?{}:l,u=e.className,p=void 0===u?"":u,f=(0,qt.ZP)(or()({default:{card:{width:a,background:"#fff",border:"0 solid rgba(0,0,0,0.25)",boxShadow:"0 1px 4px rgba(0,0,0,0.25)",borderRadius:"4px",position:"relative"},body:{padding:"15px 9px 9px 15px"},label:{fontSize:"18px",color:"#fff"},triangle:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent #fff transparent",position:"absolute"},triangleShadow:{width:"0px",height:"0px",borderStyle:"solid",borderWidth:"0 9px 10px 9px",borderColor:"transparent transparent rgba(0,0,0,.1) transparent",position:"absolute"},hash:{background:"#F0F0F0",height:"30px",width:"30px",borderRadius:"4px 0 0 4px",float:"left",color:"#98A1A4",display:"flex",alignItems:"center",justifyContent:"center"},input:{width:"100px",fontSize:"14px",color:"#666",border:"0px",outline:"none",height:"28px",boxShadow:"inset 0 0 0 1px #F0F0F0",boxSizing:"content-box",borderRadius:"0 4px 4px 0",float:"left",paddingLeft:"8px"},swatch:{width:"30px",height:"30px",float:"left",borderRadius:"4px",margin:"0 6px 6px 0"},clear:{clear:"both"}},"hide-triangle":{triangle:{display:"none"},triangleShadow:{display:"none"}},"top-left-triangle":{triangle:{top:"-10px",left:"12px"},triangleShadow:{top:"-11px",left:"12px"}},"top-right-triangle":{triangle:{top:"-10px",right:"12px"},triangleShadow:{top:"-11px",right:"12px"}}},c),{"hide-triangle":"hide"===s,"top-left-triangle":"top-left"===s,"top-right-triangle":"top-right"===s}),h=function(e,r){yr(e)&&t({hex:e,source:"hex"},r)};return n().createElement("div",{style:f.card,className:"twitter-picker "+p},n().createElement("div",{style:f.triangleShadow}),n().createElement("div",{style:f.triangle}),n().createElement("div",{style:f.body},Dr()(i,(function(e,t){return n().createElement(Nr,{key:t,color:e,hex:e,style:f.swatch,onClick:h,onHover:r,focusStyle:{boxShadow:"0 0 4px "+e}})})),n().createElement("div",{style:f.hash},"#"),n().createElement(Yt,{label:null,style:{input:f.input},value:o.replace("#",""),onChange:h}),n().createElement("div",{style:f.clear})))};li.propTypes={width:C().oneOfType([C().string,C().number]),triangle:C().oneOf(["hide","top-left","top-right"]),colors:C().arrayOf(C().string),styles:C().object},li.defaultProps={width:276,colors:["#FF6900","#FCB900","#7BDCB5","#00D084","#8ED1FC","#0693E3","#ABB8C3","#EB144C","#F78DA7","#9900EF"],triangle:"top-left",styles:{}},Sr(li);var ci=function(e){var t=(0,qt.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",border:"2px #fff solid",transform:"translate(-12px, -13px)",background:"hsl("+Math.round(e.hsl.h)+", "+Math.round(100*e.hsl.s)+"%, "+Math.round(100*e.hsl.l)+"%)"}}});return n().createElement("div",{style:t.picker})};ci.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},ci.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var ui=ci,pi=function(e){var t=(0,qt.ZP)({default:{picker:{width:"20px",height:"20px",borderRadius:"22px",transform:"translate(-10px, -7px)",background:"hsl("+Math.round(e.hsl.h)+", 100%, 50%)",border:"2px white solid"}}});return n().createElement("div",{style:t.picker})};pi.propTypes={hsl:C().shape({h:C().number,s:C().number,l:C().number,a:C().number})},pi.defaultProps={hsl:{a:1,h:249.94,l:.2,s:.5}};var fi=pi,hi=function(e){var t=e.onChange,r=e.rgb,o=e.hsl,i=e.hex,a=e.hsv,s=function(e,r){if(e.hex)yr(e.hex)&&t({hex:e.hex,source:"hex"},r);else if(e.rgb){var n=e.rgb.split(",");xr(e.rgb,"rgb")&&t({r:n[0],g:n[1],b:n[2],a:1,source:"rgb"},r)}else if(e.hsv){var o=e.hsv.split(",");xr(e.hsv,"hsv")&&(o[2]=o[2].replace("%",""),o[1]=o[1].replace("%",""),o[0]=o[0].replace("°",""),1==o[1]?o[1]=.01:1==o[2]&&(o[2]=.01),t({h:Number(o[0]),s:Number(o[1]),v:Number(o[2]),source:"hsv"},r))}else if(e.hsl){var i=e.hsl.split(",");xr(e.hsl,"hsl")&&(i[2]=i[2].replace("%",""),i[1]=i[1].replace("%",""),i[0]=i[0].replace("°",""),1==p[1]?p[1]=.01:1==p[2]&&(p[2]=.01),t({h:Number(i[0]),s:Number(i[1]),v:Number(i[2]),source:"hsl"},r))}},l=(0,qt.ZP)({default:{wrap:{display:"flex",height:"100px",marginTop:"4px"},fields:{width:"100%"},column:{paddingTop:"10px",display:"flex",justifyContent:"space-between"},double:{padding:"0px 4.4px",boxSizing:"border-box"},input:{width:"100%",height:"38px",boxSizing:"border-box",padding:"4px 10% 3px",textAlign:"center",border:"1px solid #dadce0",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",fontFamily:"Roboto,Arial,sans-serif"},input2:{height:"38px",width:"100%",border:"1px solid #dadce0",boxSizing:"border-box",fontSize:"11px",textTransform:"lowercase",borderRadius:"5px",outline:"none",paddingLeft:"10px",fontFamily:"Roboto,Arial,sans-serif"},label:{textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"35px",top:"-6px",left:"0",right:"0",marginLeft:"auto",marginRight:"auto",fontFamily:"Roboto,Arial,sans-serif"},label2:{left:"10px",textAlign:"center",fontSize:"12px",background:"#fff",position:"absolute",textTransform:"uppercase",color:"#3c4043",width:"32px",top:"-6px",fontFamily:"Roboto,Arial,sans-serif"},single:{flexGrow:"1",margin:"0px 4.4px"}}}),c=r.r+", "+r.g+", "+r.b,u=Math.round(o.h)+"°, "+Math.round(100*o.s)+"%, "+Math.round(100*o.l)+"%",p=Math.round(a.h)+"°, "+Math.round(100*a.s)+"%, "+Math.round(100*a.v)+"%";return n().createElement("div",{style:l.wrap,className:"flexbox-fix"},n().createElement("div",{style:l.fields},n().createElement("div",{style:l.double},n().createElement(Yt,{style:{input:l.input,label:l.label},label:"hex",value:i,onChange:s})),n().createElement("div",{style:l.column},n().createElement("div",{style:l.single},n().createElement(Yt,{style:{input:l.input2,label:l.label2},label:"rgb",value:c,onChange:s})),n().createElement("div",{style:l.single},n().createElement(Yt,{style:{input:l.input2,label:l.label2},label:"hsv",value:p,onChange:s})),n().createElement("div",{style:l.single},n().createElement(Yt,{style:{input:l.input2,label:l.label2},label:"hsl",value:u,onChange:s})))))},di=function(e){var t=e.width,r=e.onChange,o=e.rgb,i=e.hsl,a=e.hsv,s=e.hex,l=e.header,c=e.styles,u=void 0===c?{}:c,p=e.className,f=void 0===p?"":p,h=(0,qt.ZP)(or()({default:{picker:{width:t,background:"#fff",border:"1px solid #dfe1e5",boxSizing:"initial",display:"flex",flexWrap:"wrap",borderRadius:"8px 8px 0px 0px"},head:{height:"57px",width:"100%",paddingTop:"16px",paddingBottom:"16px",paddingLeft:"16px",fontSize:"20px",boxSizing:"border-box",fontFamily:"Roboto-Regular,HelveticaNeue,Arial,sans-serif"},saturation:{width:"70%",padding:"0px",position:"relative",overflow:"hidden"},swatch:{width:"30%",height:"228px",padding:"0px",background:"rgba("+o.r+", "+o.g+", "+o.b+", 1)",position:"relative",overflow:"hidden"},body:{margin:"auto",width:"95%"},controls:{display:"flex",boxSizing:"border-box",height:"52px",paddingTop:"22px"},color:{width:"32px"},hue:{height:"8px",position:"relative",margin:"0px 16px 0px 16px",width:"100%"},Hue:{radius:"2px"}}},u));return n().createElement("div",{style:h.picker,className:"google-picker "+f},n().createElement("div",{style:h.head},l),n().createElement("div",{style:h.swatch}),n().createElement("div",{style:h.saturation},n().createElement(ur,{hsl:i,hsv:a,pointer:ui,onChange:r})),n().createElement("div",{style:h.body},n().createElement("div",{style:h.controls,className:"flexbox-fix"},n().createElement("div",{style:h.hue},n().createElement(rr,{style:h.Hue,hsl:i,radius:"4px",pointer:fi,onChange:r}))),n().createElement(hi,{rgb:o,hsl:i,hex:s,hsv:a,onChange:r})))};di.propTypes={width:C().oneOfType([C().string,C().number]),styles:C().object,header:C().string},di.defaultProps={width:652,styles:{},header:"Color picker"},Sr(di);var gi=function(r){const{name:n,value:o,defaultColor:i}=r,[a,s]=ot(),[l,c]=(0,t.useState)(!1),[u,p]=(0,t.useState)(o),f=(0,t.useRef)((0,it.debounce)((async e=>{s(e)}),500)).current;(0,t.useEffect)((()=>()=>{f.cancel()}),[f]);const h=(0,qt.ZP)({default:{color:{width:"36px",height:"30px",background:u}}}),d=e=>{p(e?e.hex:e);const t=new CustomEvent("cfvsw:color:change",{bubbles:!0,detail:{e:"color",name:r.name,value:e?e.hex:e}});document.dispatchEvent(t);let o=!1;const i=a,s=n.split(/[\[\]]/);(a[s[0]][s[1]]!==e?e.hex:e)&&(i[s[0]][s[1]]=e?e.hex:e,o=!0),o&&f({type:"CHANGE",data:i})};return(0,e.createElement)(e.Fragment,null,(0,e.createElement)("div",{className:"cfvsw-field-data-content"},(0,e.createElement)("div",{className:"cfvsw-colorpicker-selector justify-end"},(0,e.createElement)("div",{className:"cfvsw-colorpicker-swatch-wrap",onClick:()=>{c((e=>!e))}},(0,e.createElement)("span",{className:"cfvsw-colorpicker-swatch",style:h.color}),(0,e.createElement)("span",{className:"cfvsw-colorpicker-label"},(0,ee.__)("Select Color","variation-swatches-woo")),(0,e.createElement)("input",{type:"hidden",name:n,value:u})),(0,e.createElement)("span",{className:"cfvsw-colorpicker-reset",onClick:()=>{d({hex:i})},title:(0,ee.__)("Reset","cartflows")},(0,e.createElement)("span",{className:"dashicons dashicons-update-alt"}))),(0,e.createElement)("div",{className:"cfvsw-color-picker"},l?(0,e.createElement)("div",{className:"cfvsw-color-picker-popover"},(0,e.createElement)("div",{className:"cfvsw-color-picker-cover",onClick:()=>{c(!1)}}),(0,e.createElement)(ei,{name:n,color:u,onChange:d,disableAlpha:!0})):null)))},mi=function(t){const{title:r,description:n}=t;return(0,e.createElement)(at,{title:r,description:n},(0,e.createElement)("div",{className:"cfvsw-color-field"},(0,e.createElement)(gi,{name:t.name,value:t.value,defaultColor:t.default})))},bi=function(){const[t]=ot();return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vt,{heading:(0,ee.__)("Swatches","variation-swatches-woo")},(0,e.createElement)(wt,{title:(0,ee.__)("Swatch minimum width","variation-swatches-woo"),description:(0,ee.__)("Minimum width of swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default width: 24px","variation-swatches-woo"),name:"cfvsw_global[min_width]",value:t.cfvsw_global.min_width}),(0,e.createElement)(wt,{title:(0,ee.__)("Swatch minimum height","variation-swatches-woo"),description:(0,ee.__)("Minimum height of swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default height: 24px","variation-swatches-woo"),name:"cfvsw_global[min_height]",value:t.cfvsw_global.min_height}),(0,e.createElement)(wt,{title:(0,ee.__)("Swatch border radius","variation-swatches-woo"),description:(0,ee.__)("Add border radius for swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default: 3px","variation-swatches-woo"),name:"cfvsw_global[border_radius]",value:t.cfvsw_global.border_radius}),(0,e.createElement)(wt,{title:(0,ee.__)("Font size","variation-swatches-woo"),description:(0,ee.__)("Set font size for label swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_global[font_size]",value:t.cfvsw_global.font_size}),(0,e.createElement)(mi,{title:(0,ee.__)("Border color","variation-swatches-woo"),description:(0,ee.__)("Choose color for swatch border.","variation-swatches-woo"),name:"cfvsw_style[border_color]",value:t.cfvsw_style.border_color,default:"#333333"}),(0,e.createElement)(jt,{title:(0,ee.__)("Disabled attribute effect","variation-swatches-woo"),description:(0,ee.__)("How to display disabled attributes.","variation-swatches-woo"),name:"cfvsw_global[disable_attr_type]",value:t.cfvsw_global.disable_attr_type,optionsArray:[{id:"blurCross",name:(0,ee.__)("Blur with cross","variation-swatches-woo")},{id:"blur",name:(0,ee.__)("Blur","variation-swatches-woo")},{id:"hide",name:(0,ee.__)("Hide","variation-swatches-woo")}]})),(0,e.createElement)(vt,{heading:(0,ee.__)("Tooltip","variation-swatches-woo")},(0,e.createElement)(mt,{title:(0,ee.__)("Tooltip","variation-swatches-woo"),description:(0,ee.__)("Display label over swatches as tooltip.","variation-swatches-woo"),name:"cfvsw_global[tooltip]",value:t.cfvsw_global.tooltip}),t.cfvsw_global.tooltip&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(mi,{title:(0,ee.__)("Tooltip background color","variation-swatches-woo"),description:(0,ee.__)("Choose color for tooltip background.","variation-swatches-woo"),name:"cfvsw_style[tooltip_background]",value:t.cfvsw_style.tooltip_background,default:"#000000"}),(0,e.createElement)(mi,{title:(0,ee.__)("Tooltip font color","variation-swatches-woo"),description:(0,ee.__)("Choose color for tooltip font.","variation-swatches-woo"),name:"cfvsw_style[tooltip_font_color]",value:t.cfvsw_style.tooltip_font_color,default:"#ffffff"}),(0,e.createElement)(wt,{title:(0,ee.__)("Tooltip font size","variation-swatches-woo"),description:(0,ee.__)("Set tooltip font size.","variation-swatches-woo"),badge:(0,ee.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_style[tooltip_font_size]",value:t.cfvsw_style.tooltip_font_size,min:1}),(0,e.createElement)(mt,{title:(0,ee.__)("Image preview on tooltip","variation-swatches-woo"),description:(0,ee.__)("Image preview will be shown in tooltip if this option is enabled, This setting works only for image type swatches.","variation-swatches-woo"),name:"cfvsw_style[tooltip_image]",value:t.cfvsw_style.tooltip_image}))),(0,e.createElement)(vt,{heading:(0,ee.__)("Label","variation-swatches-woo")},(0,e.createElement)(jt,{title:(0,ee.__)("Label position","variation-swatches-woo"),description:(0,ee.__)("Display options for swatches label.","variation-swatches-woo"),name:"cfvsw_global[html_design]",value:t.cfvsw_global.html_design,optionsArray:[{id:"none",name:(0,ee.__)("None","variation-swatches-woo")},{id:"stacked",name:(0,ee.__)("Stacked","variation-swatches-woo")},{id:"inline",name:(0,ee.__)("Inline","variation-swatches-woo")}]}),(0,e.createElement)(wt,{title:(0,ee.__)("Label font size","variation-swatches-woo"),description:(0,ee.__)("Set font size for swatches label, Keep it 0 or blank to get default value from theme.","variation-swatches-woo"),badge:(0,ee.__)("Default: inherit","variation-swatches-woo"),name:"cfvsw_style[label_font_size]",value:t.cfvsw_style.label_font_size})),(0,e.createElement)(vt,{heading:(0,ee.__)("Widgets","variation-swatches-woo")},(0,e.createElement)(mt,{title:(0,ee.__)("Filters","variation-swatches-woo"),description:(0,ee.__)("Enable swatches for WooCommerce filters.","variation-swatches-woo"),name:"cfvsw_style[filters]",value:t.cfvsw_style.filters})))},vi=function(){const[r]=ot(),[n,o]=(0,t.useState)(r.cfvsw_shop.override_global);return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vt,{heading:(0,ee.__)("General","variation-swatches-woo")},(0,e.createElement)(jt,{title:(0,ee.__)("Swatch alignment","variation-swatches-woo"),description:(0,ee.__)("Swatch alignment on shop page. Keep your swatches left center or right aligned.","variation-swatches-woo"),name:"cfvsw_shop[alignment]",value:r.cfvsw_shop.alignment,optionsArray:[{id:"left",name:(0,ee.__)("Left","variation-swatches-woo")},{id:"center",name:(0,ee.__)("Center","variation-swatches-woo")},{id:"right",name:(0,ee.__)("Right","variation-swatches-woo")}]}),(0,e.createElement)(jt,{title:(0,ee.__)("Swatch position","variation-swatches-woo"),description:(0,ee.__)("Select position where to display swatches on shop page.","variation-swatches-woo"),name:"cfvsw_shop[position]",value:r.cfvsw_shop.position,optionsArray:[{id:"before_title",name:(0,ee.__)("Before Title","variation-swatches-woo")},{id:"after_title",name:(0,ee.__)("After Title","variation-swatches-woo")},{id:"before_price",name:(0,ee.__)("Before Price","variation-swatches-woo")},{id:"after_price",name:(0,ee.__)("After Price","variation-swatches-woo")}]}),(0,e.createElement)(mt,{title:(0,ee.__)("Show swatches label","variation-swatches-woo"),description:(0,ee.__)("Display swatch label on shop page.","variation-swatches-woo"),name:"cfvsw_shop[label]",value:r.cfvsw_shop.label}),(0,e.createElement)(wt,{title:(0,ee.__)("Attributes Limit","variation-swatches-woo"),description:(0,ee.__)("Number of attributes to display on shop page. Keep it 0 or blank to load all attributes.","variation-swatches-woo"),name:"cfvsw_shop[limit]",value:r.cfvsw_shop.limit})),(0,e.createElement)(vt,{heading:(0,ee.__)("More customizations","variation-swatches-woo")},(0,e.createElement)(mt,{title:(0,ee.__)("Override global settings","variation-swatches-woo"),description:(0,ee.__)("Override global settings for shop page. Below settings are applicable only on shop page.","variation-swatches-woo"),name:"cfvsw_shop[override_global]",value:r.cfvsw_shop.override_global,manageState:o}),n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(wt,{title:(0,ee.__)("Swatch minimum width","variation-swatches-woo"),description:(0,ee.__)("Minimum width of swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default width: 24px","variation-swatches-woo"),name:"cfvsw_shop[min_width]",value:r.cfvsw_shop.min_width}),(0,e.createElement)(wt,{title:(0,ee.__)("Swatch minimum height","variation-swatches-woo"),description:(0,ee.__)("Minimum height of swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default height: 24px","variation-swatches-woo"),name:"cfvsw_shop[min_height]",value:r.cfvsw_shop.min_height}),(0,e.createElement)(wt,{title:(0,ee.__)("Swatch border radius","variation-swatches-woo"),description:(0,ee.__)("Add border radius for swatches.","variation-swatches-woo"),badge:(0,ee.__)("Default: 24px","variation-swatches-woo"),name:"cfvsw_shop[border_radius]",value:r.cfvsw_shop.border_radius}),(0,e.createElement)(wt,{title:(0,ee.__)("Font size","variation-swatches-woo"),description:(0,ee.__)("Set font size for label swatches","variation-swatches-woo"),badge:(0,ee.__)("Default: 12px","variation-swatches-woo"),name:"cfvsw_shop[font_size]",value:r.cfvsw_shop.font_size}),(0,e.createElement)(jt,{title:(0,ee.__)("Disabled attribute effect","variation-swatches-woo"),description:(0,ee.__)("How to display disabled attributes.","variation-swatches-woo"),name:"cfvsw_shop[disable_attr_type]",value:r.cfvsw_shop.disable_attr_type,optionsArray:[{id:"blurCross",name:(0,ee.__)("Blur with cross","variation-swatches-woo")},{id:"blur",name:(0,ee.__)("Blur","variation-swatches-woo")},{id:"hide",name:(0,ee.__)("Hide","variation-swatches-woo")}]}))))},yi=r(653),wi=function(t){const{children:r,content:n}=t;return(0,e.createElement)(at,{content:n},r)},xi=function(){return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vt,{heading:(0,ee.__)("How to create attributes variations","variation-swatches-woo")},(0,e.createElement)(wi,{content:!0},(0,e.createElement)("ul",{className:"list-disc ml-4"},(0,e.createElement)("li",null,(0,ee.__)("To create attributes click on Products > ","variation-swatches-woo"),(0,e.createElement)("b",null,(0,e.createElement)("a",{className:"text-wpcolor",href:"edit.php?post_type=product&page=product_attributes",target:"__blank"},(0,ee.__)("Attributes","variation-swatches-woo")))),(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: bold tag start, %2$s: bold tag end.
|
2 |
+
(0,ee.__)("Enter name, select type, shape and size of attribute and click on %1$sAdd attribute%2$s button.","variation-swatches-woo"),"<b>","</b>"))),(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: bold tag start, %2$s: bold tag end.
|
3 |
+
(0,ee.__)("To Edit an existing attribute locate attribute in attributes table click on edit link below the name of attribute select desired parameter and click on %1$sUpdate%2$s button.","variation-swatches-woo"),"<b>","</b>")))))),(0,e.createElement)(vt,{heading:(0,ee.__)("How to configure terms of an attribute","variation-swatches-woo")},(0,e.createElement)(wi,{content:!0},(0,e.createElement)("ul",{className:"list-disc ml-4"},(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: bold tag start, %2$s: bold tag end.
|
4 |
+
(0,ee.__)("Once attribute is created, add terms to attribute. To do so click on the link %1$sConfigure terms%2$s in attributes table ","variation-swatches-woo"),"<b>","</b>"))),(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: bold tag start, %2$s: bold tag end.
|
5 |
+
(0,ee.__)("Adding new term is similar to adding an attribute, On the basis attribute type field will appear to either select a image or to choose color for the term. Choose appropriate option and click on %1$sAdd new {attribute-name}%2$s button ","variation-swatches-woo"),"<b>","</b>")))))),(0,e.createElement)(vt,{heading:(0,ee.__)("How to create variations from attributes","variation-swatches-woo")},(0,e.createElement)(wi,{content:!0},(0,e.createElement)("ul",{className:"list-disc ml-4"},(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: anchor tag start, %2$s: anchor tag end.
|
6 |
+
(0,ee.__)("Refer this %1$sWooCommerce documentation%2$s on how to create Variable product","variation-swatches-woo"),'<b><a class="text-wpcolor" href="https://woocommerce.com/document/variable-product/" target="_blank">',"</a></b>")))))),(0,e.createElement)(vt,{heading:(0,ee.__)("How to apply different swatch settings on shop page","variation-swatches-woo")},(0,e.createElement)(wi,{content:!0},(0,e.createElement)("ul",{className:"list-disc ml-4"},(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: anchor tag start, %2$s: anchor tag end.
|
7 |
+
(0,ee.__)("To apply different swatch settings click on %1$sShop Page Styling%2$s menu","variation-swatches-woo"),"<b><a class='text-wpcolor' href='?page=cfvsw_settings&path=settings&tab=shop' target='_blank'>","</a></b>"))),(0,e.createElement)("li",null,(0,yi.ZP)((0,ee.sprintf)(// translators: %1$s: anchor tag start, %2$s: anchor tag end.
|
8 |
+
(0,ee.__)("Under the %1$sMore Customizations%2$s tab enable %1$sOverride global settings%2$s option","variation-swatches-woo"),"<b>","</b>"))),(0,e.createElement)("li",null,(0,ee.__)("Select the appropriate value to get desired swatch style on shop page","variation-swatches-woo"))))))};function _i(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return t.filter(Boolean).join(" ")}var Ei=function(t){const{navigation:r,tab:n,navigate:o}=t;return(0,e.createElement)("main",{className:"max-w-[77rem] mr-[20px] mt-[2.5rem] bg-white shadow 2xl:mx-auto rounded-[0.2rem]"},(0,e.createElement)("div",{className:"lg:grid lg:grid-cols-12 lg:gap-x-8"},(0,e.createElement)("aside",{className:"py-6 px-2 ml-8 sm:px-6 lg:py-6 lg:px-0 lg:col-span-3 border-r"},(0,e.createElement)("nav",{className:"space-y-1"},r.map((t=>(0,e.createElement)("a",{key:t.name,className:_i(n===t.slug?"bg-gray-50 text-wpcolor fill-wpcolor":" text-cfvswheadingcolor fill-gray-900 hover:text-gray-900 hover:bg-gray-50","group cursor-pointer rounded-[0.2rem] p-3 flex items-center text-sm font-medium"),onClick:()=>{o(t.slug)}},(0,e.createElement)("span",{className:"pr-2"},Ge[t.slug]),(0,e.createElement)("span",{className:"truncate"},t.name)))))),(0,e.createElement)("div",{className:"mb-0 sm:px-6 lg:px-0 lg:col-span-9"},"general"===n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bt,null)),"global"===n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(bi,null)),"shop"===n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(vi,null)),"how"===n&&(0,e.createElement)(e.Fragment,null,(0,e.createElement)(xi,null)))))},Si=()=>{const t="1"===new URLSearchParams(H()?.search).get("cfvsw-activation-redirect")?1:0;return(0,e.createElement)("main",{className:"py-[2.43rem]"},(0,e.createElement)("div",{className:"max-w-3xl mx-auto px-6 lg:max-w-7xl"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 items-start lg:grid-cols-3 lg:gap-[2.6rem]"},(0,e.createElement)("div",{className:"grid grid-cols-1 gap-4 lg:col-span-2 h-full"},(0,e.createElement)("section",{"aria-labelledby":"section-1-title h-full"},(0,e.createElement)("div",{className:"rounded-[0.2rem] bg-white overflow-hidden shadow flex justify-center flex-col h-full"},(0,e.createElement)("div",{className:"p-12 pt-[2.2rem]"},(0,e.createElement)("h2",{className:"text-[1.6rem] leading-[2.4rem] pb-3 font-medium text-left"},(0,ee.__)("Welcome to Variation Swatches!","variation-swatches-woo")),(0,e.createElement)("p",{className:"pb-7"},(0,ee.__)("Provides super easy shopping experience by displaying beautiful variation swatches on WooCommerce shop and product page.","variation-swatches-woo")),(0,e.createElement)("div",{className:"mr-[80px] w-full relative pb-[56.25%]"},(0,e.createElement)("iframe",{className:"absolute w-full h-full",src:`https://www.youtube.com/embed/mjXCkw7rt2Y?showinfo=0&autoplay=${t}&mute=${t}`,allow:"autoplay",title:"YouTube video player",frameBorder:"0",allowFullScreen:!0})))))),(0,e.createElement)("div",{className:"flex h-full flex-col justify-between space-y-5"},(0,e.createElement)("section",{"aria-labelledby":"section-2-title"},(0,e.createElement)("div",{className:"rounded-[0.2rem] bg-white overflow-hidden shadow"},(0,e.createElement)("div",{className:"p-7"},(0,e.createElement)("h3",{className:"text-xl leading-[2.47rem] font-medium pb-2"},(0,ee.__)("Knowledge Base","variation-swatches-woo")),(0,e.createElement)("p",{className:"text-sm pb-2 pr-2"},(0,ee.__)("Learn everything you need to know about the Variation Swatches plugin with our comprehensive documentation.","variation-swatches-woo")),(0,e.createElement)("a",{className:"text-base text-wpcolor hover:text-wphovercolor underline",href:"https://cartflows.com/docs/variation-swatches-for-woocommerce-plugin/",target:"_blank",rel:"noreferrer"},(0,ee.__)("Browse Now →","variation-swatches-woo"))))),(0,e.createElement)("section",{"aria-labelledby":"section-2-title"},(0,e.createElement)("div",{className:"rounded-[0.2rem] bg-white overflow-hidden shadow"},(0,e.createElement)("div",{className:"p-7"},(0,e.createElement)("h3",{className:"text-xl leading-[2.47rem] font-medium pb-2"},(0,ee.__)("Get 5-star Support","variation-swatches-woo")),(0,e.createElement)("p",{className:"text-sm pb-2 pr-2"},(0,ee.__)("Need some help? Our awesome support team is here to help you with any question you have.","variation-swatches-woo")),(0,e.createElement)("a",{className:"text-base text-wpcolor hover:text-wphovercolor underline",href:"https://cartflows.com/support/open-a-ticket/",target:"_blank",rel:"noreferrer"},(0,ee.__)("Get Support →","variation-swatches-woo"))))),(0,e.createElement)("section",{"aria-labelledby":"section-2-title"},(0,e.createElement)("div",{className:"rounded-[0.2rem] bg-white overflow-hidden shadow"},(0,e.createElement)("div",{className:"p-7"},(0,e.createElement)("h3",{className:"text-xl leading-[2.47rem] font-medium pb-2"},(0,ee.__)("Join the Community","variation-swatches-woo")),(0,e.createElement)("p",{className:"text-sm pb-2 pr-2"},(0,ee.__)("Got a question about the plugin, want to share your awesome project or just say hi? Join our wonderful community!","variation-swatches-woo")),(0,e.createElement)("a",{className:"text-base text-wpcolor hover:text-wphovercolor underline",href:"https://www.facebook.com/groups/cartflows/",target:"_blank",rel:"noreferrer"},(0,ee.__)("Join Now →","variation-swatches-woo")))))))))},Ci=window.wp.apiFetch,ki=r.n(Ci);i().render((0,e.createElement)(I,null,(0,e.createElement)((r=>{let{reducer:n,initialState:o,children:i}=r;return(0,e.createElement)(nt.Provider,{value:(0,t.useReducer)(n,o)},i)}),{initialState:J,reducer:(e,t)=>"CHANGE"===t.type?{...t.data}:e},(0,e.createElement)((function(){const[r]=ot(),[n,o]=(0,t.useState)(""),i=new URLSearchParams(H().search),a=i.get("page")?i.get("page"):"cfvsw_settings",s=i.get("path")?i.get("path"):"",l=["shop","global","how"].includes(i.get("tab"))?i.get("tab"):n||"general",[c,u]=(0,t.useState)(cfvsw_settings.cfvsw_global.enable_swatches_shop),[p,f]=(0,t.useState)(!1),[h,d]=(0,t.useState)(r.cfvsw_global.enable_swatches||r.cfvsw_global.enable_swatches_shop),[g,m]=(0,t.useState)(!1),b=(0,t.useRef)(!1);(0,t.useEffect)((()=>{if(!b.current)return void(b.current=!0);d(r.cfvsw_global.enable_swatches||r.cfvsw_global.enable_swatches_shop),u(r.cfvsw_global.enable_swatches_shop);const e=new window.FormData;e.append("action","cfvsw_update_settings"),e.append("security",cfvsw_settings.update_nonce),e.append("cfvsw_global",JSON.stringify(r.cfvsw_global)),e.append("cfvsw_shop",JSON.stringify(r.cfvsw_shop)),e.append("cfvsw_style",JSON.stringify(r.cfvsw_style)),f(!0),ki()({url:cfvsw_settings.ajax_url,method:"POST",body:e}).then((()=>{f(!1),m(!0),setTimeout((()=>{m(!1)}),2e3)}))}),[r]);const v=U(D),y=[{name:(0,ee.__)("General Settings","variation-swatches-woo"),slug:"general"}];return h&&y.push({name:(0,ee.__)("Global Styling","variation-swatches-woo"),slug:"global"}),c&&y.push({name:(0,ee.__)("Shop Page Styling","variation-swatches-woo"),slug:"shop"}),y.push({name:(0,ee.__)("How To","variation-swatches-woo"),slug:"how"}),(0,e.createElement)("form",{className:"cfvswSettings",id:"cfvswSettings",method:"post"},(0,e.createElement)(Ve,{processing:p,activePage:a,activePath:s}),(0,e.createElement)(Ue,{status:g,setStatus:m}),"settings"===s?(0,e.createElement)(Ei,{navigation:y,tab:l,navigate:function(e){o(e),v.push("admin.php?page=cfvsw_settings&path=settings&tab="+e)}}):(0,e.createElement)(Si,null))}),null))),document.getElementById("cfvsw-settings"))}()}();
|
admin/assets/css/product-config.css
ADDED
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.cfvsw-attribute-type-span {
|
2 |
+
display: flex;
|
3 |
+
align-items: center;
|
4 |
+
float: right;
|
5 |
+
justify-content: space-between;
|
6 |
+
position: absolute;
|
7 |
+
right: 30px;
|
8 |
+
}
|
9 |
+
li.cfvsw_tab_options.cfvsw_tab_tab a::before {
|
10 |
+
content: "\f524" !important;
|
11 |
+
}
|
12 |
+
.wc-metaboxes-wrapper div.cfvsw-attribute-wrapper > h3 {
|
13 |
+
cursor: pointer;
|
14 |
+
}
|
15 |
+
.wc-metaboxes-wrapper div.cfvsw-attribute-wrapper.open > h3 {
|
16 |
+
border-bottom: 1px solid #eee;
|
17 |
+
}
|
18 |
+
.wc-metaboxes-wrapper .wc-metabox.cfvsw-attribute-wrapper:last-of-type {
|
19 |
+
border-bottom: 1px solid #c3c4c7;
|
20 |
+
}
|
21 |
+
.cfvsw-attribute-type-span label {
|
22 |
+
margin-right: 10px;
|
23 |
+
}
|
24 |
+
|
25 |
+
.cfvsw-attribute-type-span .select2-container {
|
26 |
+
min-width: 120px;
|
27 |
+
}
|
28 |
+
.cfvsw-attribute-itemes {
|
29 |
+
padding: 30px;
|
30 |
+
}
|
31 |
+
|
32 |
+
.cfvsw-attribute-item-container {
|
33 |
+
display: none;
|
34 |
+
}
|
35 |
+
.cfvsw-attribute-item-container > div {
|
36 |
+
display: flex;
|
37 |
+
padding: 8px 28px;
|
38 |
+
}
|
39 |
+
.cfvsw-attribute-item-container .cfvsw-attribute-label {
|
40 |
+
width: 40%;
|
41 |
+
}
|
42 |
+
.cfvsw-attribute-label > label {
|
43 |
+
font-weight: 600;
|
44 |
+
line-height: 2.3rem;
|
45 |
+
}
|
46 |
+
|
47 |
+
.cfvsw-attribute-item-container .cfvsw-attribute-field {
|
48 |
+
width: 60%;
|
49 |
+
}
|
50 |
+
.cfvsw-attribute-field.field-image {
|
51 |
+
display: flex;
|
52 |
+
align-items: center;
|
53 |
+
grid-gap: 10px;
|
54 |
+
}
|
55 |
+
.cfvsw-attribute-field.field-image .button-wrapper {
|
56 |
+
display: flex;
|
57 |
+
grid-gap: 10px;
|
58 |
+
}
|
59 |
+
.cfvsw-attribute-field .cfvsw-image-preview {
|
60 |
+
width: 60px;
|
61 |
+
max-height: 80px;
|
62 |
+
object-fit: contain;
|
63 |
+
}
|
64 |
+
.cfvsw-save-reset-swatches.hidden-buttons {
|
65 |
+
display: none;
|
66 |
+
}
|
67 |
+
.cfvsw-save-reset-swatches {
|
68 |
+
padding: 9px 12px;
|
69 |
+
display: flex;
|
70 |
+
grid-gap: 12px;
|
71 |
+
}
|
72 |
+
#cfvsw_remove_image_attr_item {
|
73 |
+
display: none;
|
74 |
+
}
|
75 |
+
|
76 |
+
#cfvsw_swatches_settings .wc-metabox > .cfvsw-attribute-heading > .handlediv.close::before {
|
77 |
+
content: "\f140" !important;
|
78 |
+
}
|
79 |
+
#cfvsw_swatches_settings .wc-metabox > .cfvsw-attribute-heading > .handlediv.open::before {
|
80 |
+
content: "\f142" !important;
|
81 |
+
}
|
82 |
+
#cfvsw_swatches_settings div.cfvsw-swatches-settings-notice {
|
83 |
+
display: none;
|
84 |
+
margin: 10px !important;
|
85 |
+
}
|
86 |
+
|
87 |
+
#cfvsw_swatches_settings div.cfvsw-swatches-settings-notice.no-product {
|
88 |
+
display: block;
|
89 |
+
border: 1px solid #c3c4c7;
|
90 |
+
border-left-width: 4px;
|
91 |
+
border-left-color: #ef5252;
|
92 |
+
padding-left: 12px;
|
93 |
+
}
|
94 |
+
.cfvsw-swatches-no-visible-attr {
|
95 |
+
border: 1px solid #c3c4c7;
|
96 |
+
border-left-width: 4px;
|
97 |
+
border-left-color: #ef5252;
|
98 |
+
margin: 10px;
|
99 |
+
padding: 10px;
|
100 |
+
padding-left: 12px;
|
101 |
+
}
|
admin/assets/img/wc-placeholder.png
ADDED
Binary file
|
admin/assets/js/product-config.js
ADDED
@@ -0,0 +1,285 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
( function ( $ ) {
|
2 |
+
const SWATCHES_PRODUCT = {
|
3 |
+
init() {
|
4 |
+
SWATCHES_PRODUCT.Events();
|
5 |
+
$( '.cfvsw-attribute-item-color' ).wpColorPicker();
|
6 |
+
},
|
7 |
+
ajx: ( data ) => {
|
8 |
+
const ajaxObj = {
|
9 |
+
method: 'POST',
|
10 |
+
url: cfvsw_swatches_product.ajax_url,
|
11 |
+
data,
|
12 |
+
dataType: 'json',
|
13 |
+
processData: false,
|
14 |
+
contentType: false,
|
15 |
+
};
|
16 |
+
return jQuery.ajax( ajaxObj );
|
17 |
+
},
|
18 |
+
addSectionLoader: ( section = null ) => {
|
19 |
+
if ( section ) {
|
20 |
+
section.block( {
|
21 |
+
message: null,
|
22 |
+
overlayCSS: {
|
23 |
+
background: '#dddddd',
|
24 |
+
opacity: 0.5,
|
25 |
+
},
|
26 |
+
} );
|
27 |
+
}
|
28 |
+
},
|
29 |
+
openCloseArrow: ( thisHandle ) => {
|
30 |
+
const getClosestContainer = thisHandle.closest( '.postbox' );
|
31 |
+
thisHandle.removeClass( 'open close' );
|
32 |
+
if ( getClosestContainer.hasClass( 'open' ) ) {
|
33 |
+
thisHandle.addClass( 'open' );
|
34 |
+
} else {
|
35 |
+
thisHandle.addClass( 'close' );
|
36 |
+
}
|
37 |
+
},
|
38 |
+
changeSelect() {
|
39 |
+
const currenctSelect = $( this );
|
40 |
+
const getContainer = currenctSelect.closest(
|
41 |
+
'.cfvsw-attribute-wrapper'
|
42 |
+
);
|
43 |
+
const value = currenctSelect.val();
|
44 |
+
getContainer.find( '.cfvsw-attribute-item-container' ).hide();
|
45 |
+
if ( 'color' === value || 'image' === value || 'label' === value ) {
|
46 |
+
getContainer.find( `[data-container="${ value }"]` ).show();
|
47 |
+
}
|
48 |
+
|
49 |
+
const getNameAttr = currenctSelect.attr( 'data-name' );
|
50 |
+
const getHiddenInput = getContainer.find(
|
51 |
+
`input[name="${ getNameAttr }"]`
|
52 |
+
);
|
53 |
+
getHiddenInput.val( value );
|
54 |
+
},
|
55 |
+
saveSwatches() {
|
56 |
+
const button = $( this );
|
57 |
+
const container = button.closest( '.cfvsw-swatches-settings' );
|
58 |
+
const action = container.find( 'input[name="swatches_action"]' );
|
59 |
+
if ( action.length && action.length > 0 ) {
|
60 |
+
const actionValue = action.val();
|
61 |
+
if ( ! actionValue || '' === actionValue ) {
|
62 |
+
return;
|
63 |
+
}
|
64 |
+
SWATCHES_PRODUCT.addSectionLoader( container );
|
65 |
+
const getSection = button
|
66 |
+
.closest( '.cfvsw-swatches-settings' )
|
67 |
+
.find( '.cfvsw-swatches-input-section' );
|
68 |
+
const getSectionHtml = getSection.clone();
|
69 |
+
const form = $( '<form></form>' );
|
70 |
+
form.hide();
|
71 |
+
form.append( getSectionHtml );
|
72 |
+
$( 'body' ).append( form );
|
73 |
+
setTimeout( () => {
|
74 |
+
const formData = new FormData( form[ 0 ] );
|
75 |
+
formData.append( 'action', actionValue );
|
76 |
+
form.remove();
|
77 |
+
const putContent = SWATCHES_PRODUCT.ajx( formData );
|
78 |
+
putContent.success( function ( response ) {
|
79 |
+
container.unblock();
|
80 |
+
if ( response.data.message ) {
|
81 |
+
SWATCHES_PRODUCT.setSuccessMessage(
|
82 |
+
response.data.message
|
83 |
+
);
|
84 |
+
}
|
85 |
+
} );
|
86 |
+
}, 100 );
|
87 |
+
}
|
88 |
+
},
|
89 |
+
update_swatches_reset_data: ( toDo = 'update' ) => {
|
90 |
+
// Collect data.
|
91 |
+
const getWrapper = $( '.cfvsw-swatches-settings' );
|
92 |
+
if (
|
93 |
+
! getWrapper ||
|
94 |
+
! getWrapper.length ||
|
95 |
+
! getWrapper.length > 0
|
96 |
+
) {
|
97 |
+
return;
|
98 |
+
}
|
99 |
+
const getInputContainer = getWrapper.find(
|
100 |
+
'.cfvsw-swatches-input-section'
|
101 |
+
);
|
102 |
+
const putTemplate = getInputContainer.find(
|
103 |
+
'.cfvsw-swatches-taxonomy-section'
|
104 |
+
);
|
105 |
+
const getButtonContainer = getWrapper.find(
|
106 |
+
'.cfvsw-save-reset-swatches'
|
107 |
+
);
|
108 |
+
|
109 |
+
const getProductId = getInputContainer
|
110 |
+
.children( 'input[name="product_id"]' )
|
111 |
+
.val();
|
112 |
+
const security = getInputContainer
|
113 |
+
.children( 'input[name="security"]' )
|
114 |
+
.val();
|
115 |
+
if (
|
116 |
+
getProductId &&
|
117 |
+
'' !== getProductId &&
|
118 |
+
security &&
|
119 |
+
'' !== security &&
|
120 |
+
putTemplate.length > 0
|
121 |
+
) {
|
122 |
+
const formData = new FormData();
|
123 |
+
formData.append( 'security', security );
|
124 |
+
formData.append( 'product_id', getProductId );
|
125 |
+
if ( 'reset' === toDo ) {
|
126 |
+
formData.append(
|
127 |
+
'action',
|
128 |
+
'cfvsw_reset_product_swatches_data'
|
129 |
+
);
|
130 |
+
} else {
|
131 |
+
formData.append(
|
132 |
+
'action',
|
133 |
+
'cfvsw_update_product_swatches_data'
|
134 |
+
);
|
135 |
+
}
|
136 |
+
SWATCHES_PRODUCT.addSectionLoader( getWrapper );
|
137 |
+
const putContent = SWATCHES_PRODUCT.ajx( formData );
|
138 |
+
putContent.success( function ( response ) {
|
139 |
+
getWrapper.unblock();
|
140 |
+
if (
|
141 |
+
response.success &&
|
142 |
+
response.data &&
|
143 |
+
response.data.template &&
|
144 |
+
'' !== response.data.template
|
145 |
+
) {
|
146 |
+
putTemplate.html( response.data.template );
|
147 |
+
SWATCHES_PRODUCT.setSuccessMessage(
|
148 |
+
response.data.message
|
149 |
+
);
|
150 |
+
$( '.wc-enhanced-select' ).select2( {
|
151 |
+
minimumResultsForSearch: Infinity,
|
152 |
+
} );
|
153 |
+
$( '.cfvsw-attribute-item-color' ).wpColorPicker();
|
154 |
+
if ( getButtonContainer.hasClass( 'hidden-buttons' ) ) {
|
155 |
+
getButtonContainer.removeClass( 'hidden-buttons' );
|
156 |
+
}
|
157 |
+
}
|
158 |
+
// When no attribute available.
|
159 |
+
if ( '' === response.data.template ) {
|
160 |
+
putTemplate.html(
|
161 |
+
`<p class="cfvsw-swatches-no-visible-attr">${ response.data.message }</p>`
|
162 |
+
);
|
163 |
+
getButtonContainer.addClass( 'hidden-buttons' );
|
164 |
+
}
|
165 |
+
} );
|
166 |
+
}
|
167 |
+
},
|
168 |
+
setSuccessMessage: ( message ) => {
|
169 |
+
const warpper = $( '.cfvsw-swatches-settings-notice' );
|
170 |
+
warpper.addClass( 'notice notice-success' );
|
171 |
+
warpper.children( 'p' ).html( message );
|
172 |
+
warpper.show();
|
173 |
+
setTimeout( () => {
|
174 |
+
warpper.slideUp();
|
175 |
+
}, 2000 );
|
176 |
+
},
|
177 |
+
removeSwatchesImage() {
|
178 |
+
const removeBtn = $( this );
|
179 |
+
const getContainer = removeBtn.closest( '.field-image' );
|
180 |
+
const previewImage = getContainer.find( '.cfvsw-image-preview' );
|
181 |
+
getContainer
|
182 |
+
.find( '.cfvsw-image-preview' )
|
183 |
+
.attr( 'src', previewImage.attr( 'data-placeholder-image' ) );
|
184 |
+
getContainer.find( '.cfvsw-save-image' ).val( '' );
|
185 |
+
removeBtn.hide();
|
186 |
+
},
|
187 |
+
Events() {
|
188 |
+
$( document ).on(
|
189 |
+
'change',
|
190 |
+
'.cfvsw-attribute-type-select',
|
191 |
+
SWATCHES_PRODUCT.changeSelect
|
192 |
+
);
|
193 |
+
// Save swatches.
|
194 |
+
$( document ).on(
|
195 |
+
'click',
|
196 |
+
'.cfvsw-save-swatches',
|
197 |
+
SWATCHES_PRODUCT.saveSwatches
|
198 |
+
);
|
199 |
+
// Reset swatches.
|
200 |
+
$( document ).on( 'click', '.cfvsw-reset-swatches', function () {
|
201 |
+
SWATCHES_PRODUCT.update_swatches_reset_data( 'reset' );
|
202 |
+
} );
|
203 |
+
// Update swatches in reload.
|
204 |
+
$( 'body' ).on( 'reload', function () {
|
205 |
+
SWATCHES_PRODUCT.update_swatches_reset_data();
|
206 |
+
} );
|
207 |
+
// Remove image.
|
208 |
+
$( document ).on(
|
209 |
+
'click',
|
210 |
+
'.cfvsw_remove_image_attr_item',
|
211 |
+
SWATCHES_PRODUCT.removeSwatchesImage
|
212 |
+
);
|
213 |
+
$( document ).on(
|
214 |
+
'click',
|
215 |
+
'.cfvsw-swatches-taxonomy-section .handlediv',
|
216 |
+
function () {
|
217 |
+
const thisHandle = $( this );
|
218 |
+
SWATCHES_PRODUCT.openCloseArrow( thisHandle );
|
219 |
+
}
|
220 |
+
);
|
221 |
+
$( document ).on(
|
222 |
+
'click',
|
223 |
+
'.cfvsw-swatches-taxonomy-section .cfvsw-attribute-heading',
|
224 |
+
function () {
|
225 |
+
const thisHandle = $( this );
|
226 |
+
const getTogglebtn = thisHandle.find( '.handlediv' );
|
227 |
+
SWATCHES_PRODUCT.openCloseArrow( getTogglebtn );
|
228 |
+
}
|
229 |
+
);
|
230 |
+
// Image Upload.
|
231 |
+
let fileFrame;
|
232 |
+
let currentButton;
|
233 |
+
$( document ).on(
|
234 |
+
'click',
|
235 |
+
'.cfvsw_upload_image_attr_item',
|
236 |
+
function ( event ) {
|
237 |
+
currentButton = $( this );
|
238 |
+
event.preventDefault();
|
239 |
+
// If the media frame already exists, reopen it.
|
240 |
+
if ( fileFrame ) {
|
241 |
+
// Open frame.
|
242 |
+
fileFrame.open();
|
243 |
+
return;
|
244 |
+
}
|
245 |
+
// Create the media frame.
|
246 |
+
fileFrame = wp.media.frames.fileFrame = wp.media( {
|
247 |
+
title: cfvsw_swatches_product.image_upload_text.title,
|
248 |
+
button: {
|
249 |
+
text:
|
250 |
+
cfvsw_swatches_product.image_upload_text
|
251 |
+
.button_title,
|
252 |
+
},
|
253 |
+
multiple: false, // Set to true to allow multiple files to be selected
|
254 |
+
} );
|
255 |
+
// When an image is selected, run a callback.
|
256 |
+
fileFrame.on( 'select', function () {
|
257 |
+
// We set multiple to false so only get one image from the uploader
|
258 |
+
const attachment = fileFrame
|
259 |
+
.state()
|
260 |
+
.get( 'selection' )
|
261 |
+
.first()
|
262 |
+
.toJSON();
|
263 |
+
const attachmentUrl = attachment.url;
|
264 |
+
const getContainer = currentButton.closest(
|
265 |
+
'.field-image'
|
266 |
+
);
|
267 |
+
getContainer
|
268 |
+
.find( '.cfvsw-image-preview' )
|
269 |
+
.attr( 'src', attachmentUrl );
|
270 |
+
|
271 |
+
getContainer
|
272 |
+
.find( '.cfvsw-save-image' )
|
273 |
+
.val( attachment.id );
|
274 |
+
getContainer
|
275 |
+
.find( '.cfvsw_remove_image_attr_item' )
|
276 |
+
.show();
|
277 |
+
} );
|
278 |
+
// Finally, open the modal
|
279 |
+
fileFrame.open();
|
280 |
+
}
|
281 |
+
);
|
282 |
+
},
|
283 |
+
};
|
284 |
+
SWATCHES_PRODUCT.init();
|
285 |
+
} )( jQuery );
|
admin/assets/js/term-meta-type.js
CHANGED
@@ -14,9 +14,10 @@
|
|
14 |
|
15 |
// Create the media frame.
|
16 |
fileFrame = wp.media.frames.fileFrame = wp.media( {
|
17 |
-
title:
|
18 |
button: {
|
19 |
-
text:
|
|
|
20 |
},
|
21 |
multiple: false, // Set to true to allow multiple files to be selected
|
22 |
} );
|
14 |
|
15 |
// Create the media frame.
|
16 |
fileFrame = wp.media.frames.fileFrame = wp.media( {
|
17 |
+
title: cfvsw_swatches_term_meta.image_upload_text.title,
|
18 |
button: {
|
19 |
+
text:
|
20 |
+
cfvsw_swatches_term_meta.image_upload_text.button_title,
|
21 |
},
|
22 |
multiple: false, // Set to true to allow multiple files to be selected
|
23 |
} );
|
admin/attributes-config.php
CHANGED
@@ -79,7 +79,6 @@ class Attributes_Config {
|
|
79 |
]
|
80 |
);
|
81 |
}
|
82 |
-
|
83 |
return $fields;
|
84 |
}
|
85 |
|
@@ -154,7 +153,7 @@ class Attributes_Config {
|
|
154 |
* @since 1.0.0
|
155 |
*/
|
156 |
public function product_attribute_shape() {
|
157 |
-
$id = isset( $_GET['edit'] ) ? absint( $_GET['edit'] ) : 0; //phpcs:ignore
|
158 |
$value = $id ? get_option( "cfvsw_product_attribute_shape-$id" ) : '';
|
159 |
$size = $id ? get_option( "cfvsw_product_attribute_size-$id" ) : '';
|
160 |
$height = $id ? get_option( "cfvsw_product_attribute_height-$id" ) : '';
|
@@ -173,75 +172,75 @@ class Attributes_Config {
|
|
173 |
if ( $id > 0 ) {
|
174 |
?>
|
175 |
<tr class="form-field cfvsw-product-attribute-shape">
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
</td>
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
<?php
|
241 |
} else {
|
242 |
?>
|
243 |
-
<hr/>
|
244 |
-
<h2 class="cfvsw-attribute-section"><?php esc_html_e( 'Variation Swatches', 'variation-swatches-woo' ); ?> -
|
245 |
<div class="form-field cfvsw-product-attribute-shape">
|
246 |
<label for="cfvsw_product_attribute_shape"><?php esc_html_e( 'Shape', 'variation-swatches-woo' ); ?></label>
|
247 |
<select name="cfvsw_product_attribute_shape" id="cfvsw_product_attribute_shape">
|
@@ -260,17 +259,17 @@ class Attributes_Config {
|
|
260 |
</div>
|
261 |
<div class="form-field cfvsw-product-attribute-size">
|
262 |
<label for="cfvsw_product_attribute_size"><?php esc_html_e( 'Size (Optional)', 'variation-swatches-woo' ); ?></label>
|
263 |
-
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_size" id="cfvsw_product_attribute_size" value="<?php echo esc_attr( $size ); ?>"/>
|
264 |
<p class="description cfvsw-size"><?php esc_html_e( 'Control the size of this particular attribute. Default size is 24px', 'variation-swatches-woo' ); ?></p>
|
265 |
</div>
|
266 |
<div class="form-field cfvsw-product-attribute-height">
|
267 |
<label for="cfvsw_product_attribute_height"><?php esc_html_e( 'Height (Optional)', 'variation-swatches-woo' ); ?></label>
|
268 |
-
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_height" id="cfvsw_product_attribute_height" value="<?php echo esc_attr( $height ); ?>"/>
|
269 |
<p class="description cfvsw-height"><?php esc_html_e( 'Control the height of this particular attribute. Default height is 24px', 'variation-swatches-woo' ); ?></p>
|
270 |
</div>
|
271 |
<div class="form-field cfvsw-product-attribute-width">
|
272 |
<label for="cfvsw_product_attribute_width"><?php esc_html_e( 'Width (Optional)', 'variation-swatches-woo' ); ?></label>
|
273 |
-
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_width" id="cfvsw_product_attribute_width" value="<?php echo esc_attr( $width ); ?>"/>
|
274 |
<p class="description cfvsw-width"><?php esc_html_e( 'Control the width of this particular attribute. Default width is 24px', 'variation-swatches-woo' ); ?></p>
|
275 |
</div>
|
276 |
|
79 |
]
|
80 |
);
|
81 |
}
|
|
|
82 |
return $fields;
|
83 |
}
|
84 |
|
153 |
* @since 1.0.0
|
154 |
*/
|
155 |
public function product_attribute_shape() {
|
156 |
+
$id = isset( $_GET['edit'] ) ? absint( $_GET['edit'] ) : 0; //phpcs:ignore WordPress.Security.NonceVerification.Recommended
|
157 |
$value = $id ? get_option( "cfvsw_product_attribute_shape-$id" ) : '';
|
158 |
$size = $id ? get_option( "cfvsw_product_attribute_size-$id" ) : '';
|
159 |
$height = $id ? get_option( "cfvsw_product_attribute_height-$id" ) : '';
|
172 |
if ( $id > 0 ) {
|
173 |
?>
|
174 |
<tr class="form-field cfvsw-product-attribute-shape">
|
175 |
+
<th scope="row" valign="top">
|
176 |
+
<label for="cfvsw_product_attribute_shape"><?php esc_html_e( 'Shape', 'variation-swatches-woo' ); ?></label>
|
177 |
+
</th>
|
178 |
+
<td>
|
179 |
+
<select name="cfvsw_product_attribute_shape" id="cfvsw_product_attribute_shape">
|
180 |
+
<?php
|
181 |
+
foreach ( $shape_options as $key => $label ) {
|
182 |
+
$selected = ( $key === $value ) ? 'selected="selected"' : '';
|
183 |
+
echo '<option ' . esc_attr( $selected ) . ' value=' . esc_attr( $key ) . '>' . esc_html( $label ) . '</option>';
|
184 |
+
}
|
185 |
+
?>
|
186 |
+
</select>
|
187 |
+
<p class="description default"><?php esc_html_e( 'Default setting is applied from settings page.', 'variation-swatches-woo' ); ?></p>
|
188 |
+
<p class="description square"><?php esc_html_e( 'Swatch will appear as Square.', 'variation-swatches-woo' ); ?></p>
|
189 |
+
<p class="description rounded"><?php esc_html_e( 'Swatch will appear as Square with slight curvature at border of 3px.', 'variation-swatches-woo' ); ?></p>
|
190 |
+
<p class="description circle"><?php esc_html_e( 'Swatch will appear as Circle', 'variation-swatches-woo' ); ?></p>
|
191 |
+
<p class="description custom"><?php esc_html_e( 'Create custom Swatch shape by choosing different height and width', 'variation-swatches-woo' ); ?></p>
|
192 |
</td>
|
193 |
+
</tr>
|
194 |
+
<tr class="form-field cfvsw-product-attribute-size">
|
195 |
+
<th scope="row" valign="top">
|
196 |
+
<label for="cfvsw_product_attribute_size"><?php esc_html_e( 'Size (Optional)', 'variation-swatches-woo' ); ?></label>
|
197 |
+
</th>
|
198 |
+
<td>
|
199 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_size" id="cfvsw_product_attribute_size" value="<?php echo esc_attr( $size ); ?>" />
|
200 |
+
<p class="description cfvsw-size"><?php esc_html_e( 'Control the size of this particular attribute. Default size is 24px', 'variation-swatches-woo' ); ?></p>
|
201 |
+
</td>
|
202 |
+
</tr>
|
203 |
+
<tr class="form-field cfvsw-product-attribute-height">
|
204 |
+
<th scope="row" valign="top">
|
205 |
+
<label for="cfvsw_product_attribute_height"><?php esc_html_e( 'Height (Optional)', 'variation-swatches-woo' ); ?></label>
|
206 |
+
</th>
|
207 |
+
<td>
|
208 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_height" id="cfvsw_product_attribute_height" value="<?php echo esc_attr( $height ); ?>" />
|
209 |
+
<p class="description cfvsw-height"><?php esc_html_e( 'Control the height of this particular attribute. Default height is 24px', 'variation-swatches-woo' ); ?></p>
|
210 |
+
</td>
|
211 |
+
</tr>
|
212 |
+
<tr class="form-field cfvsw-product-attribute-width">
|
213 |
+
<th scope="row" valign="top">
|
214 |
+
<label for="cfvsw_product_attribute_width"><?php esc_html_e( 'Width (Optional)', 'variation-swatches-woo' ); ?></label>
|
215 |
+
</th>
|
216 |
+
<td>
|
217 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_width" id="cfvsw_product_attribute_width" value="<?php echo esc_attr( $width ); ?>" />
|
218 |
+
<p class="description cfvsw-width"><?php esc_html_e( 'Control the width of this particular attribute. Default width is 24px', 'variation-swatches-woo' ); ?></p>
|
219 |
+
</td>
|
220 |
+
</tr>
|
221 |
+
<tr class="form-field cfvsw-product-attribute-height">
|
222 |
+
<th scope="row" valign="top">
|
223 |
+
<label for="cfvsw_product_attribute_height"><?php esc_html_e( 'Height (Optional)', 'variation-swatches-woo' ); ?></label>
|
224 |
+
</th>
|
225 |
+
<td>
|
226 |
+
<input type="number" placeholder=30 min=1 name="cfvsw_product_attribute_height" id="cfvsw_product_attribute_height" value="<?php echo esc_attr( $height ); ?>" />
|
227 |
+
<p class="description cfvsw-height"><?php esc_html_e( 'Control the height of this particular attribute. Default height is 30px', 'variation-swatches-woo' ); ?></p>
|
228 |
+
</td>
|
229 |
+
</tr>
|
230 |
+
<tr class="form-field cfvsw-product-attribute-width">
|
231 |
+
<th scope="row" valign="top">
|
232 |
+
<label for="cfvsw_product_attribute_width"><?php esc_html_e( 'Width (Optional)', 'variation-swatches-woo' ); ?></label>
|
233 |
+
</th>
|
234 |
+
<td>
|
235 |
+
<input type="number" placeholder=30 min=1 name="cfvsw_product_attribute_width" id="cfvsw_product_attribute_width" value="<?php echo esc_attr( $width ); ?>" />
|
236 |
+
<p class="description cfvsw-width"><?php esc_html_e( 'Control the width of this particular attribute. Default width is 30px', 'variation-swatches-woo' ); ?></p>
|
237 |
+
</td>
|
238 |
+
</tr>
|
239 |
<?php
|
240 |
} else {
|
241 |
?>
|
242 |
+
<hr />
|
243 |
+
<h2 class="cfvsw-attribute-section"><?php esc_html_e( 'Variation Swatches', 'variation-swatches-woo' ); ?> - <span><a href="<?php echo esc_url( admin_url( 'admin.php?page=cfvsw_settings&path=settings' ) ); ?>" target="_blank"><?php esc_html_e( 'Settings', 'variation-swatches-woo' ); ?></a></span></h2>
|
244 |
<div class="form-field cfvsw-product-attribute-shape">
|
245 |
<label for="cfvsw_product_attribute_shape"><?php esc_html_e( 'Shape', 'variation-swatches-woo' ); ?></label>
|
246 |
<select name="cfvsw_product_attribute_shape" id="cfvsw_product_attribute_shape">
|
259 |
</div>
|
260 |
<div class="form-field cfvsw-product-attribute-size">
|
261 |
<label for="cfvsw_product_attribute_size"><?php esc_html_e( 'Size (Optional)', 'variation-swatches-woo' ); ?></label>
|
262 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_size" id="cfvsw_product_attribute_size" value="<?php echo esc_attr( $size ); ?>" />
|
263 |
<p class="description cfvsw-size"><?php esc_html_e( 'Control the size of this particular attribute. Default size is 24px', 'variation-swatches-woo' ); ?></p>
|
264 |
</div>
|
265 |
<div class="form-field cfvsw-product-attribute-height">
|
266 |
<label for="cfvsw_product_attribute_height"><?php esc_html_e( 'Height (Optional)', 'variation-swatches-woo' ); ?></label>
|
267 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_height" id="cfvsw_product_attribute_height" value="<?php echo esc_attr( $height ); ?>" />
|
268 |
<p class="description cfvsw-height"><?php esc_html_e( 'Control the height of this particular attribute. Default height is 24px', 'variation-swatches-woo' ); ?></p>
|
269 |
</div>
|
270 |
<div class="form-field cfvsw-product-attribute-width">
|
271 |
<label for="cfvsw_product_attribute_width"><?php esc_html_e( 'Width (Optional)', 'variation-swatches-woo' ); ?></label>
|
272 |
+
<input type="number" placeholder=24 min=1 name="cfvsw_product_attribute_width" id="cfvsw_product_attribute_width" value="<?php echo esc_attr( $width ); ?>" />
|
273 |
<p class="description cfvsw-width"><?php esc_html_e( 'Control the width of this particular attribute. Default width is 24px', 'variation-swatches-woo' ); ?></p>
|
274 |
</div>
|
275 |
|
admin/product-config.php
ADDED
@@ -0,0 +1,248 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Product Config.
|
4 |
+
*
|
5 |
+
* @package variation-swatches-woo
|
6 |
+
* @since 1.0.2
|
7 |
+
*/
|
8 |
+
|
9 |
+
namespace CFVSW\Admin;
|
10 |
+
|
11 |
+
use CFVSW\Inc\Traits\Get_Instance;
|
12 |
+
use CFVSW\Inc\Helper;
|
13 |
+
use CFVSW\Admin\Templates;
|
14 |
+
|
15 |
+
|
16 |
+
/**
|
17 |
+
* Attribute Config
|
18 |
+
*
|
19 |
+
* @since 1.0.2
|
20 |
+
*/
|
21 |
+
class Product_Config {
|
22 |
+
|
23 |
+
use Get_Instance;
|
24 |
+
|
25 |
+
/**
|
26 |
+
* Helper class object
|
27 |
+
*
|
28 |
+
* @var Helper
|
29 |
+
* @since 1.0.2
|
30 |
+
*/
|
31 |
+
public $helper;
|
32 |
+
|
33 |
+
/**
|
34 |
+
* Helper class object
|
35 |
+
*
|
36 |
+
* @var Templates
|
37 |
+
* @since 1.0.2
|
38 |
+
*/
|
39 |
+
public $templates;
|
40 |
+
|
41 |
+
/**
|
42 |
+
* Constructor
|
43 |
+
*
|
44 |
+
* @since 1.0.2
|
45 |
+
*/
|
46 |
+
public function __construct() {
|
47 |
+
$this->helper = new Helper();
|
48 |
+
$this->templates = new Templates();
|
49 |
+
add_filter( 'woocommerce_product_data_tabs', [ $this, 'swatches_tab' ] );
|
50 |
+
add_filter( 'woocommerce_product_data_panels', [ $this, 'swatches_panel' ] );
|
51 |
+
add_action( 'admin_enqueue_scripts', [ $this, 'product_enqueue_scripts' ] );
|
52 |
+
add_action( 'wp_ajax_cfvsw_save_product_swatches_data', [ $this, 'save_swatches' ] );
|
53 |
+
add_action( 'wp_ajax_cfvsw_update_product_swatches_data', [ $this, 'update_swatches' ] );
|
54 |
+
add_action( 'wp_ajax_cfvsw_reset_product_swatches_data', [ $this, 'reset_swatches' ] );
|
55 |
+
}
|
56 |
+
|
57 |
+
/**
|
58 |
+
* Update attribute swatches postmeta.
|
59 |
+
*
|
60 |
+
* @return void
|
61 |
+
* @since 1.0.2
|
62 |
+
*/
|
63 |
+
public function update_swatches() {
|
64 |
+
check_ajax_referer( 'cfvsw_swatches_save_reset', 'security' );
|
65 |
+
$product_id = ! empty( $_POST['product_id'] ) ? intval( sanitize_text_field( $_POST['product_id'] ) ) : false;
|
66 |
+
if ( ! $product_id ) {
|
67 |
+
wp_send_json_error( [ 'message' => __( 'Invalid product id.', 'variation-swatches-woo' ) ] );
|
68 |
+
}
|
69 |
+
$product_object = wc_get_product( $product_id );
|
70 |
+
if ( ! $product_object->is_type( 'variable' ) ) {
|
71 |
+
wp_send_json_error( [ 'message' => __( 'Product type is not variable.', 'variation-swatches-woo' ) ] );
|
72 |
+
}
|
73 |
+
$this->return_swatches_template( $product_id, $product_object );
|
74 |
+
}
|
75 |
+
|
76 |
+
/**
|
77 |
+
* Reset attribute swatches postmeta.
|
78 |
+
*
|
79 |
+
* @return void
|
80 |
+
* @since 1.0.2
|
81 |
+
*/
|
82 |
+
public function reset_swatches() {
|
83 |
+
check_ajax_referer( 'cfvsw_swatches_save_reset', 'security' );
|
84 |
+
$product_id = ! empty( $_POST['product_id'] ) ? intval( sanitize_text_field( $_POST['product_id'] ) ) : false;
|
85 |
+
if ( ! $product_id ) {
|
86 |
+
wp_send_json_error( [ 'message' => __( 'Invalid product id.', 'variation-swatches-woo' ) ] );
|
87 |
+
}
|
88 |
+
$product_object = wc_get_product( $product_id );
|
89 |
+
if ( ! $product_object->is_type( 'variable' ) ) {
|
90 |
+
wp_send_json_error( [ 'message' => __( 'Product type is not variable.', 'variation-swatches-woo' ) ] );
|
91 |
+
}
|
92 |
+
// Cleanup previous meta.
|
93 |
+
$this->clean_up_previous_swatches_data();
|
94 |
+
$this->return_swatches_template( $product_id, $product_object, true );
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Update and reset ajax response.
|
99 |
+
*
|
100 |
+
* @param integer $product_id Current product id.
|
101 |
+
* @param object $product_object Product object.
|
102 |
+
* @param boolean $need_to_reset Want to reset or not.
|
103 |
+
* @return void
|
104 |
+
* @since 1.0.2
|
105 |
+
*/
|
106 |
+
public function return_swatches_template( $product_id, $product_object, $need_to_reset = false ) {
|
107 |
+
$template = $this->templates->update_reset_swatches_template( $product_id, $product_object, $need_to_reset );
|
108 |
+
$message = $need_to_reset ? __( 'Swatches setting have been reset.', 'variation-swatches-woo' ) : __( 'Settings saved.', 'variation-swatches-woo' );
|
109 |
+
$message = '' === $template ? __( 'No visible attribute found.', 'variation-swatches-woo' ) : $message;
|
110 |
+
$return_data = [
|
111 |
+
'template' => $template,
|
112 |
+
'message' => $message,
|
113 |
+
];
|
114 |
+
wp_send_json_success( $return_data );
|
115 |
+
}
|
116 |
+
|
117 |
+
/**
|
118 |
+
* Save attribute swatches postmeta.
|
119 |
+
*
|
120 |
+
* @return void
|
121 |
+
* @since 1.0.2
|
122 |
+
*/
|
123 |
+
public function save_swatches() {
|
124 |
+
check_ajax_referer( 'cfvsw_swatches_save_reset', 'security' );
|
125 |
+
// Check admin or not here.
|
126 |
+
$product_id = ! empty( $_POST['product_id'] ) ? intval( sanitize_text_field( $_POST['product_id'] ) ) : false;
|
127 |
+
if ( ! $product_id || empty( $_POST['attr'] ) ) {
|
128 |
+
wp_send_json_error( [ 'message' => __( 'Invalid product id.', 'variation-swatches-woo' ) ] );
|
129 |
+
}
|
130 |
+
$check_blank_array = $this->helper->remove_blank_array( $_POST['attr'] );
|
131 |
+
|
132 |
+
if ( empty( $check_blank_array ) ) {
|
133 |
+
wp_send_json_error( [ 'message' => __( 'Settings saved.', 'variation-swatches-woo' ) ] );
|
134 |
+
}
|
135 |
+
$sanitize_array = $this->helper->sanitize_recursively( 'sanitize_text_field', $check_blank_array );
|
136 |
+
// Cleanup previous meta.
|
137 |
+
$this->clean_up_previous_swatches_data();
|
138 |
+
|
139 |
+
foreach ( $sanitize_array as $key => $value ) {
|
140 |
+
update_post_meta( $product_id, $key, $value );
|
141 |
+
}
|
142 |
+
wp_send_json_success(
|
143 |
+
[ 'message' => __( 'Settings saved.', 'variation-swatches-woo' ) ]
|
144 |
+
);
|
145 |
+
}
|
146 |
+
|
147 |
+
/**
|
148 |
+
* Remove previous postmeta data.
|
149 |
+
*
|
150 |
+
* @return void
|
151 |
+
* @since 1.0.2
|
152 |
+
*/
|
153 |
+
public function clean_up_previous_swatches_data() {
|
154 |
+
global $wpdb;
|
155 |
+
$table_name = "{$wpdb->prefix}postmeta";
|
156 |
+
$meta_key = '%' . $wpdb->esc_like( CFVSW_PRODUCT_ATTR ) . '%';
|
157 |
+
$wpdb->query( $wpdb->prepare( "DELETE FROM {$wpdb->prefix}postmeta WHERE meta_key LIKE %s", $meta_key ) );
|
158 |
+
}
|
159 |
+
|
160 |
+
/**
|
161 |
+
* Swatches tab template.
|
162 |
+
*
|
163 |
+
* @param array $tabs Woocommerce panel tab.
|
164 |
+
* @return array
|
165 |
+
* @since 1.0.2
|
166 |
+
*/
|
167 |
+
public function swatches_tab( $tabs ) {
|
168 |
+
$tabs['cfvsw_tab'] = array(
|
169 |
+
'label' => esc_html__( 'Swatches', 'variation-swatches-woo' ),
|
170 |
+
'target' => 'cfvsw_swatches_settings',
|
171 |
+
'class' => [ 'show_if_variable', 'cfvsw_tab' ],
|
172 |
+
'priority' => 61,
|
173 |
+
);
|
174 |
+
|
175 |
+
return $tabs;
|
176 |
+
}
|
177 |
+
|
178 |
+
/**
|
179 |
+
* Swatches settings template.
|
180 |
+
*
|
181 |
+
* @return void
|
182 |
+
* @since 1.0.2
|
183 |
+
*/
|
184 |
+
public function swatches_panel() {
|
185 |
+
global $product_object;
|
186 |
+
$product_id = $product_object->get_id();
|
187 |
+
$this->swatches_settings( $product_id );
|
188 |
+
}
|
189 |
+
|
190 |
+
/**
|
191 |
+
* Swatches settings template part.
|
192 |
+
*
|
193 |
+
* @param integer $product_id Current product id.
|
194 |
+
* @return void
|
195 |
+
* @since 1.0.2
|
196 |
+
*/
|
197 |
+
public function swatches_settings( $product_id ) {
|
198 |
+
$product_id = sanitize_text_field( $product_id );
|
199 |
+
$product_object = wc_get_product( $product_id );
|
200 |
+
if ( ! $product_object->is_type( 'variable' ) ) {
|
201 |
+
?>
|
202 |
+
<div id="cfvsw_swatches_settings" class="panel wc-metaboxes-wrapper hidden">
|
203 |
+
<div class="cfvsw-swatches-settings-notice no-product">
|
204 |
+
<p><?php esc_html_e( 'Please save this product to enable custom settings for Variation Swatches.', 'variation-swatches-woo' ); ?></p>
|
205 |
+
</div>
|
206 |
+
<?php
|
207 |
+
return;
|
208 |
+
}
|
209 |
+
$this->templates->panel_wrapper( $product_object );
|
210 |
+
}
|
211 |
+
|
212 |
+
/**
|
213 |
+
* Enqueue scripts and style files.
|
214 |
+
*
|
215 |
+
* @return void
|
216 |
+
* @since 1.0.2
|
217 |
+
*/
|
218 |
+
public function product_enqueue_scripts() {
|
219 |
+
$screen = get_current_screen();
|
220 |
+
if ( isset( $screen->id ) && 'product' === $screen->id ) {
|
221 |
+
wp_register_script( 'cfvsw-product-config-js', CFVSW_URL . 'admin/assets/js/product-config.js', [ 'jquery', 'wc-enhanced-select' ], CFVSW_VER, true );
|
222 |
+
wp_register_style( 'cfvsw-product', CFVSW_URL . 'admin/assets/css/product-config.css', [], CFVSW_VER, 'all' );
|
223 |
+
wp_enqueue_style( 'wp-color-picker' );
|
224 |
+
wp_enqueue_script( 'wp-color-picker' );
|
225 |
+
wp_enqueue_script( 'cfvsw-product-config-js' );
|
226 |
+
|
227 |
+
wp_localize_script(
|
228 |
+
'cfvsw-product-config-js',
|
229 |
+
'cfvsw_swatches_product',
|
230 |
+
[
|
231 |
+
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
232 |
+
'image_upload_text' => [
|
233 |
+
'title' => __(
|
234 |
+
'Select a image to upload',
|
235 |
+
'variation-swatches-woo'
|
236 |
+
),
|
237 |
+
'button_title' => __(
|
238 |
+
'Use this image',
|
239 |
+
'variation-swatches-woo'
|
240 |
+
),
|
241 |
+
],
|
242 |
+
]
|
243 |
+
);
|
244 |
+
|
245 |
+
wp_enqueue_style( 'cfvsw-product' );
|
246 |
+
}
|
247 |
+
}
|
248 |
+
}
|
admin/templates.php
ADDED
@@ -0,0 +1,365 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
/**
|
3 |
+
* Templates.
|
4 |
+
*
|
5 |
+
* @package variation-swatches-woo
|
6 |
+
* @since 1.0.2
|
7 |
+
*/
|
8 |
+
|
9 |
+
namespace CFVSW\Admin;
|
10 |
+
|
11 |
+
use CFVSW\Inc\Traits\Get_Instance;
|
12 |
+
use CFVSW\Inc\Helper;
|
13 |
+
|
14 |
+
|
15 |
+
/**
|
16 |
+
* Attribute Config
|
17 |
+
*
|
18 |
+
* @since 1.0.2
|
19 |
+
*/
|
20 |
+
class Templates {
|
21 |
+
|
22 |
+
use Get_Instance;
|
23 |
+
|
24 |
+
/**
|
25 |
+
* WooCommerce placeholder image.
|
26 |
+
*
|
27 |
+
* @var null
|
28 |
+
* @since 1.0.2
|
29 |
+
*/
|
30 |
+
private $wc_placeholder_image;
|
31 |
+
|
32 |
+
/**
|
33 |
+
* Product id.
|
34 |
+
*
|
35 |
+
* @var null
|
36 |
+
* @since 1.0.2
|
37 |
+
*/
|
38 |
+
private $product_id;
|
39 |
+
|
40 |
+
/**
|
41 |
+
* Constructor
|
42 |
+
*
|
43 |
+
* @since 1.0.2
|
44 |
+
*/
|
45 |
+
public function __construct() {
|
46 |
+
$this->wc_placeholder_image = CFVSW_URL . '/admin/assets/img/wc-placeholder.png';
|
47 |
+
}
|
48 |
+
|
49 |
+
/**
|
50 |
+
* Helper class object
|
51 |
+
*
|
52 |
+
* @return object Helper object.
|
53 |
+
* @since 1.0.2
|
54 |
+
*/
|
55 |
+
public function helper() {
|
56 |
+
return new Helper();
|
57 |
+
}
|
58 |
+
|
59 |
+
/**
|
60 |
+
* Swatches attribute type.
|
61 |
+
*
|
62 |
+
* @return array
|
63 |
+
* @since 1.0.2
|
64 |
+
*/
|
65 |
+
public function type_of_attributes() {
|
66 |
+
return [
|
67 |
+
'label' => esc_html__( 'Label', 'variation-swatches-woo' ),
|
68 |
+
'color' => esc_html__( 'Color', 'variation-swatches-woo' ),
|
69 |
+
'image' => esc_html__( 'Image', 'variation-swatches-woo' ),
|
70 |
+
];
|
71 |
+
}
|
72 |
+
|
73 |
+
/**
|
74 |
+
* WooCommerce swatches template.
|
75 |
+
*
|
76 |
+
* @param object $object Product object.
|
77 |
+
* @return void
|
78 |
+
* @since 1.0.2
|
79 |
+
*/
|
80 |
+
public function panel_wrapper( $object ) {
|
81 |
+
$this->product_id = $object->get_id();
|
82 |
+
if ( ! $this->product_id ) {
|
83 |
+
return;
|
84 |
+
}
|
85 |
+
?>
|
86 |
+
<div id="cfvsw_swatches_settings" class="cfvsw-swatches-settings panel wc-metaboxes-wrapper hidden">
|
87 |
+
<div class="cfvsw-swatches-settings-notice">
|
88 |
+
<p></p>
|
89 |
+
</div>
|
90 |
+
<?php
|
91 |
+
$attributes = array_filter( $object->get_attributes(), [ $this, 'is_visible' ] );
|
92 |
+
$this->product_attribute_template( $attributes );
|
93 |
+
?>
|
94 |
+
</div>
|
95 |
+
<?php
|
96 |
+
}
|
97 |
+
|
98 |
+
/**
|
99 |
+
* Update or reset swatches.
|
100 |
+
*
|
101 |
+
* @param integer $product_id Current product id.
|
102 |
+
* @param object $object Product object.
|
103 |
+
* @param boolean $reset Reset or not argument.
|
104 |
+
* @return void
|
105 |
+
* @since 1.0.2
|
106 |
+
*/
|
107 |
+
public function update_reset_swatches_template( $product_id, $object, $reset = false ) {
|
108 |
+
$this->product_id = $product_id;
|
109 |
+
if ( ! $this->product_id ) {
|
110 |
+
return;
|
111 |
+
}
|
112 |
+
$attributes = array_filter( $object->get_attributes(), [ $this, 'is_visible' ] );
|
113 |
+
ob_start();
|
114 |
+
$this->taxonomy_section( $attributes, $reset );
|
115 |
+
return ob_get_clean();
|
116 |
+
}
|
117 |
+
|
118 |
+
|
119 |
+
/**
|
120 |
+
* Product attribute template with require hidden inputs.
|
121 |
+
*
|
122 |
+
* @param object $attributes Product attribute.
|
123 |
+
* @return void
|
124 |
+
* @since 1.0.2
|
125 |
+
*/
|
126 |
+
public function product_attribute_template( $attributes ) {
|
127 |
+
$buttons_hidden_class = '';
|
128 |
+
$check_attr_variation = $this->check_attr_variation( $attributes );
|
129 |
+
?>
|
130 |
+
<div class="cfvsw-swatches-input-section">
|
131 |
+
<input type="hidden" name="product_id" value="<?php echo esc_attr( $this->product_id ); ?>" />
|
132 |
+
<input type="hidden" name="swatches_action" value="cfvsw_save_product_swatches_data" />
|
133 |
+
<input type="hidden" name="security" value="<?php echo esc_attr( wp_create_nonce( 'cfvsw_swatches_save_reset' ) ); ?>" />
|
134 |
+
<div class="cfvsw-swatches-taxonomy-section">
|
135 |
+
<?php
|
136 |
+
if ( ! $check_attr_variation ) {
|
137 |
+
?>
|
138 |
+
<p class="cfvsw-swatches-no-visible-attr">
|
139 |
+
<?php
|
140 |
+
esc_html_e( 'No visible attribute found.', 'variation-swatches-woo' );
|
141 |
+
?>
|
142 |
+
</p>
|
143 |
+
<?php
|
144 |
+
$buttons_hidden_class = 'hidden-buttons';
|
145 |
+
} else {
|
146 |
+
$this->taxonomy_section( $attributes );
|
147 |
+
}
|
148 |
+
?>
|
149 |
+
</div>
|
150 |
+
</div>
|
151 |
+
<div class="cfvsw-save-reset-swatches <?php echo esc_attr( $buttons_hidden_class ); ?>">
|
152 |
+
<span class="cfvsw-save-swatches button button-primary"><?php esc_html_e( 'Save', 'variation-swatches-woo' ); ?></span>
|
153 |
+
<span class="cfvsw-reset-swatches button button-primary"><?php esc_html_e( 'Reset', 'variation-swatches-woo' ); ?></span>
|
154 |
+
</div>
|
155 |
+
<?php
|
156 |
+
}
|
157 |
+
|
158 |
+
/**
|
159 |
+
* Check product attribute should not empty and variation product.
|
160 |
+
*
|
161 |
+
* @param object $attributes Attribute object.
|
162 |
+
* @return boolean
|
163 |
+
* @since 1.0.2
|
164 |
+
*/
|
165 |
+
public function check_attr_variation( $attributes ) {
|
166 |
+
if ( empty( $attributes ) ) {
|
167 |
+
return false;
|
168 |
+
}
|
169 |
+
$return = false;
|
170 |
+
foreach ( $attributes as $attribute ) {
|
171 |
+
if ( $attribute->get_variation() ) {
|
172 |
+
$return = true;
|
173 |
+
break;
|
174 |
+
}
|
175 |
+
}
|
176 |
+
return $return;
|
177 |
+
}
|
178 |
+
/**
|
179 |
+
* Get template function.
|
180 |
+
*
|
181 |
+
* @param object $attributes Attributes object.
|
182 |
+
* @param boolean $reset Product attribute reset.
|
183 |
+
* @return void
|
184 |
+
* @since 1.0.2
|
185 |
+
*/
|
186 |
+
public function taxonomy_section( $attributes, $reset = false ) {
|
187 |
+
foreach ( $attributes as $attribute ) {
|
188 |
+
if ( $attribute->get_variation() ) {
|
189 |
+
$this->attribute_wrapper( $attribute, $reset );}
|
190 |
+
}
|
191 |
+
}
|
192 |
+
|
193 |
+
/**
|
194 |
+
* Get attribute visible or not.
|
195 |
+
*
|
196 |
+
* @param object $attribute Product attribute.
|
197 |
+
* @return boolean
|
198 |
+
* @since 1.0.2
|
199 |
+
*/
|
200 |
+
private function is_visible( $attribute ) {
|
201 |
+
return true === $attribute->get_visible();
|
202 |
+
}
|
203 |
+
|
204 |
+
/**
|
205 |
+
* Attribute wrapper.
|
206 |
+
*
|
207 |
+
* @param object $attribute Product attribute object.
|
208 |
+
* @param boolean $reset Product attribute reset.
|
209 |
+
* @return void
|
210 |
+
* @since 1.0.2
|
211 |
+
*/
|
212 |
+
public function attribute_wrapper( $attribute, $reset ) {
|
213 |
+
$attr_get_name = $attribute->get_name();
|
214 |
+
$taxonomy = get_taxonomy( $attr_get_name );
|
215 |
+
$is_custom_attribute = false;
|
216 |
+
if ( $taxonomy ) {
|
217 |
+
$label = $taxonomy->labels->singular_name;
|
218 |
+
} else {
|
219 |
+
$label = $attr_get_name;
|
220 |
+
$is_custom_attribute = true;
|
221 |
+
$attr_get_name = $this->helper()->create_slug( $label );
|
222 |
+
}
|
223 |
+
$meta_key_name = CFVSW_PRODUCT_ATTR . '_' . $attr_get_name;
|
224 |
+
$input_name = "attr[$meta_key_name]";
|
225 |
+
$get_post_meta = ! $reset ? get_post_meta( intval( $this->product_id ), sanitize_text_field( $meta_key_name ), true ) : false;
|
226 |
+
$attribute_type = ! empty( $get_post_meta['type'] ) ? $get_post_meta['type'] : '';
|
227 |
+
?>
|
228 |
+
<div data-taxonomy="<?php echo esc_attr( $attr_get_name ); ?>" class='cfvsw-attribute-wrapper wc-metabox postbox closed'>
|
229 |
+
<span class="cfvsw-attribute-type-span">
|
230 |
+
<h3>
|
231 |
+
<label><?php esc_html_e( 'Attribute Type', 'variation-swatches-woo' ); ?></label>
|
232 |
+
<select data-name="<?php echo esc_attr( $input_name ); ?>[type]" class="select2 wc-enhanced-select cfvsw-attribute-type-select">
|
233 |
+
<option value=""><?php esc_html_e( 'Default', 'variation-swatches-woo' ); ?></option>
|
234 |
+
<?php
|
235 |
+
foreach ( $this->type_of_attributes() as $key => $value ) {
|
236 |
+
$selected = $attribute_type && $key === $attribute_type ? 'selected' : '';
|
237 |
+
?>
|
238 |
+
<option <?php echo esc_attr( $selected ); ?> value="<?php echo esc_attr( $key ); ?>"><?php echo esc_html( $value ); ?></option>
|
239 |
+
<?php } ?>
|
240 |
+
</select>
|
241 |
+
</h3>
|
242 |
+
</span>
|
243 |
+
<h3 class="cfvsw-attribute-heading">
|
244 |
+
<div class="handlediv" title="<?php esc_html_e( 'Click to toggle', 'variation-swatches-woo' ); ?>" aria-expanded="false"></div>
|
245 |
+
<div class="tips sort"></div>
|
246 |
+
<strong class="attribute_name"><?php echo esc_attr( $label ); ?></strong>
|
247 |
+
<input type="hidden" name="<?php echo esc_attr( $input_name ); ?>[type]" value="<?php echo esc_attr( $attribute_type ); ?>" />
|
248 |
+
</h3>
|
249 |
+
<div class="woocommerce_attribute_data wc-metabox-content hidden" style="display: none;">
|
250 |
+
<?php $this->attribute_type_wrapper( $attribute, $is_custom_attribute, $input_name, $get_post_meta, $attribute_type ); ?>
|
251 |
+
</div>
|
252 |
+
</div>
|
253 |
+
<?php
|
254 |
+
}
|
255 |
+
|
256 |
+
|
257 |
+
/**
|
258 |
+
* Attribute type wrapper custom and global both attribute.
|
259 |
+
*
|
260 |
+
* @param object $attribute Product attribute object.
|
261 |
+
* @param boolean $is_custom_attribute Custom attribute or global attribute.
|
262 |
+
* @param string $input_name Term input name which is saved in post meta.
|
263 |
+
* @param array $get_post_meta Product attribute post meta.
|
264 |
+
* @param string $attribute_type Attribute type for now image, color.
|
265 |
+
* @return void
|
266 |
+
* @since 1.0.2
|
267 |
+
*/
|
268 |
+
public function attribute_type_wrapper( $attribute, $is_custom_attribute, $input_name, $get_post_meta, $attribute_type ) {
|
269 |
+
$get_options = $attribute->get_options();
|
270 |
+
?>
|
271 |
+
<div class="cfvsw-attribute-itemes">
|
272 |
+
<?php
|
273 |
+
if ( $is_custom_attribute ) {
|
274 |
+
foreach ( $get_options as $get_term_name ) {
|
275 |
+
$item_id = $this->helper()->create_slug( $get_term_name );
|
276 |
+
$this->get_term_template( $item_id, $get_term_name, $input_name, $get_post_meta, $attribute_type );
|
277 |
+
}
|
278 |
+
} else {
|
279 |
+
foreach ( $get_options as $item_id ) {
|
280 |
+
$get_term_name = get_term( $item_id )->name;
|
281 |
+
$this->get_term_template( $item_id, $get_term_name, $input_name, $get_post_meta, $attribute_type );
|
282 |
+
}
|
283 |
+
}
|
284 |
+
?>
|
285 |
+
</div>
|
286 |
+
<?php
|
287 |
+
}
|
288 |
+
|
289 |
+
/**
|
290 |
+
* Attribute terms template.
|
291 |
+
*
|
292 |
+
* @param string $item_id Term id, for custom attribute it will be term name in form of slug and for attribute it will be term id in number.
|
293 |
+
* @param string $term_name Term name.
|
294 |
+
* @param string $input_name Term input name which is saved in post meta.
|
295 |
+
* @param array $get_post_meta Product attribute post meta.
|
296 |
+
* @param string $attribute_type Attribute type for now image, color.
|
297 |
+
* @return void
|
298 |
+
* @since 1.0.2
|
299 |
+
*/
|
300 |
+
public function get_term_template( $item_id, $term_name, $input_name, $get_post_meta, $attribute_type ) {
|
301 |
+
$item_name_label = $input_name . "[$item_id][label]";
|
302 |
+
$item_name_color = $input_name . "[$item_id][color]";
|
303 |
+
$item_name_image = $input_name . "[$item_id][image]";
|
304 |
+
|
305 |
+
$saved_label = ! empty( $get_post_meta[ $item_id ]['label'] ) ? $get_post_meta[ $item_id ]['label'] : '';
|
306 |
+
$saved_image = ! empty( $get_post_meta[ $item_id ]['image'] ) ? intval( $get_post_meta[ $item_id ]['image'] ) : '';
|
307 |
+
$saved_color = ! empty( $get_post_meta[ $item_id ]['color'] ) ? $get_post_meta[ $item_id ]['color'] : '';
|
308 |
+
|
309 |
+
$get_image_url = $saved_image ? wp_get_attachment_url( $saved_image ) : '';
|
310 |
+
$put_image_url = $get_image_url ? $get_image_url : $this->wc_placeholder_image;
|
311 |
+
|
312 |
+
$show_label_container = 'label' === $attribute_type ? 'display:block;' : '';
|
313 |
+
$show_image_container = 'image' === $attribute_type ? 'display:block;' : '';
|
314 |
+
$show_color_container = 'color' === $attribute_type ? 'display:block;' : '';
|
315 |
+
$show_remove_image_button = $saved_image ? 'display:block;' : '';
|
316 |
+
?>
|
317 |
+
<div data-taxonomy="<?php echo esc_attr( $term_name ); ?>" class='cfvsw-attribute-wrapper wc-metabox postbox closed'>
|
318 |
+
<h3 class="cfvsw-attribute-heading">
|
319 |
+
<div class="handlediv" title="<?php esc_html_e( 'Click to toggle', 'variation-swatches-woo' ); ?>"></div>
|
320 |
+
<div class="tips sort"></div>
|
321 |
+
<strong class="attribute_name"><?php echo esc_html( $term_name ); ?></strong>
|
322 |
+
</h3>
|
323 |
+
<div class="woocommerce_attribute_data wc-metabox-content hidden" style="display: none;">
|
324 |
+
<div data-container='label' style="<?php echo esc_attr( $show_label_container ); ?>" class="cfvsw-attribute-item-container">
|
325 |
+
<div>
|
326 |
+
<div class="cfvsw-attribute-label">
|
327 |
+
<label><?php esc_html_e( 'Label Text', 'variation-swatches-woo' ); ?></label>
|
328 |
+
</div>
|
329 |
+
<div class="cfvsw-attribute-field">
|
330 |
+
<input data-cfvsw-save='cfvsw-certain-type' type="text" value="<?php echo esc_attr( $saved_label ); ?>" name="<?php echo esc_attr( $item_name_label ); ?>" />
|
331 |
+
</div>
|
332 |
+
</div>
|
333 |
+
</div>
|
334 |
+
<div data-container='color' style="<?php echo esc_attr( $show_color_container ); ?>" class="cfvsw-attribute-item-container">
|
335 |
+
<div>
|
336 |
+
<div class="cfvsw-attribute-label">
|
337 |
+
<label><?php esc_html_e( 'Color', 'variation-swatches-woo' ); ?></label>
|
338 |
+
</div>
|
339 |
+
<div class="cfvsw-attribute-field">
|
340 |
+
<input data-cfvsw-save='cfvsw-certain-type' id="cfvsw-attribute-item-color" class="cfvsw-attribute-item-color" type="text" value="<?php echo esc_attr( $saved_color ); ?>" name="<?php echo esc_attr( $item_name_color ); ?>" />
|
341 |
+
</div>
|
342 |
+
</div>
|
343 |
+
</div>
|
344 |
+
<div data-container='image' style="<?php echo esc_attr( $show_image_container ); ?>" class="cfvsw-attribute-item-container">
|
345 |
+
<div>
|
346 |
+
<div class="cfvsw-attribute-label">
|
347 |
+
<label><?php esc_html_e( 'Image', 'variation-swatches-woo' ); ?></label>
|
348 |
+
</div>
|
349 |
+
<div class="cfvsw-attribute-field field-image">
|
350 |
+
<div class="cfvsw-image-preview-wrap">
|
351 |
+
<img class="cfvsw-image-preview" data-placeholder-image="<?php echo esc_url( $this->wc_placeholder_image ); ?>" src="<?php echo esc_url( $put_image_url ); ?>" alt="<?php esc_html_e( 'Variation swatches image preview', 'variation-swatches-woo' ); ?>" />
|
352 |
+
</div>
|
353 |
+
<div class="button-wrapper">
|
354 |
+
<input type="hidden" class="cfvsw-save-image" name="<?php echo esc_attr( $item_name_image ); ?>" value="<?php echo esc_attr( $saved_image ); ?>" />
|
355 |
+
<button type="button" class="cfvsw_upload_image_attr_item button button-primary button-small"><?php esc_html_e( 'Upload image', 'variation-swatches-woo' ); ?></button>
|
356 |
+
<button type="button" id="cfvsw_remove_image_attr_item" style="<?php echo esc_attr( $show_remove_image_button ); ?>" class="cfvsw_remove_image_attr_item button button-small "><?php esc_html_e( 'Remove image', 'variation-swatches-woo' ); ?></button>
|
357 |
+
</div>
|
358 |
+
</div>
|
359 |
+
</div>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
</div>
|
363 |
+
<?php
|
364 |
+
}
|
365 |
+
}
|
admin/term-meta-config.php
CHANGED
@@ -64,11 +64,11 @@ class Term_Meta_Config {
|
|
64 |
$fields_array = $this->term_meta_fields( $type );
|
65 |
if ( ! empty( $fields_array ) ) {
|
66 |
?>
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
<?php
|
73 |
}
|
74 |
}
|
@@ -85,15 +85,15 @@ class Term_Meta_Config {
|
|
85 |
$fields_array = $this->term_meta_fields( $type );
|
86 |
if ( ! empty( $fields_array ) ) {
|
87 |
?>
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
<?php
|
98 |
}
|
99 |
}
|
@@ -173,11 +173,11 @@ class Term_Meta_Config {
|
|
173 |
$value = ! empty( $value ) ? $value : '';
|
174 |
?>
|
175 |
<div class="meta-image-field-wrapper">
|
176 |
-
<img class="cfvsw-image-preview" height="60px" width="60px" src="<?php echo esc_url( $value ); ?>" alt="<?php esc_attr_e( 'Variation swatches image preview', 'variation-swatches-woo' ); ?>" style="<?php echo( empty( $value ) ? 'display:none' : '' ); ?>"/>
|
177 |
<div class="button-wrapper">
|
178 |
<input type="hidden" class="<?php echo esc_attr( $field['id'] ); ?>" name="cfvsw_image" value="<?php echo esc_attr( $value ); ?>" />
|
179 |
<button type="button" class="cfvsw_upload_image_button button button-primary button-small"><?php esc_html_e( 'Upload image', 'variation-swatches-woo' ); ?></button>
|
180 |
-
<button type="button" style="<?php echo( empty( $value ) ? 'display:none' : '' ); ?>" class="cfvsw_remove_image_button button button-small"><?php esc_html_e( 'Remove image', 'variation-swatches-woo' ); ?></button>
|
181 |
</div>
|
182 |
</div>
|
183 |
<?php
|
@@ -207,6 +207,22 @@ class Term_Meta_Config {
|
|
207 |
|
208 |
wp_register_script( 'cfvsw-term-meta-type', CFVSW_URL . 'admin/assets/js/term-meta-type.js', [ 'jquery', 'wp-color-picker' ], CFVSW_VER, true );
|
209 |
wp_enqueue_script( 'cfvsw-term-meta-type' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
|
211 |
wp_register_style( 'cfvsw-term-meta', CFVSW_URL . 'admin/assets/css/term-meta.css', [], CFVSW_VER, 'all' );
|
212 |
wp_enqueue_style( 'cfvsw-term-meta' );
|
64 |
$fields_array = $this->term_meta_fields( $type );
|
65 |
if ( ! empty( $fields_array ) ) {
|
66 |
?>
|
67 |
+
<div class="form-field <?php echo esc_attr( $fields_array['id'] ); ?>">
|
68 |
+
<label for="<?php echo esc_attr( $fields_array['id'] ); ?>"><?php echo esc_html( $fields_array['label'] ); ?></label>
|
69 |
+
<?php $this->term_meta_fields_markup( $fields_array, $term ); ?>
|
70 |
+
<p class="description"><?php echo esc_attr( $fields_array['desc'] ); ?></p>
|
71 |
+
</div>
|
72 |
<?php
|
73 |
}
|
74 |
}
|
85 |
$fields_array = $this->term_meta_fields( $type );
|
86 |
if ( ! empty( $fields_array ) ) {
|
87 |
?>
|
88 |
+
<tr class="form-field">
|
89 |
+
<th>
|
90 |
+
<label for="<?php echo esc_attr( $fields_array['id'] ); ?>"><?php echo esc_html( $fields_array['label'] ); ?></label>
|
91 |
+
</th>
|
92 |
+
<td>
|
93 |
+
<?php $this->term_meta_fields_markup( $fields_array, $term ); ?>
|
94 |
+
<p class="description"><?php echo esc_html( $fields_array['desc'] ); ?></p>
|
95 |
+
</td>
|
96 |
+
</tr>
|
97 |
<?php
|
98 |
}
|
99 |
}
|
173 |
$value = ! empty( $value ) ? $value : '';
|
174 |
?>
|
175 |
<div class="meta-image-field-wrapper">
|
176 |
+
<img class="cfvsw-image-preview" height="60px" width="60px" src="<?php echo esc_url( $value ); ?>" alt="<?php esc_attr_e( 'Variation swatches image preview', 'variation-swatches-woo' ); ?>" style="<?php echo ( empty( $value ) ? 'display:none' : '' ); ?>" />
|
177 |
<div class="button-wrapper">
|
178 |
<input type="hidden" class="<?php echo esc_attr( $field['id'] ); ?>" name="cfvsw_image" value="<?php echo esc_attr( $value ); ?>" />
|
179 |
<button type="button" class="cfvsw_upload_image_button button button-primary button-small"><?php esc_html_e( 'Upload image', 'variation-swatches-woo' ); ?></button>
|
180 |
+
<button type="button" style="<?php echo ( empty( $value ) ? 'display:none' : '' ); ?>" class="cfvsw_remove_image_button button button-small"><?php esc_html_e( 'Remove image', 'variation-swatches-woo' ); ?></button>
|
181 |
</div>
|
182 |
</div>
|
183 |
<?php
|
207 |
|
208 |
wp_register_script( 'cfvsw-term-meta-type', CFVSW_URL . 'admin/assets/js/term-meta-type.js', [ 'jquery', 'wp-color-picker' ], CFVSW_VER, true );
|
209 |
wp_enqueue_script( 'cfvsw-term-meta-type' );
|
210 |
+
wp_localize_script(
|
211 |
+
'cfvsw-term-meta-type',
|
212 |
+
'cfvsw_swatches_term_meta',
|
213 |
+
[
|
214 |
+
'image_upload_text' => [
|
215 |
+
'title' => __(
|
216 |
+
'Select a image to upload',
|
217 |
+
'variation-swatches-woo'
|
218 |
+
),
|
219 |
+
'button_title' => __(
|
220 |
+
'Use this image',
|
221 |
+
'variation-swatches-woo'
|
222 |
+
),
|
223 |
+
],
|
224 |
+
]
|
225 |
+
);
|
226 |
|
227 |
wp_register_style( 'cfvsw-term-meta', CFVSW_URL . 'admin/assets/css/term-meta.css', [], CFVSW_VER, 'all' );
|
228 |
wp_enqueue_style( 'cfvsw-term-meta' );
|
assets/css/swatches.css
CHANGED
@@ -5,15 +5,18 @@
|
|
5 |
flex-flow: wrap;
|
6 |
padding: 0;
|
7 |
position: relative;
|
|
|
|
|
|
|
|
|
|
|
|
|
8 |
}
|
9 |
-
|
10 |
.cfvsw-swatches-option {
|
11 |
position: relative;
|
12 |
display: flex;
|
13 |
align-items: center;
|
14 |
justify-content: center;
|
15 |
-
box-sizing: border-box;
|
16 |
-
margin: 4px;
|
17 |
-webkit-transition: 200ms;
|
18 |
transition: 200ms;
|
19 |
text-align: center;
|
@@ -22,7 +25,7 @@
|
|
22 |
cursor: pointer;
|
23 |
border: 1px solid #fff;
|
24 |
background: #fff;
|
25 |
-
padding:
|
26 |
user-select: none; /* supported by Chrome and Opera */
|
27 |
-webkit-user-select: none; /* Safari */
|
28 |
-khtml-user-select: none; /* Konqueror HTML */
|
@@ -37,8 +40,8 @@
|
|
37 |
|
38 |
.cfvsw-swatches-option .cfvsw-swatch-inner {
|
39 |
display: flex;
|
40 |
-
width: 100
|
41 |
-
height: 100
|
42 |
border-radius: inherit;
|
43 |
-webkit-transition: 200ms;
|
44 |
transition: 200ms;
|
@@ -126,7 +129,6 @@
|
|
126 |
border-radius: 5px;
|
127 |
font-size: 0.8em;
|
128 |
left: 50%;
|
129 |
-
/* bottom: calc( 100% + 2px ); */
|
130 |
transform: translateX( -50% ) translateY( -50% );
|
131 |
display: none;
|
132 |
border: 1px solid;
|
@@ -163,7 +165,9 @@
|
|
163 |
}
|
164 |
|
165 |
/* Shop page settings */
|
166 |
-
|
|
|
|
|
167 |
table.cfvsw-shop-variations,
|
168 |
.cfvsw-shop-variations tbody,
|
169 |
.cfvsw-shop-variations td,
|
@@ -177,41 +181,15 @@ table.cfvsw-shop-variations,
|
|
177 |
text-align: left;
|
178 |
}
|
179 |
|
180 |
-
.
|
181 |
-
|
182 |
-
}
|
183 |
-
|
184 |
-
.cfvsw_shop_align_center table {
|
185 |
-
margin: 0 auto;
|
186 |
}
|
187 |
-
|
188 |
.cfvsw_shop_align_center table tr td {
|
189 |
-
|
190 |
-
margin: 0 auto !important;
|
191 |
-
}
|
192 |
-
|
193 |
-
.cfvsw_shop_align_center table tr td .cfvsw-swatches-option {
|
194 |
-
margin: 1px 2px 4px;
|
195 |
-
}
|
196 |
-
|
197 |
-
.cfvsw_shop_align_right {
|
198 |
-
display: inline-block;
|
199 |
-
width: 100%;
|
200 |
-
}
|
201 |
-
|
202 |
-
.cfvsw_shop_align_right table {
|
203 |
-
float: right;
|
204 |
}
|
205 |
-
|
206 |
.cfvsw_shop_align_right table tr td {
|
207 |
-
|
208 |
-
float: right;
|
209 |
}
|
210 |
-
|
211 |
-
.cfvsw_shop_align_right table tr td .cfvsw-swatches-option {
|
212 |
-
margin: 1px 0 4px 4px;
|
213 |
-
}
|
214 |
-
|
215 |
.cfvsw-shop-variations .reset_variations {
|
216 |
display: none !important;
|
217 |
}
|
@@ -247,6 +225,7 @@ table.cfvsw-shop-variations,
|
|
247 |
/* Filters css */
|
248 |
.cfvsw-filters {
|
249 |
display: flex;
|
|
|
250 |
}
|
251 |
.cfvsw-filters li {
|
252 |
display: inline-flex;
|
@@ -312,8 +291,7 @@ table.cfvsw-shop-variations,
|
|
312 |
|
313 |
/* Astra theme compatibility css */
|
314 |
.theme-astra table.variations td.value {
|
315 |
-
|
316 |
-
/* padding: 5px 0; */
|
317 |
}
|
318 |
|
319 |
.theme-astra.cfvsw-product-page tr th.label {
|
5 |
flex-flow: wrap;
|
6 |
padding: 0;
|
7 |
position: relative;
|
8 |
+
box-sizing: border-box;
|
9 |
+
grid-gap: 8px;
|
10 |
+
width: fit-content;
|
11 |
+
}
|
12 |
+
.cfvsw-swatches-container * {
|
13 |
+
box-sizing: border-box;
|
14 |
}
|
|
|
15 |
.cfvsw-swatches-option {
|
16 |
position: relative;
|
17 |
display: flex;
|
18 |
align-items: center;
|
19 |
justify-content: center;
|
|
|
|
|
20 |
-webkit-transition: 200ms;
|
21 |
transition: 200ms;
|
22 |
text-align: center;
|
25 |
cursor: pointer;
|
26 |
border: 1px solid #fff;
|
27 |
background: #fff;
|
28 |
+
padding: 1px;
|
29 |
user-select: none; /* supported by Chrome and Opera */
|
30 |
-webkit-user-select: none; /* Safari */
|
31 |
-khtml-user-select: none; /* Konqueror HTML */
|
40 |
|
41 |
.cfvsw-swatches-option .cfvsw-swatch-inner {
|
42 |
display: flex;
|
43 |
+
width: calc( 100% - 2px );
|
44 |
+
height: calc( 100% - 2px );
|
45 |
border-radius: inherit;
|
46 |
-webkit-transition: 200ms;
|
47 |
transition: 200ms;
|
129 |
border-radius: 5px;
|
130 |
font-size: 0.8em;
|
131 |
left: 50%;
|
|
|
132 |
transform: translateX( -50% ) translateY( -50% );
|
133 |
display: none;
|
134 |
border: 1px solid;
|
165 |
}
|
166 |
|
167 |
/* Shop page settings */
|
168 |
+
table.cfvsw-shop-variations {
|
169 |
+
width: 100%;
|
170 |
+
}
|
171 |
table.cfvsw-shop-variations,
|
172 |
.cfvsw-shop-variations tbody,
|
173 |
.cfvsw-shop-variations td,
|
181 |
text-align: left;
|
182 |
}
|
183 |
|
184 |
+
.cfvsw-shop-variations tr td {
|
185 |
+
display: flex;
|
|
|
|
|
|
|
|
|
186 |
}
|
|
|
187 |
.cfvsw_shop_align_center table tr td {
|
188 |
+
justify-content: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
189 |
}
|
|
|
190 |
.cfvsw_shop_align_right table tr td {
|
191 |
+
justify-content: flex-end;
|
|
|
192 |
}
|
|
|
|
|
|
|
|
|
|
|
193 |
.cfvsw-shop-variations .reset_variations {
|
194 |
display: none !important;
|
195 |
}
|
225 |
/* Filters css */
|
226 |
.cfvsw-filters {
|
227 |
display: flex;
|
228 |
+
flex-wrap: wrap;
|
229 |
}
|
230 |
.cfvsw-filters li {
|
231 |
display: inline-flex;
|
291 |
|
292 |
/* Astra theme compatibility css */
|
293 |
.theme-astra table.variations td.value {
|
294 |
+
padding: 5px 0 !important;
|
|
|
295 |
}
|
296 |
|
297 |
.theme-astra.cfvsw-product-page tr th.label {
|
inc/helper.php
CHANGED
@@ -77,6 +77,63 @@ class Helper {
|
|
77 |
return is_null( $type ) ? '' : $type;
|
78 |
}
|
79 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
/**
|
81 |
* Get option value from database and retruns value merged with default values
|
82 |
*
|
77 |
return is_null( $type ) ? '' : $type;
|
78 |
}
|
79 |
|
80 |
+
/**
|
81 |
+
* Sanitize multi-dimension array.
|
82 |
+
*
|
83 |
+
* @param string $function Function reference.
|
84 |
+
* @param array $data_array Array what we need to sanitize.
|
85 |
+
* @return array
|
86 |
+
* @since 1.0.2
|
87 |
+
*/
|
88 |
+
public function sanitize_recursively( $function, $data_array ) {
|
89 |
+
$response = [];
|
90 |
+
foreach ( $data_array as $key => $data ) {
|
91 |
+
$response[ $key ] = is_array( $data ) ? $this->sanitize_recursively( $function, $data ) : $function( $data );
|
92 |
+
}
|
93 |
+
|
94 |
+
return $response;
|
95 |
+
}
|
96 |
+
|
97 |
+
/**
|
98 |
+
* Remove blank array.
|
99 |
+
*
|
100 |
+
* @param string $array It is important to variable should be array.
|
101 |
+
* @return array
|
102 |
+
* @since 1.0.2
|
103 |
+
*/
|
104 |
+
public function remove_blank_array( $array ) {
|
105 |
+
if ( empty( $array ) || ! is_array( $array ) ) {
|
106 |
+
return $array;
|
107 |
+
}
|
108 |
+
foreach ( $array as $key => &$value ) {
|
109 |
+
if ( empty( $value ) ) {
|
110 |
+
unset( $array[ $key ] );
|
111 |
+
} else {
|
112 |
+
if ( is_array( $value ) ) {
|
113 |
+
$value = $this->remove_blank_array( $value );
|
114 |
+
if ( empty( $value ) ) {
|
115 |
+
unset( $array[ $key ] );
|
116 |
+
}
|
117 |
+
}
|
118 |
+
}
|
119 |
+
}
|
120 |
+
return $array;
|
121 |
+
}
|
122 |
+
|
123 |
+
/**
|
124 |
+
* Create slug.
|
125 |
+
*
|
126 |
+
* @param string $str Pass string.
|
127 |
+
* @return string
|
128 |
+
* @since 1.0.2
|
129 |
+
*/
|
130 |
+
public function create_slug( $str ) {
|
131 |
+
if ( empty( $str ) ) {
|
132 |
+
return false;
|
133 |
+
}
|
134 |
+
return strtolower( trim( preg_replace( '/[^A-Za-z0-9-]+/', '-', $str ) ) );
|
135 |
+
}
|
136 |
+
|
137 |
/**
|
138 |
* Get option value from database and retruns value merged with default values
|
139 |
*
|
inc/swatches.php
CHANGED
@@ -40,6 +40,22 @@ class Swatches {
|
|
40 |
*/
|
41 |
private $settings = [];
|
42 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
/**
|
44 |
* Constructor
|
45 |
*
|
@@ -55,7 +71,7 @@ class Swatches {
|
|
55 |
}
|
56 |
|
57 |
if (
|
58 |
-
|
59 |
) {
|
60 |
add_filter( 'woocommerce_dropdown_variation_attribute_options_html', [ $this, 'variation_attribute_custom_html' ], 999, 2 );
|
61 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
|
@@ -72,21 +88,121 @@ class Swatches {
|
|
72 |
}
|
73 |
|
74 |
/**
|
75 |
-
*
|
76 |
*
|
77 |
-
* @param
|
78 |
-
* @param array
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
* @return string
|
80 |
* @since 1.0.0
|
81 |
*/
|
82 |
public function variation_attribute_custom_html( $select_html, $args ) {
|
|
|
83 |
$settings = [];
|
84 |
$container_class = '';
|
85 |
-
|
86 |
if ( ! $this->is_required_page() ) {
|
87 |
return $select_html;
|
88 |
}
|
89 |
-
|
90 |
if ( $this->requires_shop_settings() ) {
|
91 |
if ( ! $this->settings[ CFVSW_GLOBAL ]['enable_swatches_shop'] ) {
|
92 |
return $select_html;
|
@@ -98,7 +214,6 @@ class Swatches {
|
|
98 |
}
|
99 |
$container_class = 'cfvsw-shop-container';
|
100 |
}
|
101 |
-
|
102 |
if ( $this->requires_global_settings() ) {
|
103 |
if ( ! $this->settings[ CFVSW_GLOBAL ]['enable_swatches'] ) {
|
104 |
return $select_html;
|
@@ -110,8 +225,8 @@ class Swatches {
|
|
110 |
if ( empty( $settings ) ) {
|
111 |
return $select_html;
|
112 |
}
|
113 |
-
|
114 |
-
$attr_id =
|
115 |
$shape = get_option( "cfvsw_product_attribute_shape-$attr_id", 'default' );
|
116 |
$size = absint( get_option( "cfvsw_product_attribute_size-$attr_id", '' ) );
|
117 |
$height = absint( get_option( "cfvsw_product_attribute_height-$attr_id", '' ) );
|
@@ -144,47 +259,50 @@ class Swatches {
|
|
144 |
break;
|
145 |
}
|
146 |
|
147 |
-
$
|
148 |
-
$html = '';
|
149 |
|
150 |
-
|
151 |
-
|
152 |
-
if ( $limit > 0 && $limit < count( $args['options'] ) && in_array( $type, [ 'color', 'image', 'label' ], true ) ) {
|
153 |
-
$permalink = get_permalink( $args['id'] );
|
154 |
-
/* translators: %1$1s, %3$3s: Html Tag, %2$2s: Extra attribute count */
|
155 |
-
$more = sprintf( __( '%1$1s %2$2s More %3$3s', 'variation-swatches-woo' ), '<a href="' . esc_url( $permalink ) . '">', ( count( $args['options'] ) - $limit ), '</a>' );
|
156 |
-
$args['options'] = array_splice( $args['options'], 0, $limit );
|
157 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
switch ( $type ) {
|
159 |
case 'color':
|
160 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
161 |
-
foreach ( $
|
162 |
-
$
|
163 |
-
$
|
164 |
-
$
|
165 |
-
$
|
166 |
-
$style
|
167 |
-
$style
|
168 |
-
$style
|
169 |
-
$
|
170 |
-
$
|
|
|
171 |
}
|
172 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
173 |
$html .= '</div>';
|
174 |
break;
|
175 |
case 'image':
|
176 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
177 |
-
foreach ( $
|
178 |
-
$
|
179 |
-
$
|
180 |
-
$
|
181 |
-
$
|
182 |
-
$style
|
183 |
-
$style
|
184 |
-
$style
|
185 |
-
$
|
186 |
-
$
|
187 |
-
$html
|
|
|
188 |
}
|
189 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
190 |
$html .= '</div>';
|
@@ -194,13 +312,12 @@ class Swatches {
|
|
194 |
break;
|
195 |
}
|
196 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
197 |
-
foreach ( $
|
198 |
$style = '';
|
199 |
-
$term = get_term_by( 'slug', $slug, $args['attribute'] );
|
200 |
$style .= 'min-width:' . $min_width . ';';
|
201 |
$style .= 'min-height:' . $min_height . ';';
|
202 |
$style .= 'border-radius:' . $border_radius . ';';
|
203 |
-
$name =
|
204 |
$html .= "<div class='cfvsw-swatches-option cfvsw-label-option' data-slug='" . esc_attr( $slug ) . "' data-title='" . esc_attr( $name ) . "' style=" . esc_attr( $style ) . '><div class="cfvsw-swatch-inner">' . esc_html( $name ) . '</div></div>';
|
205 |
}
|
206 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
@@ -214,6 +331,44 @@ class Swatches {
|
|
214 |
return $select_html;
|
215 |
}
|
216 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
217 |
/**
|
218 |
* Generates variation attributes for shop page
|
219 |
*
|
@@ -252,39 +407,41 @@ class Swatches {
|
|
252 |
$variations_json = wp_json_encode( $available_variations );
|
253 |
$variations_attr = function_exists( 'wc_esc_json' ) ? wc_esc_json( $variations_json ) : _wp_specialchars( $variations_json, ENT_QUOTES, 'UTF-8', true );
|
254 |
?>
|
255 |
-
|
256 |
-
|
257 |
<?php if ( empty( $available_variations ) && false !== $available_variations ) { ?>
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
<td class="label woocommerce-loop-product__title"><label for="<?php echo esc_attr( sanitize_title( $attribute_name ) ); ?>"
|
266 |
-
|
267 |
-
|
268 |
-
<tr>
|
269 |
-
<td class="value">
|
270 |
-
<?php
|
271 |
-
wc_dropdown_variation_attribute_options(
|
272 |
-
array(
|
273 |
-
'options' => $options,
|
274 |
-
'attribute' => $attribute_name,
|
275 |
-
'product' => $product,
|
276 |
-
)
|
277 |
-
);
|
278 |
-
echo end( $attribute_keys ) === $attribute_name ? wp_kses_post( apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'variation-swatches-woo' ) . '</a>' ) ) : '';
|
279 |
-
?>
|
280 |
</td>
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
288 |
}
|
289 |
|
290 |
|
@@ -299,14 +456,14 @@ class Swatches {
|
|
299 |
return;
|
300 |
}
|
301 |
|
302 |
-
wp_register_style( '
|
303 |
-
wp_enqueue_style( '
|
304 |
$this->inline_css();
|
305 |
|
306 |
-
wp_register_script( '
|
307 |
-
wp_enqueue_script( '
|
308 |
wp_localize_script(
|
309 |
-
'
|
310 |
'cfvsw_swatches_settings',
|
311 |
[
|
312 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
@@ -353,7 +510,7 @@ class Swatches {
|
|
353 |
$custom_css .= '}';
|
354 |
|
355 |
if ( ! empty( $custom_css ) ) {
|
356 |
-
wp_add_inline_style( '
|
357 |
}
|
358 |
}
|
359 |
|
@@ -514,7 +671,6 @@ class Swatches {
|
|
514 |
}
|
515 |
|
516 |
WC_AJAX::get_refreshed_fragments();
|
517 |
-
|
518 |
} else {
|
519 |
|
520 |
// If there was an error adding to the cart, redirect to the product page to show any errors.
|
40 |
*/
|
41 |
private $settings = [];
|
42 |
|
43 |
+
/**
|
44 |
+
* Post meta variation swatches type.
|
45 |
+
*
|
46 |
+
* @var boolean
|
47 |
+
* @since 1.0.2
|
48 |
+
*/
|
49 |
+
private $product_option_type = false;
|
50 |
+
|
51 |
+
/**
|
52 |
+
* Postmeta variation attributes swatches value product lavel.
|
53 |
+
*
|
54 |
+
* @var array
|
55 |
+
* @since 1.0.2
|
56 |
+
*/
|
57 |
+
private $product_option_swatches = [];
|
58 |
+
|
59 |
/**
|
60 |
* Constructor
|
61 |
*
|
71 |
}
|
72 |
|
73 |
if (
|
74 |
+
$this->settings[ CFVSW_GLOBAL ]['enable_swatches'] || $this->settings[ CFVSW_GLOBAL ]['enable_swatches_shop']
|
75 |
) {
|
76 |
add_filter( 'woocommerce_dropdown_variation_attribute_options_html', [ $this, 'variation_attribute_custom_html' ], 999, 2 );
|
77 |
add_action( 'wp_enqueue_scripts', [ $this, 'enqueue_scripts' ] );
|
88 |
}
|
89 |
|
90 |
/**
|
91 |
+
* Get swatches postmeta options.
|
92 |
*
|
93 |
+
* @param integer $product_id Product id.
|
94 |
+
* @param array $args_attribute Attribute arguments.
|
95 |
+
* @param boolean $attribute_id Attribute id.
|
96 |
+
* @return void
|
97 |
+
* @since 1.0.2
|
98 |
+
*/
|
99 |
+
public function get_product_swatches( $product_id, $args_attribute, $attribute_id ) {
|
100 |
+
// Clean variables.
|
101 |
+
if ( $this->product_option_type ) {
|
102 |
+
$this->product_option_type = false;
|
103 |
+
$this->product_option_swatches = [];
|
104 |
+
}
|
105 |
+
$product_meta_slug = $attribute_id ? CFVSW_PRODUCT_ATTR . '_' . $args_attribute : CFVSW_PRODUCT_ATTR . '_' . $this->helper->create_slug( $args_attribute );
|
106 |
+
$get_meta_options = get_post_meta( $product_id, $product_meta_slug, true );
|
107 |
+
if ( empty( $get_meta_options['type'] ) ) {
|
108 |
+
return;
|
109 |
+
}
|
110 |
+
$this->product_option_type = $get_meta_options['type'];
|
111 |
+
unset( $get_meta_options['type'] );
|
112 |
+
if ( count( $get_meta_options ) > 0 ) {
|
113 |
+
if ( 'image' === $this->product_option_type ) {
|
114 |
+
foreach ( $get_meta_options as $key => $value ) {
|
115 |
+
if ( empty( $value[ $this->product_option_type ] ) ) {
|
116 |
+
continue;
|
117 |
+
}
|
118 |
+
$image_id = intval( $value[ $this->product_option_type ] );
|
119 |
+
$get_image_url = $image_id ? wp_get_attachment_url( $image_id ) : false;
|
120 |
+
if ( ! $get_image_url ) {
|
121 |
+
continue;
|
122 |
+
}
|
123 |
+
$this->product_option_swatches[ $key ] = $get_image_url;
|
124 |
+
}
|
125 |
+
} else {
|
126 |
+
foreach ( $get_meta_options as $key => $value ) {
|
127 |
+
if ( empty( $value[ $this->product_option_type ] ) ) {
|
128 |
+
continue;
|
129 |
+
}
|
130 |
+
$custom_product_meta = $value[ $this->product_option_type ];
|
131 |
+
$this->product_option_swatches[ $key ] = $custom_product_meta;
|
132 |
+
}
|
133 |
+
}
|
134 |
+
}
|
135 |
+
}
|
136 |
+
|
137 |
+
/**
|
138 |
+
* Get attribute term color.
|
139 |
+
*
|
140 |
+
* @param integer $attr_id Attribute id.
|
141 |
+
* @param string $slug Term slug.
|
142 |
+
* @param string $args Attribute options.
|
143 |
+
* @param string $for It should be color or image.
|
144 |
+
* @return array
|
145 |
+
* @since 1.0.2
|
146 |
+
*/
|
147 |
+
public function get_attr_term_color_image( $attr_id, $slug, $args, $for ) {
|
148 |
+
$default_value = 'color' === $for ? '#fff' : CFVSW_URL . '/admin/assets/img/wc-placeholder.png';
|
149 |
+
$term_name = $slug;
|
150 |
+
if ( $attr_id ) {
|
151 |
+
$term = get_term_by( 'slug', $slug, $args['attribute'] );
|
152 |
+
if ( $this->product_option_type ) {
|
153 |
+
$get_value = ! empty( $this->product_option_swatches[ $term->term_id ] ) ? $this->product_option_swatches[ $term->term_id ] : $default_value;
|
154 |
+
} else {
|
155 |
+
$meta_name = 'color' === $for ? 'cfvsw_color' : 'cfvsw_image';
|
156 |
+
$get_value = get_term_meta( $term->term_id, $meta_name, true );
|
157 |
+
}
|
158 |
+
$term_name = $term->name;
|
159 |
+
} else {
|
160 |
+
$get_value_by_slug = $this->helper->create_slug( $slug );
|
161 |
+
$get_value = ! empty( $this->product_option_swatches[ $get_value_by_slug ] ) ? $this->product_option_swatches[ $get_value_by_slug ] : $default_value;
|
162 |
+
}
|
163 |
+
$return = [
|
164 |
+
'term_name' => $term_name,
|
165 |
+
$for => $get_value,
|
166 |
+
];
|
167 |
+
return $return;
|
168 |
+
}
|
169 |
+
|
170 |
+
/**
|
171 |
+
* Get attribute term label.
|
172 |
+
*
|
173 |
+
* @param integer $attr_id Attribute id.
|
174 |
+
* @param string $slug Term slug.
|
175 |
+
* @param string $args Attribute options.
|
176 |
+
* @return string
|
177 |
+
* @since 1.0.2
|
178 |
+
*/
|
179 |
+
public function get_attr_term_label( $attr_id, $slug, $args ) {
|
180 |
+
$term = get_term_by( 'slug', $slug, $args['attribute'] );
|
181 |
+
$name = ! empty( $term->name ) ? $term->name : $slug;
|
182 |
+
if ( $attr_id && $this->product_option_type ) {
|
183 |
+
$name = ! empty( $this->product_option_swatches[ $term->term_id ] ) ? $this->product_option_swatches[ $term->term_id ] : $name;
|
184 |
+
} elseif ( $this->product_option_type ) {
|
185 |
+
$get_label_slug = $this->helper->create_slug( $slug );
|
186 |
+
$name = ! empty( $this->product_option_swatches[ $get_label_slug ] ) ? $this->product_option_swatches[ $get_label_slug ] : $name;
|
187 |
+
}
|
188 |
+
return $name;
|
189 |
+
}
|
190 |
+
|
191 |
+
/**
|
192 |
+
* Return variation product attributes.
|
193 |
+
*
|
194 |
+
* @param string $select_html Default attribute template.
|
195 |
+
* @param array $args Attributes settings options.
|
196 |
* @return string
|
197 |
* @since 1.0.0
|
198 |
*/
|
199 |
public function variation_attribute_custom_html( $select_html, $args ) {
|
200 |
+
global $product;
|
201 |
$settings = [];
|
202 |
$container_class = '';
|
|
|
203 |
if ( ! $this->is_required_page() ) {
|
204 |
return $select_html;
|
205 |
}
|
|
|
206 |
if ( $this->requires_shop_settings() ) {
|
207 |
if ( ! $this->settings[ CFVSW_GLOBAL ]['enable_swatches_shop'] ) {
|
208 |
return $select_html;
|
214 |
}
|
215 |
$container_class = 'cfvsw-shop-container';
|
216 |
}
|
|
|
217 |
if ( $this->requires_global_settings() ) {
|
218 |
if ( ! $this->settings[ CFVSW_GLOBAL ]['enable_swatches'] ) {
|
219 |
return $select_html;
|
225 |
if ( empty( $settings ) ) {
|
226 |
return $select_html;
|
227 |
}
|
228 |
+
$attribute = $product->get_attributes();
|
229 |
+
$attr_id = isset( $attribute[ strtolower( $args['attribute'] ) ] ) ? $attribute[ strtolower( $args['attribute'] ) ]->get_id() : 0;
|
230 |
$shape = get_option( "cfvsw_product_attribute_shape-$attr_id", 'default' );
|
231 |
$size = absint( get_option( "cfvsw_product_attribute_size-$attr_id", '' ) );
|
232 |
$height = absint( get_option( "cfvsw_product_attribute_height-$attr_id", '' ) );
|
259 |
break;
|
260 |
}
|
261 |
|
262 |
+
$product_id = ! empty( $args['product'] ) ? intval( $args['product']->get_id() ) : false;
|
|
|
263 |
|
264 |
+
if ( $product_id ) {
|
265 |
+
$this->get_product_swatches( $product_id, $args['attribute'], $attr_id );
|
|
|
|
|
|
|
|
|
|
|
266 |
}
|
267 |
+
$type = $this->product_option_type ? $this->product_option_type : $this->helper->get_attr_type_by_name( $args['attribute'] );
|
268 |
+
|
269 |
+
$limit = isset( $settings['limit'] ) ? intval( $settings['limit'] ) : 0;
|
270 |
+
$attr_options_mix = $this->get_attr_option_by_sorting( $product_id, $args['attribute'], $limit, $args['options'] );
|
271 |
+
$attr_options = $attr_options_mix['options'];
|
272 |
+
$more = $attr_options_mix['more'];
|
273 |
+
|
274 |
switch ( $type ) {
|
275 |
case 'color':
|
276 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
277 |
+
foreach ( $attr_options as $slug ) {
|
278 |
+
$get_term_data = $this->get_attr_term_color_image( $attr_id, $slug, $args, 'color' );
|
279 |
+
$term_name = $get_term_data['term_name'];
|
280 |
+
$color = $get_term_data['color'];
|
281 |
+
$tooltip = $settings['tooltip'] ? $term_name : '';
|
282 |
+
$style = '';
|
283 |
+
$style .= 'min-width:' . $min_width . ';';
|
284 |
+
$style .= 'min-height:' . $min_height . ';';
|
285 |
+
$style .= 'border-radius:' . $border_radius . ';';
|
286 |
+
$inner_style = 'background-color:' . $color . ';';
|
287 |
+
$html .= "<div class='cfvsw-swatches-option' data-slug='" . esc_attr( $slug ) . "' data-title='" . esc_attr( $term_name ) . "' data-tooltip='" . esc_attr( $tooltip ) . "' style=" . esc_attr( $style ) . '><div class="cfvsw-swatch-inner" style="' . esc_attr( $inner_style ) . '"></div></div>';
|
288 |
}
|
289 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
290 |
$html .= '</div>';
|
291 |
break;
|
292 |
case 'image':
|
293 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
294 |
+
foreach ( $attr_options as $slug ) {
|
295 |
+
$get_term_data = $this->get_attr_term_color_image( $attr_id, $slug, $args, 'image' );
|
296 |
+
$term_name = $get_term_data['term_name'];
|
297 |
+
$image = $get_term_data['image'];
|
298 |
+
$tooltip = $settings['tooltip'] ? $term_name : '';
|
299 |
+
$style = '';
|
300 |
+
$style .= 'min-width:' . $min_width . ';';
|
301 |
+
$style .= 'min-height:' . $min_height . ';';
|
302 |
+
$style .= 'border-radius:' . $border_radius . ';';
|
303 |
+
$inner_style = "background-image:url('" . esc_url( $image ) . "');background-size:cover;";
|
304 |
+
$html .= "<div class='cfvsw-swatches-option cfvsw-image-option' data-slug='" . esc_attr( $slug ) . "' data-title='" . esc_attr( $term_name ) . "' data-tooltip='" . esc_attr( $tooltip ) . "' style=" . esc_attr( $style ) . '>';
|
305 |
+
$html .= '<div class="cfvsw-swatch-inner" style="' . $inner_style . '"></div></div>';
|
306 |
}
|
307 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
308 |
$html .= '</div>';
|
312 |
break;
|
313 |
}
|
314 |
$html = "<div class='cfvsw-swatches-container " . esc_attr( $container_class ) . "'>";
|
315 |
+
foreach ( $attr_options as $slug ) {
|
316 |
$style = '';
|
|
|
317 |
$style .= 'min-width:' . $min_width . ';';
|
318 |
$style .= 'min-height:' . $min_height . ';';
|
319 |
$style .= 'border-radius:' . $border_radius . ';';
|
320 |
+
$name = $this->get_attr_term_label( $attr_id, $slug, $args );
|
321 |
$html .= "<div class='cfvsw-swatches-option cfvsw-label-option' data-slug='" . esc_attr( $slug ) . "' data-title='" . esc_attr( $name ) . "' style=" . esc_attr( $style ) . '><div class="cfvsw-swatch-inner">' . esc_html( $name ) . '</div></div>';
|
322 |
}
|
323 |
$html .= $more ? '<span class="cfvsw-more-link" style="line-height:' . esc_attr( $min_height ) . '">' . $more . '</span' : '';
|
331 |
return $select_html;
|
332 |
}
|
333 |
|
334 |
+
/**
|
335 |
+
* Get attribute options.
|
336 |
+
*
|
337 |
+
* @param integer $product_id Current product id.
|
338 |
+
* @param string $attribute Attribute slug.
|
339 |
+
* @param integer $limit Show swatches limit.
|
340 |
+
* @param integer $options For custom attribute options.
|
341 |
+
* @return array
|
342 |
+
* @since 1.0.2
|
343 |
+
*/
|
344 |
+
public function get_attr_option_by_sorting( $product_id, $attribute, $limit, $options ) {
|
345 |
+
$attr_terms = wc_get_product_terms( $product_id, $attribute, [ 'fields' => 'all' ] );
|
346 |
+
if ( ! empty( $attr_terms ) ) {
|
347 |
+
$attr_terms = array_map(
|
348 |
+
function ( $value ) {
|
349 |
+
return $value->slug;
|
350 |
+
},
|
351 |
+
$attr_terms
|
352 |
+
);
|
353 |
+
$attr_terms = array_intersect( $attr_terms, $options );
|
354 |
+
} else {
|
355 |
+
$attr_terms = $options;
|
356 |
+
}
|
357 |
+
if ( $limit > 0 && $limit < count( $attr_terms ) ) {
|
358 |
+
$permalink = get_permalink( $product_id );
|
359 |
+
/* translators: %1$1s, %3$3s: Html Tag, %2$2s: Extra attribute count */
|
360 |
+
$more = sprintf( __( '%1$1s %2$2s More %3$3s', 'variation-swatches-woo' ), '<a href="' . esc_url( $permalink ) . '">', ( count( $attr_terms ) - $limit ), '</a>' );
|
361 |
+
return [
|
362 |
+
'options' => array_splice( $attr_terms, 0, $limit ),
|
363 |
+
'more' => $more,
|
364 |
+
];
|
365 |
+
}
|
366 |
+
return [
|
367 |
+
'options' => $attr_terms,
|
368 |
+
'more' => '',
|
369 |
+
];
|
370 |
+
}
|
371 |
+
|
372 |
/**
|
373 |
* Generates variation attributes for shop page
|
374 |
*
|
407 |
$variations_json = wp_json_encode( $available_variations );
|
408 |
$variations_attr = function_exists( 'wc_esc_json' ) ? wc_esc_json( $variations_json ) : _wp_specialchars( $variations_json, ENT_QUOTES, 'UTF-8', true );
|
409 |
?>
|
410 |
+
<div class="cfvsw_variations_form variations_form cfvsw_shop_align_<?php echo esc_attr( $settings['alignment'] ); ?>" data-product_variations="<?php echo esc_attr( $variations_json ); ?>" data-product_id="<?php echo absint( $product->get_id() ); ?>" data-product_variations="<?php echo esc_attr( $variations_attr ); ?>">
|
|
|
411 |
<?php if ( empty( $available_variations ) && false !== $available_variations ) { ?>
|
412 |
+
<p class="stock out-of-stock"><?php echo esc_html( apply_filters( 'woocommerce_out_of_stock_message', __( 'This product is currently out of stock and unavailable.', 'variation-swatches-woo' ) ) ); ?></p>
|
413 |
+
<?php } else { ?>
|
414 |
+
<table class="cfvsw-shop-variations variations" cellspacing="0">
|
415 |
+
<tbody>
|
416 |
+
<?php foreach ( $attributes as $attribute_name => $options ) { ?>
|
417 |
+
<tr>
|
418 |
+
<?php if ( $settings['label'] ) { ?>
|
419 |
+
<td class="label woocommerce-loop-product__title"><label for="<?php echo esc_attr( sanitize_title( $attribute_name ) ); ?>">
|
420 |
+
<?php echo esc_html( wc_attribute_label( $attribute_name ) ); ?>
|
421 |
+
</label>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
422 |
</td>
|
423 |
+
<?php } ?>
|
424 |
+
</tr>
|
425 |
+
<tr>
|
426 |
+
<td class="value">
|
427 |
+
<?php
|
428 |
+
wc_dropdown_variation_attribute_options(
|
429 |
+
array(
|
430 |
+
'options' => $options,
|
431 |
+
'attribute' => $attribute_name,
|
432 |
+
'product' => $product,
|
433 |
+
)
|
434 |
+
);
|
435 |
+
echo end( $attribute_keys ) === $attribute_name ? wp_kses_post( apply_filters( 'woocommerce_reset_variations_link', '<a class="reset_variations" href="#">' . esc_html__( 'Clear', 'variation-swatches-woo' ) . '</a>' ) ) : '';
|
436 |
+
?>
|
437 |
+
</td>
|
438 |
+
</tr>
|
439 |
+
<?php } ?>
|
440 |
+
</tbody>
|
441 |
+
</table>
|
442 |
+
<?php } ?>
|
443 |
+
</div>
|
444 |
+
<?php
|
445 |
}
|
446 |
|
447 |
|
456 |
return;
|
457 |
}
|
458 |
|
459 |
+
wp_register_style( 'cfvsw_swatches_product', CFVSW_URL . 'assets/css/swatches.css', [ 'dashicons' ], CFVSW_VER );
|
460 |
+
wp_enqueue_style( 'cfvsw_swatches_product' );
|
461 |
$this->inline_css();
|
462 |
|
463 |
+
wp_register_script( 'cfvsw_swatches_product', CFVSW_URL . 'assets/js/swatches.js', [ 'jquery' ], CFVSW_VER, true );
|
464 |
+
wp_enqueue_script( 'cfvsw_swatches_product' );
|
465 |
wp_localize_script(
|
466 |
+
'cfvsw_swatches_product',
|
467 |
'cfvsw_swatches_settings',
|
468 |
[
|
469 |
'ajax_url' => admin_url( 'admin-ajax.php' ),
|
510 |
$custom_css .= '}';
|
511 |
|
512 |
if ( ! empty( $custom_css ) ) {
|
513 |
+
wp_add_inline_style( 'cfvsw_swatches_product', $custom_css );
|
514 |
}
|
515 |
}
|
516 |
|
671 |
}
|
672 |
|
673 |
WC_AJAX::get_refreshed_fragments();
|
|
|
674 |
} else {
|
675 |
|
676 |
// If there was an error adding to the cart, redirect to the product page to show any errors.
|
languages/variation-swatches-woo.pot
CHANGED
@@ -2,14 +2,14 @@
|
|
2 |
# This file is distributed under the GPL v2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
-
"Project-Id-Version: Variation Swatches for WooCommerce 1.0.
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/variation-swatches-woo\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"POT-Creation-Date: 2022-
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: variation-swatches-woo\n"
|
@@ -19,7 +19,8 @@ msgid "Variation Swatches for WooCommerce"
|
|
19 |
msgstr ""
|
20 |
|
21 |
#. Description of the plugin
|
22 |
-
#: admin-core/assets/
|
|
|
23 |
msgid "Provides super easy shopping experience by displaying beautiful variation swatches on WooCommerce shop and product page."
|
24 |
msgstr ""
|
25 |
|
@@ -32,17 +33,17 @@ msgid "https://cartflows.com/"
|
|
32 |
msgstr ""
|
33 |
|
34 |
#: admin-core/admin-menu.php:62
|
35 |
-
#: admin/attributes-config.php:
|
36 |
-
#: plugin-loader.php:
|
37 |
#: admin-core/assets/build/settings.js:1
|
38 |
-
#: admin-core/assets/src/components/Header.js:
|
39 |
msgid "Settings"
|
40 |
msgstr ""
|
41 |
|
42 |
#: admin-core/admin-menu.php:63
|
43 |
-
#: admin/attributes-config.php:
|
44 |
#: admin-core/assets/build/settings.js:1
|
45 |
-
#: admin-core/assets/src/components/Header.js:
|
46 |
msgid "Variation Swatches"
|
47 |
msgstr ""
|
48 |
|
@@ -63,192 +64,268 @@ msgid "Select"
|
|
63 |
msgstr ""
|
64 |
|
65 |
#: admin/attributes-config.php:76
|
|
|
66 |
#: admin-core/assets/build/settings.js:1
|
67 |
#: admin-core/assets/src/components/tabs/GlobalStyling.js:185
|
68 |
msgid "Label"
|
69 |
msgstr ""
|
70 |
|
71 |
#: admin/attributes-config.php:77
|
|
|
|
|
72 |
#: admin/term-meta-config.php:136
|
73 |
msgid "Color"
|
74 |
msgstr ""
|
75 |
|
76 |
#: admin/attributes-config.php:78
|
|
|
|
|
77 |
#: admin/term-meta-config.php:142
|
78 |
msgid "Image"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin/attributes-config.php:
|
82 |
msgid "Preview"
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin/attributes-config.php:
|
|
|
86 |
msgid "Default"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: admin/attributes-config.php:
|
90 |
msgid "Square"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: admin/attributes-config.php:
|
94 |
msgid "Rounded Corner"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: admin/attributes-config.php:
|
98 |
msgid "Circle"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: admin/attributes-config.php:
|
102 |
msgid "Custom"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: admin/attributes-config.php:
|
106 |
-
#: admin/attributes-config.php:
|
107 |
msgid "Shape"
|
108 |
msgstr ""
|
109 |
|
|
|
|
|
|
|
|
|
|
|
110 |
#: admin/attributes-config.php:188
|
111 |
#: admin/attributes-config.php:255
|
112 |
-
msgid "
|
113 |
msgstr ""
|
114 |
|
115 |
#: admin/attributes-config.php:189
|
116 |
#: admin/attributes-config.php:256
|
117 |
-
msgid "Swatch will appear as Square."
|
118 |
msgstr ""
|
119 |
|
120 |
#: admin/attributes-config.php:190
|
121 |
#: admin/attributes-config.php:257
|
122 |
-
msgid "Swatch will appear as
|
123 |
msgstr ""
|
124 |
|
125 |
#: admin/attributes-config.php:191
|
126 |
#: admin/attributes-config.php:258
|
127 |
-
msgid "Swatch will appear as Circle"
|
128 |
-
msgstr ""
|
129 |
-
|
130 |
-
#: admin/attributes-config.php:192
|
131 |
-
#: admin/attributes-config.php:259
|
132 |
msgid "Create custom Swatch shape by choosing different height and width"
|
133 |
msgstr ""
|
134 |
|
135 |
-
#: admin/attributes-config.php:
|
136 |
-
#: admin/attributes-config.php:
|
137 |
msgid "Size (Optional)"
|
138 |
msgstr ""
|
139 |
|
140 |
-
#: admin/attributes-config.php:
|
141 |
msgid "Control the size of this particular attribute. Default size is 24px"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: admin/attributes-config.php:
|
145 |
-
#: admin/attributes-config.php:
|
146 |
-
#: admin/attributes-config.php:
|
147 |
msgid "Height (Optional)"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: admin/attributes-config.php:
|
151 |
msgid "Control the height of this particular attribute. Default height is 24px"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: admin/attributes-config.php:
|
155 |
-
#: admin/attributes-config.php:
|
156 |
-
#: admin/attributes-config.php:
|
157 |
msgid "Width (Optional)"
|
158 |
msgstr ""
|
159 |
|
160 |
-
#: admin/attributes-config.php:
|
161 |
msgid "Control the width of this particular attribute. Default width is 24px"
|
162 |
msgstr ""
|
163 |
|
164 |
-
#: admin/attributes-config.php:
|
165 |
msgid "Control the height of this particular attribute. Default height is 30px"
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: admin/attributes-config.php:
|
169 |
msgid "Control the width of this particular attribute. Default width is 30px"
|
170 |
msgstr ""
|
171 |
|
172 |
-
#: admin/attributes-config.php:
|
173 |
msgid "Control the size of this particular attribute. Default size is 24px"
|
174 |
msgstr ""
|
175 |
|
176 |
-
#: admin/attributes-config.php:
|
177 |
msgid "Control the height of this particular attribute. Default height is 24px"
|
178 |
msgstr ""
|
179 |
|
180 |
-
#: admin/attributes-config.php:
|
181 |
msgid "Control the width of this particular attribute. Default width is 24px"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: admin/attributes-config.php:
|
185 |
msgid "Swatches Settings"
|
186 |
msgstr ""
|
187 |
|
188 |
-
#: admin/attributes-config.php:
|
189 |
msgid "Choose how this attribute should appear in frontend."
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: admin/
|
193 |
-
|
|
|
|
|
194 |
msgstr ""
|
195 |
|
196 |
-
#: admin/
|
197 |
-
|
|
|
198 |
msgstr ""
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
#: admin/term-meta-config.php:176
|
201 |
msgid "Variation swatches image preview"
|
202 |
msgstr ""
|
203 |
|
|
|
204 |
#: admin/term-meta-config.php:179
|
205 |
msgid "Upload image"
|
206 |
msgstr ""
|
207 |
|
|
|
208 |
#: admin/term-meta-config.php:180
|
209 |
msgid "Remove image"
|
210 |
msgstr ""
|
211 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
212 |
#. translators: %1$1s, %3$3s: Html Tag, %2$2s: Extra attribute count
|
213 |
-
#: inc/swatches.php:
|
214 |
msgid "%1$1s %2$2s More %3$3s"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: inc/swatches.php:
|
218 |
msgid "This product is currently out of stock and unavailable."
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: inc/swatches.php:
|
222 |
msgid "Clear"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: inc/swatches.php:
|
226 |
msgid "Selected variant is unavailable."
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: inc/swatches.php:
|
230 |
msgid "Add to Cart"
|
231 |
msgstr ""
|
232 |
|
233 |
#. translators: %s: Product title
|
234 |
-
#: inc/swatches.php:
|
235 |
msgid "\"%1$s\" has been added to your cart. %2$s"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: inc/swatches.php:
|
239 |
msgid "View Cart"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: plugin-loader.php:
|
243 |
msgid "Activate WooCommerce"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: plugin-loader.php:
|
247 |
msgid "Install WooCommerce"
|
248 |
msgstr ""
|
249 |
|
250 |
#. translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin.
|
251 |
-
#: plugin-loader.php:
|
252 |
msgid "%1$sVariation Swatches for WooCommerce is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Variation Swatches for WooCommerce to work. Please %5$s%6$s%7$s"
|
253 |
msgstr ""
|
254 |
|
@@ -258,7 +335,12 @@ msgid "Successfully saved!"
|
|
258 |
msgstr ""
|
259 |
|
260 |
#: admin-core/assets/build/settings.js:1
|
261 |
-
#: admin-core/assets/src/components/Header.js:
|
|
|
|
|
|
|
|
|
|
|
262 |
msgid "Notification"
|
263 |
msgstr ""
|
264 |
|
@@ -297,11 +379,6 @@ msgstr ""
|
|
297 |
msgid "Select Color"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#: admin-core/assets/build/settings.js:1
|
301 |
-
#: admin-core/assets/src/components/tabs/GlobalStyling.js:16
|
302 |
-
msgid "Swatches"
|
303 |
-
msgstr ""
|
304 |
-
|
305 |
#: admin-core/assets/build/settings.js:1
|
306 |
#: admin-core/assets/src/components/tabs/GlobalStyling.js:19
|
307 |
#: admin-core/assets/src/components/tabs/ShopStyling.js:120
|
@@ -708,69 +785,71 @@ msgid "Select the appropriate value to get desired swatch style on shop page"
|
|
708 |
msgstr ""
|
709 |
|
710 |
#: admin-core/assets/build/settings.js:8
|
711 |
-
#: admin-core/assets/src/components/
|
712 |
-
msgid "
|
713 |
msgstr ""
|
714 |
|
715 |
#: admin-core/assets/build/settings.js:8
|
716 |
-
#: admin-core/assets/src/components/
|
717 |
-
msgid "
|
718 |
msgstr ""
|
719 |
|
720 |
#: admin-core/assets/build/settings.js:8
|
721 |
-
#: admin-core/assets/src/components/
|
722 |
-
msgid "
|
723 |
msgstr ""
|
724 |
|
725 |
#: admin-core/assets/build/settings.js:8
|
726 |
-
#: admin-core/assets/src/components/
|
727 |
-
msgid "
|
728 |
-
msgstr ""
|
729 |
-
|
730 |
-
#: admin-core/assets/src/components/path/Welcome.js:25
|
731 |
-
msgid "Welcome to Variation Swatches!"
|
732 |
-
msgstr ""
|
733 |
-
|
734 |
-
#: admin-core/assets/src/components/path/Welcome.js:51
|
735 |
-
msgid "CTA 1"
|
736 |
msgstr ""
|
737 |
|
738 |
-
#: admin-core/assets/
|
739 |
-
|
|
|
740 |
msgstr ""
|
741 |
|
742 |
-
#: admin-core/assets/
|
743 |
-
|
|
|
744 |
msgstr ""
|
745 |
|
746 |
-
#: admin-core/assets/
|
747 |
-
|
|
|
748 |
msgstr ""
|
749 |
|
750 |
-
#: admin-core/assets/
|
751 |
-
|
|
|
752 |
msgstr ""
|
753 |
|
754 |
-
#: admin-core/assets/
|
755 |
-
|
|
|
756 |
msgstr ""
|
757 |
|
|
|
758 |
#: admin-core/assets/src/components/path/Welcome.js:127
|
759 |
-
msgid "
|
760 |
msgstr ""
|
761 |
|
762 |
-
#: admin-core/assets/
|
763 |
-
|
|
|
764 |
msgstr ""
|
765 |
|
766 |
-
#: admin-core/assets/
|
767 |
-
|
|
|
768 |
msgstr ""
|
769 |
|
770 |
-
#: admin-core/assets/
|
771 |
-
|
|
|
772 |
msgstr ""
|
773 |
|
774 |
-
#: admin-core/assets/
|
775 |
-
|
|
|
776 |
msgstr ""
|
2 |
# This file is distributed under the GPL v2.
|
3 |
msgid ""
|
4 |
msgstr ""
|
5 |
+
"Project-Id-Version: Variation Swatches for WooCommerce 1.0.2\n"
|
6 |
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/variation-swatches-woo\n"
|
7 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
8 |
"Language-Team: LANGUAGE <LL@li.org>\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"POT-Creation-Date: 2022-08-08T18:20:54+00:00\n"
|
13 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
14 |
"X-Generator: WP-CLI 2.6.0\n"
|
15 |
"X-Domain: variation-swatches-woo\n"
|
19 |
msgstr ""
|
20 |
|
21 |
#. Description of the plugin
|
22 |
+
#: admin-core/assets/build/settings.js:8
|
23 |
+
#: admin-core/assets/src/components/path/Welcome.js:26
|
24 |
msgid "Provides super easy shopping experience by displaying beautiful variation swatches on WooCommerce shop and product page."
|
25 |
msgstr ""
|
26 |
|
33 |
msgstr ""
|
34 |
|
35 |
#: admin-core/admin-menu.php:62
|
36 |
+
#: admin/attributes-config.php:243
|
37 |
+
#: plugin-loader.php:198
|
38 |
#: admin-core/assets/build/settings.js:1
|
39 |
+
#: admin-core/assets/src/components/Header.js:11
|
40 |
msgid "Settings"
|
41 |
msgstr ""
|
42 |
|
43 |
#: admin-core/admin-menu.php:63
|
44 |
+
#: admin/attributes-config.php:243
|
45 |
#: admin-core/assets/build/settings.js:1
|
46 |
+
#: admin-core/assets/src/components/Header.js:27
|
47 |
msgid "Variation Swatches"
|
48 |
msgstr ""
|
49 |
|
64 |
msgstr ""
|
65 |
|
66 |
#: admin/attributes-config.php:76
|
67 |
+
#: admin/templates.php:67
|
68 |
#: admin-core/assets/build/settings.js:1
|
69 |
#: admin-core/assets/src/components/tabs/GlobalStyling.js:185
|
70 |
msgid "Label"
|
71 |
msgstr ""
|
72 |
|
73 |
#: admin/attributes-config.php:77
|
74 |
+
#: admin/templates.php:68
|
75 |
+
#: admin/templates.php:337
|
76 |
#: admin/term-meta-config.php:136
|
77 |
msgid "Color"
|
78 |
msgstr ""
|
79 |
|
80 |
#: admin/attributes-config.php:78
|
81 |
+
#: admin/templates.php:69
|
82 |
+
#: admin/templates.php:347
|
83 |
#: admin/term-meta-config.php:142
|
84 |
msgid "Image"
|
85 |
msgstr ""
|
86 |
|
87 |
+
#: admin/attributes-config.php:108
|
88 |
msgid "Preview"
|
89 |
msgstr ""
|
90 |
|
91 |
+
#: admin/attributes-config.php:162
|
92 |
+
#: admin/templates.php:233
|
93 |
msgid "Default"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: admin/attributes-config.php:163
|
97 |
msgid "Square"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: admin/attributes-config.php:164
|
101 |
msgid "Rounded Corner"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: admin/attributes-config.php:165
|
105 |
msgid "Circle"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: admin/attributes-config.php:169
|
109 |
msgid "Custom"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: admin/attributes-config.php:176
|
113 |
+
#: admin/attributes-config.php:245
|
114 |
msgid "Shape"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: admin/attributes-config.php:187
|
118 |
+
#: admin/attributes-config.php:254
|
119 |
+
msgid "Default setting is applied from settings page."
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
#: admin/attributes-config.php:188
|
123 |
#: admin/attributes-config.php:255
|
124 |
+
msgid "Swatch will appear as Square."
|
125 |
msgstr ""
|
126 |
|
127 |
#: admin/attributes-config.php:189
|
128 |
#: admin/attributes-config.php:256
|
129 |
+
msgid "Swatch will appear as Square with slight curvature at border of 3px."
|
130 |
msgstr ""
|
131 |
|
132 |
#: admin/attributes-config.php:190
|
133 |
#: admin/attributes-config.php:257
|
134 |
+
msgid "Swatch will appear as Circle"
|
135 |
msgstr ""
|
136 |
|
137 |
#: admin/attributes-config.php:191
|
138 |
#: admin/attributes-config.php:258
|
|
|
|
|
|
|
|
|
|
|
139 |
msgid "Create custom Swatch shape by choosing different height and width"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: admin/attributes-config.php:196
|
143 |
+
#: admin/attributes-config.php:261
|
144 |
msgid "Size (Optional)"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin/attributes-config.php:200
|
148 |
msgid "Control the size of this particular attribute. Default size is 24px"
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: admin/attributes-config.php:205
|
152 |
+
#: admin/attributes-config.php:223
|
153 |
+
#: admin/attributes-config.php:266
|
154 |
msgid "Height (Optional)"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: admin/attributes-config.php:209
|
158 |
msgid "Control the height of this particular attribute. Default height is 24px"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: admin/attributes-config.php:214
|
162 |
+
#: admin/attributes-config.php:232
|
163 |
+
#: admin/attributes-config.php:271
|
164 |
msgid "Width (Optional)"
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin/attributes-config.php:218
|
168 |
msgid "Control the width of this particular attribute. Default width is 24px"
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin/attributes-config.php:227
|
172 |
msgid "Control the height of this particular attribute. Default height is 30px"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin/attributes-config.php:236
|
176 |
msgid "Control the width of this particular attribute. Default width is 30px"
|
177 |
msgstr ""
|
178 |
|
179 |
+
#: admin/attributes-config.php:263
|
180 |
msgid "Control the size of this particular attribute. Default size is 24px"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin/attributes-config.php:268
|
184 |
msgid "Control the height of this particular attribute. Default height is 24px"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: admin/attributes-config.php:273
|
188 |
msgid "Control the width of this particular attribute. Default width is 24px"
|
189 |
msgstr ""
|
190 |
|
191 |
+
#: admin/attributes-config.php:329
|
192 |
msgid "Swatches Settings"
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin/attributes-config.php:330
|
196 |
msgid "Choose how this attribute should appear in frontend."
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin/product-config.php:67
|
200 |
+
#: admin/product-config.php:86
|
201 |
+
#: admin/product-config.php:128
|
202 |
+
msgid "Invalid product id."
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: admin/product-config.php:71
|
206 |
+
#: admin/product-config.php:90
|
207 |
+
msgid "Product type is not variable."
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: admin/product-config.php:108
|
211 |
+
msgid "Swatches setting have been reset."
|
212 |
+
msgstr ""
|
213 |
+
|
214 |
+
#: admin/product-config.php:108
|
215 |
+
#: admin/product-config.php:133
|
216 |
+
#: admin/product-config.php:143
|
217 |
+
msgid "Settings saved."
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: admin/product-config.php:109
|
221 |
+
#: admin/templates.php:140
|
222 |
+
msgid "No visible attribute found."
|
223 |
+
msgstr ""
|
224 |
+
|
225 |
+
#: admin/product-config.php:169
|
226 |
+
#: admin-core/assets/build/settings.js:1
|
227 |
+
#: admin-core/assets/src/components/tabs/GlobalStyling.js:16
|
228 |
+
msgid "Swatches"
|
229 |
+
msgstr ""
|
230 |
+
|
231 |
+
#: admin/product-config.php:204
|
232 |
+
msgid "Please save this product to enable custom settings for Variation Swatches."
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: admin/product-config.php:233
|
236 |
+
#: admin/term-meta-config.php:215
|
237 |
+
msgid "Select a image to upload"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: admin/product-config.php:237
|
241 |
+
#: admin/term-meta-config.php:219
|
242 |
+
msgid "Use this image"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: admin/templates.php:152
|
246 |
+
msgid "Save"
|
247 |
+
msgstr ""
|
248 |
+
|
249 |
+
#: admin/templates.php:153
|
250 |
+
msgid "Reset"
|
251 |
+
msgstr ""
|
252 |
+
|
253 |
+
#: admin/templates.php:231
|
254 |
+
msgid "Attribute Type"
|
255 |
+
msgstr ""
|
256 |
+
|
257 |
+
#: admin/templates.php:244
|
258 |
+
#: admin/templates.php:319
|
259 |
+
msgid "Click to toggle"
|
260 |
+
msgstr ""
|
261 |
+
|
262 |
+
#: admin/templates.php:327
|
263 |
+
msgid "Label Text"
|
264 |
+
msgstr ""
|
265 |
+
|
266 |
+
#: admin/templates.php:351
|
267 |
#: admin/term-meta-config.php:176
|
268 |
msgid "Variation swatches image preview"
|
269 |
msgstr ""
|
270 |
|
271 |
+
#: admin/templates.php:355
|
272 |
#: admin/term-meta-config.php:179
|
273 |
msgid "Upload image"
|
274 |
msgstr ""
|
275 |
|
276 |
+
#: admin/templates.php:356
|
277 |
#: admin/term-meta-config.php:180
|
278 |
msgid "Remove image"
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: admin/term-meta-config.php:137
|
282 |
+
msgid "Choose a color"
|
283 |
+
msgstr ""
|
284 |
+
|
285 |
+
#: admin/term-meta-config.php:143
|
286 |
+
msgid "Choose an image"
|
287 |
+
msgstr ""
|
288 |
+
|
289 |
#. translators: %1$1s, %3$3s: Html Tag, %2$2s: Extra attribute count
|
290 |
+
#: inc/swatches.php:360
|
291 |
msgid "%1$1s %2$2s More %3$3s"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: inc/swatches.php:412
|
295 |
msgid "This product is currently out of stock and unavailable."
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: inc/swatches.php:435
|
299 |
msgid "Clear"
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: inc/swatches.php:473
|
303 |
msgid "Selected variant is unavailable."
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: inc/swatches.php:627
|
307 |
msgid "Add to Cart"
|
308 |
msgstr ""
|
309 |
|
310 |
#. translators: %s: Product title
|
311 |
+
#: inc/swatches.php:665
|
312 |
msgid "\"%1$s\" has been added to your cart. %2$s"
|
313 |
msgstr ""
|
314 |
|
315 |
+
#: inc/swatches.php:667
|
316 |
msgid "View Cart"
|
317 |
msgstr ""
|
318 |
|
319 |
+
#: plugin-loader.php:125
|
320 |
msgid "Activate WooCommerce"
|
321 |
msgstr ""
|
322 |
|
323 |
+
#: plugin-loader.php:141
|
324 |
msgid "Install WooCommerce"
|
325 |
msgstr ""
|
326 |
|
327 |
#. translators: 1$-2$: opening and closing <strong> tags, 3$-4$: link tags, takes to woocommerce plugin on wp.org, 5$-6$: opening and closing link tags, leads to plugins.php in admin.
|
328 |
+
#: plugin-loader.php:146
|
329 |
msgid "%1$sVariation Swatches for WooCommerce is inactive.%2$s The %3$sWooCommerce plugin%4$s must be active for Variation Swatches for WooCommerce to work. Please %5$s%6$s%7$s"
|
330 |
msgstr ""
|
331 |
|
335 |
msgstr ""
|
336 |
|
337 |
#: admin-core/assets/build/settings.js:1
|
338 |
+
#: admin-core/assets/src/components/Header.js:7
|
339 |
+
msgid "Welcome"
|
340 |
+
msgstr ""
|
341 |
+
|
342 |
+
#: admin-core/assets/build/settings.js:1
|
343 |
+
#: admin-core/assets/src/components/Header.js:59
|
344 |
msgid "Notification"
|
345 |
msgstr ""
|
346 |
|
379 |
msgid "Select Color"
|
380 |
msgstr ""
|
381 |
|
|
|
|
|
|
|
|
|
|
|
382 |
#: admin-core/assets/build/settings.js:1
|
383 |
#: admin-core/assets/src/components/tabs/GlobalStyling.js:19
|
384 |
#: admin-core/assets/src/components/tabs/ShopStyling.js:120
|
785 |
msgstr ""
|
786 |
|
787 |
#: admin-core/assets/build/settings.js:8
|
788 |
+
#: admin-core/assets/src/components/path/Welcome.js:20
|
789 |
+
msgid "Welcome to Variation Swatches!"
|
790 |
msgstr ""
|
791 |
|
792 |
#: admin-core/assets/build/settings.js:8
|
793 |
+
#: admin-core/assets/src/components/path/Welcome.js:52
|
794 |
+
msgid "Knowledge Base"
|
795 |
msgstr ""
|
796 |
|
797 |
#: admin-core/assets/build/settings.js:8
|
798 |
+
#: admin-core/assets/src/components/path/Welcome.js:58
|
799 |
+
msgid "Learn everything you need to know about the Variation Swatches plugin with our comprehensive documentation."
|
800 |
msgstr ""
|
801 |
|
802 |
#: admin-core/assets/build/settings.js:8
|
803 |
+
#: admin-core/assets/src/components/path/Welcome.js:69
|
804 |
+
msgid "Browse Now →"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
805 |
msgstr ""
|
806 |
|
807 |
+
#: admin-core/assets/build/settings.js:8
|
808 |
+
#: admin-core/assets/src/components/path/Welcome.js:81
|
809 |
+
msgid "Get 5-star Support"
|
810 |
msgstr ""
|
811 |
|
812 |
+
#: admin-core/assets/build/settings.js:8
|
813 |
+
#: admin-core/assets/src/components/path/Welcome.js:87
|
814 |
+
msgid "Need some help? Our awesome support team is here to help you with any question you have."
|
815 |
msgstr ""
|
816 |
|
817 |
+
#: admin-core/assets/build/settings.js:8
|
818 |
+
#: admin-core/assets/src/components/path/Welcome.js:98
|
819 |
+
msgid "Get Support →"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: admin-core/assets/build/settings.js:8
|
823 |
+
#: admin-core/assets/src/components/path/Welcome.js:110
|
824 |
+
msgid "Join the Community"
|
825 |
msgstr ""
|
826 |
|
827 |
+
#: admin-core/assets/build/settings.js:8
|
828 |
+
#: admin-core/assets/src/components/path/Welcome.js:116
|
829 |
+
msgid "Got a question about the plugin, want to share your awesome project or just say hi? Join our wonderful community!"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: admin-core/assets/build/settings.js:8
|
833 |
#: admin-core/assets/src/components/path/Welcome.js:127
|
834 |
+
msgid "Join Now →"
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: admin-core/assets/build/settings.js:8
|
838 |
+
#: admin-core/assets/src/components/Container.js:75
|
839 |
+
msgid "General Settings"
|
840 |
msgstr ""
|
841 |
|
842 |
+
#: admin-core/assets/build/settings.js:8
|
843 |
+
#: admin-core/assets/src/components/Container.js:82
|
844 |
+
msgid "Global Styling"
|
845 |
msgstr ""
|
846 |
|
847 |
+
#: admin-core/assets/build/settings.js:8
|
848 |
+
#: admin-core/assets/src/components/Container.js:89
|
849 |
+
msgid "Shop Page Styling"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: admin-core/assets/build/settings.js:8
|
853 |
+
#: admin-core/assets/src/components/Container.js:95
|
854 |
+
msgid "How To"
|
855 |
msgstr ""
|
plugin-loader.php
CHANGED
@@ -10,6 +10,7 @@ namespace CFVSW;
|
|
10 |
|
11 |
use CFVSW\Admin\Attributes_Config;
|
12 |
use CFVSW\Admin\Term_Meta_Config;
|
|
|
13 |
use CFVSW\Admin_Core\Admin_Menu;
|
14 |
use CFVSW\Inc\Swatches;
|
15 |
/**
|
@@ -96,6 +97,7 @@ class Plugin_Loader {
|
|
96 |
if ( is_admin() ) {
|
97 |
Attributes_Config::get_instance();
|
98 |
Term_Meta_Config::get_instance();
|
|
|
99 |
Admin_Menu::get_instance();
|
100 |
}
|
101 |
|
10 |
|
11 |
use CFVSW\Admin\Attributes_Config;
|
12 |
use CFVSW\Admin\Term_Meta_Config;
|
13 |
+
use CFVSW\Admin\Product_Config;
|
14 |
use CFVSW\Admin_Core\Admin_Menu;
|
15 |
use CFVSW\Inc\Swatches;
|
16 |
/**
|
97 |
if ( is_admin() ) {
|
98 |
Attributes_Config::get_instance();
|
99 |
Term_Meta_Config::get_instance();
|
100 |
+
Product_Config::get_instance();
|
101 |
Admin_Menu::get_instance();
|
102 |
}
|
103 |
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: brainstormforce
|
|
3 |
Tags: woocommerce variation swatches, woocommerce attributes, woocommerce variation, product attributes, product color, product size, variable product attributes, variation product swatches, color variation swatch, image variation swatch
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0.1
|
6 |
-
Stable tag: 1.0.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -18,7 +18,7 @@ Make it faster and easier for your buyers to choose product variations visually.
|
|
18 |
|
19 |
There are no complicated settings or configuration needed to start using Variation Swatches for WooCommerce.
|
20 |
|
21 |
-
[youtube https://www.youtube.com/watch?v=
|
22 |
|
23 |
Instantly convert traditional dropdown attributes to visually appealing swatches. This plugin provides options to convert woocommerce variation attributes to swatches. We provide multiple options like image, color, label type swatches for both product page and shop page.
|
24 |
|
@@ -30,6 +30,7 @@ Learn more from our [knowledge base.](https://cartflows.com/docs/variation-swatc
|
|
30 |
|
31 |
### Page Builders ###
|
32 |
Variation Swatches works with all WordPress page builders, including:
|
|
|
33 |
* Elementor
|
34 |
* Beaver Builder
|
35 |
* Brizy Builder
|
@@ -43,6 +44,7 @@ Variation Swatches works with all WordPress page builders, including:
|
|
43 |
|
44 |
### WooCommerce Themes ###
|
45 |
Variation Swatches works with any theme, including:
|
|
|
46 |
* Astra
|
47 |
* Avada
|
48 |
* Blocksy
|
@@ -105,8 +107,14 @@ Yes, this plugin enables variation swatches on shop / archieve page. User can se
|
|
105 |
|
106 |
== Changelog ==
|
107 |
|
|
|
|
|
|
|
|
|
|
|
|
|
108 |
= 1.0.1 – THURSDAY, 21st JULY 2022 =
|
109 |
* Improvement - Support for Astra upsells on cart page.
|
110 |
|
111 |
= 1.0.0 – FRIDAY, 15th JULY 2022 =
|
112 |
-
* Initial release.
|
3 |
Tags: woocommerce variation swatches, woocommerce attributes, woocommerce variation, product attributes, product color, product size, variable product attributes, variation product swatches, color variation swatch, image variation swatch
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0.1
|
6 |
+
Stable tag: 1.0.2
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2 or later
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
18 |
|
19 |
There are no complicated settings or configuration needed to start using Variation Swatches for WooCommerce.
|
20 |
|
21 |
+
[youtube https://www.youtube.com/watch?v=mjXCkw7rt2Y]
|
22 |
|
23 |
Instantly convert traditional dropdown attributes to visually appealing swatches. This plugin provides options to convert woocommerce variation attributes to swatches. We provide multiple options like image, color, label type swatches for both product page and shop page.
|
24 |
|
30 |
|
31 |
### Page Builders ###
|
32 |
Variation Swatches works with all WordPress page builders, including:
|
33 |
+
|
34 |
* Elementor
|
35 |
* Beaver Builder
|
36 |
* Brizy Builder
|
44 |
|
45 |
### WooCommerce Themes ###
|
46 |
Variation Swatches works with any theme, including:
|
47 |
+
|
48 |
* Astra
|
49 |
* Avada
|
50 |
* Blocksy
|
107 |
|
108 |
== Changelog ==
|
109 |
|
110 |
+
= 1.0.2 – TUESDAY, 9th AUGUST 2022 =
|
111 |
+
* Feature - Customize variation swatches from the edit product page.
|
112 |
+
* Improvement - Updated swatches' spacing.
|
113 |
+
* Improvement - Maintain swatches order on frontend as per settings.
|
114 |
+
* Improvement - Added RTL support for the settings page.
|
115 |
+
|
116 |
= 1.0.1 – THURSDAY, 21st JULY 2022 =
|
117 |
* Improvement - Support for Astra upsells on cart page.
|
118 |
|
119 |
= 1.0.0 – FRIDAY, 15th JULY 2022 =
|
120 |
+
* Initial release.
|
variation-swatches-woo.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
* Description: Provides super easy shopping experience by displaying beautiful variation swatches on WooCommerce shop and product page.
|
5 |
* Author: CartFlows
|
6 |
* Author URI: https://cartflows.com/
|
7 |
-
* Version: 1.0.
|
8 |
* License: GPL v2
|
9 |
* Text Domain: variation-swatches-woo
|
10 |
*
|
@@ -22,9 +22,10 @@ define( 'CFVSW_FILE', __FILE__ );
|
|
22 |
define( 'CFVSW_BASE', plugin_basename( CFVSW_FILE ) );
|
23 |
define( 'CFVSW_DIR', plugin_dir_path( CFVSW_FILE ) );
|
24 |
define( 'CFVSW_URL', plugins_url( '/', CFVSW_FILE ) );
|
25 |
-
define( 'CFVSW_VER', '1.0.
|
26 |
define( 'CFVSW_GLOBAL', 'cfvsw_global' );
|
27 |
define( 'CFVSW_SHOP', 'cfvsw_shop' );
|
28 |
define( 'CFVSW_STYLE', 'cfvsw_style' );
|
|
|
29 |
|
30 |
require_once 'plugin-loader.php';
|
4 |
* Description: Provides super easy shopping experience by displaying beautiful variation swatches on WooCommerce shop and product page.
|
5 |
* Author: CartFlows
|
6 |
* Author URI: https://cartflows.com/
|
7 |
+
* Version: 1.0.2
|
8 |
* License: GPL v2
|
9 |
* Text Domain: variation-swatches-woo
|
10 |
*
|
22 |
define( 'CFVSW_BASE', plugin_basename( CFVSW_FILE ) );
|
23 |
define( 'CFVSW_DIR', plugin_dir_path( CFVSW_FILE ) );
|
24 |
define( 'CFVSW_URL', plugins_url( '/', CFVSW_FILE ) );
|
25 |
+
define( 'CFVSW_VER', '1.0.2' );
|
26 |
define( 'CFVSW_GLOBAL', 'cfvsw_global' );
|
27 |
define( 'CFVSW_SHOP', 'cfvsw_shop' );
|
28 |
define( 'CFVSW_STYLE', 'cfvsw_style' );
|
29 |
+
define( 'CFVSW_PRODUCT_ATTR', 'cfvsw_product_attr' );
|
30 |
|
31 |
require_once 'plugin-loader.php';
|