Version Description
- 2022-11-15 =
- Add - Declare compatibility for High Performance Order Storage.
- Dev - Selectively externalize bundled packages.
- Fix - E2E Testing: Reduce the false positive rate and adjust the running events on GitHub Actions.
- Fix - Move the order of Google Listings & Ads below the Coupons in the Marketing menu of WooCommerce admin page.
- Fix - WC 6.9 compatibility: Shipping time settings should not appear after selecting the "complex" shipping option.
- Fix - WC 6.9 compatibility: The free shipping threshold should be cleared after selecting the "No" free shipping option.
- Fix - WC 6.9 compatibility: The selected free shipping option should be reset after setting all shipping rates to 0.
- Fix - WC 7.1 compatibility: Fixing the forms in the free listings setup may cause infinite requesting state updates which lead to a blank page or issue a lot of API requests.
- Fix - WordPress 5.9 Compatibility: Visually hide descriptions of external link icons.
- Fix - WordPress 6.1 Compatibility: Popover and Tooltip components should be displayed as floating.
- Fix - WordPress 6.1 Compatibility: The size of navigation icons in Datepicker component should not be a giant size.
- Tweak - WC 7.1 compatibility.
- Tweak - WP 6.1 compatibility.
- Update - ISO3166 package version 4.1.
Download this release
Release Info
Developer | automattic |
Plugin | Google Listings & Ads |
Version | 2.2.1 |
Comparing to | |
See all releases |
Code changes from version 2.2.0 to 2.2.1
- changelog.txt +16 -0
- google-listings-and-ads.php +15 -4
- js/build/custom-inputs.asset.php +1 -1
- js/build/gtag-events.asset.php +1 -1
- js/build/gtag-events.js +1 -1
- js/build/index.asset.php +1 -1
- js/build/index.css +1 -1
- js/build/index.js +12 -13
changelog.txt
CHANGED
@@ -1,5 +1,21 @@
|
|
1 |
*** WooCommerce Google Listings and Ads Changelog ***
|
2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3 |
= 2.2.0 - 2022-10-18 =
|
4 |
* Add - Ad previews in the post-onboarding ads setup flow.
|
5 |
* Add - Combine the audience and shipping steps for the onboarding flow and the editing free listings page.
|
1 |
*** WooCommerce Google Listings and Ads Changelog ***
|
2 |
|
3 |
+
= 2.2.1 - 2022-11-15 =
|
4 |
+
* Add - Declare compatibility for High Performance Order Storage.
|
5 |
+
* Dev - Selectively externalize bundled packages.
|
6 |
+
* Fix - E2E Testing: Reduce the false positive rate and adjust the running events on GitHub Actions.
|
7 |
+
* Fix - Move the order of Google Listings & Ads below the Coupons in the Marketing menu of WooCommerce admin page.
|
8 |
+
* Fix - WC 6.9 compatibility: Shipping time settings should not appear after selecting the "complex" shipping option.
|
9 |
+
* Fix - WC 6.9 compatibility: The free shipping threshold should be cleared after selecting the "No" free shipping option.
|
10 |
+
* Fix - WC 6.9 compatibility: The selected free shipping option should be reset after setting all shipping rates to 0.
|
11 |
+
* Fix - WC 7.1 compatibility: Fixing the forms in the free listings setup may cause infinite requesting state updates which lead to a blank page or issue a lot of API requests.
|
12 |
+
* Fix - WordPress 5.9 Compatibility: Visually hide descriptions of external link icons.
|
13 |
+
* Fix - WordPress 6.1 Compatibility: Popover and Tooltip components should be displayed as floating.
|
14 |
+
* Fix - WordPress 6.1 Compatibility: The size of navigation icons in Datepicker component should not be a giant size.
|
15 |
+
* Tweak - WC 7.1 compatibility.
|
16 |
+
* Tweak - WP 6.1 compatibility.
|
17 |
+
* Update - ISO3166 package version 4.1.
|
18 |
+
|
19 |
= 2.2.0 - 2022-10-18 =
|
20 |
* Add - Ad previews in the post-onboarding ads setup flow.
|
21 |
* Add - Combine the audience and shipping steps for the onboarding flow and the editing free listings page.
|
google-listings-and-ads.php
CHANGED
@@ -3,16 +3,16 @@
|
|
3 |
* Plugin Name: Google Listings and Ads
|
4 |
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
|
5 |
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
|
6 |
-
* Version: 2.2.
|
7 |
* Author: WooCommerce
|
8 |
* Author URI: https://woocommerce.com/
|
9 |
* Text Domain: google-listings-and-ads
|
10 |
* Requires at least: 5.7
|
11 |
-
* Tested up to: 6.
|
12 |
* Requires PHP: 7.4
|
13 |
*
|
14 |
* WC requires at least: 6.8
|
15 |
-
* WC tested up to: 7.
|
16 |
* Woo:
|
17 |
*
|
18 |
* @package WooCommerce\Admin
|
@@ -24,11 +24,12 @@ use Automattic\WooCommerce\GoogleListingsAndAds\Autoloader;
|
|
24 |
use Automattic\WooCommerce\GoogleListingsAndAds\Internal\Requirements\PluginValidator;
|
25 |
use Automattic\WooCommerce\GoogleListingsAndAds\Internal\Requirements\VersionValidator;
|
26 |
use Automattic\WooCommerce\GoogleListingsAndAds\PluginFactory;
|
|
|
27 |
use Psr\Container\ContainerInterface;
|
28 |
|
29 |
defined( 'ABSPATH' ) || exit;
|
30 |
|
31 |
-
define( 'WC_GLA_VERSION', '2.2.
|
32 |
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
|
33 |
define( 'WC_GLA_MIN_WC_VER', '6.8' );
|
34 |
|
@@ -51,6 +52,16 @@ register_activation_hook(
|
|
51 |
}
|
52 |
);
|
53 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
// Hook much of our plugin after WooCommerce is loaded.
|
55 |
add_action(
|
56 |
'woocommerce_loaded',
|
3 |
* Plugin Name: Google Listings and Ads
|
4 |
* Plugin URL: https://wordpress.org/plugins/google-listings-and-ads/
|
5 |
* Description: Native integration with Google that allows merchants to easily display their products across Google’s network.
|
6 |
+
* Version: 2.2.1
|
7 |
* Author: WooCommerce
|
8 |
* Author URI: https://woocommerce.com/
|
9 |
* Text Domain: google-listings-and-ads
|
10 |
* Requires at least: 5.7
|
11 |
+
* Tested up to: 6.1
|
12 |
* Requires PHP: 7.4
|
13 |
*
|
14 |
* WC requires at least: 6.8
|
15 |
+
* WC tested up to: 7.1
|
16 |
* Woo:
|
17 |
*
|
18 |
* @package WooCommerce\Admin
|
24 |
use Automattic\WooCommerce\GoogleListingsAndAds\Internal\Requirements\PluginValidator;
|
25 |
use Automattic\WooCommerce\GoogleListingsAndAds\Internal\Requirements\VersionValidator;
|
26 |
use Automattic\WooCommerce\GoogleListingsAndAds\PluginFactory;
|
27 |
+
use Automattic\WooCommerce\Utilities\FeaturesUtil;
|
28 |
use Psr\Container\ContainerInterface;
|
29 |
|
30 |
defined( 'ABSPATH' ) || exit;
|
31 |
|
32 |
+
define( 'WC_GLA_VERSION', '2.2.1' ); // WRCS: DEFINED_VERSION.
|
33 |
define( 'WC_GLA_MIN_PHP_VER', '7.4' );
|
34 |
define( 'WC_GLA_MIN_WC_VER', '6.8' );
|
35 |
|
52 |
}
|
53 |
);
|
54 |
|
55 |
+
// HPOS compatibility declaration.
|
56 |
+
add_action(
|
57 |
+
'before_woocommerce_init',
|
58 |
+
function () {
|
59 |
+
if ( class_exists( FeaturesUtil::class ) ) {
|
60 |
+
FeaturesUtil::declare_compatibility( 'custom_order_tables', __FILE__ );
|
61 |
+
}
|
62 |
+
}
|
63 |
+
);
|
64 |
+
|
65 |
// Hook much of our plugin after WooCommerce is loaded.
|
66 |
add_action(
|
67 |
'woocommerce_loaded',
|
js/build/custom-inputs.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array(), 'version' => '
|
1 |
+
<?php return array('dependencies' => array(), 'version' => 'ffe7056c22097e77d3a8');
|
js/build/gtag-events.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('wp-hooks'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('wp-hooks'), 'version' => 'd5b77d1e18767c9acbb6');
|
js/build/gtag-events.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(){"use strict";var t=window.wp.hooks;const e=(t,e)=>{if("function"!=typeof gtag)throw new Error("Function gtag not implemented.");window.gtag("event",t,{send_to:"GLA",...e})},n=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;e("add_to_cart",{ecomm_pagetype:"cart",event_category:"ecommerce",items:[a(t,n)]})},a=(t,e)=>{var n,a;const r={id:"gla_"+t.id,quantity:e,google_business_vertical:"retail"};return t.name&&(r.name=t.name),null!=t&&null!==(n=t.categories)&&void 0!==n&&n.length&&(r.category=t.categories[0].name),null!=t&&null!==(a=t.prices)&&void 0!==a&&a.price&&(r.price=parseInt(t.prices.price,10)/10**t.prices.currency_minor_unit),r},r=t=>{var e;return glaGtagData.products[t.id]&&(t.name=glaGtagData.products[t.id].name,t.prices=(e=glaGtagData.products[t.id].price,{price:Math.round(e*10**glaGtagData.currency_minor_unit),currency_minor_unit:glaGtagData.currency_minor_unit})),t};(0,t.addAction)("experimental__woocommerce_blocks-cart-add-item","google-listings-and-ads",(t=>{let{product:e,quantity:a=1}=t;n(e,a)}));const o=function(t){const e=t.target.dataset,a=r({id:e.product_id});n(a,e.quantity||1)},
|
1 |
+
!function(){"use strict";var t=window.wp.hooks;const e=(t,e)=>{if("function"!=typeof gtag)throw new Error("Function gtag not implemented.");window.gtag("event",t,{send_to:"GLA",...e})},n=function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;e("add_to_cart",{ecomm_pagetype:"cart",event_category:"ecommerce",items:[a(t,n)]})},a=(t,e)=>{var n,a;const r={id:"gla_"+t.id,quantity:e,google_business_vertical:"retail"};return t.name&&(r.name=t.name),null!=t&&null!==(n=t.categories)&&void 0!==n&&n.length&&(r.category=t.categories[0].name),null!=t&&null!==(a=t.prices)&&void 0!==a&&a.price&&(r.price=parseInt(t.prices.price,10)/10**t.prices.currency_minor_unit),r},r=t=>{var e;return glaGtagData.products[t.id]&&(t.name=glaGtagData.products[t.id].name,t.prices=(e=glaGtagData.products[t.id].price,{price:Math.round(e*10**glaGtagData.currency_minor_unit),currency_minor_unit:glaGtagData.currency_minor_unit})),t};(0,t.addAction)("experimental__woocommerce_blocks-cart-add-item","google-listings-and-ads",(t=>{let{product:e,quantity:a=1}=t;n(e,a)}));const o=function(t){const e=t.target.dataset,a=r({id:e.product_id});n(a,e.quantity||1)},c=function(t){const e=t.target.closest("form.cart");if(!e)return;const a=e.querySelector("[name=add-to-cart]");if(!a)return;const o=e.querySelector("[name=variation_id]"),c=e.querySelector("[name=quantity]"),i=r({id:parseInt(o?o.value:a.value,10)});n(i,c?parseInt(c.value,10):1)};document.defaultView.addEventListener("DOMContentLoaded",(function(){document.querySelectorAll(".add_to_cart_button:not( .product_type_variable ):not( .product_type_grouped ):not( .wc-block-components-product-button__button )").forEach((t=>{t.addEventListener("click",o)})),document.querySelectorAll(".single_add_to_cart_button").forEach((t=>{t.addEventListener("click",c)}))})),"function"==typeof jQuery&&jQuery(document).on("found_variation","form.cart",(function(t,e){(t=>{null!=t&&t.variation_id&&(glaGtagData.products[t.variation_id]={name:t.display_name,price:t.display_price})})(e)}))}();
|
js/build/index.asset.php
CHANGED
@@ -1 +1 @@
|
|
1 |
-
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-customer-effort-score', 'wc-navigation', 'wc-settings', 'wc-store-data', 'wp-a11y', 'wp-api-fetch', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-url', 'wp-warning'), 'version' => '
|
1 |
+
<?php return array('dependencies' => array('lodash', 'moment', 'react', 'react-dom', 'wc-components', 'wc-customer-effort-score', 'wc-navigation', 'wc-settings', 'wc-store-data', 'wp-a11y', 'wp-api-fetch', 'wp-components', 'wp-data', 'wp-data-controls', 'wp-date', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-url', 'wp-warning'), 'version' => '84e43de38c09a514c1df');
|
js/build/index.css
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-button{align-items:center;-webkit-appearance:none;background:none;border:0;border-radius:2px;box-sizing:border-box;color:#1e1e1e;cursor:pointer;display:inline-flex;font-size:13px;height:36px;margin:0;padding:6px 12px;text-decoration:none;transition:box-shadow .1s linear}@media(prefers-reduced-motion:reduce){.components-button{transition-delay:0s;transition-duration:0s}}.components-button:hover,.components-button[aria-expanded=true]{color:var(--wp-admin-theme-color)}.components-button[aria-disabled=true]:hover{color:initial}.components-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.components-button.is-primary{background:var(--wp-admin-theme-color);color:#fff;outline:1px solid transparent;text-decoration:none;text-shadow:none;white-space:nowrap}.components-button.is-primary:hover:not(:disabled){background:var(--wp-admin-theme-color-darker-10);color:#fff}.components-button.is-primary:active:not(:disabled){background:var(--wp-admin-theme-color-darker-20);border-color:var(--wp-admin-theme-color-darker-20);color:#fff}.components-button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);color:hsla(0,0%,100%,.4);opacity:1;outline:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,var(--wp-admin-theme-color) 33%,var(--wp-admin-theme-color-darker-20) 33%,var(--wp-admin-theme-color-darker-20) 70%,var(--wp-admin-theme-color) 70%);background-size:100px 100%;border-color:var(--wp-admin-theme-color);color:#fff}.components-button.is-secondary,.components-button.is-tertiary{outline:1px solid transparent}.components-button.is-secondary:active:not(:disabled),.components-button.is-tertiary:active:not(:disabled){background:#ddd;box-shadow:none;color:var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:hover:not(:disabled),.components-button.is-tertiary:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);color:var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true],.components-button.is-secondary[aria-disabled=true]:hover,.components-button.is-tertiary:disabled,.components-button.is-tertiary[aria-disabled=true],.components-button.is-tertiary[aria-disabled=true]:hover{background:#eaeaea;box-shadow:none;color:#828282;opacity:1;outline:none;transform:none}.components-button.is-secondary{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-button.is-secondary,.components-button.is-tertiary{background:transparent;color:var(--wp-admin-theme-color);white-space:nowrap}.components-button.is-tertiary{padding:6px}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-destructive{box-shadow:inset 0 0 0 1px #cc1818;color:#cc1818}.components-button.is-destructive:hover:not(:disabled){box-shadow:inset 0 0 0 1px #710d0d;color:#710d0d}.components-button.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button.is-destructive:active:not(:disabled){background:#ccc}.components-button.is-destructive.is-primary{background:#cc1818;box-shadow:inset 0 0 0 1px #cc1818;color:#fff}.components-button.is-destructive.is-primary:hover:not(:disabled){background:#710d0d;box-shadow:inset 0 0 0 1px #710d0d;color:#fff}.components-button.is-link{background:none;border:0;border-radius:0;box-shadow:none;color:#0073aa;height:auto;margin:0;outline:none;padding:0;text-align:left;text-decoration:underline;transition-duration:.05s;transition-property:border,background,color;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.components-button.is-link{transition-delay:0s;transition-duration:0s}}.components-button.is-link:active:not(:disabled),.components-button.is-link:hover:not(:disabled){box-shadow:none;color:#00a0d2}.components-button.is-link:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 var(--wp-admin-border-width-focus) 1px rgba(30,140,190,.8);color:#124964}.components-button.is-link.is-destructive{color:#cc1818}.components-button.is-link.is-destructive:active:not(:disabled),.components-button.is-link.is-destructive:hover:not(:disabled){background:none;color:#710d0d}.components-button.is-link.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button:not([aria-disabled=true]):active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button.is-busy,.components-button.is-secondary.is-busy,.components-button.is-secondary.is-busy:disabled,.components-button.is-secondary.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-image:linear-gradient(-45deg,#fafafa 33%,#e0e0e0 0,#e0e0e0 70%,#fafafa 0);background-size:100px 100%;opacity:1}.components-button.is-small{font-size:11px;height:24px;line-height:22px;padding:0 8px}.components-button.is-small.has-icon:not(.has-text){padding:0 8px;width:24px}.components-button.has-icon{justify-content:center;min-width:36px;padding:6px}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto;margin-left:2px;margin-right:10px}.components-button.has-icon.has-text{justify-content:left}.components-button.has-icon.has-text svg{margin-right:8px}.components-button.is-pressed{background:#1e1e1e;color:#fff}.components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.components-button.is-pressed:hover:not(:disabled){background:#1e1e1e;color:#fff}.components-button svg{fill:currentColor;outline:none}.components-button .components-visually-hidden{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{align-items:center;border-bottom:1px solid #ddd;border-top:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding:0 16px}.components-panel__header h2{color:inherit;font-size:inherit;margin:0}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;font-size:inherit;margin-bottom:0;margin-top:0;padding:0;transition:background .1s ease-in-out}@media(prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-delay:0s;transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{border:none;box-shadow:none;color:#1e1e1e;font-weight:500;height:auto;outline:none;padding:16px;position:relative;text-align:left;transition:background .1s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-delay:0s;transition-duration:0s}}.components-panel__body-toggle.components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-panel__body-toggle.components-button .components-panel__arrow{fill:currentColor;color:#1e1e1e;position:absolute;right:16px;top:50%;transform:translateY(-50%);transition:color .1s ease-in-out}@media(prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-delay:0s;transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{-ms-filter:fliph;filter:FlipH;margin-top:-10px;transform:scaleX(-1)}.components-panel__icon{color:#757575;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{align-items:center;display:flex;justify-content:space-between;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{flex-shrink:0;margin-right:12px;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.components-button.is-primary.is-destructive:disabled{color:hsla(0,0%,100%,.4)}.components-button.is-tertiary.is-destructive,.components-button.is-tertiary.is-destructive:hover:not(:disabled){box-shadow:none}.components-button.is-link.is-destructive:focus{box-shadow:none;color:#cc1818}.components-button.is-link.is-destructive:focus:not(:disabled){color:#cc1818}.components-button.is-link{text-decoration:none}.components-button.components-panel__body-toggle{padding-right:48px}.components-radio-control__input[type=radio]:checked:before{border:none}.components-input-control__suffix{margin-right:8px}.components-modal__screen-overlay{align-items:center;display:flex;justify-content:center}@media(min-width:600px){.components-modal__frame{bottom:0;left:0;position:relative;right:0;top:0;transform:none}}.gla-full-content #wpbody{margin-top:0!important}.gla-full-content .woocommerce-layout{padding-top:0}.gla-full-content .woocommerce-layout .woocommerce-layout__header{visibility:hidden}.gla-full-content .woocommerce-layout .woocommerce-layout__header-wrapper>:not(.woocommerce-navigation),.gla-full-content .woocommerce-layout .woocommerce-layout__notice-list,.gla-full-content .woocommerce-layout .woocommerce-store-alerts{display:none}.gla-full-content .woocommerce-layout .woocommerce-layout__primary{margin:0}.gla-full-content .woocommerce-layout .woocommerce-layout__primary .woocommerce-layout__main{padding:0}.gla-full-content.has-woocommerce-navigation.is-wc-nav-expanded .woocommerce-layout__header{display:block;width:240px}@media(min-width:600px)and (max-width:782px){.gla-full-page.is-wp-toolbar-disabled:not(.has-woocommerce-navigation){margin-top:-46px}}.gla-full-page .woocommerce-layout{padding-top:0}.gla-full-page .woocommerce-layout .woocommerce-layout__primary{margin:0}.gla-full-page .woocommerce-layout .woocommerce-layout__primary .woocommerce-layout__main{padding:0}
|
2 |
.woocommerce-marketing-google-get-started-page{margin:0 auto;max-width:824px}.woocommerce-marketing-google-get-started-page>*{margin-bottom:calc(var(--main-gap)*1.5)}.woocommerce-marketing-google-get-started-page .gla-get-started-notice{margin:0 0 32px}
|
3 |
.gla-get-started-benefits-card .components-card__body.components-card__body{display:flex;padding:0}@media(max-width:600px){.gla-get-started-benefits-card .components-card__body.components-card__body{flex-direction:column}}.gla-get-started-benefits-card .gla-get-started-benefits-card__image{flex:100%}.gla-get-started-benefits-card .gla-get-started-benefits-card__image>img{-o-object-fit:cover;object-fit:cover}.gla-get-started-benefits-card .components-flex__item{display:flex;flex:100%;flex-direction:column;gap:16px;justify-content:center;padding:40px}@media(max-width:600px){.gla-get-started-benefits-card .components-flex__item{padding:24px;text-align:center}}.gla-get-started-benefits-card .gla-get-started-benefits-card__description{font-size:14px;line-height:18px}.gla-get-started-benefits-card .gla-get-started-benefits-card__hint{color:#949494;font-size:12px;line-height:16px}@media(max-width:600px){.gla-get-started-benefits-card .gla-get-started-benefits-card__title{font-size:20px}}
|
4 |
.gla-get-started-customer-quotes-card .components-flex{align-items:stretch;gap:28px;padding:0 62px 46px}.gla-get-started-customer-quotes-card .components-flex.components-card__header{flex-direction:column;padding:46px 112px 40px;text-align:center}@media(max-width:600px){.gla-get-started-customer-quotes-card .components-flex.components-card__header{padding:24px}}.gla-get-started-customer-quotes-card .components-flex__block{background-color:#f6f7f7;display:flex;flex-direction:column;gap:10px;padding:20px}@media(max-width:600px){.gla-get-started-customer-quotes-card .components-flex{flex-direction:column;gap:24px;padding:0 24px 24px}}.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__content{font-size:14px;line-height:20px}.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__name{color:#949494;font-size:12px;line-height:16px}@media(max-width:600px){.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__title{font-size:20px;line-height:28px}}
|
1 |
+
:root{--wp-admin-theme-color:#007cba;--wp-admin-theme-color--rgb:0,124,186;--wp-admin-theme-color-darker-10:#006ba1;--wp-admin-theme-color-darker-10--rgb:0,107,161;--wp-admin-theme-color-darker-20:#005a87;--wp-admin-theme-color-darker-20--rgb:0,90,135;--wp-admin-border-width-focus:2px}@media(-webkit-min-device-pixel-ratio:2),(min-resolution:192dpi){:root{--wp-admin-border-width-focus:1.5px}}.components-button{align-items:center;-webkit-appearance:none;background:none;border:0;border-radius:2px;box-sizing:border-box;color:#1e1e1e;cursor:pointer;display:inline-flex;font-size:13px;height:36px;margin:0;padding:6px 12px;text-decoration:none;transition:box-shadow .1s linear}@media(prefers-reduced-motion:reduce){.components-button{transition-delay:0s;transition-duration:0s}}.components-button:hover,.components-button[aria-expanded=true]{color:var(--wp-admin-theme-color)}.components-button[aria-disabled=true]:hover{color:initial}.components-button:focus:not(:disabled){box-shadow:0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:3px solid transparent}.components-button.is-primary{background:var(--wp-admin-theme-color);color:#fff;outline:1px solid transparent;text-decoration:none;text-shadow:none;white-space:nowrap}.components-button.is-primary:hover:not(:disabled){background:var(--wp-admin-theme-color-darker-10);color:#fff}.components-button.is-primary:active:not(:disabled){background:var(--wp-admin-theme-color-darker-20);border-color:var(--wp-admin-theme-color-darker-20);color:#fff}.components-button.is-primary:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-button.is-primary:disabled,.components-button.is-primary:disabled:active:enabled,.components-button.is-primary[aria-disabled=true],.components-button.is-primary[aria-disabled=true]:active:enabled,.components-button.is-primary[aria-disabled=true]:enabled{background:var(--wp-admin-theme-color);border-color:var(--wp-admin-theme-color);color:hsla(0,0%,100%,.4);opacity:1;outline:none}.components-button.is-primary:disabled:active:enabled:focus:enabled,.components-button.is-primary:disabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:active:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:enabled:focus:enabled,.components-button.is-primary[aria-disabled=true]:focus:enabled{box-shadow:0 0 0 1px #fff,0 0 0 3px var(--wp-admin-theme-color)}.components-button.is-primary.is-busy,.components-button.is-primary.is-busy:disabled,.components-button.is-primary.is-busy[aria-disabled=true]{background-image:linear-gradient(-45deg,var(--wp-admin-theme-color) 33%,var(--wp-admin-theme-color-darker-20) 33%,var(--wp-admin-theme-color-darker-20) 70%,var(--wp-admin-theme-color) 70%);background-size:100px 100%;border-color:var(--wp-admin-theme-color);color:#fff}.components-button.is-secondary,.components-button.is-tertiary{outline:1px solid transparent}.components-button.is-secondary:active:not(:disabled),.components-button.is-tertiary:active:not(:disabled){background:#ddd;box-shadow:none;color:var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:hover:not(:disabled),.components-button.is-tertiary:hover:not(:disabled){box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color-darker-10);color:var(--wp-admin-theme-color-darker-10)}.components-button.is-secondary:disabled,.components-button.is-secondary[aria-disabled=true],.components-button.is-secondary[aria-disabled=true]:hover,.components-button.is-tertiary:disabled,.components-button.is-tertiary[aria-disabled=true],.components-button.is-tertiary[aria-disabled=true]:hover{background:#eaeaea;box-shadow:none;color:#828282;opacity:1;outline:none;transform:none}.components-button.is-secondary{box-shadow:inset 0 0 0 1px var(--wp-admin-theme-color);outline:1px solid transparent}.components-button.is-secondary,.components-button.is-tertiary{background:transparent;color:var(--wp-admin-theme-color);white-space:nowrap}.components-button.is-tertiary{padding:6px}.components-button.is-tertiary .dashicon{display:inline-block;flex:0 0 auto}.components-button.is-destructive{box-shadow:inset 0 0 0 1px #cc1818;color:#cc1818}.components-button.is-destructive:hover:not(:disabled){box-shadow:inset 0 0 0 1px #710d0d;color:#710d0d}.components-button.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button.is-destructive:active:not(:disabled){background:#ccc}.components-button.is-destructive.is-primary{background:#cc1818;box-shadow:inset 0 0 0 1px #cc1818;color:#fff}.components-button.is-destructive.is-primary:hover:not(:disabled){background:#710d0d;box-shadow:inset 0 0 0 1px #710d0d;color:#fff}.components-button.is-link{background:none;border:0;border-radius:0;box-shadow:none;color:#0073aa;height:auto;margin:0;outline:none;padding:0;text-align:left;text-decoration:underline;transition-duration:.05s;transition-property:border,background,color;transition-timing-function:ease-in-out}@media(prefers-reduced-motion:reduce){.components-button.is-link{transition-delay:0s;transition-duration:0s}}.components-button.is-link:active:not(:disabled),.components-button.is-link:hover:not(:disabled){box-shadow:none;color:#00a0d2}.components-button.is-link:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 var(--wp-admin-border-width-focus) 1px rgba(30,140,190,.8);color:#124964}.components-button.is-link.is-destructive{color:#cc1818}.components-button.is-link.is-destructive:active:not(:disabled),.components-button.is-link.is-destructive:hover:not(:disabled){background:none;color:#710d0d}.components-button.is-link.is-destructive:focus:not(:disabled){color:var(--wp-admin-theme-color)}.components-button:not([aria-disabled=true]):active{color:inherit}.components-button:disabled,.components-button[aria-disabled=true]{cursor:default;opacity:.3}.components-button.is-busy,.components-button.is-secondary.is-busy,.components-button.is-secondary.is-busy:disabled,.components-button.is-secondary.is-busy[aria-disabled=true]{animation:components-button__busy-animation 2.5s linear infinite;background-image:linear-gradient(-45deg,#fafafa 33%,#e0e0e0 0,#e0e0e0 70%,#fafafa 0);background-size:100px 100%;opacity:1}.components-button.is-small{font-size:11px;height:24px;line-height:22px;padding:0 8px}.components-button.is-small.has-icon:not(.has-text){padding:0 8px;width:24px}.components-button.has-icon{justify-content:center;min-width:36px;padding:6px}.components-button.has-icon .dashicon{display:inline-block;flex:0 0 auto;margin-left:2px;margin-right:10px}.components-button.has-icon.has-text{justify-content:left}.components-button.has-icon.has-text svg{margin-right:8px}.components-button.is-pressed{background:#1e1e1e;color:#fff}.components-button.is-pressed:focus:not(:disabled){box-shadow:inset 0 0 0 1px #fff,0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color);outline:2px solid transparent}.components-button.is-pressed:hover:not(:disabled){background:#1e1e1e;color:#fff}.components-button svg{fill:currentColor;outline:none}.components-button .components-visually-hidden{height:auto}@keyframes components-button__busy-animation{0%{background-position:200px 0}}.components-panel{background:#fff;border:1px solid #e0e0e0}.components-panel>.components-panel__body:first-child,.components-panel>.components-panel__header:first-child{margin-top:-1px}.components-panel>.components-panel__body:last-child,.components-panel>.components-panel__header:last-child{border-bottom-width:0}.components-panel+.components-panel{margin-top:-1px}.components-panel__body{border-bottom:1px solid #e0e0e0;border-top:1px solid #e0e0e0}.components-panel__body h3{margin:0 0 .5em}.components-panel__body.is-opened{padding:16px}.components-panel__header{align-items:center;border-bottom:1px solid #ddd;border-top:1px solid #ddd;display:flex;height:48px;justify-content:space-between;padding:0 16px}.components-panel__header h2{color:inherit;font-size:inherit;margin:0}.components-panel__body+.components-panel__body,.components-panel__body+.components-panel__header,.components-panel__header+.components-panel__body,.components-panel__header+.components-panel__header{margin-top:-1px}.components-panel__body>.components-panel__body-title{display:block;font-size:inherit;margin-bottom:0;margin-top:0;padding:0;transition:background .1s ease-in-out}@media(prefers-reduced-motion:reduce){.components-panel__body>.components-panel__body-title{transition-delay:0s;transition-duration:0s}}.components-panel__body.is-opened>.components-panel__body-title{margin:-16px -16px 5px}.components-panel__body>.components-panel__body-title:hover{background:#f0f0f0;border:none}.components-panel__body-toggle.components-button{border:none;box-shadow:none;color:#1e1e1e;font-weight:500;height:auto;outline:none;padding:16px;position:relative;text-align:left;transition:background .1s ease-in-out;width:100%}@media(prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button{transition-delay:0s;transition-duration:0s}}.components-panel__body-toggle.components-button:focus{border-radius:0;box-shadow:inset 0 0 0 var(--wp-admin-border-width-focus) var(--wp-admin-theme-color)}.components-panel__body-toggle.components-button .components-panel__arrow{fill:currentColor;color:#1e1e1e;position:absolute;right:16px;top:50%;transform:translateY(-50%);transition:color .1s ease-in-out}@media(prefers-reduced-motion:reduce){.components-panel__body-toggle.components-button .components-panel__arrow{transition-delay:0s;transition-duration:0s}}body.rtl .components-panel__body-toggle.components-button .dashicons-arrow-right{-ms-filter:fliph;filter:FlipH;margin-top:-10px;transform:scaleX(-1)}.components-panel__icon{color:#757575;margin:-2px 0 -2px 6px}.components-panel__body-toggle-icon{margin-right:-5px}.components-panel__color-title{float:left;height:19px}.components-panel__row{align-items:center;display:flex;justify-content:space-between;margin-top:8px;min-height:36px}.components-panel__row select{min-width:0}.components-panel__row label{flex-shrink:0;margin-right:12px;max-width:75%}.components-panel__row:empty,.components-panel__row:first-of-type{margin-top:0}.components-panel .circle-picker{padding-bottom:20px}.gla-admin-page .PresetDateRangePicker_panel{padding:0 22px 11px}.gla-admin-page .PresetDateRangePicker_button{background:0 0;border:2px solid #00a699;box-sizing:border-box;color:#00a699;cursor:pointer;font:inherit;font-weight:700;height:100%;line-height:normal;margin-right:8px;overflow:visible;padding:4px 12px;position:relative;text-align:center}.gla-admin-page .PresetDateRangePicker_button:active{outline:0}.gla-admin-page .PresetDateRangePicker_button__selected{background:#00a699;color:#fff}.gla-admin-page .SingleDatePickerInput{background-color:#fff;display:inline-block}.gla-admin-page .SingleDatePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.gla-admin-page .SingleDatePickerInput__rtl{direction:rtl}.gla-admin-page .SingleDatePickerInput__disabled{background-color:#f2f2f2}.gla-admin-page .SingleDatePickerInput__block{display:block}.gla-admin-page .SingleDatePickerInput__showClearDate{padding-right:30px}.gla-admin-page .SingleDatePickerInput_clearDate{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.gla-admin-page .SingleDatePickerInput_clearDate__default:focus,.gla-admin-page .SingleDatePickerInput_clearDate__default:hover{background:#dbdbdb;border-radius:50%}.gla-admin-page .SingleDatePickerInput_clearDate__small{padding:6px}.gla-admin-page .SingleDatePickerInput_clearDate__hide{visibility:hidden}.gla-admin-page .SingleDatePickerInput_clearDate_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.gla-admin-page .SingleDatePickerInput_clearDate_svg__small{height:9px}.gla-admin-page .SingleDatePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.gla-admin-page .SingleDatePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.gla-admin-page .SingleDatePicker{display:inline-block;position:relative}.gla-admin-page .SingleDatePicker__block{display:block}.gla-admin-page .SingleDatePicker_picker{background-color:#fff;position:absolute;z-index:1}.gla-admin-page .SingleDatePicker_picker__rtl{direction:rtl}.gla-admin-page .SingleDatePicker_picker__directionLeft{left:0}.gla-admin-page .SingleDatePicker_picker__directionRight{right:0}.gla-admin-page .SingleDatePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.gla-admin-page .SingleDatePicker_picker__fullScreenPortal{background-color:#fff}.gla-admin-page .SingleDatePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.gla-admin-page .SingleDatePicker_closeButton:focus,.gla-admin-page .SingleDatePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.gla-admin-page .SingleDatePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.gla-admin-page .DayPickerKeyboardShortcuts_buttonReset{background:0 0;border:0;border-radius:0;color:inherit;cursor:pointer;font:inherit;font-size:14px;line-height:normal;overflow:visible;padding:0}.gla-admin-page .DayPickerKeyboardShortcuts_buttonReset:active{outline:0}.gla-admin-page .DayPickerKeyboardShortcuts_show{position:absolute;width:22px;z-index:2}.gla-admin-page .DayPickerKeyboardShortcuts_show__bottomRight{border-right:33px solid #00a699;border-top:26px solid transparent;bottom:0;right:0}.gla-admin-page .DayPickerKeyboardShortcuts_show__bottomRight:hover{border-right:33px solid #008489}.gla-admin-page .DayPickerKeyboardShortcuts_show__topRight{border-bottom:26px solid transparent;border-right:33px solid #00a699;right:0;top:0}.gla-admin-page .DayPickerKeyboardShortcuts_show__topRight:hover{border-right:33px solid #008489}.gla-admin-page .DayPickerKeyboardShortcuts_show__topLeft{border-bottom:26px solid transparent;border-left:33px solid #00a699;left:0;top:0}.gla-admin-page .DayPickerKeyboardShortcuts_show__topLeft:hover{border-left:33px solid #008489}.gla-admin-page .DayPickerKeyboardShortcuts_showSpan{color:#fff;position:absolute}.gla-admin-page .DayPickerKeyboardShortcuts_showSpan__bottomRight{bottom:0;right:-28px}.gla-admin-page .DayPickerKeyboardShortcuts_showSpan__topRight{right:-28px;top:1px}.gla-admin-page .DayPickerKeyboardShortcuts_showSpan__topLeft{left:-28px;top:1px}.gla-admin-page .DayPickerKeyboardShortcuts_panel{background:#fff;border:1px solid #dbdbdb;border-radius:2px;bottom:0;left:0;margin:33px;overflow:auto;padding:22px;position:absolute;right:0;top:0;z-index:2}.gla-admin-page .DayPickerKeyboardShortcuts_title{font-size:16px;font-weight:700;margin:0}.gla-admin-page .DayPickerKeyboardShortcuts_list{font-size:14px;list-style:none;padding:0}.gla-admin-page .DayPickerKeyboardShortcuts_close{position:absolute;right:22px;top:22px;z-index:2}.gla-admin-page .DayPickerKeyboardShortcuts_close:active{outline:0}.gla-admin-page .DayPickerKeyboardShortcuts_closeSvg{fill:#cacccd;height:15px;width:15px}.gla-admin-page .DayPickerKeyboardShortcuts_closeSvg:focus,.gla-admin-page .DayPickerKeyboardShortcuts_closeSvg:hover{fill:#82888a}.gla-admin-page .CalendarDay{box-sizing:border-box;cursor:pointer;font-size:14px;text-align:center}.gla-admin-page .CalendarDay:active{outline:0}.gla-admin-page .CalendarDay__defaultCursor{cursor:default}.gla-admin-page .CalendarDay__default{background:#fff;border:1px solid #e4e7e7;color:#484848}.gla-admin-page .CalendarDay__default:hover{background:#e4e7e7;border:1px double #e4e7e7;color:inherit}.gla-admin-page .CalendarDay__hovered_offset{background:#f4f5f5;border:1px double #e4e7e7;color:inherit}.gla-admin-page .CalendarDay__outside{background:#fff;border:0;color:#484848}.gla-admin-page .CalendarDay__outside:hover{border:0}.gla-admin-page .CalendarDay__blocked_minimum_nights{background:#fff;border:1px solid #eceeee;color:#cacccd}.gla-admin-page .CalendarDay__blocked_minimum_nights:active,.gla-admin-page .CalendarDay__blocked_minimum_nights:hover{background:#fff;color:#cacccd}.gla-admin-page .CalendarDay__highlighted_calendar{background:#ffe8bc;color:#484848}.gla-admin-page .CalendarDay__highlighted_calendar:active,.gla-admin-page .CalendarDay__highlighted_calendar:hover{background:#ffce71;color:#484848}.gla-admin-page .CalendarDay__selected_span{background:#66e2da;border:1px solid #33dacd;color:#fff}.gla-admin-page .CalendarDay__selected_span:active,.gla-admin-page .CalendarDay__selected_span:hover{background:#33dacd;border:1px solid #33dacd;color:#fff}.gla-admin-page .CalendarDay__last_in_range{border-right:#00a699}.gla-admin-page .CalendarDay__selected,.gla-admin-page .CalendarDay__selected:active,.gla-admin-page .CalendarDay__selected:hover{background:#00a699;border:1px solid #00a699;color:#fff}.gla-admin-page .CalendarDay__hovered_span,.gla-admin-page .CalendarDay__hovered_span:hover{background:#b2f1ec;border:1px solid #80e8e0;color:#007a87}.gla-admin-page .CalendarDay__hovered_span:active{background:#80e8e0;border:1px solid #80e8e0;color:#007a87}.gla-admin-page .CalendarDay__blocked_calendar,.gla-admin-page .CalendarDay__blocked_calendar:active,.gla-admin-page .CalendarDay__blocked_calendar:hover{background:#cacccd;border:1px solid #cacccd;color:#82888a}.gla-admin-page .CalendarDay__blocked_out_of_range,.gla-admin-page .CalendarDay__blocked_out_of_range:active,.gla-admin-page .CalendarDay__blocked_out_of_range:hover{background:#fff;border:1px solid #e4e7e7;color:#cacccd}.gla-admin-page .CalendarMonth{background:#fff;text-align:center;-webkit-user-select:none;user-select:none;vertical-align:top}.gla-admin-page .CalendarMonth_table{border-collapse:collapse;border-spacing:0}.gla-admin-page .CalendarMonth_verticalSpacing{border-collapse:separate}.gla-admin-page .CalendarMonth_caption{caption-side:top;color:#484848;font-size:18px;padding-bottom:37px;padding-top:22px;text-align:center}.gla-admin-page .CalendarMonth_caption__verticalScrollable{padding-bottom:7px;padding-top:12px}.gla-admin-page .CalendarMonthGrid{background:#fff;text-align:left;z-index:0}.gla-admin-page .CalendarMonthGrid__animating{z-index:1}.gla-admin-page .CalendarMonthGrid__horizontal{left:0;position:absolute}.gla-admin-page .CalendarMonthGrid__vertical{margin:0 auto}.gla-admin-page .CalendarMonthGrid__vertical_scrollable{margin:0 auto;overflow-y:scroll}.gla-admin-page .CalendarMonthGrid_month__horizontal{display:inline-block;min-height:100%;vertical-align:top}.gla-admin-page .CalendarMonthGrid_month__hideForAnimation{opacity:0;pointer-events:none;position:absolute;z-index:-1}.gla-admin-page .CalendarMonthGrid_month__hidden{visibility:hidden}.gla-admin-page .DayPickerNavigation{position:relative;z-index:2}.gla-admin-page .DayPickerNavigation__horizontal{height:0}.gla-admin-page .DayPickerNavigation__verticalDefault{bottom:0;height:52px;left:0;position:absolute;width:100%}.gla-admin-page .DayPickerNavigation__verticalScrollableDefault{position:relative}.gla-admin-page .DayPickerNavigation_button{border:0;cursor:pointer;margin:0;padding:0;-webkit-user-select:none;user-select:none}.gla-admin-page .DayPickerNavigation_button__default{background-color:#fff;border:1px solid #e4e7e7;color:#757575}.gla-admin-page .DayPickerNavigation_button__default:focus,.gla-admin-page .DayPickerNavigation_button__default:hover{border:1px solid #c4c4c4}.gla-admin-page .DayPickerNavigation_button__default:active{background:#f2f2f2}.gla-admin-page .DayPickerNavigation_button__horizontalDefault{border-radius:3px;line-height:.78;padding:6px 9px;position:absolute;top:18px}.gla-admin-page .DayPickerNavigation_leftButton__horizontalDefault{left:22px}.gla-admin-page .DayPickerNavigation_rightButton__horizontalDefault{right:22px}.gla-admin-page .DayPickerNavigation_button__verticalDefault{background:#fff;box-shadow:0 0 5px 2px rgba(0,0,0,.1);display:inline-block;height:100%;padding:5px;position:relative;width:50%}.gla-admin-page .DayPickerNavigation_nextButton__verticalDefault{border-left:0}.gla-admin-page .DayPickerNavigation_nextButton__verticalScrollableDefault{width:100%}.gla-admin-page .DayPickerNavigation_svg__horizontal{fill:#82888a;display:block;height:19px;width:19px}.gla-admin-page .DayPickerNavigation_svg__vertical{fill:#484848;display:block;height:42px;width:42px}.gla-admin-page .DayPicker{background:#fff;position:relative;text-align:left}.gla-admin-page .DayPicker__horizontal{background:#fff}.gla-admin-page .DayPicker__verticalScrollable{height:100%}.gla-admin-page .DayPicker__hidden{visibility:hidden}.gla-admin-page .DayPicker__withBorder{border-radius:3px;box-shadow:0 2px 6px rgba(0,0,0,.05),0 0 0 1px rgba(0,0,0,.07)}.gla-admin-page .DayPicker_portal__horizontal{box-shadow:none;left:50%;position:absolute;top:50%}.gla-admin-page .DayPicker_portal__vertical{position:static}.gla-admin-page .DayPicker_focusRegion{outline:0}.gla-admin-page .DayPicker_calendarInfo__horizontal,.gla-admin-page .DayPicker_wrapper__horizontal{display:inline-block;vertical-align:top}.gla-admin-page .DayPicker_weekHeaders{position:relative}.gla-admin-page .DayPicker_weekHeaders__horizontal{margin-left:13px}.gla-admin-page .DayPicker_weekHeader{color:#757575;padding:0!important;position:absolute;text-align:left;top:62px;z-index:2}.gla-admin-page .DayPicker_weekHeader__vertical{left:50%}.gla-admin-page .DayPicker_weekHeader__verticalScrollable{background:#fff;border-bottom:1px solid #dbdbdb;display:table-row;left:0;margin-left:0;text-align:center;top:0;width:100%}.gla-admin-page .DayPicker_weekHeader_ul{font-size:14px;list-style:none;margin:1px 0;padding-left:0;padding-right:0}.gla-admin-page .DayPicker_weekHeader_li{display:inline-block;margin:0 1px;text-align:center}.gla-admin-page .DayPicker_transitionContainer{border-radius:3px;overflow:hidden;position:relative}.gla-admin-page .DayPicker_transitionContainer__horizontal{transition:height .2s ease-in-out}.gla-admin-page .DayPicker_transitionContainer__vertical{width:100%}.gla-admin-page .DayPicker_transitionContainer__verticalScrollable{bottom:0;height:100%;left:0;overflow-y:scroll;padding-top:20px;position:absolute;right:0;top:0}.gla-admin-page .DateInput{background:#fff;display:inline-block;margin:0;padding:0;position:relative;vertical-align:middle;width:130px}.gla-admin-page .DateInput__small{width:97px}.gla-admin-page .DateInput__block{width:100%}.gla-admin-page .DateInput__disabled{background:#f2f2f2;color:#dbdbdb}.gla-admin-page .DateInput_input{background-color:#fff;border:0;border-bottom:2px solid transparent;border-radius:0;color:#484848;font-size:19px;font-weight:200;line-height:24px;padding:11px 11px 9px;width:100%}.gla-admin-page .DateInput_input__small{font-size:15px;letter-spacing:.2px;line-height:18px;padding:7px 7px 5px}.gla-admin-page .DateInput_input__regular{font-weight:auto}.gla-admin-page .DateInput_input__readOnly{-webkit-user-select:none;user-select:none}.gla-admin-page .DateInput_input__focused{background:#fff;border:0;border-bottom:2px solid #008489;outline:0}.gla-admin-page .DateInput_input__disabled{background:#f2f2f2;font-style:italic}.gla-admin-page .DateInput_screenReaderMessage{clip:rect(0,0,0,0);border:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.gla-admin-page .DateInput_fang{height:10px;left:22px;position:absolute;width:20px;z-index:2}.gla-admin-page .DateInput_fangShape{fill:#fff}.gla-admin-page .DateInput_fangStroke{stroke:#dbdbdb;fill:transparent}.gla-admin-page .DateRangePickerInput{background-color:#fff;display:inline-block}.gla-admin-page .DateRangePickerInput__disabled{background:#f2f2f2}.gla-admin-page .DateRangePickerInput__withBorder{border:1px solid #dbdbdb;border-radius:2px}.gla-admin-page .DateRangePickerInput__rtl{direction:rtl}.gla-admin-page .DateRangePickerInput__block{display:block}.gla-admin-page .DateRangePickerInput__showClearDates{padding-right:30px}.gla-admin-page .DateRangePickerInput_arrow{color:#484848;display:inline-block;vertical-align:middle}.gla-admin-page .DateRangePickerInput_arrow_svg{fill:#484848;height:24px;vertical-align:middle;width:24px}.gla-admin-page .DateRangePickerInput_clearDates{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;margin:0 10px 0 5px;overflow:visible;padding:10px;position:absolute;right:0;top:50%;transform:translateY(-50%)}.gla-admin-page .DateRangePickerInput_clearDates__small{padding:6px}.gla-admin-page .DateRangePickerInput_clearDates_default:focus,.gla-admin-page .DateRangePickerInput_clearDates_default:hover{background:#dbdbdb;border-radius:50%}.gla-admin-page .DateRangePickerInput_clearDates__hide{visibility:hidden}.gla-admin-page .DateRangePickerInput_clearDates_svg{fill:#82888a;height:12px;vertical-align:middle;width:15px}.gla-admin-page .DateRangePickerInput_clearDates_svg__small{height:9px}.gla-admin-page .DateRangePickerInput_calendarIcon{background:0 0;border:0;color:inherit;cursor:pointer;display:inline-block;font:inherit;line-height:normal;margin:0 5px 0 10px;overflow:visible;padding:10px;vertical-align:middle}.gla-admin-page .DateRangePickerInput_calendarIcon_svg{fill:#82888a;height:15px;vertical-align:middle;width:14px}.gla-admin-page .DateRangePicker{display:inline-block;position:relative}.gla-admin-page .DateRangePicker__block{display:block}.gla-admin-page .DateRangePicker_picker{background-color:#fff;position:absolute;z-index:1}.gla-admin-page .DateRangePicker_picker__rtl{direction:rtl}.gla-admin-page .DateRangePicker_picker__directionLeft{left:0}.gla-admin-page .DateRangePicker_picker__directionRight{right:0}.gla-admin-page .DateRangePicker_picker__portal{background-color:rgba(0,0,0,.3);height:100%;left:0;position:fixed;top:0;width:100%}.gla-admin-page .DateRangePicker_picker__fullScreenPortal{background-color:#fff}.gla-admin-page .DateRangePicker_closeButton{background:0 0;border:0;color:inherit;cursor:pointer;font:inherit;line-height:normal;overflow:visible;padding:15px;position:absolute;right:0;top:0;z-index:2}.gla-admin-page .DateRangePicker_closeButton:focus,.gla-admin-page .DateRangePicker_closeButton:hover{color:#b0b3b4;text-decoration:none}.gla-admin-page .DateRangePicker_closeButton_svg{fill:#cacccd;height:15px;width:15px}.components-button.is-primary.is-destructive:disabled{color:hsla(0,0%,100%,.4)}.components-button.is-tertiary.is-destructive,.components-button.is-tertiary.is-destructive:hover:not(:disabled){box-shadow:none}.components-button.is-link.is-destructive:focus{box-shadow:none;color:#cc1818}.components-button.is-link.is-destructive:focus:not(:disabled){color:#cc1818}.components-button.is-link{text-decoration:none}.components-button.components-panel__body-toggle{padding-right:48px}.components-radio-control__input[type=radio]:checked:before{border:none}.components-input-control__suffix{margin-right:8px}.components-modal__screen-overlay{align-items:center;display:flex;justify-content:center}@media(min-width:600px){.components-modal__frame{bottom:0;left:0;position:relative;right:0;top:0;transform:none}}.gla-full-content #wpbody{margin-top:0!important}.gla-full-content .woocommerce-layout{padding-top:0}.gla-full-content .woocommerce-layout .woocommerce-layout__header{visibility:hidden}.gla-full-content .woocommerce-layout .woocommerce-layout__header-wrapper>:not(.woocommerce-navigation),.gla-full-content .woocommerce-layout .woocommerce-layout__notice-list,.gla-full-content .woocommerce-layout .woocommerce-store-alerts{display:none}.gla-full-content .woocommerce-layout .woocommerce-layout__primary{margin:0}.gla-full-content .woocommerce-layout .woocommerce-layout__primary .woocommerce-layout__main{padding:0}.gla-full-content.has-woocommerce-navigation.is-wc-nav-expanded .woocommerce-layout__header{display:block;width:240px}@media(min-width:600px)and (max-width:782px){.gla-full-page.is-wp-toolbar-disabled:not(.has-woocommerce-navigation){margin-top:-46px}}.gla-full-page .woocommerce-layout{padding-top:0}.gla-full-page .woocommerce-layout .woocommerce-layout__primary{margin:0}.gla-full-page .woocommerce-layout .woocommerce-layout__primary .woocommerce-layout__main{padding:0}
|
2 |
.woocommerce-marketing-google-get-started-page{margin:0 auto;max-width:824px}.woocommerce-marketing-google-get-started-page>*{margin-bottom:calc(var(--main-gap)*1.5)}.woocommerce-marketing-google-get-started-page .gla-get-started-notice{margin:0 0 32px}
|
3 |
.gla-get-started-benefits-card .components-card__body.components-card__body{display:flex;padding:0}@media(max-width:600px){.gla-get-started-benefits-card .components-card__body.components-card__body{flex-direction:column}}.gla-get-started-benefits-card .gla-get-started-benefits-card__image{flex:100%}.gla-get-started-benefits-card .gla-get-started-benefits-card__image>img{-o-object-fit:cover;object-fit:cover}.gla-get-started-benefits-card .components-flex__item{display:flex;flex:100%;flex-direction:column;gap:16px;justify-content:center;padding:40px}@media(max-width:600px){.gla-get-started-benefits-card .components-flex__item{padding:24px;text-align:center}}.gla-get-started-benefits-card .gla-get-started-benefits-card__description{font-size:14px;line-height:18px}.gla-get-started-benefits-card .gla-get-started-benefits-card__hint{color:#949494;font-size:12px;line-height:16px}@media(max-width:600px){.gla-get-started-benefits-card .gla-get-started-benefits-card__title{font-size:20px}}
|
4 |
.gla-get-started-customer-quotes-card .components-flex{align-items:stretch;gap:28px;padding:0 62px 46px}.gla-get-started-customer-quotes-card .components-flex.components-card__header{flex-direction:column;padding:46px 112px 40px;text-align:center}@media(max-width:600px){.gla-get-started-customer-quotes-card .components-flex.components-card__header{padding:24px}}.gla-get-started-customer-quotes-card .components-flex__block{background-color:#f6f7f7;display:flex;flex-direction:column;gap:10px;padding:20px}@media(max-width:600px){.gla-get-started-customer-quotes-card .components-flex{flex-direction:column;gap:24px;padding:0 24px 24px}}.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__content{font-size:14px;line-height:20px}.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__name{color:#949494;font-size:12px;line-height:16px}@media(max-width:600px){.gla-get-started-customer-quotes-card .gla-get-started-customer-quotes-card__title{font-size:20px;line-height:28px}}
|
js/build/index.js
CHANGED
@@ -1,43 +1,41 @@
|
|
1 |
-
(function(){var __webpack_modules__={9171:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.validateDateInputForRange=t.dateValidationMessages=t.loadLocaleData=t.getDateFormatsForInterval=t.defaultTableDateFormat=t.weekTicksThreshold=t.dayTicksThreshold=t.getChartTypeForQuery=t.getIntervalForQuery=t.getAllowedIntervalsForQuery=t.getPreviousDate=t.getDateDifferenceInDays=t.getCurrentDates=t.getDateParamsFromQuery=t.getCurrentPeriod=t.getLastPeriod=t.getStoreTimeZoneMoment=t.getRangeLabel=t.toMoment=t.appendTimestamp=t.periods=t.presetValues=t.defaultDateTimeFormat=t.isoDateFormat=void 0;const o=r(n(6292)),a=n(2819),i=n(5736),s=n(129);function l(e,n){if(o.default.isMoment(n))return n.isValid()?n:null;if("string"==typeof n){const r=o.default(n,[t.isoDateFormat,e],!0);return r.isValid()?r:null}throw new Error("toMoment requires a string to be passed as an argument")}function c(e,t){const n=e.year()===t.year(),r=n&&e.month()===t.month(),o=n&&r&&e.isSame(t,"day"),a=i.__("MMM D, YYYY","woocommerce-admin");if(o)return e.format(a);if(r){const n=e.date();return e.format(a).replace(n,`${n} - ${t.date()}`)}if(n){const n=i.__("MMM D","woocommerce-admin");return`${e.format(n)} - ${t.format(a)}`}return`${e.format(a)} - ${t.format(a)}`}function u(){return window.wcSettings&&window.wcSettings.timeZone?["+","-"].includes(window.wcSettings.timeZone.charAt(0))?o.default().utcOffset(window.wcSettings.timeZone):o.default().tz(window.wcSettings.timeZone):o.default()}function d(e,t){const n=u().startOf(e).subtract(1,e),r=n.clone().endOf(e);let a,i;if("previous_period"===t)if("year"===e)a=o.default().startOf(e).subtract(2,e),i=a.clone().endOf(e);else{const e=r.diff(n,"days");i=n.clone().subtract(1,"days"),a=i.clone().subtract(e,"days")}else a=n.clone().subtract(1,"years"),i=r.clone().subtract(1,"years");return"month"===e&&(i=i.clone().endOf("month")),{primaryStart:n,primaryEnd:r,secondaryStart:a,secondaryEnd:i}}function g(e,t){const n=u().startOf(e),r=u(),o=r.diff(n,"days");let a,i;return"previous_period"===t?(a=n.clone().subtract(1,e),i=r.clone().subtract(1,e)):(a=n.clone().subtract(1,"years"),i=a.clone().add(o+1,"days").subtract(1,"seconds")),{primaryStart:n,primaryEnd:r,secondaryStart:a,secondaryEnd:i}}t.isoDateFormat="YYYY-MM-DD",t.defaultDateTimeFormat="YYYY-MM-DDTHH:mm:ss",t.presetValues=[{value:"today",label:i.__("Today","woocommerce-admin")},{value:"yesterday",label:i.__("Yesterday","woocommerce-admin")},{value:"week",label:i.__("Week to Date","woocommerce-admin")},{value:"last_week",label:i.__("Last Week","woocommerce-admin")},{value:"month",label:i.__("Month to Date","woocommerce-admin")},{value:"last_month",label:i.__("Last Month","woocommerce-admin")},{value:"quarter",label:i.__("Quarter to Date","woocommerce-admin")},{value:"last_quarter",label:i.__("Last Quarter","woocommerce-admin")},{value:"year",label:i.__("Year to Date","woocommerce-admin")},{value:"last_year",label:i.__("Last Year","woocommerce-admin")},{value:"custom",label:i.__("Custom","woocommerce-admin")}],t.periods=[{value:"previous_period",label:i.__("Previous Period","woocommerce-admin")},{value:"previous_year",label:i.__("Previous Year","woocommerce-admin")}],t.appendTimestamp=(e,n)=>{if("start"===n)return e.startOf("day").format(t.defaultDateTimeFormat);if("now"===n)return e.format(t.defaultDateTimeFormat);if("end"===n)return e.endOf("day").format(t.defaultDateTimeFormat);throw new Error("appendTimestamp requires second parameter to be either `start`, `now` or `end`")},t.toMoment=l,t.getRangeLabel=c,t.getStoreTimeZoneMoment=u,t.getLastPeriod=d,t.getCurrentPeriod=g;const p=a.memoize(((e,t,n,r)=>{switch(e){case"today":return g("day",t);case"yesterday":return d("day",t);case"week":return g("week",t);case"last_week":return d("week",t);case"month":return g("month",t);case"last_month":return d("month",t);case"quarter":return g("quarter",t);case"last_quarter":return d("quarter",t);case"year":return g("year",t);case"last_year":return d("year",t);case"custom":const e=r.diff(n,"days");if("previous_period"===t){const t=n.clone().subtract(1,"days");return{primaryStart:n,primaryEnd:r,secondaryStart:t.clone().subtract(e,"days"),secondaryEnd:t}}return{primaryStart:n,primaryEnd:r,secondaryStart:n.clone().subtract(1,"years"),secondaryEnd:r.clone().subtract(1,"years")}}}),((e,t,n,r)=>[e,t,n&&n.format(),r&&r.format()].join(":"))),m=a.memoize(((e,t,n,r,a)=>{if(e&&t)return{period:e,compare:t,after:n?o.default(n):null,before:r?o.default(r):null};const i=s.parse(a.replace(/&/g,"&"));return{period:i.period,compare:i.compare,after:i.after?o.default(i.after):null,before:i.before?o.default(i.before):null}}),((e,t,n,r,o)=>[e,t,n,r,o].join(":")));t.getDateParamsFromQuery=(e,t="period=month&compare=previous_year")=>{const{period:n,compare:r,after:o,before:a}=e;return m(n,r,o,a,t)};const f=a.memoize(((e,n,r,o,i,s)=>({primary:{label:a.find(t.presetValues,(t=>t.value===e)).label,range:c(r,o),after:r,before:o},secondary:{label:a.find(t.periods,(e=>e.value===n)).label,range:c(i,s),after:i,before:s}})),((e,t,n,r,o,a)=>[e,t,n&&n.format(),r&&r.format(),o&&o.format(),a&&a.format()].join(":")));function h(e){let n=[];if("custom"===e.period){const{primary:r}=t.getCurrentDates(e),o=t.getDateDifferenceInDays(r.before,r.after);n=o>=365?["day","week","month","quarter","year"]:o>=90?["day","week","month","quarter"]:o>=28?["day","week","month"]:o>=7?["day","week"]:o>1&&o<7?["day"]:["hour","day"]}else switch(e.period){case"today":case"yesterday":n=["hour","day"];break;case"week":case"last_week":default:n=["day"];break;case"month":case"last_month":n=["day","week"];break;case"quarter":case"last_quarter":n=["day","week","month"];break;case"year":case"last_year":n=["day","week","month","quarter"]}return n}t.getCurrentDates=(e,n="period=month&compare=previous_year")=>{const{period:r,compare:o,after:a,before:i}=t.getDateParamsFromQuery(e,n),{primaryStart:s,primaryEnd:l,secondaryStart:c,secondaryEnd:u}=p(r,o,a,i);return f(r,o,s,l,c,u)},t.getDateDifferenceInDays=(e,t)=>{const n=o.default(e),r=o.default(t);return n.diff(r,"days")},t.getPreviousDate=(e,t,n,r,a)=>{const i=o.default(e);if("previous_year"===r)return i.clone().subtract(1,"years");const s=o.default(t),l=o.default(n),c=s.diff(l,a);return i.clone().subtract(c,a)},t.getAllowedIntervalsForQuery=h,t.getIntervalForQuery=function(e){const t=h(e),n=t[0];let r=e.interval||n;return e.interval&&!t.includes(e.interval)&&(r=n),r},t.getChartTypeForQuery=function({chartType:e}){return["line","bar"].includes(e)?e:"line"},t.dayTicksThreshold=63,t.weekTicksThreshold=9,t.defaultTableDateFormat="m/d/Y",t.getDateFormatsForInterval=function(e,n=0){let r="%B %-d, %Y",o="%B %-d, %Y",a="%Y-%m-%d",s="%b %Y",l=t.defaultTableDateFormat;switch(e){case"hour":r="%_I%p %B %-d, %Y",o="%_I%p %b %-d, %Y",a="%_I%p",s="%b %-d, %Y",l="h A";break;case"day":n<t.dayTicksThreshold?a="%-d":(a="%b",s="%Y");break;case"week":n<t.weekTicksThreshold?(a="%-d",s="%b %Y"):(a="%b",s="%Y"),r=i.__("Week of %B %-d, %Y","woocommerce-admin"),o=i.__("Week of %B %-d, %Y","woocommerce-admin");break;case"quarter":case"month":r="%B %Y",o="%B %Y",a="%b",s="%Y";break;case"year":r="%Y",o="%Y",a="%Y"}return{screenReaderFormat:r,tooltipLabelFormat:o,xFormat:a,x2Format:s,tableFormat:l}},t.loadLocaleData=function({userLocale:e,weekdaysShort:t}){"en"!==o.default.locale()&&o.default.updateLocale(e,{longDateFormat:{L:i.__("MM/DD/YYYY","woocommerce-admin"),LL:i.__("MMMM D, YYYY","woocommerce-admin"),LLL:i.__("D MMMM YYYY LT","woocommerce-admin"),LLLL:i.__("dddd, D MMMM YYYY LT","woocommerce-admin"),LT:i.__("HH:mm","woocommerce-admin")},weekdaysMin:t})},t.dateValidationMessages={invalid:i.__("Invalid date","woocommerce-admin"),future:i.__("Select a date in the past","woocommerce-admin"),startAfterEnd:i.__("Start date must be before end date","woocommerce-admin"),endBeforeStart:i.__("Start date must be before end date","woocommerce-admin")},t.validateDateInputForRange=function(e,n,r,a,i){const s=l(i,n);return s?o.default().isBefore(s,"day")?{date:null,error:t.dateValidationMessages.future}:"after"===e&&r&&s.isAfter(r,"day")?{date:null,error:t.dateValidationMessages.startAfterEnd}:"before"===e&&a&&s.isBefore(a,"day")?{date:null,error:t.dateValidationMessages.endBeforeStart}:{date:s}:{date:null,error:t.dateValidationMessages.invalid}}},4940:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.recordPageView=t.queueRecordEvent=t.recordEvent=void 0;const o=r(n(1227)).default("wc-admin:tracks");function a(e,t){if(o("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}t.recordEvent=a;const i={localStorageKey:()=>"tracksQueue",clear(){window.localStorage&&window.localStorage.removeItem(i.localStorageKey())},get(){if(!window.localStorage)return[];let e=window.localStorage.getItem(i.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e},add(...e){if(!window.localStorage)return o("Unable to queue, running now",{args:e}),void a.apply(null,e||void 0);let t=i.get();const n={args:e};t.push(n),t=t.slice(-100),o("Adding new item to queue.",n),window.localStorage.setItem(i.localStorageKey(),JSON.stringify(t))},process(){if(!window.localStorage)return;const e=i.get();i.clear(),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&(o("Processing item in queue.",e),a.apply(null,e.args||void 0))}))}};t.queueRecordEvent=function(e,t){i.add(e,t)},t.recordPageView=function(e,t){e&&(a("page_view",Object.assign({path:e},t)),i.process())}},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1227:function(e,t,n){var r=n(4155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2447)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:function(e,t,n){e.exports=function(e){function t(e){let n,o=null;function a(...e){if(!a.enabled)return;const r=a,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";s++;const a=t.formatters[o];if("function"==typeof a){const t=e[s];n=a.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null===o?t.enabled(e):o,set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},3836:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-checkmark-circle",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658A9.98 9.98 0 0012 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10a9.94 9.94 0 00-.966-4.266L11 17.768z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},457:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-checkmark",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8222:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-chevron-left",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},1714:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-chevron-right",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7188:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-credit-card",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8359:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-external",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},3119:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-gift",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22 6h-4.8c.5-.5.8-1.2.8-2 0-1.7-1.3-3-3-3s-3 1.3-3 3c0-1.7-1.3-3-3-3S6 2.3 6 4c0 .8.3 1.5.8 2H2v6h1v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8h1V6zm-2 4h-7V8h7v2zm-5-7c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zM9 3c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zM4 8h7v2H4V8zm1 4h6v8H5v-8zm14 8h-6v-8h6v8z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7719:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-help-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4 8a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2v-1.141A3.991 3.991 0 0016 10zm-3 6h-2v2h2v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7132:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-info-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4315:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-location",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 9A7 7 0 105 9c0 1.387.409 2.677 1.105 3.765h-.008L12 22l5.903-9.235h-.007A6.971 6.971 0 0019 9zm-7 3a3 3 0 110-6 3 3 0 010 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},5683:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7489:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-notice",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4886:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-phone",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M16 2H8a2 2 0 00-2 2v16a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},3115:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-plus-small",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},2908:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-search",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M21 19l-5.154-5.154a7 7 0 10-2 2L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8249:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-sync",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4a8 8 0 018 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12a8 8 0 008 8v-2c-3.308 0-6-2.692-6-6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},6928:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,i=void 0!==a&&a,s=e.findChunks,l=void 0===s?r:s,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:i,sanitize:c,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?a:r,i=e.searchWords,s=e.textToHighlight;return s=o(s),i.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(r,n?"g":"gi"),i=void 0;i=a.exec(s);){var l=i.index,c=a.lastIndex;c>l&&e.push({highlight:!1,start:l,end:c}),i.index===a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var a=0;t.forEach((function(e){o(a,e.start,!1),o(e.start,e.end,!0),a=e.end})),o(a,n,!1)}return r};function a(e){return e}}])},8679:function(e,t,n){"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=p(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),f=l(n),h=0;h<i.length;++h){var v=i[h];if(!(a[v]||r&&r[v]||f&&f[v]||s&&s[v])){var y=g(n,v);try{c(t,v,y)}catch(e){}}}}return t}},9016:function(e){"use strict";e.exports=function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(a?function(e,t){if(-1===(""+e).indexOf("e"))return+(Math.round(e+"e+"+t)+"e-"+t);var n=(""+e).split("e"),r="";return+n[1]+t>0&&(r="+"),(+(Math.round(+n[0]+"e"+r+(+n[1]+t))+"e-"+t)).toFixed(t)}(o,a).toString():""+Math.round(o)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<a&&(l[1]=l[1]||"",l[1]+=new Array(a-l[1].length+1).join("0")),l.join(s)}},9588:function(e){e.exports=function(e,t){var n,r,o=0;function a(){var a,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},2441:function(e,t,n){var r;!function(o,a,i){if(o){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},c={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},g=1;g<20;++g)l[111+g]="f"+g;for(g=0;g<=9;++g)l[g+96]=g.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(y(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},b.init=function(){var e=b(a);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function m(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:c[e.which]?c[e.which]:String.fromCharCode(e.which).toLowerCase()}function f(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function v(e,t){var n,r,o,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],a.push("shift")),f(r)&&a.push(r);return{key:r,modifiers:a,action:t=h(r,a,t)}}function y(e,t){return null!==e&&e!==a&&(e===t||y(e.parentNode,t))}function b(e){var t=this;if(e=e||a,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,i=!1,s=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function c(e,n,o,a,i,s){var l,c,u,d,g=[],p=o.type;if(!t._callbacks[e])return[];for("keyup"==p&&f(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(c=t._callbacks[e][l],(a||!c.seq||r[c.seq]==c.level)&&p==c.action&&("keypress"==p&&!o.metaKey&&!o.ctrlKey||(u=n,d=c.modifiers,u.sort().join(",")===d.sort().join(",")))){var m=!a&&c.combo==i,h=a&&c.seq==a&&c.level==s;(m||h)&&t._callbacks[e].splice(l,1),g.push(c)}return g}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=m(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function g(e,a,i,d,p){t._directMap[e+":"+i]=a;var f,h=(e=e.replace(/\s+/g," ")).split(" ");h.length>1?function(e,t,a,i){function c(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function d(t){u(a,t,e),"keyup"!==i&&(o=m(t)),setTimeout(l,10)}r[e]=0;for(var p=0;p<t.length;++p){var f=p+1===t.length?d:c(i||v(t[p+1]).action);g(t[p],f,i,e,p)}}(e,h,a,i):(f=v(e,i),t._callbacks[f.key]=t._callbacks[f.key]||[],c(f.key,f.modifiers,{type:f.action},d,e,p),t._callbacks[f.key][d?"unshift":"push"]({callback:a,modifiers:f.modifiers,action:f.action,seq:d,level:p,combo:e}))}t._handleKey=function(e,t,n){var r,o=c(e,t,n),a={},d=0,g=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;g=!0,a[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else g||u(o[r].callback,n,o[r].combo);var p="keypress"==n.type&&i;n.type!=s||f(e)||p||l(a),i=g&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)g(e[r],t,n)},p(e,"keypress",d),p(e,"keydown",d),p(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},3956:function(){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,a){return!!this.paused||!t[o]&&!t[a]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},7824:function(e){var t=1e3,n=60*t,r=60*n,o=24*r;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,i){i=i||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===c&&isFinite(e))return i.long?(s=e,(l=Math.abs(s))>=o?a(s,l,o,"day"):l>=r?a(s,l,r,"hour"):l>=n?a(s,l,n,"minute"):l>=t?a(s,l,t,"second"):s+" ms"):function(e){var a=Math.abs(e);return a>=o?Math.round(e/o)+"d":a>=r?Math.round(e/r)+"h":a>=n?Math.round(e/n)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6470:function(e,t,n){"use strict";var r=n(4155);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var n,r="",o=0,a=-1,i=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===i);else if(a!==s-1&&2===i){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",o=0):o=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,i=0;continue}}else if(2===r.length||1===r.length){r="",o=0,a=s,i=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),o=s-a-1;a=s,i=0}else 46===n&&-1!==i?++i:i=-1}return r}var i={resolve:function(){for(var e,t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(void 0===e&&(e=r.cwd()),s=e),o(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=a(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,a=r-n,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var l=t.length-s,c=a<l?a:l,u=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===t.charCodeAt(s+d))return t.slice(s+d+1);if(0===d)return t.slice(s+d)}else a>c&&(47===e.charCodeAt(n+d)?u=d:0===d&&(u=0));break}var g=e.charCodeAt(n+d);if(g!==t.charCodeAt(s+d))break;47===g&&(u=d)}var p="";for(d=n+u+1;d<=r;++d)d!==r&&47!==e.charCodeAt(d)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(s+u):(s+=u,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){r=i;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,a=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!i){r=n+1;break}}else-1===l&&(i=!1,l=n+1),s>=0&&(c===t.charCodeAt(s)?-1==--s&&(a=n):(s=-1,a=l))}return r===a?a=l:-1===a&&(a=e.length),e.slice(r,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!i){r=n+1;break}}else-1===a&&(i=!1,a=n+1);return-1===a?"":e.slice(r,a)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===r&&(a=!1,r=s+1),46===l?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),a=47===r;a?(t.root="/",n=1):n=0;for(var i=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=n;--u)if(47!==(r=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===r?-1===i?i=u:1!==d&&(d=1):-1!==i&&(d=-1);else if(!c){s=u+1;break}return-1===i||-1===l||0===d||1===d&&i===l-1&&i===s+1?-1!==l&&(t.base=t.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(t.name=e.slice(1,i),t.base=e.slice(1,l)):(t.name=e.slice(s,i),t.base=e.slice(s,l)),t.ext=e.slice(i,l)),s>0?t.dir=e.slice(0,s-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},4155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&g())}function g(){if(!c){var e=i(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function m(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||i(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=m,r.addListener=m,r.once=m,r.off=m,r.removeListener=m,r.removeAllListeners=m,r.emit=m,r.prependListener=m,r.prependOnceListener=m,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},2703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){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 n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(8261),o=n(5235),a=n(5798);e.exports={formats:a,parse:o,stringify:r}},5235:function(e,t,n){"use strict";var r=n(2769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:l(t,n),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=o:i[c]=o:i={0:o}}o=i}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,g=u.split(t.delimiter,d),p=-1,m=t.charset;if(t.charsetSentinel)for(n=0;n<g.length;++n)0===g[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===g[n]?m="utf-8":"utf8=%26%2310003%3B"===g[n]&&(m="iso-8859-1"),p=n,n=g.length);for(n=0;n<g.length;++n)if(n!==p){var f,h,v=g[n],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(f=t.decoder(v,i.decoder,m,"key"),h=t.strictNullHandling?null:""):(f=t.decoder(v.slice(0,b),i.decoder,m,"key"),h=r.maybeMap(l(v.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,m,"value")}))),h&&t.interpretNumericEntities&&"iso-8859-1"===m&&(h=s(h)),v.indexOf("[]=")>-1&&(h=a(h)?[h]:h),o.call(c,f)?c[f]=r.combine(c[f],h):c[f]=h}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},g=Object.keys(u),p=0;p<g.length;++p){var m=g[p],f=c(m,u[m],n,"string"==typeof e);d=r.merge(d,f,n)}return r.compact(d)}},8261:function(e,t,n){"use strict";var r=n(2769),o=n(5798),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,g={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,a,i,l,u,d,p,m,f,h,v,y){var b,_=t;if("function"==typeof u?_=u(n,_):_ instanceof Date?_=m(_):"comma"===o&&s(_)&&(_=r.maybeMap(_,(function(e){return e instanceof Date?m(e):e}))),null===_){if(a)return l&&!v?l(n,g.encoder,y,"key",f):n;_=""}if("string"==typeof(b=_)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||r.isBuffer(_))return l?[h(v?n:l(n,g.encoder,y,"key",f))+"="+h(l(_,g.encoder,y,"value",f))]:[h(n)+"="+h(String(_))];var w,E=[];if(void 0===_)return E;if("comma"===o&&s(_))w=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(u))w=u;else{var $=Object.keys(_);w=d?$.sort(d):$}for(var C=0;C<w.length;++C){var k=w[C],S="object"==typeof k&&void 0!==k.value?k.value:_[k];if(!i||null!==S){var x=s(_)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");c(E,e(S,x,o,a,i,l,u,d,p,m,f,h,v,y))}}return E};e.exports=function(e,t){var n,r=e,l=function(e){if(!e)return g;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||g.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=g.filter;return("function"==typeof e.filter||s(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:g.addQueryPrefix,allowDots:void 0===e.allowDots?g.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:g.charsetSentinel,delimiter:void 0===e.delimiter?g.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:g.encode,encoder:"function"==typeof e.encoder?e.encoder:g.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:g.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:g.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:g.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:g.strictNullHandling}}(t);"function"==typeof l.filter?r=(0,l.filter)("",r):s(l.filter)&&(n=l.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var m=i[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var f=0;f<n.length;++f){var h=n[f];l.skipNulls&&null===r[h]||c(d,p(r[h],h,m,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset))}var v=d.join(l.delimiter),y=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},2769:function(e,t,n){"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return a(t)&&!a(n)&&(i=s(t,r)),a(t)&&a(n)?(n.forEach((function(n,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,r):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return o.call(t,a)?t[a]=e(t[a],i,r):t[a]=i,t}),i)}}},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,g=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,f=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case g:case h:case f:case l:return e;default:return t}}case o:return t}}}function E(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=g,t.Fragment=a,t.Lazy=h,t.Memo=f,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===g},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===f},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===f||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},9864:function(e,t,n){"use strict";e.exports=n(9921)},5464:function(e,t,n){var r=n(9196),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},a=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},i=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=i);var t=r.useState(e(null)),n=t[0],o=t[1],s=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(a,{onResize:s})}),[s]),n]}},3272:function(e,t,n){"use strict";var r,o={},a=n(9670);function i(e,t){o[e]=function(e,t){return e in r?r[e]:t}(e,t)}e.exports.configure=function(e,t,n){if(r=e||{},n=n||{},i("autoRename",!1),i("autoRenameStrict",!1),i("blacklist",{}),i("clean",!0),i("greedy",!1),i("processUrls",!1),i("stringMap",[]),i("useCalc",!1),Array.isArray(o.stringMap)){for(var s,l,c=0;c<o.stringMap.length;c++){var u=o.stringMap[c];if(s&&l)break;"left-right"===u.name?s=!0:"ltr-rtl"===u.name&&(l=!0)}s||o.stringMap.push({name:"left-right",priority:100,exclusive:!1,search:["left","Left","LEFT"],replace:["right","Right","RIGHT"],options:{scope:"*",ignoreCase:!1}}),l||o.stringMap.push({name:"ltr-rtl",priority:100,exclusive:!1,search:["ltr","Ltr","LTR"],replace:["rtl","Rtl","RTL"],options:{scope:"*",ignoreCase:!1}}),o.stringMap.sort((function(e,t){return e.priority-t.priority}))}return o.plugins=[],Array.isArray(t)?(t.some((function(e){return"rtlcss"===e.name}))||o.plugins.push(a),o.plugins=o.plugins.concat(t)):t&&"rtlcss"===t.name||o.plugins.push(a),o.plugins.sort((function(e,t){return e.priority-t.priority})),o.hooks={pre:function(){},post:function(){}},"function"==typeof n.pre&&(o.hooks.pre=n.pre),"function"==typeof n.post&&(o.hooks.post=n.post),o}},5915:function(e){e.exports=function(e){var t,n=0,r=e.text,o=r.match(/^\s*!?\s*rtl:/);return o&&(t={source:e,name:"",param:"",begin:!0,end:!0,blacklist:!1,preserve:!1},(n=(r=r.slice(o[0].length)).indexOf(":"))>-1?(t.name=r.slice(0,n),t.begin="end"!==t.name,t.end="begin"!==t.name,"begin"===t.name||"end"===t.name?(n=(r=r.slice(t.name.length+1)).indexOf(":"))>-1?(t.name=r.slice(0,n),r=r.slice(n),t.param=r.slice(1)):t.name=r:t.param=r.slice(n+1)):t.name=r),t}},9670:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var config=__webpack_require__(3272),util=__webpack_require__(8805);module.exports={name:"rtlcss",priority:100,directives:{control:{ignore:{expect:{atrule:!0,comment:!0,decl:!0,rule:!0},endNode:null,begin:function(e,t,n){if(!this.endNode&&t.begin&&t.end){for(var r=e;r&&r.nodes;)r=r.nodes[r.nodes.length-1];this.endNode=r}var o=!0;return"comment"===e.type&&e.text.match(/^\s*!?\s*rtl:end:ignore/)&&(o=!1),o},end:function(e,t,n){return!!(t.begin!==t.end&&"comment"===e.type||t.begin&&t.end&&e===this.endNode)&&(this.endNode=null,!0)}},rename:{expect:{rule:!0},begin:function(e,t,n){return e.selector=n.util.applyStringMap(e.selector,!1),!1},end:function(e,t){return!0}},raw:{expect:{self:!0},begin:function(e,t,n){var r=n.postcss.parse(t.param,{from:e.source.input.from});return e.parent.insertBefore(e,r),!0},end:function(e,t){return!0}},remove:{expect:{atrule:!0,rule:!0,decl:!0},begin:function(e,t,n){var r=!1;switch(e.type){case"atrule":case"rule":case"decl":r=!0,e.remove()}return r},end:function(e,t,n){return!0}},options:{expect:{self:!0},stack:[],begin:function(e,t,n){var r;this.stack.push(util.extend({},n.config));try{r=JSON.parse(t.param)}catch(t){throw e.error("Invlaid options object",{details:t})}return n.config=config.configure(r,n.config.plugins),n.util=util.configure(n.config),!0},end:function(e,t,n){var r=this.stack.pop();return r&&!t.begin&&(n.config=r,n.util=util.configure(n.config)),!0}},config:{expect:{self:!0},expr:{fn:/function([^\(]*)\(([^\(\)]*?)\)[^\{]*\{([^]*)\}/gi,rx:/\/([^\/]*)\/(.*)/gi},stack:[],begin:function(node,metadata,context){var configuration;this.stack.push(util.extend({},context.config));try{configuration=eval("("+metadata.param+")")}catch(e){throw node.error("Invlaid config object",{details:e})}return context.config=config.configure(configuration.options,configuration.plugins),context.util=util.configure(context.config),!0},end:function(e,t,n){var r=this.stack.pop();return r&&!t.begin&&(n.config=r,n.util=util.configure(n.config)),!0}}},value:[{name:"ignore",action:function(e,t,n){return!0}},{name:"prepend",action:function(e,t,n){var r="";return e.raws.value.raw.replace(t,(function(e,t){r+=t})),e.value=e.raws.value.raw=r+e.raws.value.raw,!0}},{name:"append",action:function(e,t,n){return e.value=e.raws.value.raw=e.raws.value.raw.replace(t,(function(e,t){return e+t})),!0}},{name:"insert",action:function(e,t,n){return e.value=e.raws.value.raw=e.raws.value.raw.replace(t,(function(e,t){return t+e})),!0}},{name:"",action:function(e,t,n){return e.raws.value.raw.replace(t,(function(t,n){e.value=e.raws.value.raw=n+t})),!0}}]},processors:[{name:"variable",expr:/^--/im,action:function(e,t){return{prop:e,value:t}}},{name:"direction",expr:/direction/im,action:function(e,t,n){return{prop:e,value:n.util.swapLtrRtl(t)}}},{name:"left",expr:/left/im,action:function(e,t,n){return{prop:e.replace(this.expr,(function(){return"right"})),value:t}}},{name:"right",expr:/right/im,action:function(e,t,n){return{prop:e.replace(this.expr,(function(){return"left"})),value:t}}},{name:"four-value syntax",expr:/^(margin|padding|border-(color|style|width))$/gi,cache:null,action:function(e,t,n){null===this.cache&&(this.cache={match:/[^\s\uFFFD]+/g});var r=n.util.guardFunctions(t),o=r.value.match(this.cache.match);if(o&&4===o.length&&(r.store.length>0||o[1]!==o[3])){var a=0;r.value=r.value.replace(this.cache.match,(function(){return o[(4-a++)%4]}))}return{prop:e,value:n.util.unguardFunctions(r)}}},{name:"border radius",expr:/border-radius/gi,cache:null,flip:function(e){var t,n=e.match(this.cache.match);if(n)switch(n.length){case 2:t=1,n[0]!==n[1]&&(e=e.replace(this.cache.match,(function(){return n[t--]})));break;case 3:e=e.replace(this.cache.white,(function(e){return e+n[1]+" "}));break;case 4:t=0,n[0]===n[1]&&n[2]===n[3]||(e=e.replace(this.cache.match,(function(){return n[(5-t++)%4]})))}return e},action:function(e,t,n){null===this.cache&&(this.cache={match:/[^\s\uFFFD]+/g,slash:/[^\/]+/g,white:/(^\s*)/});var r=n.util.guardFunctions(t);return r.value=r.value.replace(this.cache.slash,function(e){return this.flip(e)}.bind(this)),{prop:e,value:n.util.unguardFunctions(r)}}},{name:"shadow",expr:/shadow/gi,cache:null,action:function(e,t,n){null===this.cache&&(this.cache={replace:/[^,]+/g});var r=n.util.guardHexColors(t),o=n.util.guardFunctions(r.value);return o.value=o.value.replace(this.cache.replace,(function(e){return n.util.negate(e)})),r.value=n.util.unguardFunctions(o),{prop:e,value:n.util.unguardHexColors(r)}}},{name:"transform and perspective origin",expr:/(?:transform|perspective)-origin/gi,cache:null,flip:function(e,t){return"0"===e?e="100%":e.match(this.cache.percent)?e=t.util.complement(e):e.match(this.cache.length)&&(e=t.util.flipLength(e)),e},action:function(e,t,n){if(null===this.cache&&(this.cache={match:n.util.regex(["calc","percent","length"],"g"),percent:n.util.regex(["calc","percent"],"i"),length:n.util.regex(["length"],"gi"),xKeyword:/(left|right)/i}),t.match(this.cache.xKeyword))t=n.util.swapLeftRight(t);else{var r=n.util.guardFunctions(t),o=r.value.match(this.cache.match);o&&o.length>0&&(o[0]=this.flip(o[0],n),r.value=r.value.replace(this.cache.match,(function(){return o.shift()})),t=n.util.unguardFunctions(r))}return{prop:e,value:t}}},{name:"transform",expr:/^(?!text\-).*?transform$/gi,cache:null,flip:function(e,t,n){var r=0;return e.replace(this.cache.unit,(function(e){return t(++r,e)}))},flipMatrix:function(e,t){return this.flip(e,(function(e,n){return 2===e||3===e||5===e?t.util.negate(n):n}),t)},flipMatrix3D:function(e,t){return this.flip(e,(function(e,n){return 2===e||4===e||5===e||13===e?t.util.negate(n):n}),t)},flipRotate3D:function(e,t){return this.flip(e,(function(e,n){return 1===e||4===e?t.util.negate(n):n}),t)},action:function(e,t,n){null===this.cache&&(this.cache={negatable:/((translate)(x|3d)?|rotate(z|y)?)$/gi,unit:n.util.regex(["calc","number"],"g"),matrix:/matrix$/i,matrix3D:/matrix3d$/i,skewXY:/skew(x|y)?$/i,rotate3D:/rotate3d$/i});var r=n.util.guardFunctions(t);return{prop:e,value:n.util.unguardFunctions(r,function(e,t){return t.length&&(t.match(this.cache.matrix3D)?e=this.flipMatrix3D(e,n):t.match(this.cache.matrix)?e=this.flipMatrix(e,n):t.match(this.cache.rotate3D)?e=this.flipRotate3D(e,n):t.match(this.cache.skewXY)?e=n.util.negateAll(e):t.match(this.cache.negatable)&&(e=n.util.negate(e))),e}.bind(this))}}},{name:"transition",expr:/transition(-property)?$/i,action:function(e,t,n){return{prop:e,value:n.util.swapLeftRight(t)}}},{name:"background",expr:/background(-position(-x)?|-image)?$/i,cache:null,flip:function(e,t){var n=util.saveTokens(e,!0),r=n.value.match(this.cache.match);if(r&&r.length>0){var o=(n.value.match(this.cache.position)||"").length;r.length>=3||2===o?n.value=util.swapLeftRight(n.value):(r[0]="0"===r[0]?"100%":r[0].match(this.cache.percent)?t.util.complement(r[0]):r[0].match(this.cache.length)?t.util.flipLength(r[0]):t.util.swapLeftRight(r[0]),n.value=n.value.replace(this.cache.match,(function(){return r.shift()})))}return util.restoreTokens(n)},update:function(e,t,n){return n.match(this.cache.gradient)?(t=e.util.swapLeftRight(t)).match(this.cache.angle)&&(t=e.util.negate(t)):(!0===e.config.processUrls||!0===e.config.processUrls.decl&&n.match(this.cache.url))&&(t=e.util.applyStringMap(t,!0)),t},action:function(e,t,n){null===this.cache&&(this.cache={match:n.util.regex(["position","percent","length","calc"],"ig"),percent:n.util.regex(["calc","percent"],"i"),position:n.util.regex(["position"],"g"),length:n.util.regex(["length"],"gi"),gradient:/gradient$/i,angle:/\d+(deg|g?rad|turn)/i,url:/^url/i});var r=n.util.guardHexColors(t),o=n.util.guardFunctions(r.value),a=o.value.split(",");if("background-image"!==e.toLowerCase())for(var i=0;i<a.length;i++)a[i]=this.flip(a[i],n);return o.value=a.join(","),r.value=n.util.unguardFunctions(o,this.update.bind(this,n)),{prop:e,value:n.util.unguardHexColors(r)}}},{name:"keyword",expr:/float|clear|text-align/i,action:function(e,t,n){return{prop:e,value:n.util.swapLeftRight(t)}}},{name:"cursor",expr:/cursor/i,cache:null,update:function(e,t,n){return(!0===e.config.processUrls||!0===e.config.processUrls.decl&&n.match(this.cache.url))&&(t=e.util.applyStringMap(t,!0)),t},flip:function(e){return e.replace(this.cache.replace,function(e,t){return e.replace(t,t.replace(this.cache.e,"*").replace(this.cache.w,"e").replace(this.cache.star,"w"))}.bind(this))},action:function(e,t,n){null===this.cache&&(this.cache={replace:/\b(ne|nw|se|sw|nesw|nwse)-resize/gi,url:/^url/i,e:/e/i,w:/w/i,star:/\*/i});for(var r=n.util.guardFunctions(t),o=r.value.split(","),a=0;a<o.length;a++)o[a]=this.flip(o[a]);return r.value=o.join(","),{prop:e,value:n.util.unguardFunctions(r,this.update.bind(this,n))}}}]}},8314:function(e,t,n){"use strict";var r=n(5344),o=n(3028),a=n(3272),i=n(8805);e.exports=r.plugin("rtlcss",(function(e,t,n){var s=a.configure(e,t,n),l={postcss:r,config:s,util:i.configure(s)};return function(e,t){var n=0,a={};l.config.hooks.pre(e,r),e.walk((function(e){var r=!1;if(o.walk((function(t){!t.metadata.blacklist&&t.directive.expect[e.type]&&(t.directive.begin(e,t.metadata,l)&&(r=!0),t.metadata.end&&t.directive.end(e,t.metadata,l)&&o.pop(t))})),!1===r)switch(e.type){case"atrule":if(!0===l.config.processUrls||!0===l.config.processUrls.atrule){var i=l.util.applyStringMap(e.params,!0);e.params=i}break;case"comment":o.parse(e,t,(function(n){var r=!0;return null===n.directive&&(n.preserve=!l.config.clean,l.util.each(l.config.plugins,(function(e){var o=l.config.blacklist[e.name];return o&&!0===o[n.metadata.name]?(n.metadata.blacklist=!0,n.metadata.end&&(r=!1),n.metadata.begin&&t.warn('directive "'+e.name+"."+n.metadata.name+'" is blacklisted.',{node:n.source}),!1):(n.directive=e.directives.control[n.metadata.name],!n.directive&&void 0)}))),n.directive?!n.metadata.begin&&n.metadata.end?(n.directive.end(e,n.metadata,l)&&o.pop(n),r=!1):n.directive.expect.self&&n.directive.begin(e,n.metadata,l)&&n.metadata.end&&n.directive.end(e,n.metadata,l)&&(r=!1):n.metadata.blacklist||(r=!1,t.warn('unsupported directive "'+n.metadata.name+'".',{node:n.source})),r}));break;case"decl":if(!l.util.each(l.config.plugins,(function(t){return l.util.each(t.directives.value,(function(t){if(e.raws.value&&e.raws.value.raw){var r=l.util.regexDirective(t.name);if(r.test(e.raws.value.raw)&&(r.lastIndex=0,t.action(e,r,l)))return l.config.clean&&(e.value=e.raws.value.raw=l.util.trimDirective(e.raws.value.raw)),n++,!1}}))})))break;if(l.util.each(l.config.plugins,(function(t){return l.util.each(t.processors,(function(t){if(e.prop.match(t.expr)){var r=e.raws.value&&e.raws.value.raw?e.raws.value.raw:e.value,o=l.util.saveComments(r),a=t.action(e.prop,o.value,l);return o.value=a.value,a.value=l.util.restoreComments(o),a.prop===e.prop&&a.value===r||(n++,e.prop=a.prop,e.value=a.value),!1}}))})),l.config.autoRename&&!n&&"rule"===e.parent.type&&l.util.isLastOfType(e)){var s=l.util.applyStringMap(e.parent.selector);if(!0===l.config.autoRenameStrict){var c=a[s];c?(c.selector=e.parent.selector,e.parent.selector=s):a[e.parent.selector]=e.parent}else e.parent.selector=s}break;case"rule":n=0}})),o.walk((function(e){t.warn('unclosed directive "'+e.metadata.name+'".',{node:e.source})})),Object.keys(a).forEach((function(e){t.warn("renaming skipped due to lack of a matching pair.",{node:a[e]})})),l.config.hooks.post(e,r)}})),e.exports.process=function(e,t,n,o){return r([this(t,n,o)]).process(e).css},e.exports.configure=function(e){return r([this((e=e||{}).options,e.plugins,e.hooks)])}},3028:function(e,t,n){"use strict";var r=n(5915);e.exports={stack:[],pop:function(e){var t=this.stack.indexOf(e);-1!==t&&this.stack.splice(t,1),e.preserve||e.source.remove()},parse:function(e,t,n){var o,a=r(e);a&&(!a.begin&&a.end?this.walk(function(t){if(a.name===t.metadata.name)return this.pop(t),o={metadata:a,directive:t.directive,source:e,preserve:t.preserve},!1}.bind(this)):o={metadata:a,directive:null,source:e,preserve:null},void 0===o?t.warn('found end "'+a.name+'" without a matching begin.',{node:e}):n(o)?this.stack.push(o):o.preserve||o.source.remove())},walk:function(e){for(var t=this.stack.length;--t>-1&&e(this.stack[t]););}}},8805:function(e){"use strict";var t,n="»",r=new RegExp("�","ig"),o=new RegExp("¤","ig"),a="(calc¤)|(\\-?(\\d*?\\.\\d+|\\d+))(?!d\\()",i=/\/\*[^]*?\*\//gim,s=/\/\*\s*(?:!)?\s*rtl:[^]*?\*\//gim,l=/[.*+?^${}()|[\]\\]/g,c=/\([^\(\)]+\)/i,u=/#[a-f0-9]{3,6}/gi,d=/calc/,g=new RegExp("«\\d+:\\d+»","ig"),p=new RegExp("\\w*?«\\d+:\\d+»","ig"),m=new RegExp(a,"i"),f=new RegExp(a,"ig"),h=new RegExp(a,"i"),v={scope:"*",ignoreCase:!0},y=0;function b(e){return e.replace(l,"\\$&")}e.exports={extend:function(e,t){for(var n in void 0!==e&&"object"==typeof e||(e={}),t)e.hasOwnProperty(n)||(e[n]=t[n]);return e},swap:function(e,n,r,o){var a=b(n)+"|"+b(r);((o=o||v).hasOwnProperty("greedy")?o.greedy:t.greedy)||(a="\\b("+a+")\\b");var i=o.ignoreCase?"img":"mg";return e.replace(new RegExp(a,i),(function(e){return t=e,a=n,(o.ignoreCase?t.toLowerCase()===a.toLowerCase():t===a)?r:n;var t,a}))},swapLeftRight:function(e){return this.swap(e,"left","right")},swapLtrRtl:function(e){return this.swap(e,"ltr","rtl")},applyStringMap:function(e,n){for(var r=e,o=0;o<t.stringMap.length;o++){var a=t.stringMap[o],i=this.extend(a.options,v);if("*"===i.scope||n&&"url"===i.scope||!n&&"selector"===i.scope){if(Array.isArray(a.search)&&Array.isArray(a.replace))for(var s=0;s<a.search.length;s++)r=this.swap(r,a.search[s],a.replace[s%a.search.length],i);else r=this.swap(r,a.search,a.replace,i);if(!0===a.exclusive)break}}return r},negate:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(h,(function(e){return o.test(e)?e.replace(o,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},negateAll:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(f,(function(e){return o.test(e)?e.replace(o,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},complement:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(m,(function(e){return o.test(e)?e.replace(o,(function(e){return"(100% - "+e+")"})):100-parseFloat(e,10)})),this.restoreTokens(t)},flipLength:function(e){return t.useCalc?"calc(100% - "+e+")":e},save:function(e,t,n,r,o){var a={value:t,store:[],replacement:n,restorer:r};return a.value=a.value.replace(e,(function(e){return o&&e.match(o)?e:(a.store.push(e),a.replacement)})),a},restore:function(e){var t=0,n=e.value.replace(e.restorer,(function(){return e.store[t++]}));return e.store.length=0,n},saveComments:function(e){return this.save(i,e,"�",r)},restoreComments:function(e){return this.restore(e)},saveTokens:function(e,t){return!0===t?this.save(p,e,"¤",o,d):this.save(g,e,"¤",o)},restoreTokens:function(e){return this.restore(e)},guard:function(e,t,r){var o={value:t,store:[],offset:y++,token:"«"+y,indexed:!0===r};if(!0===o.indexed)for(;e.test(o.value);)o.value=o.value.replace(e,(function(e){return o.store.push(e),o.token+":"+o.store.length+n}));else o.value=o.value.replace(e,(function(e){return o.store.push(e),o.token+n}));return o},unguard:function(e,t){if(!0===e.indexed){for(var r=new RegExp("(\\w*?)"+e.token+":(\\d+)"+n,"i");r.test(e.value);)e.value=e.value.replace(r,(function(n,r,o){var a=e.store[o-1];return"function"==typeof t?r+t(a,r):r+a}));return e.value}return e.value.replace(new RegExp("(\\w*?)"+e.token+n,"i"),(function(n,r){var o=e.store.shift();return"function"==typeof t?r+t(o,r):r+o}))},guardHexColors:function(e){return this.guard(u,e,!0)},unguardHexColors:function(e,t){return this.unguard(e,t)},guardFunctions:function(e){return this.guard(c,e,!0)},unguardFunctions:function(e,t){return this.unguard(e,t)},trimDirective:function(e){return e.replace(s,"")},regexCache:{},regexDirective:function(e){return this.regexCache[e]=this.regexCache[e]||new RegExp("(?:\\/\\*\\s*(?:!)?\\s*rtl:"+(e?b(e)+"(?::)?":"")+")([^]*?)(?:\\*\\/)","img"),this.regexCache[e]},regex:function(e,t){e=e||[];for(var n="",r=0;r<e.length;r++)switch(e[r]){case"percent":n+="|(\\-?(\\d*?\\.\\d+|\\d+)%)";break;case"length":n+="|(\\-?(\\d*?\\.\\d+|\\d+))(?:ex|ch|r?em|vh|vw|vmin|vmax|px|mm|cm|in|pt|pc)?";break;case"number":n+="|(\\-?(\\d*?\\.\\d+|\\d+))";break;case"position":n+="|(left|center|right|top|bottom)";break;case"calc":n+="|(calc«\\d+:\\d+»)"}return new RegExp(n.slice(1),t)},isLastOfType:function(e){for(var t=!0,n=e.next();n;){if(n&&n.type===e.type){t=!1;break}n=n.next()}return t},each:function(e,t){for(var n=0;n<e.length;n++)if(!1===t(e[n]))return!1;return!0}},e.exports.configure=function(e){return t=e,this}},8090:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="atrule",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),t.prototype.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=n(2146))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},2282:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="comment",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),t}(((r=n(3200))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},2146:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(3118)),a=i(n(2282));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c(e){return e.map((function(e){return e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e}))}var u=function(e){function t(){return s(this,t),l(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i,l=this.normalize(s,this.last),c=l,u=Array.isArray(c),d=0;for(c=u?c:c[Symbol.iterator]();;){var g;if(u){if(d>=c.length)break;g=c[d++]}else{if((d=c.next()).done)break;g=d.value}var p=g;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i,l=this.normalize(s,this.first,"prepend").reverse(),c=l,u=Array.isArray(c),d=0;for(c=u?c:c[Symbol.iterator]();;){var g;if(u){if(d>=c.length)break;g=c[d++]}else{if((d=c.next()).done)break;g=d.value}var p=g;this.nodes.unshift(p)}for(var m in this.indexes)this.indexes[m]=this.indexes[m]+l.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}a.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),o=r,a=Array.isArray(o),i=0;for(o=a?o:o[Symbol.iterator]();;){var s;if(a){if(i>=o.length)break;s=o[i++]}else{if((i=o.next()).done)break;s=i.value}var l=s;this.nodes.splice(e,0,l)}var c=void 0;for(var u in this.indexes)e<=(c=this.indexes[u])&&(this.indexes[u]=c+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i;this.nodes.splice(e+1,0,s)}var l=void 0;for(var c in this.indexes)e<(l=this.indexes[c])&&(this.indexes[c]=l+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=c(n(1647)(e).nodes);else if(Array.isArray(e)){var i=e=e.slice(0),s=Array.isArray(i),l=0;for(i=s?i:i[Symbol.iterator]();;){var u;if(s){if(l>=i.length)break;u=i[l++]}else{if((l=i.next()).done)break;u=l.value}var d=u;d.parent&&d.parent.removeChild(d,"ignore")}}else if("root"===e.type){var g=e=e.nodes.slice(0),p=Array.isArray(g),m=0;for(g=p?g:g[Symbol.iterator]();;){var f;if(p){if(m>=g.length)break;f=g[m++]}else{if((m=g.next()).done)break;f=m.value}var h=f;h.parent&&h.parent.removeChild(h,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new o.default(e)]}else if(e.selector)e=[new(n(806))(e)];else if(e.name)e=[new(n(8090))(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new a.default(e)]}var v=e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}));return v},t.prototype.rebuild=function(e,t){var r=this,i=void 0;if("root"===e.type){var s=n(573);i=new s}else if("atrule"===e.type){var l=n(8090);i=new l}else if("rule"===e.type){var c=n(806);i=new c}else"decl"===e.type?i=new o.default:"comment"===e.type&&(i=new a.default);for(var u in e)"nodes"===u?i.nodes=e.nodes.map((function(e){return r.rebuild(e,i)})):"parent"===u&&t?i.parent=t:e.hasOwnProperty(u)&&(i[u]=e[u]);return i},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(i(n(3200)).default);t.default=u,e.exports=t.default},4639:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(5580)),o=i(n(683)),a=i(n(8818));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r,o,a,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,a&&(this.file=a),o&&(this.source=o),i&&(this.plugin=i),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,a.default)(n));var i=n.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),c=String(l).length;function u(t){return e&&o.default.red?o.default.red.bold(t):t}function d(t){return e&&o.default.gray?o.default.gray(t):t}return i.slice(s,l).map((function(e,n){var r=s+1+n,o=" "+(" "+r).slice(-c)+" | ";if(r===t.line){var a=d(o.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return u(">")+d(o)+e+"\n "+a+u("^")}return" "+d(o)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=s,e.exports=t.default},3118:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="decl",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),t}(((r=n(3200))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},1810:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=l(n(4639)),i=l(n(8389)),s=l(n(6470));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=0,d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,e),null===t||"object"===(void 0===t?"undefined":r(t))&&!t.toString)throw new Error("PostCSS received "+t+" instead of CSS string");this.css=t.toString(),"\ufeff"!==this.css[0]&&""!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=s.default.resolve(n.from));var o=new i.default(this.css,n);if(o.text){this.map=o;var a=o.consumer().file;!this.file&&a&&(this.file=this.mapResolve(a))}this.file||(u+=1,this.id="<input css "+u+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,i=this.origin(t,n);return(o=i?new a.default(e,i.line,i.column,i.source,i.file,r.plugin):new a.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var o={file:this.mapResolve(r.source),line:r.line,column:r.column},a=n.sourceContentFor(r.source);return a&&(o.source=a),o},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:s.default.resolve(this.map.consumer().sourceRoot||".",e)},o(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=d,e.exports=t.default},1799:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=u(n(2455)),i=u(n(4594)),s=u(n(6094)),l=u(n(4974)),c=u(n(1647));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return"object"===(void 0===e?"undefined":o(e))&&"function"==typeof e.then}var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var a=void 0;if("object"===(void 0===n?"undefined":o(n))&&null!==n&&"root"===n.type)a=n;else if(n instanceof e||n instanceof l.default)a=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var i=c.default;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{a=i(n,r)}catch(e){this.error=e}}this.result=new l.default(t,a,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,s.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,o=this.result.processor.version,a=r.split("."),i=o.split(".");(a[0]!==i[0]||parseInt(a[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,d(o)?o.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var o=r;if(d(this.run(o)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=i.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new a.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=g,e.exports=t.default},1841:function(e,t){"use strict";t.__esModule=!0;var n={split:function(e,t,n){for(var r=[],o="",a=!1,i=0,s=!1,l=!1,c=0;c<e.length;c++){var u=e[c];s?l?l=!1:"\\"===u?l=!0:u===s&&(s=!1):'"'===u||"'"===u?s=u:"("===u?i+=1:")"===u?i>0&&(i-=1):0===i&&-1!==t.indexOf(u)&&(a=!0),a?(""!==o&&r.push(o.trim()),o="",a=!1):o+=u}return(n||""!==o)&&r.push(o.trim()),r},space:function(e){return n.split(e,[" ","\n","\t"])},comma:function(e){return n.split(e,[","],!0)}};t.default=n,e.exports=t.default},2455:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(4014)),o=a(n(6470));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var o=e.relative(r);e.map.setSourceContent(o,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if((n=e.next()).done)break;a=n.value}var i=a,s=this.relative(i.file),l=i.root||o.default.dirname(i.file),c=void 0;!1===this.mapOpts.sourcesContent?(c=new r.default.SourceMapConsumer(i.text)).sourcesContent&&(c.sourcesContent=c.sourcesContent.map((function(){return null}))):c=i.consumer(),this.map.applySourceMap(c,s,this.relative(l))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(e).toString("base64"):new Buffer(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?o.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o.default.dirname(o.default.resolve(t,this.mapOpts.annotation))),e=o.default.relative(t,e),"\\"===o.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,o=void 0,a=void 0;this.stringify(this.root,(function(r,i,s){e.css+=r,i&&"end"!==s&&(i.source&&i.source.start?e.map.addMapping({source:e.sourcePath(i),generated:{line:t,column:n-1},original:{line:i.source.start.line,column:i.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(o=r.match(/\n/g))?(t+=o.length,a=r.lastIndexOf("\n"),n=r.length-a):n+=r.length,i&&"start"!==s&&(i.source&&i.source.end?e.map.addMapping({source:e.sourcePath(i),generated:{line:t,column:n-1},original:{line:i.source.end.line,column:i.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=i,e.exports=t.default},3200:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=l(n(4639)),a=l(n(3255)),i=l(n(4594)),s=l(n(6094));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function e(t,n){var o=new t.constructor;for(var a in t)if(t.hasOwnProperty(a)){var i=t[a],s=void 0===i?"undefined":r(i);"parent"===a&&"object"===s?n&&(o[a]=n):"source"===a?o[a]=i:i instanceof Array?o[a]=i.map((function(t){return e(t,o)})):("object"===s&&null!==i&&(i=e(i)),o[a]=i)}return o},d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new o.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var o in n)r[o]=n[o];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i;this.parent.insertBefore(this,s)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,s.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,s.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,s.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},e.prototype.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new a.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<e;o++)"\n"===t[o]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=d,e.exports=t.default},1647:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new o.default(e,t),a=new r.default(n);try{a.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return a.root};var r=a(n(9890)),o=a(n(1810));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},9890:function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(3118)),o=c(n(7272)),a=c(n(2282)),i=c(n(8090)),s=c(n(573)),l=c(n(806));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,o.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new a.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new l.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,o=null,a=[],i=[],s=e;s;){if(n=s[0],i.push(s),"("===n||"["===n)o||(o=s),a.push("("===n?")":"]");else if(0===a.length){if(";"===n){if(r)return void this.decl(i);break}if("{"===n)return void this.rule(i);if("}"===n){this.tokenizer.back(i.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(o=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(o),t&&r){for(;i.length&&("space"===(s=i[i.length-1][0])||"comment"===s);)this.tokenizer.back(i.pop());this.decl(i)}else this.unknownWord(i)},e.prototype.rule=function(e){e.pop();var t=new l.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;t.prop+=e.shift()[1]}t.raws.between="";for(var a=void 0;e.length;){if(":"===(a=e.shift())[0]){t.raws.between+=a[1];break}t.raws.between+=a[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var i=e.length-1;i>0;i--){if("!important"===(a=e[i])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,i);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===a[1].toLowerCase()){for(var l=e.slice(0),c="",u=i;u>0;u--){var d=l[u][0];if(0===c.trim().indexOf("!")&&"space"!==d)break;c=l.pop()[1]+c}0===c.trim().indexOf("!")&&(t.important=!0,t.raws.important=c,e=l)}if("space"!==a[0]&&"comment"!==a[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new i.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,o=!1,a=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){a=!0;break}if("}"===e[0]){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,"params",s),o&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,o=void 0,a=n.length,i="",s=!0,l=void 0,c=void 0,u=/^([.|#])?([\w])+/i,d=0;d<a;d+=1)"comment"!==(o=(r=n[d])[0])||"rule"!==e.type?"comment"===o||"space"===o&&d===a-1?s=!1:i+=r[1]:(c=n[d-1],l=n[d+1],"space"!==c[0]&&"space"!==l[0]&&u.test(c[1])&&u.test(l[1])?i+=r[1]:s=!1);if(!s){var g=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:i,raw:g}}e[t]=i},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){if("("===(r=(n=e[a])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(o){if("word"===o[0]&&"progid"===o[1])continue;return a}this.doubleColon(n)}o=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=u,e.exports=t.default},5344:function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(3118)),o=p(n(9432)),a=p(n(4594)),i=p(n(2282)),s=p(n(8090)),l=p(n(3e3)),c=p(n(1647)),u=p(n(1841)),d=p(n(806)),g=p(n(573));function p(e){return e&&e.__esModule?e:{default:e}}function m(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new o.default(t)}m.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new o.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return m([n(r)]).process(e,t)},n},m.stringify=a.default,m.parse=c.default,m.vendor=l.default,m.list=u.default,m.comment=function(e){return new i.default(e)},m.atRule=function(e){return new s.default(e)},m.decl=function(e){return new r.default(e)},m.rule=function(e){return new d.default(e)},m.root=function(e){return new g.default(e)},t.default=m,e.exports=t.default},8389:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(4014)),a=s(n(6470)),i=s(n(1285));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,o=this.loadMap(n.from,r);o&&(this.text=o)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new o.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(n,"base64").toString():new Buffer(n,"base64").toString():window.atob(n);var n,r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&i.default.existsSync&&i.default.existsSync(n))return i.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof o.default.SourceMapConsumer)return o.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof o.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=a.default.join(a.default.dirname(e),r)),this.root=a.default.dirname(r),!(!i.default.existsSync||!i.default.existsSync(r))&&i.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":r(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=l,e.exports=t.default},9432:function(e,t,n){"use strict";t.__esModule=!0;var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=(r=n(1799))&&r.__esModule?r:{default:r};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e),this.version="6.0.23",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var s=i;if(s.postcss&&(s=s.postcss),"object"===(void 0===s?"undefined":o(s))&&Array.isArray(s.plugins))t=t.concat(s.plugins);else{if("function"!=typeof s)throw"object"===(void 0===s?"undefined":o(s))&&(s.parse||s.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(s+" is not a PostCSS plugin");t.push(s)}}return t},e}();t.default=s,e.exports=t.default},4974:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=(r=n(9936))&&r.__esModule?r:{default:r},i=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},o(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=i,e.exports=t.default},573:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),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),t.prototype.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var o=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var a=o,i=Array.isArray(a),s=0;for(a=i?a:a[Symbol.iterator]();;){var l;if(i){if(s>=a.length)break;l=a[s++]}else{if((s=a.next()).done)break;l=s.value}l.raws.before=n.raws.before}}return o},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(1799),r=n(9432),o=new t(new r,this,e);return o.stringify()},t}(((r=n(2146))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},806:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(2146)),a=i(n(1841));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!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,e.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectors",get:function(){return a.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(o.default);t.default=s,e.exports=t.default},3255:function(e,t){"use strict";t.__esModule=!0;var n={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "},r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var o=e.nodes[r],a=this.raw(o,"before");a&&this.builder(a),this.stringify(o,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,r){var o=void 0;if(r||(r=t),t&&void 0!==(o=e.raws[t]))return o;var a=e.parent;if("before"===r&&(!a||"root"===a.type&&a.first===e))return"";if(!a)return n[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,l="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[l]?o=this[l](i,e):i.walk((function(e){if(void 0!==(o=e.raws[t]))return!1})),void 0===o&&(o=n[r]),i.rawCache[r]=o,o},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var o=n.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(-1!==n.indexOf("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var i=0;i<o;i++)n+=a}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=r,e.exports=t.default},4594:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,o=(r=n(3255))&&r.__esModule?r:{default:r};e.exports=t.default},8818:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(683)),o=i(n(7272)),a=i(n(1810));function i(e){return e&&e.__esModule?e:{default:e}}var s={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,o.default)(new a.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=s[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var o=t.nextToken();if(t.back(o),"brackets"===o[0]||"("===o[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},7272:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=e.css.valueOf(),p=t.ignoreErrors,m=void 0,f=void 0,h=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,E=void 0,$=void 0,C=void 0,k=void 0,S=void 0,x=void 0,O=g.length,P=-1,A=1,N=0,R=[],T=[];function M(t){throw e.error("Unclosed "+t,A,N-P)}function j(){return 0===T.length&&N>=O}function I(){if(T.length)return T.pop();if(!(N>=O)){switch(((m=g.charCodeAt(N))===o||m===i||m===s&&g.charCodeAt(N+1)!==o)&&(P=N,A+=1),m){case o:case a:case 9:case s:case i:f=N;do{f+=1,(m=g.charCodeAt(f))===o&&(P=f,A+=1)}while(m===a||m===o||9===m||m===s||m===i);x=["space",g.slice(N,f)],N=f-1;break;case 91:x=["[","[",A,N-P];break;case 93:x=["]","]",A,N-P];break;case 123:x=["{","{",A,N-P];break;case 125:x=["}","}",A,N-P];break;case 58:x=[":",":",A,N-P];break;case 59:x=[";",";",A,N-P];break;case 40:if(k=R.length?R.pop()[1]:"",S=g.charCodeAt(N+1),"url"===k&&S!==n&&34!==S&&S!==a&&S!==o&&9!==S&&S!==i&&S!==s){f=N;do{if($=!1,-1===(f=g.indexOf(")",f+1))){if(p){f=N;break}M("bracket")}for(C=f;g.charCodeAt(C-1)===r;)C-=1,$=!$}while($);x=["brackets",g.slice(N,f+1),A,N-P,A,f-P],N=f}else f=g.indexOf(")",N+1),b=g.slice(N,f+1),-1===f||u.test(b)?x=["(","(",A,N-P]:(x=["brackets",b,A,N-P,A,f-P],N=f);break;case 41:x=[")",")",A,N-P];break;case n:case 34:h=m===n?"'":'"',f=N;do{if($=!1,-1===(f=g.indexOf(h,f+1))){if(p){f=N+1;break}M("string")}for(C=f;g.charCodeAt(C-1)===r;)C-=1,$=!$}while($);b=g.slice(N,f+1),v=b.split("\n"),(y=v.length-1)>0?(w=A+y,E=f-v[y].length):(w=A,E=P),x=["string",g.slice(N,f+1),A,N-P,w,f-E],P=E,A=w,N=f;break;case 64:l.lastIndex=N+1,l.test(g),f=0===l.lastIndex?g.length-1:l.lastIndex-2,x=["at-word",g.slice(N,f+1),A,N-P,A,f-P],N=f;break;case r:for(f=N,_=!0;g.charCodeAt(f+1)===r;)f+=1,_=!_;if(m=g.charCodeAt(f+1),_&&47!==m&&m!==a&&m!==o&&9!==m&&m!==s&&m!==i&&(f+=1,d.test(g.charAt(f)))){for(;d.test(g.charAt(f+1));)f+=1;g.charCodeAt(f+1)===a&&(f+=1)}x=["word",g.slice(N,f+1),A,N-P,A,f-P],N=f;break;default:47===m&&42===g.charCodeAt(N+1)?(0===(f=g.indexOf("*/",N+2)+1)&&(p?f=g.length:M("comment")),b=g.slice(N,f+1),v=b.split("\n"),(y=v.length-1)>0?(w=A+y,E=f-v[y].length):(w=A,E=P),x=["comment",b,A,N-P,w,f-E],P=E,A=w,N=f):(c.lastIndex=N+1,c.test(g),f=0===c.lastIndex?g.length-1:c.lastIndex-2,x=["word",g.slice(N,f+1),A,N-P,A,f-P],R.push(x),N=f)}return N++,x}}function D(e){T.push(e)}return{back:D,nextToken:I,endOfFile:j}};var n=39,r=92,o=10,a=32,i=12,s=13,l=/[ \n\t\r\f\{\}\(\)'"\\;/\[\]#]/g,c=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,u=/.[\\\/\("'\n]/,d=/[a-f0-9]/i;e.exports=t.default},3e3:function(e,t){"use strict";t.__esModule=!0,t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},6094:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){n[e]||(n[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};var n={};e.exports=t.default},9936:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var o=r.node.positionBy(r);this.line=o.line,this.column=o.column}for(var a in r)this[a]=r[a]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=r,e.exports=t.default},40:function(e,t,n){var r=n(5037),o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function i(){this._array=[],this._set=a?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var n=a?e:r.toSetString(e),i=a?this.has(e):o.call(this._set,n),s=this._array.length;i&&!t||this._array.push(e),i||(a?this._set.set(e,s):this._set[n]=s)},i.prototype.has=function(e){if(a)return this._set.has(e);var t=r.toSetString(e);return o.call(this._set,t)},i.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.I=i},3858:function(e,t,n){var r=n(2629);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,a,i,s,l=e.length,c=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&a),c+=(a&=31)<<u,u+=5}while(o);n.value=(s=(i=c)>>1,1==(1&i)?-s:s),n.rest=t}},2629:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},115:function(e,t){function n(e,r,o,a,i,s){var l=Math.floor((r-e)/2)+e,c=i(o,a[l],!0);return 0===c?l:c>0?r-l>1?n(l,r,o,a,i,s):s==t.LEAST_UPPER_BOUND?r<a.length?r:-1:l:l-e>1?n(e,l,o,a,i,s):s==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,o,a){if(0===r.length)return-1;var i=n(-1,r.length,e,r,o,a||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===o(r[i],r[i-1],!0);)--i;return i}},212:function(e,t,n){var r=n(5037);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,n,o,a,i,s;n=e,o=(t=this._last).generatedLine,a=n.generatedLine,i=t.generatedColumn,s=n.generatedColumn,a>o||a==o&&s>=i||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=o},8251:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,a){if(o<a){var i=o-1;n(e,(u=o,d=a,Math.round(u+Math.random()*(d-u))),a);for(var s=e[a],l=o;l<a;l++)t(e[l],s)<=0&&n(e,i+=1,l);n(e,i+1,l);var c=i+1;r(e,t,o,c-1),r(e,t,c+1,a)}var u,d}t.U=function(e,t){r(e,t,0,e.length-1)}},5177:function(e,t,n){var r=n(5037),o=n(115),a=n(40).I,i=n(3858),s=n(8251).U;function l(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new c(n,t)}function c(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),i=r.getArg(n,"sources"),s=r.getArg(n,"names",[]),l=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),u=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(o!=this._version)throw new Error("Unsupported version: "+o);l&&(l=r.normalize(l)),i=i.map(String).map(r.normalize).map((function(e){return l&&r.isAbsolute(l)&&r.isAbsolute(e)?r.relative(l,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(l,e,t)})),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=t,this.file=d}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),i=r.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=i.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),o=r.getArg(n,"line"),a=r.getArg(n,"column");if(o<s.line||o===s.line&&a<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=n,{generatedOffset:{generatedLine:o+1,generatedColumn:a+1},consumer:new l(r.getArg(e,"map"),t)}}))}l.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,n){var o,a=t||null;switch(n||l.GENERATED_ORDER){case l.GENERATED_ORDER:o=this._generatedMappings;break;case l.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;o.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},l.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var a=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(void 0===e.column)for(var l=s.originalLine;s&&s.originalLine===l;)a.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)a.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return a},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},c.fromSourceMap=function(e,t){var n=Object.create(c.prototype),o=n._names=a.fromArray(e._names.toArray(),!0),i=n._sources=a.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var l=e._mappings.toArray().slice(),d=n.__generatedMappings=[],g=n.__originalMappings=[],p=0,m=l.length;p<m;p++){var f=l[p],h=new u;h.generatedLine=f.generatedLine,h.generatedColumn=f.generatedColumn,f.source&&(h.source=i.indexOf(f.source),h.originalLine=f.originalLine,h.originalColumn=f.originalColumn,f.name&&(h.name=o.indexOf(f.name)),g.push(h)),d.push(h)}return s(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,o,a,l,c,d=1,g=0,p=0,m=0,f=0,h=0,v=e.length,y=0,b={},_={},w=[],E=[];y<v;)if(";"===e.charAt(y))d++,y++,g=0;else if(","===e.charAt(y))y++;else{for((n=new u).generatedLine=d,l=y;l<v&&!this._charIsMappingSeparator(e,l);l++);if(a=b[o=e.slice(y,l)])y+=o.length;else{for(a=[];y<l;)i.decode(e,y,_),c=_.value,y=_.rest,a.push(c);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");b[o]=a}n.generatedColumn=g+a[0],g=n.generatedColumn,a.length>1&&(n.source=f+a[1],f+=a[1],n.originalLine=p+a[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=m+a[3],m=n.originalColumn,a.length>4&&(n.name=h+a[4],h+=a[4])),E.push(n),"number"==typeof n.originalLine&&w.push(n)}s(E,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,a,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,a,i)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var a=r.getArg(o,"source",null);null!==a&&(a=this._sources.at(a),a=r.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var i=r.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:a,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o,a=e;if(null!=this.sourceRoot&&(a=r.relative(this.sourceRoot,a)),null!=this.sourceRoot&&(o=r.urlParse(this.sourceRoot))){var i=a.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!o.path||"/"==o.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(t)return null;throw new Error('"'+a+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(o>=0){var a=this._originalMappings[o];if(a.source===n.source)return{line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),a=this._sections[n];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var o=n.consumer.generatedPositionFor(e);if(o)return{line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],a=o.consumer._generatedMappings,i=0;i<a.length;i++){var l=a[i],c=o.consumer._sources.at(l.source);c=r.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var u=null;l.name&&(u=o.consumer._names.at(l.name),this._names.add(u),u=this._names.indexOf(u));var d={source:c,generatedLine:l.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(o.generatedOffset.generatedLine===l.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},8530:function(e,t,n){var r=n(3858),o=n(5037),a=n(40).I,i=n(212).H;function s(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new i,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var a=r;null!==t&&(a=o.relative(t,r)),n._sources.has(a)||n._sources.add(a);var i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)})),n},s.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),a=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,a),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:a})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||s.has(c)||s.add(c);var u=t.name;null==u||l.has(u)||l.add(u)}),this),this._sources=s,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,a,i=0,s=1,l=0,c=0,u=0,d=0,g="",p=this._mappings.toArray(),m=0,f=p.length;m<f;m++){if(e="",(t=p[m]).generatedLine!==s)for(i=0;t.generatedLine!==s;)e+=";",s++;else if(m>0){if(!o.compareByGeneratedPositionsInflated(t,p[m-1]))continue;e+=","}e+=r.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=r.encode(a-d),d=a,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-u),u=n)),g+=e}return g},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},8570:function(e,t,n){var r=n(8530).SourceMapGenerator,o=n(5037),a=/(\r?\n)/,i="$$$isSourceNode$$$";function s(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[i]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,i=e.split(a),l=0,c=function(){return e()+(e()||"");function e(){return l<i.length?i[l++]:void 0}},u=1,d=0,g=null;return t.eachMapping((function(e){if(null!==g){if(!(u<e.generatedLine)){var t=(n=i[l]||"").substr(0,e.generatedColumn-d);return i[l]=n.substr(e.generatedColumn-d),d=e.generatedColumn,p(g,t),void(g=e)}p(g,c()),u++,d=0}for(;u<e.generatedLine;)r.add(c()),u++;if(d<e.generatedColumn){var n=i[l]||"";r.add(n.substr(0,e.generatedColumn)),i[l]=n.substr(e.generatedColumn),d=e.generatedColumn}g=e}),this),l<i.length&&(g&&p(g,c()),r.add(i.splice(l).join(""))),t.sources.forEach((function(e){var a=t.sourceContentFor(e);null!=a&&(null!=n&&(e=o.join(n,e)),r.setSourceContent(e,a))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var a=n?o.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,a,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,a=null,i=null,s=null,l=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(a===r.source&&i===r.line&&s===r.column&&l===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),a=r.source,i=r.line,s=r.column,l=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),a=null,o=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===u?(a=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},5037:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var i,s=t.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(i=l[u])?l.splice(u,1):".."===i?c++:c>0&&(""===i?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),r?(r.path=n,a(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,a(s)):l}t.urlParse=o,t.urlGenerate=a,t.normalize=i,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?c:function(e){return u(e)?"$"+e:e},t.fromSetString=l?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var l=r.path.lastIndexOf("/");l>=0&&(r.path=r.path.substring(0,l+1))}t=s(a(r),t)}return i(t)}},4014:function(e,t,n){t.SourceMapGenerator=n(8530).SourceMapGenerator,t.SourceMapConsumer=n(5177).SourceMapConsumer,t.SourceNode=n(8570).SourceNode},4624:function(e,t,n){"use strict";e.exports=n(5627)},5627:function(e,t){"use strict";var n=function(e){if(!e.includes("grid"))return e;if("display:grid"===e)return"\n display: -ms-grid;\n display: grid;\n ";if("display:inline-grid"===e)return"\n display: -ms-inline-grid;\n display: inline-grid;\n ";var t=e.match(/^grid-([a-z-]+): *(.+)/);if(!t)return e;var n=t[1],r=t[2];return"template"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],a=/repeat\((\d+), *(.+)\)/;return r&&o?"\n -ms-grid-rows: "+r.replace(a,"($2)[$1]")+";\n -ms-grid-columns: "+o.replace(a,"($2)[$1]")+";\n grid-"+e+": "+t+";\n ":e+": "+t+";"}(n,r):"template-rows"===n||"template-columns"===n?function(e,t){return"\n -ms-grid-"+e.split("-")[1]+": "+t.replace(/repeat\((\d+), *(.+)\)/,"($2)[$1]")+";\n grid-"+e+": "+t+";\n "}(n,r):"row"===n||"column"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],a=null==o?void 0:o.match("span ");if(!r)return"\n -ms-grid-"+e+": "+t+";\n grid-"+e+": "+t+";\n ";if(r&&a)return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+o.replace("span ","")+";\n grid-"+e+": "+t+";\n ";if(r&&!a){var i=parseInt(r);return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+(parseInt(o)-i)+";\n grid-"+e+": "+t+";\n "}return"\n grid-"+e+": "+t+";\n "}(n,r):e},r=function(e,t){if(1===e||2===e)return Array.isArray(t)?t.forEach((function(e){return n(e)})):n(t)};Object.defineProperty(r,"name",{value:"griddie"}),t.default=r},7621:function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,d=o.random;function g(e,t){if(t=t||{},(e=e||"")instanceof g)return e;if(!(this instanceof g))return new g(e,t);var n=function(e){var t,n,r,s={r:0,g:0,b:0},l=1,d=null,g=null,p=null,m=!1,f=!1;return"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(A[e])e=A[e],n=!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:j(t[1]),g:j(t[2]),b:j(t[3]),a:L(t[4]),format:n?"name":"hex8"}:(t=z.hex6.exec(e))?{r:j(t[1]),g:j(t[2]),b:j(t[3]),format:n?"name":"hex"}:(t=z.hex4.exec(e))?{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=e.r,n=e.g,r=e.b,s={r:255*T(t,255),g:255*T(n,255),b:255*T(r,255)},m=!0,f="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(d=D(e.s),g=D(e.v),s=function(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),l=n*(1-(1-a)*t),c=r%6;return{r:255*[n,s,i,i,l,n][c],g:255*[l,n,n,s,i,i][c],b:255*[i,i,l,n,n,s][c]}}(e.h,d,g),m=!0,f="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(d=D(e.s),p=D(e.l),s=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,d,p),m=!0,f="hsl"),e.hasOwnProperty("a")&&(l=e.a)),l=R(l),{ok:m,format:e.format||f,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=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.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=n.ok,this._tc_id=s++}function p(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var l=a-i;switch(o=s>.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function m(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function f(e,t,n,r){var o=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16))];return r&&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 h(e,t,n,r){return[I(F(r)),I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.s-=t/100,n.s=M(n.s),g(n)}function y(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.s+=t/100,n.s=M(n.s),g(n)}function b(e){return g(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.l+=t/100,n.l=M(n.l),g(n)}function w(e,t){t=0===t?0:t||10;var n=g(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),g(n)}function E(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.l-=t/100,n.l=M(n.l),g(n)}function $(e,t){var n=g(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,g(n)}function C(e){var t=g(e).toHsl();return t.h=(t.h+180)%360,g(t)}function k(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+120)%360,s:t.s,l:t.l}),g({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+90)%360,s:t.s,l:t.l}),g({h:(n+180)%360,s:t.s,l:t.l}),g({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+72)%360,s:t.s,l:t.l}),g({h:(n+216)%360,s:t.s,l:t.l})]}function O(e,t,n){t=t||6,n=n||30;var r=g(e).toHsl(),o=360/n,a=[g(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(g(r));return a}function P(e,t){t=t||6;for(var n=g(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(g({h:r,s:o,v:a})),a=(a+s)%1;return i}g.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,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.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*(n<=.03928?n/12.92:o.pow((n+.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=m(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=m(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return f(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16)),I(F(r))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.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*T(this._r,255))+"%",g:l(100*T(this._g,255))+"%",b:l(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*T(this._r,255))+"%, "+l(100*T(this._g,255))+"%, "+l(100*T(this._b,255))+"%)":"rgba("+l(100*T(this._r,255))+"%, "+l(100*T(this._g,255))+"%, "+l(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[f(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=g(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return g(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification($,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(C,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},g.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return g(e,t)},g.equals=function(e,t){return!(!e||!t)&&g(e).toRgbString()==g(t).toRgbString()},g.random=function(){return g.fromRatio({r:d(),g:d(),b:d()})},g.mix=function(e,t,n){n=0===n?0:n||50;var r=g(e).toRgb(),o=g(t).toRgb(),a=n/100;return g({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},g.readability=function(e,t){var n=g(e),r=g(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},g.isReadable=function(e,t,n){var r,o,a,i,s,l=g.readability(e,t);switch(o=!1,(a=n,"AA"!==(i=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:i,size:s}).level+r.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},g.mostReadable=function(e,t,n){var r,o,a,i,s=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=g.readability(e,t[c]))>l&&(l=r,s=g(t[c]));return g.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,g.mostReadable(e,["#fff","#000"],n))};var A=g.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=g.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(A);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return c(1,u(0,e))}function j(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return j(e)/255}var G,B,q,z=(B="[\\s|\\(]+("+(G="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?",q="[\\s|\\(]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?",{CSS_UNIT:new RegExp(G),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+q),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 H(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=g:void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}(Math)},8026:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//5585d65b9d8c575e5a1f.gogole-g-logo.svg"},1611:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//389bc604a859dff92f15.google-ads-logo.svg"},1724:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//6daf36ba57db9c82b6e0.google-merchant-center-logo.svg"},4515:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//25a37606f64ef10ff60e.wp-logo.svg"},7555:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/free-listings/configure-product-listings/hero//fb15f79da797ad9cca81.google-free-listing.png"},5588:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//e398c276792a4a469b92.ad-corner-buttons-image.svg"},6309:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//ccb636afd5f179a2a92c.gmail-logo.svg"},184:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//53f7ebba3e0e05545002.google-shopping-logo.svg"},3006:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//093d4a30c2447b174c17.map-background.png"},2702:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//8955ab13b4b35353af90.product-sample-image.jpg"},6544:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//26a3f83547ba2af2f541.shop-sample-logo.png"},9126:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//6ad8e32cee58c14f05a5.youtube-logo.svg"},221:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/dashboard/campaign-creation-success-guide//c4325f35cdc65f85a7c1.header.svg"},4802:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/benefits-card//ff593be89bcb7ad1ab7e.image.png"},1704:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/customer-quotes-card//1ad852c48821e91bfd6e.img-quote.svg"},434:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//3905a197de7922d5b82a.img-dashboard.svg"},2454:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//563fd40c029bebb36783.img-free-listings.svg"},9648:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//c94ebde75361208ddf3a.img-product-promotion.svg"},4682:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/get-started-card//d7e2d04ea7d6535fecf8.image.svg"},5314:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/images//64742f6405be8486218c.google-logo.svg"},1393:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/product-feed/submission-success-guide//9a968634c60ce598aae3.woocommerce-logo.svg"},9196:function(e){"use strict";e.exports=window.React},2819:function(e){"use strict";e.exports=window.lodash},6292:function(e){"use strict";e.exports=window.moment},5736:function(e){"use strict";e.exports=window.wp.i18n},683:function(){},1285:function(){},5580:function(){}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.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(/\/[^\/]+$/,"/"),__webpack_require__.p=e}();var __webpack_exports__={};!function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{Text:function(){return Fi},block:function(){return Li},destructive:function(){return Bi},highlighterText:function(){return zi},muted:function(){return qi},positive:function(){return Gi},upperCase:function(){return Hi}});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{createAdsCampaign:function(){return $d},deleteAdsCampaign:function(){return kd},deleteShippingRates:function(){return Zu},deleteShippingTimes:function(){return ed},disconnectAllAccounts:function(){return dd},disconnectGoogleAccount:function(){return cd},disconnectGoogleAdsAccount:function(){return ud},fetchExistingGoogleAdsAccounts:function(){return pd},fetchExistingGoogleMCAccounts:function(){return sd},fetchGoogleAccount:function(){return od},fetchGoogleAdsAccount:function(){return ld},fetchGoogleAdsAccountBillingStatus:function(){return gd},fetchGoogleMCAccount:function(){return id},fetchJetpackAccount:function(){return rd},fetchMCSetup:function(){return xd},fetchSettings:function(){return td},fetchShippingRates:function(){return Ku},fetchShippingTimes:function(){return Xu},fetchTargetAudience:function(){return yd},handleFetchError:function(){return Yu},receiveAdsAccount:function(){return _d},receiveGoogleAccountAccess:function(){return ad},receiveGoogleAdsAccountBillingStatus:function(){return wd},receiveGoogleMCContactInformation:function(){return md},receiveMCAccount:function(){return bd},receiveMCIssues:function(){return Nd},receiveMCProductFeed:function(){return Rd},receiveMCProductStatistics:function(){return Pd},receiveMCReviewRequest:function(){return Ad},receiveMCSetup:function(){return Od},receiveReport:function(){return Sd},requestPhoneVerificationCode:function(){return hd},saveSettings:function(){return nd},saveTargetAudience:function(){return Ed},sendMCReviewRequest:function(){return Md},updateAdsCampaign:function(){return Cd},updateGoogleMCContactInformation:function(){return fd},updateMCProductVisibility:function(){return Td},upsertShippingRates:function(){return Qu},upsertShippingTimes:function(){return Ju},verifyPhoneNumber:function(){return vd}});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{getAdsCampaigns:function(){return dg},getDashboardPerformance:function(){return _g},getExistingGoogleAdsAccounts:function(){return ig},getExistingGoogleMCAccounts:function(){return rg},getGoogleAccount:function(){return eg},getGoogleAccountAccess:function(){return tg},getGoogleAdsAccount:function(){return og},getGoogleAdsAccountBillingStatus:function(){return ag},getGoogleMCAccount:function(){return ng},getGoogleMCContactInformation:function(){return sg},getGoogleMCPhoneNumber:function(){return lg},getJetpackAccount:function(){return Jd},getMCCountriesAndContinents:function(){return cg},getMCIssues:function(){return hg},getMCProductFeed:function(){return vg},getMCProductStatistics:function(){return pg},getMCReviewRequest:function(){return mg},getMCSetup:function(){return gg},getPolicyCheck:function(){return fg},getReport:function(){return bg},getReportByApiQuery:function(){return yg},getSettings:function(){return Xd},getShippingRates:function(){return Qd},getShippingTimes:function(){return Zd},getTargetAudience:function(){return ug}});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{getAdsCampaigns:function(){return Dg},getExistingGoogleAdsAccounts:function(){return Rg},getExistingGoogleMCAccounts:function(){return Pg},getGoogleAccount:function(){return Sg},getGoogleAccountAccess:function(){return xg},getGoogleAdsAccount:function(){return Ag},getGoogleAdsAccountBillingStatus:function(){return Ng},getGoogleMCAccount:function(){return Og},getGoogleMCContactInformation:function(){return Tg},getJetpackAccount:function(){return kg},getMCCountriesAndContinents:function(){return Mg},getMCIssues:function(){return Bg},getMCProductFeed:function(){return qg},getMCProductStatistics:function(){return Lg},getMCReviewRequest:function(){return Gg},getMCSetup:function(){return Fg},getPolicyCheck:function(){return jg},getReportByApiQuery:function(){return Hg},getSettings:function(){return Cg},getShippingRates:function(){return Eg},getShippingTimes:function(){return $g},getTargetAudience:function(){return Ig}});var o=__webpack_require__(5736),a=window.wp.hooks,i=window.wc.wcSettings,s=window.wp.element;const l="wc/gla",c="core/notices";var u=window.wp.apiFetch,d=__webpack_require__.n(u),g=__webpack_require__(2819),p=e=>{const t=(0,s.useRef)(e);return(0,g.isEqual)(t.current,e)||(t.current=e),t.current};const m="START",f="FINISH",h="ERROR",v="RESET",y={loading:!1,error:void 0,data:void 0,response:void 0,options:void 0},b=(e,t)=>{switch(t.type){case m:return{...e,loading:!0,options:t.options};case f:return{...e,loading:!1,data:t.data,response:t.response,options:t.options};case h:return{...e,loading:!1,error:t.error,response:t.response,options:t.options};case v:return t.state}},_=e=>{const{parse:t=!0}=e;return t};var w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:y;const n=p(e),r={...y,...t},[o,a]=(0,s.useReducer)(b,r),i=(0,s.useCallback)((async e=>{const t={...n,...e};a({type:m,options:t});try{const e=await d()({...t,parse:!1}),n=e.clone(),r=n.json&&await n.json();return a({type:f,data:r,response:e,options:t}),_(t)?r:e}catch(e){if("fetch_error"===e.code)throw a({type:h,error:e,response:void 0,options:t}),e;const n=e,r=n.clone(),o=r.json?await r.json():new Error("No content body in fetch response.");throw a({type:h,error:o,response:n,options:t}),_(t)?o:n}}),[n]),l=e=>{a({type:v,state:{...r,...e}})},c={...o,reset:l};return[i,c]};function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"single";const t=(0,s.useRef)({}),[n,r]=(0,s.useState)(0);t.current.usingHandle=e,t.current[e]=t.current[e]||{callCount:0};const o=(0,s.useCallback)((n=>{r(n);const o=t.current[e],a=(new Date).getTime()+1e3*n;o.id&&clearInterval(o.id),o.updateSecond=()=>{let n=(a-(new Date).getTime())/1e3;n=Math.max(Math.round(n),0),t.current.usingHandle===e&&r(n),0===n&&clearInterval(o.id)},o.id=setInterval(o.updateSecond,1e3),o.callCount+=1}),[e]);(0,s.useEffect)((()=>{const{updateSecond:n}=t.current[e];n&&n()}),[e]),(0,s.useEffect)((()=>{const e=t.current;return()=>{Object.values(e).forEach((e=>clearInterval(e.id)))}}),[]);const{callCount:a}=t.current[e];return{second:n,callCount:a,startCountdown:o}}const $={path:"/wc/gla/mc/syncable-products-count"},C={...$,method:"POST"};function k(){var e;const{second:t,callCount:n,startCountdown:r}=E(),[o,{data:a}]=w($),[i]=w(C),l=null!==(e=null==a?void 0:a.count)&&void 0!==e?e:null,c=(0,s.useCallback)((()=>{const e=o();return e.finally((()=>r(5))),e}),[o,r]);return(0,s.useEffect)((()=>{0===t&&n>0&&null===l&&c()}),[t,n,l,c]),{request:i,retrieve:c,count:l}}function S(){return S=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},S.apply(this,arguments)}function x(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function O(e,t){if(null==e)return{};var n,r,o=x(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var P=__webpack_require__(4184),A=__webpack_require__.n(P),N=(0,s.createContext)({}),R=function(){return(0,s.useContext)(N)};function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var M=__webpack_require__(9196),j=__webpack_require__.n(M),I=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},D=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,F=I((function(e){return D.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function L(e,t){return L=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},L(e,t)}function G(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,L(e,t)}var B=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),q=function(e){function t(e,r,l,c,g){for(var p,m,f,h,_,E=0,$=0,C=0,k=0,S=0,R=0,M=f=p=0,I=0,D=0,F=0,L=0,G=l.length,B=G-1,q="",z="",H="",U="";I<G;){if(m=l.charCodeAt(I),I===B&&0!==$+k+C+E&&(0!==$&&(m=47===$?10:47),k=C=E=0,G++,B++),0===$+k+C+E){if(I===B&&(0<D&&(q=q.replace(d,"")),0<q.trim().length)){switch(m){case 32:case 9:case 59:case 13:case 10:break;default:q+=l.charAt(I)}m=59}switch(m){case 123:for(p=(q=q.trim()).charCodeAt(0),f=1,L=++I;I<G;){switch(m=l.charCodeAt(I)){case 123:f++;break;case 125:f--;break;case 47:switch(m=l.charCodeAt(I+1)){case 42:case 47:e:{for(M=I+1;M<B;++M)switch(l.charCodeAt(M)){case 47:if(42===m&&42===l.charCodeAt(M-1)&&I+2!==M){I=M+1;break e}break;case 10:if(47===m){I=M+1;break e}}I=M}}break;case 91:m++;case 40:m++;case 34:case 39:for(;I++<B&&l.charCodeAt(I)!==m;);}if(0===f)break;I++}if(f=l.substring(L,I),0===p&&(p=(q=q.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<D&&(q=q.replace(d,"")),m=q.charCodeAt(1)){case 100:case 109:case 115:case 45:D=r;break;default:D=N}if(L=(f=t(r,D,f,m,g+1)).length,0<T&&(_=s(3,f,D=n(N,q,F),r,O,x,L,m,g,c),q=D.join(""),void 0!==_&&0===(L=(f=_.trim()).length)&&(m=0,f="")),0<L)switch(m){case 115:q=q.replace(w,i);case 100:case 109:case 45:f=q+"{"+f+"}";break;case 107:f=(q=q.replace(v,"$1 $2"))+"{"+f+"}",f=1===A||2===A&&a("@"+f,3)?"@-webkit-"+f+"@"+f:"@"+f;break;default:f=q+f,112===c&&(z+=f,f="")}else f=""}else f=t(r,n(r,q,F),f,c,g+1);H+=f,f=F=D=M=p=0,q="",m=l.charCodeAt(++I);break;case 125:case 59:if(1<(L=(q=(0<D?q.replace(d,""):q).trim()).length))switch(0===M&&(p=q.charCodeAt(0),45===p||96<p&&123>p)&&(L=(q=q.replace(" ",":")).length),0<T&&void 0!==(_=s(1,q,r,e,O,x,z.length,c,g,c))&&0===(L=(q=_.trim()).length)&&(q="\0\0"),p=q.charCodeAt(0),m=q.charCodeAt(1),p){case 0:break;case 64:if(105===m||99===m){U+=q+l.charAt(I);break}default:58!==q.charCodeAt(L-1)&&(z+=o(q,p,m,q.charCodeAt(2)))}F=D=M=p=0,q="",m=l.charCodeAt(++I)}}switch(m){case 13:case 10:47===$?$=0:0===1+p&&107!==c&&0<q.length&&(D=1,q+="\0"),0<T*j&&s(0,q,r,e,O,x,z.length,c,g,c),x=1,O++;break;case 59:case 125:if(0===$+k+C+E){x++;break}default:switch(x++,h=l.charAt(I),m){case 9:case 32:if(0===k+E+$)switch(S){case 44:case 58:case 9:case 32:h="";break;default:32!==m&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===k+$+E&&(D=F=1,h="\f"+h);break;case 108:if(0===k+$+E+P&&0<M)switch(I-M){case 2:112===S&&58===l.charCodeAt(I-3)&&(P=S);case 8:111===R&&(P=R)}break;case 58:0===k+$+E&&(M=I);break;case 44:0===$+C+k+E&&(D=1,h+="\r");break;case 34:case 39:0===$&&(k=k===m?0:0===k?m:k);break;case 91:0===k+$+C&&E++;break;case 93:0===k+$+C&&E--;break;case 41:0===k+$+E&&C--;break;case 40:0===k+$+E&&(0===p&&(2*S+3*R==533||(p=1)),C++);break;case 64:0===$+C+k+E+M+f&&(f=1);break;case 42:case 47:if(!(0<k+E+C))switch($){case 0:switch(2*m+3*l.charCodeAt(I+1)){case 235:$=47;break;case 220:L=I,$=42}break;case 42:47===m&&42===S&&L+2!==I&&(33===l.charCodeAt(L+2)&&(z+=l.substring(L,I+1)),h="",$=0)}}0===$&&(q+=h)}R=S,S=m,I++}if(0<(L=z.length)){if(D=r,0<T&&void 0!==(_=s(2,z,D,e,O,x,L,c,g,c))&&0===(z=_).length)return U+z+H;if(z=D.join(",")+"{"+z+"}",0!=A*P){switch(2!==A||a(z,2)||(P=0),P){case 111:z=z.replace(b,":-moz-$1")+z;break;case 112:z=z.replace(y,"::-webkit-input-$1")+z.replace(y,"::-moz-$1")+z.replace(y,":-ms-input-$1")+z}P=0}}return U+z+H}function n(e,t,n){var o=t.trim().split(f);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[l++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(h,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var l=i.substring(e,i.length-1).trim();return l=i.substring(0,e).trim()+l+";",1===A||2===A&&a(l,1)?"-webkit-"+l+l:l}if(0===A||2===A&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(l=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+l+i;case 1005:return p.test(i)?i.replace(g,":-webkit-")+i.replace(g,":-moz-")+i:i;case 1e3:switch(t=(l=i.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=i.replace(_,"tb");break;case 232:l=i.replace(_,"tb-rl");break;case 220:l=i.replace(_,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+l+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(l=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(l,"-webkit-"+l)+";"+i.replace(l,"-ms-"+l+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return l=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+l+"-ms-flex-"+l+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace($,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace($,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(l,"-webkit-"+l)+i.replace(l,"-moz-"+l.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(m,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(C,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,l,u){for(var d,g=0,p=t;g<T;++g)switch(d=R[g].call(c,e,p,n,r,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?A=1:(A=2,M=e):A=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<T){var o=s(-1,n,r,r,O,x,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(N,r,n,0,0);return 0<T&&void 0!==(o=s(-2,a,r,r,O,x,a.length,0,0,0))&&(a=o),P=0,x=O=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,g=/: */g,p=/zoo|gra/,m=/([,: ])(transform)/g,f=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,$=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,x=1,O=1,P=0,A=1,N=[],R=[],T=0,M=null,j=0;return c.use=function e(t){switch(t){case void 0:case null:T=R.length=0;break;default:if("function"==typeof t)R[T++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},z="/*|*/";function H(e){e&&U.current.insert(e+"}")}var U={current:null},V=function(e,t,n,r,o,a,i,s,l,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return U.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+z;break;case 3:switch(s){case 102:case 112:return U.current.insert(n[0]+t),"";default:return t+(0===c?z:"")}case-2:t.split("/*|*/}").forEach(H)}},W=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r,o=new q(t),a={};r=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),o.use(e.stylisPlugins)(V),i=function(e,t,n,r){var a=t.name;U.current=n,o(e,t.styles),r&&(l.inserted[a]=!0)};var l={key:n,sheet:new B({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return l},Y=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},K={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},Q=/[A-Z]|^ms/g,Z=/_EMO_([^_]+?)_([^]*?)_EMO_/g,X=function(e){return 45===e.charCodeAt(1)},J=function(e){return null!=e&&"boolean"!=typeof e},ee=I((function(e){return X(e)?e:e.replace(Q,"-$&").toLowerCase()})),te=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Z,(function(e,t,n){return re={name:t,styles:n,next:re},t}))}return 1===K[e]||X(e)||"number"!=typeof t||0===t?t:t+"px"};function ne(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return re={name:n.name,styles:n.styles,next:re},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)re={name:o.name,styles:o.styles,next:re},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=ne(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":J(i)&&(r+=ee(a)+":"+te(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=ne(e,t,i,!1);switch(a){case"animation":case"animationName":r+=ee(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)J(i[l])&&(r+=ee(a)+":"+te(a,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=re,i=n(e);return re=a,ne(e,t,i,r)}}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var re,oe=/label:\s*([^\s;\n{]+)\s*;/g,ae=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";re=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=ne(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=ne(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);oe.lastIndex=0;for(var s,l="";null!==(s=oe.exec(o));)l+="-"+s[1];return{name:Y(o)+l,styles:o,next:re}},ie=(Object.prototype.hasOwnProperty,(0,M.createContext)("undefined"!=typeof HTMLElement?W():null)),se=(0,M.createContext)({}),le=(ie.Provider,function(e){var t=function(t,n){return(0,M.createElement)(ie.Consumer,null,(function(r){return e(t,r,n)}))};return(0,M.forwardRef)(t)});function ce(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var ue=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0),o=o.next}while(void 0!==o)}},de=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return ae(t)},ge=(M.Component,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o});function pe(e,t,n){var r=[],o=ce(e,r,n);return r.length<2?n:o+t(r)}le((function(e,t){return(0,M.createElement)(se.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ae(n,t.registered);return ue(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return pe(t.registered,r,ge(n))},theme:n};return e.children(o)}))}));var me=F,fe=function(e){return"theme"!==e&&"innerRef"!==e},he=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?me:fe};function ve(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ye(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ve(n,!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ve(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var be=function e(t,n){var r,o,a;void 0!==n&&(r=n.label,a=n.target,o=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var i=t.__emotion_real===t,s=i&&t.__emotion_base||t;"function"!=typeof o&&i&&(o=t.__emotion_forwardProp);var l=o||he(s),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var g=u.length,p=1;p<g;p++)d.push(u[p],u[0][p])}var m=le((function(e,t,n){return(0,M.createElement)(se.Consumer,null,(function(r){var i=c&&e.as||s,u="",g=[],p=e;if(null==e.theme){for(var m in p={},e)p[m]=e[m];p.theme=r}"string"==typeof e.className?u=ce(t.registered,g,e.className):null!=e.className&&(u=e.className+" ");var f=ae(d.concat(g),t.registered,p);ue(t,f,"string"==typeof i),u+=t.key+"-"+f.name,void 0!==a&&(u+=" "+a);var h=c&&void 0===o?he(i):l,v={};for(var y in e)c&&"as"===y||h(y)&&(v[y]=e[y]);return v.className=u,v.ref=n||e.innerRef,(0,M.createElement)(i,v)}))}));return m.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",m.defaultProps=t.defaultProps,m.__emotion_real=m,m.__emotion_base=s,m.__emotion_styles=d,m.__emotion_forwardProp=o,Object.defineProperty(m,"toString",{value:function(){return"."+a}}),m.withComponent=function(t,r){return e(t,void 0!==r?ye({},n||{},{},r):n).apply(void 0,d)},m}},_e={name:"8kj89b",styles:"flex-direction:row-reverse;"},we=be("div",{target:"eboqfv50",label:"Flex"})("box-sizing:border-box;display:flex;width:100%;",(function(e){var t=e.align;return de({alignItems:{top:"flex-start",bottom:"flex-end"}[t]||t},"")})," ",(function(e){var t=e.justify,n=e.isReversed,r={left:"flex-start",right:"flex-end"},o=r[t]||t;return n&&r[t]&&(o="left"===t?r.right:r.left),de({justifyContent:o},"")})," ",(function(e){var t=e.gap,n=e.isReversed,r="number"==typeof t?4*t:4,o="margin-".concat(n?"left":"right");return de("> *{",o,":",r,"px;&:last-child{",o,":0;}}")})," ",(function(e){return e.isReversed?_e:""}),""),Ee=be("div",{target:"eboqfv51",label:"Item"})({name:"13luw5d",styles:"box-sizing:border-box;min-width:0;max-width:100%;"}),$e=be(Ee,{target:"eboqfv52",label:"Block"})({name:"1rr4qq7",styles:"flex:1;"}),Ce=(0,s.forwardRef)((function(e,t){var n=e.align,r=void 0===n?"center":n,o=e.className,a=e.gap,i=void 0===a?2:a,l=e.justify,c=void 0===l?"space-between":l,u=e.isReversed,d=void 0!==u&&u,g=O(e,["align","className","gap","justify","isReversed"]),p=A()("components-flex",o);return(0,s.createElement)(we,S({},g,{align:r,className:p,ref:t,gap:i,justify:c,isReversed:d}))})),ke=Ce,Se=__webpack_require__(7621),xe=__webpack_require__.n(Se);function Oe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Pe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oe(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ae={black:"#000",white:"#fff"},Ne={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Re={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:Be(Ne.gray[900],.62)},Te={900:Be("#000510",.9),800:Be("#00000a",.85),700:Be("#06060b",.8),600:Be("#000913",.75),500:Be("#0a1829",.7),400:Be("#0a1829",.65),300:Be("#0e1c2e",.62),200:Be("#162435",.55),100:Be("#223443",.5),backgroundFill:Be(Re[700],.7)},Me={900:Be("#304455",.45),800:Be("#425863",.4),700:Be("#667886",.35),600:Be("#7b86a2",.3),500:Be("#9197a2",.25),400:Be("#95959c",.2),300:Be("#829493",.15),200:Be("#8b8b96",.1),100:Be("#747474",.05)},je={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:Be(Ae.white,.65)},Ie={900:Be(Ae.white,.5),800:Be(Ae.white,.45),700:Be(Ae.white,.4),600:Be(Ae.white,.35),500:Be(Ae.white,.3),400:Be(Ae.white,.25),300:Be(Ae.white,.2),200:Be(Ae.white,.15),100:Be(Ae.white,.1),backgroundFill:Be(je[300],.8)},De={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Fe={theme:"var( --wp-admin-theme-color, ".concat(De.wordpress[700],")"),themeDark10:"var( --wp-admin-theme-color-darker-10, ".concat(De.medium.focus,")")},Le={theme:Fe.theme,background:Ae.white,backgroundDisabled:je[200],border:Ne.gray[700],borderFocus:Fe.themeDark10,borderDisabled:Ne.gray[400],borderLight:Ne.gray[200],label:Re[500],textDisabled:Re[150],textDark:Ae.white,textLight:Ae.black},Ge=Pe(Pe({},Ae),{},{darkGray:(0,g.merge)({},Re,Ne.darkGray),darkOpacity:Te,darkOpacityLight:Me,mediumGray:Ne.mediumGray,gray:Ne.gray,lightGray:(0,g.merge)({},je,Ne.lightGray),lightGrayLight:Ie,blue:(0,g.merge)({},De,Ne.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Fe,ui:Le});function Be(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=xe()(e).toRgb(),r=n.r,o=n.g,a=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(t,")")}function qe(e){return(0,g.get)(Ge,e,"#000")}function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return isNaN(e)?"".concat(8,"px"):"".concat(8*e,"px")}var He={borderColor:qe("lightGray.500"),borderRadius:"3px",backgroundShady:qe("lightGray.200")},Ue=He.borderColor,Ve=He.borderRadius,We=He.backgroundShady,Ye=be("div",{target:"e1q7k77g0",label:"CardUI"})("background:",qe("white"),";box-sizing:border-box;border-radius:",Ve,";border:1px solid ",Ue,";",et,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}"),Ke=be(ke,{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",Ue,";border-top-left-radius:",Ve,";border-top-right-radius:",Ve,";box-sizing:border-box;&:last-child{border-bottom:none;}",Je,";",et,";",tt,";"),Qe=(be("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",Ve,";border-top-right-radius:",Ve,";}&:last-of-type{border-bottom-left-radius:",Ve,";border-bottom-right-radius:",Ve,";}"),be("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ".concat(ze(3)," ").concat(ze(4),";\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ").concat(ze(2)," ").concat(ze(3),";\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ").concat(ze(2),";\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ").concat(ze(1),";\n\t\t\t}\n\t\t}\n\t")}),";",tt,";")),Ze=be(ke,{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",Ue,";border-bottom-left-radius:",Ve,";border-bottom-right-radius:",Ve,";box-sizing:border-box;&:first-of-type{border-top:none;}",Je,";",et,";",tt,";"),Xe=be("hr",{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",Ue,";box-sizing:border-box;display:block;height:0;width:100%;");function Je(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ".concat(ze(3)," ").concat(ze(4),";\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ").concat(ze(2)," ").concat(ze(3),";\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ").concat(ze(2),";\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ").concat(ze(1),";\n\t\t\t}\n\t\t}\n\t")}function et(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function tt(){return"\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(We,";\n\t\t}\n\t")}function nt(e){var t=e.className,n=e.isBorderless,r=e.isElevated,o=e.size,a=O(e,["className","isBorderless","isElevated","size"]),i=N.Provider,l={isBorderless:n,isElevated:r,size:o},c=A()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-".concat(o),t);return(0,s.createElement)(i,{value:l},(0,s.createElement)(Ye,S({},a,{className:c})))}nt.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var rt=nt;function ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function at(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ot(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var it={isShady:!1,size:"medium"},st=function(e){var t=e.className,n=e.isShady,r=O(e,["className","isShady"]),o=at(at(at({},it),R()),e).size,a=A()("components-card__body",n&&"is-shady",o&&"is-size-".concat(o),t);return(0,s.createElement)(Qe,S({},r,{className:a}))},lt=(0,s.forwardRef)((function(e,t){var n=e.className,r=O(e,["className"]),o=A()("components-flex__item",n);return(0,s.createElement)(Ee,S({},r,{className:o,ref:t}))}));function ct(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var ut=de;function dt(){var e=ct(["\n\t","\n\t","\n"]);return dt=function(){return e},e}function gt(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return gt=function(){return e},e}function pt(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return pt=function(){return e},e}function mt(){var e=ct(["\n\t\t\t\t","\n\t\t\t"]);return mt=function(){return e},e}function ft(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return ft=function(){return e},e}function ht(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return ht=function(){return e},e}function vt(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return vt=function(){return e},e}function yt(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return yt=function(){return e},e}function bt(){var e=ct(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return bt=function(){return e},e}var _t="font-weight: 400;",wt="font-weight: 600;",Et="\n ".concat(_t,"\n"),$t="\n\tfont-size: 32px;\n\tline-height: 40px;\n",Ct="\n\tfont-size: 24px;\n\tline-height: 32px;\n",kt="\n\tfont-size: 20px;\n\tline-height: 28px;\n",St="\n\t".concat(wt,"\n\tfont-size: 14px;\n\tline-height: 20px;\n"),xt="\n\tfont-size: 16px;\n\tline-height: 24px;\n",Ot="\n\tfont-size: 14px;\n\tline-height: 20px;\n",Pt="\n\t".concat(_t,"\n"),At="\n\tfont-size: 16px;\n\tline-height: 24px;\n",Nt="\n\tfont-size: 14px;\n\tline-height: 20px;\n",Rt="\n ".concat(wt,"\n font-size: 14px;\n line-height: 20px;\n"),Tt="\n\t".concat(_t,"\n\tfont-size: 12px;\n\tline-height: 16px;\n"),Mt="\n\t".concat(wt,"\n\tfont-size: 12px;\n\tline-height: 16px;\n"),jt="\n\t".concat("font-weight: 500;","\n\tfont-size: 11px;\n\tline-height: 1.4;\n\ttext-transform: uppercase;\n\tcolor: ").concat(Ne.gray[700],"\n"),It=function(e){return ut(dt(),'font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,\nOxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;',function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body"){case"title.large":return ut(bt(),Et,$t);case"title.medium":return ut(yt(),Et,Ct);case"title.small":return ut(vt(),Et,kt);case"subtitle":return ut(ht(),St,xt);case"subtitle.small":return ut(ft(),St,Ot);case"body":return ut(mt(),Pt);case"body.large":return ut(pt(),Pt,At);case"body.small":return ut(gt(),Pt,Nt);case"button":return Rt;case"caption":return Tt;case"label":return Mt;case"sectionheading":return jt}}(e.variant))};function Dt(e){if(Array.isArray(e))return e}function Ft(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Lt(e,t){if(e){if("string"==typeof e)return Ft(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ft(e,t):void 0}}function Gt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Bt(e,t){return Dt(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw o}}return a}}(e,t)||Lt(e,t)||Gt()}var qt=g.isArray,zt=g.isBoolean,Ht=g.isDate,Ut=g.isEmpty,Vt=g.isFunction,Wt=g.isMap,Yt=g.isNaN,Kt=g.isNil,Qt=g.isNull,Zt=g.isNumber,Xt=g.isObject,Jt=g.isObjectLike,en=g.isPlainObject,tn=g.isRegExp,nn=g.isSet,rn=g.isString,on=g.isSymbol,an=g.isUndefined,sn=g.isWeakMap,ln=g.isWeakSet,cn={blob:function(e){return e instanceof Blob},defined:function(e){return!Kt(e)},file:function(e){return e instanceof File},numeric:function(e){var t="string"==typeof e?e.replace(/,/g,""):e;return!Yt(parseFloat(t))&&!Yt(Number(t))&&isFinite(t)&&"[object array]"!==Object.prototype.toString.call(t).toLowerCase()},numericZero:function(e){return 0===e||"0"===e},valueEmpty:function(e){return!cn.defined(e)||""===e},objectInterpolation:function(e){return en(e)},array:qt,boolean:zt,date:Ht,empty:Ut,function:Vt,map:Wt,nan:Yt,nil:Kt,number:Zt,null:Qt,object:Xt,objectLike:Jt,plainObject:en,regExp:tn,set:nn,string:rn,symbol:on,undefined:an,weakSet:ln,weakMap:sn},un="data-system-ui-color-blind-mode",dn='[data-system-ui-mode="dark"]',gn='[data-system-ui-contrast-mode="high"]',pn="["+un+'="true"]',mn=""+dn+gn,fn={baseStyles:{},config:{},darkModeConfig:{},highContrastModeConfig:{},darkHighContrastModeConfig:{},compilerOptions:void 0};function hn(e){return"--wp-g2-"+(0,g.kebabCase)(e)}function vn(e){return"var("+hn(e.toString())+")"}function yn(e){void 0===e&&(e={});for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=Bt(r[n],2),a=o[0],i=o[1];t[""+hn(a)]=null==i?void 0:i.toString()}return t}function bn(e,t,n){void 0===e&&(e=":root"),void 0===t&&(t={}),void 0===n&&(n=!0);var r=yn(t),o=[],a=!1;n?(o.push(e+" {"),a=!0):":root"!==e&&(o.push("&"+e+" {"),a=!0);for(var i=0,s=Object.entries(r);i<s.length;i++){var l=Bt(s[i],2),c=l[0],u=l[1];cn.defined(u)&&!cn.boolean(u)&&o.push(c+": "+u+";")}return a&&o.push("}"),o.join("")}function wn(e,t){return e.map((function(e){return"function"==typeof e?e(t):e}))}function En(e,t){return t||(t=e.slice(0)),e.raw=t,e}var $n=function(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}};function Cn(){var e=En(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"]);return Cn=function(){return e},e}var kn={didInjectGlobal:!1};function Sn(e){var t=e.globalStyles,n=e.injectGlobal;if(!kn.didInjectGlobal){var r=t.darkHighContrastModeCSSVariables,o=t.darkModeCSSVariables,a=t.globalCSSVariables,i=t.highContrastModeCSSVariables;n&&(n(Cn(),a,o,i,r),kn.didInjectGlobal=!0)}}function xn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var On=(0,M.createContext)({isDark:null,isColorBlind:null,isReducedMotion:null,isHighContrast:null});var Pn=window.wp.isShallowEqual,An=M.useLayoutEffect,Nn=window.wp.data;function Rn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rn(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mn="g2/is-reduced-motion",jn={isReducedMotion:!1};(0,Nn.registerStore)(Mn,{reducer:function(e,t){return void 0===e&&(e=jn),"SET_IS_REDUCED_MOTION"===t.type?Tn(Tn({},e),{},{isReducedMotion:t.isReducedMotion}):e},actions:{setIsReducedMotion:function(e){return{type:"SET_IS_REDUCED_MOTION",isReducedMotion:e}}},selectors:{getIsReducedMotion:function(e){return e.isReducedMotion}}});var In=Mn;function Dn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dn(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ln=function(e,t){return"SET_THEME"===t.type?Fn(Fn({},e),{},{theme:t.theme}):e};function Gn(){var e=En(["",""]);return Gn=function(){return e},e}function Bn(e){var t,n=e.injectGlobal,r=e.isGlobal,o=void 0===r||r,a=e.theme,i=void 0===a?{}:a,s=e.selector,l=void 0===s?":root":s,c=Bt((void 0===t&&(t=""),(0,M.useReducer)(Ln,{theme:t})),2),u=c[0].theme,d=c[1],g=(0,M.useRef)(),p=(0,M.useRef)(!1);if(!p.current&&o&&i){if("function"==typeof n)try{var m=bn(l,i,o);n(Gn(),m)}catch(e){}p.current=!0}return An((function(){if(!(g.current&&i&&(0,Pn.isShallowEqualObjects)(g.current,i))){g.current=i;var e=function(){var e="StyleSystemThemeProviderStyleNode",t=document.getElementById(e);if(t)return t;(t=document.createElement("style")).id=e,t.setAttribute("data-g2-theme-provider","theme");var n=document.querySelector("head");return n&&n.appendChild(t),t}(),t=bn(l,i,o);o?e&&(e.innerHTML=t):d(function(e){return{type:"SET_THEME",theme:e}}(t))}}),[n,o,d,i]),u}function qn(){var e=En(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"]);return qn=function(){return e},e}function zn(e,t){var n=e.children,r=e.compiler,o=e.className,a=e.isGlobal,i=void 0!==a&&a,s=e.globalStyles,l=e.isDark,c=e.isColorBlind,u=e.isReducedMotion,d=e.isHighContrast,p=e.theme,m=void 0===p?{}:p,f=e.darkTheme,h=void 0===f?{}:f,v=e.highContrastTheme,y=void 0===v?{}:v,b=e.darkHighContrastTheme,_=void 0===b?{}:b,w=O(e,["children","compiler","className","isGlobal","globalStyles","isDark","isColorBlind","isReducedMotion","isHighContrast","theme","darkTheme","highContrastTheme","darkHighContrastTheme"]),E=r.css,$=r.cx,C=r.injectGlobal;Sn({injectGlobal:C,globalStyles:s});var k=(0,M.useRef)(),S=Bn({injectGlobal:C,isGlobal:i,theme:m,selector:":root"}),x=Bn({injectGlobal:C,isGlobal:i,theme:h,selector:(0,g.repeat)(dn,3)}),P=Bn({injectGlobal:C,isGlobal:i,theme:y,selector:(0,g.repeat)(gn,3)}),A=Bn({injectGlobal:C,isGlobal:i,theme:_,selector:(0,g.repeat)(mn,3)});!function(e){var t=e.isColorBlind,n=e.isGlobal,r=void 0===n||n,o=e.ref;(0,M.useEffect)((function(){if(cn.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-color-blind-mode","true"):e.setAttribute("data-system-ui-color-blind-mode","false")}}),[r,t,o])}({isColorBlind:c,isGlobal:i,ref:k}),function(e){var t=e.isDark,n=e.isGlobal,r=void 0===n||n,o=e.ref;(0,M.useEffect)((function(){if(cn.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-mode","dark"):e.setAttribute("data-system-ui-mode","light")}}),[r,t,o])}({isDark:l,isGlobal:i,ref:k}),function(e){var t=e.isGlobal,n=void 0===t||t,r=e.isHighContrast,o=e.ref;(0,M.useEffect)((function(){if(cn.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-contrast-mode","high"):e.setAttribute("data-system-ui-contrast-mode","normal")}}),[n,r,o])}({isGlobal:i,isHighContrast:d,ref:k}),function(e){var t=e.isGlobal,n=void 0===t||t,r=e.isReducedMotion,o=e.ref,a=Bt([(0,Nn.useSelect)((function(e){return e(In).getIsReducedMotion()})),(0,Nn.useDispatch)(In).setIsReducedMotion],2)[1];(0,M.useEffect)((function(){n&&a(!!r)}),[n,r,a]),(0,M.useEffect)((function(){if(cn.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-reduced-motion-mode","true"):e.setAttribute("data-system-ui-reduced-motion-mode","false")}}),[n,r,o])}({isGlobal:i,isReducedMotion:u,ref:k});var N=function(e){void 0===e&&(e={});for(var t=(0,M.useContext)(On),n=(0,M.useRef)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xn(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)).current,r=0,o=Object.entries(e);r<o.length;r++){var a=Bt(o[r],2),i=a[0],s=a[1];cn.defined(s)&&(n[i]=s)}return n}({isDark:l,isReducedMotion:u,isColorBlind:c,isHighContrast:d}),R=function(e){void 0===e&&(e={});var t=e,n=t.isColorBlind,r=t.isDark,o=t.isHighContrast,a=t.isReducedMotion,i={};return r&&(i["data-system-ui-mode"]="dark"),o&&(i["data-system-ui-contrast-mode"]=!0),n&&(i[un]=!0),a&&(i["data-system-ui-reduced-motion-mode"]=!0),i}(N),I=$(o,E(qn(),S,x,P,A));return j().createElement("div",Object.assign({},w,R,{className:I,"data-system-theme-provider":!0,ref:$n([t,k])}),j().createElement(On.Provider,{value:N},n))}var Hn=j().memo(j().forwardRef(zn));function Un(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Vn(e,t,n){var r=[],o=ce(e,r,n);return r.length<2?n:o+t(r)}var Wn=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n};function Yn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var Kn=new RegExp(/var\(.*?\)[ ) ]*/,"g");function Qn(e){return null==e||null==e.includes?void 0:e.includes("var(")}function Zn(e){var t,n,r,o,a=(null==(t=e.match(/\(/g))?void 0:t.length)||0,i=(null==(n=e.match(/\)/g))?void 0:n.length)||0;if(a>i)o=""+e+(0,g.repeat)(")",a-i);else{var s=new RegExp("((\\)){"+(i-a)+"})$","gi");o=e.replace(s,"")}return null==(r=o)?void 0:r.trim()}function Xn(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Jn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Jn(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}function Jn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function er(e,t){var n,r,o=!1,a=Bt(e.split(/:/),2);n=a[0],r=a[1],n=n.trim();for(var i,s,l=Xn(r.match(Kn)||[]);!(i=l()).done;)for(var c,u=i.value,d=Xn((u=u.trim()).replace(/ /g,"").split("var(").filter(Boolean));!(c=d()).done;){var g=Dt(s=Zn(c.value).split(","))||Yn(s)||Lt(s)||Gt(),p=g[0],m=g.slice(1).join(","),f=t&&t.get(p)||m;f&&(o=!0,r=r.replace(u,f))}return[n,r=o?Zn(r):void 0]}function tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var or=function(e){var t=this;void 0===e&&(e={}),this.state={},this.get=function(e){return t.state[e]},this.getState=function(){return t.state},this.setState=function(e){return void 0===e&&(e={}),t._updateState(e),t._resolveVariablesInStateValue(),t.state},this._updateState=function(e){void 0===e&&(e={}),t.state=Object.freeze(rr(rr({},t.state),e))},this._resolveVariablesInStateValue=function(){for(var e,n={},r=Object.entries(t.state).filter((function(e){var t=Bt(e,2);return t[0],Qn(t[1])})),o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}(r);!(e=o()).done;){var a=Bt(e.value,2),i=a[0],s=Bt(er("resolve: "+a[1],t),2)[1];s&&(n[i]=s)}t._updateState(n),r.length&&t._resolveVariablesInStateValue()},this.setState(e)};function ar(e){return void 0===e&&(e={}),new or(e)}var ir,sr,lr=["40em","52em","64em"],cr=function(e,t){void 0===e&&(e={}),void 0===t&&(t=function(e,t){return t});var n={},r=[null].concat(lr.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var o in e){var a=o,i=e[a];if(null!==i)if(Array.isArray(i))for(var s=0;s<i.slice(0,r.length).length;s++){var l=r[s];l?(n[l]=n[l]||{},null!==i[s]&&(n[l][a]=t(a,i[s]))):n[a]=t(a,i[s])}else n[a]=i}return n},ur=__webpack_require__(4624),dr=__webpack_require__(9588),gr=__webpack_require__.n(dr),pr=gr()((function(e,t){var n=e.split(";").filter(Boolean),r=!1,o=n.reduce((function(e,n){if(!Qn(n))return[].concat(e,[n]);var o=function(e,t){if(Qn(e)||function(e){return 0===e.indexOf("--")}(e)){var n=Bt(er(e,t),2),r=n[0],o=n[1];return o?[r,o].join(":"):void 0}}(n,t);return o?(r=!0,[].concat(e,[o,n])):[].concat(e,[n])}),[]),a=o.join(";").concat(";");return r?a:void 0}));function mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var hr="undefined"!=typeof window&&(null==(ir=window)||null==(sr=ir.CSS)||null==sr.supports?void 0:sr.supports("(--a: 0)")),vr={rootStore:ar(),skipSupportedBrowsers:!0},yr=function(e){void 0===e&&(e={});var t=fr(fr({},vr),e),n=t.rootStore,r=t.skipSupportedBrowsers;return function(e,t,o,__,a,i,s,l){if((!r||!hr)&&2===e&&107!==l&&Qn(t))return pr(t,n)}};function br(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?br(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):br(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var wr,Er,$r,Cr=new WeakSet,kr=new Set,Sr={key:"wp-css",level:7},xr=function(e){void 0===e&&(e=Sr);var t=_r(_r({},Sr),e),n=t.key,r=t.level,o=(0,g.clamp)(r,0,20);return function(e,__,t){if(!Cr.has(t)){Cr.add(t);for(var r=new RegExp("."+n+"-[\\w|\\d]*","g"),a=0;a<t.length;a++){var i=t[a],s=Bt(i.match(r)||[],1)[0];if(s){if(kr.has(s))return;kr.add(s),i=i.replace(new RegExp(s,"g"),s).replace(s,(0,g.repeat)(s,o)),t[a]=i}}}}},Or=__webpack_require__(8314),Pr=__webpack_require__.n(Or),Ar=!1;"undefined"!=typeof window&&(Ar="rtl"===(null==(wr=window)||null==(Er=wr.document)||null==($r=Er.documentElement)?void 0:$r.dir));var Nr=function(e,t){if(-1===e)return Ar?Pr().process(t,void 0,void 0,void 0):void 0};function Rr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Tr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Mr={key:"css",specificityLevel:7,rootStore:new or};function jr(e){var t=Tr(Tr({},Mr),e),n=t.key,r=t.rootStore,o=function(e){var t=e.specificityLevel,n=void 0===t?7:t,r=e.key,o=void 0===r?"css":r,a=e.skipSupportedBrowsers;return[Nr,yr({skipSupportedBrowsers:void 0===a||a,rootStore:e.rootStore}),xr({level:n,key:o}),ur.default]}({key:n,specificityLevel:t.specificityLevel,rootStore:r});e.stylisPlugins?Array.isArray(e.stylisPlugins)?t.stylisPlugins=[].concat(o,e.stylisPlugins):cn.defined(e.stylisPlugins)?t.stylisPlugins=[].concat(o,[e.stylisPlugins]):t.stylisPlugins=o:t.stylisPlugins=o;var a,i=Tr(Tr({},function(e){var t=W(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ae(n,t.registered,void 0);return ue(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Vn(t.registered,n,Wn(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ae(n,t.registered);Un(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ae(n,t.registered),a="animation-"+o.name;return Un(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:ce.bind(null,t.registered),merge:Vn.bind(null,t.registered,n)}}(t)),{},{breakpoints:lr,__events:{all:a=a||new Map,on:function(e,t){var n=a.get(e);n&&n.push(t)||a.set(e,[t])},off:function(e,t){var n=a.get(e);n&&n.splice(n.indexOf(t)>>>0,1)},emit:function(e,t){(a.get(e)||[]).slice().map((function(e){e(t)})),(a.get("*")||[]).slice().map((function(n){n(e,t)}))}}}),s=i.css;i.css=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],a=n.slice(1);if(cn.objectInterpolation(o))return e(cr(o));if(Array.isArray(o)){for(var i=0,s=o.length;i<s;i++){var l=o[i];cn.objectInterpolation(l)&&(o[i]=cr(l))}return e.apply(void 0,[o].concat(a))}return e.apply(void 0,n)}}(s);var l=i.sheet.insert;return i.sheet.insert=function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];l.apply(i.sheet,[].concat(n)),(e=i.__events).emit.apply(e,["sheet.insert"].concat(n))},i}function Ir(){var e=En(["\n\t\t\t@media (prefers-reduced-motion) {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t\t"," & {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t"]);return Ir=function(){return e},e}function Dr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Fr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Lr=F,Gr=fn,Br=function(e,t){var n=Fr(Fr({},Gr),t),r=n.baseStyles,o=n.compiler,a=n.globalStyles,i=o.css,s=o.cx,l=o.injectGlobal,c={Base:i({boxSizing:"border-box"}),reduceMotion:i(Ir(),'[data-system-ui-reduced-motion-mode="true"]')},u=i(r),d=(0,M.forwardRef)((function(t,n){var r=t.css,o=t.as,d=t.children,g=t.className,p=t.forwardedRef,m=O(t,["css","as","children","className","forwardedRef"]);Sn({globalStyles:a,injectGlobal:l});var f=o||e,h="string"!=typeof g?s(g):g,v=s(c.Base,c.reduceMotion,u,h,r&&i(r)),y={};for(var b in m)"string"==typeof f?Lr(b)&&(y[b]=m[b]):y[b]=m[b];var _=j().useMemo((function(){return p?$n([p,n]):n}),[p,n]);return j().createElement(f,Fr({className:v,ref:_},y),d)}));return d},qr=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];function zr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Hr=__webpack_require__(8679),Ur=__webpack_require__.n(Hr);function Vr(e){return"string"==typeof e?e:e.displayName||e.name||"Component"}function Wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kr(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zr=fn;function Xr(){for(var e=[],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o=0,a=n;o<a.length;o++){var i=a[o];"number"!=typeof i&&"string"!=typeof i||e.push(i),Array.isArray(i)&&e.push(Xr.apply(void 0,i),",")}return e.join(" ").trim().replace(/,$/,"")}var Jr=Xr;function eo(e){return"number"==typeof e?"calc("+vn("gridBase")+" * "+e+")":e}function to(e){for(var t={},n=Object.entries(e),r=n[0][1],o=xe()(r).lighten(15).toHexString(),a=n[n.length-1][1],i=xe()(a).darken(15).toHexString(),s=0,l=n;s<l.length;s++){var c=Bt(l[s],2),u=c[0],d=c[1];t[u+"Text"]=xe().mostReadable(d,[o,r,a,i]).toHexString()}return t}function no(e,t){void 0===t&&(t=!1);var n={},r=Bt(Object.entries(e)[2],2),o=r[0],a=r[1],i=Bt(o.split(/\d+/),1)[0],s=t?"#000":"#fff",l=t?"#fff":"#000",c=t?"darken":"lighten";return[10,20,30,40,50,60,70,80,90].forEach((function(e,t){var r=a;r=xe()(r).setAlpha(e/100).toRgbString();var o=xe().mix(a,s,t).toRgbString();xe().isReadable(o,l,{})||(r=xe()(r)[c](20).toRgbString()),n[i+"Rgba"+e]=r})),n}function ro(e,t){var n,r=((n={})[e]=t,n);return[10,20,30,40,50,60,70,80,90].forEach((function(n){r[e+"Rgba"+n]=xe()(t).setAlpha(n/100).toRgbString()})),r}function oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ao(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oo(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}Jr.calc=function(){return"calc("+Xr.apply(void 0,arguments)+")"};var io={purple100:"#f3f1f8",purple300:"#B4A8D2",purple500:"#826eb4",purple700:"#4e426c",purple900:"#342c48"},so={darkGray100:"#8F98A1",darkGray300:"#6C7781",darkGray500:"#555D66",darkGray700:"#32373C",darkGray900:"#191E23"},lo={lightGray100:"#fbfbfc",lightGray300:"#edeff0",lightGray500:"#e2e4e7",lightGray700:"#ccd0d4",lightGray900:"#a2aab2"},co={red100:"#fcebeb",red300:"#ea8484",red500:"#dc3232",red700:"#b02828",red900:"#841e1e"},uo={orange100:"#fef1ea",orange300:"#f9a87e",orange500:"#F56E28",orange700:"#ca4a1f",orange900:"#aa3e1a"},go={yellow100:"#fff8e6",yellow300:"#ffd566",yellow500:"#ffb900",yellow700:"#ee8e0d",yellow900:"#dd631a"},po={green100:"#edf8ee",green300:"#90d296",green500:"#46b450",green700:"#328540",green900:"#25612f"},mo={blue100:"#e6f6fb",blue300:"#66c6e4",blue500:"#00a0d2",blue700:"#0085ba",blue900:"#0072A8"},fo=ao(ao(ao({},so),to(so)),no(so)),ho=ao(ao(ao({},lo),to(lo)),no(lo)),vo=ao(ao(ao({},co),to(co)),no(co)),yo=ao(ao(ao({},uo),to(uo)),no(uo)),bo=ao(ao(ao({},go),to(go)),no(go)),_o=ao(ao(ao({},po),to(po)),no(po)),wo=ao(ao(ao({},io),to(io)),no(io)),Eo=ao(ao(ao({},mo),to(mo)),no(mo)),$o=ao(ao(ao(ao(ao(ao(ao(ao({},fo),ho),vo),yo),bo),_o),wo),Eo),Co={black:"#000000",blueberry:"#3858E9",blueberryDark:"#1D35B4",greens:"#33F078",grey:"#40464D",greyBlack:"#1E1E1E",lightBlue:"#33F078",lightGrey:"#40464D",lighterGrey:"#dddddd",pomegrade:"#E26F56",wordpressBlue:"#007cba",white:"#ffffff"},ko={colorBackgroundBlue:vn("blueRgba10"),colorBackgroundBlueText:vn("blue900"),colorBackgroundDarkGray:vn("darkGrayRgba10"),colorBackgroundDarkGrayText:vn("darkGray900"),colorBackgroundGreen:vn("greenRgba10"),colorBackgroundGreenText:vn("green900"),colorBackgroundLightGray:vn("lightGrayRgba10"),colorBackgroundLightGrayText:vn("lightGray900"),colorBackgroundOrange:vn("orangeRgba10"),colorBackgroundOrangeText:vn("orange900"),colorBackgroundPurple:vn("purpleRgba10"),colorBackgroundPurpleText:vn("purple900"),colorBackgroundRed:vn("redRgba10"),colorBackgroundRedText:vn("red900"),colorBackgroundYellow:vn("yellowRgba10"),colorBackgroundYellowText:vn("yellow900")},So={colorBackgroundBlue:vn("blueRgba20"),colorBackgroundBlueText:vn("blue300"),colorBackgroundDarkGray:vn("darkGrayRgba20"),colorBackgroundDarkGrayText:vn("white"),colorBackgroundGreen:vn("greenRgba20"),colorBackgroundGreenText:vn("green300"),colorBackgroundLightGray:vn("lightGrayRgba20"),colorBackgroundLightGrayText:vn("white"),colorBackgroundOrange:vn("orangeRgba20"),colorBackgroundOrangeText:vn("orange300"),colorBackgroundPurple:vn("purpleRgba20"),colorBackgroundPurpleText:vn("purple300"),colorBackgroundRed:vn("redRgba20"),colorBackgroundRedText:vn("red300"),colorBackgroundYellow:vn("yellowRgba20"),colorBackgroundYellowText:vn("yellow300")},xo=ao(ao(ao(ao(ao(ao(ao(ao({},no(mo,!0)),no(po,!0)),no(uo,!0)),no(io,!0)),no(co,!0)),no(go,!0)),no(so,!0)),no(lo,!0));function Oo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Po(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Oo(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Oo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ao=Po(Po(Po(Po({},$o),ko),{},{colorAdmin:"#007cba",colorDestructive:"#D94F4F",colorBodyBackground:vn("white"),colorDivider:"rgba(0, 0, 0, 0.1)",colorPositive:vn("greens"),colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#1e1e1e",colorTextInverted:vn("white"),colorTextHeading:"#050505",colorTextMuted:"#8a8b8c"},ro("colorAdmin","#007cba")),ro("colorDestructive","#D94F4F")),No={fontFamily:'Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif',fontFamilyMono:"SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace",fontSize:"13px",fontSizeH1:"calc(2.44 * "+vn("fontSize")+")",fontSizeH2:"calc(1.95 * "+vn("fontSize")+")",fontSizeH3:"calc(1.56 * "+vn("fontSize")+")",fontSizeH4:"calc(1.25 * "+vn("fontSize")+")",fontSizeH5:"calc(1 * "+vn("fontSize")+")",fontSizeH6:"calc(0.8 * "+vn("fontSize")+")",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * "+vn("fontSize")+")",fontSizeXSmall:"calc(0.75 * "+vn("fontSize")+")",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600"},Ro={surfaceBackgroundColor:vn("surfaceColor"),surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:"#ffffff",surfaceColor:vn("white")},To={controlBackgroundColor:vn("white"),controlBackgroundColorHover:"rgba(0, 0, 0, 0.05)",controlBackgroundColorActive:"rgba(0, 0, 0, 0.05)",controlBackgroundDimColor:"rgba(0, 0, 0, 0.1)",controlBackgroundBrightColor:"rgba(0, 0, 0, 0.03)",controlBorderColor:"#757575",controlBorderColorHover:vn("controlBorderColor"),controlBorderColorSubtle:"transparent",controlBorderRadius:"2px",controlBorderSubtleColor:"rgba(0, 0, 0, 0.2)",controlBoxShadowFocusSize:"0.5px",controlBoxShadow:"transparent",controlBoxShadowFocus:Jr("0 0 0",vn("controlBoxShadowFocusSize"),vn("colorAdmin")),controlPseudoBoxShadowFocusWidth:"2px",controlPseudoBoxShadowFocusRingSize:Jr.calc(vn("controlPseudoBoxShadowFocusWidth"),"+ 1px +",vn("controlBoxShadowFocusSize")),controlPseudoBoxShadowFocusRingSizeSmall:Jr.calc(vn("controlPseudoBoxShadowFocusWidth"),"+ 1px"),controlPseudoBoxShadowFocus:Jr(["0 0 0",vn("controlPseudoBoxShadowFocusWidth"),vn("surfaceBackgroundColor")],["0 0 0",vn("controlPseudoBoxShadowFocusRingSize"),vn("colorAdmin")]),controlPseudoBoxShadowFocusSmall:Jr(["0 0 0",vn("controlPseudoBoxShadowFocusWidth"),vn("surfaceBackgroundColor")],["0 0 0",vn("controlPseudoBoxShadowFocusRingSizeSmall"),vn("colorAdmin")]),controlDestructivePseudoBoxShadowFocus:Jr(["0 0 0",vn("controlPseudoBoxShadowFocusWidth"),vn("surfaceBackgroundColor")],["0 0 0",vn("controlPseudoBoxShadowFocusRingSize"),vn("colorDestructive")]),controlDestructivePseudoBoxShadowFocusSmall:Jr(["0 0 0",vn("controlPseudoBoxShadowFocusWidth"),vn("surfaceBackgroundColor")],["0 0 0",vn("controlPseudoBoxShadowFocusRingSizeSmall"),vn("colorDestructive")]),controlDestructiveBorderColor:vn("colorDestructive"),controlDestructiveBorderColorFocus:vn("controlDestructiveBorderColor"),controlDestructiveBoxShadowFocus:Jr("0 0 0",vn("controlBoxShadowFocusSize"),vn("colorDestructive")),controlHeight:"30px",controlHeightLarge:"calc("+vn("controlHeight")+" * 1.2)",controlHeightSmall:"calc("+vn("controlHeight")+" * 0.8)",controlHeightXLarge:"calc("+vn("controlHeight")+" * 1.4)",controlHeightXSmall:"calc("+vn("controlHeight")+" * 0.67)",controlHeightXXSmall:"calc("+vn("controlHeight")+" * 0.4)",controlPaddingX:"12px",controlPaddingXLarge:"calc("+vn("controlPaddingX")+" * 1.3334)",controlPaddingXSmall:"calc("+vn("controlPaddingX")+" / 1.3334)",controlPrimaryTextColorActive:vn("white"),controlPrimaryTextColor:vn("white"),controlSurfaceBoxShadow:Jr(["0 1px 1px rgba(0, 0, 0, 0.2)"],["0 1px 2px rgba(0, 0, 0, 0.2)"]),controlSurfaceColor:vn("white"),controlTextActiveColor:vn("colorAdmin"),controlInnerControltextColor:vn("colorAdmin")},Mo={buttonPaddingXRatio:"calc(4/3)",buttonPaddingX:Jr.calc(vn("controlPaddingX"),"*",vn("buttonPaddingXRatio")),buttonTextColor:vn("colorAdmin"),buttonTextColorActive:vn("buttonTextColor"),buttonPrimaryColor:vn("colorAdmin"),buttonPrimaryColorHover:vn("buttonPrimaryColor"),buttonPrimaryColorActive:vn("colorText"),buttonPrimaryColorFocus:vn("buttonPrimaryColor"),buttonPrimaryBorderColor:vn("buttonPrimaryColor"),buttonPrimaryBorderColorHover:vn("buttonPrimaryColor"),buttonPrimaryBorderColorFocus:vn("buttonPrimaryColor"),buttonPrimaryBorderColorActive:vn("buttonPrimaryColor"),buttonPrimaryTextColor:vn("controlPrimaryTextColor"),buttonPrimaryTextColorHover:vn("controlPrimaryTextColor"),buttonPrimaryTextColorActive:vn("controlPrimaryTextColor"),buttonPrimaryTextColorFocus:vn("controlPrimaryTextColor"),buttonSecondaryColor:"transparent",buttonSecondaryColorHover:vn("buttonSecondaryColor"),buttonSecondaryColorActive:"rgba(0, 0, 0, 0.05)",buttonSecondaryColorFocus:vn("buttonSecondaryColor"),buttonSecondaryBorderColor:vn("buttonPrimaryColor"),buttonSecondaryTextColor:vn("buttonPrimaryColor"),buttonSecondaryTextColorFocus:vn("buttonPrimaryColor"),buttonSecondaryTextColorActive:vn("buttonPrimaryColor"),buttonSecondaryBorderColorHover:vn("buttonPrimaryColor"),buttonSecondaryBorderColorActive:vn("buttonPrimaryColor"),buttonSecondaryBorderColorFocus:vn("buttonPrimaryColor"),buttonTertiaryColor:"transparent",buttonTertiaryColorHover:vn("buttonTertiaryColor"),buttonTertiaryColorActive:"rgba(0, 0, 0, 0.05)",buttonTertiaryColorFocus:vn("buttonTertiaryColor"),buttonTertiaryBorderColor:"transparent",buttonTertiaryTextColor:vn("buttonPrimaryColor"),buttonTertiaryTextColorFocus:vn("buttonPrimaryColor"),buttonTertiaryTextColorActive:vn("buttonPrimaryColor"),buttonTertiaryBorderColorHover:vn("buttonPrimaryColor"),buttonTertiaryBorderColorActive:vn("buttonPrimaryColor"),buttonTertiaryBorderColorFocus:vn("buttonPrimaryColor"),buttonControlActiveStateColor:vn("colorText"),buttonControlActiveStateColorHover:vn("buttonControlActiveStateColor"),buttonControlActiveStateColorActive:vn("buttonControlActiveStateColor"),buttonControlActiveStateColorFocus:vn("buttonControlActiveStateColor"),buttonControlActiveStateTextColor:vn("buttonPrimaryTextColor"),buttonControlActiveStateBorderColorFocus:vn("buttonPrimaryColor"),buttonControlActiveStateBoxShadowFocus:Jr(["0 0 0",vn("controlBoxShadowFocusSize"),vn("colorAdmin")],["0 0 0",vn("controlPseudoBoxShadowFocusWidth"),vn("buttonControlActiveStateTextColor"),"inset"])},jo={cardBorderRadius:"2px",cardPaddingX:eo(3),cardPaddingY:eo(3),cardPadding:Jr(vn("cardPaddingX"),vn("cardPaddingY")),cardHeaderFooterPaddingY:eo(1),cardHeaderHeight:"44px"},Io={flexGap:eo(2),flexItemMarginRight:vn("flexGap")},Do={linkColor:vn("colorAdmin"),linkColorHover:vn("colorAdmin"),linkColorActive:vn("colorAdmin"),linkColorFocus:vn("colorAdmin")},Fo={menuItemBorderWidth:"1px",menuItemFocusBackgroundColor:"transparent",menuItemFocusBorderColor:vn("colorAdmin"),menuItemFocusTextColor:vn("menuItemFocusBorderColor"),menuItemFocusBoxShadow:vn("controlBorderSubtleColor"),menuItemActiveBackgroundColor:vn("controlBackgroundColor"),menuItemActiveBorderColor:vn("menuItemFocusBorderColor"),menuItemActiveTextColor:vn("colorText"),menuItemActiveBoxShadow:vn("controlBorderSubtleColor"),menuItemHeight:"30px",menuItemHeightLarge:"calc("+vn("menuItemHeight")+" * 1.2)",menuItemHeightSmall:"calc("+vn("menuItemHeight")+" * 0.8)",menuItemHeightXLarge:"calc("+vn("menuItemHeight")+" * 1.4)",menuItemHeightXSmall:"calc("+vn("menuItemHeight")+" * 0.67)",menuItemHeightXXSmall:"calc("+vn("menuItemHeight")+" * 0.4)"},Lo={panelHeaderPadding:eo(3)+" "+eo(4),panelBodyPadding:eo(2)+" "+eo(4)+" "+eo(3)},Go={radioBoxShadow:vn("checkboxBoxShadow"),radioSize:vn("checkboxSize"),radioDotSize:"10px"},Bo={segmentedControlFontSize:"12px",segmentedControlBackgroundColor:vn("controlBackgroundColor"),segmentedControlBorderColor:vn("controlBorderColor"),segmentedControlBackdropBackgroundColor:vn("controlSurfaceColor"),segmentedControlBackdropBorderColor:vn("controlBorderColor"),segmentedControlBackdropBoxShadow:"transparent",segmentedControlButtonColorActive:vn("controlBackgroundColor")},qo={sliderThumbBorderColor:"transparent",sliderThumbBoxShadow:"none",sliderThumbBoxShadowSizeFocus:"3px",sliderThumbBoxShadowColorFocus:vn("colorAdminRgba20"),sliderThumbBackgroundColor:vn("colorAdmin")},zo={switchBackdropBackgroundColor:vn("lightGray900"),switchBackdropBackgroundColorActive:vn("colorAdmin"),switchBackdropBorderColor:vn("lightGray900"),switchBackdropBorderColorActive:vn("colorAdmin"),switchBackdropBorderColorFocus:vn("white"),switchToggleBackgroundColor:vn("colorTextInverted"),switchToggleBackgroundColorActive:vn("colorTextInverted"),switchToggleBoxShadow:"none",switchPaddingOffset:"6px"},Ho=Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po(Po({},Co),Ao),jo),To),{elevationIntensity:1}),Io),No),Ro),{transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"}),Mo),{checkboxBoxShadow:"none",checkboxSize:"16px"}),{gridBase:"4px"}),Do),Fo),Lo),Go),Bo),qo),zo);function Uo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Uo(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Uo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Wo=Vo(Vo(Vo({},So),xo),{},{buttonPrimaryTextColorActive:vn("controlPrimaryTextColorActive"),buttonControlActiveStateTextColor:vn("colorTextInverted"),colorBodyBackground:"#18191A",colorDivider:"rgba(255, 255, 255, 0.1)",colorScrollbarThumb:"rgba(255, 255, 255, 0.2)",colorScrollbarThumbHover:"rgba(255, 255, 255, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#E4E6EB",colorTextInverted:"#050505",colorTextHeading:"#ffffff",controlBackgroundColor:vn("colorBodyBackground"),controlBackgroundColorHover:"rgba(255, 255, 255, 0.3)",controlBackgroundBrightColor:"rgba(255, 255, 255, 0.08)",controlBackgroundDimColor:"rgba(255, 255, 255, 0.2)",controlBorderSubtleColor:"rgba(255, 255, 255, 0.5)",controlPrimaryTextColorActive:vn("black"),controlPrimaryTextColor:vn("white"),controlSurfaceColor:"rgba(255, 255, 255, 0.3)",controlTextActiveColor:vn("white"),surfaceBackgroundColor:vn("colorBodyBackground"),surfaceBackgroundSubtleColor:"#151515",surfaceBackgroundTintColor:"#252525",surfaceBackgroundTertiaryColor:"#000",surfaceBorderColor:"rgba(255, 255, 255, 0.1)",surfaceBorderBoldColor:"rgba(255, 255, 255, 0.15)",surfaceBorderSubtleColor:"rgba(255, 255, 255, 0.05)",surfaceColor:"#292929"}),Yo=Vo({},Wo),Ko=function(e){void 0===e&&(e=Zr);var t=Qr(Qr({},Zr),e),n=t.baseStyles,r=t.compilerOptions,o=function(e){var t=e.config,n=void 0===t?{}:t,r=e.darkModeConfig,o=void 0===r?{}:r,a=e.highContrastModeConfig,i=void 0===a?{}:a,s=e.darkHighContrastModeConfig,l=void 0===s?{}:s,c=function(e){void 0===e&&(e={});for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=Bt(r[n],2),a=o[0],i=o[1],s="var("+hn(a)+", "+i+")";t[a]=s}return t}(n);return{theme:c,globalVariables:yn(n),globalCSSVariables:bn(":root",n),darkModeCSSVariables:bn((0,g.repeat)(dn,3),o),highContrastModeCSSVariables:bn((0,g.repeat)(gn,3),i),darkHighContrastModeCSSVariables:bn((0,g.repeat)(mn,3),l)}}({config:t.config,darkHighContrastModeConfig:t.darkHighContrastModeConfig,darkModeConfig:t.darkModeConfig,highContrastModeConfig:t.highContrastModeConfig}),a=ar(o.globalVariables);a.setState(o.globalVariables);var i=jr(Qr(Qr({},r),{},{rootStore:a})),s=i.css,l=i.cx,c=function(e){for(var t,n=e.baseStyles,r=e.compiler,o=e.globalStyles,a={},i=function(e){return Br(e,{baseStyles:n,compiler:r,globalStyles:o})},s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return zr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}(qr);!(t=s()).done;){var l=t.value;a[l]=i(l)}return a}({baseStyles:n,compiler:i,globalStyles:o}),u=function(e){var t=e.compiler,n=e.core,r=t.css,o=t.cx,a=n.div;function i(e,t){void 0===t&&(t={});var n=t.props;return function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];var u=j().forwardRef((function(t,i){var s=t.as,c=t.className,u=O(t,["as","className"]),d=Yr(Yr(Yr({},n),u),{},{ref:i}),g=wn(l,u),p=o(r.apply(void 0,g),c);return j().createElement(a,Object.assign({as:s||e},d,{className:p}))}));return u.displayName="string"==typeof e?"Styled("+Vr(e)+")":cn.defined(null==e?void 0:e.displayName)?e.displayName:"Styled("+Vr(e)+")",u.withComponent=function(e,n){return i(e,void 0!==n?Yr(Yr({},t||{}),n):t).apply(void 0,l)},"string"!=typeof e?Ur()(u,e):u}}var s=i.bind(void 0);return qr.forEach((function(e){s[e]=i(e)})),s}({compiler:i,core:c}),d=c.div;return{compiler:i,core:c,createCoreElement:function(e){return Br(e,{baseStyles:n,compiler:i,globalStyles:o})},createToken:hn,css:s,cx:l,get:function(e){return"var("+hn(e.toString())+")"},styled:u,View:d,ThemeProvider:function(e){return j().createElement(Hn,Object.assign({},e,{compiler:i,globalStyles:o}))},rootStore:a}}({baseStyles:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontFamily:vn("fontFamily"),fontSize:vn("fontSize"),fontWeight:vn("fontWeight"),margin:0},config:Ho,darkModeConfig:Yo,highContrastModeConfig:{colorDivider:"#444",controlBorderColor:"#444",controlBorderColorHover:"#444",controlBorderColorSubtle:"#444",surfaceBorderColor:"#444"},darkHighContrastModeConfig:{colorDivider:"#eee",controlBorderColor:"#eee",controlBorderColorHover:"#eee",controlBorderColorSubtle:"#eee",surfaceBorderColor:"#eee"}}),Qo=(Ko.ThemeProvider,Ko.compiler),Zo=Ko.core,Xo=(Ko.createCoreElement,Ko.createToken),Jo=Ko.get,ea=(Ko.styled,Qo.breakpoints,Qo.cache,Qo.cx);function ta(e){return"number"==typeof e?"calc("+Jo("gridBase")+" * "+e+")":e}Qo.flush,Qo.getRegisteredStyles,Qo.hydrate,Qo.injectGlobal,Qo.keyframes,Qo.merge,Qo.sheet;var na=Qo.css,ra={gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space"},oa={space:ta};function aa(e,t){var n=ra[e],r=t;return n&&oa&&(r=(0,oa[n])(t)),r}function ia(e){void 0===e&&(e={});var t={};for(var n in e)t[n]=aa(n,e[n]);return t}function sa(e){if(cn.objectInterpolation(e))return na(ia(cr(e,aa)));for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e)){for(var o=0,a=e.length;o<a;o++){var i=e[o];cn.objectInterpolation(i)&&(e[o]=ia(cr(i,aa)))}return na.apply(void 0,[e].concat(n))}return na.apply(void 0,[e].concat(n))}var la=(0,M.createContext)({}),ca="data-g2-component";function ua(e,t){var n,r=(0,M.useContext)(la),o=Array.isArray(t)?t[0]:t,a=(null==r?void 0:r[o])||{},i=((n={})["data-g2-c16t"]=!0,n),s=function(e){var t;return(t={})[ca]=e,t}(o);for(var l in s)"string"==typeof s[l]&&(i[l]=s[l]);var c=a._overrides,u=a.css,d=O(a,["_overrides","css"]),g=Object.entries(d).length?Object.assign({},d,e):e,p=ea(u&&sa(u),g.css&&sa(g.css),ga(o),e.className),m="function"==typeof g.renderChildren?g.renderChildren(g):g.children;for(var f in g)"css"!==f&&(i[f]=g[f]);for(var h in c)i[h]=c[h];return i.children=m,i.className=p,i}function da(e){if(!e||"string"!=typeof e)return"";var t=(0,g.kebabCase)(e);return"components-"+t+" wp-components-"+t}var ga=gr()((function(e){return e?Array.isArray(e)?ea((0,g.uniq)(e).map(da)):"string"==typeof e?da(e):"":""}));function pa(e,t,n){void 0===n&&(n={});var r=n.memo,o=void 0===r||r,a=(0,M.forwardRef)(e);o&&(a=j().memo(a));var i=Array.isArray(t)?t[0]:t||a.name,s=a.__contextSystemKey__||[i];return Array.isArray(t)&&(s=[].concat(s,t)),"string"==typeof t&&(s=[].concat(s,[t])),a.displayName=i,a.__contextSystemKey__=(0,g.uniq)(s),a}function ma(e){if(!e)return[];var t=[];return e.__contextSystemKey__&&(t=e.__contextSystemKey__),e.type&&e.type.__contextSystemKey__&&(t=e.type.__contextSystemKey__),t}var fa=__webpack_require__(4155),ha=Zo.div;ha.displayName="View";var va=ha,ya={bottom:sa({alignItems:"flex-end",display:"flex",justifyContent:"center"}),center:sa({alignItems:"center",display:"flex",justifyContent:"center"}),left:sa({alignItems:"center",display:"flex",justifyContent:"flex-start"}),right:sa({alignItems:"center",display:"flex",justifyContent:"flex-end"}),top:sa({alignItems:"flex-start",display:"flex",justifyContent:"center"})},ba={center:sa({margin:"auto"}),content:ya,left:sa({marginRight:"auto"}),right:sa({marginLeft:"auto"})};function _a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wa(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_a(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ea={transitionDuration:Jo("transitionDuration"),transitionProperty:"all",transitionTimingFunction:"ease-in-out"},$a=function(e){return sa({transition:e})};$a.default=sa(wa(wa({},Ea),{},{transitionTimingFunction:"ease"})),$a.bounce=sa(wa(wa({},Ea),{},{transitionTimingFunction:"cubic-bezier(.8, .5, .2, 1.4)"})),$a.delay=function(e){return sa({transitionDelay:e+"s"})},$a.duration=function(e){return sa({transitionDuration:e+"s"})},$a.ease=sa(wa(wa({},Ea),{},{transitionTimingFunction:"ease"})),$a.easeIn=sa(wa(wa({},Ea),{},{transitionTimingFunction:"ease-in"})),$a.easeInOut=sa(wa(wa({},Ea),{},{transitionTimingFunction:"ease-in-out"})),$a.easeOut=sa(wa(wa({},Ea),{},{transitionTimingFunction:"ease-out"})),$a.easing=function(e){return sa(wa(wa({},Ea),{},{transitionTimingFunction:e}))},$a.linear=sa(wa(wa({},Ea),{},{transitionTimingFunction:"linear"}));var Ca=["blue","red","purple","green","yellow","orange","darkGray","lightGray"];function ka(){var e=En(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return ka=function(){return e},e}function Sa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(ka(),pn,o)}function xa(){var e=En(["",""]);return xa=function(){return e},e}function Oa(){var e=En(["\n\t\t",";\n\t\t",";\n\t"]);return Oa=function(){return e},e}function Pa(e,t){if(void 0===t&&(t={}),!Ca.includes(e))return"";var n,r=t,o=r.isBold,a=r.isSubtle,i=o?"Rgba20":"Rgba10",s=sa({background:Jo(o?e+"Rgba70":a?e+"Rgba10":e+"Rgba20")});return"green"===e&&(n=sa({backgroundImage:"repeating-linear-gradient(45deg, transparent, transparent 10px, "+Jo("colorBackgroundGreen")+" 10px, "+Jo("colorBackgroundGreen")+" 20px)"})),"red"===e&&(n=sa({backgroundImage:"linear-gradient(45deg, "+Jo("red"+i)+" 25%, transparent 25%, transparent 75%, "+Jo("red"+i)+" 75%, "+Jo("red"+i)+"),\n linear-gradient(-45deg, "+Jo("red"+i)+" 25%, transparent 25%, transparent 75%, "+Jo("red"+i)+" 75%, "+Jo("red"+i)+")",backgroundSize:"10px 10px"})),"yellow"===e&&(n=sa({backgroundImage:"linear-gradient(45deg, "+Jo("yellow"+i)+" 25%, transparent 25%, transparent 75%, "+Jo("yellow"+i)+" 75%, "+Jo("yellow"+i)+"),\n linear-gradient(-45deg, "+Jo("yellow"+i)+" 25%, transparent 25%, transparent 75%, "+Jo("yellow"+i)+" 75%, "+Jo("yellow"+i)+")",backgroundSize:"10px 10px"})),sa(Oa(),s,Sa(xa(),n))}function Aa(e){return sa({background:e})}Aa.black=Aa(Jo("black")),Aa.white=Aa(Jo("white")),Aa.admin=Aa(Jo("colorAdmin")),Aa.blue=Pa("blue"),Aa.darkGray=Pa("darkGray"),Aa.green=Pa("green"),Aa.lightGray=Pa("lightGray"),Aa.orange=Pa("orange"),Aa.purple=Pa("purple"),Aa.red=Pa("red"),Aa.yellow=Pa("yellow"),Aa.control=Aa(Jo("controlBackgroundColor")),Aa.surface=Aa(Jo("surfaceBackgroundColor")),Aa.secondary=Aa(Jo("surfaceBackgroundSubtleColor"));var Na={default:sa({border:"1px solid "+Jo("controlBorderColor")}),focus:sa({border:"1px solid "+Jo("colorAdmin"),boxShadow:Jo("controlBoxShadowFocus")}),subtle:sa({border:"1px solid "+Jo("controlBorderSubtleColor")})},Ra={all:sa({border:"1px solid "+Jo("surfaceBorderColor")}),bottom:sa({borderBottom:"1px solid "+Jo("surfaceBorderColor")}),control:Na,left:sa({borderLeft:"1px solid "+Jo("surfaceBorderColor")}),right:sa({borderRight:"1px solid "+Jo("surfaceBorderColor")}),top:sa({borderTop:"1px solid "+Jo("surfaceBorderColor")})};function Ta(e){return sa({borderRadius:e})}function Ma(){var e=En(["\n\t\t@media not all and (min-resolution: 0.001dpcm) {\n\t\t\t@supports (-webkit-appearance: none) {\n\t\t\t\t","\n\t\t\t}\n\t\t}\n\t"]);return Ma=function(){return e},e}function ja(){var e=En(["\n\t\t@-moz-document url-prefix() {\n\t\t\t",";\n\t\t}\n\t"]);return ja=function(){return e},e}function Ia(){var e=En(["\n\t\t@media screen and (-ms-high-contrast: active),\n\t\t\t(-ms-high-contrast: none) {\n\t\t\t",";\n\t\t}\n\t"]);return Ia=function(){return e},e}Ta.none=Ta(0),Ta.round=Ta(Jo("controlBorderRadius")),Ta.circle=Ta(99999);var Da={ie:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(Ia(),o)},firefox:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(ja(),o)},safari:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(Ma(),o)}},Fa=function(e){return xe()(e)};Fa.admin=Jo("colorAdmin"),Fa.text=Jo("colorText"),Fa.textInverted=Jo("colorTextInverted"),Fa.border=Jo("surfaceBorderColor"),Fa.positive=Jo("colorPositive"),Fa.destructive=Jo("colorDestructive"),["blue","red","purple","green","yellow","orange","darkGray","lightGray"].forEach((function(e){[null,100,300,500,700,900].forEach((function(t){t?Fa[""+e+t]=Jo(""+e+t):Fa[e]=Jo(e+"500")}))})),Object.keys(Co).forEach((function(e){Fa[e]=Jo(e)}));var La=function(e){var t=e.height,n=e.width,r=[];return cn.defined(n)&&r.push([sa({maxWidth:"100%",width:n})]),cn.defined(t)&&r.push([sa({height:t,maxHeight:"100%"})]),sa(r)};La.width=function(e){return sa({maxWidth:"100%",width:e})},La.height=function(e){return sa({height:e,maxHeight:"100%"})};var Ga={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function Ba(e){return void 0===e&&(e=13),Ga[e]?Ba(Ga[e]):"number"!=typeof e?e:"calc("+e/13+" * "+Jo("fontSize")+")"}function qa(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function za(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qa(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qa(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ha(e){return sa({color:e})}Ha.black=Ha(Jo("black")),Ha.white=Ha(Jo("white")),Ha.admin=Ha(Jo("colorAdmin")),Ha.purple=Ha(Jo("purple500")),Ha.green=Ha(Jo("green500")),Ha.yellow=Ha(Jo("yellow500")),Ha.orange=Ha(Jo("orange500")),Ha.darkGray=Ha(Jo("darkGray500")),Ha.lightGray=Ha(Jo("lightGray500")),Ha.text=Ha(Jo("colorText")),Ha.textInverted=Ha(Jo("colorTextInverted"));var Ua={default:sa({color:Jo("colorText"),fontFamily:Jo("fontFamily"),fontWeight:400}),monospace:sa({fontFamily:Jo("fontFamilyMono")})},Va={bold:sa({fontWeight:600}),italic:sa({fontStyle:"italic"}),smallCaps:sa({fontSize:Ba(10),fontWeight:600,textTransform:"uppercase"}),caption:sa({fontSize:Ba(10),fontWeight:600,textTransform:"uppercase",opacity:.5})},Wa={body:sa({fontSize:Ba(13)}),caption:sa({fontSize:Ba(10)}),footnote:sa({fontSize:Ba(11)}),headline:ea(Va.bold,sa({fontSize:Ba(13)})),largeTitle:sa({fontSize:Ba(28)}),subheadline:sa({fontSize:Ba(12)}),title:sa({fontSize:Ba(20)})},Ya={color:Ha,size:function(e){return sa({fontSize:Ba(e)})}},Ka={alignment:{left:sa({textAlign:"left"}),center:sa({textAlign:"center"}),right:sa({textAlign:"right"})}},Qa=za(za(za(za(za({},Ua),Wa),Va),Ya),Ka);function Za(){var e=En(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return Za=function(){return e},e}function Xa(){var e=En(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return Xa=function(){return e},e}var Ja={};function ei(e){return sa({opacity:e})}Ja.colorBlind=Sa,Ja.dark=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(Za(),dn,o)},Ja.highContrast=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=sa.apply(void 0,[e].concat(n));return sa(Xa(),gn,o)},ei.subtle=ei(.7),ei.muted=ei(.5),ei.hidden=ei(0);var ti={absolute:sa({position:"absolute"}),fixed:sa({position:"fixed"}),bottom:sa({bottom:0,position:"absolute"}),bottomLeft:sa({bottom:0,left:0,position:"absolute"}),bottomRight:sa({bottom:0,position:"absolute",right:0}),full:sa({bottom:0,left:0,position:"absolute",right:0,top:0}),left:sa({left:0,position:"absolute"}),relative:sa({position:"relative"}),right:sa({position:"absolute",right:0}),sticky:sa({position:"sticky",top:0}),top:sa({position:"absolute",top:0}),topLeft:sa({left:0,position:"absolute",top:0}),topRight:sa({position:"absolute",right:0,top:0})};function ni(e){return cn.numeric(e)?e+"px":e}function ri(e){return"0 "+ni(e)+" "+ni(2*e)+" 0\n\trgba(0 ,0, 0, "+e/20+")"}function oi(e){return sa({margin:ta(e)})}function ai(e){return sa({padding:ta(e)})}function ii(){var e=En(["\n\t\t"," {\n\t\t\t",";\n\t\t}\n\t"]);return ii=function(){return e},e}oi.x=function(e){return sa({marginLeft:ta(e),marginRight:ta(e)})},oi.y=function(e){return sa({marginBottom:ta(e),marginTop:ta(e)})},oi.top=function(e){return sa({marginTop:ta(e)})},oi.bottom=function(e){return sa({marginBottom:ta(e)})},oi.left=function(e){return sa({marginLeft:ta(e)})},oi.right=function(e){return sa({marginRight:ta(e)})},ai.x=function(e){return sa({paddingLeft:ta(e),paddingRight:ta(e)})},ai.y=function(e){return sa({paddingBottom:ta(e),paddingTop:ta(e)})},ai.top=function(e){return sa({paddingTop:ta(e)})},ai.bottom=function(e){return sa({paddingBottom:ta(e)})},ai.left=function(e){return sa({paddingLeft:ta(e)})},ai.right=function(e){return sa({paddingRight:ta(e)})};var si=function(e){return this[ca]=e,this};si.prototype.getSelector=function(){return'[data-g2-component="'+this[ca]+'"]'},si.prototype.css=function(){var e=sa.apply(void 0,arguments);return sa(ii(),this.getSelector(),e)};function li(e){return"number"==typeof e||"string"==typeof e}function ci(e,t){if(void 0===t&&(t=0),li(e)){var n=li(t)?t:0;return sa({transform:"translate("+ni(e)+", "+ni(n)+")"})}if(cn.plainObject(e)){var r=e.x,o=void 0===r?0:r,a=e.y,i=void 0===a?0:a;return sa({transform:"translate("+ni(o)+", "+ni(i)+")"})}return""}ci.x=function(e){return sa({transform:"translateX("+ni(e)+")"})},ci.y=function(e){return sa({transform:"translateY("+ni(e)+")"})};var ui={};function di(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}ui.clamp=function(e,t,n){return"max("+t+", min("+n+", "+e+"))"},ui.color=Fa,ui.space=ta,ui.px=ni;var gi={Tooltip:999999,Popover:9999,Dropdown:9998,Modal:999,ControlFocus:1};function pi(e,t){return"number"==typeof e?e:"string"!=typeof e?t:(gi[e]||"number"!=typeof t||(gi[e]=t),gi[e])}function mi(e,t){return sa({zIndex:pi(e,t)})}mi.get=function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?di(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):di(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},gi)};var fi={$:function(e){return new si(e)},active:function(){return sa({"&:active":sa.apply(void 0,arguments)})},alignment:ba,animation:$a,background:Aa,border:Ra,borderRadius:Ta,browsers:Da,color:Fa,createToken:Xo,css:sa,flow:Jr,focus:function(){return sa({"&:focus":sa.apply(void 0,arguments)})},font:Qa,frame:La,get:Jo,getTokenValue:function(e){var t=Jo(e).replace("var(","").replace(/\)$/g,"");return window.getComputedStyle(document.documentElement).getPropertyValue(t)},hover:function(){return sa({"&:hover":sa.apply(void 0,arguments)})},margin:oi,mode:Ja,offset:ci,opacity:ei,padding:ai,position:ti,rotate:function(e){return sa({transform:"rotate("+e+"deg)"})},scale:function(e){return sa({transform:"scale("+e+")"})},scaleX:function(e){return sa({transform:"scaleX("+e+")"})},scaleY:function(e){return sa({transform:"scaleY("+e+")"})},shadow:function(e){if("number"==typeof e)return sa({boxShadow:ri(e)});if(!cn.plainObject(e))return"";var t=e.color,n=void 0===t?"black":t,r=e.radius,o=void 0===r?10:r,a=e.x,i=void 0===a?0:a,s=e.y,l=void 0===s?5:s,c=xe()(n).setAlpha(.3).toRgbString()||"rgba(0, 0, 0, 0.3)";return sa({boxShadow:ni(i)+" "+ni(l)+" "+ni(o)+" "+c})},space:ta,value:ui,zIndex:mi};function hi(){var e=ct(["\n\tdisplay: block;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n"]);return hi=function(){return e},e}var vi=sa(hi());function yi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yi(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _i,wi="auto",Ei="head",$i="middle",Ci="none",ki={ellipsis:"…",ellipsizeMode:wi,limit:0,numberOfLines:0};function Si(e,t,n,r){if("string"!=typeof e)return"";var o=e.length,a=~~t,i=~~n,s=(0,g.isNil)(r)?"…":r;return 0===a&&0===i||a>=o||i>=o||a+i>=o?e:0===i?e.slice(0,a)+s:e.slice(0,a)+s+e.slice(o-i)}function xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xi(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pi(){var e=ct(["\n\t\t\t-webkit-box-orient: vertical;\n\t\t\t-webkit-line-clamp: ",";\n\t\t\tdisplay: -webkit-box;\n\t\t\toverflow: hidden;\n\t\t"]);return Pi=function(){return e},e}var Ai=gr()((function(e){var t;if("string"!=typeof e)return"";if(function(e){return"string"==typeof e&&xe()(e).isValid()}(e))return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";var n=function(){if("undefined"!=typeof document){if(!_i){var e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),_i=e}return _i}}();if(!n)return"";n.style.background=e;var r=null===(t=window)||void 0===t?void 0:t.getComputedStyle(n).background;return n.style.background="",r||""}));function Ni(){var e=ct(["\n\ttext-transform: uppercase;\n"]);return Ni=function(){return e},e}function Ri(){var e=ct(["\n\tmark {\n\t\tbackground: ",";\n\t\tborder-radius: 2px;\n\t\tbox-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,\n\t\t\t0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;\n\t}\n"]);return Ri=function(){return e},e}function Ti(){var e=ct(["\n\tcolor: ",";\n"]);return Ti=function(){return e},e}function Mi(){var e=ct(["\n\tcolor: ",";\n"]);return Mi=function(){return e},e}function ji(){var e=ct(["\n\tcolor: ",";\n"]);return ji=function(){return e},e}function Ii(){var e=ct(["\n\tdisplay: block;\n"]);return Ii=function(){return e},e}function Di(){var e=ct(["\n\tcolor: ",";\n\tline-height: ",";\n"]);return Di=function(){return e},e}var Fi=sa(Di(),fi.color.text,fi.get("fontLineHeightBase")),Li=sa(Ii()),Gi=sa(ji(),fi.color.positive),Bi=sa(Mi(),fi.color.destructive),qi=sa(Ti(),fi.get("colorTextMuted")),zi=sa(Ri(),fi.get("yellowRgba70")),Hi=sa(Ni());function Ui(e){return Ui="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Ui(e)}var Vi=__webpack_require__(6928);function Wi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wi(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ki=gr()((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));function Qi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Zi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qi(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Xi=function(e){var t=e.as,n=e.name,r=void 0===n?"Component":n,o=e.useHook,a=void 0===o?g.identity:o,i=e.memo,l=void 0===i||i;function c(e,n){var r=a(e);return(0,s.createElement)(va,S({as:t||"div"},r,{ref:n}))}return c.displayName=r,pa(c,r,{memo:l})}({as:"span",useHook:function(t){var n=ua(t,"Text"),r=n.adjustLineHeightForInnerControls,o=n.align,a=n.children,i=n.className,l=n.color,c=n.ellipsizeMode,u=n.isDestructive,d=void 0!==u&&u,p=n.display,m=n.highlightEscape,f=void 0!==m&&m,h=n.highlightCaseSensitive,v=void 0!==h&&h,y=n.highlightWords,b=n.highlightSanitize,_=n.isBlock,w=void 0!==_&&_,E=n.letterSpacing,$=n.lineHeight,C=n.optimizeReadabilityFor,k=n.size,S=n.truncate,x=void 0!==S&&S,P=n.upperCase,A=void 0!==P&&P,N=n.variant,R=n.weight,T=void 0===R?fi.get("fontWeight"):R,M=O(n,["adjustLineHeightForInnerControls","align","children","className","color","ellipsizeMode","isDestructive","display","highlightEscape","highlightCaseSensitive","highlightWords","highlightSanitize","isBlock","letterSpacing","lineHeight","optimizeReadabilityFor","size","truncate","upperCase","variant","weight"]),j=a,I=Array.isArray(y),D="caption"===k;I&&(j=function(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,a=e.activeStyle,i=e.autoEscape,l=e.caseSensitive,c=void 0!==l&&l,u=e.children,d=e.findChunks,g=e.highlightClassName,p=void 0===g?"":g,m=e.highlightStyle,f=void 0===m?{}:m,h=e.highlightTag,v=void 0===h?"mark":h,y=e.sanitize,b=e.searchWords,_=void 0===b?[]:b,w=e.unhighlightClassName,E=void 0===w?"":w,$=e.unhighlightStyle;if(!u)return null;if("string"!=typeof u)return u;var C,k=u,S=(0,Vi.findAll)({autoEscape:i,caseSensitive:c,findChunks:d,sanitize:y,searchWords:_,textToHighlight:k}),x=v,O=-1,P="",A=S.map((function(e,t){var r=k.substr(e.start,e.end-e.start);if(e.highlight){var i;O++,i="object"===Ui(p)?c?p[r]:(p=Ki(p))[r.toLowerCase()]:p;var l=O===+o;P="".concat(i," ").concat(l?n:""),C=!0===l&&null!==a?Object.assign({},f,a):f;var u=Yi(Yi({},fi.$("TextHighlight")),{},{children:r,className:P,key:t,style:C});return"string"!=typeof x&&(u.highlightIndex=O),(0,s.createElement)(x,u)}return(0,s.createElement)("span",Yi(Yi({},fi.$("Text")),{},{children:r,className:E,key:t,style:$}))}));return A}({autoEscape:f,children:a,caseSensitive:v,searchWords:y,sanitize:b}));var F,L=(0,s.useMemo)((function(){var t,n={},a=function(e){var t=e.adjustLineHeightForInnerControls,n=e.lineHeight;if(!(0,g.isNil)(n))return n;if(t){var r="calc(".concat(fi.get("controlHeight")," + ").concat(fi.space(2),")");switch(t){case"large":r="calc(".concat(fi.get("controlHeightLarge")," + ").concat(fi.space(2),")");break;case"small":r="calc(".concat(fi.get("controlHeightSmall")," + ").concat(fi.space(2),")");break;case"xSmall":r="calc(".concat(fi.get("controlHeightXSmall")," + ").concat(fi.space(2),")")}return r}}({lineHeight:$,adjustLineHeightForInnerControls:r});if(n.Base=sa({color:l,display:p,fontSize:Ba(k),fontWeight:T,lineHeight:a,letterSpacing:E,textAlign:o}),n.upperCase=sa({textTransform:"uppercase"}),n.optimalTextColor=null,C){var s="dark"==(t=function(e){var t=Ai(e);return xe().isReadable(t,"#000000")?"#000000":"#ffffff"}(C),"#000000"===t?"dark":"light");n.optimalTextColor=sa(s?{color:fi.get("black")}:{color:fi.get("white")})}return ea(Fi,n.Base,n.optimalTextColor,d&&Bi,!!I&&zi,w&&Li,D&&qi,N&&e[N],A&&n.upperCase,i)}),[r,o,i,l,p,w,D,d,I,E,$,C,k,A,N,T]);!0===x&&(F="auto"),!1===x&&(F="none");var G=function(e){var t=ua(e,"Truncate"),n=t.className,r=t.children,o=t.ellipsis,a=void 0===o?"…":o,i=t.ellipsizeMode,l=void 0===i?wi:i,c=t.limit,u=void 0===c?0:c,d=t.numberOfLines,g=void 0===d?0:d,p=O(t,["className","children","ellipsis","ellipsizeMode","limit","numberOfLines"]),m=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,o=bi(bi({},ki),r),a=o.ellipsis,i=o.ellipsizeMode,s=o.limit;if(i===Ci)return n;switch(i){case Ei:e=0,t=s;break;case $i:e=Math.floor(s/2),t=Math.floor(s/2);break;default:e=s,t=0}return i!==wi?Si(n,e,t,a):n}("string"==typeof r?r:"",{ellipsis:a,ellipsizeMode:l,limit:u,numberOfLines:g}),f=l===wi,h=(0,s.useMemo)((function(){var e={};return e.numberOfLines=sa(Pi(),g),ea(f&&!g&&vi,f&&!!g&&e.numberOfLines,n)}),[n,g,f]);return Oi(Oi({},p),{},{className:h,children:m})}(Zi(Zi({},M),{},{className:L,children:a,ellipsizeMode:c||F}));return!x&&Array.isArray(a)&&(j=s.Children.map(a,(function(e){return(0,g.isPlainObject)(e)&&"props"in e&&(n=["Link"],(t=e)&&("string"==typeof n?ma(t).includes(n):Array.isArray(n)&&n.some((function(e){return ma(t).includes(e)}))))?(0,s.cloneElement)(e,{size:e.props.size||"inherit"}):e;var t,n}))),Zi(Zi({},G),{},{children:x?G.children:j})},name:"Text"});function Ji(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var es=1===__webpack_require__(4155).env.COMPONENT_SYSTEM_PHASE?Xi:void 0,ts=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return null},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Component",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e};return 1===fa.env.COMPONENT_SYSTEM_PHASE?pa((function(o,a){var i=ua(o,n),l=i.__unstableVersion,c=O(i,["__unstableVersion"]);if("next"===l){var u=r(c);return(0,s.createElement)(t,S({},u,{ref:a}))}return(0,s.createElement)(e,S({},o,{ref:a}))}),n):e}(be("p",{target:"e15wbhsk0",label:"Text"})("\n\tbox-sizing: border-box;\n\tmargin: 0;\n",It,""),es,"WPComponentsText",(function(e){var t=e.as,n=e.variant,r=O(e,["as","variant"]);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ji(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ji(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:t,css:It({variant:n}).styles},r)})),ns=__webpack_require__(4802),rs=()=>(0,s.createElement)(rt,{className:"gla-get-started-benefits-card",isBorderless:!0},(0,s.createElement)(st,null,(0,s.createElement)("div",{className:"gla-get-started-benefits-card__image"},(0,s.createElement)("img",{src:ns,alt:(0,o.__)("Google Listings & Ads Benefits","google-listings-and-ads"),width:"100%",height:"100%"})),(0,s.createElement)(lt,null,(0,s.createElement)(ts,{variant:"title.medium",className:"gla-get-started-benefits-card__title"},(0,s.createInterpolateElement)((0,o.__)("Increase clicks by <strong>50%</strong>","google-listings-and-ads"),{strong:(0,s.createElement)("strong",null)})),(0,s.createElement)(ts,{variant:"body",className:"gla-get-started-benefits-card__description"},(0,o.__)("Using free listings and ads together increased clicks by 50% and doubled impressions. Small-to-medium merchants saw the largest share of the increases.","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-benefits-card__hint"},(0,o.__)("Source: Google Internal Data, July 2020","google-listings-and-ads"))))),os=(0,s.forwardRef)((function(e,t){var n=e.className,r=O(e,["className"]),o=A()("components-flex__block",n);return(0,s.createElement)($e,S({},r,{className:o,ref:t}))}));function as(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function is(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?as(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):as(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ss={isBorderless:!1,isShady:!1,size:"medium"},ls=function(e){var t=e.className,n=e.isShady,r=O(e,["className","isShady"]),o=is(is(is({},ss),R()),e),a=o.isBorderless,i=o.size,l=A()("components-card__header",a&&"is-borderless",n&&"is-shady",i&&"is-size-".concat(i),t);return(0,s.createElement)(Ke,S({},r,{className:l}))},cs=__webpack_require__(1704);const us=e=>{let{quote:t,name:n}=e;return(0,s.createElement)(os,null,(0,s.createElement)("img",{src:cs,alt:(0,o.__)("An image of a quote.","google-listings-and-ads"),width:"34",height:"34"}),(0,s.createElement)(ts,{className:"gla-get-started-customer-quotes-card__content",variant:"body"},t),(0,s.createElement)(ts,{className:"gla-get-started-customer-quotes-card__name"},n))};var ds=()=>(0,s.createElement)(rt,{className:"gla-get-started-customer-quotes-card",isBorderless:!0},(0,s.createElement)(ls,null,(0,s.createElement)(ts,{className:"gla-get-started-customer-quotes-card__title",variant:"title.medium"},(0,o.__)("21,000+ WooCommerce store owners like you already list products with Google","google-listings-and-ads"))),(0,s.createElement)(ke,{gap:0},(0,s.createElement)(us,{quote:(0,o.__)("Thank you Google and WooCommerce for creating this app. It’s so simple to use and connect your products to Merchant Center.","google-listings-and-ads"),name:(0,o.__)("joshualukewhite","google-listings-and-ads")}),(0,s.createElement)(us,{quote:(0,o.__)("It does everything smoothly. Perfect and must need add-on from WooCommerce. Some things are just “essentials”.","google-listings-and-ads"),name:(0,o.__)("Anonymous","google-listings-and-ads")}))),gs=function(e){var t=e.label,n=e.children;return(0,s.createElement)("div",{className:"components-panel__header"},t&&(0,s.createElement)("h2",null,t),n)},ps=(0,s.forwardRef)((function(e,t){var n=e.header,r=e.className,o=e.children,a=A()(r,"components-panel");return(0,s.createElement)("div",{className:a,ref:t},n&&(0,s.createElement)(gs,{label:n}),o)}));function ms(e){var t=Bt((0,s.useState)((function(){return!(!e||"undefined"==typeof window||!window.matchMedia(e).matches)})),2),n=t[0],r=t[1];return(0,s.useEffect)((function(){if(e){var t=function(){return r(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&n}var fs=__webpack_require__(4155),hs="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,vs=fs.env.FORCE_REDUCED_MOTION||hs?function(){return!0}:function(){return ms("(prefers-reduced-motion: reduce)")};function ys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function bs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ys(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ys(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var _s=function(e){return(0,s.createElement)("circle",e)},ws=function(e){return(0,s.createElement)("path",e)},Es=function(e){var t=e.className,n=e.isPressed,r=bs(bs({},O(e,["className","isPressed"])),{},{className:A()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return(0,s.createElement)("svg",r)},$s=(0,s.createElement)(Es,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(ws,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),Cs=(0,s.createElement)(Es,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)(ws,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),ks=window.wp.deprecated,Ss=__webpack_require__.n(ks),xs=window.wp.dom,Os=window.wp.keycodes,Ps={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},As={">=":"min-width","<":"max-width"},Ns={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},Rs=(0,s.createContext)(null),Ts=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n=(0,s.useContext)(Rs),r=!n&&"(".concat(As[t],": ").concat(Ps[e],"px)"),o=ms(r);return n?Ns[t](Ps[e],n):o};Ts.__experimentalWidthProvider=Rs.Provider;var Ms=Ts,js=__webpack_require__(5464),Is=__webpack_require__.n(js)(),Ds=function(){return(0,s.useCallback)((function(e){e&&e.addEventListener("keydown",(function(t){if(t.keyCode===Os.TAB){var n=xs.focus.tabbable.find(e);if(n.length){var r=n[0],o=n[n.length-1];t.shiftKey&&t.target===r?(t.preventDefault(),o.focus()):(t.shiftKey||t.target!==o)&&n.includes(t.target)||(t.preventDefault(),r.focus())}}}))}),[])},Fs=function(e){var t=(0,s.useRef)(),n=(0,s.useRef)(),r=(0,s.useRef)(e);return(0,s.useEffect)((function(){r.current=e}),[e]),(0,s.useCallback)((function(e){if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o=t.current.contains(t.current.ownerDocument.activeElement);if(t.current.isConnected&&!o)return;r.current?r.current():n.current.focus()}}),[])};function Ls(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=(0,s.useRef)(e);return(0,s.useEffect)((function(){t.current=e}),[e]),(0,s.useCallback)((function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=xs.focus.tabbable.find(e)[0];r&&(n=r)}n.focus()}}),[])}var Gs=["button","submit"];function Bs(e){var t=(0,s.useRef)(e);(0,s.useEffect)((function(){t.current=e}),[e]);var n=(0,s.useRef)(!1),r=(0,s.useRef)(),o=(0,s.useCallback)((function(){clearTimeout(r.current)}),[]);(0,s.useEffect)((function(){return function(){return o()}}),[]),(0,s.useEffect)((function(){e||o()}),[e,o]);var a=(0,s.useCallback)((function(e){var t=e.type,r=e.target;(0,g.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,g.includes)(Gs,e.type)}return!1}(r)&&(n.current=!0)}),[]),i=(0,s.useCallback)((function(e){e.persist(),n.current||(r.current=setTimeout((function(){document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:o,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:i}}var qs=(0,s.createElement)(Es,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function zs(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Hs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zs(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zs(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Us(e,t,n,r,a,i,s,l){var c=t.width;"left"===n&&(0,o.isRTL)()?n="right":"right"===n&&(0,o.isRTL)()&&(n="left"),"left"===r&&(0,o.isRTL)()?r="right":"right"===r&&(0,o.isRTL)()&&(r="left");var u=Math.round(e.left+e.width/2),d={popoverLeft:u,contentWidth:(u-c/2>0?c/2:u)+(u+c/2>window.innerWidth?window.innerWidth-u:c/2)},g=e.left;"right"===r?g=e.right:"middle"!==i&&(g=u);var p=e.right;"left"===r?p=e.left:"middle"!==i&&(p=u);var m,f={popoverLeft:g,contentWidth:g-c>0?c:g},h={popoverLeft:p,contentWidth:p+c>window.innerWidth?window.innerWidth-p:c},v=n,y=null;if(!a&&!l)if("center"===n&&d.contentWidth===c)v="center";else if("left"===n&&f.contentWidth===c)v="left";else if("right"===n&&h.contentWidth===c)v="right";else{var b="left"==(v=f.contentWidth>h.contentWidth?"left":"right")?f.contentWidth:h.contentWidth;c>window.innerWidth&&(y=window.innerWidth),b!==c&&(v="center",d.popoverLeft=window.innerWidth/2)}if(m="center"===v?d.popoverLeft:"left"===v?f.popoverLeft:h.popoverLeft,s){var _=s.getBoundingClientRect();m=Math.min(m,_.right-c)}return{xAxis:v,popoverLeft:m,contentWidth:y}}function Vs(e,t,n,r,o,a,i,s){var l=t.height;if(o){var c=o.getBoundingClientRect().top+l-i;if(e.top<=c)return{yAxis:n,popoverTop:Math.min(e.bottom,c)}}var u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);var d={popoverTop:u,contentHeight:(u-l/2>0?l/2:u)+(u+l/2>window.innerHeight?window.innerHeight-u:l/2)},g={popoverTop:e.top,contentHeight:e.top-10-l>0?l:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+l>window.innerHeight?window.innerHeight-10-e.bottom:l},m=n,f=null;if(!o&&!s)if("middle"===n&&d.contentHeight===l)m="middle";else if("top"===n&&g.contentHeight===l)m="top";else if("bottom"===n&&p.contentHeight===l)m="bottom";else{var h="top"==(m=g.contentHeight>p.contentHeight?"top":"bottom")?g.contentHeight:p.contentHeight;f=h!==l?h:null}return{yAxis:m,popoverTop:"middle"===m?d.popoverTop:"top"===m?g.popoverTop:p.popoverTop,contentHeight:f}}function Ws(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ys(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Ks(e,t,n){return t&&Ys(e.prototype,t),n&&Ys(e,n),e}function Qs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&L(e,t)}function Zs(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Xs(e,t){if(t&&("object"===Ui(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Zs(e)}function Js(e){return Js=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},Js(e)}function el(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=Js(e);if(t){var o=Js(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Xs(this,n)}}var tl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,a=0,i=0;function l(e){var t=n.scrollingElement||n.body;e&&(i=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=i)}function c(){0===a&&l(!0),++a}function u(){1===a&&l(!1),--a}return function(e){Qs(n,e);var t=el(n);function n(){return Ws(this,n),t.apply(this,arguments)}return Ks(n,[{key:"componentDidMount",value:function(){c()}},{key:"componentWillUnmount",value:function(){u()}},{key:"render",value:function(){return null}}]),n}(s.Component)}();function nl(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=Js(e)););return e}function rl(){return rl="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=nl(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},rl.apply(this,arguments)}function ol(e){return function(e){if(Array.isArray(e))return Ft(e)}(e)||Yn(e)||Lt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}window.wp.warning;var al=__webpack_require__(4155),il=(0,s.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==al&&al.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});var sl=(0,s.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),ll=(sl.Provider,sl.Consumer);s.Component;var cl=function(e){Qs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Js(t);if(n){var o=Js(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Xs(this,e)});function o(){var e;return Ws(this,o),(e=r.apply(this,arguments)).isUnmounted=!1,e.bindNode=e.bindNode.bind(Zs(e)),e}return Ks(o,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterSlot;this.isUnmounted=!0,e(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"forceUpdate",value:function(){this.isUnmounted||rl(Js(o.prototype),"forceUpdate",this).call(this)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,o=void 0===r?{}:r,a=e.getFills,i=(0,g.map)(a(n,this),(function(e){var t=e.occurrence,n=(0,g.isFunction)(e.children)?e.children(o):e.children;return s.Children.map(n,(function(e,n){if(!e||(0,g.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return(0,s.cloneElement)(e,{key:r})}))})).filter((0,g.negate)(s.isEmptyElement));return(0,s.createElement)(s.Fragment,null,(0,g.isFunction)(t)?t(i):i)}}]),o}(s.Component),ul=function(e){return(0,s.createElement)(ll,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return(0,s.createElement)(cl,S({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},dl=0;function gl(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=function(e){var t=(0,s.useContext)(sl),n=t.getSlot,r=t.subscribe,o=Bt((0,s.useState)(n(e)),2),a=o[0],i=o[1];return(0,s.useEffect)((function(){return i(n(e)),r((function(){i(n(e))}))}),[e]),a}(t),i=(0,s.useRef)({name:t,children:n});return i.current.occurrence||(i.current.occurrence=++dl),(0,s.useLayoutEffect)((function(){return r(t,i.current),function(){return o(t,i.current)}}),[]),(0,s.useLayoutEffect)((function(){i.current.children=n,a&&a.forceUpdate()}),[n]),(0,s.useLayoutEffect)((function(){t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node?((0,g.isFunction)(n)&&(n=n(a.props.fillProps)),(0,s.createPortal)(n,a.node)):null}var pl=function(e){return(0,s.createElement)(ll,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return(0,s.createElement)(gl,S({},e,{registerFill:n,unregisterFill:r}))}))};function ml(e){var t=e.name,n=e.fillProps,r=void 0===n?{}:n,o=e.as,a=void 0===o?"div":o,i=O(e,["name","fillProps","as"]),l=(0,s.useContext)(il),c=(0,s.useRef)();return(0,s.useLayoutEffect)((function(){return l.registerSlot(t,c,r),function(){l.unregisterSlot(t,c)}}),[l.registerSlot,l.unregisterSlot,t]),(0,s.useLayoutEffect)((function(){l.updateSlot(t,r)})),(0,s.createElement)(a,S({ref:c},i))}function fl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fl(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vl(e){var t=(0,s.useContext)(il),n=t.slots[e]||{},r=t.fills[e],o=(0,s.useMemo)((function(){return r||[]}),[r]),a=(0,s.useCallback)((function(n){t.updateSlot(e,n)}),[e,t.updateSlot]),i=(0,s.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),l=(0,s.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),c=(0,s.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill]);return hl(hl({},n),{},{updateSlot:a,unregisterSlot:i,fills:o,registerFill:l,unregisterFill:c})}function yl(e){var t,n=e.name,r=e.children,o=vl(n),a=(0,s.useRef)({rerender:(t=Bt((0,s.useState)({}),2)[1],function(){return t({})})});return(0,s.useEffect)((function(){return o.registerFill(a),function(){o.unregisterFill(a)}}),[o.registerFill,o.unregisterFill]),o.ref&&o.ref.current?("function"==typeof r&&(r=r(o.fillProps)),(0,s.createPortal)(r,o.ref.current)):null}function bl(e){var t=e.bubblesVirtually,n=O(e,["bubblesVirtually"]);return t?(0,s.createElement)(ml,n):(0,s.createElement)(ul,n)}function _l(e){return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(pl,e),(0,s.createElement)(yl,e))}var wl="Popover";function El(e,t){var n=t.defaultView,r=n.frameElement;if(!r)return e;var o=r.getBoundingClientRect();return new n.DOMRect(e.left+o.left,e.top+o.top,e.width,e.height)}function $l(e,t){var n,r=(n=t).ownerDocument.defaultView.getComputedStyle(n),o=r.paddingTop,a=r.paddingBottom,i=r.paddingLeft,s=r.paddingRight,l=o?parseInt(o,10):0,c=a?parseInt(a,10):0,u=i?parseInt(i,10):0,d=s?parseInt(s,10):0;return{x:e.left+u,y:e.top+l,width:e.width-u-d,height:e.height-l-c,left:e.left+u,right:e.right-d,top:e.top+l,bottom:e.bottom-c}}function Cl(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function kl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function Sl(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var xl=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,a=e.className,i=e.noArrow,l=void 0===i||i,c=e.isAlternate,u=e.position,d=void 0===u?"bottom right":u,g=(e.range,e.focusOnMount),p=void 0===g?"firstElement":g,m=e.anchorRef,f=e.shouldAnchorIncludePadding,h=e.anchorRect,v=e.getAnchorRect,y=e.expandOnMobile,b=e.animate,_=void 0===b||b,w=e.onClickOutside,E=e.onFocusOutside,$=e.__unstableStickyBoundaryElement,C=e.__unstableSlotName,k=void 0===C?wl:C,x=e.__unstableObserveElement,P=e.__unstableBoundaryParent,N=e.__unstableForcePosition,R=O(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableStickyBoundaryElement","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent","__unstableForcePosition"]),M=(0,s.useRef)(null),j=(0,s.useRef)(null),I=(0,s.useRef)(),D=Ms("medium","<"),F=Bt((0,s.useState)(),2),L=F[0],G=F[1],B=vl(k),q=y&&D,z=Bt(Is(),2),H=z[0],U=z[1];l=q||l,(0,s.useLayoutEffect)((function(){if(q)return Sl(I.current,"is-without-arrow",l),Sl(I.current,"is-alternate",c),Cl(I.current,"data-x-axis"),Cl(I.current,"data-y-axis"),kl(I.current,"top"),kl(I.current,"left"),kl(j.current,"maxHeight"),void kl(j.current,"maxWidth");var e=function(){if(I.current&&j.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return El((0,xs.getRectangleFromRange)(r),r.endContainer.ownerDocument);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){var a=El(r.getBoundingClientRect(),r.ownerDocument);return o?a:$l(a,r)}var i=r.top,s=r.bottom,l=i.getBoundingClientRect(),c=s.getBoundingClientRect(),u=El(new window.DOMRect(l.left,l.top,l.width,c.bottom-l.top),i.ownerDocument);return o?u:$l(u,r)}if(e.current){var d=e.current.parentNode,g=d.getBoundingClientRect();return o?g:$l(g,d)}}(M,h,v,m,f);if(e){var t,n,r=I.current,o=r.offsetParent,a=r.ownerDocument,i=0;if(o&&o!==a.body){var s=o.getBoundingClientRect();i=s.top,e=new window.DOMRect(e.left-s.left,e.top-s.top,e.width,e.height)}P&&(t=null===(n=I.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode);var u=function(e,t){var n=arguments.length>3?arguments[3]:void 0,r=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,i=Bt((arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top").split(" "),3),s=i[0],l=i[1],c=void 0===l?"center":l,u=i[2],d=Vs(e,t,s,u,n,0,r,a);return Hs(Hs({},Us(e,t,c,u,n,d.yAxis,o,a)),d)}(e,U.height?U:j.current.getBoundingClientRect(),d,$,I.current,i,t,N),g=u.popoverTop,p=u.popoverLeft,y=u.xAxis,b=u.yAxis,_=u.contentHeight,w=u.contentWidth;"number"==typeof g&&"number"==typeof p&&(kl(I.current,"top",g+"px"),kl(I.current,"left",p+"px")),Sl(I.current,"is-without-arrow",l||"center"===y&&"middle"===b),Sl(I.current,"is-alternate",c),Cl(I.current,"data-x-axis",y),Cl(I.current,"data-y-axis",b),kl(j.current,"maxHeight","number"==typeof _?_+"px":""),kl(j.current,"maxWidth","number"==typeof w?w+"px":""),G(({left:"right",right:"left"}[y]||"center")+" "+({top:"bottom",bottom:"top"}[b]||"middle"))}}};e();var t,n=I.current.ownerDocument,r=n.defaultView,o=r.setInterval(e,500),a=function(){r.cancelAnimationFrame(t),t=r.requestAnimationFrame(e)};r.addEventListener("click",a),r.addEventListener("resize",e),r.addEventListener("scroll",e,!0);var i,s=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(m);return s&&s!==n&&(s.defaultView.addEventListener("resize",e),s.defaultView.addEventListener("scroll",e,!0)),x&&(i=new r.MutationObserver(e)).observe(x,{attributes:!0}),function(){r.clearInterval(o),r.removeEventListener("resize",e),r.removeEventListener("scroll",e,!0),r.removeEventListener("click",a),r.cancelAnimationFrame(t),s&&s!==n&&(s.defaultView.removeEventListener("resize",e),s.defaultView.removeEventListener("scroll",e,!0)),i&&i.disconnect()}}),[q,h,v,m,f,d,U,$,x,P]);var V=Ds(),W=Fs(),Y=Ls(p),K=Bs((function(e){if(E)E(e);else if(w){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Ss()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),w(t)}else n&&n()})),Q=[I,p?V:null,p?W:null,p?Y:null],Z=(0,s.useCallback)($n(Q),Q),X=Boolean(_&&L)&&function(e){if("loading"===e.type)return A()("components-animate__loading");var t=e.type,n=e.origin,r=void 0===n?function(e){return"appear"===e?"top":"left"}(t):n;if("appear"===t){var o,a=Bt(r.split(" "),2),i=a[0],s=a[1],l=void 0===s?"center":s;return A()("components-animate__appear",(T(o={},"is-from-"+l,"center"!==l),T(o,"is-from-"+i,"middle"!==i),o))}return"slide-in"===t?A()("components-animate__slide-in","is-from-"+r):void 0}({type:"appear",origin:L}),J=(0,s.createElement)("div",S({className:A()("components-popover",a,X,{"is-expanded":q,"is-without-arrow":l,"is-alternate":c})},R,{onKeyDown:function(e){e.keyCode===Os.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)}},K,{ref:Z,tabIndex:"-1"}),q&&(0,s.createElement)(tl,null),q&&(0,s.createElement)("div",{className:"components-popover__header"},(0,s.createElement)("span",{className:"components-popover__header-title"},t),(0,s.createElement)(Vl,{className:"components-popover__close",icon:qs,onClick:n})),(0,s.createElement)("div",{ref:j,className:"components-popover__content"},(0,s.createElement)("div",{style:{position:"relative"}},H,o)));return B.ref&&(J=(0,s.createElement)(_l,{name:k},J)),m||h?J:(0,s.createElement)("span",{ref:M},J)};xl.Slot=function(e){var t=e.name,n=void 0===t?wl:t;return(0,s.createElement)(bl,{bubblesVirtually:!0,name:n,className:"popover-slot"})};var Ol=xl,Pl=function(e){var t,n,r=e.shortcut,o=e.className;return r?((0,g.isString)(r)&&(t=r),(0,g.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,s.createElement)("span",{className:o,"aria-label":n},t)):null};function Al(e,t){var n=(0,M.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,M.useRef)(!0),o=(0,M.useRef)(n),a=r.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,M.useEffect)((function(){r.current=!1,o.current=a}),[a]),a.result}function Nl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Rl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nl(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Tl=(0,s.createElement)("div",{className:"event-catcher"}),Ml=function(e){var t=e.eventHandlers,n=e.child,r=e.childrenWithPopover;return(0,s.cloneElement)((0,s.createElement)("span",{className:"disabled-element-wrapper"},(0,s.cloneElement)(Tl,t),(0,s.cloneElement)(n,{children:r}),","),t)},jl=function(e){var t=e.child,n=e.eventHandlers,r=e.childrenWithPopover;return(0,s.cloneElement)(t,Rl(Rl({},n),{},{children:r}))},Il=function(e,t,n){if(1===s.Children.count(e)){var r=s.Children.only(e);"function"==typeof r.props[t]&&r.props[t](n)}},Dl=function(e){var t=e.children,n=e.position,r=e.text,o=e.shortcut,a=Bt((0,s.useState)(!1),2),i=a[0],l=a[1],c=Bt((0,s.useState)(!1),2),u=c[0],d=c[1],p=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Al((function(){return g.debounce.apply(void 0,t)}),t);return(0,s.useEffect)((function(){return function(){return r.cancel()}}),[r]),r}(d,700),m=function(e){Il(t,"onMouseDown",e),document.addEventListener("mouseup",v),l(!0)},f=function(e){Il(t,"onMouseUp",e),document.removeEventListener("mouseup",v),l(!1)},h=function(e){return"mouseUp"===e?f:"mouseDown"===e?m:void 0},v=h("mouseUp"),y=function(e,n){return function(r){if(Il(t,e,r),!(r.currentTarget.disabled||"focus"===r.type&&i)){p.cancel();var o=(0,g.includes)(["focus","mouseenter"],r.type);o!==u&&(n?p(o):d(o))}}},b=function(){p.cancel()};if((0,s.useEffect)((function(){return b}),[]),1!==s.Children.count(t))return t;var _={onMouseEnter:y("onMouseEnter",!0),onMouseLeave:y("onMouseLeave"),onClick:y("onClick"),onFocus:y("onFocus"),onBlur:y("onBlur"),onMouseDown:h("mouseDown")},w=s.Children.only(t),E=w.props,$=E.children,C=E.disabled?Ml:jl,k=function(e){var t=e.grandchildren,n=e.isOver,r=e.position,o=e.text,a=e.shortcut;return(0,s.concatChildren)(t,n&&(0,s.createElement)(Ol,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,s.createElement)(Pl,{className:"components-tooltip__shortcut",shortcut:a})))}(Rl({grandchildren:$},{isOver:u,position:n,text:r,shortcut:o}));return C({child:w,eventHandlers:_,childrenWithPopover:k})},Fl=function(e){var t=e.icon,n=e.className,r=O(e,["icon","className"]),o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,s.createElement)("span",S({className:o},r))};function Ll(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ll(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ll(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Bl=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,o=O(e,["icon","size"]);if("string"==typeof n)return(0,s.createElement)(Fl,S({icon:n},o));if(n&&Fl===n.type)return(0,s.cloneElement)(n,Gl({},o));var a=r||24;if("function"==typeof n)return n.prototype instanceof s.Component?(0,s.createElement)(n,Gl({size:a},o)):n(Gl({size:a},o));if(n&&("svg"===n.type||n.type===Es)){var i=Gl(Gl({width:a,height:a},n.props),o);return(0,s.createElement)(Es,i)}return(0,s.isValidElement)(n)?(0,s.cloneElement)(n,Gl({size:a},o)):n};function ql(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var zl=function(e){var t=e.as,n=void 0===t?"div":t,r=e.className,o=O(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=O(e,["as"]);return"function"==typeof r.children?r.children(r):(0,s.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ql(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ql(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:A()("components-visually-hidden",r)},o))};function Hl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Ul=["onMouseDown","onClick"],Vl=(0,s.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,a=e.isSmall,i=e.isTertiary,l=e.isPressed,c=e.isBusy,u=e.isDefault,d=e.isSecondary,p=e.isLink,m=e.isDestructive,f=e.className,h=e.disabled,v=e.icon,y=e.iconPosition,b=void 0===y?"left":y,_=e.iconSize,w=e.showTooltip,E=e.tooltipPosition,$=e.shortcut,C=e.label,k=e.children,x=e.text,P=e.__experimentalIsFocusable,N=e.describedBy,R=O(e,["href","target","isPrimary","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconPosition","iconSize","showTooltip","tooltipPosition","shortcut","label","children","text","__experimentalIsFocusable","describedBy"]);u&&Ss()("Button isDefault prop",{alternative:"isSecondary"});var T=A()("components-button",f,{"is-secondary":u||d,"is-primary":o,"is-small":a,"is-tertiary":i,"is-pressed":l,"is-busy":c,"is-link":p,"is-destructive":m,"has-text":!!v&&!!k,"has-icon":!!v}),M=h&&!P,j=void 0===n||M?"button":"a",I="a"===j?{href:n,target:r}:{type:"button",disabled:M,"aria-pressed":l};if(h&&P){I["aria-disabled"]=!0;var D,F=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Hl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hl(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}(Ul);try{for(F.s();!(D=F.n()).done;)R[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}catch(e){F.e(e)}finally{F.f()}}var L=!M&&(w&&C||$||!!C&&(!k||(0,g.isArray)(k)&&!k.length)&&!1!==w),G=N?(0,g.uniqueId)():null,B=R["aria-describedby"]||G,q=(0,s.createElement)(j,S({},I,R,{className:T,"aria-label":R["aria-label"]||C,"aria-describedby":B,ref:t}),v&&"left"===b&&(0,s.createElement)(Bl,{icon:v,size:_}),x&&(0,s.createElement)(s.Fragment,null,x),v&&"right"===b&&(0,s.createElement)(Bl,{icon:v,size:_}),k);return L?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Dl,{text:N||C,shortcut:$,position:E},q),N&&(0,s.createElement)(zl,null,(0,s.createElement)("span",{id:G},N))):(0,s.createElement)(s.Fragment,null,q,N&&(0,s.createElement)(zl,null,(0,s.createElement)("span",{id:G},N)))}));function Wl(e){return null!=e}function Yl(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return null!==(e=t.find(Wl))&&void 0!==e?e:n}function Kl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ql(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kl(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zl={initial:void 0,fallback:""},Xl=function(e,t){var n=(0,s.useRef)(!1);(0,s.useEffect)((function(){if(n.current)return e();n.current=!0}),t)},Jl=(0,s.forwardRef)((function(e,t){var n=e.isOpened,r=e.icon,o=e.title,a=O(e,["isOpened","icon","title"]);return o?(0,s.createElement)("h2",{className:"components-panel__body-title"},(0,s.createElement)(Vl,S({className:"components-panel__body-toggle","aria-expanded":n,ref:t},a),(0,s.createElement)("span",{"aria-hidden":"true"},(0,s.createElement)(Bl,{className:"components-panel__arrow",icon:n?$s:Cs})),o,r&&(0,s.createElement)(Bl,{icon:r,className:"components-panel__icon",size:20}))):null})),ec=(0,s.forwardRef)((function(e,t){var n=e.buttonProps,r=void 0===n?{}:n,o=e.children,a=e.className,i=e.icon,l=e.initialOpen,c=e.onToggle,u=void 0===c?g.noop:c,d=e.opened,p=e.title,m=e.scrollAfterOpen,f=void 0===m||m,h=Bt(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Zl,n=Ql(Ql({},Zl),t),r=n.initial,o=n.fallback,a=Bt((0,s.useState)(e),2),i=a[0],l=a[1],c=Wl(e);return(0,s.useEffect)((function(){c&&i&&l(void 0)}),[c,i]),[Yl([e,i,r],o),function(e){c||l(e)}]}(d,{initial:void 0===l||l}),2),v=h[0],y=h[1],b=(0,s.useRef)(),_=vs()?"auto":"smooth",w=(0,s.useRef)();w.current=f,Xl((function(){var e;v&&w.current&&null!==(e=b.current)&&void 0!==e&&e.scrollIntoView&&b.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:_})}),[v,_]);var E=A()("components-panel__body",a,{"is-opened":v});return(0,s.createElement)("div",{className:E,ref:$n([b,t])},(0,s.createElement)(Jl,S({icon:i,isOpened:v,onClick:function(e){e.preventDefault();var t=!v;y(t),u(t)},title:p},r)),"function"==typeof o?o({opened:v}):v&&o)}));ec.displayName="PanelBody";var tc=ec,nc=function(e){var t=e.className,n=e.children,r=A()("components-panel__row",t);return(0,s.createElement)("div",{className:r},n)},rc=__webpack_require__(4940);const oc=(e,t,n)=>r=>{(0,rc.recordEvent)(e,{id:t,action:r?"expand":"collapse",context:n})};function ac(e){let{trackName:t,faqItems:n,className:r,context:a}=e;return(0,s.createElement)(ps,{className:A()("gla-faqs-panel",r),header:(0,o.__)("Frequently asked questions","google-listings-and-ads")},n.map((e=>{let{trackId:n,question:r,answer:o}=e;return(0,s.createElement)(tc,{key:n,title:r,initialOpen:!1,onToggle:oc(t,n,a)},(0,s.createElement)(nc,null,o))})))}var ic=window.wc.components,sc=e=>{const{eventName:t,eventProps:n,onClick:r=(()=>{}),...o}=e;return(0,s.createElement)(ic.Link,S({},o,{onClick:e=>{t&&(0,rc.recordEvent)(t,n),r(e)}}))},lc=e=>{const{context:t,linkId:n,href:r,...o}=e;return(0,s.createElement)(sc,S({eventProps:{context:t,link_id:n,href:r},type:"external",target:"_blank",href:r},o,{eventName:"gla_documentation_link_click"}))};const cc=[{trackId:"what-do-i-need-to-get-started",question:(0,o.__)("What do I need to get started?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("In order to sync your WooCommerce store with Google and begin showcasing your products online, you will need to provide the following during setup; Google account access, target audience, shipping information, tax rate information (required for US only), and ensure your store is running on a compatible PHP version. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"general-requirements",href:"https://woocommerce.com/document/google-listings-and-ads/#general-requirements"})}))},{trackId:"what-if-i-already-have-free-listings",question:(0,o.__)("What if I already have Google listings or ads set up? Will syncing my store replace my current Google listings?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Once you link an existing account to connect your store, your Shopping ads and free listings will stop running. You’ll need to re-upload your feed and product data in order to run Shopping ads and show free listings.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Learn more about claiming URLs <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"claiming-urls",href:"https://support.google.com/merchants/answer/7527436"})})),(0,s.createElement)("p",null,(0,o.__)("If you have an existing Content API feed, it will not be changed, overwritten or deleted by this WooCommerce integration. Instead, products will be added to your existing Content API feed.","google-listings-and-ads")))},{trackId:"is-my-store-ready-to-sync-with-google",question:(0,o.__)("Is my store ready to sync with Google?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("In order to meet the Google Merchant Center requirements make sure your website has the following; secure checkout process and payment information, refund and return policies, billing terms and conditions, business contact information. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"google-merchant-center-requirements",href:"https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements"})}))},{trackId:"what-is-a-performance-max-campaign",question:(0,o.__)("What is a Performance Max campaign?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Performance Max campaigns make it easy to connect your WooCommerce store to Google Shopping ads so you can showcase your products to shoppers across Google Search, Maps, Shopping, YouTube, Gmail, the Display Network and Discover feed to drive traffic and sales for your store. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"performance-max",href:"https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns"})}))},{trackId:"what-are-free-listings",question:(0,o.__)("What are free listings?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Google Free Listings allows stores to showcase eligible products to shoppers looking for what you offer and drive traffic to your store with Google’s free listings on the Shopping tab. Your products can also appear on Google Search, Google Images, and Gmail if you’re selling in the United States. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"free-listings",href:"https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google"})}))},{trackId:"where-to-track-free-listings-and-performance-max-campaign-performance",question:(0,o.__)("Where can I track my free listings and Performance Max campaign performance?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Once your free listings and Performance Max campaigns are set up, you will be able to track your performance straight from your WooCommerce dashboard. You can view your reports yearly, quarterly, monthly, weekly, or daily. The following metrics will be visible within your report: conversions, clicks, impressions, total sales and total spend. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"campaign-analytics",href:"https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics"})}))},{trackId:"how-to-sync-products-to-google-free-listings",question:(0,o.__)("How do I sync my products to Google free listings?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,o.__)("The Google Listings and Ads plugin allows you to upload your store and product data to Google. Your products will sync automatically to make relevant information available for free listings, Google Ads, and other Google services. You can create a new Merchant Center account or link an existing account to connect your store and list products across Google.","google-listings-and-ads"))},{trackId:"can-i-run-both-shopping-ads-and-free-listings-campaigns",question:(0,o.__)("Can I run both Shopping ads and free listings campaigns at the same time?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,o.__)("Yes, you can run both at the same time, and we recommend it! In the US, advertisers running free listings and ads together have seen an average of over 50% increase in clicks and over 100% increase in impressions on both free listings and ads on the Shopping tab. Your store is automatically opted into free listings automatically and can choose to run a paid Performance Max campaign.","google-listings-and-ads"))},{trackId:"how-can-i-get-the-ad-credit-offer",question:(0,o.__)("How can I get the $500 ad credit offer?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Create a new Google Ads account through Google Listings & Ads and a promotional code will be automatically applied to your account. You’ll have 60 days to spend $500 to qualify for the $500 ads credit.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Ad credit amounts vary by country and region. Full terms and conditions can be found <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"terms-and-conditions-of-google-ads-coupons",href:"https://www.google.com/ads/coupons/terms/"})})))}];var uc=()=>(0,s.createElement)(ac,{className:"gla-get-started-faqs",trackName:"gla_faq",context:"get-started",faqItems:cc}),dc=__webpack_require__(2454),gc=__webpack_require__(9648),pc=__webpack_require__(434);const mc=e=>{let{linkId:t,href:n}=e;return(0,s.createElement)(ts,{className:"gla-get-started-features-card__learn-more",variant:"body"},(0,s.createInterpolateElement)((0,o.__)("<link>Learn More →</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"get-started",linkId:t,href:n})}))};var fc=()=>(0,s.createElement)(rt,{className:"gla-get-started-features-card",isBorderless:!0},(0,s.createElement)(ls,null,(0,s.createElement)(ts,{className:"gla-get-started-features-card__title",variant:"title.medium"},(0,o.__)("49% of shoppers surveyed say they use Google to discover or find a new item or product","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-features-card__description",variant:"body"},(0,o.__)("With Google Listings & Ads, connect with the right shoppers at the right moment when they’re looking to buy products like yours.","google-listings-and-ads"))),(0,s.createElement)(ke,{gap:0},(0,s.createElement)(os,null,(0,s.createElement)("img",{src:dc,alt:(0,o.__)("Drawing of WooCommerce and Google","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(ts,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Show products automatically on Google for free","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("When your products are added and approved, they’ll be eligible for free listings, reaching shoppers across Google’s network.","google-listings-and-ads")),(0,s.createElement)(mc,{linkId:"get-started-features-free-listing-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google"})),(0,s.createElement)(os,null,(0,s.createElement)("img",{src:gc,alt:(0,o.__)("Drawing of a mobile and product ads","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(ts,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Promote products and drive more sales with paid ads","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("Connect your Google Ads account, choose a budget, and Google will optimize your ads so they appear at the right time and place. ","google-listings-and-ads")),(0,s.createElement)(mc,{linkId:"get-started-features-google-ads-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns"})),(0,s.createElement)(os,null,(0,s.createElement)("img",{src:pc,alt:(0,o.__)("Drawing of a bar and line charts heading up","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(ts,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Track performance straight from your store dashboard","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("Real-time reporting all within your WooCommerce dashboard means you know how your campaigns are performing at all times.","google-listings-and-ads")),(0,s.createElement)(mc,{linkId:"get-started-features-dashboard-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics"}))));const hc=window.glaData,vc="report-source",yc="paid",bc="free",_c=yc,wc="programs",Ec="submission-success",$c="campaign-creation-success",Cc="gla-can-onboarding-setup-ces-prompt-open",kc="GOOGLE_DISCONNECTED",Sc="product",xc="account",Oc="request-review",Pc={CONNECTED:"connected",DISCONNECTED:"disconnected",INCOMPLETE:"incomplete"},Ac={UNKNOWN:"unknown",PENDING:"pending",APPROVED:"approved",CANCELLED:"cancelled"};var Nc=__webpack_require__(4682),Rc=e=>{const{className:t,disabled:n,loading:r,eventName:o,eventProps:a,text:i,onClick:l=(()=>{}),...c}=e,u=n||r,d=["app-button",t];let g;return r&&(g=(0,s.createElement)(ic.Spinner,null)),i&&(g=(0,s.createElement)(s.Fragment,null,r&&(0,s.createElement)(ic.Spinner,null),i),c.icon&&d.push("app-button--icon-with-text"),"right"===c.iconPosition&&d.push("app-button--icon-position-right")),(0,s.createElement)(Vl,S({className:A()(...d),disabled:u,"aria-disabled":u,text:g,onClick:function(){o&&(0,rc.recordEvent)(o,a),l(...arguments)}},c))},Tc=window.wc.navigation;const Mc="/google/dashboard",jc="/google/reports",Ic="/google/product-feed",Dc="/google/settings",Fc="/free-listings/edit",Lc="/campaigns/edit",Gc="/campaigns/create",Bc="/edit-phone-number",qc="/edit-store-address",zc="/reconnect-wpcom-account",Hc="/reconnect-google-account",Uc=Mc,Vc=Dc,Wc=()=>(0,Tc.getNewPath)({subpath:Gc},Uc),Yc=()=>(0,Tc.getNewPath)(null,"/google/setup-mc",null),Kc=()=>(0,Tc.getNewPath)(null,Uc,null),Qc=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,Tc.getNewPath)(e,Ic,null)},Zc=()=>(0,Tc.getNewPath)(null,Vc,null),Xc=()=>(0,Tc.getNewPath)(null,"/google/reports",null),Jc=e=>{let t;switch(e){case"JETPACK_DISCONNECTED":t=zc;break;case kc:t=Hc;break;default:return}return(0,Tc.getNewPath)({subpath:t},Vc,null)};var eu=()=>{const e=!hc.mcSupportedLanguage;return(0,s.createElement)(rt,{className:"gla-get-started-card",isBorderless:!0},(0,s.createElement)(lt,{className:"motivation-image"},(0,s.createElement)("img",{src:Nc,alt:(0,o.__)("Google Shopping search results example","google-listings-and-ads"),width:"279",height:"185"})),(0,s.createElement)(st,null,(0,s.createElement)(ts,{variant:"title.medium",className:"gla-get-started-card__title"},(0,o.__)("Get your products in front of more shoppers with Google Listings & Ads","google-listings-and-ads")),(0,s.createElement)(Rc,{isPrimary:!0,disabled:e,href:Yc(),eventName:"gla_setup_mc",eventProps:{target:"set_up_free_listings",trigger:"click",context:"get-started"}},(0,o.__)("Start listing products →","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-card__terms-notice"},(0,s.createInterpolateElement)((0,o.__)("By clicking ‘Start listing products‘, you agree to our <link>Terms of Service.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"get-started",linkId:"wp-terms-of-service",href:"https://wordpress.com/tos/"})}))))},tu=function(e){return(0,s.createElement)("div",{className:"components-tip"},(0,s.createElement)(Es,{width:"24",height:"24",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})),(0,s.createElement)("p",null,e.children))};const nu={allow:"fullscreen",allowtransparency:"true",scrolling:"no",width:"100%",height:"100%",className:"wistia_embed",name:"wistia_embed"};var ru,ou,au=e=>{const{id:t,src:n,title:r,iframeProps:a={}}=e,[i,l]=(0,s.useState)(!1);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g.noop;(0,s.useEffect)((()=>{const n=document.createElement("script");return n.src=e,n.async=!0,document.body.appendChild(n),n.onload=()=>{t()},()=>{document.body.removeChild(n)}}),[e,t])}("https://fast.wistia.com/assets/external/E-v1.js",(0,s.useCallback)((()=>{window._wq&&window._wq.push({id:t,onReady:e=>{e.bind("play",(()=>l(!0)))}})}),[t,l])),(0,s.createElement)("div",{className:A()("gla-wistia-video",i?"is-playing":"")},(0,s.createElement)("div",{className:"gla-wistia-video__container"},(0,s.createElement)("iframe",S({src:n,title:r?(0,o.sprintf)(// translators: %s: The title of the iframe.
|
2 |
-
(0,o.__)("%s Video","google-listings-and-ads"),r):(0,o.__)("Wistia Video","google-listings-and-ads")},nu,a))))},iu=()=>{const e=!hc.mcSupportedLanguage;return(0,s.createElement)(rt,{className:"gla-get-started-with-video-card",isBorderless:!0},(0,s.createElement)(os,{className:"motivation-video"},(0,s.createElement)(au,{id:"lpvgtsjwrg",src:"https://fast.wistia.net/embed/iframe/lpvgtsjwrg?seo=false&videoFoam=true",title:"WooCommerce-Google-Listings-Ads"})),(0,s.createElement)(st,null,(0,s.createElement)(ts,{variant:"caption",className:"gla-get-started-with-video-card__caption"},(0,o.__)("The official extension for WooCommerce, built in collaboration with Google","google-listings-and-ads")),(0,s.createElement)(ts,{variant:"title.medium",className:"gla-get-started-with-video-card__title"},(0,o.__)("Reach millions of shoppers with product listings on Google","google-listings-and-ads")),(0,s.createElement)(ts,{variant:"body",className:"gla-get-started-with-video-card__description"},(0,o.__)("Sync your products directly to Google, manage your product feed, and create Google Ad campaigns — all without leaving your WooCommerce dashboard.","google-listings-and-ads")),(0,s.createElement)(Rc,{className:"gla-get-started-with-video-card__button",isPrimary:!0,disabled:e,href:Yc(),eventName:"gla_setup_mc",eventProps:{target:"set_up_free_listings",trigger:"click",context:"get-started-with-video"}},(0,o.__)("Start listing products →","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-with-video-card__hint"},(0,o.__)("Estimated setup time: 15 min","google-listings-and-ads")),(0,s.createElement)(ts,{className:"gla-get-started-with-video-card__terms-notice",variant:"body"},(0,s.createInterpolateElement)((0,o.__)("By clicking ‘Start listing products’, you agree to our <link>Terms of Service.</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"get-started-with-video",linkId:"wp-terms-of-service",href:"https://wordpress.com/tos/"})}))),(0,s.createElement)(tu,null,(0,o.__)("If you’re already using another extension to manage your product feed with Google, make sure to deactivate or uninstall it first to prevent duplicate product feeds.","google-listings-and-ads")))},su=window.wp.a11y,lu=function(e){var t=e.className,n=e.status,r=void 0===n?"info":n,a=e.children,i=e.spokenMessage,l=void 0===i?a:i,c=e.onRemove,u=void 0===c?g.noop:c,d=e.isDismissible,p=void 0===d||d,m=e.actions,f=void 0===m?[]:m,h=e.politeness,v=void 0===h?function(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}(r):h,y=e.__unstableHTML;!function(e,t){var n="string"==typeof e?e:(0,s.renderToString)(e);(0,s.useEffect)((function(){n&&(0,su.speak)(n,t)}),[n,t])}(l,v);var b=A()(t,"components-notice","is-"+r,{"is-dismissible":p});return y&&(a=(0,s.createElement)(s.RawHTML,null,a)),(0,s.createElement)("div",{className:b},(0,s.createElement)("div",{className:"components-notice__content"},a,f.map((function(e,t){var n=e.className,r=e.label,o=e.isPrimary,a=e.noDefaultClasses,i=void 0!==a&&a,l=e.onClick,c=e.url;return(0,s.createElement)(Vl,{key:t,href:c,isPrimary:o,isSecondary:!i&&!c,isLink:!i&&!!c,onClick:c?void 0:l,className:A()("components-notice__action",n)},r)}))),p&&(0,s.createElement)(Vl,{className:"components-notice__dismiss",icon:qs,label:(0,o.__)("Dismiss this notice"),onClick:u,showTooltip:!1}))},cu=(0,s.createElement)(Es,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),uu=window.wp.dataControls,du="RECEIVE_SHIPPING_RATES",gu="UPSERT_SHIPPING_RATES",pu="DELETE_SHIPPING_RATES",mu="RECEIVE_SHIPPING_TIMES",fu="UPSERT_SHIPPING_TIMES",hu="DELETE_SHIPPING_TIMES",vu="RECEIVE_SETTINGS",yu="SAVE_SETTINGS",bu="RECEIVE_ACCOUNTS_JETPACK",_u="RECEIVE_ACCOUNTS_GOOGLE",wu="RECEIVE_ACCOUNTS_GOOGLE_ACCESS",Eu="RECEIVE_ACCOUNTS_GOOGLE_MC",$u="RECEIVE_ACCOUNTS_GOOGLE_MC_EXISTING",Cu="RECEIVE_ACCOUNTS_GOOGLE_ADS",ku="DISCONNECT_ACCOUNTS_GOOGLE",Su="DISCONNECT_ACCOUNTS_GOOGLE_ADS",xu="DISCONNECT_ACCOUNTS_ALL",Ou="RECEIVE_ACCOUNTS_GOOGLE_ADS_BILLING_STATUS",Pu="RECEIVE_ACCOUNTS_GOOGLE_ADS_EXISTING",Au="RECEIVE_MC_CONTACT_INFORMATION",Nu="VERIFIED_MC_PHONE_NUMBER",Ru="RECEIVE_MC_COUNTRIES_AND_CONTINENTS",Tu="POLICY_CHECK",Mu="RECEIVE_TARGET_AUDIENCE",ju="SAVE_TARGET_AUDIENCE",Iu="RECEIVE_ADS_CAMPAIGNS",Du="CREATE_ADS_CAMPAIGN",Fu="UPDATE_ADS_CAMPAIGN",Lu="DELETE_ADS_CAMPAIGN",Gu="RECEIVE_MC_SETUP",Bu="RECEIVE_REPORT",qu="RECEIVE_MC_PRODUCT_STATISTICS",zu="RECEIVE_MC_REVIEW_REQUEST",Hu="RECEIVE_MC_ISSUES",Uu="RECEIVE_MC_PRODUCT_FEED",Vu="UPDATE_MC_PRODUCTS_VISIBILITY";function Wu(e){const t=e.targeted_locations.length>0,n=t?e.targeted_locations:[e.country];return{...e,allowMultiple:t,displayCountries:n}}function Yu(e,t){const{createNotice:n}=(0,Nn.dispatch)("core/notices");401!==e.statusCode&&n("error",t),console.log(e)}function*Ku(){try{const e=(yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/rates"})).map((e=>({...e,rate:Number(e.rate)})));return{type:du,shippingRates:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading shipping rates.","google-listings-and-ads"))}}function*Qu(e){const t=(yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/rates/batch",method:"POST",data:{rates:e}})).success.map((e=>({...e.rate,rate:Number(e.rate.rate)})));return{type:gu,shippingRates:t}}function*Zu(e){return yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/rates/batch",method:"DELETE",data:{ids:e}}),{type:pu,ids:e}}function*Xu(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/times"}),t=Object.values(e).map((e=>({countryCode:e.country_code,time:Number(e.time)})));return{type:mu,shippingTimes:t}}catch(e){yield Yu(e,(0,o.__)("There was an error loading shipping times.","google-listings-and-ads"))}}function*Ju(e){const{countryCodes:t,time:n}=e;try{return yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/times/batch",method:"POST",data:{country_codes:t,time:n}}),{type:fu,shippingTime:e}}catch(e){yield Yu(e,(0,o.__)("There was an error trying to add / update shipping times. Please try again later.","google-listings-and-ads"))}}function*ed(e){try{return yield(0,uu.apiFetch)({path:"/wc/gla/mc/shipping/times/batch",method:"DELETE",data:{country_codes:e}}),{type:hu,countryCodes:e}}catch(e){yield Yu(e,(0,o.__)("There was an error trying to delete shipping times. Please try again later.","google-listings-and-ads"))}}function*td(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/settings"});return{type:vu,settings:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading merchant center settings.","google-listings-and-ads"))}}function*nd(e){return yield(0,uu.apiFetch)({path:"/wc/gla/mc/settings",method:"POST",data:e}),{type:yu,settings:e}}function*rd(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/jetpack/connected"});return{type:bu,account:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading Jetpack account info.","google-listings-and-ads"))}}function*od(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/google/connected"});return{type:_u,account:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading Google account info.","google-listings-and-ads"))}}function ad(e){return{type:wu,data:e}}function*id(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/connection"});return{type:Eu,account:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading Google Merchant Center account info.","google-listings-and-ads"))}}function*sd(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/accounts"});return{type:$u,accounts:e}}catch(e){yield Yu(e,(0,o.__)("There was an error getting your Google Merchant Center accounts.","google-listings-and-ads"))}}function*ld(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/ads/connection"});return{type:Cu,account:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading Google Ads account info.","google-listings-and-ads"))}}function*cd(){try{return yield(0,uu.apiFetch)({path:"/wc/gla/google/connect",method:"DELETE"}),{type:ku}}catch(e){throw yield Yu(e,(0,o.__)("Unable to disconnect your Google account. Please try again later.","google-listings-and-ads")),e}}function*ud(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return yield(0,uu.apiFetch)({path:"/wc/gla/ads/connection",method:"DELETE"}),{type:Su,invalidateRelatedState:e}}catch(e){throw yield Yu(e,(0,o.__)("Unable to disconnect your Google Ads account. Please try again later.","google-listings-and-ads")),e}}function*dd(){try{return yield(0,uu.apiFetch)({path:"/wc/gla/connections",method:"DELETE"}),{type:xu}}catch(e){throw yield Yu(e,(0,o.__)("Unable to disconnect all your accounts. Please try again later.","google-listings-and-ads")),e}}function*gd(){try{return wd(yield(0,uu.apiFetch)({path:"/wc/gla/ads/billing-status"}))}catch(e){yield Yu(e,(0,o.__)("There was an error getting the billing status of your Google Ads account.","google-listings-and-ads"))}}function*pd(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/ads/accounts"});return{type:Pu,accounts:e}}catch(e){yield Yu(e,(0,o.__)("There was an error getting your Google Ads accounts.","google-listings-and-ads"))}}function md(e){return{type:Au,data:e}}function*fd(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/contact-information",method:"POST"});yield md(e)}catch(e){throw yield Yu(e,(0,o.__)("Unable to update your Google Merchant Center contact information. Please try again later.","google-listings-and-ads")),e}}function*hd(e,t,n){try{return{verificationId:(yield(0,uu.apiFetch)({path:"/wc/gla/mc/phone-verification/request",method:"POST",data:{phone_region_code:e,phone_number:t,verification_method:n}})).verification_id}}catch(e){if("rateLimitExceeded"===e.reason)throw{...e,display:(0,o.__)("Unable to initiate the verification code request. A maximum of five attempts to verify the same phone number every four hours. Please try again later.","google-listings-and-ads")};yield Yu(e,(0,o.__)("Unable to request the phone verification code. Please try again later.","google-listings-and-ads"))}}function*vd(e,t,n){try{return yield(0,uu.apiFetch)({path:"/wc/gla/mc/phone-verification/verify",method:"POST",data:{verification_id:e,verification_code:t,verification_method:n}}),{type:Nu}}catch(e){const{reason:t,message:n=""}=e;if("badRequest"===t){const[,t]=n.match(/^\[(\w+)\]/)||[],r={verificationCode:(0,o.__)("Wrong verification code. Please try again.","google-listings-and-ads"),verificationId:(0,o.__)("The verification code has expired. Please initiate a new verification request by the resend button.","google-listings-and-ads")};if(t in r)throw{...e,display:r[t]}}yield Yu(e,(0,o.__)("Unable to verify your phone number. Please try again later.","google-listings-and-ads"))}}function*yd(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/target_audience"});return{type:Mu,target_audience:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading target audience.","google-listings-and-ads"))}}function bd(e){return{type:Eu,account:e}}function _d(e){return{type:Cu,account:e}}function wd(e){return{type:Ou,billingStatus:e}}function*Ed(e){return yield(0,uu.apiFetch)({path:"/wc/gla/mc/target_audience",method:"POST",data:e}),{type:ju,target_audience:e}}function*$d(e,t){try{const n=yield(0,uu.apiFetch)({path:"/wc/gla/ads/campaigns",method:"POST",data:{amount:e,targeted_locations:t}});return{type:Du,createdCampaign:Wu(n)}}catch(e){throw yield Yu(e,(0,o.__)("Unable to create your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function*Cd(e,t){try{return yield(0,uu.apiFetch)({path:`/wc/gla/ads/campaigns/${e}`,method:"PATCH",data:t}),{type:Fu,id:e,data:t}}catch(e){throw yield Yu(e,(0,o.__)("Unable to update your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function*kd(e){try{return yield(0,uu.apiFetch)({path:`/wc/gla/ads/campaigns/${e}`,method:"DELETE"}),{type:Lu,id:e}}catch(e){throw yield Yu(e,(0,o.__)("Unable to delete your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function Sd(e,t){return{type:Bu,reportKey:e,data:t}}function*xd(){try{return Od(yield(0,uu.apiFetch)({path:"/wc/gla/mc/setup"}))}catch(e){yield Yu(e,(0,o.__)("There was an error loading your merchant center setup status.","google-listings-and-ads"))}}function*Od(e){return{type:Gu,mcSetup:e}}function*Pd(e){return{type:qu,mcProductStatistics:e}}function*Ad(e){return{type:zu,mcReviewRequest:e}}function*Nd(e,t){return{type:Hu,query:e,data:t}}function*Rd(e,t){return{type:Uu,query:e,data:t}}function*Td(e,t){try{return yield(0,uu.apiFetch)({path:"/wc/gla/mc/product-visibility",method:"POST",data:{ids:e,visible:t}}),{type:Vu}}catch(e){throw yield Yu(e,(0,o.__)("Unable to update the channel visibility of products. Please try again later.","google-listings-and-ads")),e}}function*Md(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/review",method:"POST"});return yield Ad(e)}catch(e){throw yield Yu(e,null==e?void 0:e.message),e}}function jd(e){return[e]}function Id(e){return!!e&&"object"==typeof e}function Dd(){var e={clear:function(){e.head=null}};return e}function Fd(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function Ld(e,t){var n,r;function o(){n=ou?new WeakMap:Dd()}function a(){var n,o,a,i,s,l=arguments.length;for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];for(s=t.apply(null,i),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!Fd(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),o=n.head;o;){if(Fd(o.args,i,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,i)},i[0]=null,o.args=i,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=jd),r=ou?function(e){var t,r,o,a,i=n,s=!0;for(t=0;t<e.length;t++){if(!Id(r=e[t])){s=!1;break}i.has(r)?i=i.get(r):(o=new WeakMap,i.set(r,o),i=o)}return i.has(ru)||((a=Dd()).isUniqueByDependants=s,i.set(ru,a)),i.get(ru)}:function(){return n},a.getDependants=t,a.clear=o,o(),a}ru={},ou="undefined"!=typeof WeakMap;var Gd=window.wp.date,Bd=__webpack_require__(9171);const qd=["clicks","impressions"],zd=["sales","conversions","spend",...qd],Hd=Object.freeze({NONE:0,FOR_METRIC:1,FOR_REQUEST:2});function Ud(e,t,n){const r=(0,Bd.getCurrentDates)(t);return{after:(0,Gd.format)("Y-m-d",r[n].after),before:(0,Gd.format)("Y-m-d",r[n].before),fields:"free"===e?qd:zd}}function Vd(e,t,n){return`${e}:${t}:${JSON.stringify(n,Object.keys(n).sort())}`}function Wd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(n||Object.keys(e)).reduce(((n,r)=>({...n,[r]:Yd(e[r],t[r],e[r]&&t[r]?Hd.NONE:Hd.FOR_REQUEST)})),{})}const Yd=(e,t,n)=>({value:e,delta:Kd(e,t),prevValue:t,missingFreeListingsData:n});function Kd(e,t){let n=null;if("number"==typeof e&&"number"==typeof t&&(n=0,e!==t)){const r=(e-t)/t*100;n=Number.isFinite(r)?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const n=Math.pow(10,t);return Math.round(e*n)/n}(r):null}return n}const Qd=e=>e.mc.shipping.rates,Zd=e=>e.mc.shipping.times,Xd=e=>e.mc.settings,Jd=e=>e.mc.accounts.jetpack,eg=e=>e.mc.accounts.google,tg=e=>e.mc.accounts.google_access,ng=e=>e.mc.accounts.mc,rg=e=>e.mc.accounts.existing_mc,og=e=>e.mc.accounts.ads,ag=e=>e.mc.accounts.ads_billing_status,ig=e=>e.mc.accounts.existing_ads,sg=e=>e.mc.contact,lg=(0,Nn.createRegistrySelector)((e=>t=>{const n=e(l);return{loaded:!!sg(t)||n.hasFinishedResolution("getGoogleMCContactInformation"),data:n.getGoogleMCContactInformation()}})),cg=Ld((e=>{const{countries:t,continents:n}=e.mc;return{countries:t,continents:n}}),(e=>[e.mc.countries,e.mc.continents])),ug=e=>e.mc.target_audience,dg=(e,t)=>!1===(null==t?void 0:t.exclude_removed)?e.all_ads_campaigns:e.ads_campaigns,gg=e=>e.mc_setup,pg=e=>e.mc_product_statistics,mg=e=>e.mc_review_request,fg=e=>e.mc.policy_check,hg=Ld(((e,t)=>{const n=e.mc_issues[t.issue_type];if(!n)return n;const r=(t.page-1)*t.per_page,o=r+t.per_page;return{issues:n.issues.slice(r,o),total:n.total}}),(e=>[e.mc_issues])),vg=(e,t)=>e.mc_product_feed?{products:e.mc_product_feed.pages[t.page],total:e.mc_product_feed.total}:e.mc_product_feed,yg=(e,t,n,r)=>{const o=Vd(t,n,r);return e.report[o]||null},bg=(0,Nn.createRegistrySelector)((e=>(t,n,r,o,a)=>{const i=e(l),s=function(e,t,n,r){const o=Ud(t,n,r),{order:a="desc"}=n;let{orderby:i}=n;i&&o.fields.includes(i)||(i=o.fields[0]);const s={...o,interval:"day",orderby:i,order:a};return"programs"===e&&n.programs?s.ids=n.programs:"products"===e&&n.products&&(s.ids=n.products.replace(/\d+/g,"gla_$&")),s}(n,r,o,a),c=[n,r,s];return{reportQuery:s,loaded:i.hasFinishedResolution("getReportByApiQuery",c),data:i.getReportByApiQuery(...c)}})),_g=(0,Nn.createRegistrySelector)((e=>(t,n,r,o)=>{const a=e(l),i=["programs",n,Ud(n,r,o)],s=a.getReportByApiQuery(...i);return{data:s?s.totals:null,loaded:a.hasFinishedResolution("getReportByApiQuery",i)}}));var wg=window.wp.url;function*Eg(){yield Ku()}function*$g(){yield Xu()}function*Cg(){yield td()}function*kg(){yield rd()}function*Sg(){yield od()}function*xg(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/google/reconnected"});yield ad(e)}catch(e){yield Yu(e,(0,o.__)("There was an error loading Google account access info.","google-listings-and-ads"))}}function*Og(){yield id()}function*Pg(){yield sd()}function*Ag(){yield ld()}function*Ng(){yield gd()}function*Rg(){yield pd()}function*Tg(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/contact-information"});yield md(e)}catch(e){yield Yu(e,(0,o.__)("There was an error loading Google Merchant Center contact information.","google-listings-and-ads"))}}function*Mg(){try{const e={continents:!0},t=(0,wg.addQueryArgs)("/wc/gla/mc/countries",e),n=yield(0,uu.apiFetch)({path:t});return{type:Ru,data:n}}catch(e){yield Yu(e,(0,o.__)("There was an error loading supported country details.","google-listings-and-ads"))}}function*jg(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/policy_check"});return{type:Tu,data:e}}catch(e){yield Yu(e,(0,o.__)("There was an error loading policy check details.","google-listings-and-ads"))}}function*Ig(){yield yd()}function*Dg(e){try{const t=yield(0,uu.apiFetch)({path:(0,wg.addQueryArgs)("/wc/gla/ads/campaigns",e)});return{type:Iu,query:e,adsCampaigns:t.map(Wu)}}catch(e){yield Yu(e,(0,o.__)("There was an error loading ads campaigns.","google-listings-and-ads"))}}function*Fg(){yield xd()}function*Lg(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/product-statistics"});yield Pd(e)}catch(e){yield Yu(e,(0,o.__)("There was an error loading your merchant center product statistics.","google-listings-and-ads"))}}function*Gg(){try{const e=yield(0,uu.apiFetch)({path:"/wc/gla/mc/review"});yield Ad(e)}catch(e){yield Yu(e,(0,o.__)("There was an error loading your merchant center product review request status.","google-listings-and-ads"))}}function*Bg(e){try{const{issue_type:t,...n}=e,r=yield(0,uu.apiFetch)({path:(0,wg.addQueryArgs)(`/wc/gla/mc/issues/${t||xc}`,n)});yield Nd(e,r)}catch(e){yield Yu(e,(0,o.__)("There was an error loading issues to resolve.","google-listings-and-ads"))}}function*qg(e){try{const t=yield(0,uu.apiFetch)({path:(0,wg.addQueryArgs)("/wc/gla/mc/product-feed",e)});yield Rd(e,t)}catch(e){yield Yu(e,(0,o.__)("There was an error loading product feed.","google-listings-and-ads"))}}Sg.shouldInvalidate=e=>e.type===ku,xg.shouldInvalidate=e=>e.type===ku,Ag.shouldInvalidate=e=>e.type===Su&&e.invalidateRelatedState,Ng.shouldInvalidate=e=>e.type===Cu,Rg.shouldInvalidate=Ag.shouldInvalidate,Tg.shouldInvalidate=e=>e.type===Nu,Dg.shouldInvalidate=(e,t)=>(e.type===Fu||e.type===Lu||e.type===Du)&&!1===(null==t?void 0:t.exclude_removed),Bg.shouldInvalidate=e=>e.type===Vu,qg.shouldInvalidate=(e,t)=>e.type===Vu||e.type===Uu&&(e.query.per_page!==t.per_page||e.query.orderby!==t.orderby||e.query.order!==t.order);const zg=new Map([[bc,"mc"],[yc,"ads"]]);function*Hg(e,t,n){const r=`/wc/gla/${zg.get(t)}/reports/${e}`,a=(0,wg.addQueryArgs)(r,n);try{const r=yield(0,uu.apiFetch)({path:a}),o=Vd(e,t,n);yield Sd(o,r)}catch(e){yield Yu(e,(0,o.__)("There was an error loading report.","google-listings-and-ads"))}}const Ug={mc:{target_audience:null,countries:null,policy_check:null,continents:null,shipping:{rates:[],times:[]},settings:null,accounts:{jetpack:null,google:null,mc:null,ads:null,existing_mc:null,existing_ads:null,ads_billing_status:null,google_access:null},contact:null},ads_campaigns:null,all_ads_campaigns:null,mc_setup:null,mc_product_statistics:null,mc_issues:{account:null,product:null},mc_review_request:{status:null,cooldown:null,issues:null,reviewEligibleRegions:[]},mc_product_feed:null,report:{}};function Vg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=Object.assign(e.constructor(),e),r=e=>null==e?{}:(0,g.clone)(e),o=e=>t?Array.isArray(t)||Array.isArray(e)?[].concat(t,e):`${t}.${e}`:e;return{setIn(e,t){const a=o(e);return(0,g.setWith)(n,a,t,r),this},end:()=>n}}function Wg(e,t,n){return Vg(e).setIn(t,n).end()}function Yg(e,t){return t?e.json?e.json():Promise.reject(e):e}(0,Nn.registerStore)(l,{actions:t,selectors:n,resolvers:r,controls:uu.controls,reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ug,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case du:return Wg(e,"mc.shipping.rates",t.shippingRates);case gu:{const{shippingRates:n}=t,r=[...e.mc.shipping.rates];return n.forEach((e=>{const t=r.findIndex((t=>t.id===e.id));t>=0?r[t]=e:r.push(e)})),Wg(e,"mc.shipping.rates",r)}case pu:{const{ids:n}=t,r=e.mc.shipping.rates.filter((e=>!n.includes(e.id)));return Wg(e,"mc.shipping.rates",r)}case mu:return Wg(e,"mc.shipping.times",t.shippingTimes);case fu:{const{countryCodes:n,time:r}=t.shippingTime,o=[...e.mc.shipping.times];return n.forEach((e=>{const t={countryCode:e,time:r},n=o.findIndex((t=>t.countryCode===e));n>=0?o[n]=t:o.push(t)})),Wg(e,"mc.shipping.times",o)}case hu:{const n=new Set(t.countryCodes),r=e.mc.shipping.times.filter((e=>!n.has(e.countryCode)));return Wg(e,"mc.shipping.times",r)}case vu:return Wg(e,"mc.settings",t.settings);case yu:return Wg(e,"mc.settings",{...e.mc.settings,...t.settings});case bu:return Wg(e,"mc.accounts.jetpack",t.account);case _u:return Wg(e,"mc.accounts.google",t.account);case wu:return Wg(e,"mc.accounts.google_access",t.data);case Eu:return Wg(e,"mc.accounts.mc",t.account);case $u:return Wg(e,"mc.accounts.existing_mc",t.accounts);case Cu:return Wg(e,"mc.accounts.ads",t.account);case Su:return Wg(e,"mc.accounts.ads",Ug.mc.accounts.ads);case Ou:return Wg(e,"mc.accounts.ads_billing_status",t.billingStatus);case Pu:return Wg(e,"mc.accounts.existing_ads",t.accounts);case Au:return Wg(e,"mc.contact",t.data);case Ru:{const{data:n}=t;return Vg(e,"mc").setIn("countries",n.countries).setIn("continents",n.continents).end()}case Mu:case ju:return Wg(e,"mc.target_audience",t.target_audience);case Iu:var n;return!1===(null===(n=t.query)||void 0===n?void 0:n.exclude_removed)?Wg(e,"all_ads_campaigns",t.adsCampaigns):Wg(e,"ads_campaigns",t.adsCampaigns);case Du:return Wg(e,"ads_campaigns",[...e.ads_campaigns||[],t.createdCampaign]);case Fu:{const{id:n,data:r}=t,o=e.ads_campaigns.findIndex((e=>e.id===n)),a={...e.ads_campaigns[o],...r},i=[...e.ads_campaigns];return i[o]=a,Wg(e,"ads_campaigns",i)}case Lu:{const{id:n}=t,r=e.ads_campaigns.filter((e=>e.id!==n));return Wg(e,"ads_campaigns",r)}case Gu:return Wg(e,"mc_setup",t.mcSetup);case qu:return Wg(e,"mc_product_statistics",t.mcProductStatistics);case zu:return Wg(e,"mc_review_request",t.mcReviewRequest);case Hu:{var r;const{query:n,data:o}=t,a=(null===(r=e.mc_issues[n.issue_type])||void 0===r?void 0:r.issues.slice())||[];return a.splice((n.page-1)*n.per_page,n.per_page,...o.issues),Vg(e,`mc_issues.${n.issue_type}`).setIn("issues",a).setIn("total",o.total).end()}case Uu:{const{query:n,data:r}=t,o=e.mc_product_feed||{},a=Vg(e,"mc_product_feed");return o.per_page===n.per_page&&o.order===n.order&&o.orderby===n.orderby||a.setIn("pages",{}),a.setIn(["pages",n.page],r.products).setIn("per_page",n.per_page).setIn("order",n.order).setIn("orderby",n.orderby).setIn("total",r.total).end()}case Bu:{const{reportKey:n,data:r}=t;return Wg(e,["report",n],r)}case Tu:{const{data:n}=t;return Wg(e,"mc.policy_check",n)}default:return e}}}),d().use(function(e){const t=new RegExp("^/wc/gla/");return function(n,r){if(!t.test(n.path))return r(n);const{parse:o=!0}=n;return r({...n,parse:!1}).catch(e).catch((async e=>Promise.reject(await Yg(e,o)))).then((e=>o&&204===e.status?null:Yg(e,o)))}}((e=>{if(hc.mcSetupComplete&&401===e.status)return(e.json||e.text).call(e).then((e=>"string"==typeof e?{message:e}:e)).then((e=>{const t=Jc(e.code);return t&&(0,Tc.getHistory)().replace(t),e})).then((t=>Promise.reject({...t,statusCode:e.status})));throw e})));const Kg=()=>(0,Nn.useDispatch)(l);var Qg=function(e){const{invalidateResolution:t}=Kg();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];const a=p(r),i=(0,s.useCallback)((()=>{t(e,a)}),[t,e,a]);return(0,Nn.useSelect)((t=>{const{isResolving:n,hasFinishedResolution:r}=t(l),o=t(l)[e](...a);return{isResolving:n(e,a),hasFinishedResolution:r(e,a),data:o,invalidateResolution:i}}),[i,e,a])},Zg=()=>Qg("getTargetAudience"),Xg=window.wc.data;function Jg(){return(0,Nn.useSelect)((e=>{const t=e(Xg.OPTIONS_STORE_NAME),n=["woocommerce_default_country"],r=t.getOption(...n);let o=null,a=null;if(t.hasFinishedResolution("getOption",n)){const e=(0,i.getSetting)("countries");[o]=r.split(":"),a=e[o]}return{code:o,name:a}}),[])}const ep=()=>(0,s.createElement)(Bl,{className:"gla-get-started-notice__icon",icon:cu,size:18}),tp=()=>{const{data:e}=Zg();return e?(0,s.createElement)(lu,{className:"gla-get-started-notice",status:"error",isDismissible:!1},(0,s.createInterpolateElement)((0,o.__)("Your site language is <language />. This language is currently not supported by Google Listings & Ads. <settingsLink>You can change your site language here</settingsLink>. <supportedLanguagesLink>Read more about supported languages</supportedLanguagesLink>","google-listings-and-ads"),{language:(0,s.createElement)("strong",null,e.language),settingsLink:(0,s.createElement)(ic.Link,{className:"gla-get-started-notice__link",type:"wp-admin",href:"/wp-admin/options-general.php"}),supportedLanguagesLink:(0,s.createElement)(lc,{className:"gla-get-started-notice__link",href:"https://support.google.com/merchants/answer/160637",context:"get-started",linkId:"supported-languages"})}),(0,s.createElement)(ep,null)):null},np=()=>{const{name:e}=Jg();return e?(0,s.createElement)(lu,{className:"gla-get-started-notice",status:"warning",isDismissible:!1},(0,s.createInterpolateElement)((0,o.__)("Your store’s country is <country />. This country is currently not supported by Google Listings & Ads. However, you can still choose to list your products in another supported country, if you are able to sell your products to customers there. <settingsLink>Change your store’s country here</settingsLink>. <supportedCountriesLink>Read more about supported countries</supportedCountriesLink>","google-listings-and-ads"),{country:(0,s.createElement)("strong",null,e),settingsLink:(0,s.createElement)(ic.Link,{className:"gla-get-started-notice__link",type:"wp-admin",href:"/wp-admin/admin.php?page=wc-settings"}),supportedCountriesLink:(0,s.createElement)(lc,{className:"gla-get-started-notice__link",href:"https://support.google.com/merchants/answer/160637",context:"get-started",linkId:"supported-countries"})}),(0,s.createElement)(ep,null)):null};function rp(){const{mcSupportedLanguage:e,mcSupportedCountry:t}=hc;return(0,s.createElement)(s.Fragment,null,!e&&(0,s.createElement)(tp,null),!t&&(0,s.createElement)(np,null))}var op=()=>{const{request:e}=k();return(0,s.useEffect)((()=>{e()}),[e]),(0,s.createElement)("div",{className:"woocommerce-marketing-google-get-started-page"},(0,s.createElement)(rp,null),(0,s.createElement)(iu,null),(0,s.createElement)(rs,null),(0,s.createElement)(fc,null),(0,s.createElement)(ds,null),(0,s.createElement)(eu,null),(0,s.createElement)(uc,null))};const ap={"full-page":["woocommerce-admin-full-screen","is-wp-toolbar-disabled","gla-full-page"],"full-content":["gla-full-content"]};function ip(e){(0,s.useEffect)((()=>{if(!ap.hasOwnProperty(e))return;const t=document.body.classList,n=ap[e].filter((e=>!t.contains(e)));return t.add(...n),()=>{t.remove(...n)}}),[e])}var sp=__webpack_require__(8222),lp=e=>{let{title:t,backHref:n,helpButton:r,onBackButtonClick:o}=e;return(0,s.createElement)("div",{className:"gla-stepper-top-bar"},(0,s.createElement)(ic.Link,{className:"back-button",href:n,type:"wc-admin",onClick:o},(0,s.createElement)(sp.Z,null)),(0,s.createElement)("span",{className:"title"},t),(0,s.createElement)("div",{className:"actions"},r))},cp=__webpack_require__(7719),up=e=>{const{icon:t,text:n,className:r="",...o}=e;return(0,s.createElement)(Rc,S({className:`app-icon-button ${r}`},o),(0,s.createElement)("div",null,t),n)},dp=e=>{const{eventContext:t,...n}=e;return(0,s.createElement)(up,S({icon:(0,s.createElement)(cp.Z,null),text:(0,o.__)("Help","google-listings-and-ads"),href:"https://docs.woocommerce.com/document/google-listings-and-ads/",target:"_blank",eventName:"gla_help_click",eventProps:{context:t}},n))},gp=()=>(0,s.createElement)(lp,{title:(0,o.__)("Get started with Google Listings & Ads","google-listings-and-ads"),helpButton:(0,s.createElement)(dp,{eventContext:"setup-mc"}),backHref:(0,Tc.getNewPath)({},"/google/start"),onBackButtonClick:()=>{(0,rc.recordEvent)("gla_setup_mc",{target:"back",trigger:"click"})}}),pp=()=>(0,s.createElement)("div",{className:"app-spinner"},(0,s.createElement)(ic.Spinner,null)),mp=()=>{const e=Qg("getMCCountriesAndContinents");return{...e,data:e.data.countries}},fp=e=>{const t=p(e),[n,r]=w(t,{loading:!0});return(0,s.useEffect)((()=>{t&&n()}),[n,t]),r},hp=()=>{const{data:e,isResolving:t}=mp();return(0,Nn.useSelect)((function(n){const{getTargetAudience:r,isResolving:o}=n(l),a=r(),i=o("getTargetAudience")||t,s=e&&Object.keys(e);function c(e){return"all"===(null==e?void 0:e.location)?s:null==e?void 0:e.countries}return{loading:i,data:c(a),targetAudience:a,getFinalCountries:c}}),[e,t])},vp=()=>(0,Nn.useSelect)((e=>({settings:e(l).getSettings()})),[]),yp=()=>Qg("getShippingRates"),bp=()=>Qg("getShippingTimes");const _p=(e,t)=>{const n=["country","currency","rate","options.free_shipping_threshold"];return(0,g.isEqual)((0,g.at)(e,n),(0,g.at)(t,n))};var wp=(e,t)=>(0,g.differenceWith)(e,t,_p),Ep=(e,t)=>void 0!==e.id&&e.id===t.id||e.country===t.country,$p=()=>{const{data:e}=yp(),{deleteShippingRates:t,upsertShippingRates:n}=Kg();return{saveShippingRates:(0,s.useCallback)((async r=>{const o=((e,t)=>((e,t)=>(0,g.differenceWith)(t,e,Ep))(e,t).map((e=>e.id)))(r,e);o.length&&await t(o);const a=wp(r,e);a.length&&await n(a)}),[t,e,n])}},Cp=()=>{const{data:e}=bp(),{deleteShippingTimes:t,upsertShippingTimes:n}=Kg(),r=(0,s.useCallback)((async r=>{const o=((e,t)=>((e,t)=>(0,g.differenceBy)(t,e,"countryCode"))(e,t).map((e=>e.countryCode)))(r,e);o.length&&await t(o);const a=(i=r,s=e,(0,g.differenceWith)(i,s,g.isEqual));var i,s;if(a.length){const e=(e=>{const t=new Map;return e.forEach((e=>{let{countryCode:n,time:r}=e;const o=t.get(r)||{countryCodes:[],time:r};o.countryCodes.push(n),t.set(r,o)})),Array.from(t.values())})(a).map((e=>n(e)));await Promise.all(e)}}),[t,e,n]);return{saveShippingTimes:r}},kp=()=>(0,Nn.useDispatch)("core/notices"),Sp=()=>(0,Nn.useSelect)((e=>({jetpack:e(l).getJetpackAccount(),isResolving:e(l).isResolving("getJetpackAccount"),hasFinishedResolution:e(l).hasFinishedResolution("getJetpackAccount")})),[]);const xp="https://www.googleapis.com/auth/content",Op="https://www.googleapis.com/auth/siteverification.verify_only",Pp="https://www.googleapis.com/auth/adwords";function Ap(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n={adsRequired:t.includes(Pp)};return n.gmcRequired=t.includes(xp)&&t.includes(Op),n.glaRequired=e?n.gmcRequired&&n.adsRequired:n.gmcRequired,n}var Np=()=>{const{jetpack:e,isResolving:t,hasFinishedResolution:n}=Sp();return(0,Nn.useSelect)((r=>{if(!e||"no"===e.active)return{google:void 0,scope:Ap(hc.adsSetupComplete),isResolving:t,hasFinishedResolution:n};const{getGoogleAccount:o,isResolving:a,hasFinishedResolution:i}=r(l),s=o();return{google:s,scope:Ap(hc.adsSetupComplete,null==s?void 0:s.scope),isResolving:a("getGoogleAccount"),hasFinishedResolution:i("getGoogleAccount")}}),[e,t,n])},Rp=()=>{const{google:e,scope:t,isResolving:n,hasFinishedResolution:r}=Np();return(0,Nn.useSelect)((o=>{if(!e||"no"===e.active||!t.gmcRequired)return{googleMCAccount:void 0,isResolving:n,hasFinishedResolution:r,isPreconditionReady:!1};const{getGoogleMCAccount:a,isResolving:i,hasFinishedResolution:s}=o(l);return{googleMCAccount:a(),isResolving:i("getGoogleMCAccount"),hasFinishedResolution:s("getGoogleMCAccount"),isPreconditionReady:!0}}),[e,t.gmcRequired,n,r])},Tp=e=>{const{className:t="",children:n,...r}=e;return(0,s.createElement)("div",S({className:`gla-step-content ${t}`},r),(0,s.createElement)("div",{className:"gla-step-content__container"},n))},Mp=e=>{const{className:t="",title:n,description:r}=e;return(0,s.createElement)("header",{className:`gla-step-content-header ${t}`},(0,s.createElement)("h1",null,n),(0,s.createElement)("div",{className:"gla-step-content-header__description"},r))},jp=e=>{const{className:t="",...n}=e;return(0,s.createElement)("div",S({className:`gla-step-content-footer ${t}`},n))};function Ip(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Dp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ip(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ip(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Fp={isBorderless:!1,isShady:!1,size:"medium"},Lp=function(e){var t=e.className,n=e.isShady,r=O(e,["className","isShady"]),o=Dp(Dp(Dp({},Fp),R()),e),a=o.isBorderless,i=o.size,l=A()("components-card__footer",a&&"is-borderless",n&&"is-shady",i&&"is-size-".concat(i),t);return(0,s.createElement)(Ze,S({},r,{className:l}))};const Gp=e=>{const{className:t="",...n}=e;return(0,s.createElement)("div",S({className:`wcdl-subsection ${t}`},n))};Gp.Title=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",S({className:A()("wcdl-subsection-title",t)},n))},Gp.Body=e=>{const{children:t}=e;return(0,s.createElement)("div",{className:"wcdl-subsection-body"},t)},Gp.HelperText=e=>{const{className:t,children:n}=e;return(0,s.createElement)("div",{className:A()("wcdl-subsection-helper-text",t)},n)};var Bp=Gp;const qp=e=>{let{size:t="",...n}=e;return(0,s.createElement)(rt,S({},n,{size:t}))};qp.Body=e=>{const{className:t,...n}=e;return(0,s.createElement)(st,S({className:A()("wcdl-section-card-body",t)},n))},qp.Footer=e=>{const{children:t,...n}=e;return(0,s.createElement)(Lp,S({className:"wcdl-section-card-footer"},n),t)},qp.Title=e=>{const{className:t,...n}=e;return(0,s.createElement)(Bp.Title,S({className:A()("wcdl-section-card-title",t)},n))};const zp=e=>{let{className:t,title:n,description:r,topContent:o,children:a,disabled:i,disabledLeft:l}=e;const c=A()("wcdl-section",!!i&&"wcdl-section--is-disabled",!!l&&"wcdl-section--is-disabled-left",t);return(0,s.createElement)("section",{className:c},(0,s.createElement)("header",null,o&&(0,s.createElement)("p",null,o),n&&(0,s.createElement)("h1",null,n),r),(0,s.createElement)("div",{className:"wcdl-section__body"},a))};zp.Card=qp;var Hp=zp;const Up={normal:!1,medium:"gla-vertical-gap-layout__medium",large:"gla-vertical-gap-layout__large",overlap:"gla-vertical-gap-layout__overlap"};var Vp=e=>{const{className:t,size:n="normal",...r}=e;return(0,s.createElement)("div",S({className:A()("gla-vertical-gap-layout",Up[n],t)},r))};function Wp(e){return"yes"!==e.active?"":"yes"===e.owner?e.email:(0,o.__)("Successfully connected through Jetpack","google-listings-and-ads")}var Yp=__webpack_require__(4886);function Kp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Qp=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,o=O(e,["icon","size"]);return(0,s.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kp(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},o))},Zp=(0,s.createElement)(Es,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})),Xp=__webpack_require__(8026),Jp=__webpack_require__(1724),em=__webpack_require__(1611),tm=__webpack_require__(4515);const nm={EMPTY:"empty",WPCOM:"wpcom",GOOGLE:"google",GOOGLE_MERCHANT_CENTER:"google_merchant_center",GOOGLE_ADS:"google_ads",PHONE:"phone",ADDRESS:"address"},rm=(0,s.createElement)("img",{src:Xp,alt:(0,o.__)("Google Logo","google-listings-and-ads"),width:"40",height:"40"}),om=(0,s.createElement)("img",{src:Jp,alt:(0,o.__)("Google Merchant Center Logo","google-listings-and-ads"),width:"40",height:"40"}),am=(0,s.createElement)("img",{src:em,alt:(0,o.__)("Google Ads Logo","google-listings-and-ads"),width:"40",height:"40"}),im=(0,s.createElement)("img",{src:tm,alt:(0,o.__)("WordPress.com Logo","google-listings-and-ads"),width:"40",height:"40"}),sm={[nm.EMPTY]:{},[nm.WPCOM]:{icon:im,title:"WordPress.com"},[nm.GOOGLE]:{icon:rm,title:(0,o.__)("Google","google-listings-and-ads")},[nm.GOOGLE_MERCHANT_CENTER]:{icon:om,title:(0,o.__)("Google Merchant Center","google-listings-and-ads"),description:(0,o.__)("Required to sync products and list on Google","google-listings-and-ads")},[nm.GOOGLE_ADS]:{icon:am,title:(0,o.__)("Google Ads","google-listings-and-ads"),description:(0,o.__)("Connect with millions of shoppers who are searching for products like yours and drive sales with Google.","google-listings-and-ads")},[nm.PHONE]:{icon:(0,s.createElement)(Yp.Z,{size:32}),title:(0,o.__)("Phone number","google-listings-and-ads")},[nm.ADDRESS]:{icon:(0,s.createElement)(Qp,{icon:Zp,size:32}),title:(0,o.__)("Store address","google-listings-and-ads")}},lm={center:!1,top:"gla-account-card__styled--align-top"};function cm(e){let{className:t,disabled:n=!1,appearance:r=nm.EMPTY,icon:o=sm[r].icon,title:a=sm[r].title,description:i=sm[r].description,helper:l,alignIcon:c="center",indicator:u,alignIndicator:d="center",children:g,...p}=e;const m=A()("gla-account-card",!!n&&"gla-account-card--is-disabled",t),f=A()("gla-account-card__icon",lm[c]),h=A()("gla-account-card__indicator",lm[d]);return(0,s.createElement)(Hp.Card,S({className:m},p),(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(ke,{gap:4},o&&(0,s.createElement)(lt,{className:f},o),(0,s.createElement)(os,null,a&&(0,s.createElement)(Bp.Title,{className:"gla-account-card__title"},a),i&&(0,s.createElement)("div",{className:"gla-account-card__description"},i),l&&(0,s.createElement)("div",{className:"gla-account-card__helper"},l)),u&&(0,s.createElement)(lt,{className:h},u))),g)}var um=__webpack_require__(3836),dm=e=>{const{className:t}=e;return(0,s.createElement)(ke,{className:A()("gla-connected-icon-label",t),align:"center",gap:1},(0,s.createElement)(lt,null,(0,s.createElement)(um.Z,null)),(0,s.createElement)(lt,null,(0,o.__)("Connected","google-listings-and-ads")))},gm=e=>{let{jetpack:t}=e;return(0,s.createElement)(cm,{appearance:nm.WPCOM,description:Wp(t),indicator:(0,s.createElement)(dm,null)})},pm=()=>{const{createNotice:e}=kp(),t=hc.mcSetupComplete?"reconnect":"setup-mc",n={next_page_name:t},r=(0,wg.addQueryArgs)("/wc/gla/jetpack/connect",n),[a,{loading:i,data:l}]=w({path:r});return(0,s.createElement)(cm,{appearance:nm.WPCOM,description:(0,o.__)("Required to connect with Google","google-listings-and-ads"),indicator:(0,s.createElement)(Rc,{isSecondary:!0,loading:i||l,eventName:"gla_wordpress_account_connect_button_click",eventProps:{context:t},onClick:async()=>{try{const e=await a();window.location.href=e.url}catch(t){e("error",(0,o.__)("Unable to connect your WordPress.com account. Please try again later.","google-listings-and-ads"))}}},(0,o.__)("Connect","google-listings-and-ads"))})},mm=e=>{let{jetpack:t}=e;return"yes"===t.active?(0,s.createElement)(gm,{jetpack:t}):(0,s.createElement)(pm,null)},fm=(0,s.createElement)(lc,{context:"setup-mc-accounts",linkId:"required-google-permissions",href:"https://docs.woocommerce.com/document/google-listings-and-ads/#required-google-permissions"});function hm(e,t){const n=(0,s.useMemo)((()=>{const n={next_page_name:e,login_hint:t};return{path:(0,wg.addQueryArgs)("/wc/gla/google/connect",n)}}),[e,t]);return w(n)}var vm=(e,t)=>{const{createNotice:n}=kp(),[r,a]=hm(e,t);return[async()=>{try{const{url:e}=await r();window.location.href=e}catch(e){n("error",(0,o.__)("Unable to connect your Google account. Please try again later.","google-listings-and-ads"))}},a]},ym=e=>{let{additionalScopeEmail:t}=e;const n=hc.mcSetupComplete?"reconnect":"setup-mc",[r,{loading:a,data:i}]=vm(n,t);return(0,s.createElement)(cm,{appearance:nm.GOOGLE,alignIcon:"top",description:(0,s.createElement)(s.Fragment,null,t,(0,s.createElement)("p",null,(0,s.createElement)("em",null,(0,s.createInterpolateElement)((0,o.__)("<alert>Uh-oh!</alert> You did not allow WooCommerce sufficient access to your Google account. You must allow all required permissions in the Google authorization page to proceed. <link>Read more</link>","google-listings-and-ads"),{alert:(0,s.createElement)("span",{className:"gla-authorize-google-account-card__error-text"}),link:fm})))),alignIndicator:"top",indicator:(0,s.createElement)(Rc,{isSecondary:!0,isDestructive:!0,loading:a||i,eventName:"gla_google_account_connect_button_click",eventProps:{context:n,action:"scope"},text:(0,o.__)("Allow full access","google-listings-and-ads"),onClick:r})})},bm=e=>{let{googleAccount:t,helper:n,hideAccountSwitch:r=!1}=e;const[a,{loading:i}]=(()=>{const{createNotice:e,removeNotice:t}=kp(),[n,{loading:r}]=w({path:"/wc/gla/mc/connection",method:"DELETE"}),[a,{loading:i}]=w({path:"/wc/gla/google/connect",method:"DELETE"}),[s,{loading:l,data:c}]=hm("setup-mc");return[async()=>{const{notice:r}=await e("info",(0,o.__)("Connecting to a different Google account, please wait…","google-listings-and-ads"));try{await n(),await a();const{url:e}=await s();window.location.href=e}catch(n){t(r.id),e("error",(0,o.__)("Unable to connect to a different Google account. Please try again later.","google-listings-and-ads"))}},{loading:r||i||l||c}]})();return(0,s.createElement)(cm,{appearance:nm.GOOGLE,description:t.email,helper:n,indicator:(0,s.createElement)(dm,null)},!r&&(0,s.createElement)(Hp.Card.Footer,null,(0,s.createElement)(Rc,{isLink:!0,disabled:i,text:(0,o.__)("Or, connect to a different Google account","google-listings-and-ads"),eventName:"gla_google_account_connect_different_account_button_click",onClick:a})))},_m=e=>{let{disabled:t}=e;const n=hc.mcSetupComplete?"reconnect":"setup-mc",[r,{loading:a,data:i}]=vm(n);return(0,s.createElement)(cm,{appearance:nm.GOOGLE,disabled:t,alignIcon:"top",description:(0,s.createElement)(s.Fragment,null,(0,o.__)("Required to sync with Google Merchant Center and Google Ads.","google-listings-and-ads"),(0,s.createElement)("p",null,(0,s.createElement)("em",null,(0,s.createInterpolateElement)((0,o.__)("You will be prompted to give WooCommerce access to your Google account. Please check all the checkboxes to give WooCommerce all required permissions. <link>Read more</link>","google-listings-and-ads"),{link:fm})))),alignIndicator:"top",indicator:(0,s.createElement)(Rc,{isSecondary:!0,disabled:t,loading:a||i,eventName:"gla_google_account_connect_button_click",eventProps:{context:n,action:"authorization"},text:(0,o.__)("Connect","google-listings-and-ads"),onClick:r})})};function wm(e){let{disabled:t=!1}=e;const{google:n,scope:r,hasFinishedResolution:o}=Np();if(!o)return(0,s.createElement)(cm,{description:(0,s.createElement)(pp,null)});const a="yes"===(null==n?void 0:n.active);return a&&r.glaRequired?(0,s.createElement)(bm,{googleAccount:n}):a&&!r.glaRequired?(0,s.createElement)(ym,{additionalScopeEmail:n.email}):(0,s.createElement)(_m,{disabled:t})}var Em=()=>(0,s.createElement)(Hp.Card,null,(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(pp,null))),$m=e=>{let{googleMCAccount:t,hideAccountSwitch:n=!1}=e;const{createNotice:r,removeNotice:a}=kp(),{invalidateResolution:l}=Kg(),[c,{loading:u}]=w({path:"/wc/gla/mc/connection",method:"DELETE"}),d=new URL((0,i.getSetting)("homeUrl")).host;return(0,s.createElement)(cm,{appearance:nm.GOOGLE_MERCHANT_CENTER,description:(0,o.sprintf)(// translators: 1: account domain, 2: account ID.
|
3 |
-
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),d,t.id),indicator:(0,s.createElement)(dm,null)},!n&&(0,s.createElement)(Hp.Card.Footer,null,(0,s.createElement)(Rc,{isLink:!0,disabled:u,text:(0,o.__)("Or, connect to a different Google Merchant Center account","google-listings-and-ads"),eventName:"gla_mc_account_connect_different_account_button_click",onClick:async()=>{const{notice:e}=await r("info",(0,o.__)("Disconnecting your Google Merchant Center account, please wait…","google-listings-and-ads"));try{await c(),l("getExistingGoogleMCAccounts",[]),l("getGoogleMCAccount",[])}catch(e){r("error",(0,o.__)("Unable to disconnect your Google Merchant Center account. Please try again later.","google-listings-and-ads"))}a(e.id)}})))},Cm=()=>(0,s.createElement)(cm,{disabled:!0,appearance:nm.GOOGLE_MERCHANT_CENTER,indicator:(0,s.createElement)(Vl,{isSecondary:!0,disabled:!0},(0,o.__)("Create account","google-listings-and-ads"))}),km=()=>Qg("getExistingGoogleMCAccounts"),Sm=function(e){var t=e.className,n=O(e,["className"]),r=A()("components-card__divider",t);return(0,s.createElement)(Xe,S({},n,{children:null,className:r,role:"separator"}))},xm=new WeakMap;function Om(e){var t=xm.get(e)||0;return xm.set(e,t+1),t}function Pm(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,s.useMemo)((function(){if(n)return n;var r=Om(e);return t?"".concat(t,"-").concat(r):r}),[e])}var Am={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Nm(e){return(0,g.get)(Am,e,"")}var Rm=be("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",Nm("default.fontFamily"),";font-size:",Nm("default.fontSize"),";"),Tm=be("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",ze(1),";.components-panel__row &{margin-bottom:inherit;}"),Mm=be("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",ze(1),";"),jm=be("p",{target:"e1puf3u3",label:"StyledHelp"})("margin-top:-",ze(1),";font-size:",Nm("helpText.fontSize"),";font-style:normal;color:",qe("mediumGray.text"),";");function Im(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,o=e.help,a=e.className,i=e.children;return(0,s.createElement)(Rm,{className:A()("components-base-control",a)},(0,s.createElement)(Tm,{className:"components-base-control__field"},n&&t&&(r?(0,s.createElement)(zl,{as:"label",htmlFor:t},n):(0,s.createElement)(Mm,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?(0,s.createElement)(zl,{as:"label"},n):(0,s.createElement)(Im.VisualLabel,null,n)),i),!!o&&(0,s.createElement)(jm,{id:t+"__help",className:"components-base-control__help"},o))}Im.VisualLabel=function(e){var t=e.className,n=e.children;return t=A()("components-base-control__label",t),(0,s.createElement)("span",{className:t},n)};var Dm=Im,Fm=new RegExp(/-left/g),Lm=new RegExp(/-right/g),Gm=new RegExp(/Left/g),Bm=new RegExp(/Right/g);function qm(e){return"left"===e?"right":"right"===e?"left":Fm.test(e)?e.replace(Fm,"-right"):Lm.test(e)?e.replace(Lm,"-left"):Gm.test(e)?e.replace(Gm,"Right"):Bm.test(e)?e.replace(Bm,"Left"):e}var zm=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,g.mapKeys)(e,(function(e,t){return qm(t)}))};function Hm(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return function(){return t?(0,o.isRTL)()?de(t,""):de(e,""):(0,o.isRTL)()?de(zm(e),""):de(e,"")}}var Um={name:"1dacand",styles:"padding-top:0;"},Vm=function(){return Um},Wm={name:"r6z5ec",styles:"z-index:1;"},Ym=function(e){return e.isFocused?Wm:""},Km={name:"uz6002",styles:"align-items:flex-start;flex-direction:column;"},Qm={name:"53hdd7",styles:"align-items:flex-start;flex-direction:column-reverse;"},Zm={name:"x4dmss",styles:"justify-content:space-between;"},Xm=function(e){switch(e.labelPosition){case"top":return Km;case"bottom":return Qm;case"edge":return Zm;default:return""}},Jm=be(ke,{target:"e1cr7zh10",label:"Root"})("position:relative;border-radius:2px;",Vm," ",Ym," ",Xm,""),ef={name:"8atqhb",styles:"width:100%;"},tf=be("div",{target:"e1cr7zh11",label:"Container"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(function(e){var t=qe(e.disabled?"ui.backgroundDisabled":"ui.background");return de({backgroundColor:t},"")})," ",(function(e){var t=e.__unstableInputWidth,n=e.labelPosition;return t?"side"===n?"":de("edge"===n?{flex:"0 0 ".concat(t)}:{width:t},""):ef}),""),nf={name:"103r1kr",styles:"&::-webkit-input-placeholder{line-height:normal;}"},rf=be("input",{target:"e1cr7zh12",label:"Input"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",qe("black"),";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",(function(e){var t=e.isDragging,n=e.dragCursor,r="",o="";return t&&(r=de("cursor:",n,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}")),t&&n&&(o=de("&:active{cursor:",n,";}")),de(r," ",o,"")})," ",(function(e){return e.disabled?de({color:qe("ui.textDisabled")},""):""})," ",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?de("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""})," ",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return de(n[t]||n.default,"")})," ",(function(){return nf}),"}"),of={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},af=function(){return of},sf=function(e){var t=e.labelPosition,n=4;return"edge"!==t&&"side"!==t||(n=0),de({paddingTop:0,paddingBottom:n},"")},lf=be(ts,{target:"e1cr7zh13",label:"BaseLabel"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",sf," ",af,"}"),cf=function(e){return(0,s.createElement)(lf,S({},e,{as:"label"}))},uf=be(lt,{target:"e1cr7zh14",label:"LabelWrapper"})({name:"120o8im",styles:"max-width:calc( 100% - 10px );"}),df=be("div",{target:"e1cr7zh15",label:"BackdropUI"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(function(e){var t=e.disabled,n=e.isFocused,r=qe(n?"ui.borderFocus":"ui.border"),o=null;return n&&(o="0 0 0 1px ".concat(qe("ui.borderFocus")," inset")),t&&(r=qe("ui.borderDisabled")),de({boxShadow:o,borderColor:r,borderStyle:"solid",borderWidth:1},"")})," ",Hm({paddingLeft:2}),"}"),gf=be("span",{target:"e1cr7zh16",label:"Prefix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),pf=be("span",{target:"e1cr7zh17",label:"Suffix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),mf=(0,s.memo)((function(e){var t=e.disabled,n=void 0!==t&&t,r=e.isFocused,o=void 0!==r&&r;return(0,s.createElement)(df,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:n,isFocused:o})})),ff=mf;function hf(e){var t=e.children,n=e.hideLabelFromVision,r=e.htmlFor,o=O(e,["children","hideLabelFromVision","htmlFor"]);return t?n?(0,s.createElement)(zl,{as:"label",htmlFor:r},t):(0,s.createElement)(cf,S({htmlFor:r},o),t):null}var vf=(0,s.forwardRef)((function e(t,n){var r=t.__unstableInputWidth,o=t.children,a=t.className,i=t.disabled,l=void 0!==i&&i,c=t.hideLabelFromVision,u=void 0!==c&&c,d=t.labelPosition,g=t.id,p=t.isFocused,m=void 0!==p&&p,f=t.label,h=t.prefix,v=t.size,y=void 0===v?"default":v,b=t.suffix,_=O(t,["__unstableInputWidth","children","className","disabled","hideLabelFromVision","labelPosition","id","isFocused","label","prefix","size","suffix"]),w=function(t){var n=Pm(e),r="input-base-control-".concat(n);return t||r}(g);return(0,s.createElement)(Jm,S({},_,{className:a,isFocused:m,labelPosition:d,ref:n}),(0,s.createElement)(uf,null,(0,s.createElement)(hf,{className:"components-input-control__label",hideLabelFromVision:u,labelPosition:d,htmlFor:w,size:y},f)),(0,s.createElement)(tf,{__unstableInputWidth:r,className:"components-input-control__container",disabled:l,isFocused:m,labelPosition:d},h&&(0,s.createElement)(gf,{className:"components-input-control__prefix"},h),o,b&&(0,s.createElement)(pf,{className:"components-input-control__suffix"},b),(0,s.createElement)(ff,{"aria-hidden":"true",disabled:l,isFocused:m,label:f,size:y})))})),yf=be("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",qe("black"),";display:block;margin:0;width:100%;",(function(e){return e.disabled?de({color:qe("ui.textDisabled")},""):""}),";",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?de("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}),";",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return de(n[t]||n.default,"")}),";",Hm({paddingLeft:8,paddingRight:24})(),"}"),bf=be("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Hm({right:0})()," svg{display:block;}");var _f=(0,s.forwardRef)((function e(t,n){var r=t.className,o=t.disabled,a=void 0!==o&&o,i=t.help,l=t.hideLabelFromVision,c=t.id,u=t.label,d=t.multiple,p=void 0!==d&&d,m=t.onBlur,f=void 0===m?g.noop:m,h=t.onChange,v=void 0===h?g.noop:h,y=t.onFocus,b=void 0===y?g.noop:y,_=t.options,w=void 0===_?[]:_,E=t.size,$=void 0===E?"default":E,C=t.value,k=t.labelPosition,x=void 0===k?"top":k,P=O(t,["className","disabled","help","hideLabelFromVision","id","label","multiple","onBlur","onChange","onFocus","options","size","value","labelPosition"]),N=Bt((0,s.useState)(!1),2),R=N[0],T=N[1],M=function(t){var n=Pm(e),r="inspector-select-control-".concat(n);return t||r}(c),j=i?"".concat(M,"__help"):void 0;if((0,g.isEmpty)(w))return null;var I=A()("components-select-control",r);return(0,s.createElement)(Dm,{help:i},(0,s.createElement)(vf,{className:I,disabled:a,hideLabelFromVision:l,id:M,isFocused:R,label:u,size:$,suffix:(0,s.createElement)(bf,null,(0,s.createElement)(Qp,{icon:Cs,size:18})),labelPosition:x},(0,s.createElement)(yf,S({},P,{"aria-describedby":j,className:"components-select-control__input",disabled:a,id:M,multiple:p,onBlur:function(e){f(e),T(!1)},onChange:function(e){if(p){var t=ol(e.target.options).filter((function(e){return e.selected})),n=t.map((function(e){return e.value}));v(n)}else v(e.target.value,{event:e})},onFocus:function(e){b(e),T(!0)},ref:n,size:$,value:C}),w.map((function(e,t){var n=e.id||"".concat(e.label,"-").concat(e.value,"-").concat(t);return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),wf=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",{className:A()("app-select-control",t)},(0,s.createElement)(_f,n))},Ef=e=>{const{data:t=[]}=km(),n=t.map((e=>({value:e.id,label:(0,o.sprintf)(// translators: 1: account name, 2: account domain, 3: account ID.
|
4 |
-
(0,o.__)("%1$s ・ %2$s (%3$s)","google-listings-and-ads"),e.name,e.domain,e.id)})));return n.sort(((e,t)=>e.label.localeCompare(t.label))),n.unshift({value:"",label:(0,o.__)("Select one","google-listings-and-ads")}),(0,s.createElement)(wf,S({options:n},e))},$f=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",S({className:A()("gla-content-button-layout",t)},n))},Cf=(0,s.createElement)(Es,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));function kf(e,t){return e.map((function(e,n){return e+t[n]}))}function Sf(e,t){return e.map((function(e,n){return e-t[n]}))}function xf(e){return Math.hypot.apply(Math,e)}function Of(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function Pf(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function Af(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-Pf(t-e,n-t,r)+t:e>n?+Pf(e-n,n-t,r)+n:e}function Nf(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Rf(){return Rf=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Rf.apply(this,arguments)}function Tf(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Mf(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function jf(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function If(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return jf(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jf(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}function Df(){}function Ff(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?Df:1===t.length?t[0]:function(){for(var e,n,r=If(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function Lf(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function Gf(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function Bf(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var a=o[r],i=a[0],s=a[1];switch(typeof s){case"function":n[i]=s.call(n,e[i],i,e);break;case"object":n[i]=Bf(e[i],s);break;case"boolean":s&&(n[i]=e[i])}}return n}function qf(){return"undefined"!=typeof window&&"ontouchstart"in window}function zf(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function Hf(e){return Array.from(zf(e)).map((function(e){return e.identifier}))}function Uf(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var Vf=function(e){return e};function Wf(e,t){void 0===t&&(t=Vf);var n=zf(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var Yf={threshold:function(e){return void 0===e&&(e=0),Lf(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return Lf(.15);case!1:return Lf(0);default:return Lf(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:Lf(e)},transform:!0},Kf=Rf({},Yf,{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return Kf.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,a=void 0===o?1/0:o,i=t.top,s=void 0===i?-1/0:i,l=t.bottom;return[[r,a],[s,void 0===l?1/0:l]]}}),Qf="undefined"!=typeof window&&window.document&&window.document.createElement,Zf={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(_x){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=Qf?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}},transform:!0},Xf=Rf({},Kf,{useTouch:function(e){void 0===e&&(e=!1);var t=qf(),n="undefined"!=typeof window&&"onpointerdown"in window;return!(!e||!t)||!(!t||n)},experimental_preventWindowScrollY:function(e){return void 0===e&&(e=!1),e},threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,a=n.lockDirection,i=void 0!==a&&a,s=n.axis,l=Lf(e,o?3:i||(void 0===s?void 0:s)?1:0);return this.filterTaps=o,l},swipeVelocity:function(e){return void 0===e&&(e=.5),Lf(e)},swipeDistance:function(e){return void 0===e&&(e=50),Lf(e)},swipeDuration:function(e){return void 0===e&&(e=250),e},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function Jf(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["domTarget","eventOptions","window","enabled"]),i=function(e){return void 0===e&&(e={}),Bf(e,Zf)}({domTarget:t,eventOptions:n,window:r,enabled:o});return i.drag=function(e){return void 0===e&&(e={}),Bf(e,Xf)}(a),i}function eh(e){return Rf({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_threshold:[0,0],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:Df,canceled:!1,memo:void 0,args:void 0},e)}function th(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},drag:eh({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:eh({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:eh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:eh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:eh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var nh=new Map,rh=function(e){return e},oh=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(a))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=n.controller.pointerIds.size||n.controller.touchIds.size,a=n.controller.state.shared.buttons>0||o>0,i=Rf({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:a}),s=n.handler(i);return n.state.memo=void 0!==s?s:n.state.memo,i},this.controller=e,this.args=t}var t,n,r=e.prototype;return r.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},r.updateGestureState=function(e){Object.assign(this.state,e)},r.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},r.getMovement=function(e){var t=this.config.rubberband,n=this.state,r=n._bounds,o=n._initial,a=n._active,i=n._intentional,s=n.lastOffset,l=n.movement,c=n._threshold,u=this.getInternalMovement(e,this.state),d=!1===i[0]?ah(u[0],c[0]):i[0],g=!1===i[1]?ah(u[1],c[1]):i[1],p=this.checkIntentionality([d,g],u);if(p._blocked)return Rf({},p,{_movement:u,delta:[0,0]});var m=p._intentional,f=u,h=[!1!==m[0]?u[0]-m[0]:0,!1!==m[1]?u[1]-m[1]:0],v=kf(h,s),y=a?t:[0,0];return h=ih(r,kf(h,o),y),Rf({},p,{intentional:!1!==m[0]||!1!==m[1],_initial:o,_movement:f,movement:h,values:e,offset:ih(r,v,y),delta:Sf(h,l)})},r.clean=function(){this.clearTimeout()},t=e,(n=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}},{key:"transform",get:function(){return this.config.transform||this.controller.config.transform||rh}}])&&Nf(t.prototype,n),e}();function ah(e,t){return Math.abs(e)>=t&&Of(e)*t}function ih(e,t,n){var r=t[0],o=t[1],a=n[0],i=n[1],s=e[0],l=s[0],c=s[1],u=e[1],d=u[0],g=u[1];return[Af(r,l,c,a),Af(o,d,g,i)]}function sh(e,t,n){var r=e.state,o=t.timeStamp,a=t.type,i=r.values;return{_lastEventType:a,event:t,timeStamp:o,elapsedTime:n?0:o-r.startTime,previous:i}}function lh(e,t,n,r){var o=e.state,a=e.config,i=e.stateKey,s=e.args,l=e.transform,c=o.offset,u=n.timeStamp,d=a.initial,g=a.bounds,p=Sf(l(a.threshold),l([0,0])).map(Math.abs),m=Rf({},th()[i],{_active:!0,args:s,values:t,initial:null!=r?r:t,_threshold:p,offset:c,lastOffset:c,startTime:u});return Rf({},m,{_initial:Gf(d,m),_bounds:Gf(g,m)})}var ch=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=qf(),this.supportsGestureEvents=function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),this.bind=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var o,a={},i=If(t.classes);!(o=i()).done;){var s=o.value;new s(t,n).addBindings(a)}var l=function(e){yh(a,e,(function(r){return t.nativeRefs[e](Rf({},t.state.shared,{event:r,args:n}))}))};for(var c in t.nativeRefs)l(c);return t.config.domTarget?mh(t,a):fh(t,a)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=vh(t.config),n=t.config.eventOptions;e&&_h(e,hh(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(n){for(var a in o)_h(n,o[a],r);e.windowListeners={}}}(t)},this.classes=e,this.state=th(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function uh(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(Hf(t))}function dh(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):Hf(t).forEach((function(t){return e.touchIds.delete(t)}))}function gh(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&(_h(r.window,o[t],n),delete o[t])}function ph(e,t,n,r){var o=e.config,a=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&(_h(o.window,a[t],r),bh(o.window,a[t]=n,r))}function mh(e,t){var n=e.config,r=e.domListeners,o=vh(n);if(!o)throw new Error("domTarget must be defined");var a=n.eventOptions;_h(o,hh(r),a);for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],c=l[0],u=l[1],d=c.slice(2).toLowerCase();r.push([d,Ff.apply(void 0,u)])}bh(o,r,a)}function fh(e,t){for(var n={},r=e.config.eventOptions.capture?"Capture":"",o=0,a=Object.entries(t);o<a.length;o++){var i=a[o],s=i[0],l=i[1],c=Array.isArray(l)?l:[l];n[s+r]=Ff.apply(void 0,c)}return n}function hh(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function vh(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function yh(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function bh(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=If(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.addEventListener(i,s,n)}}function _h(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=If(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.removeEventListener(i,s,n)}}function wh(){}var Eh=function(e){function t(){return e.apply(this,arguments)||this}Tf(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return Sf(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],a=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?a?this.config.axis&&a!==this.config.axis?{_intentional:e,_blocked:!0,axis:a}:(e["x"===a?1:0]=!1,{_intentional:e,_blocked:!1,axis:a}):{_intentional:[!1,!1],_blocked:!1,axis:a}:{_intentional:e,_blocked:!1,axis:a}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,function(e,t,n){var r=xf(t),o=0===r?0:1/r,a=0===n?0:1/n,i=a*r,s=t.map((function(e){return a*e})),l=t.map((function(e){return o*e}));return{velocities:s,velocity:i,distance:xf(e),direction:l}}(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(oh);function $h(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var Ch=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.setPointerCapture=function(e){if(!t.config.useTouch&&!document.pointerLockElement){var n=e.target,r=e.pointerId;n&&"setPointerCapture"in n&&n.setPointerCapture(r),t.updateGestureState({_dragTarget:n,_dragPointerId:r})}},t.releasePointerCapture=function(){if(!t.config.useTouch&&!document.pointerLockElement){var e=t.state,n=e._dragTarget,r=e._dragPointerId;if(r&&n&&"releasePointerCapture"in n&&(!("hasPointerCapture"in n)||n.hasPointerCapture(r)))try{n.releasePointerCapture(r)}catch(e){}}},t.preventScroll=function(e){t.state._dragPreventScroll&&e.cancelable&&e.preventDefault()},t.getEventId=function(e){return t.config.useTouch?e.changedTouches[0].identifier:e.pointerId},t.isValidEvent=function(e){return t.state._pointerId===t.getEventId(e)},t.shouldPreventWindowScrollY=t.config.experimental_preventWindowScrollY&&t.controller.supportsTouchEvents,t.setUpWindowScrollDetection=function(e){$h(e),ph(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(Mf(t))],["touchcancel",t.clean.bind(Mf(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(Mf(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,$h(e),t.setTimeout(t.startDrag.bind(Mf(t)),t.config.delay,e)},t.setStartState=function(e){var n=Wf(e,t.transform);t.updateSharedState(Uf(e)),t.updateGestureState(Rf({},lh(Mf(t),n,e),sh(Mf(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){uh(t.controller,e),t.enabled&&!t.state._active&&(t.setStartState(e),t.setPointerCapture(e),t.shouldPreventWindowScrollY?t.setUpWindowScrollDetection(e):t.config.delay>0?t.setUpDelayedDragTrigger(e):t.startDrag(e,!0))},t.onDragChange=function(e){if(!t.state.canceled&&t.state._active&&t.isValidEvent(e)&&(t.state._lastEventType!==e.type||e.timeStamp!==t.state.timeStamp)){var n;if(document.pointerLockElement){var r=e.movementX,o=e.movementY;n=kf(t.transform([r,o]),t.state.values)}else n=Wf(e,t.transform);var a=t.getKinematics(n,e);if(!t.state._dragStarted){if(t.state._dragDelayed)return void t.startDrag(e);if(!t.shouldPreventWindowScrollY)return;if(t.state._dragPreventScroll||!a.axis)return;if("x"!==a.axis)return void(t.state._active=!1);t.startDrag(e)}var i=Uf(e);t.updateSharedState(i);var s=sh(Mf(t),e),l=xf(a._movement),c=t.state._dragIsTap;c&&l>=3&&(c=!1),t.updateGestureState(Rf({},s,a,{_dragIsTap:c})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(dh(t.controller,e),t.isValidEvent(e)&&(t.clean(),t.state._active)){t.state._active=!1;var n=t.state._dragIsTap,r=t.state.velocities,o=r[0],a=r[1],i=t.state.movement,s=i[0],l=i[1],c=t.state._intentional,u=c[0],d=c[1],g=t.config.swipeVelocity,p=g[0],m=g[1],f=t.config.swipeDistance,h=f[0],v=f[1],y=t.config.swipeDuration,b=Rf({},sh(Mf(t),e),t.getMovement(t.state.values)),_=[0,0];b.elapsedTime<y&&(!1!==u&&Math.abs(o)>p&&Math.abs(s)>h&&(_[0]=Of(o)),!1!==d&&Math.abs(a)>m&&Math.abs(l)>v&&(_[1]=Of(a))),t.updateSharedState({buttons:0}),t.updateGestureState(Rf({},b,{tap:n,swipe:_})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(Mf(t)),t.state._dragStarted=!1,t.releasePointerCapture(),gh(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0,_active:!1}),t.updateSharedState({buttons:0}),setTimeout((function(){return t.fireGestureHandler()}),0))},t.onClick=function(e){t.state._dragIsTap||e.stopPropagation()},t}Tf(t,e);var n=t.prototype;return n.startDrag=function(e,t){void 0===t&&(t=!1),this.state._active&&!this.state._dragStarted&&(t||this.setStartState(e),this.updateGestureState({_dragStarted:!0,_dragPreventScroll:!0,cancel:this.onCancel}),this.clearTimeout(),this.fireGestureHandler())},n.addBindings=function(e){this.config.useTouch?(yh(e,"onTouchStart",this.onDragStart),yh(e,"onTouchMove",this.onDragChange),yh(e,"onTouchEnd",this.onDragEnd),yh(e,"onTouchCancel",this.onDragEnd)):(yh(e,"onPointerDown",this.onDragStart),yh(e,"onPointerMove",this.onDragChange),yh(e,"onPointerUp",this.onDragEnd),yh(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps&&yh(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(Eh);function kh(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,a;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!kh(e[r],t[r]))return!1;return!0}if("function"==typeof Map&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!kh(r.value[1],t.get(r.value[0])))return!1;return!0}if("function"==typeof Set&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(r=n;0!=r--;)if(!("_owner"===o[r]&&e.$$typeof||kh(e[o[r]],t[o[r]])))return!1;return!0}return e!=e&&t!=t}function Sh(e,t){try{return kh(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Oh(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xh(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xh(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ph=function(e){return e},Ah={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},Nh="CHANGE",Rh="COMMIT",Th="DRAG_END",Mh="DRAG_START",jh="DRAG",Ih="INVALIDATE",Dh="PRESS_DOWN",Fh="PRESS_ENTER",Lh="PRESS_UP",Gh="RESET",Bh="UPDATE";function qh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ah,t=e.value;return Oh(Oh(Oh({},Ah),e),{},{initialValue:t})}function zh(e){return function(t,n){var r=Oh({},t),o=n.type,a=n.payload;switch(o){case Lh:case Dh:r.isDirty=!1;break;case Mh:r.isDragging=!0;break;case Th:r.isDragging=!1;break;case Nh:r.error=null,r.value=a.value,t.isPressEnterToChange&&(r.isDirty=!0);break;case Rh:r.value=a.value,r.isDirty=!1;break;case Gh:r.error=null,r.isDirty=!1,r.value=a.value||t.initialValue;break;case Bh:r.value=a.value,r.isDirty=!1;break;case Ih:r.error=a.error}return a.event&&(r._event=a.event),e(r,n)}}var Hh=(0,s.forwardRef)((function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.dragDirection,a=void 0===o?"n":o,i=e.dragThreshold,l=void 0===i?10:i,c=e.id,u=e.isDragEnabled,d=void 0!==u&&u,p=e.isFocused,m=e.isPressEnterToChange,f=void 0!==m&&m,h=e.onBlur,v=void 0===h?g.noop:h,y=e.onChange,b=void 0===y?g.noop:y,_=e.onDrag,w=void 0===_?g.noop:_,E=e.onDragEnd,$=void 0===E?g.noop:E,C=e.onDragStart,k=void 0===C?g.noop:C,x=e.onFocus,P=void 0===x?g.noop:x,A=e.onKeyDown,N=void 0===A?g.noop:A,R=e.onValidate,T=void 0===R?g.noop:R,I=e.size,D=void 0===I?"default":I,F=e.setIsFocused,L=e.stateReducer,G=void 0===L?function(e){return e}:L,B=e.value,q=e.type,z=O(e,["disabled","dragDirection","dragThreshold","id","isDragEnabled","isFocused","isPressEnterToChange","onBlur","onChange","onDrag","onDragEnd","onDragStart","onFocus","onKeyDown","onValidate","size","setIsFocused","stateReducer","value","type"]),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Ph,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ah,n=Bt((0,s.useReducer)(zh(e),qh(t)),2),r=n[0],o=n[1],a=function(e){return function(t,n){n&&n.persist&&n.persist(),o({type:e,payload:{value:t,event:n}})}},i=function(e){return function(t){t&&t.persist&&t.persist(),o({type:e,payload:{event:t}})}},l=function(e){return function(t){o({type:e,payload:t})}},c=a(Nh),u=a(Ih),d=a(Gh),g=a(Rh),p=a(Bh),m=l(Mh),f=l(jh),h=l(Th),v=i(Lh),y=i(Dh),b=i(Fh);return{change:c,commit:g,dispatch:o,drag:f,dragEnd:h,dragStart:m,invalidate:u,pressDown:y,pressEnter:b,pressUp:v,reset:d,state:r,update:p}}(G,{isDragEnabled:d,value:B,isPressEnterToChange:f}),U=H.state,V=H.change,W=H.commit,Y=H.drag,K=H.dragEnd,Q=H.dragStart,Z=H.invalidate,X=H.pressDown,J=H.pressEnter,ee=H.pressUp,te=H.reset,ne=H.update,re=U._event,oe=U.value,ae=U.isDragging,ie=U.isDirty,se=(0,s.useRef)(!1),le=function(e,t){var n=function(e){var t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,s.useEffect)((function(){document.documentElement.style.cursor=e?n:null}),[e]),n}(ae,a);Xl((function(){B!==oe&&(p||se.current?ie||(b(oe,{event:re}),se.current=!1):ne(B))}),[oe,ie,p,B]);var ce=function(e){var t=e.target.value;try{T(t,e),W(t,e)}catch(t){Z(t,e)}},ue=function(e,t){void 0===t&&(t={}),nh.set("drag",Ch);var n=(0,M.useRef)();return n.current||(n.current=function(e,t){var n,r,o=[],a=!1;return function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return a&&n===this&&t(s,o)||(r=e.apply(this,s),a=!0,n=this,o=s),r}}(Jf,Sh)),function(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;return e.drag&&t.add(nh.get("drag")),e.wheel&&t.add(nh.get("wheel")),e.scroll&&t.add(nh.get("scroll")),e.move&&t.add(nh.get("move")),e.pinch&&t.add(nh.get("pinch")),e.hover&&t.add(nh.get("hover")),t}(e),o=j().useMemo((function(){return new ch(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,j().useEffect(o.effect,[]),o.config.domTarget?wh:o.bind}({drag:function(e){var t=e.distance,n=e.dragging,r=e.event;if(t){if(r.stopPropagation(),!n)return $(e),void K(e);w(e),Y(e),ae||(k(e),Q(e))}}},n.current(t))}(0,{threshold:l,enabled:d}),de=d?ue():{};return(0,s.createElement)(rf,S({},z,de,{className:"components-input-control__input",disabled:r,dragCursor:le,isDragging:ae,id:c,onBlur:function(e){v(e),F(!1),f&&ie&&(se.current=!0,function(e){var t=""===e;return!Wl(e)||t}(oe)?te(B):ce(e))},onChange:function(e){var t=e.target.value;V(t,e)},onFocus:function(e){P(e),F(!0)},onKeyDown:function(e){var t=e.keyCode;switch(N(e),t){case Os.UP:ee(e);break;case Os.DOWN:X(e);break;case Os.ENTER:J(e),f&&(e.preventDefault(),ce(e))}},ref:t,size:D,value:oe,type:q}))})),Uh=Hh;var Vh=(0,s.forwardRef)((function e(t,n){var r=t.__unstableStateReducer,o=void 0===r?function(e){return e}:r,a=t.__unstableInputWidth,i=t.className,l=t.disabled,c=void 0!==l&&l,u=t.hideLabelFromVision,d=void 0!==u&&u,p=t.id,m=t.isPressEnterToChange,f=void 0!==m&&m,h=t.label,v=t.labelPosition,y=void 0===v?"top":v,b=t.onChange,_=void 0===b?g.noop:b,w=t.onValidate,E=void 0===w?g.noop:w,$=t.onKeyDown,C=void 0===$?g.noop:$,k=t.prefix,x=t.size,P=void 0===x?"default":x,N=t.suffix,R=t.value,T=O(t,["__unstableStateReducer","__unstableInputWidth","className","disabled","hideLabelFromVision","id","isPressEnterToChange","label","labelPosition","onChange","onValidate","onKeyDown","prefix","size","suffix","value"]),M=Bt((0,s.useState)(!1),2),j=M[0],I=M[1],D=function(t){var n=Pm(e),r="inspector-input-control-".concat(n);return t||r}(p),F=A()("components-input-control",i);return(0,s.createElement)(vf,{__unstableInputWidth:a,className:F,disabled:c,gap:3,hideLabelFromVision:d,id:D,isFocused:j,justify:"left",label:h,labelPosition:y,prefix:k,size:P,suffix:N},(0,s.createElement)(Uh,S({},T,{className:"components-input-control__input",disabled:c,id:D,isFocused:j,isPressEnterToChange:f,onChange:_,onKeyDown:C,onValidate:E,ref:n,setIsFocused:I,size:P,stateReducer:o,value:R})))}));const Wh="app-input-control";var Yh=(0,s.forwardRef)(((e,t)=>{const{className:n,noPointerEvents:r,...o}=e,a=A()(Wh,r&&`${Wh}--no-pointer-events`,n);return(0,s.createElement)("div",{className:a},(0,s.createElement)(Vh,S({ref:t},o)))})),Kh=e=>{const{className:t,...n}=e;return(0,s.createElement)(Yh,S({className:A()("app-input-link-control",t),prefix:(0,s.createElement)(Qp,{icon:Cf,size:24})},n))},Qh=e=>{let{id:t,websiteUrl:n,onSwitchAccount:r=g.noop}=e;const{invalidateResolution:a}=Kg(),[l,{loading:c,error:u,reset:d}]=w({path:"/wc/gla/mc/accounts/claim-overwrite",method:"POST",data:{id:t}}),p=(0,i.getSetting)("homeUrl");return(0,s.createElement)(cm,{className:"gla-reclaim-url-card",appearance:nm.GOOGLE_MERCHANT_CENTER,description:(0,o.sprintf)(// translators: 1: website URL, 2: account ID.
|
5 |
-
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),n,t),indicator:(0,s.createElement)(
|
6 |
-
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),r,t),indicator:(0,s.createElement)(
|
7 |
-
(0,o.__)("This Merchant Center account already has a verified and claimed URL, %s.","google-listings-and-ads"),n)),(0,s.createElement)(
|
8 |
/* translators: 1: new URL. 2: claimed URL. */
|
9 |
-
(0,o.__)("If you switch your claimed URL to %1$s, you will lose your claim to %2$s. This will cause any existing product listings tied to %2$s to stop running.","google-listings-and-ads"),r,n))))},Xh=function(e,t){return function(n){var r=e(n),o=n.displayName,a=void 0===o?n.name||"Component":o;return r.displayName="".concat((0,g.upperFirst)((0,g.camelCase)(t)),"(").concat(a,")"),r}},Jh=Xh((function(e){return function(t){var n=Pm(e);return(0,s.createElement)(e,S({},t,{instanceId:n}))}}),"withInstanceId"),ev=Xh((function(e){return function(t){var n=Bt((0,s.useState)(),2),r=n[0],o=n[1],a=(0,s.useCallback)((function(e){return o((function(){return null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0}))}),[]);return(0,s.createElement)("div",Bs(r),(0,s.createElement)(e,S({ref:a},t)))}}),"withFocusOutside");function tv(e){var t=e.overlayClassName,n=e.contentLabel,r=e.aria,o=r.describedby,a=r.labelledby,i=e.children,l=e.className,c=e.role,u=e.style,d=e.focusOnMount,g=e.shouldCloseOnEsc,p=e.onRequestClose,m=Ls(d),f=Ds(),h=Fs();return(0,s.createElement)("div",{className:A()("components-modal__screen-overlay",t),onKeyDown:function(e){g&&e.keyCode===Os.ESCAPE&&(e.stopPropagation(),p&&p(e))}},(0,s.createElement)("div",{className:A()("components-modal__frame",l),style:u,ref:$n([f,h,m]),role:c,"aria-label":n,"aria-labelledby":n?null:a,"aria-describedby":o,tabIndex:"-1"},i))}var nv=function(e){Qs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Js(t);if(n){var o=Js(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Xs(this,e)});function o(){var e;return Ws(this,o),(e=r.apply(this,arguments)).handleFocusOutside=e.handleFocusOutside.bind(Zs(e)),e}return Ks(o,[{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.props.onRequestClose&&this.props.onRequestClose(e)}},{key:"render",value:function(){return(0,s.createElement)(tv,this.props)}}]),o}(s.Component),rv=ev(nv),ov=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,i=e.headingId,l=e.isDismissible,c=a||(0,o.__)("Close dialog");return(0,s.createElement)("div",{className:"components-modal__header"},(0,s.createElement)("div",{className:"components-modal__header-heading-container"},t&&(0,s.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&(0,s.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),l&&(0,s.createElement)(Vl,{onClick:r,icon:qs,label:c}))},av=new Set(["alert","status","log","marquee","timer"]),iv=[],sv=!1;var lv,cv=0,uv=function(e){Qs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=Js(t);if(n){var o=Js(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return Xs(this,e)});function o(e){var t;return Ws(this,o),(t=r.call(this,e)).prepareDOM(),t}return Ks(o,[{key:"componentDidMount",value:function(){1==++cv&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0==--cv&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){lv||(lv=document.createElement("div"),document.body.appendChild(lv)),this.node=document.createElement("div"),lv.appendChild(this.node)}},{key:"cleanDOM",value:function(){lv.removeChild(this.node)}},{key:"openFirstModal",value:function(){(function(e){if(!sv){var t=document.body.children;(0,g.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||av.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),iv.push(t))})),sv=!0}})(lv),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),sv&&((0,g.forEach)(iv,(function(e){e.removeAttribute("aria-hidden")})),iv=[],sv=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,r=e.icon,o=e.closeButtonLabel,a=e.children,i=e.aria,l=e.instanceId,c=e.isDismissible,u=e.isDismissable,d=O(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),g=i.labelledby||"components-modal-header-".concat(l);return u&&Ss()("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),(0,s.createPortal)((0,s.createElement)(rv,S({onRequestClose:t,aria:{labelledby:n?g:null,describedby:i.describedby}},d),(0,s.createElement)("div",{className:"components-modal__content",role:"document"},(0,s.createElement)(ov,{closeLabel:o,headingId:g,icon:r,isDismissible:c||u,onClose:t,title:n}),a)),this.node)}}]),o}(s.Component);uv.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var dv=Jh(uv);const gv={auto:!1,visible:"app-modal__styled--overflow-visible"};var pv=e=>{let{className:t,overflow:n="auto",buttons:r=[],children:o,...a}=e;const i=A()("app-modal",gv[n],t);return(0,s.createElement)(dv,S({className:i},a),o,r.length>=1&&(0,s.createElement)("div",{className:"app-modal__footer"},r))},mv=__webpack_require__(5683),fv=e=>{let{size:t=18}=e;return(0,s.createElement)(mv.Z,{className:"gla-warning-icon",size:t})},hv=e=>{let{existingAccount:t,onContinue:n=(()=>{}),onRequestClose:r=(()=>{})}=e;return(0,s.createElement)(pv,{className:"gla-mc-warning-modal",title:(0,o.__)("Create Google Merchant Center Account","google-listings-and-ads"),buttons:[(0,s.createElement)(Rc,{key:"confirm",isSecondary:!0,eventName:"gla_mc_account_warning_modal_confirm_button_click",onClick:()=>{n()}},(0,o.__)("Yes, I want a new account","google-listings-and-ads")),(0,s.createElement)(Rc,{key:"cancel",isPrimary:!0,onClick:r},(0,o.__)("Cancel","google-listings-and-ads"))],onRequestClose:r},(0,s.createElement)("p",{className:"gla-mc-warning-modal__warning-text"},(0,s.createElement)(fv,null),(0,s.createElement)("span",null,(0,o.__)("Are you sure you want to create a new Google Merchant Center account?","google-listings-and-ads"))),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("You already have another verified account, <storename />, which is connected to this store’s URL, <storeurl />.","google-listings-and-ads"),{storename:(0,s.createElement)("strong",null,t.name),storeurl:(0,s.createElement)("strong",null,t.domain)})),(0,s.createElement)("p",null,(0,o.__)("If you create a new Google Merchant Center account, you will have to reclaim this store’s URL with the new account. This will cause any existing product listings or ads to stop running, and the other verified account will lose its claim.","google-listings-and-ads")))},vv=(0,s.createElement)(Es,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)(ws,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));function yv(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,a=e.help,i=e.onChange,l=O(e,["label","className","heading","checked","help","onChange"]),c=Pm(yv),u="inspector-checkbox-control-".concat(c);return(0,s.createElement)(Dm,{label:r,id:u,help:a,className:n},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",S({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return i(e.target.checked)},checked:o,"aria-describedby":a?u+"__help":void 0},l)),o?(0,s.createElement)(Qp,{icon:vv,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}var bv=e=>{let{onCreateAccount:t=(()=>{}),onRequestClose:n=(()=>{})}=e;const[r,a]=(0,s.useState)(!1);return(0,s.createElement)(pv,{className:"gla-mc-terms-modal",title:(0,o.__)("Create Google Merchant Center Account","google-listings-and-ads"),buttons:[(0,s.createElement)(Rc,{key:"1",isPrimary:!0,disabled:!r,eventName:"gla_mc_account_create_button_click",onClick:()=>{t(),n()}},(0,o.__)("Create account","google-listings-and-ads"))],onRequestClose:n},(0,s.createElement)("p",{className:"main"},(0,o.__)("By creating a Google Merchant Center account, you agree to the following terms and conditions:","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("You agree to comply with Google’s terms and policies, including <link>Google Merchant Center Terms of Service</link>.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"setup-mc",linkId:"google-mc-terms-of-service",href:"https://support.google.com/merchants/answer/160173"})})),(0,s.createElement)(yv,{label:(0,o.__)("I have read and accept these terms","google-listings-and-ads"),checked:r,onChange:a}))};const _v=Object.freeze({NONE:"NONE",WARNING:"WARNING",TERMS:"TERMS"});var wv=e=>{const{onCreateAccount:t=g.noop,onClick:n=g.noop,...r}=e,[o,a]=(0,s.useState)(_v.NONE),{data:l}=km(),c=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=new URL((0,i.getSetting)("homeUrl")).toString();return e.find((e=>{try{return new URL(e.domain).toString()===t}catch(e){return!1}}))}(l),u=()=>{a(_v.NONE)};return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Vl,S({onClick:()=>{a(c?_v.WARNING:_v.TERMS),n()}},r)),o===_v.WARNING&&(0,s.createElement)(hv,{existingAccount:c,onContinue:()=>{a(_v.TERMS)},onRequestClose:u}),o===_v.TERMS&&(0,s.createElement)(bv,{onCreateAccount:t,onRequestClose:u}))},Ev=()=>{const{createNotice:e}=kp(),{invalidateResolution:t}=Kg(),[n,r]=w({path:"/wc/gla/mc/accounts",method:"POST"});return[async()=>{try{var a;await n({data:(null===(a=r.error)||void 0===a?void 0:a.id)&&{id:r.error.id},parse:!1}),t("getGoogleMCAccount",[])}catch(t){if(![403,503].includes(t.status)){const n=(await t.json()).message||(0,o.__)("Unable to create Merchant Center account. Please try again later.","google-listings-and-ads");e("error",n)}}},r]},$v=e=>{const{retryAfter:t,onRetry:n=(()=>{})}=e;return(0,s.useEffect)((()=>{if(!t)return;const e=setInterval((()=>{n()}),1e3*t);return()=>clearInterval(e)}),[t,n]),(0,s.createElement)(cm,{appearance:nm.GOOGLE_MERCHANT_CENTER,description:(0,o.__)("This may take a few minutes, please wait a moment…","google-listings-and-ads"),indicator:(0,s.createElement)(Rc,{loading:!0},(0,o.__)("Creating…","google-listings-and-ads"))})},Cv=()=>{var e,t,n,r;const[a,i]=(0,s.useState)(),[l,c]=(e=>{const{createNotice:t}=kp(),[n,r]=w({path:"/wc/gla/mc/accounts",method:"POST",data:{id:e}}),{invalidateResolution:a}=Kg();return[async()=>{if(e)try{await n({parse:!1}),a("getGoogleMCAccount",[])}catch(e){if(![409,403].includes(e.status)){const n=(await e.json()).message||(0,o.__)("Unable to connect Merchant Center account. Please try again later.","google-listings-and-ads");t("error",n)}}},r]})(a),[u,d]=Ev();return 409===(null===(e=c.response)||void 0===e?void 0:e.status)?(0,s.createElement)(Zh,{id:c.error.id,message:c.error.message,claimedUrl:c.error.claimed_url,newUrl:c.error.new_url,onSelectAnotherAccount:c.reset}):403===(null===(t=c.response)||void 0===t?void 0:t.status)||403===(null===(n=d.response)||void 0===n?void 0:n.status)?(0,s.createElement)(Qh,{id:(null===(g=c.error)||void 0===g?void 0:g.id)||(null===(p=d.error)||void 0===p?void 0:p.id),websiteUrl:(null===(m=c.error)||void 0===m?void 0:m.website_url)||(null===(f=d.error)||void 0===f?void 0:f.website_url),onSwitchAccount:()=>{c.reset(),d.reset()}}):d.loading||503===(null===(r=d.response)||void 0===r?void 0:r.status)?(0,s.createElement)($v,{retryAfter:null===(h=d.error)||void 0===h?void 0:h.retry_after,onRetry:u}):(0,s.createElement)(cm,{className:"gla-connect-mc-card",appearance:nm.GOOGLE_MERCHANT_CENTER},(0,s.createElement)(Sm,null),(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(Bp.Title,null,(0,o.__)("Select an existing account","google-listings-and-ads")),(0,s.createElement)($f,null,(0,s.createElement)(Ef,{value:a,onChange:i}),(0,s.createElement)(Rc,{isSecondary:!0,loading:c.loading,disabled:!a,eventName:"gla_mc_account_connect_button_click",onClick:l},(0,o.__)("Connect","google-listings-and-ads")))),(0,s.createElement)(Hp.Card.Footer,null,(0,s.createElement)(wv,{isLink:!0,disabled:c.loading,onCreateAccount:u},(0,o.__)("Or, create a new Merchant Center account","google-listings-and-ads"))));var g,p,m,f,h},kv=e=>{const{onCreateAccount:t}=e;return(0,s.createElement)(cm,{appearance:nm.GOOGLE_MERCHANT_CENTER,indicator:(0,s.createElement)(wv,{isSecondary:!0,onCreateAccount:t},(0,o.__)("Create account","google-listings-and-ads"))})},Sv=e=>{const{onSwitchAccount:t}=e,[n,{loading:r,error:o,response:a}]=Ev();return r||a&&503===a.status?(0,s.createElement)($v,{retryAfter:o&&o.retry_after,onRetry:n}):a&&403===a.status?(0,s.createElement)(Qh,{id:o.id,websiteUrl:o.website_url,onSwitchAccount:t}):(0,s.createElement)(kv,{onCreateAccount:n})},xv=()=>{const{data:e,hasFinishedResolution:t,invalidateResolution:n}=km();return t?e.length>0?(0,s.createElement)(Cv,null):(0,s.createElement)(Sv,{onSwitchAccount:n}):(0,s.createElement)(Em,null)},Ov=()=>{const{hasFinishedResolution:e,isPreconditionReady:t,googleMCAccount:n}=Rp();return e?t?0===n.id||"connected"!==n.status?(0,s.createElement)(xv,null):(0,s.createElement)($m,{googleMCAccount:n}):(0,s.createElement)(Cm,null):(0,s.createElement)(Em,null)};const Pv=[{trackId:"why-do-i-need-a-wp-account",question:(0,o.__)("Why do I need a WordPress.com account?","google-listings-and-ads"),answer:(0,o.__)("We use a WordPress.com account to connect your site to the WooCommerce and Google servers. It ensures that requests (e.g. product feed, clicks, sales, etc) from your site are securely and correctly attributed to your store. It enables a connection to your self-hosted site, and provides a common authentication interface across disparate server configurations and architectures.","google-listings-and-ads")},{trackId:"why-do-i-need-a-google-mc-account",question:(0,o.__)("Why do I need a Google Merchant Center account?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Google Merchant Center helps you sync your store and product data with Google and makes the information available for both free listings on the Shopping tab and Google Shopping Ads. That means everything about your stores and products is available to shoppers when they search on a Google property.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you create a new Merchant Center account through this application, it will be associated with Google’s Comparison Shopping Service (Google Shopping) by default. You can change the CSS associated with your account at any time. <link>Please find more information here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"faqs",linkId:"find-a-partner",href:"https://comparisonshoppingpartners.withgoogle.com/find_a_partner/"})})))}];var Av=()=>(0,s.createElement)(ac,{trackName:"gla_faq",context:"setup-mc-accounts",faqItems:Pv});const Nv=()=>(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you are in the European Economic Area or Switzerland, your Merchant Center account must be associated with a Comparison Shopping Service (CSS). Please find more information at <link>Google Merchant Center Help</link> website.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"setup-mc-accounts",linkId:"comparison-shopping-services",href:"https://support.google.com/merchants/topic/9080307"})})),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you create a new Merchant Center account through this application, it will be associated with Google Shopping, Google’s CSS, by default. You can change the CSS associated with your account at any time. Please find more information about our CSS Partners <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"setup-mc-accounts",linkId:"comparison-shopping-partners-find-a-partner",href:"https://comparisonshoppingpartners.withgoogle.com/find_a_partner/"})})),(0,s.createElement)("p",null,(0,o.__)("Once you have set up your Merchant Center account you can use our onboarding tool regardless of which CSS you use.","google-listings-and-ads")));var Rv=e=>{const{onContinue:t=(()=>{})}=e,{jetpack:n}=Sp(),{google:r,scope:a}=Np(),{googleMCAccount:i,isPreconditionReady:l}=Rp(),c=!n,u="yes"===(null==n?void 0:n.active)&&!r,d="yes"===(null==r?void 0:r.active)&&a.gmcRequired&&!i;if(c||u||d)return(0,s.createElement)(pp,null);const g="yes"!==(null==n?void 0:n.active),p="connected"!==(null==i?void 0:i.status);return(0,s.createElement)(Tp,null,(0,s.createElement)(Mp,{title:(0,o.__)("Set up your accounts","google-listings-and-ads"),description:(0,o.__)("Connect the accounts required to use Google Listings & Ads.","google-listings-and-ads")}),(0,s.createElement)(Hp,{className:"gla-wp-google-accounts-section",title:(0,o.__)("Connect accounts","google-listings-and-ads"),description:(0,o.__)("The following accounts are required to use the Google Listings & Ads plugin.","google-listings-and-ads")},(0,s.createElement)(Vp,{size:"large"},(0,s.createElement)(mm,{jetpack:n}),(0,s.createElement)(wm,{disabled:g}))),(0,s.createElement)(Hp,{className:"gla-google-mc-account-section",description:(0,s.createElement)(Nv,null),disabledLeft:!l},(0,s.createElement)(Ov,null),(0,s.createElement)(Av,null)),(0,s.createElement)(jp,null,(0,s.createElement)(Vl,{isPrimary:!0,disabled:p,onClick:t},(0,o.__)("Continue","google-listings-and-ads"))))},Tv=__webpack_require__(7555),Mv=e=>{let{headerTitle:t}=e;return(0,s.createElement)("div",{className:"gla-setup-free-listing-hero"},(0,s.createElement)(Mp,{className:"hero-text",title:t,description:(0,s.createElement)("div",null,(0,s.createElement)("p",{className:"hero-text__subtitle"},(0,o.__)("Your product listings will look something like this.","google-listings-and-ads")),(0,s.createElement)("p",{className:"hero-text__body"},(0,o.__)("Your product details, estimated shipping info and tax details will be displayed across Google.","google-listings-and-ads")))}),(0,s.createElement)("img",{className:"gla-setup-free-listing-hero__image",src:Tv,alt:(0,o.__)("Google Shopping search results example","google-listings-and-ads")}))},jv=e=>e.rate>0;const Iv=new Set(["all","selected"]),Dv=new Set(["automatic","flat","manual"]),Fv=new Set(["flat","manual"]),Lv=new Set(["destination","manual"]);var Gv=e=>{if(e.some(jv))return e.some((e=>e.options.free_shipping_threshold>0))},Bv=e=>{const{className:t="",...n}=e;return(0,s.createElement)("span",S({className:`wcdl-radio-helper-text ${t}`},n))};function qv(e){var t=e.label,n=e.className,r=e.selected,o=e.help,a=e.onChange,i=e.options,l=void 0===i?[]:i,c=Pm(qv),u="inspector-radio-control-".concat(c),d=function(e){return a(e.target.value)};return!(0,g.isEmpty)(l)&&(0,s.createElement)(Dm,{label:t,id:u,help:o,className:A()(n,"components-radio-control")},l.map((function(e,t){return(0,s.createElement)("div",{key:"".concat(u,"-").concat(t),className:"components-radio-control__option"},(0,s.createElement)("input",{id:"".concat(u,"-").concat(t),className:"components-radio-control__input",type:"radio",name:u,value:e.value,onChange:d,checked:e.value===r,"aria-describedby":o?"".concat(u,"__help"):void 0}),(0,s.createElement)("label",{htmlFor:"".concat(u,"-").concat(t)},e.label))})))}var zv=e=>{const{className:t,label:n,value:r,selected:o,collapsible:a=!1,children:i,...l}=e;return(0,s.createElement)("div",{className:A()("app-radio-content-control",t)},(0,s.createElement)(qv,S({selected:o,options:[{label:n,value:r}]},l,{help:""})),(!a||o===r)&&(0,s.createElement)("div",{className:"app-radio-content-control__content"},i))},Hv=e=>{const{formProps:{getInputProps:t}}=e;return(0,s.createElement)(Hp,{title:(0,o.__)("Tax rate (required for U.S. only)","google-listings-and-ads"),description:(0,s.createElement)("div",null,(0,s.createElement)("p",null,(0,o.__)("This tax rate will be shown to potential customers, together with the cost of your product.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createElement)(lc,{context:"setup-mc-tax-rate",linkId:"tax-rate-read-more",href:"https://support.google.com/merchants/answer/160162"},(0,o.__)("Read more","google-listings-and-ads"))))},(0,s.createElement)(Hp.Card,null,(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(Vp,{size:"large"},(0,s.createElement)(zv,S({},t("tax_rate"),{label:(0,o.__)("My store uses destination-based tax rates.","google-listings-and-ads"),value:"destination",collapsible:!0}),(0,s.createElement)(Bv,null,(0,o.__)("Google’s estimated tax rates will automatically be applied to my product listings.","google-listings-and-ads"))),(0,s.createElement)(zv,S({},t("tax_rate"),{label:(0,o.__)("My store does not use destination-based tax rates.","google-listings-and-ads"),value:"manual",collapsible:!0}),(0,s.createElement)(Bv,null,(0,s.createInterpolateElement)((0,o.__)("I’ll set my tax rates up manually in <link>Google Merchant Center</link>. I understand that if I don’t set this up, my products will be disapproved.","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"setup-mc-tax-rate",linkId:"tax-rate-manual",href:"https://www.google.com/retail/solutions/merchant-center/"})})))))))},Uv=e=>{let{tags:t=[],disabled:n,maxVisibleTags:r=0,onChange:a=(()=>{})}=e;const[i,l]=(0,s.useState)(!1),c=Math.max(0,r),u=i||!c?t:t.slice(0,c);if(!t.length)return null;const d=e=>()=>{n||a(t.filter((t=>t.id!==e)))};return(0,s.createElement)("div",{className:"woocommerce-tree-select-control__tags"},u.map(((e,n)=>{if(!e.label)return null;const r=(0,o.sprintf)(// translators: 1: Tag Label, 2: Current Tag index, 3: Total amount of tags.
|
10 |
-
(0,o.__)("%1$s (%2$d of %3$d)","woocommerce-admin"),e.label,n+1,t.length);return(0,s.createElement)(
|
11 |
-
(0,o.__)("+ %d more","google-listing-and-ads"),t.length-c)))};const Vv="__WC_TREE_SELECT_COMPONENT_ROOT__",Wv=(0,s.forwardRef)(((e,t)=>{let{tags:n=[],instanceId:r,placeholder:o,isExpanded:a,disabled:i,maxVisibleTags:l,value:c="",onFocus:u=(()=>{}),onTagsChange:d=(()=>{}),onInputChange:p=(()=>{}),onControlClick:m=g.noop}=e;const f=n.length>0,h=!f&&!a;return(0,s.createElement)("div",{className:A()("components-base-control","woocommerce-tree-select-control__control",{"is-disabled":i,"has-tags":f}),onClick:e=>{t.current.focus(),m(e)}},f&&(0,s.createElement)(Uv,{disabled:i,tags:n,maxVisibleTags:l,onChange:d}),(0,s.createElement)("div",{className:"components-base-control__field"},(0,s.createElement)("input",{ref:t,id:`woocommerce-tree-select-control-${r}__control-input`,type:"search",placeholder:h?o:"",autoComplete:"off",className:"woocommerce-tree-select-control__control-input",role:"combobox","aria-autocomplete":"list",value:c,"aria-expanded":a,disabled:i,onFocus:u,onChange:p,onKeyDown:e=>{if("Backspace"===e.key){if(c)return;d(n.slice(0,-1)),e.preventDefault()}}})))}));var Yv=Wv,Kv=e=>{var t,n;let{option:r,checked:o,className:a,...i}=e;return r?(0,s.createElement)("div",{className:a},(0,s.createElement)("div",{className:"components-base-control__field"},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",S({id:`inspector-checkbox-control-${null!==(t=r.key)&&void 0!==t?t:r.value}`,className:"components-checkbox-control__input",type:"checkbox",tabIndex:"-1",value:r.value,checked:o},i)),o&&(0,s.createElement)(Qp,{icon:vv,role:"presentation",className:"components-checkbox-control__checked"})),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:`inspector-checkbox-control-${null!==(n=r.key)&&void 0!==n?n:r.value}`},r.label))):null};const Qv=e=>{let{options:t=[],onChange:n=(()=>{}),onExpanderClick:r=g.noop,onToggleExpanded:o=g.noop}=e;return t.map((e=>{var t;const a=e.value===Vv,{hasChildren:i,checked:l,partialChecked:c,expanded:u}=e;return(0,s.createElement)("div",{key:`${null!==(t=e.key)&&void 0!==t?t:e.value}`,role:i?"treegroup":"treeitem","aria-expanded":i?u:void 0,className:A()("woocommerce-tree-select-control__node",i&&"has-children")},(0,s.createElement)(ke,{justify:"flex-start"},!a&&(0,s.createElement)("button",{className:A()("woocommerce-tree-select-control__expander",!i&&"is-hidden"),tabIndex:"-1",onClick:t=>{r(t),o(e)}},(0,s.createElement)(Qp,{icon:u?$s:Cs})),(0,s.createElement)(Kv,{className:A()("components-base-control","woocommerce-tree-select-control__option",c&&"is-partially-checked"),option:e,checked:l,onChange:t=>{n(t.target.checked,e)},onKeyDown:t=>{((e,t)=>{t.hasChildren&&("ArrowRight"!==e.key||t.expanded?"ArrowLeft"===e.key&&t.expanded&&o(t):o(t))})(t,e)}})),i&&u&&(0,s.createElement)("div",{className:A()("woocommerce-tree-select-control__children",a&&"woocommerce-tree-select-control__main")},(0,s.createElement)(Qv,{options:e.children,onChange:n,onExpanderClick:r,onToggleExpanded:o})))}))};var Zv=Qv;const Xv=e=>{let{id:t,label:n,selectAllLabel:r=(0,o.__)("All","google-listings-and-ads"),help:a,placeholder:i,className:l,disabled:c,options:u=[],value:d=[],maxVisibleTags:m,onChange:f=(()=>{}),onDropdownVisibilityChange:h=g.noop}=e,v=Pm(Xv);v=null!=t?t:v;const[y,b]=(0,s.useState)(!1),[_,w]=(0,s.useState)([]),[E,$]=(0,s.useState)(""),C=(0,s.useRef)(),k=(0,s.useRef)(),x=(0,s.useRef)();x.current=h;const O=(0,s.useRef)({filteredOptionsMap:new Map});O.current.expandedValues=_,O.current.selectedValues=d;const P=!c&&y,N=!1!==r?{label:r,value:Vv,children:u}:null,R=p(N?[N]:u),T=Bs((()=>{b(!1)})),M=E.trim().toLowerCase(),j=M.length>=3?M:"",I=(0,s.useMemo)((()=>{const e={};return O.current.filteredOptionsMap.clear(),R.forEach((function t(n,r){var o,a;n.parent=r,null===(o=n.children)||void 0===o||o.forEach((e=>t(e,n.value))),e[null!==(a=n.key)&&void 0!==a?a:n.value]=n})),e}),[R]),D=(0,s.useMemo)((()=>{const{current:e}=O,t=e.filteredOptionsMap.get(j);if(t)return t;const n=Boolean(j),r={hasChildren:{get(){var e;return(null===(e=this.children)||void 0===e?void 0:e.length)>0}},leaves:{get(){return this.hasChildren?this.children.flatMap((e=>e.hasChildren?e.leaves:e)):[]}},checked:{get(){return this.hasChildren?this.leaves.every((e=>e.checked)):e.selectedValues.includes(this.value)}},partialChecked:{get(){return!!this.hasChildren&&!this.checked&&this.leaves.some((e=>e.checked||e.partialChecked))}},expanded:{get(){return n||this.value===Vv||e.expandedValues.includes(this.value)}}},o=(e,t)=>{let{children:a=[],...i}=t;if(a.length){if(i.children=a.reduce(o,[]),!i.children.length)return e}else if(n){const t=i.label.toLowerCase().indexOf(j);if(-1===t)return e;i.label=((e,t)=>{const r=t+j.length;return n?(0,s.createElement)("span",null,(0,s.createElement)("span",null,e.substring(0,t)),(0,s.createElement)("strong",null,e.substring(t,r)),(0,s.createElement)("span",null,e.substring(r))):e})(i.label,t)}return Object.defineProperties(i,r),e.push(i),e},a=R.reduce(o,[]);return e.filteredOptionsMap.set(j,a),a}),[R,j]);(0,s.useEffect)((()=>{x.current(P)}),[P]);const F=e=>{w(e.expanded?_.filter((t=>e.value!==t)):[..._,e.value])};return(0,s.createElement)("div",S({},T,{onKeyDown:e=>{if(c)return;"Escape"===e.key&&b(!1),"Enter"===e.key&&(b(!0),e.preventDefault());const t={ArrowUp:-1,ArrowDown:1}[e.key];if(t&&k.current&&D.length){const n=xs.focus.focusable.find(k.current).filter((e=>"checkbox"===e.type)),r=n.indexOf(e.target),o=Math.max(r+t,-1)%n.length;n.at(o).focus(),e.preventDefault()}},className:A()("woocommerce-tree-select-control",l)}),!!n&&(0,s.createElement)("label",{htmlFor:`woocommerce-tree-select-control-${v}__control-input`,className:"woocommerce-tree-select-control__label"},n),(0,s.createElement)(Yv,{ref:C,disabled:c,tags:u.length?d.map((e=>{const t=I[e];return{id:e,label:null==t?void 0:t.label}})):[],isExpanded:P,onFocus:()=>{b(!0)},onControlClick:()=>{c||b(!0)},instanceId:v,placeholder:i,label:n,maxVisibleTags:m,value:E,onTagsChange:e=>{f([...e.map((e=>e.id))])},onInputChange:e=>{$(e.target.value)}}),P&&(0,s.createElement)("div",{ref:k,className:"woocommerce-tree-select-control__tree",role:"tree",tabIndex:"-1"},(0,s.createElement)(Zv,{options:D,onChange:(e,t)=>{t.hasChildren?((e,t)=>{let n;const r=t.leaves.filter((t=>t.checked!==e)).map((e=>e.value));e?(t.expanded||F(t),n=d.concat(r)):n=d.filter((e=>!r.includes(e))),f(n)})(e,t):((e,t)=>{const n=e?[...d,t.value]:d.filter((e=>e!==t.value));f(n)})(e,t),$(""),_.includes(t.parent)||C.current.focus()},onExpanderClick:e=>{const t=xs.focus.focusable.find(k.current),n=t.indexOf(e.currentTarget)+1;t.at(n).focus()},onToggleExpanded:F})),a&&(0,s.createElement)("div",{className:"woocommerce-tree-select-control__help"},a))};var Jv=Xv;const ey=[];function ty(e){let{countryCodes:t,className:n,...r}=e;const a=Ms("medium","<")?5:10,i=function(e){const{data:{countries:t,continents:n},hasFinishedResolution:r}=Qg("getMCCountriesAndContinents");return(0,s.useMemo)((()=>{if(!r)return ey;const o=e||Object.keys(t);return Object.entries(n).reduce(((e,n)=>{let[r,a]=n;const i=a.countries.reduce(((e,n)=>(o.includes(n)&&e.push({value:n,label:t[n].name}),e)),[]);return i.length&&e.push({value:r,label:a.name,children:i}),e}),[])}),[e,t,n,r])}(t);return(0,s.createElement)(Jv,S({className:A()("gla-supported-country-select",n),placeholder:(0,o.__)("Start typing to filter countries…","google-listings-and-ads"),selectAllLabel:(0,o.__)("All countries","google-listings-and-ads"),maxVisibleTags:a,options:i},r))}var ny=e=>{let{formProps:t}=e;const{values:n,getInputProps:r}=t,{locale:a,language:i}=n;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Hp,{className:"gla-choose-audience-section",title:(0,o.__)("Audience","google-listings-and-ads"),description:(0,s.createElement)("p",null,(0,o.__)("Where do you want to sell your products?","google-listings-and-ads"))},(0,s.createElement)(Hp.Card,null,(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(Bp,null,(0,s.createElement)(Bp.Title,null,(0,o.__)("Language","google-listings-and-ads")),(0,s.createElement)(Bp.HelperText,{className:"gla-choose-audience-section__language-helper"},(0,s.createInterpolateElement)((0,o.__)("Listings can only be displayed in your site language. <link>Read more</link>","google-listings-and-ads"),{link:(0,s.createElement)(lc,{context:"setup-mc-audience",linkId:"site-language",href:"https://support.google.com/merchants/answer/160637"})})),(0,s.createElement)(qv,{selected:a,options:[{label:i,value:a}]})),(0,s.createElement)(Bp,null,(0,s.createElement)(Bp.Title,null,(0,o.__)("Location","google-listings-and-ads")),(0,s.createElement)(Bp.HelperText,null,(0,o.__)("Your store should already have the appropriate shipping and tax rates (if required) for potential customers in your selected location(s).","google-listings-and-ads")),(0,s.createElement)(Vp,{size:"medium"},(0,s.createElement)(zv,S({},r("location"),{collapsible:!0,label:(0,o.__)("Selected countries only","google-listings-and-ads"),value:"selected"}),(0,s.createElement)(ty,S({multiple:!0},r("countries"),{help:(0,o.__)("Can’t find a country? Only supported countries can be selected.","google-listings-and-ads")}))),(0,s.createElement)(zv,S({},r("location"),{label:(0,o.__)("All countries","google-listings-and-ads"),value:"all"}),(0,s.createElement)(Bv,null,(0,o.__)("Your listings will be shown in all supported countries.","google-listings-and-ads")))))))))},ry=__webpack_require__(3115),oy=e=>{const{button:t,modal:n}=e,{onClick:r=(()=>{})}=t.props,{onRequestClose:o=(()=>{})}=n.props,[a,i]=(0,s.useState)(!1);return(0,s.createElement)(s.Fragment,null,(0,s.cloneElement)(t,{onClick:function(){i(!0),r(...arguments)}}),a&&(0,s.cloneElement)(n,{onRequestClose:function(){i(!1),o(...arguments)}}))};const ay=__webpack_require__(9016);function iy({precision:e=null,decimalSeparator:t=".",thousandSeparator:n=","},r){if("number"!=typeof r&&(r=parseFloat(r)),isNaN(r))return"";let o=parseInt(e,10);if(isNaN(o)){const[,e]=r.toString().split(".");o=e?e.length:0}return ay(r,o,t,n)}var sy=()=>{const e=(0,i.getSetting)("currency");return(0,s.useMemo)((()=>({...e,formatNumber:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.precision;const r={...e,precision:n};return iy(r,t)}})),[e])},ly=(e,t)=>{const{decimalSeparator:n}=t,r=new RegExp("[^0-9-"+n+"]",["g"]),o=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(r,"").replace(n,"."));return isNaN(o)?0:o},cy=e=>({...sy(),precision:0,...e}),uy=e=>{const t=sy();return(0,s.useMemo)((()=>{const n={...t,...e};return e=>iy(n,e)}),[t,e])},dy=e=>{const{value:t,numberSettings:n,onChange:r=(()=>{}),onBlur:o=(()=>{}),...a}=e,i=cy(n),l=(e=>{const t=cy(e);return uy(t)})(n),c=l(t),u=e=>{const t=ly(e,i),n=l(t);return ly(n,i)};return(0,s.createElement)(Yh,S({value:c,onChange:e=>{const t=u(e);r(t)},onBlur:e=>{const t=u(e.target.value);o(e,t)}},a))},gy=e=>{const t=sy();return(0,s.createElement)(dy,S({suffix:t.code,numberSettings:t},e))},py=e=>{const t={};return 0===e.countries.length&&(t.countries=(0,o.__)("Please specify at least one country.","google-listings-and-ads")),Number.isFinite(e.rate)||(t.rate=(0,o.__)("Please enter the estimated shipping rate.","google-listings-and-ads")),e.rate<0&&(t.rate=(0,o.__)("The estimated shipping rate cannot be less than 0.","google-listings-and-ads")),t},my=e=>{let{countryOptions:t,initialValues:n,renderButtons:r=g.noop,onSubmit:a,onRequestClose:i}=e;const[l,c]=(0,s.useState)(!1);return(0,s.createElement)(ic.Form,{initialValues:n,validate:py,onSubmit:a},(e=>{const{values:n,getInputProps:a}=e;return(0,s.createElement)(pv,{overflow:"visible",shouldCloseOnEsc:!l,shouldCloseOnClickOutside:!l,title:(0,o.__)("Estimate a shipping rate","google-listings-and-ads"),buttons:r(e),onRequestClose:i},(0,s.createElement)(Vp,null,(0,s.createElement)(ty,S({label:(0,o.__)("If customer is in","google-listings-and-ads"),countryCodes:t,onDropdownVisibilityChange:c},a("countries"))),(0,s.createElement)(gy,S({label:(0,o.__)("Then the estimated shipping rate displayed in the product listing is","google-listings-and-ads"),suffix:n.currency},a("rate")))))}))},fy=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a=g.noop}=e;return(0,s.createElement)(my,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Vl,{key:"submit",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Add shipping rate","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},hy=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a=g.noop,onDelete:i=g.noop}=e;const l=()=>{a(),i()};return(0,s.createElement)(my,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Vl,{key:"delete",isTertiary:!0,isDestructive:!0,onClick:l},(0,o.__)("Delete","google-listings-and-ads")),(0,s.createElement)(Vl,{key:"submit",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Update shipping rate","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},vy=window.wp.htmlEntities,yy=()=>{const e={...(0,i.getSetting)("countries")};return Object.keys(e).forEach((t=>{e[t]=(0,vy.decodeEntities)(e[t])})),e};const by=5;var _y=e=>{const{countries:t,firstN:n=by,textWithMore:r,textWithoutMore:a}=e,i=yy(),l=t.slice(0,n).map((e=>i[e])),c=t.length>l.length?r:a;return(0,s.createInterpolateElement)((0,o.sprintf)(c,l.join(", "),t.length-l.length),{strong:(0,s.createElement)("strong",null)})},wy=e=>{const{countries:t}=e;return(0,s.createElement)("div",null,(0,s.createElement)(_y,{countries:t,textWithMore:// translators: 1: list of country names separated by comma, up to 5 countries; 2: the remaining count of countries.
|
12 |
(0,o.__)("Shipping rate for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
13 |
-
(0,o.__)("Shipping rate for <strong>%1$s</strong>","google-listings-and-ads")}))},
|
14 |
(0,o.__)("Minimum order for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
15 |
-
(0,o.__)("Minimum order for <strong>%1$s</strong>","google-listings-and-ads")}))},
|
16 |
(0,o.__)("Shipping time for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
17 |
-
(0,o.__)("Shipping time for <strong>%1$s</strong>","google-listings-and-ads")}))},Gy=e=>{let{audienceCountries:t,time:n,onDelete:r,onSubmit:a,onRequestClose:i}=e;const[l,c]=(0,s.useState)(!1),u=Array.from(new Set([...n.countries,...t])),d=()=>{r(n.countries)};return(0,s.createElement)(ic.Form,{initialValues:{countries:n.countries,time:n.time},validate:Iy,onSubmit:e=>{const t=new Set(e.countries),r=n.countries.filter((e=>!t.has(e)));a(e,r)}},(e=>{const{getInputProps:t,isValidForm:n,handleSubmit:r}=e;return(0,s.createElement)(pv,{overflow:"visible",shouldCloseOnEsc:!l,shouldCloseOnClickOutside:!l,title:(0,o.__)("Estimate shipping time","google-listings-and-ads"),buttons:[(0,s.createElement)(Vl,{key:"delete",isTertiary:!0,isDestructive:!0,onClick:d},(0,o.__)("Delete","google-listings-and-ads")),(0,s.createElement)(Vl,{key:"save",isPrimary:!0,disabled:!n,onClick:r},(0,o.__)("Update shipping time","google-listings-and-ads"))],onRequestClose:i},(0,s.createElement)(Vp,null,(0,s.createElement)(ty,S({label:(0,o.__)("If customer is in","google-listings-and-ads"),countryCodes:u,onDropdownVisibilityChange:c},t("countries"))),(0,s.createElement)(dy,S({label:(0,o.__)("Then the estimated shipping time displayed in the product listing is","google-listings-and-ads"),suffix:(0,o.__)("days","google-listings-and-ads")},t("time")))))}))},By=e=>{let{audienceCountries:t,time:n,onChange:r,onDelete:a}=e;const[i,l]=(0,s.useState)(!1);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Vl,{className:"gla-edit-time-button",isTertiary:!0,onClick:()=>{l(!0)}},(0,o.__)("Edit","google-listings-and-ads")),i&&(0,s.createElement)(Gy,{audienceCountries:t,time:n,onSubmit:function(){r(...arguments),l(!1)},onDelete:e=>{a(e),l(!1)},onRequestClose:()=>{l(!1)}}))},qy=e=>{let{value:t,audienceCountries:n,onChange:r,onDelete:a}=e;const{countries:i,time:l}=t;return n?(0,s.createElement)("div",{className:"gla-countries-time-input"},(0,s.createElement)(dy,{label:(0,s.createElement)("div",{className:"label"},(0,s.createElement)(Ly,{countries:i}),(0,s.createElement)(By,{audienceCountries:n,onChange:r,onDelete:a,time:t})),suffix:(0,o.__)("days","google-listings-and-ads"),value:l,onBlur:(e,t)=>{l!==t&&r({countries:i,time:t})}})):(0,s.createElement)(pp,null)};function zy(e){let{value:t,selectedCountryCodes:n,onChange:r}=e;const o=t.length,a=new Map(t.map((e=>[e.countryCode,e]))),i=n.filter((e=>!a.has(e))),l=i.length,c=(e=>{const t=new Map;return e.forEach((e=>{const{countryCode:n,time:r}=e,o=t.get(r)||{countries:[],time:r};o.countries.push(n),t.set(r,o)})),Array.from(t.values())})(t);function u(e){r(t.filter((t=>!e.includes(t.countryCode))))}function d(e){let{countries:t,time:n}=e,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];o.forEach((e=>a.delete(e))),t.forEach((e=>{a.set(e,{countryCode:e,time:n})})),r(Array.from(a.values()))}return 0===c.length&&c.push({countries:n,time:null}),(0,s.createElement)("div",{className:"countries-time"},(0,s.createElement)(Vp,null,c.map((e=>(0,s.createElement)("div",{key:e.countries.join("-"),className:"countries-time-input-form"},(0,s.createElement)(qy,{value:e,audienceCountries:n,onChange:d,onDelete:u})))),o>=1&&l>=1&&(0,s.createElement)("div",{className:"add-time-button"},(0,s.createElement)(Fy,{countries:i,onSubmit:function(e){let{countries:n,time:o}=e;const a=n.map((e=>({countryCode:e,time:o})));r(t.concat(a))}}))))}var Hy=e=>{let{formProps:t,selectedCountryCodes:n}=e;const{getInputProps:r}=t;return n?(0,s.createElement)("div",{className:"gla-shipping-time-setup"},(0,s.createElement)(Vp,null,(0,s.createElement)(zy,S({},r("shipping_country_times"),{selectedCountryCodes:n})))):(0,s.createElement)(pp,null)},Uy=e=>{let{formProps:t,countries:n}=e;return(0,s.createElement)(Hp,{title:(0,o.__)("Shipping times","google-listings-and-ads"),description:(0,s.createElement)("div",null,(0,s.createElement)("p",null,(0,o.__)("Your shipping times will be shown to potential customers on Google.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createElement)(lc,{context:"setup-mc-shipping",linkId:"shipping-read-more",href:"https://support.google.com/merchants/answer/7050921"},(0,o.__)("Read more","google-listings-and-ads"))))},(0,s.createElement)(Hp.Card,null,(0,s.createElement)(Hp.Card.Body,null,(0,s.createElement)(Hp.Card.Title,null,(0,o.__)("Estimated shipping times","google-listings-and-ads")),(0,s.createElement)(Hy,{selectedCountryCodes:n,formProps:t}))))},Vy=e=>{let{show:t,children:n}=e;switch(t){case!0:return n;case!1:return null;default:return(0,s.createElement)(Hp,null,(0,s.createElement)(pp,null))}},Wy=e=>{let{countries:t,formProps:n,saving:r=!1,submitLabel:a=(0,o.__)("Complete setup","google-listings-and-ads")}=e;const{values:i,isValidForm:l,handleSubmit:c}=n,u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;const{code:t}=Jg();return"US"===t||!(!e||!e.includes("US"))||(!t||null===e)&&null}(t),d="flat"===i.shipping_time,g=null===u||!l;return(0,s.createElement)(Tp,null,(0,s.createElement)(ny,{formProps:n}),(0,s.createElement)(jy,{formProps:n,audienceCountries:t}),d&&(0,s.createElement)(Uy,{formProps:n,countries:t}),(0,s.createElement)(Vy,{show:u},(0,s.createElement)(Hv,{formProps:n})),(0,s.createElement)(jp,null,(0,s.createElement)(Rc,{isPrimary:!0,disabled:g,loading:r,onClick:c},a)))};const Yy=["locale","language","location","countries"],Ky=["shipping_rate","shipping_time","tax_rate","website_live","checkout_process_secure","payment_methods_visible","refund_tos_visible","contact_info_visible"];var Qy=e=>{let{targetAudience:t,resolveFinalCountries:n,onTargetAudienceChange:r=g.noop,settings:a,onSettingsChange:i=g.noop,shippingRates:l,onShippingRatesChange:c=g.noop,shippingTimes:u,onShippingTimesChange:d=g.noop,onContinue:p=g.noop,submitLabel:m,headerTitle:f}=e;const[h,v]=(0,s.useState)(!1),y=(0,s.useRef)([]);return t&&a&&l&&u?(0,s.createElement)("div",{className:"gla-setup-free-listings"},(0,s.createElement)(Mv,{headerTitle:f}),(0,s.createElement)(ic.Form,{initialValues:{locale:t.locale,language:t.language,location:t.location,countries:t.countries||[],shipping_rate:a.shipping_rate,shipping_time:a.shipping_time,tax_rate:a.tax_rate,website_live:a.website_live,checkout_process_secure:a.checkout_process_secure,payment_methods_visible:a.payment_methods_visible,refund_tos_visible:a.refund_tos_visible,contact_info_visible:a.contact_info_visible,offer_free_shipping:Gv(l),shipping_country_rates:l,shipping_country_times:u},onChange:(e,t)=>{"shipping_country_rates"===e.name?c(t.shipping_country_rates):"shipping_country_times"===e.name?d(t.shipping_country_times):Ky.includes(e.name)?i((e=>(0,g.pick)(e,Ky))(t)):Yy.includes(e.name)&&(r((0,g.pick)(t,Yy)),["shipping_country_rates","shipping_country_times"].forEach((e=>{const r=n(t),o=t[e],a=o.filter((e=>r.includes(e.country||e.countryCode)));a.length!==o.length&&y.current.push((t=>t.setValue(e,a)))})))},validate:e=>{const t=n(e),{shipping_country_times:r}=e;return((e,t,n)=>{const r={};return Iv.has(e.location)||(r.location=(0,o.__)("Please select a location option.","google-listings-and-ads")),"selected"===e.location&&0===e.countries.length&&(r.countries=(0,o.__)("Please select at least one country.","google-listings-and-ads")),Dv.has(e.shipping_rate)||(r.shipping_rate=(0,o.__)("Please select a shipping rate option.","google-listings-and-ads")),"flat"===e.shipping_rate&&(e.shipping_country_rates.length<n.length||e.shipping_country_rates.some((e=>e.rate<0)))&&(r.shipping_rate=(0,o.__)("Please specify shipping rates for all the countries. And the estimated shipping rate cannot be less than 0.","google-listings-and-ads")),"flat"===e.shipping_rate&&(void 0===e.offer_free_shipping&&e.shipping_country_rates.some(jv)&&(r.offer_free_shipping=(0,o.__)("Please select an option for whether to offer free shipping.","google-listings-and-ads")),!0===e.offer_free_shipping&&e.shipping_country_rates.every((e=>void 0===e.options.free_shipping_threshold))&&(r.offer_free_shipping=(0,o.__)("Please enter minimum order for free shipping.","google-listings-and-ads"))),Fv.has(e.shipping_time)||(r.shipping_time=(0,o.__)("Please select a shipping time option.","google-listings-and-ads")),"flat"===e.shipping_time&&(t.length<n.length||t.some((e=>e.time<0)))&&(r.shipping_time=(0,o.__)("Please specify shipping times for all the countries. And the estimated shipping time cannot be less than 0.","google-listings-and-ads")),n.includes("US")&&!Lv.has(e.tax_rate)&&(r.tax_rate=(0,o.__)("Please specify tax rate option.","google-listings-and-ads")),r})(e,r,t)},onSubmit:async()=>{v(!0),await p(),v(!1)}},(e=>{const t=n(e.values);return y.current.length&&y.current.pop()(e),(0,s.createElement)(Wy,{formProps:e,countries:t,submitLabel:m,saving:h})}))):(0,s.createElement)(pp,null)};const Zy={address:"",address2:"",city:"",state:"",country:"",postcode:"",isMCAddressDifferent:null,isAddressFilled:null};function Xy(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"wc";const{data:t,hasFinishedResolution:n,invalidateResolution:r}=Qg("getGoogleMCContactInformation"),o=yy();let a=Zy;if(n&&t){const{is_mc_address_different:n}=t,r="wc"===e?t.wc_address:t.mc_address,i=(null==r?void 0:r.street_address)||"",s=(null==r?void 0:r.locality)||"",l=(null==r?void 0:r.region)||"",c=(null==r?void 0:r.postal_code)||"",[u,d=""]=i.split("\n");a={address:u,address2:d,city:s,state:l,country:o[null==r?void 0:r.country],postcode:c,isAddressFilled:!t.wc_address_errors.length,isMCAddressDifferent:n}}return{refetch:r,loaded:n,data:a}}var Jy={version:4,country_calling_codes:{1:["US","AG","AI","AS","BB","BM","BS","CA","DM","DO","GD","GU","JM","KN","KY","LC","MP","MS","PR","SX","TC","TT","VC","VG","VI"],7:["RU","KZ"],20:["EG"],27:["ZA"],30:["GR"],31:["NL"],32:["BE"],33:["FR"],34:["ES"],36:["HU"],39:["IT","VA"],40:["RO"],41:["CH"],43:["AT"],44:["GB","GG","IM","JE"],45:["DK"],46:["SE"],47:["NO","SJ"],48:["PL"],49:["DE"],51:["PE"],52:["MX"],53:["CU"],54:["AR"],55:["BR"],56:["CL"],57:["CO"],58:["VE"],60:["MY"],61:["AU","CC","CX"],62:["ID"],63:["PH"],64:["NZ"],65:["SG"],66:["TH"],81:["JP"],82:["KR"],84:["VN"],86:["CN"],90:["TR"],91:["IN"],92:["PK"],93:["AF"],94:["LK"],95:["MM"],98:["IR"],211:["SS"],212:["MA","EH"],213:["DZ"],216:["TN"],218:["LY"],220:["GM"],221:["SN"],222:["MR"],223:["ML"],224:["GN"],225:["CI"],226:["BF"],227:["NE"],228:["TG"],229:["BJ"],230:["MU"],231:["LR"],232:["SL"],233:["GH"],234:["NG"],235:["TD"],236:["CF"],237:["CM"],238:["CV"],239:["ST"],240:["GQ"],241:["GA"],242:["CG"],243:["CD"],244:["AO"],245:["GW"],246:["IO"],247:["AC"],248:["SC"],249:["SD"],250:["RW"],251:["ET"],252:["SO"],253:["DJ"],254:["KE"],255:["TZ"],256:["UG"],257:["BI"],258:["MZ"],260:["ZM"],261:["MG"],262:["RE","YT"],263:["ZW"],264:["NA"],265:["MW"],266:["LS"],267:["BW"],268:["SZ"],269:["KM"],290:["SH","TA"],291:["ER"],297:["AW"],298:["FO"],299:["GL"],350:["GI"],351:["PT"],352:["LU"],353:["IE"],354:["IS"],355:["AL"],356:["MT"],357:["CY"],358:["FI","AX"],359:["BG"],370:["LT"],371:["LV"],372:["EE"],373:["MD"],374:["AM"],375:["BY"],376:["AD"],377:["MC"],378:["SM"],380:["UA"],381:["RS"],382:["ME"],383:["XK"],385:["HR"],386:["SI"],387:["BA"],389:["MK"],420:["CZ"],421:["SK"],423:["LI"],500:["FK"],501:["BZ"],502:["GT"],503:["SV"],504:["HN"],505:["NI"],506:["CR"],507:["PA"],508:["PM"],509:["HT"],590:["GP","BL","MF"],591:["BO"],592:["GY"],593:["EC"],594:["GF"],595:["PY"],596:["MQ"],597:["SR"],598:["UY"],599:["CW","BQ"],670:["TL"],672:["NF"],673:["BN"],674:["NR"],675:["PG"],676:["TO"],677:["SB"],678:["VU"],679:["FJ"],680:["PW"],681:["WF"],682:["CK"],683:["NU"],685:["WS"],686:["KI"],687:["NC"],688:["TV"],689:["PF"],690:["TK"],691:["FM"],692:["MH"],850:["KP"],852:["HK"],853:["MO"],855:["KH"],856:["LA"],880:["BD"],886:["TW"],960:["MV"],961:["LB"],962:["JO"],963:["SY"],964:["IQ"],965:["KW"],966:["SA"],967:["YE"],968:["OM"],970:["PS"],971:["AE"],972:["IL"],973:["BH"],974:["QA"],975:["BT"],976:["MN"],977:["NP"],992:["TJ"],993:["TM"],994:["AZ"],995:["GE"],996:["KG"],998:["UZ"]},countries:{AC:["247","00","(?:[01589]\\d|[46])\\d{4}",[5,6]],AD:["376","00","(?:1|6\\d)\\d{7}|[135-9]\\d{5}",[6,8,9],[["(\\d{3})(\\d{3})","$1 $2",["[135-9]"]],["(\\d{4})(\\d{4})","$1 $2",["1"]],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["6"]]]],AE:["971","00","(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}",[5,6,7,8,9,10,11,12],[["(\\d{3})(\\d{2,9})","$1 $2",["60|8"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["[236]|[479][2-8]"],"0$1"],["(\\d{3})(\\d)(\\d{5})","$1 $2 $3",["[479]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["5"],"0$1"]],"0"],AF:["93","00","[2-7]\\d{8}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[2-7]"],"0$1"]],"0"],AG:["1","011","(?:268|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([457]\\d{6})$","268$1",0,"268"],AI:["1","011","(?:264|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2457]\\d{6})$","264$1",0,"264"],AL:["355","00","(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}",[6,7,8,9],[["(\\d{3})(\\d{3,4})","$1 $2",["80|9"],"0$1"],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["4[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[2358][2-5]|4"],"0$1"],["(\\d{3})(\\d{5})","$1 $2",["[23578]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["6"],"0$1"]],"0"],AM:["374","00","(?:[1-489]\\d|55|60|77)\\d{6}",[8],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["[89]0"],"0 $1"],["(\\d{3})(\\d{5})","$1 $2",["2|3[12]"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["1|47"],"(0$1)"],["(\\d{2})(\\d{6})","$1 $2",["[3-9]"],"0$1"]],"0"],AO:["244","00","[29]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[29]"]]]],AR:["54","00","(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}",[10,11],[["(\\d{4})(\\d{2})(\\d{4})","$1 $2-$3",["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])","2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",1],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["1"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[68]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2-$3",["[23]"],"0$1",1],["(\\d)(\\d{4})(\\d{2})(\\d{4})","$2 15-$3-$4",["9(?:2[2-469]|3[3-578])","9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))","9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]","9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"],"0$1",0,"$1 $2 $3-$4"],["(\\d)(\\d{2})(\\d{4})(\\d{4})","$2 15-$3-$4",["91"],"0$1",0,"$1 $2 $3-$4"],["(\\d{3})(\\d{3})(\\d{5})","$1-$2-$3",["8"],"0$1"],["(\\d)(\\d{3})(\\d{3})(\\d{4})","$2 15-$3-$4",["9"],"0$1",0,"$1 $2 $3-$4"]],"0",0,"0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-46-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?","9$1"],AS:["1","011","(?:[58]\\d\\d|684|900)\\d{7}",[10],0,"1",0,"1|([267]\\d{6})$","684$1",0,"684"],AT:["43","00","1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}",[4,5,6,7,8,9,10,11,12,13],[["(\\d)(\\d{3,12})","$1 $2",["1(?:11|[2-9])"],"0$1"],["(\\d{3})(\\d{2})","$1 $2",["517"],"0$1"],["(\\d{2})(\\d{3,5})","$1 $2",["5[079]"],"0$1"],["(\\d{3})(\\d{3,10})","$1 $2",["(?:31|4)6|51|6(?:5[0-3579]|[6-9])|7(?:20|32|8)|[89]"],"0$1"],["(\\d{4})(\\d{3,9})","$1 $2",["[2-467]|5[2-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["5"],"0$1"],["(\\d{2})(\\d{4})(\\d{4,7})","$1 $2 $3",["5"],"0$1"]],"0"],AU:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}",[5,6,7,8,9,10,12],[["(\\d{2})(\\d{3,4})","$1 $2",["16"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,4})","$1 $2 $3",["16"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["14|4"],"0$1"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["[2378]"],"(0$1)"],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["1(?:30|[89])"]]],"0",0,"0|(183[12])",0,0,0,[["(?:(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8]))\\d{3}|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4]))|(?:6[0-8]|[78]\\d)\\d{3}|9(?:[02-9]\\d{3}|1(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79])))))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,["163\\d{2,6}",[5,6,7,8,9]],["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],AW:["297","00","(?:[25-79]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[25-9]"]]]],AX:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}",[5,6,7,8,9,10,11,12],0,"0",0,0,0,0,"18",0,"00"],AZ:["994","00","365\\d{6}|(?:[124579]\\d|60|88)\\d{7}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[28]|2|365|46","1[28]|2|365[45]|46","1[28]|2|365(?:4|5[02])|46"],"(0$1)"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[13-9]"],"0$1"]],"0"],BA:["387","00","6\\d{8}|(?:[35689]\\d|49|70)\\d{6}",[8,9],[["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["6[1-3]|[7-9]"],"0$1"],["(\\d{2})(\\d{3})(\\d{3})","$1 $2-$3",["[3-5]|6[56]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3 $4",["6"],"0$1"]],"0"],BB:["1","011","(?:246|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-9]\\d{6})$","246$1",0,"246"],BD:["880","00","[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}",[6,7,8,9,10],[["(\\d{2})(\\d{4,6})","$1-$2",["31[5-8]|[459]1"],"0$1"],["(\\d{3})(\\d{3,7})","$1-$2",["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:28|4[14]|5)|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"],"0$1"],["(\\d{4})(\\d{3,6})","$1-$2",["[13-9]|22"],"0$1"],["(\\d)(\\d{7,8})","$1-$2",["2"],"0$1"]],"0"],BE:["32","00","4\\d{8}|[1-9]\\d{7}",[8,9],[["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:80|9)0"],"0$1"],["(\\d)(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[239]|4[23]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[15-8]"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["4"],"0$1"]],"0"],BF:["226","00","[025-7]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[025-7]"]]]],BG:["359","00","[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}",[6,7,8,9],[["(\\d)(\\d)(\\d{2})(\\d{2})","$1 $2 $3 $4",["2"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["43[1-6]|70[1-9]"],"0$1"],["(\\d)(\\d{3})(\\d{3,4})","$1 $2 $3",["2"],"0$1"],["(\\d{2})(\\d{3})(\\d{2,3})","$1 $2 $3",["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3",["(?:70|8)0"],"0$1"],["(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3",["43[1-7]|7"],"0$1"],["(\\d{2})(\\d{3})(\\d{3,4})","$1 $2 $3",["[48]|9[08]"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["9"],"0$1"]],"0"],BH:["973","00","[136-9]\\d{7}",[8],[["(\\d{4})(\\d{4})","$1 $2",["[13679]|8[047]"]]]],BI:["257","00","(?:[267]\\d|31)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2367]"]]]],BJ:["229","00","[25689]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[25689]"]]]],BL:["590","00","(?:590|(?:69|80)\\d|976)\\d{6}",[9],0,"0",0,0,0,0,0,[["590(?:2[7-9]|5[12]|87)\\d{4}"],["69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))\\d{4}"],["80[0-5]\\d{6}"],0,0,0,0,0,["976[01]\\d{5}"]]],BM:["1","011","(?:441|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([2-8]\\d{6})$","441$1",0,"441"],BN:["673","00","[2-578]\\d{6}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[2-578]"]]]],BO:["591","00(?:1\\d)?","(?:[2-467]\\d\\d|8001)\\d{5}",[8,9],[["(\\d)(\\d{7})","$1 $2",["[23]|4[46]"]],["(\\d{8})","$1",["[67]"]],["(\\d{3})(\\d{2})(\\d{4})","$1 $2 $3",["8"]]],"0",0,"0(1\\d)?"],BQ:["599","00","(?:[34]1|7\\d)\\d{5}",[7],0,0,0,0,0,0,"[347]"],BR:["55","00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)","(?:[1-46-9]\\d\\d|5(?:[0-46-9]\\d|5[0-24679]))\\d{8}|[1-9]\\d{9}|[3589]\\d{8}|[34]\\d{7}",[8,9,10,11],[["(\\d{4})(\\d{4})","$1-$2",["300|4(?:0[02]|37)","4(?:02|37)0|[34]00"]],["(\\d{3})(\\d{2,3})(\\d{4})","$1 $2 $3",["(?:[358]|90)0"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2-$3",["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"],"($1)"],["(\\d{2})(\\d{5})(\\d{4})","$1 $2-$3",["[16][1-9]|[2-57-9]"],"($1)"]],"0",0,"(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?","$2"],BS:["1","011","(?:242|[58]\\d\\d|900)\\d{7}",[10],0,"1",0,"1|([3-8]\\d{6})$","242$1",0,"242"],BT:["975","00","[17]\\d{7}|[2-8]\\d{6}",[7,8],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[2-68]|7[246]"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["1[67]|7"]]]],BW:["267","00","(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}",[7,8,10],[["(\\d{2})(\\d{5})","$1 $2",["90"]],["(\\d{3})(\\d{4})","$1 $2",["[24-6]|3[15-79]"]],["(\\d{2})(\\d{3})(\\d{3})","$1 $2 $3",["[37]"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["0"]],["(\\d{3})(\\d{4})(\\d{3})","$1 $2 $3",["8"]]]],BY:["375","810","(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}",[6,7,8,9,10,11],[["(\\d{3})(\\d{3})","$1 $2",["800"],"8 $1"],["(\\d{3})(\\d{2})(\\d{2,4})","$1 $2 $3",["800"],"8 $1"],["(\\d{4})(\\d{2})(\\d{3})","$1 $2-$3",["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])","1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"],"8 0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2-$3-$4",["1(?:[56]|7[467])|2[1-3]"],"8 0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2-$3-$4",["[1-4]"],"8 0$1"],["(\\d{3})(\\d{3,4})(\\d{4})","$1 $2 $3",["[89]"],"8 $1"]],"8",0,"0|80?",0,0,0,0,"8~10"],BZ:["501","00","(?:0800\\d|[2-8])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1-$2",["[2-8]"]],["(\\d)(\\d{3})(\\d{4})(\\d{3})","$1-$2-$3-$4",["0"]]]],CA:["1","011","(?:[2-8]\\d|90)\\d{8}",[10],0,"1",0,0,0,0,0,[["(?:2(?:04|[23]6|[48]9|50)|3(?:06|43|6[578])|4(?:03|1[68]|3[178]|50|74)|5(?:06|1[49]|48|79|8[17])|6(?:04|13|39|47|72)|7(?:0[59]|78|8[02])|8(?:[06]7|19|25|73)|90[25])[2-9]\\d{6}"],[""],["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"],["900[2-9]\\d{6}"],["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:00|2[12]|33|44|66|77|88)|622)[2-9]\\d{6}"],0,0,0,["600[2-9]\\d{6}"]]],CC:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CD:["243","00","[189]\\d{8}|[1-68]\\d{6}",[7,9],[["(\\d{2})(\\d{2})(\\d{3})","$1 $2 $3",["88"],"0$1"],["(\\d{2})(\\d{5})","$1 $2",["[1-6]"],"0$1"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["1"],"0$1"],["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]"],"0$1"]],"0"],CF:["236","00","(?:[27]\\d{3}|8776)\\d{4}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[278]"]]]],CG:["242","00","(?:0\\d\\d|222|800)\\d{6}",[9],[["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["8"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[02]"]]]],CH:["41","00","8\\d{11}|[2-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["8[047]|90"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-79]|81"],"0$1"],["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["8"],"0$1"]],"0"],CI:["225","00","[02]\\d{9}",[10],[["(\\d{2})(\\d{2})(\\d)(\\d{5})","$1 $2 $3 $4",["2"]],["(\\d{2})(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3 $4",["0"]]]],CK:["682","00","[2-578]\\d{4}",[5],[["(\\d{2})(\\d{3})","$1 $2",["[2-578]"]]]],CL:["56","(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0","12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}",[9,10,11],[["(\\d{5})(\\d{4})","$1 $2",["219","2196"],"($1)"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["44"]],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["2[1-3]"],"($1)"],["(\\d)(\\d{4})(\\d{4})","$1 $2 $3",["9[2-9]"]],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-9]|[1-9])"],"($1)"],["(\\d{3})(\\d{3})(\\d{3,4})","$1 $2 $3",["60|8"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["1"]],["(\\d{3})(\\d{3})(\\d{2})(\\d{3})","$1 $2 $3 $4",["60"]]]],CM:["237","00","[26]\\d{8}|88\\d{6,7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["88"]],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[26]|88"]]]],CN:["86","00|1(?:[12]\\d|79)\\d\\d00","1[127]\\d{8,9}|2\\d{9}(?:\\d{2})?|[12]\\d{6,7}|86\\d{6}|(?:1[03-689]\\d|6)\\d{7,9}|(?:[3-579]\\d|8[0-57-9])\\d{6,9}",[7,8,9,10,11,12],[["(\\d{2})(\\d{5,6})","$1 $2",["(?:10|2[0-57-9])[19]","(?:10|2[0-57-9])(?:10|9[56])","(?:10|2[0-57-9])(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{5,6})","$1 $2",["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]","(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]","85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])","85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["(?:4|80)0"]],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["10|2(?:[02-57-9]|1[1-9])","10|2(?:[02-57-9]|1[1-9])","10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"],"0$1",1],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"],"0$1",1],["(\\d{3})(\\d{7,8})","$1 $2",["9"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["80"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["[3-578]"],"0$1",1],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["1[3-9]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3 $4",["[12]"],"0$1",1]],"0",0,"0|(1(?:[12]\\d|79)\\d\\d)",0,0,0,0,"00"],CO:["57","00(?:4(?:[14]4|56)|[579])","(?:(?:1\\d|[36])\\d{3}|9101)\\d{6}|[124-8]\\d{7}",[8,10,11],[["(\\d)(\\d{7})","$1 $2",["[146][2-9]|[2578]"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["6"],"($1)"],["(\\d{3})(\\d{7})","$1 $2",["[39]"]],["(\\d)(\\d{3})(\\d{7})","$1-$2-$3",["1"],"0$1",0,"$1 $2 $3"]],"0",0,"0([3579]|4(?:[14]4|56))?"],CR:["506","00","(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}",[8,10],[["(\\d{4})(\\d{4})","$1 $2",["[2-7]|8[3-9]"]],["(\\d{3})(\\d{3})(\\d{4})","$1-$2-$3",["[89]"]]],0,0,"(19(?:0[0-2468]|1[09]|20|66|77|99))"],CU:["53","119","[27]\\d{6,7}|[34]\\d{5,7}|(?:5|8\\d\\d)\\d{7}",[6,7,8,10],[["(\\d{2})(\\d{4,6})","$1 $2",["2[1-4]|[34]"],"(0$1)"],["(\\d)(\\d{6,7})","$1 $2",["7"],"(0$1)"],["(\\d)(\\d{7})","$1 $2",["5"],"0$1"],["(\\d{3})(\\d{7})","$1 $2",["8"],"0$1"]],"0"],CV:["238","0","(?:[2-59]\\d\\d|800)\\d{4}",[7],[["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["[2-589]"]]]],CW:["599","00","(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}",[7,8],[["(\\d{3})(\\d{4})","$1 $2",["[3467]"]],["(\\d)(\\d{3})(\\d{4})","$1 $2 $3",["9[4-8]"]]],0,0,0,0,0,"[69]"],CX:["61","001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011","1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}",[6,7,8,9,10,12],0,"0",0,"0|([59]\\d{7})$","8$1",0,0,[["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}",[9]],["4(?:83[0-38]|93[0-6])\\d{5}|4(?:[0-3]\\d|4[047-9]|5[0-25-9]|6[06-9]|7[02-9]|8[0-24-9]|9[0-27-9])\\d{6}",[9]],["180(?:0\\d{3}|2)\\d{3}",[7,10]],["190[0-26]\\d{6}",[10]],0,0,0,0,["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}",[9]],["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}",[6,8,10,12]]],"0011"],CY:["357","00","(?:[279]\\d|[58]0)\\d{6}",[8],[["(\\d{2})(\\d{6})","$1 $2",["[257-9]"]]]],CZ:["420","00","(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[2-8]|9[015-7]"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{2})","$1 $2 $3 $4",["96"]],["(\\d{2})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]],["(\\d{3})(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3 $4",["9"]]]],DE:["49","00","[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:1\\d|2[02-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[05]\\d|[23]1|[46][1-8])\\d{1,9}",[4,5,6,7,8,9,10,11,12,13,14,15],[["(\\d{2})(\\d{3,13})","$1 $2",["3[02]|40|[68]9"],"0$1"],["(\\d{3})(\\d{3,12})","$1 $2",["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1","2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"],"0$1"],["(\\d{4})(\\d{2,11})","$1 $2",["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]","[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"],"0$1"],["(\\d{3})(\\d{4})","$1 $2",["138"],"0$1"],["(\\d{5})(\\d{2,10})","$1 $2",["3"],"0$1"],["(\\d{3})(\\d{5,11})","$1 $2",["181"],"0$1"],["(\\d{3})(\\d)(\\d{4,10})","$1 $2 $3",["1(?:3|80)|9"],"0$1"],["(\\d{3})(\\d{7,8})","$1 $2",["1[67]"],"0$1"],["(\\d{3})(\\d{7,12})","$1 $2",["8"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["185","1850","18500"],"0$1"],["(\\d{3})(\\d{4})(\\d{4})","$1 $2 $3",["7"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["18[68]"],"0$1"],["(\\d{5})(\\d{6})","$1 $2",["15[0568]"],"0$1"],["(\\d{4})(\\d{7})","$1 $2",["15[1279]"],"0$1"],["(\\d{3})(\\d{8})","$1 $2",["18"],"0$1"],["(\\d{3})(\\d{2})(\\d{7,8})","$1 $2 $3",["1(?:6[023]|7)"],"0$1"],["(\\d{4})(\\d{2})(\\d{7})","$1 $2 $3",["15[279]"],"0$1"],["(\\d{3})(\\d{2})(\\d{8})","$1 $2 $3",["15"],"0$1"]],"0"],DJ:["253","00","(?:2\\d|77)\\d{6}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[27]"]]]],DK:["45","00","[2-9]\\d{7}",[8],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-9]"]]]],DM:["1","011","(?:[58]\\d\\d|767|900)\\d{7}",[10],0,"1",0,"1|([2-7]\\d{6})$","767$1",0,"767"],DO:["1","011","(?:[58]\\d\\d|900)\\d{7}",[10],0,"1",0,0,0,0,"8001|8[024]9"],DZ:["213","00","(?:[1-4]|[5-79]\\d|80)\\d{7}",[8,9],[["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[1-4]"],"0$1"],["(\\d{2})(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3 $4",["9"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-8]"],"0$1"]],"0"],EC:["593","00","1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}",[8,9,10,11],[["(\\d)(\\d{3})(\\d{4})","$1 $2-$3",["[2-7]"],"(0$1)",0,"$1-$2-$3"],["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["9"],"0$1"],["(\\d{4})(\\d{3})(\\d{3,4})","$1 $2 $3",["1"]]],"0"],EE:["372","00","8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}",[7,8,10],[["(\\d{3})(\\d{4})","$1 $2",["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88","[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]],["(\\d{4})(\\d{3,4})","$1 $2",["[45]|8(?:00|[1-49])","[45]|8(?:00[1-9]|[1-49])"]],["(\\d{2})(\\d{2})(\\d{4})","$1 $2 $3",["7"]],["(\\d{4})(\\d{3})(\\d{3})","$1 $2 $3",["8"]]]],EG:["20","00","[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}",[8,9,10],[["(\\d)(\\d{7,8})","$1 $2",["[23]"],"0$1"],["(\\d{2})(\\d{6,7})","$1 $2",["1[35]|[4-6]|8[2468]|9[235-7]"],"0$1"],["(\\d{3})(\\d{3})(\\d{4})","$1 $2 $3",["[189]"],"0$1"]],"0"],EH:["212","00","[5-8]\\d{8}",[9],0,"0",0,0,0,0,"528[89]"],ER:["291","00","[178]\\d{6}",[7],[["(\\d)(\\d{3})(\\d{3})","$1 $2 $3",["[178]"],"0$1"]],"0"],ES:["34","00","[5-9]\\d{8}",[9],[["(\\d{3})(\\d{3})(\\d{3})","$1 $2 $3",["[89]00"]],["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[5-9]"]]]],ET:["251","00","(?:11|[2-59]\\d)\\d{7}",[9],[["(\\d{2})(\\d{3})(\\d{4})","$1 $2 $3",["[1-59]"],"0$1"]],"0"],FI:["358","00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))","[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}",[5,6,7,8,9,10,11,12],[["(\\d)(\\d{4,9})","$1 $2",["[2568][1-8]|3(?:0[1-9]|[1-9])|9"],"0$1"],["(\\d{3})(\\d{3,7})","$1 $2",["[12]00|[368]|70[07-9]"],"0$1"],["(\\d{2})(\\d{4,8})","$1 $2",["[1245]|7[135]"],"0$1"],["(\\d{2})(\\d{6,10})","$1 $2",["7"],"0$1"]],"0",0,0,0,0,"1[03-79]|[2-9]",0,"00"],FJ:["679","0(?:0|52)","45\\d{5}|(?:0800\\d|[235-9])\\d{6}",[7,11],[["(\\d{3})(\\d{4})","$1 $2",["[235-9]|45"]],["(\\d{4})(\\d{3})(\\d{4})","$1 $2 $3",["0"]]],0,0,0,0,0,0,0,"00"],FK:["500","00","[2-7]\\d{4}",[5]],FM:["691","00","(?:[39]\\d\\d|820)\\d{4}",[7],[["(\\d{3})(\\d{4})","$1 $2",["[389]"]]]],FO:["298","00","[2-9]\\d{5}",[6],[["(\\d{6})","$1",["[2-9]"]]],0,0,"(10(?:01|[12]0|88))"],FR:["33","00","[1-9]\\d{8}",[9],[["(\\d{3})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["8"],"0 $1"],["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4 $5",["[1-79]"],"0$1"]],"0"],GA:["241","00","(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}",[7,8],[["(\\d)(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["[2-7]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["11|[67]"],"0$1"],["(\\d{2})(\\d{2})(\\d{2})(\\d{2})","$1 $2 $3 $4",["0"]]],0,0,"0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[47]\\d{6}|76\\d{6})","$1"],GB:["44","00","[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}",[7,9,10],[["(\\d{3})(\\d{4})","$1 $2",["800","8001","80011","800111","8001111"],"0$1"],["(\\d{3})(\\d{2})(\\d{2})","$1 $2 $3",["845","8454","84546","845464"],"0$1"],["(\\d{3})(\\d{6})","$1 $2",["800"],"0$1"],["(\\d{5})(\\d{4,5})","$1 $2",["1(?:38|5[23]|69|76|94)","1(?:(?:38|69)7|5(?:24|39)|768|946)","1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"],"0$1"],["(\\d{4})(\\d{5,6})","$1 $2",["1(?:[2-69][02-9]|[78])"],"0$1"],["(\\d{2})(\\d{4})(\\d{4})","$1 $2 $3",["[25]|7(?:0|6[02-9])","[25]|7(?:0|6(?:[03-9]|2[356]))"],"0$1"],["(\\d{4})(\\d{6})","$1 $2",["7"],"0$1"],["(\\d{3})(
|
1 |
+
(function(){var __webpack_modules__={9171:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.validateDateInputForRange=t.dateValidationMessages=t.loadLocaleData=t.getDateFormatsForInterval=t.defaultTableDateFormat=t.weekTicksThreshold=t.dayTicksThreshold=t.getChartTypeForQuery=t.getIntervalForQuery=t.getAllowedIntervalsForQuery=t.getPreviousDate=t.getDateDifferenceInDays=t.getCurrentDates=t.getDateParamsFromQuery=t.getCurrentPeriod=t.getLastPeriod=t.getStoreTimeZoneMoment=t.getRangeLabel=t.toMoment=t.appendTimestamp=t.periods=t.presetValues=t.defaultDateTimeFormat=t.isoDateFormat=void 0;const o=r(n(6292)),a=n(2819),i=n(5736),s=n(129);function l(e,n){if(o.default.isMoment(n))return n.isValid()?n:null;if("string"==typeof n){const r=o.default(n,[t.isoDateFormat,e],!0);return r.isValid()?r:null}throw new Error("toMoment requires a string to be passed as an argument")}function c(e,t){const n=e.year()===t.year(),r=n&&e.month()===t.month(),o=n&&r&&e.isSame(t,"day"),a=i.__("MMM D, YYYY","woocommerce-admin");if(o)return e.format(a);if(r){const n=e.date();return e.format(a).replace(n,`${n} - ${t.date()}`)}if(n){const n=i.__("MMM D","woocommerce-admin");return`${e.format(n)} - ${t.format(a)}`}return`${e.format(a)} - ${t.format(a)}`}function u(){return window.wcSettings&&window.wcSettings.timeZone?["+","-"].includes(window.wcSettings.timeZone.charAt(0))?o.default().utcOffset(window.wcSettings.timeZone):o.default().tz(window.wcSettings.timeZone):o.default()}function d(e,t){const n=u().startOf(e).subtract(1,e),r=n.clone().endOf(e);let a,i;if("previous_period"===t)if("year"===e)a=o.default().startOf(e).subtract(2,e),i=a.clone().endOf(e);else{const e=r.diff(n,"days");i=n.clone().subtract(1,"days"),a=i.clone().subtract(e,"days")}else a=n.clone().subtract(1,"years"),i=r.clone().subtract(1,"years");return"month"===e&&(i=i.clone().endOf("month")),{primaryStart:n,primaryEnd:r,secondaryStart:a,secondaryEnd:i}}function g(e,t){const n=u().startOf(e),r=u(),o=r.diff(n,"days");let a,i;return"previous_period"===t?(a=n.clone().subtract(1,e),i=r.clone().subtract(1,e)):(a=n.clone().subtract(1,"years"),i=a.clone().add(o+1,"days").subtract(1,"seconds")),{primaryStart:n,primaryEnd:r,secondaryStart:a,secondaryEnd:i}}t.isoDateFormat="YYYY-MM-DD",t.defaultDateTimeFormat="YYYY-MM-DDTHH:mm:ss",t.presetValues=[{value:"today",label:i.__("Today","woocommerce-admin")},{value:"yesterday",label:i.__("Yesterday","woocommerce-admin")},{value:"week",label:i.__("Week to Date","woocommerce-admin")},{value:"last_week",label:i.__("Last Week","woocommerce-admin")},{value:"month",label:i.__("Month to Date","woocommerce-admin")},{value:"last_month",label:i.__("Last Month","woocommerce-admin")},{value:"quarter",label:i.__("Quarter to Date","woocommerce-admin")},{value:"last_quarter",label:i.__("Last Quarter","woocommerce-admin")},{value:"year",label:i.__("Year to Date","woocommerce-admin")},{value:"last_year",label:i.__("Last Year","woocommerce-admin")},{value:"custom",label:i.__("Custom","woocommerce-admin")}],t.periods=[{value:"previous_period",label:i.__("Previous Period","woocommerce-admin")},{value:"previous_year",label:i.__("Previous Year","woocommerce-admin")}],t.appendTimestamp=(e,n)=>{if("start"===n)return e.startOf("day").format(t.defaultDateTimeFormat);if("now"===n)return e.format(t.defaultDateTimeFormat);if("end"===n)return e.endOf("day").format(t.defaultDateTimeFormat);throw new Error("appendTimestamp requires second parameter to be either `start`, `now` or `end`")},t.toMoment=l,t.getRangeLabel=c,t.getStoreTimeZoneMoment=u,t.getLastPeriod=d,t.getCurrentPeriod=g;const p=a.memoize(((e,t,n,r)=>{switch(e){case"today":return g("day",t);case"yesterday":return d("day",t);case"week":return g("week",t);case"last_week":return d("week",t);case"month":return g("month",t);case"last_month":return d("month",t);case"quarter":return g("quarter",t);case"last_quarter":return d("quarter",t);case"year":return g("year",t);case"last_year":return d("year",t);case"custom":const e=r.diff(n,"days");if("previous_period"===t){const t=n.clone().subtract(1,"days");return{primaryStart:n,primaryEnd:r,secondaryStart:t.clone().subtract(e,"days"),secondaryEnd:t}}return{primaryStart:n,primaryEnd:r,secondaryStart:n.clone().subtract(1,"years"),secondaryEnd:r.clone().subtract(1,"years")}}}),((e,t,n,r)=>[e,t,n&&n.format(),r&&r.format()].join(":"))),f=a.memoize(((e,t,n,r,a)=>{if(e&&t)return{period:e,compare:t,after:n?o.default(n):null,before:r?o.default(r):null};const i=s.parse(a.replace(/&/g,"&"));return{period:i.period,compare:i.compare,after:i.after?o.default(i.after):null,before:i.before?o.default(i.before):null}}),((e,t,n,r,o)=>[e,t,n,r,o].join(":")));t.getDateParamsFromQuery=(e,t="period=month&compare=previous_year")=>{const{period:n,compare:r,after:o,before:a}=e;return f(n,r,o,a,t)};const m=a.memoize(((e,n,r,o,i,s)=>({primary:{label:a.find(t.presetValues,(t=>t.value===e)).label,range:c(r,o),after:r,before:o},secondary:{label:a.find(t.periods,(e=>e.value===n)).label,range:c(i,s),after:i,before:s}})),((e,t,n,r,o,a)=>[e,t,n&&n.format(),r&&r.format(),o&&o.format(),a&&a.format()].join(":")));function h(e){let n=[];if("custom"===e.period){const{primary:r}=t.getCurrentDates(e),o=t.getDateDifferenceInDays(r.before,r.after);n=o>=365?["day","week","month","quarter","year"]:o>=90?["day","week","month","quarter"]:o>=28?["day","week","month"]:o>=7?["day","week"]:o>1&&o<7?["day"]:["hour","day"]}else switch(e.period){case"today":case"yesterday":n=["hour","day"];break;case"week":case"last_week":default:n=["day"];break;case"month":case"last_month":n=["day","week"];break;case"quarter":case"last_quarter":n=["day","week","month"];break;case"year":case"last_year":n=["day","week","month","quarter"]}return n}t.getCurrentDates=(e,n="period=month&compare=previous_year")=>{const{period:r,compare:o,after:a,before:i}=t.getDateParamsFromQuery(e,n),{primaryStart:s,primaryEnd:l,secondaryStart:c,secondaryEnd:u}=p(r,o,a,i);return m(r,o,s,l,c,u)},t.getDateDifferenceInDays=(e,t)=>{const n=o.default(e),r=o.default(t);return n.diff(r,"days")},t.getPreviousDate=(e,t,n,r,a)=>{const i=o.default(e);if("previous_year"===r)return i.clone().subtract(1,"years");const s=o.default(t),l=o.default(n),c=s.diff(l,a);return i.clone().subtract(c,a)},t.getAllowedIntervalsForQuery=h,t.getIntervalForQuery=function(e){const t=h(e),n=t[0];let r=e.interval||n;return e.interval&&!t.includes(e.interval)&&(r=n),r},t.getChartTypeForQuery=function({chartType:e}){return["line","bar"].includes(e)?e:"line"},t.dayTicksThreshold=63,t.weekTicksThreshold=9,t.defaultTableDateFormat="m/d/Y",t.getDateFormatsForInterval=function(e,n=0){let r="%B %-d, %Y",o="%B %-d, %Y",a="%Y-%m-%d",s="%b %Y",l=t.defaultTableDateFormat;switch(e){case"hour":r="%_I%p %B %-d, %Y",o="%_I%p %b %-d, %Y",a="%_I%p",s="%b %-d, %Y",l="h A";break;case"day":n<t.dayTicksThreshold?a="%-d":(a="%b",s="%Y");break;case"week":n<t.weekTicksThreshold?(a="%-d",s="%b %Y"):(a="%b",s="%Y"),r=i.__("Week of %B %-d, %Y","woocommerce-admin"),o=i.__("Week of %B %-d, %Y","woocommerce-admin");break;case"quarter":case"month":r="%B %Y",o="%B %Y",a="%b",s="%Y";break;case"year":r="%Y",o="%Y",a="%Y"}return{screenReaderFormat:r,tooltipLabelFormat:o,xFormat:a,x2Format:s,tableFormat:l}},t.loadLocaleData=function({userLocale:e,weekdaysShort:t}){"en"!==o.default.locale()&&o.default.updateLocale(e,{longDateFormat:{L:i.__("MM/DD/YYYY","woocommerce-admin"),LL:i.__("MMMM D, YYYY","woocommerce-admin"),LLL:i.__("D MMMM YYYY LT","woocommerce-admin"),LLLL:i.__("dddd, D MMMM YYYY LT","woocommerce-admin"),LT:i.__("HH:mm","woocommerce-admin")},weekdaysMin:t})},t.dateValidationMessages={invalid:i.__("Invalid date","woocommerce-admin"),future:i.__("Select a date in the past","woocommerce-admin"),startAfterEnd:i.__("Start date must be before end date","woocommerce-admin"),endBeforeStart:i.__("Start date must be before end date","woocommerce-admin")},t.validateDateInputForRange=function(e,n,r,a,i){const s=l(i,n);return s?o.default().isBefore(s,"day")?{date:null,error:t.dateValidationMessages.future}:"after"===e&&r&&s.isAfter(r,"day")?{date:null,error:t.dateValidationMessages.startAfterEnd}:"before"===e&&a&&s.isBefore(a,"day")?{date:null,error:t.dateValidationMessages.endBeforeStart}:{date:s}:{date:null,error:t.dateValidationMessages.invalid}}},4940:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.recordPageView=t.queueRecordEvent=t.recordEvent=void 0;const o=r(n(1227)).default("wc-admin:tracks");function a(e,t){if(o("recordevent %s %o","wcadmin_"+e,t,{_tqk:window._tkq,shouldRecord:!!window._tkq&&!!window.wcTracks&&!!window.wcTracks.isEnabled}),!window.wcTracks||"function"!=typeof window.wcTracks.recordEvent)return!1;window.wcTracks.recordEvent(e,t)}t.recordEvent=a;const i={localStorageKey:()=>"tracksQueue",clear(){window.localStorage&&window.localStorage.removeItem(i.localStorageKey())},get(){if(!window.localStorage)return[];let e=window.localStorage.getItem(i.localStorageKey());return e=e?JSON.parse(e):[],e=Array.isArray(e)?e:[],e},add(...e){if(!window.localStorage)return o("Unable to queue, running now",{args:e}),void a.apply(null,e||void 0);let t=i.get();const n={args:e};t.push(n),t=t.slice(-100),o("Adding new item to queue.",n),window.localStorage.setItem(i.localStorageKey(),JSON.stringify(t))},process(){if(!window.localStorage)return;const e=i.get();i.clear(),o("Processing items in queue.",e),e.forEach((e=>{"object"==typeof e&&(o("Processing item in queue.",e),a.apply(null,e.args||void 0))}))}};t.queueRecordEvent=function(e,t){i.add(e,t)},t.recordPageView=function(e,t){e&&(a("page_view",Object.assign({path:e},t)),i.process())}},4184:function(e,t){var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},1227:function(e,t,n){var r=n(4155);t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const n="color: "+this.color;t.splice(1,0,n,"color: inherit");let r=0,o=0;t[0].replace(/%[a-zA-Z%]/g,(e=>{"%%"!==e&&(r++,"%c"===e&&(o=r))})),t.splice(o,0,n)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(e){}return!e&&void 0!==r&&"env"in r&&(e=r.env.DEBUG),e},t.useColors=function(){return!("undefined"==typeof window||!window.process||"renderer"!==window.process.type&&!window.process.__nwjs)||("undefined"==typeof navigator||!navigator.userAgent||!navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)&&parseInt(RegExp.$1,10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=n(2447)(t);const{formatters:o}=e.exports;o.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},2447:function(e,t,n){e.exports=function(e){function t(e){let n,o=null;function a(...e){if(!a.enabled)return;const r=a,o=Number(new Date),i=o-(n||o);r.diff=i,r.prev=n,r.curr=o,n=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let s=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,((n,o)=>{if("%%"===n)return"%";s++;const a=t.formatters[o];if("function"==typeof a){const t=e[s];n=a.call(r,t),e.splice(s,1),s--}return n})),t.formatArgs.call(r,e),(r.log||t.log).apply(r,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=r,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null===o?t.enabled(e):o,set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function r(e,n){const r=t(this.namespace+(void 0===n?":":n)+e);return r.log=this.log,r}function o(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names.map(o),...t.skips.map(o).map((e=>"-"+e))].join(",");return t.enable(""),e},t.enable=function(e){let n;t.save(e),t.names=[],t.skips=[];const r=("string"==typeof e?e:"").split(/[\s,]+/),o=r.length;for(n=0;n<o;n++)r[n]&&("-"===(e=r[n].replace(/\*/g,".*?"))[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let n,r;for(n=0,r=t.skips.length;n<r;n++)if(t.skips[n].test(e))return!1;for(n=0,r=t.names.length;n<r;n++)if(t.names[n].test(e))return!0;return!1},t.humanize=n(7824),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach((n=>{t[n]=e[n]})),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let n=0;for(let t=0;t<e.length;t++)n=(n<<5)-n+e.charCodeAt(t),n|=0;return t.colors[Math.abs(n)%t.colors.length]},t.enable(t.load()),t}},3836:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-checkmark-circle",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M11 17.768l-4.884-4.884 1.768-1.768L11 14.232l8.658-8.658A9.98 9.98 0 0012 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10a9.94 9.94 0 00-.966-4.266L11 17.768z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},457:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-checkmark",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M9 19.414l-6.707-6.707 1.414-1.414L9 16.586 20.293 5.293l1.414 1.414z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8222:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-chevron-left",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M14 20l-8-8 8-8 1.414 1.414L8.828 12l6.586 6.586z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},1714:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-chevron-right",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M10 20l8-8-8-8-1.414 1.414L15.172 12l-6.586 6.586z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7188:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-credit-card",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M20 4H4a2 2 0 00-2 2v12a2 2 0 002 2h16a2 2 0 002-2V6a2 2 0 00-2-2zm0 2v2H4V6h16zM4 18v-6h16v6H4zm2-4h7v2H6v-2zm9 0h3v2h-3v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8359:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-external",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 13v6a2 2 0 01-2 2H5a2 2 0 01-2-2V7a2 2 0 012-2h6v2H5v12h12v-6h2zM13 3v2h4.586l-7.793 7.793 1.414 1.414L19 6.414V11h2V3h-8z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},3119:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-gift",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M22 6h-4.8c.5-.5.8-1.2.8-2 0-1.7-1.3-3-3-3s-3 1.3-3 3c0-1.7-1.3-3-3-3S6 2.3 6 4c0 .8.3 1.5.8 2H2v6h1v8c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8h1V6zm-2 4h-7V8h7v2zm-5-7c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zM9 3c.6 0 1 .4 1 1s-.4 1-1 1-1-.4-1-1 .4-1 1-1zM4 8h7v2H4V8zm1 4h6v8H5v-8zm14 8h-6v-8h6v8z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7719:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-help-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm4 8a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2v-1.141A3.991 3.991 0 0016 10zm-3 6h-2v2h2v-2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7132:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-info-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M13 9h-2V7h2v2zm0 2h-2v6h2v-6zm-1-7c-4.411 0-8 3.589-8 8s3.589 8 8 8 8-3.589 8-8-3.589-8-8-8m0-2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4315:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-location",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M19 9A7 7 0 105 9c0 1.387.409 2.677 1.105 3.765h-.008L12 22l5.903-9.235h-.007A6.971 6.971 0 0019 9zm-7 3a3 3 0 110-6 3 3 0 010 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},5683:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-notice-outline",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 4c4.411 0 8 3.589 8 8s-3.589 8-8 8-8-3.589-8-8 3.589-8 8-8m0-2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 13h-2v2h2v-2zm-2-2h2l.5-6h-3l.5 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},7489:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-notice",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm1 15h-2v-2h2v2zm0-4h-2l-.5-6h3l-.5 6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},4886:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-phone",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M16 2H8a2 2 0 00-2 2v16a2 2 0 002 2h8a2 2 0 002-2V4a2 2 0 00-2-2zm-3 19h-2v-1h2v1zm3-2H8V5h8v14z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},3115:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-plus-small",s,!!function(e){return 0==e%18}(n)&&"needs-offset",!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M18 11h-5V6h-2v5H6v2h5v5h2v-5h5z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},2908:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-search",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M21 19l-5.154-5.154a7 7 0 10-2 2L19 21l2-2zM5 10c0-2.757 2.243-5 5-5s5 2.243 5 5-2.243 5-5 5-5-2.243-5-5z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},8249:function(e,t,n){"use strict";t.Z=function(e){var t=e.size,n=void 0===t?24:t,r=e.onClick,s=(e.icon,e.className),l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],0<=t.indexOf(n)||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,a),c=["gridicon","gridicons-sync",s,!1,!1,!1].filter(Boolean).join(" ");return o.default.createElement("svg",i({className:c,height:n,width:n,onClick:r},l,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"}),o.default.createElement("g",null,o.default.createElement("path",{d:"M23.5 13.5l-3.086 3.086L19 18l-4.5-4.5 1.414-1.414L18 14.172V12c0-3.308-2.692-6-6-6V4a8 8 0 018 8v2.172l2.086-2.086L23.5 13.5zM6 12V9.828l2.086 2.086L9.5 10.5 5 6 3.586 7.414.5 10.5l1.414 1.414L4 9.828V12a8 8 0 008 8v-2c-3.308 0-6-2.692-6-6z"})))};var r,o=(r=n(9196))&&r.__esModule?r:{default:r},a=["size","onClick","icon","className"];function i(){return i=Object.assign||function(e){for(var t,n=1;n<arguments.length;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},i.apply(this,arguments)}},6928:function(e){e.exports=function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{},id:r,loaded:!1};return e[r].call(o.exports,o,o.exports,n),o.loaded=!0,o.exports}return n.m=e,n.c=t,n.p="",n(0)}([function(e,t,n){e.exports=n(1)},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=n(2);Object.defineProperty(t,"combineChunks",{enumerable:!0,get:function(){return r.combineChunks}}),Object.defineProperty(t,"fillInChunks",{enumerable:!0,get:function(){return r.fillInChunks}}),Object.defineProperty(t,"findAll",{enumerable:!0,get:function(){return r.findAll}}),Object.defineProperty(t,"findChunks",{enumerable:!0,get:function(){return r.findChunks}})},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findAll=function(e){var t=e.autoEscape,a=e.caseSensitive,i=void 0!==a&&a,s=e.findChunks,l=void 0===s?r:s,c=e.sanitize,u=e.searchWords,d=e.textToHighlight;return o({chunksToHighlight:n({chunks:l({autoEscape:t,caseSensitive:i,sanitize:c,searchWords:u,textToHighlight:d})}),totalLength:d?d.length:0})};var n=t.combineChunks=function(e){var t=e.chunks;return t.sort((function(e,t){return e.start-t.start})).reduce((function(e,t){if(0===e.length)return[t];var n=e.pop();if(t.start<=n.end){var r=Math.max(n.end,t.end);e.push({highlight:!1,start:n.start,end:r})}else e.push(n,t);return e}),[])},r=function(e){var t=e.autoEscape,n=e.caseSensitive,r=e.sanitize,o=void 0===r?a:r,i=e.searchWords,s=e.textToHighlight;return s=o(s),i.filter((function(e){return e})).reduce((function(e,r){r=o(r),t&&(r=r.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&"));for(var a=new RegExp(r,n?"g":"gi"),i=void 0;i=a.exec(s);){var l=i.index,c=a.lastIndex;c>l&&e.push({highlight:!1,start:l,end:c}),i.index===a.lastIndex&&a.lastIndex++}return e}),[])};t.findChunks=r;var o=t.fillInChunks=function(e){var t=e.chunksToHighlight,n=e.totalLength,r=[],o=function(e,t,n){t-e>0&&r.push({start:e,end:t,highlight:n})};if(0===t.length)o(0,n,!1);else{var a=0;t.forEach((function(e){o(a,e.start,!1),o(e.start,e.end,!0),a=e.end})),o(a,n,!1)}return r};function a(e){return e}}])},8679:function(e,t,n){"use strict";var r=n(9864),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,g=Object.getOwnPropertyDescriptor,p=Object.getPrototypeOf,f=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(f){var o=p(n);o&&o!==f&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),m=l(n),h=0;h<i.length;++h){var v=i[h];if(!(a[v]||r&&r[v]||m&&m[v]||s&&s[v])){var y=g(n,v);try{c(t,v,y)}catch(e){}}}}return t}},9016:function(e){"use strict";e.exports=function(e,t,n,r){e=(e+"").replace(/[^0-9+\-Ee.]/g,"");var o=isFinite(+e)?+e:0,a=isFinite(+t)?Math.abs(t):0,i=void 0===r?",":r,s=void 0===n?".":n,l="";return l=(a?function(e,t){if(-1===(""+e).indexOf("e"))return+(Math.round(e+"e+"+t)+"e-"+t);var n=(""+e).split("e"),r="";return+n[1]+t>0&&(r="+"),(+(Math.round(+n[0]+"e"+r+(+n[1]+t))+"e-"+t)).toFixed(t)}(o,a).toString():""+Math.round(o)).split("."),l[0].length>3&&(l[0]=l[0].replace(/\B(?=(?:\d{3})+(?!\d))/g,i)),(l[1]||"").length<a&&(l[1]=l[1]||"",l[1]+=new Array(a-l[1].length+1).join("0")),l.join(s)}},9588:function(e){e.exports=function(e,t){var n,r,o=0;function a(){var a,i,s=n,l=arguments.length;e:for(;s;){if(s.args.length===arguments.length){for(i=0;i<l;i++)if(s.args[i]!==arguments[i]){s=s.next;continue e}return s!==n&&(s===r&&(r=s.prev),s.prev.next=s.next,s.next&&(s.next.prev=s.prev),s.next=n,s.prev=null,n.prev=s,n=s),s.val}s=s.next}for(a=new Array(l),i=0;i<l;i++)a[i]=arguments[i];return s={args:a,val:e.apply(null,a)},n?(n.prev=s,s.next=n):r=s,o===t.maxSize?(r=r.prev).next=null:o++,n=s,s.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}},2441:function(e,t,n){var r;!function(o,a,i){if(o){for(var s,l={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},c={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},u={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},d={option:"alt",command:"meta",return:"enter",escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},g=1;g<20;++g)l[111+g]="f"+g;for(g=0;g<=9;++g)l[g+96]=g.toString();b.prototype.bind=function(e,t,n){var r=this;return e=e instanceof Array?e:[e],r._bindMultiple.call(r,e,t,n),r},b.prototype.unbind=function(e,t){return this.bind.call(this,e,(function(){}),t)},b.prototype.trigger=function(e,t){var n=this;return n._directMap[e+":"+t]&&n._directMap[e+":"+t]({},e),n},b.prototype.reset=function(){var e=this;return e._callbacks={},e._directMap={},e},b.prototype.stopCallback=function(e,t){if((" "+t.className+" ").indexOf(" mousetrap ")>-1)return!1;if(y(t,this.target))return!1;if("composedPath"in e&&"function"==typeof e.composedPath){var n=e.composedPath()[0];n!==e.target&&(t=n)}return"INPUT"==t.tagName||"SELECT"==t.tagName||"TEXTAREA"==t.tagName||t.isContentEditable},b.prototype.handleKey=function(){var e=this;return e._handleKey.apply(e,arguments)},b.addKeycodes=function(e){for(var t in e)e.hasOwnProperty(t)&&(l[t]=e[t]);s=null},b.init=function(){var e=b(a);for(var t in e)"_"!==t.charAt(0)&&(b[t]=function(t){return function(){return e[t].apply(e,arguments)}}(t))},b.init(),o.Mousetrap=b,e.exports&&(e.exports=b),void 0===(r=function(){return b}.call(t,n,t,e))||(e.exports=r)}function p(e,t,n){e.addEventListener?e.addEventListener(t,n,!1):e.attachEvent("on"+t,n)}function f(e){if("keypress"==e.type){var t=String.fromCharCode(e.which);return e.shiftKey||(t=t.toLowerCase()),t}return l[e.which]?l[e.which]:c[e.which]?c[e.which]:String.fromCharCode(e.which).toLowerCase()}function m(e){return"shift"==e||"ctrl"==e||"alt"==e||"meta"==e}function h(e,t,n){return n||(n=function(){if(!s)for(var e in s={},l)e>95&&e<112||l.hasOwnProperty(e)&&(s[l[e]]=e);return s}()[e]?"keydown":"keypress"),"keypress"==n&&t.length&&(n="keydown"),n}function v(e,t){var n,r,o,a=[];for(n=function(e){return"+"===e?["+"]:(e=e.replace(/\+{2}/g,"+plus")).split("+")}(e),o=0;o<n.length;++o)r=n[o],d[r]&&(r=d[r]),t&&"keypress"!=t&&u[r]&&(r=u[r],a.push("shift")),m(r)&&a.push(r);return{key:r,modifiers:a,action:t=h(r,a,t)}}function y(e,t){return null!==e&&e!==a&&(e===t||y(e.parentNode,t))}function b(e){var t=this;if(e=e||a,!(t instanceof b))return new b(e);t.target=e,t._callbacks={},t._directMap={};var n,r={},o=!1,i=!1,s=!1;function l(e){e=e||{};var t,n=!1;for(t in r)e[t]?n=!0:r[t]=0;n||(s=!1)}function c(e,n,o,a,i,s){var l,c,u,d,g=[],p=o.type;if(!t._callbacks[e])return[];for("keyup"==p&&m(e)&&(n=[e]),l=0;l<t._callbacks[e].length;++l)if(c=t._callbacks[e][l],(a||!c.seq||r[c.seq]==c.level)&&p==c.action&&("keypress"==p&&!o.metaKey&&!o.ctrlKey||(u=n,d=c.modifiers,u.sort().join(",")===d.sort().join(",")))){var f=!a&&c.combo==i,h=a&&c.seq==a&&c.level==s;(f||h)&&t._callbacks[e].splice(l,1),g.push(c)}return g}function u(e,n,r,o){t.stopCallback(n,n.target||n.srcElement,r,o)||!1===e(n,r)&&(function(e){e.preventDefault?e.preventDefault():e.returnValue=!1}(n),function(e){e.stopPropagation?e.stopPropagation():e.cancelBubble=!0}(n))}function d(e){"number"!=typeof e.which&&(e.which=e.keyCode);var n=f(e);n&&("keyup"!=e.type||o!==n?t.handleKey(n,function(e){var t=[];return e.shiftKey&&t.push("shift"),e.altKey&&t.push("alt"),e.ctrlKey&&t.push("ctrl"),e.metaKey&&t.push("meta"),t}(e),e):o=!1)}function g(e,a,i,d,p){t._directMap[e+":"+i]=a;var m,h=(e=e.replace(/\s+/g," ")).split(" ");h.length>1?function(e,t,a,i){function c(t){return function(){s=t,++r[e],clearTimeout(n),n=setTimeout(l,1e3)}}function d(t){u(a,t,e),"keyup"!==i&&(o=f(t)),setTimeout(l,10)}r[e]=0;for(var p=0;p<t.length;++p){var m=p+1===t.length?d:c(i||v(t[p+1]).action);g(t[p],m,i,e,p)}}(e,h,a,i):(m=v(e,i),t._callbacks[m.key]=t._callbacks[m.key]||[],c(m.key,m.modifiers,{type:m.action},d,e,p),t._callbacks[m.key][d?"unshift":"push"]({callback:a,modifiers:m.modifiers,action:m.action,seq:d,level:p,combo:e}))}t._handleKey=function(e,t,n){var r,o=c(e,t,n),a={},d=0,g=!1;for(r=0;r<o.length;++r)o[r].seq&&(d=Math.max(d,o[r].level));for(r=0;r<o.length;++r)if(o[r].seq){if(o[r].level!=d)continue;g=!0,a[o[r].seq]=1,u(o[r].callback,n,o[r].combo,o[r].seq)}else g||u(o[r].callback,n,o[r].combo);var p="keypress"==n.type&&i;n.type!=s||m(e)||p||l(a),i=g&&"keydown"==n.type},t._bindMultiple=function(e,t,n){for(var r=0;r<e.length;++r)g(e[r],t,n)},p(e,"keypress",d),p(e,"keydown",d),p(e,"keyup",d)}}("undefined"!=typeof window?window:null,"undefined"!=typeof window?document:null)},3956:function(){!function(e){if(e){var t={},n=e.prototype.stopCallback;e.prototype.stopCallback=function(e,r,o,a){return!!this.paused||!t[o]&&!t[a]&&n.call(this,e,r,o)},e.prototype.bindGlobal=function(e,n,r){if(this.bind(e,n,r),e instanceof Array)for(var o=0;o<e.length;o++)t[e[o]]=!0;else t[e]=!0},e.init()}}("undefined"!=typeof Mousetrap?Mousetrap:void 0)},7824:function(e){var t=1e3,n=60*t,r=60*n,o=24*r;function a(e,t,n,r){var o=t>=1.5*n;return Math.round(e/n)+" "+r+(o?"s":"")}e.exports=function(e,i){i=i||{};var s,l,c=typeof e;if("string"===c&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var a=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(a){var i=parseFloat(a[1]);switch((a[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*i;case"weeks":case"week":case"w":return 6048e5*i;case"days":case"day":case"d":return i*o;case"hours":case"hour":case"hrs":case"hr":case"h":return i*r;case"minutes":case"minute":case"mins":case"min":case"m":return i*n;case"seconds":case"second":case"secs":case"sec":case"s":return i*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return i;default:return}}}}(e);if("number"===c&&isFinite(e))return i.long?(s=e,(l=Math.abs(s))>=o?a(s,l,o,"day"):l>=r?a(s,l,r,"hour"):l>=n?a(s,l,n,"minute"):l>=t?a(s,l,t,"second"):s+" ms"):function(e){var a=Math.abs(e);return a>=o?Math.round(e/o)+"d":a>=r?Math.round(e/r)+"h":a>=n?Math.round(e/n)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},6470:function(e,t,n){"use strict";var r=n(4155);function o(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function a(e,t){for(var n,r="",o=0,a=-1,i=0,s=0;s<=e.length;++s){if(s<e.length)n=e.charCodeAt(s);else{if(47===n)break;n=47}if(47===n){if(a===s-1||1===i);else if(a!==s-1&&2===i){if(r.length<2||2!==o||46!==r.charCodeAt(r.length-1)||46!==r.charCodeAt(r.length-2))if(r.length>2){var l=r.lastIndexOf("/");if(l!==r.length-1){-1===l?(r="",o=0):o=(r=r.slice(0,l)).length-1-r.lastIndexOf("/"),a=s,i=0;continue}}else if(2===r.length||1===r.length){r="",o=0,a=s,i=0;continue}t&&(r.length>0?r+="/..":r="..",o=2)}else r.length>0?r+="/"+e.slice(a+1,s):r=e.slice(a+1,s),o=s-a-1;a=s,i=0}else 46===n&&-1!==i?++i:i=-1}return r}var i={resolve:function(){for(var e,t="",n=!1,i=arguments.length-1;i>=-1&&!n;i--){var s;i>=0?s=arguments[i]:(void 0===e&&(e=r.cwd()),s=e),o(s),0!==s.length&&(t=s+"/"+t,n=47===s.charCodeAt(0))}return t=a(t,!n),n?t.length>0?"/"+t:"/":t.length>0?t:"."},normalize:function(e){if(o(e),0===e.length)return".";var t=47===e.charCodeAt(0),n=47===e.charCodeAt(e.length-1);return 0!==(e=a(e,!t)).length||t||(e="."),e.length>0&&n&&(e+="/"),t?"/"+e:e},isAbsolute:function(e){return o(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,t=0;t<arguments.length;++t){var n=arguments[t];o(n),n.length>0&&(void 0===e?e=n:e+="/"+n)}return void 0===e?".":i.normalize(e)},relative:function(e,t){if(o(e),o(t),e===t)return"";if((e=i.resolve(e))===(t=i.resolve(t)))return"";for(var n=1;n<e.length&&47===e.charCodeAt(n);++n);for(var r=e.length,a=r-n,s=1;s<t.length&&47===t.charCodeAt(s);++s);for(var l=t.length-s,c=a<l?a:l,u=-1,d=0;d<=c;++d){if(d===c){if(l>c){if(47===t.charCodeAt(s+d))return t.slice(s+d+1);if(0===d)return t.slice(s+d)}else a>c&&(47===e.charCodeAt(n+d)?u=d:0===d&&(u=0));break}var g=e.charCodeAt(n+d);if(g!==t.charCodeAt(s+d))break;47===g&&(u=d)}var p="";for(d=n+u+1;d<=r;++d)d!==r&&47!==e.charCodeAt(d)||(0===p.length?p+="..":p+="/..");return p.length>0?p+t.slice(s+u):(s+=u,47===t.charCodeAt(s)&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(o(e),0===e.length)return".";for(var t=e.charCodeAt(0),n=47===t,r=-1,a=!0,i=e.length-1;i>=1;--i)if(47===(t=e.charCodeAt(i))){if(!a){r=i;break}}else a=!1;return-1===r?n?"/":".":n&&1===r?"//":e.slice(0,r)},basename:function(e,t){if(void 0!==t&&"string"!=typeof t)throw new TypeError('"ext" argument must be a string');o(e);var n,r=0,a=-1,i=!0;if(void 0!==t&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return"";var s=t.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!i){r=n+1;break}}else-1===l&&(i=!1,l=n+1),s>=0&&(c===t.charCodeAt(s)?-1==--s&&(a=n):(s=-1,a=l))}return r===a?a=l:-1===a&&(a=e.length),e.slice(r,a)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!i){r=n+1;break}}else-1===a&&(i=!1,a=n+1);return-1===a?"":e.slice(r,a)},extname:function(e){o(e);for(var t=-1,n=0,r=-1,a=!0,i=0,s=e.length-1;s>=0;--s){var l=e.charCodeAt(s);if(47!==l)-1===r&&(a=!1,r=s+1),46===l?-1===t?t=s:1!==i&&(i=1):-1!==t&&(i=-1);else if(!a){n=s+1;break}}return-1===t||-1===r||0===i||1===i&&t===r-1&&t===n+1?"":e.slice(t,r)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var n=t.dir||t.root,r=t.base||(t.name||"")+(t.ext||"");return n?n===t.root?n+r:n+"/"+r:r}(0,e)},parse:function(e){o(e);var t={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return t;var n,r=e.charCodeAt(0),a=47===r;a?(t.root="/",n=1):n=0;for(var i=-1,s=0,l=-1,c=!0,u=e.length-1,d=0;u>=n;--u)if(47!==(r=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===r?-1===i?i=u:1!==d&&(d=1):-1!==i&&(d=-1);else if(!c){s=u+1;break}return-1===i||-1===l||0===d||1===d&&i===l-1&&i===s+1?-1!==l&&(t.base=t.name=0===s&&a?e.slice(1,l):e.slice(s,l)):(0===s&&a?(t.name=e.slice(1,i),t.base=e.slice(1,l)):(t.name=e.slice(s,i),t.base=e.slice(s,l)),t.ext=e.slice(i,l)),s>0?t.dir=e.slice(0,s-1):a&&(t.dir="/"),t},sep:"/",delimiter:":",win32:null,posix:null};i.posix=i,e.exports=i},4155:function(e){var t,n,r=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===o||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(n){try{return t.call(null,e,0)}catch(n){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var s,l=[],c=!1,u=-1;function d(){c&&s&&(c=!1,s.length?l=s.concat(l):u=-1,l.length&&g())}function g(){if(!c){var e=i(d);c=!0;for(var t=l.length;t;){for(s=l,l=[];++u<t;)s&&s[u].run();u=-1,t=l.length}s=null,c=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(e);try{n(e)}catch(t){try{return n.call(null,e)}catch(t){return n.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function f(){}r.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new p(e,t)),1!==l.length||c||i(g)},p.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=f,r.addListener=f,r.once=f,r.off=f,r.removeListener=f,r.removeAllListeners=f,r.emit=f,r.prependListener=f,r.prependOnceListener=f,r.listeners=function(e){return[]},r.binding=function(e){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(e){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},2703:function(e,t,n){"use strict";var r=n(414);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){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 n={array:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},5697:function(e,t,n){e.exports=n(2703)()},414:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5798:function(e){"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},129:function(e,t,n){"use strict";var r=n(8261),o=n(5235),a=n(5798);e.exports={formats:a,parse:o,stringify:r}},5235:function(e,t,n){"use strict";var r=n(2769),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowPrototypes:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decoder:r.decode,delimiter:"&",depth:5,ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictNullHandling:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t){return e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1?e.split(","):e},c=function(e,t,n,r){if(e){var a=n.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e,i=/(\[[^[\]]*])/g,s=n.depth>0&&/(\[[^[\]]*])/.exec(a),c=s?a.slice(0,s.index):a,u=[];if(c){if(!n.plainObjects&&o.call(Object.prototype,c)&&!n.allowPrototypes)return;u.push(c)}for(var d=0;n.depth>0&&null!==(s=i.exec(a))&&d<n.depth;){if(d+=1,!n.plainObjects&&o.call(Object.prototype,s[1].slice(1,-1))&&!n.allowPrototypes)return;u.push(s[1])}return s&&u.push("["+a.slice(s.index)+"]"),function(e,t,n,r){for(var o=r?t:l(t,n),a=e.length-1;a>=0;--a){var i,s=e[a];if("[]"===s&&n.parseArrays)i=[].concat(o);else{i=n.plainObjects?Object.create(null):{};var c="["===s.charAt(0)&&"]"===s.charAt(s.length-1)?s.slice(1,-1):s,u=parseInt(c,10);n.parseArrays||""!==c?!isNaN(u)&&s!==c&&String(u)===c&&u>=0&&n.parseArrays&&u<=n.arrayLimit?(i=[])[u]=o:i[c]=o:i={0:o}}o=i}return o}(u,t,n,r)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var t=void 0===e.charset?i.charset:e.charset;return{allowDots:void 0===e.allowDots?i.allowDots:!!e.allowDots,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling}}(t);if(""===e||null==e)return n.plainObjects?Object.create(null):{};for(var u="string"==typeof e?function(e,t){var n,c={},u=t.ignoreQueryPrefix?e.replace(/^\?/,""):e,d=t.parameterLimit===1/0?void 0:t.parameterLimit,g=u.split(t.delimiter,d),p=-1,f=t.charset;if(t.charsetSentinel)for(n=0;n<g.length;++n)0===g[n].indexOf("utf8=")&&("utf8=%E2%9C%93"===g[n]?f="utf-8":"utf8=%26%2310003%3B"===g[n]&&(f="iso-8859-1"),p=n,n=g.length);for(n=0;n<g.length;++n)if(n!==p){var m,h,v=g[n],y=v.indexOf("]="),b=-1===y?v.indexOf("="):y+1;-1===b?(m=t.decoder(v,i.decoder,f,"key"),h=t.strictNullHandling?null:""):(m=t.decoder(v.slice(0,b),i.decoder,f,"key"),h=r.maybeMap(l(v.slice(b+1),t),(function(e){return t.decoder(e,i.decoder,f,"value")}))),h&&t.interpretNumericEntities&&"iso-8859-1"===f&&(h=s(h)),v.indexOf("[]=")>-1&&(h=a(h)?[h]:h),o.call(c,m)?c[m]=r.combine(c[m],h):c[m]=h}return c}(e,n):e,d=n.plainObjects?Object.create(null):{},g=Object.keys(u),p=0;p<g.length;++p){var f=g[p],m=c(f,u[f],n,"string"==typeof e);d=r.merge(d,m,n)}return r.compact(d)}},8261:function(e,t,n){"use strict";var r=n(2769),o=n(5798),a=Object.prototype.hasOwnProperty,i={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},s=Array.isArray,l=Array.prototype.push,c=function(e,t){l.apply(e,s(t)?t:[t])},u=Date.prototype.toISOString,d=o.default,g={addQueryPrefix:!1,allowDots:!1,charset:"utf-8",charsetSentinel:!1,delimiter:"&",encode:!0,encoder:r.encode,encodeValuesOnly:!1,format:d,formatter:o.formatters[d],indices:!1,serializeDate:function(e){return u.call(e)},skipNulls:!1,strictNullHandling:!1},p=function e(t,n,o,a,i,l,u,d,p,f,m,h,v,y){var b,_=t;if("function"==typeof u?_=u(n,_):_ instanceof Date?_=f(_):"comma"===o&&s(_)&&(_=r.maybeMap(_,(function(e){return e instanceof Date?f(e):e}))),null===_){if(a)return l&&!v?l(n,g.encoder,y,"key",m):n;_=""}if("string"==typeof(b=_)||"number"==typeof b||"boolean"==typeof b||"symbol"==typeof b||"bigint"==typeof b||r.isBuffer(_))return l?[h(v?n:l(n,g.encoder,y,"key",m))+"="+h(l(_,g.encoder,y,"value",m))]:[h(n)+"="+h(String(_))];var w,E=[];if(void 0===_)return E;if("comma"===o&&s(_))w=[{value:_.length>0?_.join(",")||null:void 0}];else if(s(u))w=u;else{var $=Object.keys(_);w=d?$.sort(d):$}for(var C=0;C<w.length;++C){var k=w[C],S="object"==typeof k&&void 0!==k.value?k.value:_[k];if(!i||null!==S){var x=s(_)?"function"==typeof o?o(n,k):n:n+(p?"."+k:"["+k+"]");c(E,e(S,x,o,a,i,l,u,d,p,f,m,h,v,y))}}return E};e.exports=function(e,t){var n,r=e,l=function(e){if(!e)return g;if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||g.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=o.default;if(void 0!==e.format){if(!a.call(o.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r=o.formatters[n],i=g.filter;return("function"==typeof e.filter||s(e.filter))&&(i=e.filter),{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:g.addQueryPrefix,allowDots:void 0===e.allowDots?g.allowDots:!!e.allowDots,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:g.charsetSentinel,delimiter:void 0===e.delimiter?g.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:g.encode,encoder:"function"==typeof e.encoder?e.encoder:g.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:g.encodeValuesOnly,filter:i,format:n,formatter:r,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:g.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:g.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:g.strictNullHandling}}(t);"function"==typeof l.filter?r=(0,l.filter)("",r):s(l.filter)&&(n=l.filter);var u,d=[];if("object"!=typeof r||null===r)return"";u=t&&t.arrayFormat in i?t.arrayFormat:t&&"indices"in t?t.indices?"indices":"repeat":"indices";var f=i[u];n||(n=Object.keys(r)),l.sort&&n.sort(l.sort);for(var m=0;m<n.length;++m){var h=n[m];l.skipNulls&&null===r[h]||c(d,p(r[h],h,f,l.strictNullHandling,l.skipNulls,l.encode?l.encoder:null,l.filter,l.sort,l.allowDots,l.serializeDate,l.format,l.formatter,l.encodeValuesOnly,l.charset))}var v=d.join(l.delimiter),y=!0===l.addQueryPrefix?"?":"";return l.charsetSentinel&&("iso-8859-1"===l.charset?y+="utf8=%26%2310003%3B&":y+="utf8=%E2%9C%93&"),v.length>0?y+v:""}},2769:function(e,t,n){"use strict";var r=n(5798),o=Object.prototype.hasOwnProperty,a=Array.isArray,i=function(){for(var e=[],t=0;t<256;++t)e.push("%"+((t<16?"0":"")+t.toString(16)).toUpperCase());return e}(),s=function(e,t){for(var n=t&&t.plainObjects?Object.create(null):{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n};e.exports={arrayToObject:s,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t){return[].concat(e,t)},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],i=o.obj[o.prop],s=Object.keys(i),l=0;l<s.length;++l){var c=s[l],u=i[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t.push({obj:i,prop:c}),n.push(u))}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(a(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&r.push(n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){if(0===e.length)return e;var s=e;if("symbol"==typeof e?s=Symbol.prototype.toString.call(e):"string"!=typeof e&&(s=String(e)),"iso-8859-1"===n)return escape(s).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var l="",c=0;c<s.length;++c){var u=s.charCodeAt(c);45===u||46===u||95===u||126===u||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122||a===r.RFC1738&&(40===u||41===u)?l+=s.charAt(c):u<128?l+=i[u]:u<2048?l+=i[192|u>>6]+i[128|63&u]:u<55296||u>=57344?l+=i[224|u>>12]+i[128|u>>6&63]+i[128|63&u]:(c+=1,u=65536+((1023&u)<<10|1023&s.charCodeAt(c)),l+=i[240|u>>18]+i[128|u>>12&63]+i[128|u>>6&63]+i[128|63&u])}return l},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},maybeMap:function(e,t){if(a(e)){for(var n=[],r=0;r<e.length;r+=1)n.push(t(e[r]));return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n){if(a(t))t.push(n);else{if(!t||"object"!=typeof t)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!o.call(Object.prototype,n))&&(t[n]=!0)}return t}if(!t||"object"!=typeof t)return[t].concat(n);var i=t;return a(t)&&!a(n)&&(i=s(t,r)),a(t)&&a(n)?(n.forEach((function(n,a){if(o.call(t,a)){var i=t[a];i&&"object"==typeof i&&n&&"object"==typeof n?t[a]=e(i,n,r):t.push(n)}else t[a]=n})),t):Object.keys(n).reduce((function(t,a){var i=n[a];return o.call(t,a)?t[a]=e(t[a],i,r):t[a]=i,t}),i)}}},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,g=n?Symbol.for("react.forward_ref"):60112,p=n?Symbol.for("react.suspense"):60113,f=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,h=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,y=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,_=n?Symbol.for("react.scope"):60119;function w(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case p:return e;default:switch(e=e&&e.$$typeof){case c:case g:case h:case m:case l:return e;default:return t}}case o:return t}}}function E(e){return w(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=g,t.Fragment=a,t.Lazy=h,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=p,t.isAsyncMode=function(e){return E(e)||w(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return w(e)===c},t.isContextProvider=function(e){return w(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return w(e)===g},t.isFragment=function(e){return w(e)===a},t.isLazy=function(e){return w(e)===h},t.isMemo=function(e){return w(e)===m},t.isPortal=function(e){return w(e)===o},t.isProfiler=function(e){return w(e)===s},t.isStrictMode=function(e){return w(e)===i},t.isSuspense=function(e){return w(e)===p},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===p||e===f||"object"==typeof e&&null!==e&&(e.$$typeof===h||e.$$typeof===m||e.$$typeof===l||e.$$typeof===c||e.$$typeof===g||e.$$typeof===y||e.$$typeof===b||e.$$typeof===_||e.$$typeof===v)},t.typeOf=w},9864:function(e,t,n){"use strict";e.exports=n(9921)},5464:function(e,t,n){var r=n(9196),o={display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},a=function(e){var t=e.onResize,n=r.useRef();return function(e,t){var n=function(){return e.current&&e.current.contentDocument&&e.current.contentDocument.defaultView};function o(){t();var e=n();e&&e.addEventListener("resize",t)}r.useEffect((function(){return n()?o():e.current&&e.current.addEventListener&&e.current.addEventListener("load",o),function(){var e=n();e&&"function"==typeof e.removeEventListener&&e.removeEventListener("resize",t)}}),[])}(n,(function(){return t(n)})),r.createElement("iframe",{style:o,src:"about:blank",ref:n,"aria-hidden":!0,tabIndex:-1,frameBorder:0})},i=function(e){return{width:null!=e?e.offsetWidth:null,height:null!=e?e.offsetHeight:null}};e.exports=function(e){void 0===e&&(e=i);var t=r.useState(e(null)),n=t[0],o=t[1],s=r.useCallback((function(t){return o(e(t.current))}),[e]);return[r.useMemo((function(){return r.createElement(a,{onResize:s})}),[s]),n]}},3272:function(e,t,n){"use strict";var r,o={},a=n(9670);function i(e,t){o[e]=function(e,t){return e in r?r[e]:t}(e,t)}e.exports.configure=function(e,t,n){if(r=e||{},n=n||{},i("autoRename",!1),i("autoRenameStrict",!1),i("blacklist",{}),i("clean",!0),i("greedy",!1),i("processUrls",!1),i("stringMap",[]),i("useCalc",!1),Array.isArray(o.stringMap)){for(var s,l,c=0;c<o.stringMap.length;c++){var u=o.stringMap[c];if(s&&l)break;"left-right"===u.name?s=!0:"ltr-rtl"===u.name&&(l=!0)}s||o.stringMap.push({name:"left-right",priority:100,exclusive:!1,search:["left","Left","LEFT"],replace:["right","Right","RIGHT"],options:{scope:"*",ignoreCase:!1}}),l||o.stringMap.push({name:"ltr-rtl",priority:100,exclusive:!1,search:["ltr","Ltr","LTR"],replace:["rtl","Rtl","RTL"],options:{scope:"*",ignoreCase:!1}}),o.stringMap.sort((function(e,t){return e.priority-t.priority}))}return o.plugins=[],Array.isArray(t)?(t.some((function(e){return"rtlcss"===e.name}))||o.plugins.push(a),o.plugins=o.plugins.concat(t)):t&&"rtlcss"===t.name||o.plugins.push(a),o.plugins.sort((function(e,t){return e.priority-t.priority})),o.hooks={pre:function(){},post:function(){}},"function"==typeof n.pre&&(o.hooks.pre=n.pre),"function"==typeof n.post&&(o.hooks.post=n.post),o}},5915:function(e){e.exports=function(e){var t,n=0,r=e.text,o=r.match(/^\s*!?\s*rtl:/);return o&&(t={source:e,name:"",param:"",begin:!0,end:!0,blacklist:!1,preserve:!1},(n=(r=r.slice(o[0].length)).indexOf(":"))>-1?(t.name=r.slice(0,n),t.begin="end"!==t.name,t.end="begin"!==t.name,"begin"===t.name||"end"===t.name?(n=(r=r.slice(t.name.length+1)).indexOf(":"))>-1?(t.name=r.slice(0,n),r=r.slice(n),t.param=r.slice(1)):t.name=r:t.param=r.slice(n+1)):t.name=r),t}},9670:function(module,__unused_webpack_exports,__webpack_require__){"use strict";var config=__webpack_require__(3272),util=__webpack_require__(8805);module.exports={name:"rtlcss",priority:100,directives:{control:{ignore:{expect:{atrule:!0,comment:!0,decl:!0,rule:!0},endNode:null,begin:function(e,t,n){if(!this.endNode&&t.begin&&t.end){for(var r=e;r&&r.nodes;)r=r.nodes[r.nodes.length-1];this.endNode=r}var o=!0;return"comment"===e.type&&e.text.match(/^\s*!?\s*rtl:end:ignore/)&&(o=!1),o},end:function(e,t,n){return!!(t.begin!==t.end&&"comment"===e.type||t.begin&&t.end&&e===this.endNode)&&(this.endNode=null,!0)}},rename:{expect:{rule:!0},begin:function(e,t,n){return e.selector=n.util.applyStringMap(e.selector,!1),!1},end:function(e,t){return!0}},raw:{expect:{self:!0},begin:function(e,t,n){var r=n.postcss.parse(t.param,{from:e.source.input.from});return e.parent.insertBefore(e,r),!0},end:function(e,t){return!0}},remove:{expect:{atrule:!0,rule:!0,decl:!0},begin:function(e,t,n){var r=!1;switch(e.type){case"atrule":case"rule":case"decl":r=!0,e.remove()}return r},end:function(e,t,n){return!0}},options:{expect:{self:!0},stack:[],begin:function(e,t,n){var r;this.stack.push(util.extend({},n.config));try{r=JSON.parse(t.param)}catch(t){throw e.error("Invlaid options object",{details:t})}return n.config=config.configure(r,n.config.plugins),n.util=util.configure(n.config),!0},end:function(e,t,n){var r=this.stack.pop();return r&&!t.begin&&(n.config=r,n.util=util.configure(n.config)),!0}},config:{expect:{self:!0},expr:{fn:/function([^\(]*)\(([^\(\)]*?)\)[^\{]*\{([^]*)\}/gi,rx:/\/([^\/]*)\/(.*)/gi},stack:[],begin:function(node,metadata,context){var configuration;this.stack.push(util.extend({},context.config));try{configuration=eval("("+metadata.param+")")}catch(e){throw node.error("Invlaid config object",{details:e})}return context.config=config.configure(configuration.options,configuration.plugins),context.util=util.configure(context.config),!0},end:function(e,t,n){var r=this.stack.pop();return r&&!t.begin&&(n.config=r,n.util=util.configure(n.config)),!0}}},value:[{name:"ignore",action:function(e,t,n){return!0}},{name:"prepend",action:function(e,t,n){var r="";return e.raws.value.raw.replace(t,(function(e,t){r+=t})),e.value=e.raws.value.raw=r+e.raws.value.raw,!0}},{name:"append",action:function(e,t,n){return e.value=e.raws.value.raw=e.raws.value.raw.replace(t,(function(e,t){return e+t})),!0}},{name:"insert",action:function(e,t,n){return e.value=e.raws.value.raw=e.raws.value.raw.replace(t,(function(e,t){return t+e})),!0}},{name:"",action:function(e,t,n){return e.raws.value.raw.replace(t,(function(t,n){e.value=e.raws.value.raw=n+t})),!0}}]},processors:[{name:"variable",expr:/^--/im,action:function(e,t){return{prop:e,value:t}}},{name:"direction",expr:/direction/im,action:function(e,t,n){return{prop:e,value:n.util.swapLtrRtl(t)}}},{name:"left",expr:/left/im,action:function(e,t,n){return{prop:e.replace(this.expr,(function(){return"right"})),value:t}}},{name:"right",expr:/right/im,action:function(e,t,n){return{prop:e.replace(this.expr,(function(){return"left"})),value:t}}},{name:"four-value syntax",expr:/^(margin|padding|border-(color|style|width))$/gi,cache:null,action:function(e,t,n){null===this.cache&&(this.cache={match:/[^\s\uFFFD]+/g});var r=n.util.guardFunctions(t),o=r.value.match(this.cache.match);if(o&&4===o.length&&(r.store.length>0||o[1]!==o[3])){var a=0;r.value=r.value.replace(this.cache.match,(function(){return o[(4-a++)%4]}))}return{prop:e,value:n.util.unguardFunctions(r)}}},{name:"border radius",expr:/border-radius/gi,cache:null,flip:function(e){var t,n=e.match(this.cache.match);if(n)switch(n.length){case 2:t=1,n[0]!==n[1]&&(e=e.replace(this.cache.match,(function(){return n[t--]})));break;case 3:e=e.replace(this.cache.white,(function(e){return e+n[1]+" "}));break;case 4:t=0,n[0]===n[1]&&n[2]===n[3]||(e=e.replace(this.cache.match,(function(){return n[(5-t++)%4]})))}return e},action:function(e,t,n){null===this.cache&&(this.cache={match:/[^\s\uFFFD]+/g,slash:/[^\/]+/g,white:/(^\s*)/});var r=n.util.guardFunctions(t);return r.value=r.value.replace(this.cache.slash,function(e){return this.flip(e)}.bind(this)),{prop:e,value:n.util.unguardFunctions(r)}}},{name:"shadow",expr:/shadow/gi,cache:null,action:function(e,t,n){null===this.cache&&(this.cache={replace:/[^,]+/g});var r=n.util.guardHexColors(t),o=n.util.guardFunctions(r.value);return o.value=o.value.replace(this.cache.replace,(function(e){return n.util.negate(e)})),r.value=n.util.unguardFunctions(o),{prop:e,value:n.util.unguardHexColors(r)}}},{name:"transform and perspective origin",expr:/(?:transform|perspective)-origin/gi,cache:null,flip:function(e,t){return"0"===e?e="100%":e.match(this.cache.percent)?e=t.util.complement(e):e.match(this.cache.length)&&(e=t.util.flipLength(e)),e},action:function(e,t,n){if(null===this.cache&&(this.cache={match:n.util.regex(["calc","percent","length"],"g"),percent:n.util.regex(["calc","percent"],"i"),length:n.util.regex(["length"],"gi"),xKeyword:/(left|right)/i}),t.match(this.cache.xKeyword))t=n.util.swapLeftRight(t);else{var r=n.util.guardFunctions(t),o=r.value.match(this.cache.match);o&&o.length>0&&(o[0]=this.flip(o[0],n),r.value=r.value.replace(this.cache.match,(function(){return o.shift()})),t=n.util.unguardFunctions(r))}return{prop:e,value:t}}},{name:"transform",expr:/^(?!text\-).*?transform$/gi,cache:null,flip:function(e,t,n){var r=0;return e.replace(this.cache.unit,(function(e){return t(++r,e)}))},flipMatrix:function(e,t){return this.flip(e,(function(e,n){return 2===e||3===e||5===e?t.util.negate(n):n}),t)},flipMatrix3D:function(e,t){return this.flip(e,(function(e,n){return 2===e||4===e||5===e||13===e?t.util.negate(n):n}),t)},flipRotate3D:function(e,t){return this.flip(e,(function(e,n){return 1===e||4===e?t.util.negate(n):n}),t)},action:function(e,t,n){null===this.cache&&(this.cache={negatable:/((translate)(x|3d)?|rotate(z|y)?)$/gi,unit:n.util.regex(["calc","number"],"g"),matrix:/matrix$/i,matrix3D:/matrix3d$/i,skewXY:/skew(x|y)?$/i,rotate3D:/rotate3d$/i});var r=n.util.guardFunctions(t);return{prop:e,value:n.util.unguardFunctions(r,function(e,t){return t.length&&(t.match(this.cache.matrix3D)?e=this.flipMatrix3D(e,n):t.match(this.cache.matrix)?e=this.flipMatrix(e,n):t.match(this.cache.rotate3D)?e=this.flipRotate3D(e,n):t.match(this.cache.skewXY)?e=n.util.negateAll(e):t.match(this.cache.negatable)&&(e=n.util.negate(e))),e}.bind(this))}}},{name:"transition",expr:/transition(-property)?$/i,action:function(e,t,n){return{prop:e,value:n.util.swapLeftRight(t)}}},{name:"background",expr:/background(-position(-x)?|-image)?$/i,cache:null,flip:function(e,t){var n=util.saveTokens(e,!0),r=n.value.match(this.cache.match);if(r&&r.length>0){var o=(n.value.match(this.cache.position)||"").length;r.length>=3||2===o?n.value=util.swapLeftRight(n.value):(r[0]="0"===r[0]?"100%":r[0].match(this.cache.percent)?t.util.complement(r[0]):r[0].match(this.cache.length)?t.util.flipLength(r[0]):t.util.swapLeftRight(r[0]),n.value=n.value.replace(this.cache.match,(function(){return r.shift()})))}return util.restoreTokens(n)},update:function(e,t,n){return n.match(this.cache.gradient)?(t=e.util.swapLeftRight(t)).match(this.cache.angle)&&(t=e.util.negate(t)):(!0===e.config.processUrls||!0===e.config.processUrls.decl&&n.match(this.cache.url))&&(t=e.util.applyStringMap(t,!0)),t},action:function(e,t,n){null===this.cache&&(this.cache={match:n.util.regex(["position","percent","length","calc"],"ig"),percent:n.util.regex(["calc","percent"],"i"),position:n.util.regex(["position"],"g"),length:n.util.regex(["length"],"gi"),gradient:/gradient$/i,angle:/\d+(deg|g?rad|turn)/i,url:/^url/i});var r=n.util.guardHexColors(t),o=n.util.guardFunctions(r.value),a=o.value.split(",");if("background-image"!==e.toLowerCase())for(var i=0;i<a.length;i++)a[i]=this.flip(a[i],n);return o.value=a.join(","),r.value=n.util.unguardFunctions(o,this.update.bind(this,n)),{prop:e,value:n.util.unguardHexColors(r)}}},{name:"keyword",expr:/float|clear|text-align/i,action:function(e,t,n){return{prop:e,value:n.util.swapLeftRight(t)}}},{name:"cursor",expr:/cursor/i,cache:null,update:function(e,t,n){return(!0===e.config.processUrls||!0===e.config.processUrls.decl&&n.match(this.cache.url))&&(t=e.util.applyStringMap(t,!0)),t},flip:function(e){return e.replace(this.cache.replace,function(e,t){return e.replace(t,t.replace(this.cache.e,"*").replace(this.cache.w,"e").replace(this.cache.star,"w"))}.bind(this))},action:function(e,t,n){null===this.cache&&(this.cache={replace:/\b(ne|nw|se|sw|nesw|nwse)-resize/gi,url:/^url/i,e:/e/i,w:/w/i,star:/\*/i});for(var r=n.util.guardFunctions(t),o=r.value.split(","),a=0;a<o.length;a++)o[a]=this.flip(o[a]);return r.value=o.join(","),{prop:e,value:n.util.unguardFunctions(r,this.update.bind(this,n))}}}]}},8314:function(e,t,n){"use strict";var r=n(5344),o=n(3028),a=n(3272),i=n(8805);e.exports=r.plugin("rtlcss",(function(e,t,n){var s=a.configure(e,t,n),l={postcss:r,config:s,util:i.configure(s)};return function(e,t){var n=0,a={};l.config.hooks.pre(e,r),e.walk((function(e){var r=!1;if(o.walk((function(t){!t.metadata.blacklist&&t.directive.expect[e.type]&&(t.directive.begin(e,t.metadata,l)&&(r=!0),t.metadata.end&&t.directive.end(e,t.metadata,l)&&o.pop(t))})),!1===r)switch(e.type){case"atrule":if(!0===l.config.processUrls||!0===l.config.processUrls.atrule){var i=l.util.applyStringMap(e.params,!0);e.params=i}break;case"comment":o.parse(e,t,(function(n){var r=!0;return null===n.directive&&(n.preserve=!l.config.clean,l.util.each(l.config.plugins,(function(e){var o=l.config.blacklist[e.name];return o&&!0===o[n.metadata.name]?(n.metadata.blacklist=!0,n.metadata.end&&(r=!1),n.metadata.begin&&t.warn('directive "'+e.name+"."+n.metadata.name+'" is blacklisted.',{node:n.source}),!1):(n.directive=e.directives.control[n.metadata.name],!n.directive&&void 0)}))),n.directive?!n.metadata.begin&&n.metadata.end?(n.directive.end(e,n.metadata,l)&&o.pop(n),r=!1):n.directive.expect.self&&n.directive.begin(e,n.metadata,l)&&n.metadata.end&&n.directive.end(e,n.metadata,l)&&(r=!1):n.metadata.blacklist||(r=!1,t.warn('unsupported directive "'+n.metadata.name+'".',{node:n.source})),r}));break;case"decl":if(!l.util.each(l.config.plugins,(function(t){return l.util.each(t.directives.value,(function(t){if(e.raws.value&&e.raws.value.raw){var r=l.util.regexDirective(t.name);if(r.test(e.raws.value.raw)&&(r.lastIndex=0,t.action(e,r,l)))return l.config.clean&&(e.value=e.raws.value.raw=l.util.trimDirective(e.raws.value.raw)),n++,!1}}))})))break;if(l.util.each(l.config.plugins,(function(t){return l.util.each(t.processors,(function(t){if(e.prop.match(t.expr)){var r=e.raws.value&&e.raws.value.raw?e.raws.value.raw:e.value,o=l.util.saveComments(r),a=t.action(e.prop,o.value,l);return o.value=a.value,a.value=l.util.restoreComments(o),a.prop===e.prop&&a.value===r||(n++,e.prop=a.prop,e.value=a.value),!1}}))})),l.config.autoRename&&!n&&"rule"===e.parent.type&&l.util.isLastOfType(e)){var s=l.util.applyStringMap(e.parent.selector);if(!0===l.config.autoRenameStrict){var c=a[s];c?(c.selector=e.parent.selector,e.parent.selector=s):a[e.parent.selector]=e.parent}else e.parent.selector=s}break;case"rule":n=0}})),o.walk((function(e){t.warn('unclosed directive "'+e.metadata.name+'".',{node:e.source})})),Object.keys(a).forEach((function(e){t.warn("renaming skipped due to lack of a matching pair.",{node:a[e]})})),l.config.hooks.post(e,r)}})),e.exports.process=function(e,t,n,o){return r([this(t,n,o)]).process(e).css},e.exports.configure=function(e){return r([this((e=e||{}).options,e.plugins,e.hooks)])}},3028:function(e,t,n){"use strict";var r=n(5915);e.exports={stack:[],pop:function(e){var t=this.stack.indexOf(e);-1!==t&&this.stack.splice(t,1),e.preserve||e.source.remove()},parse:function(e,t,n){var o,a=r(e);a&&(!a.begin&&a.end?this.walk(function(t){if(a.name===t.metadata.name)return this.pop(t),o={metadata:a,directive:t.directive,source:e,preserve:t.preserve},!1}.bind(this)):o={metadata:a,directive:null,source:e,preserve:null},void 0===o?t.warn('found end "'+a.name+'" without a matching begin.',{node:e}):n(o)?this.stack.push(o):o.preserve||o.source.remove())},walk:function(e){for(var t=this.stack.length;--t>-1&&e(this.stack[t]););}}},8805:function(e){"use strict";var t,n="»",r=new RegExp("�","ig"),o=new RegExp("¤","ig"),a="(calc¤)|(\\-?(\\d*?\\.\\d+|\\d+))(?!d\\()",i=/\/\*[^]*?\*\//gim,s=/\/\*\s*(?:!)?\s*rtl:[^]*?\*\//gim,l=/[.*+?^${}()|[\]\\]/g,c=/\([^\(\)]+\)/i,u=/#[a-f0-9]{3,6}/gi,d=/calc/,g=new RegExp("«\\d+:\\d+»","ig"),p=new RegExp("\\w*?«\\d+:\\d+»","ig"),f=new RegExp(a,"i"),m=new RegExp(a,"ig"),h=new RegExp(a,"i"),v={scope:"*",ignoreCase:!0},y=0;function b(e){return e.replace(l,"\\$&")}e.exports={extend:function(e,t){for(var n in void 0!==e&&"object"==typeof e||(e={}),t)e.hasOwnProperty(n)||(e[n]=t[n]);return e},swap:function(e,n,r,o){var a=b(n)+"|"+b(r);((o=o||v).hasOwnProperty("greedy")?o.greedy:t.greedy)||(a="\\b("+a+")\\b");var i=o.ignoreCase?"img":"mg";return e.replace(new RegExp(a,i),(function(e){return t=e,a=n,(o.ignoreCase?t.toLowerCase()===a.toLowerCase():t===a)?r:n;var t,a}))},swapLeftRight:function(e){return this.swap(e,"left","right")},swapLtrRtl:function(e){return this.swap(e,"ltr","rtl")},applyStringMap:function(e,n){for(var r=e,o=0;o<t.stringMap.length;o++){var a=t.stringMap[o],i=this.extend(a.options,v);if("*"===i.scope||n&&"url"===i.scope||!n&&"selector"===i.scope){if(Array.isArray(a.search)&&Array.isArray(a.replace))for(var s=0;s<a.search.length;s++)r=this.swap(r,a.search[s],a.replace[s%a.search.length],i);else r=this.swap(r,a.search,a.replace,i);if(!0===a.exclusive)break}}return r},negate:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(h,(function(e){return o.test(e)?e.replace(o,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},negateAll:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(m,(function(e){return o.test(e)?e.replace(o,(function(e){return"(-1*"+e+")"})):-1*parseFloat(e,10)})),this.restoreTokens(t)},complement:function(e){var t=this.saveTokens(e);return t.value=t.value.replace(f,(function(e){return o.test(e)?e.replace(o,(function(e){return"(100% - "+e+")"})):100-parseFloat(e,10)})),this.restoreTokens(t)},flipLength:function(e){return t.useCalc?"calc(100% - "+e+")":e},save:function(e,t,n,r,o){var a={value:t,store:[],replacement:n,restorer:r};return a.value=a.value.replace(e,(function(e){return o&&e.match(o)?e:(a.store.push(e),a.replacement)})),a},restore:function(e){var t=0,n=e.value.replace(e.restorer,(function(){return e.store[t++]}));return e.store.length=0,n},saveComments:function(e){return this.save(i,e,"�",r)},restoreComments:function(e){return this.restore(e)},saveTokens:function(e,t){return!0===t?this.save(p,e,"¤",o,d):this.save(g,e,"¤",o)},restoreTokens:function(e){return this.restore(e)},guard:function(e,t,r){var o={value:t,store:[],offset:y++,token:"«"+y,indexed:!0===r};if(!0===o.indexed)for(;e.test(o.value);)o.value=o.value.replace(e,(function(e){return o.store.push(e),o.token+":"+o.store.length+n}));else o.value=o.value.replace(e,(function(e){return o.store.push(e),o.token+n}));return o},unguard:function(e,t){if(!0===e.indexed){for(var r=new RegExp("(\\w*?)"+e.token+":(\\d+)"+n,"i");r.test(e.value);)e.value=e.value.replace(r,(function(n,r,o){var a=e.store[o-1];return"function"==typeof t?r+t(a,r):r+a}));return e.value}return e.value.replace(new RegExp("(\\w*?)"+e.token+n,"i"),(function(n,r){var o=e.store.shift();return"function"==typeof t?r+t(o,r):r+o}))},guardHexColors:function(e){return this.guard(u,e,!0)},unguardHexColors:function(e,t){return this.unguard(e,t)},guardFunctions:function(e){return this.guard(c,e,!0)},unguardFunctions:function(e,t){return this.unguard(e,t)},trimDirective:function(e){return e.replace(s,"")},regexCache:{},regexDirective:function(e){return this.regexCache[e]=this.regexCache[e]||new RegExp("(?:\\/\\*\\s*(?:!)?\\s*rtl:"+(e?b(e)+"(?::)?":"")+")([^]*?)(?:\\*\\/)","img"),this.regexCache[e]},regex:function(e,t){e=e||[];for(var n="",r=0;r<e.length;r++)switch(e[r]){case"percent":n+="|(\\-?(\\d*?\\.\\d+|\\d+)%)";break;case"length":n+="|(\\-?(\\d*?\\.\\d+|\\d+))(?:ex|ch|r?em|vh|vw|vmin|vmax|px|mm|cm|in|pt|pc)?";break;case"number":n+="|(\\-?(\\d*?\\.\\d+|\\d+))";break;case"position":n+="|(left|center|right|top|bottom)";break;case"calc":n+="|(calc«\\d+:\\d+»)"}return new RegExp(n.slice(1),t)},isLastOfType:function(e){for(var t=!0,n=e.next();n;){if(n&&n.type===e.type){t=!1;break}n=n.next()}return t},each:function(e,t){for(var n=0;n<e.length;n++)if(!1===t(e[n]))return!1;return!0}},e.exports.configure=function(e){return t=e,this}},8090:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="atrule",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),t.prototype.append=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.append).call.apply(t,[this].concat(r))},t.prototype.prepend=function(){var t;this.nodes||(this.nodes=[]);for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.prototype.prepend).call.apply(t,[this].concat(r))},t}(((r=n(2146))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},2282:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="comment",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),t}(((r=n(3200))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},2146:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(3118)),a=i(n(2282));function i(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(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 c(e){return e.map((function(e){return e.nodes&&(e.nodes=c(e.nodes)),delete e.source,e}))}var u=function(e){function t(){return s(this,t),l(this,e.apply(this,arguments))}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),t.prototype.push=function(e){return e.parent=this,this.nodes.push(e),this},t.prototype.each=function(e){this.lastEach||(this.lastEach=0),this.indexes||(this.indexes={}),this.lastEach+=1;var t=this.lastEach;if(this.indexes[t]=0,this.nodes){for(var n=void 0,r=void 0;this.indexes[t]<this.nodes.length&&(n=this.indexes[t],!1!==(r=e(this.nodes[n],n)));)this.indexes[t]+=1;return delete this.indexes[t],r}},t.prototype.walk=function(e){return this.each((function(t,n){var r=e(t,n);return!1!==r&&t.walk&&(r=t.walk(e)),r}))},t.prototype.walkDecls=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("decl"===n.type&&e.test(n.prop))return t(n,r)})):this.walk((function(n,r){if("decl"===n.type&&n.prop===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("decl"===e.type)return t(e,n)})))},t.prototype.walkRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("rule"===n.type&&e.test(n.selector))return t(n,r)})):this.walk((function(n,r){if("rule"===n.type&&n.selector===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("rule"===e.type)return t(e,n)})))},t.prototype.walkAtRules=function(e,t){return t?e instanceof RegExp?this.walk((function(n,r){if("atrule"===n.type&&e.test(n.name))return t(n,r)})):this.walk((function(n,r){if("atrule"===n.type&&n.name===e)return t(n,r)})):(t=e,this.walk((function(e,n){if("atrule"===e.type)return t(e,n)})))},t.prototype.walkComments=function(e){return this.walk((function(t,n){if("comment"===t.type)return e(t,n)}))},t.prototype.append=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i,l=this.normalize(s,this.last),c=l,u=Array.isArray(c),d=0;for(c=u?c:c[Symbol.iterator]();;){var g;if(u){if(d>=c.length)break;g=c[d++]}else{if((d=c.next()).done)break;g=d.value}var p=g;this.nodes.push(p)}}return this},t.prototype.prepend=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t=t.reverse(),o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i,l=this.normalize(s,this.first,"prepend").reverse(),c=l,u=Array.isArray(c),d=0;for(c=u?c:c[Symbol.iterator]();;){var g;if(u){if(d>=c.length)break;g=c[d++]}else{if((d=c.next()).done)break;g=d.value}var p=g;this.nodes.unshift(p)}for(var f in this.indexes)this.indexes[f]=this.indexes[f]+l.length}return this},t.prototype.cleanRaws=function(t){if(e.prototype.cleanRaws.call(this,t),this.nodes){var n=this.nodes,r=Array.isArray(n),o=0;for(n=r?n:n[Symbol.iterator]();;){var a;if(r){if(o>=n.length)break;a=n[o++]}else{if((o=n.next()).done)break;a=o.value}a.cleanRaws(t)}}},t.prototype.insertBefore=function(e,t){var n=0===(e=this.index(e))&&"prepend",r=this.normalize(t,this.nodes[e],n).reverse(),o=r,a=Array.isArray(o),i=0;for(o=a?o:o[Symbol.iterator]();;){var s;if(a){if(i>=o.length)break;s=o[i++]}else{if((i=o.next()).done)break;s=i.value}var l=s;this.nodes.splice(e,0,l)}var c=void 0;for(var u in this.indexes)e<=(c=this.indexes[u])&&(this.indexes[u]=c+r.length);return this},t.prototype.insertAfter=function(e,t){e=this.index(e);var n=this.normalize(t,this.nodes[e]).reverse(),r=n,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i;this.nodes.splice(e+1,0,s)}var l=void 0;for(var c in this.indexes)e<(l=this.indexes[c])&&(this.indexes[c]=l+n.length);return this},t.prototype.removeChild=function(e){e=this.index(e),this.nodes[e].parent=void 0,this.nodes.splice(e,1);var t=void 0;for(var n in this.indexes)(t=this.indexes[n])>=e&&(this.indexes[n]=t-1);return this},t.prototype.removeAll=function(){var e=this.nodes,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}r.parent=void 0}return this.nodes=[],this},t.prototype.replaceValues=function(e,t,n){return n||(n=t,t={}),this.walkDecls((function(r){t.props&&-1===t.props.indexOf(r.prop)||t.fast&&-1===r.value.indexOf(t.fast)||(r.value=r.value.replace(e,n))})),this},t.prototype.every=function(e){return this.nodes.every(e)},t.prototype.some=function(e){return this.nodes.some(e)},t.prototype.index=function(e){return"number"==typeof e?e:this.nodes.indexOf(e)},t.prototype.normalize=function(e,t){var r=this;if("string"==typeof e)e=c(n(1647)(e).nodes);else if(Array.isArray(e)){var i=e=e.slice(0),s=Array.isArray(i),l=0;for(i=s?i:i[Symbol.iterator]();;){var u;if(s){if(l>=i.length)break;u=i[l++]}else{if((l=i.next()).done)break;u=l.value}var d=u;d.parent&&d.parent.removeChild(d,"ignore")}}else if("root"===e.type){var g=e=e.nodes.slice(0),p=Array.isArray(g),f=0;for(g=p?g:g[Symbol.iterator]();;){var m;if(p){if(f>=g.length)break;m=g[f++]}else{if((f=g.next()).done)break;m=f.value}var h=m;h.parent&&h.parent.removeChild(h,"ignore")}}else if(e.type)e=[e];else if(e.prop){if(void 0===e.value)throw new Error("Value field is missed in node creation");"string"!=typeof e.value&&(e.value=String(e.value)),e=[new o.default(e)]}else if(e.selector)e=[new(n(806))(e)];else if(e.name)e=[new(n(8090))(e)];else{if(!e.text)throw new Error("Unknown node type in node creation");e=[new a.default(e)]}var v=e.map((function(e){return"function"!=typeof e.before&&(e=r.rebuild(e)),e.parent&&e.parent.removeChild(e),void 0===e.raws.before&&t&&void 0!==t.raws.before&&(e.raws.before=t.raws.before.replace(/[^\s]/g,"")),e.parent=r,e}));return v},t.prototype.rebuild=function(e,t){var r=this,i=void 0;if("root"===e.type){var s=n(573);i=new s}else if("atrule"===e.type){var l=n(8090);i=new l}else if("rule"===e.type){var c=n(806);i=new c}else"decl"===e.type?i=new o.default:"comment"===e.type&&(i=new a.default);for(var u in e)"nodes"===u?i.nodes=e.nodes.map((function(e){return r.rebuild(e,i)})):"parent"===u&&t?i.parent=t:e.hasOwnProperty(u)&&(i[u]=e[u]);return i},r(t,[{key:"first",get:function(){if(this.nodes)return this.nodes[0]}},{key:"last",get:function(){if(this.nodes)return this.nodes[this.nodes.length-1]}}]),t}(i(n(3200)).default);t.default=u,e.exports=t.default},4639:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(5580)),o=i(n(683)),a=i(n(8818));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(){function e(t,n,r,o,a,i){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.name="CssSyntaxError",this.reason=t,a&&(this.file=a),o&&(this.source=o),i&&(this.plugin=i),void 0!==n&&void 0!==r&&(this.line=n,this.column=r),this.setMessage(),Error.captureStackTrace&&Error.captureStackTrace(this,e)}return e.prototype.setMessage=function(){this.message=this.plugin?this.plugin+": ":"",this.message+=this.file?this.file:"<css input>",void 0!==this.line&&(this.message+=":"+this.line+":"+this.column),this.message+=": "+this.reason},e.prototype.showSourceCode=function(e){var t=this;if(!this.source)return"";var n=this.source;void 0===e&&(e=r.default.stdout),e&&(n=(0,a.default)(n));var i=n.split(/\r?\n/),s=Math.max(this.line-3,0),l=Math.min(this.line+2,i.length),c=String(l).length;function u(t){return e&&o.default.red?o.default.red.bold(t):t}function d(t){return e&&o.default.gray?o.default.gray(t):t}return i.slice(s,l).map((function(e,n){var r=s+1+n,o=" "+(" "+r).slice(-c)+" | ";if(r===t.line){var a=d(o.replace(/\d/g," "))+e.slice(0,t.column-1).replace(/[^\t]/g," ");return u(">")+d(o)+e+"\n "+a+u("^")}return" "+d(o)+e})).join("\n")},e.prototype.toString=function(){var e=this.showSourceCode();return e&&(e="\n\n"+e+"\n"),this.name+": "+this.message+e},e}();t.default=s,e.exports=t.default},3118:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="decl",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),t}(((r=n(3200))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},1810:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=l(n(4639)),i=l(n(8389)),s=l(n(6470));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=0,d=function(){function e(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(c(this,e),null===t||"object"===(void 0===t?"undefined":r(t))&&!t.toString)throw new Error("PostCSS received "+t+" instead of CSS string");this.css=t.toString(),"\ufeff"!==this.css[0]&&""!==this.css[0]||(this.css=this.css.slice(1)),n.from&&(/^\w+:\/\//.test(n.from)?this.file=n.from:this.file=s.default.resolve(n.from));var o=new i.default(this.css,n);if(o.text){this.map=o;var a=o.consumer().file;!this.file&&a&&(this.file=this.mapResolve(a))}this.file||(u+=1,this.id="<input css "+u+">"),this.map&&(this.map.file=this.from)}return e.prototype.error=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=void 0,i=this.origin(t,n);return(o=i?new a.default(e,i.line,i.column,i.source,i.file,r.plugin):new a.default(e,t,n,this.css,this.file,r.plugin)).input={line:t,column:n,source:this.css},this.file&&(o.input.file=this.file),o},e.prototype.origin=function(e,t){if(!this.map)return!1;var n=this.map.consumer(),r=n.originalPositionFor({line:e,column:t});if(!r.source)return!1;var o={file:this.mapResolve(r.source),line:r.line,column:r.column},a=n.sourceContentFor(r.source);return a&&(o.source=a),o},e.prototype.mapResolve=function(e){return/^\w+:\/\//.test(e)?e:s.default.resolve(this.map.consumer().sourceRoot||".",e)},o(e,[{key:"from",get:function(){return this.file||this.id}}]),e}();t.default=d,e.exports=t.default},1799:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=u(n(2455)),i=u(n(4594)),s=u(n(6094)),l=u(n(4974)),c=u(n(1647));function u(e){return e&&e.__esModule?e:{default:e}}function d(e){return"object"===(void 0===e?"undefined":o(e))&&"function"==typeof e.then}var g=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringified=!1,this.processed=!1;var a=void 0;if("object"===(void 0===n?"undefined":o(n))&&null!==n&&"root"===n.type)a=n;else if(n instanceof e||n instanceof l.default)a=n.root,n.map&&(void 0===r.map&&(r.map={}),r.map.inline||(r.map.inline=!1),r.map.prev=n.map);else{var i=c.default;r.syntax&&(i=r.syntax.parse),r.parser&&(i=r.parser),i.parse&&(i=i.parse);try{a=i(n,r)}catch(e){this.error=e}}this.result=new l.default(t,a,r)}return e.prototype.warnings=function(){return this.sync().warnings()},e.prototype.toString=function(){return this.css},e.prototype.then=function(e,t){return"from"in this.opts||(0,s.default)("Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning."),this.async().then(e,t)},e.prototype.catch=function(e){return this.async().catch(e)},e.prototype.handleError=function(e,t){try{if(this.error=e,"CssSyntaxError"!==e.name||e.plugin){if(t.postcssVersion){var n=t.postcssPlugin,r=t.postcssVersion,o=this.result.processor.version,a=r.split("."),i=o.split(".");(a[0]!==i[0]||parseInt(a[1])>parseInt(i[1]))&&console.error("Unknown error from PostCSS plugin. Your current PostCSS version is "+o+", but "+n+" uses "+r+". Perhaps this is the source of the error below.")}}else e.plugin=t.postcssPlugin,e.setMessage()}catch(e){console&&console.error&&console.error(e)}},e.prototype.asyncTick=function(e,t){var n=this;if(this.plugin>=this.processor.plugins.length)return this.processed=!0,e();try{var r=this.processor.plugins[this.plugin],o=this.run(r);this.plugin+=1,d(o)?o.then((function(){n.asyncTick(e,t)})).catch((function(e){n.handleError(e,r),n.processed=!0,t(e)})):this.asyncTick(e,t)}catch(e){this.processed=!0,t(e)}},e.prototype.async=function(){var e=this;return this.processed?new Promise((function(t,n){e.error?n(e.error):t(e.stringify())})):(this.processing||(this.processing=new Promise((function(t,n){if(e.error)return n(e.error);e.plugin=0,e.asyncTick(t,n)})).then((function(){return e.processed=!0,e.stringify()}))),this.processing)},e.prototype.sync=function(){if(this.processed)return this.result;if(this.processed=!0,this.processing)throw new Error("Use process(css).then(cb) to work with async plugins");if(this.error)throw this.error;var e=this.result.processor.plugins,t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var r;if(t){if(n>=e.length)break;r=e[n++]}else{if((n=e.next()).done)break;r=n.value}var o=r;if(d(this.run(o)))throw new Error("Use process(css).then(cb) to work with async plugins")}return this.result},e.prototype.run=function(e){this.result.lastPlugin=e;try{return e(this.result.root,this.result)}catch(t){throw this.handleError(t,e),t}},e.prototype.stringify=function(){if(this.stringified)return this.result;this.stringified=!0,this.sync();var e=this.result.opts,t=i.default;e.syntax&&(t=e.syntax.stringify),e.stringifier&&(t=e.stringifier),t.stringify&&(t=t.stringify);var n=new a.default(t,this.result.root,this.result.opts).generate();return this.result.css=n[0],this.result.map=n[1],this.result},r(e,[{key:"processor",get:function(){return this.result.processor}},{key:"opts",get:function(){return this.result.opts}},{key:"css",get:function(){return this.stringify().css}},{key:"content",get:function(){return this.stringify().content}},{key:"map",get:function(){return this.stringify().map}},{key:"root",get:function(){return this.sync().root}},{key:"messages",get:function(){return this.sync().messages}}]),e}();t.default=g,e.exports=t.default},1841:function(e,t){"use strict";t.__esModule=!0;var n={split:function(e,t,n){for(var r=[],o="",a=!1,i=0,s=!1,l=!1,c=0;c<e.length;c++){var u=e[c];s?l?l=!1:"\\"===u?l=!0:u===s&&(s=!1):'"'===u||"'"===u?s=u:"("===u?i+=1:")"===u?i>0&&(i-=1):0===i&&-1!==t.indexOf(u)&&(a=!0),a?(""!==o&&r.push(o.trim()),o="",a=!1):o+=u}return(n||""!==o)&&r.push(o.trim()),r},space:function(e){return n.split(e,[" ","\n","\t"])},comma:function(e){return n.split(e,[","],!0)}};t.default=n,e.exports=t.default},2455:function(e,t,n){"use strict";t.__esModule=!0;var r=a(n(4014)),o=a(n(6470));function a(e){return e&&e.__esModule?e:{default:e}}var i=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.stringify=t,this.mapOpts=r.map||{},this.root=n,this.opts=r}return e.prototype.isMap=function(){return void 0!==this.opts.map?!!this.opts.map:this.previous().length>0},e.prototype.previous=function(){var e=this;return this.previousMaps||(this.previousMaps=[],this.root.walk((function(t){if(t.source&&t.source.input.map){var n=t.source.input.map;-1===e.previousMaps.indexOf(n)&&e.previousMaps.push(n)}}))),this.previousMaps},e.prototype.isInline=function(){if(void 0!==this.mapOpts.inline)return this.mapOpts.inline;var e=this.mapOpts.annotation;return(void 0===e||!0===e)&&(!this.previous().length||this.previous().some((function(e){return e.inline})))},e.prototype.isSourcesContent=function(){return void 0!==this.mapOpts.sourcesContent?this.mapOpts.sourcesContent:!this.previous().length||this.previous().some((function(e){return e.withContent()}))},e.prototype.clearAnnotation=function(){if(!1!==this.mapOpts.annotation)for(var e=void 0,t=this.root.nodes.length-1;t>=0;t--)"comment"===(e=this.root.nodes[t]).type&&0===e.text.indexOf("# sourceMappingURL=")&&this.root.removeChild(t)},e.prototype.setSourcesContent=function(){var e=this,t={};this.root.walk((function(n){if(n.source){var r=n.source.input.from;if(r&&!t[r]){t[r]=!0;var o=e.relative(r);e.map.setSourceContent(o,n.source.input.css)}}}))},e.prototype.applyPrevMaps=function(){var e=this.previous(),t=Array.isArray(e),n=0;for(e=t?e:e[Symbol.iterator]();;){var a;if(t){if(n>=e.length)break;a=e[n++]}else{if((n=e.next()).done)break;a=n.value}var i=a,s=this.relative(i.file),l=i.root||o.default.dirname(i.file),c=void 0;!1===this.mapOpts.sourcesContent?(c=new r.default.SourceMapConsumer(i.text)).sourcesContent&&(c.sourcesContent=c.sourcesContent.map((function(){return null}))):c=i.consumer(),this.map.applySourceMap(c,s,this.relative(l))}},e.prototype.isAnnotation=function(){return!!this.isInline()||(void 0!==this.mapOpts.annotation?this.mapOpts.annotation:!this.previous().length||this.previous().some((function(e){return e.annotation})))},e.prototype.toBase64=function(e){return Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(e).toString("base64"):new Buffer(e).toString("base64"):window.btoa(unescape(encodeURIComponent(e)))},e.prototype.addAnnotation=function(){var e;e=this.isInline()?"data:application/json;base64,"+this.toBase64(this.map.toString()):"string"==typeof this.mapOpts.annotation?this.mapOpts.annotation:this.outputFile()+".map";var t="\n";-1!==this.css.indexOf("\r\n")&&(t="\r\n"),this.css+=t+"/*# sourceMappingURL="+e+" */"},e.prototype.outputFile=function(){return this.opts.to?this.relative(this.opts.to):this.opts.from?this.relative(this.opts.from):"to.css"},e.prototype.generateMap=function(){return this.generateString(),this.isSourcesContent()&&this.setSourcesContent(),this.previous().length>0&&this.applyPrevMaps(),this.isAnnotation()&&this.addAnnotation(),this.isInline()?[this.css]:[this.css,this.map]},e.prototype.relative=function(e){if(0===e.indexOf("<"))return e;if(/^\w+:\/\//.test(e))return e;var t=this.opts.to?o.default.dirname(this.opts.to):".";return"string"==typeof this.mapOpts.annotation&&(t=o.default.dirname(o.default.resolve(t,this.mapOpts.annotation))),e=o.default.relative(t,e),"\\"===o.default.sep?e.replace(/\\/g,"/"):e},e.prototype.sourcePath=function(e){return this.mapOpts.from?this.mapOpts.from:this.relative(e.source.input.from)},e.prototype.generateString=function(){var e=this;this.css="",this.map=new r.default.SourceMapGenerator({file:this.outputFile()});var t=1,n=1,o=void 0,a=void 0;this.stringify(this.root,(function(r,i,s){e.css+=r,i&&"end"!==s&&(i.source&&i.source.start?e.map.addMapping({source:e.sourcePath(i),generated:{line:t,column:n-1},original:{line:i.source.start.line,column:i.source.start.column-1}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}})),(o=r.match(/\n/g))?(t+=o.length,a=r.lastIndexOf("\n"),n=r.length-a):n+=r.length,i&&"start"!==s&&(i.source&&i.source.end?e.map.addMapping({source:e.sourcePath(i),generated:{line:t,column:n-1},original:{line:i.source.end.line,column:i.source.end.column}}):e.map.addMapping({source:"<no source>",original:{line:1,column:0},generated:{line:t,column:n-1}}))}))},e.prototype.generate=function(){if(this.clearAnnotation(),this.isMap())return this.generateMap();var e="";return this.stringify(this.root,(function(t){e+=t})),[e]},e}();t.default=i,e.exports=t.default},3200:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=l(n(4639)),a=l(n(3255)),i=l(n(4594)),s=l(n(6094));function l(e){return e&&e.__esModule?e:{default:e}}function c(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var u=function e(t,n){var o=new t.constructor;for(var a in t)if(t.hasOwnProperty(a)){var i=t[a],s=void 0===i?"undefined":r(i);"parent"===a&&"object"===s?n&&(o[a]=n):"source"===a?o[a]=i:i instanceof Array?o[a]=i.map((function(t){return e(t,o)})):("object"===s&&null!==i&&(i=e(i)),o[a]=i)}return o},d=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(c(this,e),this.raws={},"object"!==(void 0===t?"undefined":r(t))&&void 0!==t)throw new Error("PostCSS nodes constructor accepts object, not "+JSON.stringify(t));for(var n in t)this[n]=t[n]}return e.prototype.error=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this.source){var n=this.positionBy(t);return this.source.input.error(e,n.line,n.column,t)}return new o.default(e)},e.prototype.warn=function(e,t,n){var r={node:this};for(var o in n)r[o]=n[o];return e.warn(t,r)},e.prototype.remove=function(){return this.parent&&this.parent.removeChild(this),this.parent=void 0,this},e.prototype.toString=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.default;e.stringify&&(e=e.stringify);var t="";return e(this,(function(e){t+=e})),t},e.prototype.clone=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=u(this);for(var n in e)t[n]=e[n];return t},e.prototype.cloneBefore=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertBefore(this,t),t},e.prototype.cloneAfter=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=this.clone(e);return this.parent.insertAfter(this,t),t},e.prototype.replaceWith=function(){if(this.parent){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t,o=Array.isArray(r),a=0;for(r=o?r:r[Symbol.iterator]();;){var i;if(o){if(a>=r.length)break;i=r[a++]}else{if((a=r.next()).done)break;i=a.value}var s=i;this.parent.insertBefore(this,s)}this.remove()}return this},e.prototype.moveTo=function(e){return(0,s.default)("Node#moveTo was deprecated. Use Container#append."),this.cleanRaws(this.root()===e.root()),this.remove(),e.append(this),this},e.prototype.moveBefore=function(e){return(0,s.default)("Node#moveBefore was deprecated. Use Node#before."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertBefore(e,this),this},e.prototype.moveAfter=function(e){return(0,s.default)("Node#moveAfter was deprecated. Use Node#after."),this.cleanRaws(this.root()===e.root()),this.remove(),e.parent.insertAfter(e,this),this},e.prototype.next=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e+1]}},e.prototype.prev=function(){if(this.parent){var e=this.parent.index(this);return this.parent.nodes[e-1]}},e.prototype.before=function(e){return this.parent.insertBefore(this,e),this},e.prototype.after=function(e){return this.parent.insertAfter(this,e),this},e.prototype.toJSON=function(){var e={};for(var t in this)if(this.hasOwnProperty(t)&&"parent"!==t){var n=this[t];n instanceof Array?e[t]=n.map((function(e){return"object"===(void 0===e?"undefined":r(e))&&e.toJSON?e.toJSON():e})):"object"===(void 0===n?"undefined":r(n))&&n.toJSON?e[t]=n.toJSON():e[t]=n}return e},e.prototype.raw=function(e,t){return(new a.default).raw(this,e,t)},e.prototype.root=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.cleanRaws=function(e){delete this.raws.before,delete this.raws.after,e||delete this.raws.between},e.prototype.positionInside=function(e){for(var t=this.toString(),n=this.source.start.column,r=this.source.start.line,o=0;o<e;o++)"\n"===t[o]?(n=1,r+=1):n+=1;return{line:r,column:n}},e.prototype.positionBy=function(e){var t=this.source.start;if(e.index)t=this.positionInside(e.index);else if(e.word){var n=this.toString().indexOf(e.word);-1!==n&&(t=this.positionInside(n))}return t},e}();t.default=d,e.exports=t.default},1647:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){if(t&&t.safe)throw new Error('Option safe was removed. Use parser: require("postcss-safe-parser")');var n=new o.default(e,t),a=new r.default(n);try{a.parse()}catch(e){throw"CssSyntaxError"===e.name&&t&&t.from&&(/\.scss$/i.test(t.from)?e.message+="\nYou tried to parse SCSS with the standard CSS parser; try again with the postcss-scss parser":/\.sass/i.test(t.from)?e.message+="\nYou tried to parse Sass with the standard CSS parser; try again with the postcss-sass parser":/\.less$/i.test(t.from)&&(e.message+="\nYou tried to parse Less with the standard CSS parser; try again with the postcss-less parser")),e}return a.root};var r=a(n(9890)),o=a(n(1810));function a(e){return e&&e.__esModule?e:{default:e}}e.exports=t.default},9890:function(e,t,n){"use strict";t.__esModule=!0;var r=c(n(3118)),o=c(n(7272)),a=c(n(2282)),i=c(n(8090)),s=c(n(573)),l=c(n(806));function c(e){return e&&e.__esModule?e:{default:e}}var u=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.input=t,this.root=new s.default,this.current=this.root,this.spaces="",this.semicolon=!1,this.createTokenizer(),this.root.source={input:t,start:{line:1,column:1}}}return e.prototype.createTokenizer=function(){this.tokenizer=(0,o.default)(this.input)},e.prototype.parse=function(){for(var e=void 0;!this.tokenizer.endOfFile();)switch((e=this.tokenizer.nextToken())[0]){case"space":this.spaces+=e[1];break;case";":this.freeSemicolon(e);break;case"}":this.end(e);break;case"comment":this.comment(e);break;case"at-word":this.atrule(e);break;case"{":this.emptyRule(e);break;default:this.other(e)}this.endFile()},e.prototype.comment=function(e){var t=new a.default;this.init(t,e[2],e[3]),t.source.end={line:e[4],column:e[5]};var n=e[1].slice(2,-2);if(/^\s*$/.test(n))t.text="",t.raws.left=n,t.raws.right="";else{var r=n.match(/^(\s*)([^]*[^\s])(\s*)$/);t.text=r[2],t.raws.left=r[1],t.raws.right=r[3]}},e.prototype.emptyRule=function(e){var t=new l.default;this.init(t,e[2],e[3]),t.selector="",t.raws.between="",this.current=t},e.prototype.other=function(e){for(var t=!1,n=null,r=!1,o=null,a=[],i=[],s=e;s;){if(n=s[0],i.push(s),"("===n||"["===n)o||(o=s),a.push("("===n?")":"]");else if(0===a.length){if(";"===n){if(r)return void this.decl(i);break}if("{"===n)return void this.rule(i);if("}"===n){this.tokenizer.back(i.pop()),t=!0;break}":"===n&&(r=!0)}else n===a[a.length-1]&&(a.pop(),0===a.length&&(o=null));s=this.tokenizer.nextToken()}if(this.tokenizer.endOfFile()&&(t=!0),a.length>0&&this.unclosedBracket(o),t&&r){for(;i.length&&("space"===(s=i[i.length-1][0])||"comment"===s);)this.tokenizer.back(i.pop());this.decl(i)}else this.unknownWord(i)},e.prototype.rule=function(e){e.pop();var t=new l.default;this.init(t,e[0][2],e[0][3]),t.raws.between=this.spacesAndCommentsFromEnd(e),this.raw(t,"selector",e),this.current=t},e.prototype.decl=function(e){var t=new r.default;this.init(t);var n=e[e.length-1];for(";"===n[0]&&(this.semicolon=!0,e.pop()),n[4]?t.source.end={line:n[4],column:n[5]}:t.source.end={line:n[2],column:n[3]};"word"!==e[0][0];)1===e.length&&this.unknownWord(e),t.raws.before+=e.shift()[1];for(t.source.start={line:e[0][2],column:e[0][3]},t.prop="";e.length;){var o=e[0][0];if(":"===o||"space"===o||"comment"===o)break;t.prop+=e.shift()[1]}t.raws.between="";for(var a=void 0;e.length;){if(":"===(a=e.shift())[0]){t.raws.between+=a[1];break}t.raws.between+=a[1]}"_"!==t.prop[0]&&"*"!==t.prop[0]||(t.raws.before+=t.prop[0],t.prop=t.prop.slice(1)),t.raws.between+=this.spacesAndCommentsFromStart(e),this.precheckMissedSemicolon(e);for(var i=e.length-1;i>0;i--){if("!important"===(a=e[i])[1].toLowerCase()){t.important=!0;var s=this.stringFrom(e,i);" !important"!==(s=this.spacesFromEnd(e)+s)&&(t.raws.important=s);break}if("important"===a[1].toLowerCase()){for(var l=e.slice(0),c="",u=i;u>0;u--){var d=l[u][0];if(0===c.trim().indexOf("!")&&"space"!==d)break;c=l.pop()[1]+c}0===c.trim().indexOf("!")&&(t.important=!0,t.raws.important=c,e=l)}if("space"!==a[0]&&"comment"!==a[0])break}this.raw(t,"value",e),-1!==t.value.indexOf(":")&&this.checkMissedSemicolon(e)},e.prototype.atrule=function(e){var t=new i.default;t.name=e[1].slice(1),""===t.name&&this.unnamedAtrule(t,e),this.init(t,e[2],e[3]);for(var n=void 0,r=void 0,o=!1,a=!1,s=[];!this.tokenizer.endOfFile();){if(";"===(e=this.tokenizer.nextToken())[0]){t.source.end={line:e[2],column:e[3]},this.semicolon=!0;break}if("{"===e[0]){a=!0;break}if("}"===e[0]){if(s.length>0){for(n=s[r=s.length-1];n&&"space"===n[0];)n=s[--r];n&&(t.source.end={line:n[4],column:n[5]})}this.end(e);break}if(s.push(e),this.tokenizer.endOfFile()){o=!0;break}}t.raws.between=this.spacesAndCommentsFromEnd(s),s.length?(t.raws.afterName=this.spacesAndCommentsFromStart(s),this.raw(t,"params",s),o&&(e=s[s.length-1],t.source.end={line:e[4],column:e[5]},this.spaces=t.raws.between,t.raws.between="")):(t.raws.afterName="",t.params=""),a&&(t.nodes=[],this.current=t)},e.prototype.end=function(e){this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.semicolon=!1,this.current.raws.after=(this.current.raws.after||"")+this.spaces,this.spaces="",this.current.parent?(this.current.source.end={line:e[2],column:e[3]},this.current=this.current.parent):this.unexpectedClose(e)},e.prototype.endFile=function(){this.current.parent&&this.unclosedBlock(),this.current.nodes&&this.current.nodes.length&&(this.current.raws.semicolon=this.semicolon),this.current.raws.after=(this.current.raws.after||"")+this.spaces},e.prototype.freeSemicolon=function(e){if(this.spaces+=e[1],this.current.nodes){var t=this.current.nodes[this.current.nodes.length-1];t&&"rule"===t.type&&!t.raws.ownSemicolon&&(t.raws.ownSemicolon=this.spaces,this.spaces="")}},e.prototype.init=function(e,t,n){this.current.push(e),e.source={start:{line:t,column:n},input:this.input},e.raws.before=this.spaces,this.spaces="","comment"!==e.type&&(this.semicolon=!1)},e.prototype.raw=function(e,t,n){for(var r=void 0,o=void 0,a=n.length,i="",s=!0,l=void 0,c=void 0,u=/^([.|#])?([\w])+/i,d=0;d<a;d+=1)"comment"!==(o=(r=n[d])[0])||"rule"!==e.type?"comment"===o||"space"===o&&d===a-1?s=!1:i+=r[1]:(c=n[d-1],l=n[d+1],"space"!==c[0]&&"space"!==l[0]&&u.test(c[1])&&u.test(l[1])?i+=r[1]:s=!1);if(!s){var g=n.reduce((function(e,t){return e+t[1]}),"");e.raws[t]={value:i,raw:g}}e[t]=i},e.prototype.spacesAndCommentsFromEnd=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[e.length-1][0])||"comment"===t);)n=e.pop()[1]+n;return n},e.prototype.spacesAndCommentsFromStart=function(e){for(var t=void 0,n="";e.length&&("space"===(t=e[0][0])||"comment"===t);)n+=e.shift()[1];return n},e.prototype.spacesFromEnd=function(e){for(var t="";e.length&&"space"===e[e.length-1][0];)t=e.pop()[1]+t;return t},e.prototype.stringFrom=function(e,t){for(var n="",r=t;r<e.length;r++)n+=e[r][1];return e.splice(t,e.length-t),n},e.prototype.colon=function(e){for(var t=0,n=void 0,r=void 0,o=void 0,a=0;a<e.length;a++){if("("===(r=(n=e[a])[0]))t+=1;else if(")"===r)t-=1;else if(0===t&&":"===r){if(o){if("word"===o[0]&&"progid"===o[1])continue;return a}this.doubleColon(n)}o=n}return!1},e.prototype.unclosedBracket=function(e){throw this.input.error("Unclosed bracket",e[2],e[3])},e.prototype.unknownWord=function(e){throw this.input.error("Unknown word",e[0][2],e[0][3])},e.prototype.unexpectedClose=function(e){throw this.input.error("Unexpected }",e[2],e[3])},e.prototype.unclosedBlock=function(){var e=this.current.source.start;throw this.input.error("Unclosed block",e.line,e.column)},e.prototype.doubleColon=function(e){throw this.input.error("Double colon",e[2],e[3])},e.prototype.unnamedAtrule=function(e,t){throw this.input.error("At-rule without name",t[2],t[3])},e.prototype.precheckMissedSemicolon=function(e){},e.prototype.checkMissedSemicolon=function(e){var t=this.colon(e);if(!1!==t){for(var n=0,r=void 0,o=t-1;o>=0&&("space"===(r=e[o])[0]||2!==(n+=1));o--);throw this.input.error("Missed semicolon",r[2],r[3])}},e}();t.default=u,e.exports=t.default},5344:function(e,t,n){"use strict";t.__esModule=!0;var r=p(n(3118)),o=p(n(9432)),a=p(n(4594)),i=p(n(2282)),s=p(n(8090)),l=p(n(3e3)),c=p(n(1647)),u=p(n(1841)),d=p(n(806)),g=p(n(573));function p(e){return e&&e.__esModule?e:{default:e}}function f(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 1===t.length&&Array.isArray(t[0])&&(t=t[0]),new o.default(t)}f.plugin=function(e,t){var n=function(){var n=t.apply(void 0,arguments);return n.postcssPlugin=e,n.postcssVersion=(new o.default).version,n},r=void 0;return Object.defineProperty(n,"postcss",{get:function(){return r||(r=n()),r}}),n.process=function(e,t,r){return f([n(r)]).process(e,t)},n},f.stringify=a.default,f.parse=c.default,f.vendor=l.default,f.list=u.default,f.comment=function(e){return new i.default(e)},f.atRule=function(e){return new s.default(e)},f.decl=function(e){return new r.default(e)},f.rule=function(e){return new d.default(e)},f.root=function(e){return new g.default(e)},t.default=f,e.exports=t.default},8389:function(e,t,n){"use strict";t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},o=s(n(4014)),a=s(n(6470)),i=s(n(1285));function s(e){return e&&e.__esModule?e:{default:e}}var l=function(){function e(t,n){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.loadAnnotation(t),this.inline=this.startWith(this.annotation,"data:");var r=n.map?n.map.prev:void 0,o=this.loadMap(n.from,r);o&&(this.text=o)}return e.prototype.consumer=function(){return this.consumerCache||(this.consumerCache=new o.default.SourceMapConsumer(this.text)),this.consumerCache},e.prototype.withContent=function(){return!!(this.consumer().sourcesContent&&this.consumer().sourcesContent.length>0)},e.prototype.startWith=function(e,t){return!!e&&e.substr(0,t.length)===t},e.prototype.loadAnnotation=function(e){var t=e.match(/\/\*\s*# sourceMappingURL=(.*)\s*\*\//);t&&(this.annotation=t[1].trim())},e.prototype.decodeInline=function(e){var t="data:application/json,";if(this.startWith(e,t))return decodeURIComponent(e.substr(t.length));if(/^data:application\/json;(?:charset=utf-?8;)?base64,/.test(e))return n=e.substr(RegExp.lastMatch.length),Buffer?Buffer.from&&Buffer.from!==Uint8Array.from?Buffer.from(n,"base64").toString():new Buffer(n,"base64").toString():window.atob(n);var n,r=e.match(/data:application\/json;([^,]+),/)[1];throw new Error("Unsupported source map encoding "+r)},e.prototype.loadMap=function(e,t){if(!1===t)return!1;if(t){if("string"==typeof t)return t;if("function"==typeof t){var n=t(e);if(n&&i.default.existsSync&&i.default.existsSync(n))return i.default.readFileSync(n,"utf-8").toString().trim();throw new Error("Unable to load previous source map: "+n.toString())}if(t instanceof o.default.SourceMapConsumer)return o.default.SourceMapGenerator.fromSourceMap(t).toString();if(t instanceof o.default.SourceMapGenerator)return t.toString();if(this.isMap(t))return JSON.stringify(t);throw new Error("Unsupported previous source map format: "+t.toString())}if(this.inline)return this.decodeInline(this.annotation);if(this.annotation){var r=this.annotation;return e&&(r=a.default.join(a.default.dirname(e),r)),this.root=a.default.dirname(r),!(!i.default.existsSync||!i.default.existsSync(r))&&i.default.readFileSync(r,"utf-8").toString().trim()}},e.prototype.isMap=function(e){return"object"===(void 0===e?"undefined":r(e))&&("string"==typeof e.mappings||"string"==typeof e._mappings)},e}();t.default=l,e.exports=t.default},9432:function(e,t,n){"use strict";t.__esModule=!0;var r,o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a=(r=n(1799))&&r.__esModule?r:{default:r};function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var s=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];i(this,e),this.version="6.0.23",this.plugins=this.normalize(t)}return e.prototype.use=function(e){return this.plugins=this.plugins.concat(this.normalize([e])),this},e.prototype.process=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new a.default(this,e,t)},e.prototype.normalize=function(e){var t=[],n=e,r=Array.isArray(n),a=0;for(n=r?n:n[Symbol.iterator]();;){var i;if(r){if(a>=n.length)break;i=n[a++]}else{if((a=n.next()).done)break;i=a.value}var s=i;if(s.postcss&&(s=s.postcss),"object"===(void 0===s?"undefined":o(s))&&Array.isArray(s.plugins))t=t.concat(s.plugins);else{if("function"!=typeof s)throw"object"===(void 0===s?"undefined":o(s))&&(s.parse||s.stringify)?new Error("PostCSS syntaxes cannot be used as plugins. Instead, please use one of the syntax/parser/stringifier options as outlined in your PostCSS runner documentation."):new Error(s+" is not a PostCSS plugin");t.push(s)}}return t},e}();t.default=s,e.exports=t.default},4974:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=(r=n(9936))&&r.__esModule?r:{default:r},i=function(){function e(t,n,r){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.processor=t,this.messages=[],this.root=n,this.opts=r,this.css=void 0,this.map=void 0}return e.prototype.toString=function(){return this.css},e.prototype.warn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t.plugin||this.lastPlugin&&this.lastPlugin.postcssPlugin&&(t.plugin=this.lastPlugin.postcssPlugin);var n=new a.default(e,t);return this.messages.push(n),n},e.prototype.warnings=function(){return this.messages.filter((function(e){return"warning"===e.type}))},o(e,[{key:"content",get:function(){return this.css}}]),e}();t.default=i,e.exports=t.default},573:function(e,t,n){"use strict";t.__esModule=!0;var r,o=function(e){function t(n){!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,e.call(this,n));return r.type="root",r.nodes||(r.nodes=[]),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),t.prototype.removeChild=function(t,n){var r=this.index(t);return!n&&0===r&&this.nodes.length>1&&(this.nodes[1].raws.before=this.nodes[r].raws.before),e.prototype.removeChild.call(this,t)},t.prototype.normalize=function(t,n,r){var o=e.prototype.normalize.call(this,t);if(n)if("prepend"===r)this.nodes.length>1?n.raws.before=this.nodes[1].raws.before:delete n.raws.before;else if(this.first!==n){var a=o,i=Array.isArray(a),s=0;for(a=i?a:a[Symbol.iterator]();;){var l;if(i){if(s>=a.length)break;l=a[s++]}else{if((s=a.next()).done)break;l=s.value}l.raws.before=n.raws.before}}return o},t.prototype.toResult=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=n(1799),r=n(9432),o=new t(new r,this,e);return o.stringify()},t}(((r=n(2146))&&r.__esModule?r:{default:r}).default);t.default=o,e.exports=t.default},806:function(e,t,n){"use strict";t.__esModule=!0;var r=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),o=i(n(2146)),a=i(n(1841));function i(e){return e&&e.__esModule?e:{default:e}}var s=function(e){function t(n){!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,e.call(this,n));return r.type="rule",r.nodes||(r.nodes=[]),r}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),r(t,[{key:"selectors",get:function(){return a.default.comma(this.selector)},set:function(e){var t=this.selector?this.selector.match(/,\s*/):null,n=t?t[0]:","+this.raw("between","beforeOpen");this.selector=e.join(n)}}]),t}(o.default);t.default=s,e.exports=t.default},3255:function(e,t){"use strict";t.__esModule=!0;var n={colon:": ",indent:" ",beforeDecl:"\n",beforeRule:"\n",beforeOpen:" ",beforeClose:"\n",beforeComment:"\n",after:"\n",emptyBody:"",commentLeft:" ",commentRight:" "},r=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.builder=t}return e.prototype.stringify=function(e,t){this[e.type](e,t)},e.prototype.root=function(e){this.body(e),e.raws.after&&this.builder(e.raws.after)},e.prototype.comment=function(e){var t=this.raw(e,"left","commentLeft"),n=this.raw(e,"right","commentRight");this.builder("/*"+t+e.text+n+"*/",e)},e.prototype.decl=function(e,t){var n=this.raw(e,"between","colon"),r=e.prop+n+this.rawValue(e,"value");e.important&&(r+=e.raws.important||" !important"),t&&(r+=";"),this.builder(r,e)},e.prototype.rule=function(e){this.block(e,this.rawValue(e,"selector")),e.raws.ownSemicolon&&this.builder(e.raws.ownSemicolon,e,"end")},e.prototype.atrule=function(e,t){var n="@"+e.name,r=e.params?this.rawValue(e,"params"):"";if(void 0!==e.raws.afterName?n+=e.raws.afterName:r&&(n+=" "),e.nodes)this.block(e,n+r);else{var o=(e.raws.between||"")+(t?";":"");this.builder(n+r+o,e)}},e.prototype.body=function(e){for(var t=e.nodes.length-1;t>0&&"comment"===e.nodes[t].type;)t-=1;for(var n=this.raw(e,"semicolon"),r=0;r<e.nodes.length;r++){var o=e.nodes[r],a=this.raw(o,"before");a&&this.builder(a),this.stringify(o,t!==r||n)}},e.prototype.block=function(e,t){var n=this.raw(e,"between","beforeOpen");this.builder(t+n+"{",e,"start");var r=void 0;e.nodes&&e.nodes.length?(this.body(e),r=this.raw(e,"after")):r=this.raw(e,"after","emptyBody"),r&&this.builder(r),this.builder("}",e,"end")},e.prototype.raw=function(e,t,r){var o=void 0;if(r||(r=t),t&&void 0!==(o=e.raws[t]))return o;var a=e.parent;if("before"===r&&(!a||"root"===a.type&&a.first===e))return"";if(!a)return n[r];var i=e.root();if(i.rawCache||(i.rawCache={}),void 0!==i.rawCache[r])return i.rawCache[r];if("before"===r||"after"===r)return this.beforeAfter(e,r);var s,l="raw"+((s=r)[0].toUpperCase()+s.slice(1));return this[l]?o=this[l](i,e):i.walk((function(e){if(void 0!==(o=e.raws[t]))return!1})),void 0===o&&(o=n[r]),i.rawCache[r]=o,o},e.prototype.rawSemicolon=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length&&"decl"===e.last.type&&void 0!==(t=e.raws.semicolon))return!1})),t},e.prototype.rawEmptyBody=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&0===e.nodes.length&&void 0!==(t=e.raws.after))return!1})),t},e.prototype.rawIndent=function(e){if(e.raws.indent)return e.raws.indent;var t=void 0;return e.walk((function(n){var r=n.parent;if(r&&r!==e&&r.parent&&r.parent===e&&void 0!==n.raws.before){var o=n.raws.before.split("\n");return t=(t=o[o.length-1]).replace(/[^\s]/g,""),!1}})),t},e.prototype.rawBeforeComment=function(e,t){var n=void 0;return e.walkComments((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeDecl"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeDecl=function(e,t){var n=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.before)return-1!==(n=e.raws.before).indexOf("\n")&&(n=n.replace(/[^\n]+$/,"")),!1})),void 0===n?n=this.raw(t,null,"beforeRule"):n&&(n=n.replace(/[^\s]/g,"")),n},e.prototype.rawBeforeRule=function(e){var t=void 0;return e.walk((function(n){if(n.nodes&&(n.parent!==e||e.first!==n)&&void 0!==n.raws.before)return-1!==(t=n.raws.before).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeClose=function(e){var t=void 0;return e.walk((function(e){if(e.nodes&&e.nodes.length>0&&void 0!==e.raws.after)return-1!==(t=e.raws.after).indexOf("\n")&&(t=t.replace(/[^\n]+$/,"")),!1})),t&&(t=t.replace(/[^\s]/g,"")),t},e.prototype.rawBeforeOpen=function(e){var t=void 0;return e.walk((function(e){if("decl"!==e.type&&void 0!==(t=e.raws.between))return!1})),t},e.prototype.rawColon=function(e){var t=void 0;return e.walkDecls((function(e){if(void 0!==e.raws.between)return t=e.raws.between.replace(/[^\s:]/g,""),!1})),t},e.prototype.beforeAfter=function(e,t){var n=void 0;n="decl"===e.type?this.raw(e,null,"beforeDecl"):"comment"===e.type?this.raw(e,null,"beforeComment"):"before"===t?this.raw(e,null,"beforeRule"):this.raw(e,null,"beforeClose");for(var r=e.parent,o=0;r&&"root"!==r.type;)o+=1,r=r.parent;if(-1!==n.indexOf("\n")){var a=this.raw(e,null,"indent");if(a.length)for(var i=0;i<o;i++)n+=a}return n},e.prototype.rawValue=function(e,t){var n=e[t],r=e.raws[t];return r&&r.value===n?r.raw:n},e}();t.default=r,e.exports=t.default},4594:function(e,t,n){"use strict";t.__esModule=!0,t.default=function(e,t){new o.default(t).stringify(e)};var r,o=(r=n(3255))&&r.__esModule?r:{default:r};e.exports=t.default},8818:function(e,t,n){"use strict";t.__esModule=!0;var r=i(n(683)),o=i(n(7272)),a=i(n(1810));function i(e){return e&&e.__esModule?e:{default:e}}var s={brackets:r.default.cyan,"at-word":r.default.cyan,call:r.default.cyan,comment:r.default.gray,string:r.default.green,class:r.default.yellow,hash:r.default.magenta,"(":r.default.cyan,")":r.default.cyan,"{":r.default.yellow,"}":r.default.yellow,"[":r.default.yellow,"]":r.default.yellow,":":r.default.yellow,";":r.default.yellow};t.default=function(e){for(var t=(0,o.default)(new a.default(e),{ignoreErrors:!0}),n="",r=function(){var e=t.nextToken(),r=s[function(e,t){var n=e[0],r=e[1];if("word"===n){if("."===r[0])return"class";if("#"===r[0])return"hash"}if(!t.endOfFile()){var o=t.nextToken();if(t.back(o),"brackets"===o[0]||"("===o[0])return"call"}return n}(e,t)];n+=r?e[1].split(/\r?\n/).map((function(e){return r(e)})).join("\n"):e[1]};!t.endOfFile();)r();return n},e.exports=t.default},7272:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},g=e.css.valueOf(),p=t.ignoreErrors,f=void 0,m=void 0,h=void 0,v=void 0,y=void 0,b=void 0,_=void 0,w=void 0,E=void 0,$=void 0,C=void 0,k=void 0,S=void 0,x=void 0,O=g.length,P=-1,A=1,N=0,R=[],T=[];function M(t){throw e.error("Unclosed "+t,A,N-P)}function j(){return 0===T.length&&N>=O}function I(){if(T.length)return T.pop();if(!(N>=O)){switch(((f=g.charCodeAt(N))===o||f===i||f===s&&g.charCodeAt(N+1)!==o)&&(P=N,A+=1),f){case o:case a:case 9:case s:case i:m=N;do{m+=1,(f=g.charCodeAt(m))===o&&(P=m,A+=1)}while(f===a||f===o||9===f||f===s||f===i);x=["space",g.slice(N,m)],N=m-1;break;case 91:x=["[","[",A,N-P];break;case 93:x=["]","]",A,N-P];break;case 123:x=["{","{",A,N-P];break;case 125:x=["}","}",A,N-P];break;case 58:x=[":",":",A,N-P];break;case 59:x=[";",";",A,N-P];break;case 40:if(k=R.length?R.pop()[1]:"",S=g.charCodeAt(N+1),"url"===k&&S!==n&&34!==S&&S!==a&&S!==o&&9!==S&&S!==i&&S!==s){m=N;do{if($=!1,-1===(m=g.indexOf(")",m+1))){if(p){m=N;break}M("bracket")}for(C=m;g.charCodeAt(C-1)===r;)C-=1,$=!$}while($);x=["brackets",g.slice(N,m+1),A,N-P,A,m-P],N=m}else m=g.indexOf(")",N+1),b=g.slice(N,m+1),-1===m||u.test(b)?x=["(","(",A,N-P]:(x=["brackets",b,A,N-P,A,m-P],N=m);break;case 41:x=[")",")",A,N-P];break;case n:case 34:h=f===n?"'":'"',m=N;do{if($=!1,-1===(m=g.indexOf(h,m+1))){if(p){m=N+1;break}M("string")}for(C=m;g.charCodeAt(C-1)===r;)C-=1,$=!$}while($);b=g.slice(N,m+1),v=b.split("\n"),(y=v.length-1)>0?(w=A+y,E=m-v[y].length):(w=A,E=P),x=["string",g.slice(N,m+1),A,N-P,w,m-E],P=E,A=w,N=m;break;case 64:l.lastIndex=N+1,l.test(g),m=0===l.lastIndex?g.length-1:l.lastIndex-2,x=["at-word",g.slice(N,m+1),A,N-P,A,m-P],N=m;break;case r:for(m=N,_=!0;g.charCodeAt(m+1)===r;)m+=1,_=!_;if(f=g.charCodeAt(m+1),_&&47!==f&&f!==a&&f!==o&&9!==f&&f!==s&&f!==i&&(m+=1,d.test(g.charAt(m)))){for(;d.test(g.charAt(m+1));)m+=1;g.charCodeAt(m+1)===a&&(m+=1)}x=["word",g.slice(N,m+1),A,N-P,A,m-P],N=m;break;default:47===f&&42===g.charCodeAt(N+1)?(0===(m=g.indexOf("*/",N+2)+1)&&(p?m=g.length:M("comment")),b=g.slice(N,m+1),v=b.split("\n"),(y=v.length-1)>0?(w=A+y,E=m-v[y].length):(w=A,E=P),x=["comment",b,A,N-P,w,m-E],P=E,A=w,N=m):(c.lastIndex=N+1,c.test(g),m=0===c.lastIndex?g.length-1:c.lastIndex-2,x=["word",g.slice(N,m+1),A,N-P,A,m-P],R.push(x),N=m)}return N++,x}}function D(e){T.push(e)}return{back:D,nextToken:I,endOfFile:j}};var n=39,r=92,o=10,a=32,i=12,s=13,l=/[ \n\t\r\f\{\}\(\)'"\\;/\[\]#]/g,c=/[ \n\t\r\f\(\)\{\}:;@!'"\\\]\[#]|\/(?=\*)/g,u=/.[\\\/\("'\n]/,d=/[a-f0-9]/i;e.exports=t.default},3e3:function(e,t){"use strict";t.__esModule=!0,t.default={prefix:function(e){var t=e.match(/^(-\w+-)/);return t?t[0]:""},unprefixed:function(e){return e.replace(/^-\w+-/,"")}},e.exports=t.default},6094:function(e,t){"use strict";t.__esModule=!0,t.default=function(e){n[e]||(n[e]=!0,"undefined"!=typeof console&&console.warn&&console.warn(e))};var n={};e.exports=t.default},9936:function(e,t){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=function(){function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(n(this,e),this.type="warning",this.text=t,r.node&&r.node.source){var o=r.node.positionBy(r);this.line=o.line,this.column=o.column}for(var a in r)this[a]=r[a]}return e.prototype.toString=function(){return this.node?this.node.error(this.text,{plugin:this.plugin,index:this.index,word:this.word}).message:this.plugin?this.plugin+": "+this.text:this.text},e}();t.default=r,e.exports=t.default},40:function(e,t,n){var r=n(5037),o=Object.prototype.hasOwnProperty,a="undefined"!=typeof Map;function i(){this._array=[],this._set=a?new Map:Object.create(null)}i.fromArray=function(e,t){for(var n=new i,r=0,o=e.length;r<o;r++)n.add(e[r],t);return n},i.prototype.size=function(){return a?this._set.size:Object.getOwnPropertyNames(this._set).length},i.prototype.add=function(e,t){var n=a?e:r.toSetString(e),i=a?this.has(e):o.call(this._set,n),s=this._array.length;i&&!t||this._array.push(e),i||(a?this._set.set(e,s):this._set[n]=s)},i.prototype.has=function(e){if(a)return this._set.has(e);var t=r.toSetString(e);return o.call(this._set,t)},i.prototype.indexOf=function(e){if(a){var t=this._set.get(e);if(t>=0)return t}else{var n=r.toSetString(e);if(o.call(this._set,n))return this._set[n]}throw new Error('"'+e+'" is not in the set.')},i.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},i.prototype.toArray=function(){return this._array.slice()},t.I=i},3858:function(e,t,n){var r=n(2629);t.encode=function(e){var t,n="",o=function(e){return e<0?1+(-e<<1):0+(e<<1)}(e);do{t=31&o,(o>>>=5)>0&&(t|=32),n+=r.encode(t)}while(o>0);return n},t.decode=function(e,t,n){var o,a,i,s,l=e.length,c=0,u=0;do{if(t>=l)throw new Error("Expected more digits in base 64 VLQ value.");if(-1===(a=r.decode(e.charCodeAt(t++))))throw new Error("Invalid base64 digit: "+e.charAt(t-1));o=!!(32&a),c+=(a&=31)<<u,u+=5}while(o);n.value=(s=(i=c)>>1,1==(1&i)?-s:s),n.rest=t}},2629:function(e,t){var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split("");t.encode=function(e){if(0<=e&&e<n.length)return n[e];throw new TypeError("Must be between 0 and 63: "+e)},t.decode=function(e){return 65<=e&&e<=90?e-65:97<=e&&e<=122?e-97+26:48<=e&&e<=57?e-48+52:43==e?62:47==e?63:-1}},115:function(e,t){function n(e,r,o,a,i,s){var l=Math.floor((r-e)/2)+e,c=i(o,a[l],!0);return 0===c?l:c>0?r-l>1?n(l,r,o,a,i,s):s==t.LEAST_UPPER_BOUND?r<a.length?r:-1:l:l-e>1?n(e,l,o,a,i,s):s==t.LEAST_UPPER_BOUND?l:e<0?-1:e}t.GREATEST_LOWER_BOUND=1,t.LEAST_UPPER_BOUND=2,t.search=function(e,r,o,a){if(0===r.length)return-1;var i=n(-1,r.length,e,r,o,a||t.GREATEST_LOWER_BOUND);if(i<0)return-1;for(;i-1>=0&&0===o(r[i],r[i-1],!0);)--i;return i}},212:function(e,t,n){var r=n(5037);function o(){this._array=[],this._sorted=!0,this._last={generatedLine:-1,generatedColumn:0}}o.prototype.unsortedForEach=function(e,t){this._array.forEach(e,t)},o.prototype.add=function(e){var t,n,o,a,i,s;n=e,o=(t=this._last).generatedLine,a=n.generatedLine,i=t.generatedColumn,s=n.generatedColumn,a>o||a==o&&s>=i||r.compareByGeneratedPositionsInflated(t,n)<=0?(this._last=e,this._array.push(e)):(this._sorted=!1,this._array.push(e))},o.prototype.toArray=function(){return this._sorted||(this._array.sort(r.compareByGeneratedPositionsInflated),this._sorted=!0),this._array},t.H=o},8251:function(e,t){function n(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function r(e,t,o,a){if(o<a){var i=o-1;n(e,(u=o,d=a,Math.round(u+Math.random()*(d-u))),a);for(var s=e[a],l=o;l<a;l++)t(e[l],s)<=0&&n(e,i+=1,l);n(e,i+1,l);var c=i+1;r(e,t,o,c-1),r(e,t,c+1,a)}var u,d}t.U=function(e,t){r(e,t,0,e.length-1)}},5177:function(e,t,n){var r=n(5037),o=n(115),a=n(40).I,i=n(3858),s=n(8251).U;function l(e,t){var n=e;return"string"==typeof e&&(n=r.parseSourceMapInput(e)),null!=n.sections?new d(n,t):new c(n,t)}function c(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),i=r.getArg(n,"sources"),s=r.getArg(n,"names",[]),l=r.getArg(n,"sourceRoot",null),c=r.getArg(n,"sourcesContent",null),u=r.getArg(n,"mappings"),d=r.getArg(n,"file",null);if(o!=this._version)throw new Error("Unsupported version: "+o);l&&(l=r.normalize(l)),i=i.map(String).map(r.normalize).map((function(e){return l&&r.isAbsolute(l)&&r.isAbsolute(e)?r.relative(l,e):e})),this._names=a.fromArray(s.map(String),!0),this._sources=a.fromArray(i,!0),this._absoluteSources=this._sources.toArray().map((function(e){return r.computeSourceURL(l,e,t)})),this.sourceRoot=l,this.sourcesContent=c,this._mappings=u,this._sourceMapURL=t,this.file=d}function u(){this.generatedLine=0,this.generatedColumn=0,this.source=null,this.originalLine=null,this.originalColumn=null,this.name=null}function d(e,t){var n=e;"string"==typeof e&&(n=r.parseSourceMapInput(e));var o=r.getArg(n,"version"),i=r.getArg(n,"sections");if(o!=this._version)throw new Error("Unsupported version: "+o);this._sources=new a,this._names=new a;var s={line:-1,column:0};this._sections=i.map((function(e){if(e.url)throw new Error("Support for url field in sections not implemented.");var n=r.getArg(e,"offset"),o=r.getArg(n,"line"),a=r.getArg(n,"column");if(o<s.line||o===s.line&&a<s.column)throw new Error("Section offsets must be ordered and non-overlapping.");return s=n,{generatedOffset:{generatedLine:o+1,generatedColumn:a+1},consumer:new l(r.getArg(e,"map"),t)}}))}l.fromSourceMap=function(e,t){return c.fromSourceMap(e,t)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{configurable:!0,enumerable:!0,get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{configurable:!0,enumerable:!0,get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var n=e.charAt(t);return";"===n||","===n},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,n){var o,a=t||null;switch(n||l.GENERATED_ORDER){case l.GENERATED_ORDER:o=this._generatedMappings;break;case l.ORIGINAL_ORDER:o=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var i=this.sourceRoot;o.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return{source:t=r.computeSourceURL(i,t,this._sourceMapURL),generatedLine:e.generatedLine,generatedColumn:e.generatedColumn,originalLine:e.originalLine,originalColumn:e.originalColumn,name:null===e.name?null:this._names.at(e.name)}}),this).forEach(e,a)},l.prototype.allGeneratedPositionsFor=function(e){var t=r.getArg(e,"line"),n={source:r.getArg(e,"source"),originalLine:t,originalColumn:r.getArg(e,"column",0)};if(n.source=this._findSourceIndex(n.source),n.source<0)return[];var a=[],i=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,o.LEAST_UPPER_BOUND);if(i>=0){var s=this._originalMappings[i];if(void 0===e.column)for(var l=s.originalLine;s&&s.originalLine===l;)a.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i];else for(var c=s.originalColumn;s&&s.originalLine===t&&s.originalColumn==c;)a.push({line:r.getArg(s,"generatedLine",null),column:r.getArg(s,"generatedColumn",null),lastColumn:r.getArg(s,"lastGeneratedColumn",null)}),s=this._originalMappings[++i]}return a},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.prototype._findSourceIndex=function(e){var t,n=e;if(null!=this.sourceRoot&&(n=r.relative(this.sourceRoot,n)),this._sources.has(n))return this._sources.indexOf(n);for(t=0;t<this._absoluteSources.length;++t)if(this._absoluteSources[t]==e)return t;return-1},c.fromSourceMap=function(e,t){var n=Object.create(c.prototype),o=n._names=a.fromArray(e._names.toArray(),!0),i=n._sources=a.fromArray(e._sources.toArray(),!0);n.sourceRoot=e._sourceRoot,n.sourcesContent=e._generateSourcesContent(n._sources.toArray(),n.sourceRoot),n.file=e._file,n._sourceMapURL=t,n._absoluteSources=n._sources.toArray().map((function(e){return r.computeSourceURL(n.sourceRoot,e,t)}));for(var l=e._mappings.toArray().slice(),d=n.__generatedMappings=[],g=n.__originalMappings=[],p=0,f=l.length;p<f;p++){var m=l[p],h=new u;h.generatedLine=m.generatedLine,h.generatedColumn=m.generatedColumn,m.source&&(h.source=i.indexOf(m.source),h.originalLine=m.originalLine,h.originalColumn=m.originalColumn,m.name&&(h.name=o.indexOf(m.name)),g.push(h)),d.push(h)}return s(n.__originalMappings,r.compareByOriginalPositions),n},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._absoluteSources.slice()}}),c.prototype._parseMappings=function(e,t){for(var n,o,a,l,c,d=1,g=0,p=0,f=0,m=0,h=0,v=e.length,y=0,b={},_={},w=[],E=[];y<v;)if(";"===e.charAt(y))d++,y++,g=0;else if(","===e.charAt(y))y++;else{for((n=new u).generatedLine=d,l=y;l<v&&!this._charIsMappingSeparator(e,l);l++);if(a=b[o=e.slice(y,l)])y+=o.length;else{for(a=[];y<l;)i.decode(e,y,_),c=_.value,y=_.rest,a.push(c);if(2===a.length)throw new Error("Found a source, but no line and column");if(3===a.length)throw new Error("Found a source and line, but no column");b[o]=a}n.generatedColumn=g+a[0],g=n.generatedColumn,a.length>1&&(n.source=m+a[1],m+=a[1],n.originalLine=p+a[2],p=n.originalLine,n.originalLine+=1,n.originalColumn=f+a[3],f=n.originalColumn,a.length>4&&(n.name=h+a[4],h+=a[4])),E.push(n),"number"==typeof n.originalLine&&w.push(n)}s(E,r.compareByGeneratedPositionsDeflated),this.__generatedMappings=E,s(w,r.compareByOriginalPositions),this.__originalMappings=w},c.prototype._findMapping=function(e,t,n,r,a,i){if(e[n]<=0)throw new TypeError("Line must be greater than or equal to 1, got "+e[n]);if(e[r]<0)throw new TypeError("Column must be greater than or equal to 0, got "+e[r]);return o.search(e,t,a,i)},c.prototype.computeColumnSpans=function(){for(var e=0;e<this._generatedMappings.length;++e){var t=this._generatedMappings[e];if(e+1<this._generatedMappings.length){var n=this._generatedMappings[e+1];if(t.generatedLine===n.generatedLine){t.lastGeneratedColumn=n.generatedColumn-1;continue}}t.lastGeneratedColumn=1/0}},c.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=this._findMapping(t,this._generatedMappings,"generatedLine","generatedColumn",r.compareByGeneratedPositionsDeflated,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(n>=0){var o=this._generatedMappings[n];if(o.generatedLine===t.generatedLine){var a=r.getArg(o,"source",null);null!==a&&(a=this._sources.at(a),a=r.computeSourceURL(this.sourceRoot,a,this._sourceMapURL));var i=r.getArg(o,"name",null);return null!==i&&(i=this._names.at(i)),{source:a,line:r.getArg(o,"originalLine",null),column:r.getArg(o,"originalColumn",null),name:i}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e}))},c.prototype.sourceContentFor=function(e,t){if(!this.sourcesContent)return null;var n=this._findSourceIndex(e);if(n>=0)return this.sourcesContent[n];var o,a=e;if(null!=this.sourceRoot&&(a=r.relative(this.sourceRoot,a)),null!=this.sourceRoot&&(o=r.urlParse(this.sourceRoot))){var i=a.replace(/^file:\/\//,"");if("file"==o.scheme&&this._sources.has(i))return this.sourcesContent[this._sources.indexOf(i)];if((!o.path||"/"==o.path)&&this._sources.has("/"+a))return this.sourcesContent[this._sources.indexOf("/"+a)]}if(t)return null;throw new Error('"'+a+'" is not in the SourceMap.')},c.prototype.generatedPositionFor=function(e){var t=r.getArg(e,"source");if((t=this._findSourceIndex(t))<0)return{line:null,column:null,lastColumn:null};var n={source:t,originalLine:r.getArg(e,"line"),originalColumn:r.getArg(e,"column")},o=this._findMapping(n,this._originalMappings,"originalLine","originalColumn",r.compareByOriginalPositions,r.getArg(e,"bias",l.GREATEST_LOWER_BOUND));if(o>=0){var a=this._originalMappings[o];if(a.source===n.source)return{line:r.getArg(a,"generatedLine",null),column:r.getArg(a,"generatedColumn",null),lastColumn:r.getArg(a,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},d.prototype=Object.create(l.prototype),d.prototype.constructor=l,d.prototype._version=3,Object.defineProperty(d.prototype,"sources",{get:function(){for(var e=[],t=0;t<this._sections.length;t++)for(var n=0;n<this._sections[t].consumer.sources.length;n++)e.push(this._sections[t].consumer.sources[n]);return e}}),d.prototype.originalPositionFor=function(e){var t={generatedLine:r.getArg(e,"line"),generatedColumn:r.getArg(e,"column")},n=o.search(t,this._sections,(function(e,t){return e.generatedLine-t.generatedOffset.generatedLine||e.generatedColumn-t.generatedOffset.generatedColumn})),a=this._sections[n];return a?a.consumer.originalPositionFor({line:t.generatedLine-(a.generatedOffset.generatedLine-1),column:t.generatedColumn-(a.generatedOffset.generatedLine===t.generatedLine?a.generatedOffset.generatedColumn-1:0),bias:e.bias}):{source:null,line:null,column:null,name:null}},d.prototype.hasContentsOfAllSources=function(){return this._sections.every((function(e){return e.consumer.hasContentsOfAllSources()}))},d.prototype.sourceContentFor=function(e,t){for(var n=0;n<this._sections.length;n++){var r=this._sections[n].consumer.sourceContentFor(e,!0);if(r)return r}if(t)return null;throw new Error('"'+e+'" is not in the SourceMap.')},d.prototype.generatedPositionFor=function(e){for(var t=0;t<this._sections.length;t++){var n=this._sections[t];if(-1!==n.consumer._findSourceIndex(r.getArg(e,"source"))){var o=n.consumer.generatedPositionFor(e);if(o)return{line:o.line+(n.generatedOffset.generatedLine-1),column:o.column+(n.generatedOffset.generatedLine===o.line?n.generatedOffset.generatedColumn-1:0)}}}return{line:null,column:null}},d.prototype._parseMappings=function(e,t){this.__generatedMappings=[],this.__originalMappings=[];for(var n=0;n<this._sections.length;n++)for(var o=this._sections[n],a=o.consumer._generatedMappings,i=0;i<a.length;i++){var l=a[i],c=o.consumer._sources.at(l.source);c=r.computeSourceURL(o.consumer.sourceRoot,c,this._sourceMapURL),this._sources.add(c),c=this._sources.indexOf(c);var u=null;l.name&&(u=o.consumer._names.at(l.name),this._names.add(u),u=this._names.indexOf(u));var d={source:c,generatedLine:l.generatedLine+(o.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(o.generatedOffset.generatedLine===l.generatedLine?o.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};this.__generatedMappings.push(d),"number"==typeof d.originalLine&&this.__originalMappings.push(d)}s(this.__generatedMappings,r.compareByGeneratedPositionsDeflated),s(this.__originalMappings,r.compareByOriginalPositions)}},8530:function(e,t,n){var r=n(3858),o=n(5037),a=n(40).I,i=n(212).H;function s(e){e||(e={}),this._file=o.getArg(e,"file",null),this._sourceRoot=o.getArg(e,"sourceRoot",null),this._skipValidation=o.getArg(e,"skipValidation",!1),this._sources=new a,this._names=new a,this._mappings=new i,this._sourcesContents=null}s.prototype._version=3,s.fromSourceMap=function(e){var t=e.sourceRoot,n=new s({file:e.file,sourceRoot:t});return e.eachMapping((function(e){var r={generated:{line:e.generatedLine,column:e.generatedColumn}};null!=e.source&&(r.source=e.source,null!=t&&(r.source=o.relative(t,r.source)),r.original={line:e.originalLine,column:e.originalColumn},null!=e.name&&(r.name=e.name)),n.addMapping(r)})),e.sources.forEach((function(r){var a=r;null!==t&&(a=o.relative(t,r)),n._sources.has(a)||n._sources.add(a);var i=e.sourceContentFor(r);null!=i&&n.setSourceContent(r,i)})),n},s.prototype.addMapping=function(e){var t=o.getArg(e,"generated"),n=o.getArg(e,"original",null),r=o.getArg(e,"source",null),a=o.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,n,r,a),null!=r&&(r=String(r),this._sources.has(r)||this._sources.add(r)),null!=a&&(a=String(a),this._names.has(a)||this._names.add(a)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=n&&n.line,originalColumn:null!=n&&n.column,source:r,name:a})},s.prototype.setSourceContent=function(e,t){var n=e;null!=this._sourceRoot&&(n=o.relative(this._sourceRoot,n)),null!=t?(this._sourcesContents||(this._sourcesContents=Object.create(null)),this._sourcesContents[o.toSetString(n)]=t):this._sourcesContents&&(delete this._sourcesContents[o.toSetString(n)],0===Object.keys(this._sourcesContents).length&&(this._sourcesContents=null))},s.prototype.applySourceMap=function(e,t,n){var r=t;if(null==t){if(null==e.file)throw new Error('SourceMapGenerator.prototype.applySourceMap requires either an explicit source file, or the source map\'s "file" property. Both were omitted.');r=e.file}var i=this._sourceRoot;null!=i&&(r=o.relative(i,r));var s=new a,l=new a;this._mappings.unsortedForEach((function(t){if(t.source===r&&null!=t.originalLine){var a=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=a.source&&(t.source=a.source,null!=n&&(t.source=o.join(n,t.source)),null!=i&&(t.source=o.relative(i,t.source)),t.originalLine=a.line,t.originalColumn=a.column,null!=a.name&&(t.name=a.name))}var c=t.source;null==c||s.has(c)||s.add(c);var u=t.name;null==u||l.has(u)||l.add(u)}),this),this._sources=s,this._names=l,e.sources.forEach((function(t){var r=e.sourceContentFor(t);null!=r&&(null!=n&&(t=o.join(n,t)),null!=i&&(t=o.relative(i,t)),this.setSourceContent(t,r))}),this)},s.prototype._validateMapping=function(e,t,n,r){if(t&&"number"!=typeof t.line&&"number"!=typeof t.column)throw new Error("original.line and original.column are not numbers -- you probably meant to omit the original mapping entirely and only map the generated position. If so, pass null for the original mapping instead of an object with empty or null values.");if((!(e&&"line"in e&&"column"in e&&e.line>0&&e.column>=0)||t||n||r)&&!(e&&"line"in e&&"column"in e&&t&&"line"in t&&"column"in t&&e.line>0&&e.column>=0&&t.line>0&&t.column>=0&&n))throw new Error("Invalid mapping: "+JSON.stringify({generated:e,source:n,original:t,name:r}))},s.prototype._serializeMappings=function(){for(var e,t,n,a,i=0,s=1,l=0,c=0,u=0,d=0,g="",p=this._mappings.toArray(),f=0,m=p.length;f<m;f++){if(e="",(t=p[f]).generatedLine!==s)for(i=0;t.generatedLine!==s;)e+=";",s++;else if(f>0){if(!o.compareByGeneratedPositionsInflated(t,p[f-1]))continue;e+=","}e+=r.encode(t.generatedColumn-i),i=t.generatedColumn,null!=t.source&&(a=this._sources.indexOf(t.source),e+=r.encode(a-d),d=a,e+=r.encode(t.originalLine-1-c),c=t.originalLine-1,e+=r.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(n=this._names.indexOf(t.name),e+=r.encode(n-u),u=n)),g+=e}return g},s.prototype._generateSourcesContent=function(e,t){return e.map((function(e){if(!this._sourcesContents)return null;null!=t&&(e=o.relative(t,e));var n=o.toSetString(e);return Object.prototype.hasOwnProperty.call(this._sourcesContents,n)?this._sourcesContents[n]:null}),this)},s.prototype.toJSON=function(){var e={version:this._version,sources:this._sources.toArray(),names:this._names.toArray(),mappings:this._serializeMappings()};return null!=this._file&&(e.file=this._file),null!=this._sourceRoot&&(e.sourceRoot=this._sourceRoot),this._sourcesContents&&(e.sourcesContent=this._generateSourcesContent(e.sources,e.sourceRoot)),e},s.prototype.toString=function(){return JSON.stringify(this.toJSON())},t.SourceMapGenerator=s},8570:function(e,t,n){var r=n(8530).SourceMapGenerator,o=n(5037),a=/(\r?\n)/,i="$$$isSourceNode$$$";function s(e,t,n,r,o){this.children=[],this.sourceContents={},this.line=null==e?null:e,this.column=null==t?null:t,this.source=null==n?null:n,this.name=null==o?null:o,this[i]=!0,null!=r&&this.add(r)}s.fromStringWithSourceMap=function(e,t,n){var r=new s,i=e.split(a),l=0,c=function(){return e()+(e()||"");function e(){return l<i.length?i[l++]:void 0}},u=1,d=0,g=null;return t.eachMapping((function(e){if(null!==g){if(!(u<e.generatedLine)){var t=(n=i[l]||"").substr(0,e.generatedColumn-d);return i[l]=n.substr(e.generatedColumn-d),d=e.generatedColumn,p(g,t),void(g=e)}p(g,c()),u++,d=0}for(;u<e.generatedLine;)r.add(c()),u++;if(d<e.generatedColumn){var n=i[l]||"";r.add(n.substr(0,e.generatedColumn)),i[l]=n.substr(e.generatedColumn),d=e.generatedColumn}g=e}),this),l<i.length&&(g&&p(g,c()),r.add(i.splice(l).join(""))),t.sources.forEach((function(e){var a=t.sourceContentFor(e);null!=a&&(null!=n&&(e=o.join(n,e)),r.setSourceContent(e,a))})),r;function p(e,t){if(null===e||void 0===e.source)r.add(t);else{var a=n?o.join(n,e.source):e.source;r.add(new s(e.originalLine,e.originalColumn,a,t,e.name))}}},s.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);e&&this.children.push(e)}return this},s.prototype.prepend=function(e){if(Array.isArray(e))for(var t=e.length-1;t>=0;t--)this.prepend(e[t]);else{if(!e[i]&&"string"!=typeof e)throw new TypeError("Expected a SourceNode, string, or an array of SourceNodes and strings. Got "+e);this.children.unshift(e)}return this},s.prototype.walk=function(e){for(var t,n=0,r=this.children.length;n<r;n++)(t=this.children[n])[i]?t.walk(e):""!==t&&e(t,{source:this.source,line:this.line,column:this.column,name:this.name})},s.prototype.join=function(e){var t,n,r=this.children.length;if(r>0){for(t=[],n=0;n<r-1;n++)t.push(this.children[n]),t.push(e);t.push(this.children[n]),this.children=t}return this},s.prototype.replaceRight=function(e,t){var n=this.children[this.children.length-1];return n[i]?n.replaceRight(e,t):"string"==typeof n?this.children[this.children.length-1]=n.replace(e,t):this.children.push("".replace(e,t)),this},s.prototype.setSourceContent=function(e,t){this.sourceContents[o.toSetString(e)]=t},s.prototype.walkSourceContents=function(e){for(var t=0,n=this.children.length;t<n;t++)this.children[t][i]&&this.children[t].walkSourceContents(e);var r=Object.keys(this.sourceContents);for(t=0,n=r.length;t<n;t++)e(o.fromSetString(r[t]),this.sourceContents[r[t]])},s.prototype.toString=function(){var e="";return this.walk((function(t){e+=t})),e},s.prototype.toStringWithSourceMap=function(e){var t={code:"",line:1,column:0},n=new r(e),o=!1,a=null,i=null,s=null,l=null;return this.walk((function(e,r){t.code+=e,null!==r.source&&null!==r.line&&null!==r.column?(a===r.source&&i===r.line&&s===r.column&&l===r.name||n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name}),a=r.source,i=r.line,s=r.column,l=r.name,o=!0):o&&(n.addMapping({generated:{line:t.line,column:t.column}}),a=null,o=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===u?(a=null,o=!1):o&&n.addMapping({source:r.source,original:{line:r.line,column:r.column},generated:{line:t.line,column:t.column},name:r.name})):t.column++})),this.walkSourceContents((function(e,t){n.setSourceContent(e,t)})),{code:t.code,map:n}},t.SourceNode=s},5037:function(e,t){t.getArg=function(e,t,n){if(t in e)return e[t];if(3===arguments.length)return n;throw new Error('"'+t+'" is a required argument.')};var n=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.-]*)(?::(\d+))?(.*)$/,r=/^data:.+\,.+$/;function o(e){var t=e.match(n);return t?{scheme:t[1],auth:t[2],host:t[3],port:t[4],path:t[5]}:null}function a(e){var t="";return e.scheme&&(t+=e.scheme+":"),t+="//",e.auth&&(t+=e.auth+"@"),e.host&&(t+=e.host),e.port&&(t+=":"+e.port),e.path&&(t+=e.path),t}function i(e){var n=e,r=o(e);if(r){if(!r.path)return e;n=r.path}for(var i,s=t.isAbsolute(n),l=n.split(/\/+/),c=0,u=l.length-1;u>=0;u--)"."===(i=l[u])?l.splice(u,1):".."===i?c++:c>0&&(""===i?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return""===(n=l.join("/"))&&(n=s?"/":"."),r?(r.path=n,a(r)):n}function s(e,t){""===e&&(e="."),""===t&&(t=".");var n=o(t),s=o(e);if(s&&(e=s.path||"/"),n&&!n.scheme)return s&&(n.scheme=s.scheme),a(n);if(n||t.match(r))return t;if(s&&!s.host&&!s.path)return s.host=t,a(s);var l="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return s?(s.path=l,a(s)):l}t.urlParse=o,t.urlGenerate=a,t.normalize=i,t.join=s,t.isAbsolute=function(e){return"/"===e.charAt(0)||n.test(e)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var n=0;0!==t.indexOf(e+"/");){var r=e.lastIndexOf("/");if(r<0)return t;if((e=e.slice(0,r)).match(/^([^\/]+:\/)?\/*$/))return t;++n}return Array(n+1).join("../")+t.substr(e.length+1)};var l=!("__proto__"in Object.create(null));function c(e){return e}function u(e){if(!e)return!1;var t=e.length;if(t<9)return!1;if(95!==e.charCodeAt(t-1)||95!==e.charCodeAt(t-2)||111!==e.charCodeAt(t-3)||116!==e.charCodeAt(t-4)||111!==e.charCodeAt(t-5)||114!==e.charCodeAt(t-6)||112!==e.charCodeAt(t-7)||95!==e.charCodeAt(t-8)||95!==e.charCodeAt(t-9))return!1;for(var n=t-10;n>=0;n--)if(36!==e.charCodeAt(n))return!1;return!0}function d(e,t){return e===t?0:null===e?1:null===t?-1:e>t?1:-1}t.toSetString=l?c:function(e){return u(e)?"$"+e:e},t.fromSetString=l?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,n){var r=d(e.source,t.source);return 0!==r||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)||n||0!=(r=e.generatedColumn-t.generatedColumn)||0!=(r=e.generatedLine-t.generatedLine)?r:d(e.name,t.name)},t.compareByGeneratedPositionsDeflated=function(e,t,n){var r=e.generatedLine-t.generatedLine;return 0!==r||0!=(r=e.generatedColumn-t.generatedColumn)||n||0!==(r=d(e.source,t.source))||0!=(r=e.originalLine-t.originalLine)||0!=(r=e.originalColumn-t.originalColumn)?r:d(e.name,t.name)},t.compareByGeneratedPositionsInflated=function(e,t){var n=e.generatedLine-t.generatedLine;return 0!==n||0!=(n=e.generatedColumn-t.generatedColumn)||0!==(n=d(e.source,t.source))||0!=(n=e.originalLine-t.originalLine)||0!=(n=e.originalColumn-t.originalColumn)?n:d(e.name,t.name)},t.parseSourceMapInput=function(e){return JSON.parse(e.replace(/^\)]}'[^\n]*\n/,""))},t.computeSourceURL=function(e,t,n){if(t=t||"",e&&("/"!==e[e.length-1]&&"/"!==t[0]&&(e+="/"),t=e+t),n){var r=o(n);if(!r)throw new Error("sourceMapURL could not be parsed");if(r.path){var l=r.path.lastIndexOf("/");l>=0&&(r.path=r.path.substring(0,l+1))}t=s(a(r),t)}return i(t)}},4014:function(e,t,n){t.SourceMapGenerator=n(8530).SourceMapGenerator,t.SourceMapConsumer=n(5177).SourceMapConsumer,t.SourceNode=n(8570).SourceNode},4624:function(e,t,n){"use strict";e.exports=n(5627)},5627:function(e,t){"use strict";var n=function(e){if(!e.includes("grid"))return e;if("display:grid"===e)return"\n display: -ms-grid;\n display: grid;\n ";if("display:inline-grid"===e)return"\n display: -ms-inline-grid;\n display: inline-grid;\n ";var t=e.match(/^grid-([a-z-]+): *(.+)/);if(!t)return e;var n=t[1],r=t[2];return"template"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],a=/repeat\((\d+), *(.+)\)/;return r&&o?"\n -ms-grid-rows: "+r.replace(a,"($2)[$1]")+";\n -ms-grid-columns: "+o.replace(a,"($2)[$1]")+";\n grid-"+e+": "+t+";\n ":e+": "+t+";"}(n,r):"template-rows"===n||"template-columns"===n?function(e,t){return"\n -ms-grid-"+e.split("-")[1]+": "+t.replace(/repeat\((\d+), *(.+)\)/,"($2)[$1]")+";\n grid-"+e+": "+t+";\n "}(n,r):"row"===n||"column"===n?function(e,t){var n=t.split(/\s*\/\s*/),r=n[0],o=n[1],a=null==o?void 0:o.match("span ");if(!r)return"\n -ms-grid-"+e+": "+t+";\n grid-"+e+": "+t+";\n ";if(r&&a)return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+o.replace("span ","")+";\n grid-"+e+": "+t+";\n ";if(r&&!a){var i=parseInt(r);return"\n -ms-grid-"+e+": "+r+";\n -ms-grid-"+e+"-span: "+(parseInt(o)-i)+";\n grid-"+e+": "+t+";\n "}return"\n grid-"+e+": "+t+";\n "}(n,r):e},r=function(e,t){if(1===e||2===e)return Array.isArray(t)?t.forEach((function(e){return n(e)})):n(t)};Object.defineProperty(r,"name",{value:"griddie"}),t.default=r},7621:function(e,t,n){var r;!function(o){var a=/^\s+/,i=/\s+$/,s=0,l=o.round,c=o.min,u=o.max,d=o.random;function g(e,t){if(t=t||{},(e=e||"")instanceof g)return e;if(!(this instanceof g))return new g(e,t);var n=function(e){var t,n,r,s={r:0,g:0,b:0},l=1,d=null,g=null,p=null,f=!1,m=!1;return"string"==typeof e&&(e=function(e){e=e.replace(a,"").replace(i,"").toLowerCase();var t,n=!1;if(A[e])e=A[e],n=!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:j(t[1]),g:j(t[2]),b:j(t[3]),a:L(t[4]),format:n?"name":"hex8"}:(t=z.hex6.exec(e))?{r:j(t[1]),g:j(t[2]),b:j(t[3]),format:n?"name":"hex"}:(t=z.hex4.exec(e))?{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),a:L(t[4]+""+t[4]),format:n?"name":"hex8"}:!!(t=z.hex3.exec(e))&&{r:j(t[1]+""+t[1]),g:j(t[2]+""+t[2]),b:j(t[3]+""+t[3]),format:n?"name":"hex"}}(e)),"object"==typeof e&&(H(e.r)&&H(e.g)&&H(e.b)?(t=e.r,n=e.g,r=e.b,s={r:255*T(t,255),g:255*T(n,255),b:255*T(r,255)},f=!0,m="%"===String(e.r).substr(-1)?"prgb":"rgb"):H(e.h)&&H(e.s)&&H(e.v)?(d=D(e.s),g=D(e.v),s=function(e,t,n){e=6*T(e,360),t=T(t,100),n=T(n,100);var r=o.floor(e),a=e-r,i=n*(1-t),s=n*(1-a*t),l=n*(1-(1-a)*t),c=r%6;return{r:255*[n,s,i,i,l,n][c],g:255*[l,n,n,s,i,i][c],b:255*[i,i,l,n,n,s][c]}}(e.h,d,g),f=!0,m="hsv"):H(e.h)&&H(e.s)&&H(e.l)&&(d=D(e.s),p=D(e.l),s=function(e,t,n){var r,o,a;function i(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}if(e=T(e,360),t=T(t,100),n=T(n,100),0===t)r=o=a=n;else{var s=n<.5?n*(1+t):n+t-n*t,l=2*n-s;r=i(l,s,e+1/3),o=i(l,s,e),a=i(l,s,e-1/3)}return{r:255*r,g:255*o,b:255*a}}(e.h,d,p),f=!0,m="hsl"),e.hasOwnProperty("a")&&(l=e.a)),l=R(l),{ok:f,format:e.format||m,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=n.r,this._g=n.g,this._b=n.b,this._a=n.a,this._roundA=l(100*this._a)/100,this._format=t.format||n.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=n.ok,this._tc_id=s++}function p(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=(a+i)/2;if(a==i)r=o=0;else{var l=a-i;switch(o=s>.5?l/(2-a-i):l/(a+i),a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,l:s}}function f(e,t,n){e=T(e,255),t=T(t,255),n=T(n,255);var r,o,a=u(e,t,n),i=c(e,t,n),s=a,l=a-i;if(o=0===a?0:l/a,a==i)r=0;else{switch(a){case e:r=(t-n)/l+(t<n?6:0);break;case t:r=(n-e)/l+2;break;case n:r=(e-t)/l+4}r/=6}return{h:r,s:o,v:s}}function m(e,t,n,r){var o=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16))];return r&&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 h(e,t,n,r){return[I(F(r)),I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16))].join("")}function v(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.s-=t/100,n.s=M(n.s),g(n)}function y(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.s+=t/100,n.s=M(n.s),g(n)}function b(e){return g(e).desaturate(100)}function _(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.l+=t/100,n.l=M(n.l),g(n)}function w(e,t){t=0===t?0:t||10;var n=g(e).toRgb();return n.r=u(0,c(255,n.r-l(-t/100*255))),n.g=u(0,c(255,n.g-l(-t/100*255))),n.b=u(0,c(255,n.b-l(-t/100*255))),g(n)}function E(e,t){t=0===t?0:t||10;var n=g(e).toHsl();return n.l-=t/100,n.l=M(n.l),g(n)}function $(e,t){var n=g(e).toHsl(),r=(n.h+t)%360;return n.h=r<0?360+r:r,g(n)}function C(e){var t=g(e).toHsl();return t.h=(t.h+180)%360,g(t)}function k(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+120)%360,s:t.s,l:t.l}),g({h:(n+240)%360,s:t.s,l:t.l})]}function S(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+90)%360,s:t.s,l:t.l}),g({h:(n+180)%360,s:t.s,l:t.l}),g({h:(n+270)%360,s:t.s,l:t.l})]}function x(e){var t=g(e).toHsl(),n=t.h;return[g(e),g({h:(n+72)%360,s:t.s,l:t.l}),g({h:(n+216)%360,s:t.s,l:t.l})]}function O(e,t,n){t=t||6,n=n||30;var r=g(e).toHsl(),o=360/n,a=[g(e)];for(r.h=(r.h-(o*t>>1)+720)%360;--t;)r.h=(r.h+o)%360,a.push(g(r));return a}function P(e,t){t=t||6;for(var n=g(e).toHsv(),r=n.h,o=n.s,a=n.v,i=[],s=1/t;t--;)i.push(g({h:r,s:o,v:a})),a=(a+s)%1;return i}g.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,n,r=this.toRgb();return e=r.r/255,t=r.g/255,n=r.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*(n<=.03928?n/12.92:o.pow((n+.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=f(this._r,this._g,this._b);return{h:360*e.h,s:e.s,v:e.v,a:this._a}},toHsvString:function(){var e=f(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.v);return 1==this._a?"hsv("+t+", "+n+"%, "+r+"%)":"hsva("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHsl:function(){var e=p(this._r,this._g,this._b);return{h:360*e.h,s:e.s,l:e.l,a:this._a}},toHslString:function(){var e=p(this._r,this._g,this._b),t=l(360*e.h),n=l(100*e.s),r=l(100*e.l);return 1==this._a?"hsl("+t+", "+n+"%, "+r+"%)":"hsla("+t+", "+n+"%, "+r+"%, "+this._roundA+")"},toHex:function(e){return m(this._r,this._g,this._b,e)},toHexString:function(e){return"#"+this.toHex(e)},toHex8:function(e){return function(e,t,n,r,o){var a=[I(l(e).toString(16)),I(l(t).toString(16)),I(l(n).toString(16)),I(F(r))];return o&&a[0].charAt(0)==a[0].charAt(1)&&a[1].charAt(0)==a[1].charAt(1)&&a[2].charAt(0)==a[2].charAt(1)&&a[3].charAt(0)==a[3].charAt(1)?a[0].charAt(0)+a[1].charAt(0)+a[2].charAt(0)+a[3].charAt(0):a.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*T(this._r,255))+"%",g:l(100*T(this._g,255))+"%",b:l(100*T(this._b,255))+"%",a:this._a}},toPercentageRgbString:function(){return 1==this._a?"rgb("+l(100*T(this._r,255))+"%, "+l(100*T(this._g,255))+"%, "+l(100*T(this._b,255))+"%)":"rgba("+l(100*T(this._r,255))+"%, "+l(100*T(this._g,255))+"%, "+l(100*T(this._b,255))+"%, "+this._roundA+")"},toName:function(){return 0===this._a?"transparent":!(this._a<1)&&(N[m(this._r,this._g,this._b,!0)]||!1)},toFilter:function(e){var t="#"+h(this._r,this._g,this._b,this._a),n=t,r=this._gradientType?"GradientType = 1, ":"";if(e){var o=g(e);n="#"+h(o._r,o._g,o._b,o._a)}return"progid:DXImageTransform.Microsoft.gradient("+r+"startColorstr="+t+",endColorstr="+n+")"},toString:function(e){var t=!!e;e=e||this._format;var n=!1,r=this._a<1&&this._a>=0;return t||!r||"hex"!==e&&"hex6"!==e&&"hex3"!==e&&"hex4"!==e&&"hex8"!==e&&"name"!==e?("rgb"===e&&(n=this.toRgbString()),"prgb"===e&&(n=this.toPercentageRgbString()),"hex"!==e&&"hex6"!==e||(n=this.toHexString()),"hex3"===e&&(n=this.toHexString(!0)),"hex4"===e&&(n=this.toHex8String(!0)),"hex8"===e&&(n=this.toHex8String()),"name"===e&&(n=this.toName()),"hsl"===e&&(n=this.toHslString()),"hsv"===e&&(n=this.toHsvString()),n||this.toHexString()):"name"===e&&0===this._a?this.toName():this.toRgbString()},clone:function(){return g(this.toString())},_applyModification:function(e,t){var n=e.apply(null,[this].concat([].slice.call(t)));return this._r=n._r,this._g=n._g,this._b=n._b,this.setAlpha(n._a),this},lighten:function(){return this._applyModification(_,arguments)},brighten:function(){return this._applyModification(w,arguments)},darken:function(){return this._applyModification(E,arguments)},desaturate:function(){return this._applyModification(v,arguments)},saturate:function(){return this._applyModification(y,arguments)},greyscale:function(){return this._applyModification(b,arguments)},spin:function(){return this._applyModification($,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(C,arguments)},monochromatic:function(){return this._applyCombination(P,arguments)},splitcomplement:function(){return this._applyCombination(x,arguments)},triad:function(){return this._applyCombination(k,arguments)},tetrad:function(){return this._applyCombination(S,arguments)}},g.fromRatio=function(e,t){if("object"==typeof e){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]="a"===r?e[r]:D(e[r]));e=n}return g(e,t)},g.equals=function(e,t){return!(!e||!t)&&g(e).toRgbString()==g(t).toRgbString()},g.random=function(){return g.fromRatio({r:d(),g:d(),b:d()})},g.mix=function(e,t,n){n=0===n?0:n||50;var r=g(e).toRgb(),o=g(t).toRgb(),a=n/100;return g({r:(o.r-r.r)*a+r.r,g:(o.g-r.g)*a+r.g,b:(o.b-r.b)*a+r.b,a:(o.a-r.a)*a+r.a})},g.readability=function(e,t){var n=g(e),r=g(t);return(o.max(n.getLuminance(),r.getLuminance())+.05)/(o.min(n.getLuminance(),r.getLuminance())+.05)},g.isReadable=function(e,t,n){var r,o,a,i,s,l=g.readability(e,t);switch(o=!1,(a=n,"AA"!==(i=((a=a||{level:"AA",size:"small"}).level||"AA").toUpperCase())&&"AAA"!==i&&(i="AA"),"small"!==(s=(a.size||"small").toLowerCase())&&"large"!==s&&(s="small"),r={level:i,size:s}).level+r.size){case"AAsmall":case"AAAlarge":o=l>=4.5;break;case"AAlarge":o=l>=3;break;case"AAAsmall":o=l>=7}return o},g.mostReadable=function(e,t,n){var r,o,a,i,s=null,l=0;o=(n=n||{}).includeFallbackColors,a=n.level,i=n.size;for(var c=0;c<t.length;c++)(r=g.readability(e,t[c]))>l&&(l=r,s=g(t[c]));return g.isReadable(e,s,{level:a,size:i})||!o?s:(n.includeFallbackColors=!1,g.mostReadable(e,["#fff","#000"],n))};var A=g.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=g.hexNames=function(e){var t={};for(var n in e)e.hasOwnProperty(n)&&(t[e[n]]=n);return t}(A);function R(e){return e=parseFloat(e),(isNaN(e)||e<0||e>1)&&(e=1),e}function T(e,t){(function(e){return"string"==typeof e&&-1!=e.indexOf(".")&&1===parseFloat(e)})(e)&&(e="100%");var n=function(e){return"string"==typeof e&&-1!=e.indexOf("%")}(e);return e=c(t,u(0,parseFloat(e))),n&&(e=parseInt(e*t,10)/100),o.abs(e-t)<1e-6?1:e%t/parseFloat(t)}function M(e){return c(1,u(0,e))}function j(e){return parseInt(e,16)}function I(e){return 1==e.length?"0"+e:""+e}function D(e){return e<=1&&(e=100*e+"%"),e}function F(e){return o.round(255*parseFloat(e)).toString(16)}function L(e){return j(e)/255}var G,B,q,z=(B="[\\s|\\(]+("+(G="(?:[-\\+]?\\d*\\.\\d+%?)|(?:[-\\+]?\\d+%?)")+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?",q="[\\s|\\(]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")[,|\\s]+("+G+")\\s*\\)?",{CSS_UNIT:new RegExp(G),rgb:new RegExp("rgb"+B),rgba:new RegExp("rgba"+q),hsl:new RegExp("hsl"+B),hsla:new RegExp("hsla"+q),hsv:new RegExp("hsv"+B),hsva:new RegExp("hsva"+q),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 H(e){return!!z.CSS_UNIT.exec(e)}e.exports?e.exports=g:void 0===(r=function(){return g}.call(t,n,t,e))||(e.exports=r)}(Math)},8026:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//5585d65b9d8c575e5a1f.gogole-g-logo.svg"},1611:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//389bc604a859dff92f15.google-ads-logo.svg"},1724:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//6daf36ba57db9c82b6e0.google-merchant-center-logo.svg"},4515:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/account-card//25a37606f64ef10ff60e.wp-logo.svg"},7555:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/free-listings/configure-product-listings/hero//fb15f79da797ad9cca81.google-free-listing.png"},5588:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//e398c276792a4a469b92.ad-corner-buttons-image.svg"},6309:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//ccb636afd5f179a2a92c.gmail-logo.svg"},184:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//53f7ebba3e0e05545002.google-shopping-logo.svg"},3006:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//093d4a30c2447b174c17.map-background.png"},2702:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//8955ab13b4b35353af90.product-sample-image.jpg"},6544:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//26a3f83547ba2af2f541.shop-sample-logo.png"},9126:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/components/paid-ads/campaign-preview/images//6ad8e32cee58c14f05a5.youtube-logo.svg"},221:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/dashboard/campaign-creation-success-guide//c4325f35cdc65f85a7c1.header.svg"},4802:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/benefits-card//ff593be89bcb7ad1ab7e.image.png"},1704:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/customer-quotes-card//1ad852c48821e91bfd6e.img-quote.svg"},434:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//3905a197de7922d5b82a.img-dashboard.svg"},2454:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//563fd40c029bebb36783.img-free-listings.svg"},9648:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/features-card//c94ebde75361208ddf3a.img-product-promotion.svg"},4682:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/get-started-page/get-started-card//d7e2d04ea7d6535fecf8.image.svg"},5314:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/images//64742f6405be8486218c.google-logo.svg"},1393:function(e,t,n){"use strict";e.exports=n.p+"images/js/src/product-feed/submission-success-guide//9a968634c60ce598aae3.woocommerce-logo.svg"},9196:function(e){"use strict";e.exports=window.React},2819:function(e){"use strict";e.exports=window.lodash},6292:function(e){"use strict";e.exports=window.moment},5736:function(e){"use strict";e.exports=window.wp.i18n},683:function(){},1285:function(){},5580:function(){}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.exports}__webpack_require__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;__webpack_require__.g.importScripts&&(e=__webpack_require__.g.location+"");var t=__webpack_require__.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(/\/[^\/]+$/,"/"),__webpack_require__.p=e}();var __webpack_exports__={};!function(){"use strict";var e={};__webpack_require__.r(e),__webpack_require__.d(e,{Text:function(){return Gi},block:function(){return Bi},destructive:function(){return zi},highlighterText:function(){return Ui},muted:function(){return Hi},positive:function(){return qi},upperCase:function(){return Vi}});var t={};__webpack_require__.r(t),__webpack_require__.d(t,{createAdsCampaign:function(){return kd},deleteAdsCampaign:function(){return xd},deleteShippingRates:function(){return Ju},deleteShippingTimes:function(){return nd},disconnectAllAccounts:function(){return pd},disconnectGoogleAccount:function(){return dd},disconnectGoogleAdsAccount:function(){return gd},fetchExistingGoogleAdsAccounts:function(){return md},fetchExistingGoogleMCAccounts:function(){return cd},fetchGoogleAccount:function(){return id},fetchGoogleAdsAccount:function(){return ud},fetchGoogleAdsAccountBillingStatus:function(){return fd},fetchGoogleMCAccount:function(){return ld},fetchJetpackAccount:function(){return ad},fetchMCSetup:function(){return Pd},fetchSettings:function(){return rd},fetchShippingRates:function(){return Zu},fetchShippingTimes:function(){return ed},fetchTargetAudience:function(){return _d},handleFetchError:function(){return Qu},receiveAdsAccount:function(){return Ed},receiveGoogleAccountAccess:function(){return sd},receiveGoogleAdsAccountBillingStatus:function(){return $d},receiveGoogleMCContactInformation:function(){return hd},receiveMCAccount:function(){return wd},receiveMCIssues:function(){return Td},receiveMCProductFeed:function(){return Md},receiveMCProductStatistics:function(){return Nd},receiveMCReviewRequest:function(){return Rd},receiveMCSetup:function(){return Ad},receiveReport:function(){return Od},requestPhoneVerificationCode:function(){return yd},saveSettings:function(){return od},saveTargetAudience:function(){return Cd},sendMCReviewRequest:function(){return Id},updateAdsCampaign:function(){return Sd},updateGoogleMCContactInformation:function(){return vd},updateMCProductVisibility:function(){return jd},upsertShippingRates:function(){return Xu},upsertShippingTimes:function(){return td},verifyPhoneNumber:function(){return bd}});var n={};__webpack_require__.r(n),__webpack_require__.d(n,{getAdsCampaigns:function(){return pg},getDashboardPerformance:function(){return Eg},getExistingGoogleAdsAccounts:function(){return lg},getExistingGoogleMCAccounts:function(){return ag},getGoogleAccount:function(){return ng},getGoogleAccountAccess:function(){return rg},getGoogleAdsAccount:function(){return ig},getGoogleAdsAccountBillingStatus:function(){return sg},getGoogleMCAccount:function(){return og},getGoogleMCContactInformation:function(){return cg},getGoogleMCPhoneNumber:function(){return ug},getJetpackAccount:function(){return tg},getMCCountriesAndContinents:function(){return dg},getMCIssues:function(){return yg},getMCProductFeed:function(){return bg},getMCProductStatistics:function(){return mg},getMCReviewRequest:function(){return hg},getMCSetup:function(){return fg},getPolicyCheck:function(){return vg},getReport:function(){return wg},getReportByApiQuery:function(){return _g},getSettings:function(){return eg},getShippingRates:function(){return Xd},getShippingTimes:function(){return Jd},getTargetAudience:function(){return gg}});var r={};__webpack_require__.r(r),__webpack_require__.d(r,{getAdsCampaigns:function(){return Lg},getExistingGoogleAdsAccounts:function(){return Mg},getExistingGoogleMCAccounts:function(){return Ng},getGoogleAccount:function(){return Og},getGoogleAccountAccess:function(){return Pg},getGoogleAdsAccount:function(){return Rg},getGoogleAdsAccountBillingStatus:function(){return Tg},getGoogleMCAccount:function(){return Ag},getGoogleMCContactInformation:function(){return jg},getJetpackAccount:function(){return xg},getMCCountriesAndContinents:function(){return Ig},getMCIssues:function(){return zg},getMCProductFeed:function(){return Hg},getMCProductStatistics:function(){return Bg},getMCReviewRequest:function(){return qg},getMCSetup:function(){return Gg},getPolicyCheck:function(){return Dg},getReportByApiQuery:function(){return Vg},getSettings:function(){return Sg},getShippingRates:function(){return Cg},getShippingTimes:function(){return kg},getTargetAudience:function(){return Fg}});var o=__webpack_require__(5736),a=window.wp.hooks,i=window.wc.wcSettings,s=window.wp.element,l=__webpack_require__(2819),c=function(e,t){return function(n){var r=e(n),o=n.displayName,a=void 0===o?n.name||"Component":o;return r.displayName="".concat((0,l.upperFirst)((0,l.camelCase)(t)),"(").concat(a,")"),r}},u=c((e=>t=>(0,s.createElement)("div",{className:"gla-admin-page"},(0,s.createElement)(e,t))),"withAdminPageShell");const d="wc/gla",g="core/notices";var p=window.wp.apiFetch,f=__webpack_require__.n(p),m=e=>{const t=(0,s.useRef)(e);return(0,l.isEqual)(t.current,e)||(t.current=e),t.current};const h="START",v="FINISH",y="ERROR",b="RESET",_={loading:!1,error:void 0,data:void 0,response:void 0,options:void 0},w=(e,t)=>{switch(t.type){case h:return{...e,loading:!0,options:t.options};case v:return{...e,loading:!1,data:t.data,response:t.response,options:t.options};case y:return{...e,loading:!1,error:t.error,response:t.response,options:t.options};case b:return t.state}},E=e=>{const{parse:t=!0}=e;return t};var $=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:_;const n=m(e),r={..._,...t},[o,a]=(0,s.useReducer)(w,r),i=(0,s.useCallback)((async e=>{const t={...n,...e};a({type:h,options:t});try{const e=await f()({...t,parse:!1}),n=e.clone(),r=n.json&&await n.json();return a({type:v,data:r,response:e,options:t}),E(t)?r:e}catch(e){if("fetch_error"===e.code)throw a({type:y,error:e,response:void 0,options:t}),e;const n=e,r=n.clone(),o=r.json?await r.json():new Error("No content body in fetch response.");throw a({type:y,error:o,response:n,options:t}),E(t)?o:n}}),[n]),l=e=>{a({type:b,state:{...r,...e}})},c={...o,reset:l};return[i,c]};function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"single";const t=(0,s.useRef)({}),[n,r]=(0,s.useState)(0);t.current.usingHandle=e,t.current[e]=t.current[e]||{callCount:0};const o=(0,s.useCallback)((n=>{r(n);const o=t.current[e],a=(new Date).getTime()+1e3*n;o.id&&clearInterval(o.id),o.updateSecond=()=>{let n=(a-(new Date).getTime())/1e3;n=Math.max(Math.round(n),0),t.current.usingHandle===e&&r(n),0===n&&clearInterval(o.id)},o.id=setInterval(o.updateSecond,1e3),o.callCount+=1}),[e]);(0,s.useEffect)((()=>{const{updateSecond:n}=t.current[e];n&&n()}),[e]),(0,s.useEffect)((()=>{const e=t.current;return()=>{Object.values(e).forEach((e=>clearInterval(e.id)))}}),[]);const{callCount:a}=t.current[e];return{second:n,callCount:a,startCountdown:o}}const k={path:"/wc/gla/mc/syncable-products-count"},S={...k,method:"POST"};function x(){var e;const{second:t,callCount:n,startCountdown:r}=C(),[o,{data:a}]=$(k),[i]=$(S),l=null!==(e=null==a?void 0:a.count)&&void 0!==e?e:null,c=(0,s.useCallback)((()=>{const e=o();return e.finally((()=>r(5))),e}),[o,r]);return(0,s.useEffect)((()=>{0===t&&n>0&&null===l&&c()}),[t,n,l,c]),{request:i,retrieve:c,count:l}}function O(){return O=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(this,arguments)}function P(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function A(e,t){if(null==e)return{};var n,r,o=P(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var N=__webpack_require__(4184),R=__webpack_require__.n(N),T=(0,s.createContext)({}),M=function(){return(0,s.useContext)(T)};function j(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=__webpack_require__(9196),D=__webpack_require__.n(I),F=function(e){var t={};return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}},L=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,G=F((function(e){return L.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91}));function B(e,t){return B=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},B(e,t)}function q(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,B(e,t)}var z=function(){function e(e){this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.before=null}var t=e.prototype;return t.insert=function(e){if(this.ctr%(this.isSpeedy?65e3:1)==0){var t,n=function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t}(this);t=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(n,t),this.tags.push(n)}var r=this.tags[this.tags.length-1];if(this.isSpeedy){var o=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(r);try{var a=105===e.charCodeAt(1)&&64===e.charCodeAt(0);o.insertRule(e,a?0:o.cssRules.length)}catch(e){}}else r.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),H=function(e){function t(e,r,l,c,g){for(var p,f,m,h,_,E=0,$=0,C=0,k=0,S=0,R=0,M=m=p=0,I=0,D=0,F=0,L=0,G=l.length,B=G-1,q="",z="",H="",U="";I<G;){if(f=l.charCodeAt(I),I===B&&0!==$+k+C+E&&(0!==$&&(f=47===$?10:47),k=C=E=0,G++,B++),0===$+k+C+E){if(I===B&&(0<D&&(q=q.replace(d,"")),0<q.trim().length)){switch(f){case 32:case 9:case 59:case 13:case 10:break;default:q+=l.charAt(I)}f=59}switch(f){case 123:for(p=(q=q.trim()).charCodeAt(0),m=1,L=++I;I<G;){switch(f=l.charCodeAt(I)){case 123:m++;break;case 125:m--;break;case 47:switch(f=l.charCodeAt(I+1)){case 42:case 47:e:{for(M=I+1;M<B;++M)switch(l.charCodeAt(M)){case 47:if(42===f&&42===l.charCodeAt(M-1)&&I+2!==M){I=M+1;break e}break;case 10:if(47===f){I=M+1;break e}}I=M}}break;case 91:f++;case 40:f++;case 34:case 39:for(;I++<B&&l.charCodeAt(I)!==f;);}if(0===m)break;I++}if(m=l.substring(L,I),0===p&&(p=(q=q.replace(u,"").trim()).charCodeAt(0)),64===p){switch(0<D&&(q=q.replace(d,"")),f=q.charCodeAt(1)){case 100:case 109:case 115:case 45:D=r;break;default:D=N}if(L=(m=t(r,D,m,f,g+1)).length,0<T&&(_=s(3,m,D=n(N,q,F),r,O,x,L,f,g,c),q=D.join(""),void 0!==_&&0===(L=(m=_.trim()).length)&&(f=0,m="")),0<L)switch(f){case 115:q=q.replace(w,i);case 100:case 109:case 45:m=q+"{"+m+"}";break;case 107:m=(q=q.replace(v,"$1 $2"))+"{"+m+"}",m=1===A||2===A&&a("@"+m,3)?"@-webkit-"+m+"@"+m:"@"+m;break;default:m=q+m,112===c&&(z+=m,m="")}else m=""}else m=t(r,n(r,q,F),m,c,g+1);H+=m,m=F=D=M=p=0,q="",f=l.charCodeAt(++I);break;case 125:case 59:if(1<(L=(q=(0<D?q.replace(d,""):q).trim()).length))switch(0===M&&(p=q.charCodeAt(0),45===p||96<p&&123>p)&&(L=(q=q.replace(" ",":")).length),0<T&&void 0!==(_=s(1,q,r,e,O,x,z.length,c,g,c))&&0===(L=(q=_.trim()).length)&&(q="\0\0"),p=q.charCodeAt(0),f=q.charCodeAt(1),p){case 0:break;case 64:if(105===f||99===f){U+=q+l.charAt(I);break}default:58!==q.charCodeAt(L-1)&&(z+=o(q,p,f,q.charCodeAt(2)))}F=D=M=p=0,q="",f=l.charCodeAt(++I)}}switch(f){case 13:case 10:47===$?$=0:0===1+p&&107!==c&&0<q.length&&(D=1,q+="\0"),0<T*j&&s(0,q,r,e,O,x,z.length,c,g,c),x=1,O++;break;case 59:case 125:if(0===$+k+C+E){x++;break}default:switch(x++,h=l.charAt(I),f){case 9:case 32:if(0===k+E+$)switch(S){case 44:case 58:case 9:case 32:h="";break;default:32!==f&&(h=" ")}break;case 0:h="\\0";break;case 12:h="\\f";break;case 11:h="\\v";break;case 38:0===k+$+E&&(D=F=1,h="\f"+h);break;case 108:if(0===k+$+E+P&&0<M)switch(I-M){case 2:112===S&&58===l.charCodeAt(I-3)&&(P=S);case 8:111===R&&(P=R)}break;case 58:0===k+$+E&&(M=I);break;case 44:0===$+C+k+E&&(D=1,h+="\r");break;case 34:case 39:0===$&&(k=k===f?0:0===k?f:k);break;case 91:0===k+$+C&&E++;break;case 93:0===k+$+C&&E--;break;case 41:0===k+$+E&&C--;break;case 40:0===k+$+E&&(0===p&&(2*S+3*R==533||(p=1)),C++);break;case 64:0===$+C+k+E+M+m&&(m=1);break;case 42:case 47:if(!(0<k+E+C))switch($){case 0:switch(2*f+3*l.charCodeAt(I+1)){case 235:$=47;break;case 220:L=I,$=42}break;case 42:47===f&&42===S&&L+2!==I&&(33===l.charCodeAt(L+2)&&(z+=l.substring(L,I+1)),h="",$=0)}}0===$&&(q+=h)}R=S,S=f,I++}if(0<(L=z.length)){if(D=r,0<T&&void 0!==(_=s(2,z,D,e,O,x,L,c,g,c))&&0===(z=_).length)return U+z+H;if(z=D.join(",")+"{"+z+"}",0!=A*P){switch(2!==A||a(z,2)||(P=0),P){case 111:z=z.replace(b,":-moz-$1")+z;break;case 112:z=z.replace(y,"::-webkit-input-$1")+z.replace(y,"::-moz-$1")+z.replace(y,":-ms-input-$1")+z}P=0}}return U+z+H}function n(e,t,n){var o=t.trim().split(m);t=o;var a=o.length,i=e.length;switch(i){case 0:case 1:var s=0;for(e=0===i?"":e[0]+" ";s<a;++s)t[s]=r(e,t[s],n).trim();break;default:var l=s=0;for(t=[];s<a;++s)for(var c=0;c<i;++c)t[l++]=r(e[c]+" ",o[s],n).trim()}return t}function r(e,t,n){var r=t.charCodeAt(0);switch(33>r&&(r=(t=t.trim()).charCodeAt(0)),r){case 38:return t.replace(h,"$1"+e.trim());case 58:return e.trim()+t.replace(h,"$1"+e.trim());default:if(0<1*n&&0<t.indexOf("\f"))return t.replace(h,(58===e.charCodeAt(0)?"":"$1")+e.trim())}return e+t}function o(e,t,n,r){var i=e+";",s=2*t+3*n+4*r;if(944===s){e=i.indexOf(":",9)+1;var l=i.substring(e,i.length-1).trim();return l=i.substring(0,e).trim()+l+";",1===A||2===A&&a(l,1)?"-webkit-"+l+l:l}if(0===A||2===A&&!a(i,1))return i;switch(s){case 1015:return 97===i.charCodeAt(10)?"-webkit-"+i+i:i;case 951:return 116===i.charCodeAt(3)?"-webkit-"+i+i:i;case 963:return 110===i.charCodeAt(5)?"-webkit-"+i+i:i;case 1009:if(100!==i.charCodeAt(4))break;case 969:case 942:return"-webkit-"+i+i;case 978:return"-webkit-"+i+"-moz-"+i+i;case 1019:case 983:return"-webkit-"+i+"-moz-"+i+"-ms-"+i+i;case 883:if(45===i.charCodeAt(8))return"-webkit-"+i+i;if(0<i.indexOf("image-set(",11))return i.replace(S,"$1-webkit-$2")+i;break;case 932:if(45===i.charCodeAt(4))switch(i.charCodeAt(5)){case 103:return"-webkit-box-"+i.replace("-grow","")+"-webkit-"+i+"-ms-"+i.replace("grow","positive")+i;case 115:return"-webkit-"+i+"-ms-"+i.replace("shrink","negative")+i;case 98:return"-webkit-"+i+"-ms-"+i.replace("basis","preferred-size")+i}return"-webkit-"+i+"-ms-"+i+i;case 964:return"-webkit-"+i+"-ms-flex-"+i+i;case 1023:if(99!==i.charCodeAt(8))break;return"-webkit-box-pack"+(l=i.substring(i.indexOf(":",15)).replace("flex-","").replace("space-between","justify"))+"-webkit-"+i+"-ms-flex-pack"+l+i;case 1005:return p.test(i)?i.replace(g,":-webkit-")+i.replace(g,":-moz-")+i:i;case 1e3:switch(t=(l=i.substring(13).trim()).indexOf("-")+1,l.charCodeAt(0)+l.charCodeAt(t)){case 226:l=i.replace(_,"tb");break;case 232:l=i.replace(_,"tb-rl");break;case 220:l=i.replace(_,"lr");break;default:return i}return"-webkit-"+i+"-ms-"+l+i;case 1017:if(-1===i.indexOf("sticky",9))break;case 975:switch(t=(i=e).length-10,s=(l=(33===i.charCodeAt(t)?i.substring(0,t):i).substring(e.indexOf(":",7)+1).trim()).charCodeAt(0)+(0|l.charCodeAt(7))){case 203:if(111>l.charCodeAt(8))break;case 115:i=i.replace(l,"-webkit-"+l)+";"+i;break;case 207:case 102:i=i.replace(l,"-webkit-"+(102<s?"inline-":"")+"box")+";"+i.replace(l,"-webkit-"+l)+";"+i.replace(l,"-ms-"+l+"box")+";"+i}return i+";";case 938:if(45===i.charCodeAt(5))switch(i.charCodeAt(6)){case 105:return l=i.replace("-items",""),"-webkit-"+i+"-webkit-box-"+l+"-ms-flex-"+l+i;case 115:return"-webkit-"+i+"-ms-flex-item-"+i.replace($,"")+i;default:return"-webkit-"+i+"-ms-flex-line-pack"+i.replace("align-content","").replace($,"")+i}break;case 973:case 989:if(45!==i.charCodeAt(3)||122===i.charCodeAt(4))break;case 931:case 953:if(!0===k.test(e))return 115===(l=e.substring(e.indexOf(":")+1)).charCodeAt(0)?o(e.replace("stretch","fill-available"),t,n,r).replace(":fill-available",":stretch"):i.replace(l,"-webkit-"+l)+i.replace(l,"-moz-"+l.replace("fill-",""))+i;break;case 962:if(i="-webkit-"+i+(102===i.charCodeAt(5)?"-ms-"+i:"")+i,211===n+r&&105===i.charCodeAt(13)&&0<i.indexOf("transform",10))return i.substring(0,i.indexOf(";",27)+1).replace(f,"$1-webkit-$2")+i}return i}function a(e,t){var n=e.indexOf(1===t?":":"{"),r=e.substring(0,3!==t?n:10);return n=e.substring(n+1,e.length-1),M(2!==t?r:r.replace(C,"$1"),n,t)}function i(e,t){var n=o(t,t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2));return n!==t+";"?n.replace(E," or ($1)").substring(4):"("+t+")"}function s(e,t,n,r,o,a,i,s,l,u){for(var d,g=0,p=t;g<T;++g)switch(d=R[g].call(c,e,p,n,r,o,a,i,s,l,u)){case void 0:case!1:case!0:case null:break;default:p=d}if(p!==t)return p}function l(e){return void 0!==(e=e.prefix)&&(M=null,e?"function"!=typeof e?A=1:(A=2,M=e):A=0),l}function c(e,n){var r=e;if(33>r.charCodeAt(0)&&(r=r.trim()),r=[r],0<T){var o=s(-1,n,r,r,O,x,0,0,0,0);void 0!==o&&"string"==typeof o&&(n=o)}var a=t(N,r,n,0,0);return 0<T&&void 0!==(o=s(-2,a,r,r,O,x,a.length,0,0,0))&&(a=o),P=0,x=O=1,a}var u=/^\0+/g,d=/[\0\r\f]/g,g=/: */g,p=/zoo|gra/,f=/([,: ])(transform)/g,m=/,\r+?/g,h=/([\t\r\n ])*\f?&/g,v=/@(k\w+)\s*(\S*)\s*/,y=/::(place)/g,b=/:(read-only)/g,_=/[svh]\w+-[tblr]{2}/,w=/\(\s*(.*)\s*\)/g,E=/([\s\S]*?);/g,$=/-self|flex-/g,C=/[^]*?(:[rp][el]a[\w-]+)[^]*/,k=/stretch|:\s*\w+\-(?:conte|avail)/,S=/([^-])(image-set\()/,x=1,O=1,P=0,A=1,N=[],R=[],T=0,M=null,j=0;return c.use=function e(t){switch(t){case void 0:case null:T=R.length=0;break;default:if("function"==typeof t)R[T++]=t;else if("object"==typeof t)for(var n=0,r=t.length;n<r;++n)e(t[n]);else j=0|!!t}return e},c.set=l,void 0!==e&&l(e),c},U="/*|*/";function V(e){e&&W.current.insert(e+"}")}var W={current:null},Y=function(e,t,n,r,o,a,i,s,l,c){switch(e){case 1:switch(t.charCodeAt(0)){case 64:return W.current.insert(t+";"),"";case 108:if(98===t.charCodeAt(2))return""}break;case 2:if(0===s)return t+U;break;case 3:switch(s){case 102:case 112:return W.current.insert(n[0]+t),"";default:return t+(0===c?U:"")}case-2:t.split("/*|*/}").forEach(V)}},K=function(e){void 0===e&&(e={});var t,n=e.key||"css";void 0!==e.prefix&&(t={prefix:e.prefix});var r,o=new H(t),a={};r=e.container||document.head;var i,s=document.querySelectorAll("style[data-emotion-"+n+"]");Array.prototype.forEach.call(s,(function(e){e.getAttribute("data-emotion-"+n).split(" ").forEach((function(e){a[e]=!0})),e.parentNode!==r&&r.appendChild(e)})),o.use(e.stylisPlugins)(Y),i=function(e,t,n,r){var a=t.name;W.current=n,o(e,t.styles),r&&(l.inserted[a]=!0)};var l={key:n,sheet:new z({key:n,container:r,nonce:e.nonce,speedy:e.speedy}),nonce:e.nonce,inserted:a,registered:{},insert:i};return l},Q=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)},Z={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},X=/[A-Z]|^ms/g,J=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ee=function(e){return 45===e.charCodeAt(1)},te=function(e){return null!=e&&"boolean"!=typeof e},ne=F((function(e){return ee(e)?e:e.replace(X,"-$&").toLowerCase()})),re=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(J,(function(e,t,n){return ae={name:t,styles:n,next:ae},t}))}return 1===Z[e]||ee(e)||"number"!=typeof t||0===t?t:t+"px"};function oe(e,t,n,r){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ae={name:n.name,styles:n.styles,next:ae},n.name;if(void 0!==n.styles){var o=n.next;if(void 0!==o)for(;void 0!==o;)ae={name:o.name,styles:o.styles,next:ae},o=o.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=oe(e,t,n[o],!1);else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":te(i)&&(r+=ne(a)+":"+re(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=oe(e,t,i,!1);switch(a){case"animation":case"animationName":r+=ne(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var l=0;l<i.length;l++)te(i[l])&&(r+=ne(a)+":"+re(a,i[l])+";")}return r}(e,t,n);case"function":if(void 0!==e){var a=ae,i=n(e);return ae=a,oe(e,t,i,r)}}if(null==t)return n;var s=t[n];return void 0===s||r?n:s}var ae,ie=/label:\s*([^\s;\n{]+)\s*;/g,se=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ae=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=oe(n,t,a,!1)):o+=a[0];for(var i=1;i<e.length;i++)o+=oe(n,t,e[i],46===o.charCodeAt(o.length-1)),r&&(o+=a[i]);ie.lastIndex=0;for(var s,l="";null!==(s=ie.exec(o));)l+="-"+s[1];return{name:Q(o)+l,styles:o,next:ae}},le=(Object.prototype.hasOwnProperty,(0,I.createContext)("undefined"!=typeof HTMLElement?K():null)),ce=(0,I.createContext)({}),ue=(le.Provider,function(e){var t=function(t,n){return(0,I.createElement)(le.Consumer,null,(function(r){return e(t,r,n)}))};return(0,I.forwardRef)(t)});function de(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]):r+=n+" "})),r}var ge=function(e,t,n){var r=e.key+"-"+t.name;if(!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles),void 0===e.inserted[t.name]){var o=t;do{e.insert("."+r,o,e.sheet,!0),o=o.next}while(void 0!==o)}},pe=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return se(t)},fe=(I.Component,function e(t){for(var n=t.length,r=0,o="";r<n;r++){var a=t[r];if(null!=a){var i=void 0;switch(typeof a){case"boolean":break;case"object":if(Array.isArray(a))i=e(a);else for(var s in i="",a)a[s]&&s&&(i&&(i+=" "),i+=s);break;default:i=a}i&&(o&&(o+=" "),o+=i)}}return o});function me(e,t,n){var r=[],o=de(e,r,n);return r.length<2?n:o+t(r)}ue((function(e,t){return(0,I.createElement)(ce.Consumer,null,(function(n){var r=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=se(n,t.registered);return ge(t,o,!1),t.key+"-"+o.name},o={css:r,cx:function(){for(var e=arguments.length,n=new Array(e),o=0;o<e;o++)n[o]=arguments[o];return me(t.registered,r,fe(n))},theme:n};return e.children(o)}))}));var he=G,ve=function(e){return"theme"!==e&&"innerRef"!==e},ye=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?he:ve};function be(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _e(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?be(n,!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):be(n).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var we=function e(t,n){var r,o,a;void 0!==n&&(r=n.label,a=n.target,o=t.__emotion_forwardProp&&n.shouldForwardProp?function(e){return t.__emotion_forwardProp(e)&&n.shouldForwardProp(e)}:n.shouldForwardProp);var i=t.__emotion_real===t,s=i&&t.__emotion_base||t;"function"!=typeof o&&i&&(o=t.__emotion_forwardProp);var l=o||ye(s),c=!l("as");return function(){var u=arguments,d=i&&void 0!==t.__emotion_styles?t.__emotion_styles.slice(0):[];if(void 0!==r&&d.push("label:"+r+";"),null==u[0]||void 0===u[0].raw)d.push.apply(d,u);else{d.push(u[0][0]);for(var g=u.length,p=1;p<g;p++)d.push(u[p],u[0][p])}var f=ue((function(e,t,n){return(0,I.createElement)(ce.Consumer,null,(function(r){var i=c&&e.as||s,u="",g=[],p=e;if(null==e.theme){for(var f in p={},e)p[f]=e[f];p.theme=r}"string"==typeof e.className?u=de(t.registered,g,e.className):null!=e.className&&(u=e.className+" ");var m=se(d.concat(g),t.registered,p);ge(t,m,"string"==typeof i),u+=t.key+"-"+m.name,void 0!==a&&(u+=" "+a);var h=c&&void 0===o?ye(i):l,v={};for(var y in e)c&&"as"===y||h(y)&&(v[y]=e[y]);return v.className=u,v.ref=n||e.innerRef,(0,I.createElement)(i,v)}))}));return f.displayName=void 0!==r?r:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",f.defaultProps=t.defaultProps,f.__emotion_real=f,f.__emotion_base=s,f.__emotion_styles=d,f.__emotion_forwardProp=o,Object.defineProperty(f,"toString",{value:function(){return"."+a}}),f.withComponent=function(t,r){return e(t,void 0!==r?_e({},n||{},{},r):n).apply(void 0,d)},f}},Ee={name:"8kj89b",styles:"flex-direction:row-reverse;"},$e=we("div",{target:"eboqfv50",label:"Flex"})("box-sizing:border-box;display:flex;width:100%;",(function(e){var t=e.align;return pe({alignItems:{top:"flex-start",bottom:"flex-end"}[t]||t},"")})," ",(function(e){var t=e.justify,n=e.isReversed,r={left:"flex-start",right:"flex-end"},o=r[t]||t;return n&&r[t]&&(o="left"===t?r.right:r.left),pe({justifyContent:o},"")})," ",(function(e){var t=e.gap,n=e.isReversed,r="number"==typeof t?4*t:4,o="margin-".concat(n?"left":"right");return pe("> *{",o,":",r,"px;&:last-child{",o,":0;}}")})," ",(function(e){return e.isReversed?Ee:""}),""),Ce=we("div",{target:"eboqfv51",label:"Item"})({name:"13luw5d",styles:"box-sizing:border-box;min-width:0;max-width:100%;"}),ke=we(Ce,{target:"eboqfv52",label:"Block"})({name:"1rr4qq7",styles:"flex:1;"}),Se=(0,s.forwardRef)((function(e,t){var n=e.align,r=void 0===n?"center":n,o=e.className,a=e.gap,i=void 0===a?2:a,l=e.justify,c=void 0===l?"space-between":l,u=e.isReversed,d=void 0!==u&&u,g=A(e,["align","className","gap","justify","isReversed"]),p=R()("components-flex",o);return(0,s.createElement)($e,O({},g,{align:r,className:p,ref:t,gap:i,justify:c,isReversed:d}))})),xe=Se,Oe=__webpack_require__(7621),Pe=__webpack_require__.n(Oe);function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Re={black:"#000",white:"#fff"},Te={blue:{medium:{focus:"#007cba",focusDark:"#fff"}},gray:{900:"#1e1e1e",700:"#757575",600:"#949494",400:"#ccc",200:"#ddd",100:"#f0f0f0"},darkGray:{primary:"#1e1e1e"},mediumGray:{text:"#757575"},lightGray:{ui:"#949494",secondary:"#ccc",tertiary:"#e7e8e9"}},Me={900:"#191e23",800:"#23282d",700:"#32373c",600:"#40464d",500:"#555d66",400:"#606a73",300:"#6c7781",200:"#7e8993",150:"#8d96a0",100:"#8f98a1",placeholder:ze(Te.gray[900],.62)},je={900:ze("#000510",.9),800:ze("#00000a",.85),700:ze("#06060b",.8),600:ze("#000913",.75),500:ze("#0a1829",.7),400:ze("#0a1829",.65),300:ze("#0e1c2e",.62),200:ze("#162435",.55),100:ze("#223443",.5),backgroundFill:ze(Me[700],.7)},Ie={900:ze("#304455",.45),800:ze("#425863",.4),700:ze("#667886",.35),600:ze("#7b86a2",.3),500:ze("#9197a2",.25),400:ze("#95959c",.2),300:ze("#829493",.15),200:ze("#8b8b96",.1),100:ze("#747474",.05)},De={900:"#a2aab2",800:"#b5bcc2",700:"#ccd0d4",600:"#d7dade",500:"#e2e4e7",400:"#e8eaeb",300:"#edeff0",200:"#f3f4f5",100:"#f8f9f9",placeholder:ze(Re.white,.65)},Fe={900:ze(Re.white,.5),800:ze(Re.white,.45),700:ze(Re.white,.4),600:ze(Re.white,.35),500:ze(Re.white,.3),400:ze(Re.white,.25),300:ze(Re.white,.2),200:ze(Re.white,.15),100:ze(Re.white,.1),backgroundFill:ze(De[300],.8)},Le={wordpress:{700:"#00669b"},dark:{900:"#0071a1"},medium:{900:"#006589",800:"#00739c",700:"#007fac",600:"#008dbe",500:"#00a0d2",400:"#33b3db",300:"#66c6e4",200:"#bfe7f3",100:"#e5f5fa",highlight:"#b3e7fe",focus:"#007cba"}},Ge={theme:"var( --wp-admin-theme-color, ".concat(Le.wordpress[700],")"),themeDark10:"var( --wp-admin-theme-color-darker-10, ".concat(Le.medium.focus,")")},Be={theme:Ge.theme,background:Re.white,backgroundDisabled:De[200],border:Te.gray[700],borderFocus:Ge.themeDark10,borderDisabled:Te.gray[400],borderLight:Te.gray[200],label:Me[500],textDisabled:Me[150],textDark:Re.white,textLight:Re.black},qe=Ne(Ne({},Re),{},{darkGray:(0,l.merge)({},Me,Te.darkGray),darkOpacity:je,darkOpacityLight:Ie,mediumGray:Te.mediumGray,gray:Te.gray,lightGray:(0,l.merge)({},De,Te.lightGray),lightGrayLight:Fe,blue:(0,l.merge)({},Le,Te.blue),alert:{yellow:"#f0b849",red:"#d94f4f",green:"#4ab866"},admin:Ge,ui:Be});function ze(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,n=Pe()(e).toRgb(),r=n.r,o=n.g,a=n.b;return"rgba(".concat(r,", ").concat(o,", ").concat(a,", ").concat(t,")")}function He(e){return(0,l.get)(qe,e,"#000")}function Ue(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;return isNaN(e)?"".concat(8,"px"):"".concat(8*e,"px")}var Ve={borderColor:He("lightGray.500"),borderRadius:"3px",backgroundShady:He("lightGray.200")},We=Ve.borderColor,Ye=Ve.borderRadius,Ke=Ve.backgroundShady,Qe=we("div",{target:"e1q7k77g0",label:"CardUI"})("background:",He("white"),";box-sizing:border-box;border-radius:",Ye,";border:1px solid ",We,";",nt,";&.is-elevated{box-shadow:0px 1px 3px 0px rgba( 0,0,0,0.2 ),0px 1px 1px 0px rgba( 0,0,0,0.14 ),0px 2px 1px -1px rgba( 0,0,0,0.12 );}"),Ze=we(xe,{target:"e1q7k77g1",label:"HeaderUI"})("border-bottom:1px solid ",We,";border-top-left-radius:",Ye,";border-top-right-radius:",Ye,";box-sizing:border-box;&:last-child{border-bottom:none;}",tt,";",nt,";",rt,";"),Xe=(we("div",{target:"e1q7k77g2",label:"MediaUI"})("box-sizing:border-box;overflow:hidden;& > img,& > iframe{display:block;height:auto;max-width:100%;width:100%;}&:first-of-type{border-top-left-radius:",Ye,";border-top-right-radius:",Ye,";}&:last-of-type{border-bottom-left-radius:",Ye,";border-bottom-right-radius:",Ye,";}"),we("div",{target:"e1q7k77g3",label:"BodyUI"})("box-sizing:border-box;",(function(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ".concat(Ue(3)," ").concat(Ue(4),";\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ").concat(Ue(2)," ").concat(Ue(3),";\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ").concat(Ue(2),";\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ").concat(Ue(1),";\n\t\t\t}\n\t\t}\n\t")}),";",rt,";")),Je=we(xe,{target:"e1q7k77g4",label:"FooterUI"})("border-top:1px solid ",We,";border-bottom-left-radius:",Ye,";border-bottom-right-radius:",Ye,";box-sizing:border-box;&:first-of-type{border-top:none;}",tt,";",nt,";",rt,";"),et=we("hr",{target:"e1q7k77g5",label:"DividerUI"})("all:unset;border-top:1px solid ",We,";box-sizing:border-box;display:block;height:0;width:100%;");function tt(){return"\n\t\t&.is-size {\n\t\t\t&-large {\n\t\t\t\tpadding: ".concat(Ue(3)," ").concat(Ue(4),";\n\t\t\t}\n\t\t\t&-medium {\n\t\t\t\tpadding: ").concat(Ue(2)," ").concat(Ue(3),";\n\t\t\t}\n\t\t\t&-small {\n\t\t\t\tpadding: ").concat(Ue(2),";\n\t\t\t}\n\t\t\t&-extraSmall {\n\t\t\t\tpadding: ").concat(Ue(1),";\n\t\t\t}\n\t\t}\n\t")}function nt(){return"\n\t\t&.is-borderless {\n\t\t\tborder: none;\n\t\t}\n\t"}function rt(){return"\n\t\t&.is-shady {\n\t\t\tbackground: ".concat(Ke,";\n\t\t}\n\t")}function ot(e){var t=e.className,n=e.isBorderless,r=e.isElevated,o=e.size,a=A(e,["className","isBorderless","isElevated","size"]),i=T.Provider,l={isBorderless:n,isElevated:r,size:o},c=R()("components-card",n&&"is-borderless",r&&"is-elevated",o&&"is-size-".concat(o),t);return(0,s.createElement)(i,{value:l},(0,s.createElement)(Qe,O({},a,{className:c})))}ot.defaultProps={isBorderless:!1,isElevated:!1,size:"medium"};var at=ot;function it(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function st(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?it(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):it(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var lt={isShady:!1,size:"medium"},ct=function(e){var t=e.className,n=e.isShady,r=A(e,["className","isShady"]),o=st(st(st({},lt),M()),e).size,a=R()("components-card__body",n&&"is-shady",o&&"is-size-".concat(o),t);return(0,s.createElement)(Xe,O({},r,{className:a}))},ut=(0,s.forwardRef)((function(e,t){var n=e.className,r=A(e,["className"]),o=R()("components-flex__item",n);return(0,s.createElement)(Ce,O({},r,{className:o,ref:t}))}));function dt(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var gt=pe;function pt(){var e=dt(["\n\t","\n\t","\n"]);return pt=function(){return e},e}function ft(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return ft=function(){return e},e}function mt(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return mt=function(){return e},e}function ht(){var e=dt(["\n\t\t\t\t","\n\t\t\t"]);return ht=function(){return e},e}function vt(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return vt=function(){return e},e}function yt(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return yt=function(){return e},e}function bt(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return bt=function(){return e},e}function _t(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return _t=function(){return e},e}function wt(){var e=dt(["\n\t\t\t\t","\n\t\t\t\t","\n\t\t\t"]);return wt=function(){return e},e}var Et="font-weight: 400;",$t="font-weight: 600;",Ct="\n ".concat(Et,"\n"),kt="\n\tfont-size: 32px;\n\tline-height: 40px;\n",St="\n\tfont-size: 24px;\n\tline-height: 32px;\n",xt="\n\tfont-size: 20px;\n\tline-height: 28px;\n",Ot="\n\t".concat($t,"\n\tfont-size: 14px;\n\tline-height: 20px;\n"),Pt="\n\tfont-size: 16px;\n\tline-height: 24px;\n",At="\n\tfont-size: 14px;\n\tline-height: 20px;\n",Nt="\n\t".concat(Et,"\n"),Rt="\n\tfont-size: 16px;\n\tline-height: 24px;\n",Tt="\n\tfont-size: 14px;\n\tline-height: 20px;\n",Mt="\n ".concat($t,"\n font-size: 14px;\n line-height: 20px;\n"),jt="\n\t".concat(Et,"\n\tfont-size: 12px;\n\tline-height: 16px;\n"),It="\n\t".concat($t,"\n\tfont-size: 12px;\n\tline-height: 16px;\n"),Dt="\n\t".concat("font-weight: 500;","\n\tfont-size: 11px;\n\tline-height: 1.4;\n\ttext-transform: uppercase;\n\tcolor: ").concat(Te.gray[700],"\n"),Ft=function(e){return gt(pt(),'font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,\nOxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;',function(){switch(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"body"){case"title.large":return gt(wt(),Ct,kt);case"title.medium":return gt(_t(),Ct,St);case"title.small":return gt(bt(),Ct,xt);case"subtitle":return gt(yt(),Ot,Pt);case"subtitle.small":return gt(vt(),Ot,At);case"body":return gt(ht(),Nt);case"body.large":return gt(mt(),Nt,Rt);case"body.small":return gt(ft(),Nt,Tt);case"button":return Mt;case"caption":return jt;case"label":return It;case"sectionheading":return Dt}}(e.variant))};function Lt(e){if(Array.isArray(e))return e}function Gt(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Bt(e,t){if(e){if("string"==typeof e)return Gt(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Gt(e,t):void 0}}function qt(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zt(e,t){return Lt(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a=[],_n=!0,i=!1;try{for(n=n.call(e);!(_n=(r=n.next()).done)&&(a.push(r.value),!t||a.length!==t);_n=!0);}catch(e){i=!0,o=e}finally{try{_n||null==n.return||n.return()}finally{if(i)throw o}}return a}}(e,t)||Bt(e,t)||qt()}var Ht=l.isArray,Ut=l.isBoolean,Vt=l.isDate,Wt=l.isEmpty,Yt=l.isFunction,Kt=l.isMap,Qt=l.isNaN,Zt=l.isNil,Xt=l.isNull,Jt=l.isNumber,en=l.isObject,tn=l.isObjectLike,nn=l.isPlainObject,rn=l.isRegExp,on=l.isSet,an=l.isString,sn=l.isSymbol,ln=l.isUndefined,cn=l.isWeakMap,un=l.isWeakSet,dn={blob:function(e){return e instanceof Blob},defined:function(e){return!Zt(e)},file:function(e){return e instanceof File},numeric:function(e){var t="string"==typeof e?e.replace(/,/g,""):e;return!Qt(parseFloat(t))&&!Qt(Number(t))&&isFinite(t)&&"[object array]"!==Object.prototype.toString.call(t).toLowerCase()},numericZero:function(e){return 0===e||"0"===e},valueEmpty:function(e){return!dn.defined(e)||""===e},objectInterpolation:function(e){return nn(e)},array:Ht,boolean:Ut,date:Vt,empty:Wt,function:Yt,map:Kt,nan:Qt,nil:Zt,number:Jt,null:Xt,object:en,objectLike:tn,plainObject:nn,regExp:rn,set:on,string:an,symbol:sn,undefined:ln,weakSet:un,weakMap:cn},gn="data-system-ui-color-blind-mode",pn='[data-system-ui-mode="dark"]',fn='[data-system-ui-contrast-mode="high"]',mn="["+gn+'="true"]',hn=""+pn+fn,vn={baseStyles:{},config:{},darkModeConfig:{},highContrastModeConfig:{},darkHighContrastModeConfig:{},compilerOptions:void 0};function yn(e){return"--wp-g2-"+(0,l.kebabCase)(e)}function bn(e){return"var("+yn(e.toString())+")"}function wn(e){void 0===e&&(e={});for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=zt(r[n],2),a=o[0],i=o[1];t[""+yn(a)]=null==i?void 0:i.toString()}return t}function En(e,t,n){void 0===e&&(e=":root"),void 0===t&&(t={}),void 0===n&&(n=!0);var r=wn(t),o=[],a=!1;n?(o.push(e+" {"),a=!0):":root"!==e&&(o.push("&"+e+" {"),a=!0);for(var i=0,s=Object.entries(r);i<s.length;i++){var l=zt(s[i],2),c=l[0],u=l[1];dn.defined(u)&&!dn.boolean(u)&&o.push(c+": "+u+";")}return a&&o.push("}"),o.join("")}function $n(e,t){return e.map((function(e){return"function"==typeof e?e(t):e}))}function Cn(e,t){return t||(t=e.slice(0)),e.raw=t,e}var kn=function(e){return function(t){e.forEach((function(e){"function"==typeof e?e(t):null!=e&&(e.current=t)}))}};function Sn(){var e=Cn(["\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t\t",";\n\t\t"]);return Sn=function(){return e},e}var xn={didInjectGlobal:!1};function On(e){var t=e.globalStyles,n=e.injectGlobal;if(!xn.didInjectGlobal){var r=t.darkHighContrastModeCSSVariables,o=t.darkModeCSSVariables,a=t.globalCSSVariables,i=t.highContrastModeCSSVariables;n&&(n(Sn(),a,o,i,r),xn.didInjectGlobal=!0)}}function Pn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var An=(0,I.createContext)({isDark:null,isColorBlind:null,isReducedMotion:null,isHighContrast:null});var Nn=window.wp.isShallowEqual,Rn=I.useLayoutEffect,Tn=window.wp.data;function Mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var In="g2/is-reduced-motion",Dn={isReducedMotion:!1};(0,Tn.registerStore)(In,{reducer:function(e,t){return void 0===e&&(e=Dn),"SET_IS_REDUCED_MOTION"===t.type?jn(jn({},e),{},{isReducedMotion:t.isReducedMotion}):e},actions:{setIsReducedMotion:function(e){return{type:"SET_IS_REDUCED_MOTION",isReducedMotion:e}}},selectors:{getIsReducedMotion:function(e){return e.isReducedMotion}}});var Fn=In;function Ln(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ln(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ln(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Bn=function(e,t){return"SET_THEME"===t.type?Gn(Gn({},e),{},{theme:t.theme}):e};function qn(){var e=Cn(["",""]);return qn=function(){return e},e}function zn(e){var t,n=e.injectGlobal,r=e.isGlobal,o=void 0===r||r,a=e.theme,i=void 0===a?{}:a,s=e.selector,l=void 0===s?":root":s,c=zt((void 0===t&&(t=""),(0,I.useReducer)(Bn,{theme:t})),2),u=c[0].theme,d=c[1],g=(0,I.useRef)(),p=(0,I.useRef)(!1);if(!p.current&&o&&i){if("function"==typeof n)try{var f=En(l,i,o);n(qn(),f)}catch(e){}p.current=!0}return Rn((function(){if(!(g.current&&i&&(0,Nn.isShallowEqualObjects)(g.current,i))){g.current=i;var e=function(){var e="StyleSystemThemeProviderStyleNode",t=document.getElementById(e);if(t)return t;(t=document.createElement("style")).id=e,t.setAttribute("data-g2-theme-provider","theme");var n=document.querySelector("head");return n&&n.appendChild(t),t}(),t=En(l,i,o);o?e&&(e.innerHTML=t):d(function(e){return{type:"SET_THEME",theme:e}}(t))}}),[n,o,d,i]),u}function Hn(){var e=Cn(["\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t\t","\n\t\t"]);return Hn=function(){return e},e}function Un(e,t){var n=e.children,r=e.compiler,o=e.className,a=e.isGlobal,i=void 0!==a&&a,s=e.globalStyles,c=e.isDark,u=e.isColorBlind,d=e.isReducedMotion,g=e.isHighContrast,p=e.theme,f=void 0===p?{}:p,m=e.darkTheme,h=void 0===m?{}:m,v=e.highContrastTheme,y=void 0===v?{}:v,b=e.darkHighContrastTheme,_=void 0===b?{}:b,w=A(e,["children","compiler","className","isGlobal","globalStyles","isDark","isColorBlind","isReducedMotion","isHighContrast","theme","darkTheme","highContrastTheme","darkHighContrastTheme"]),E=r.css,$=r.cx,C=r.injectGlobal;On({injectGlobal:C,globalStyles:s});var k=(0,I.useRef)(),S=zn({injectGlobal:C,isGlobal:i,theme:f,selector:":root"}),x=zn({injectGlobal:C,isGlobal:i,theme:h,selector:(0,l.repeat)(pn,3)}),O=zn({injectGlobal:C,isGlobal:i,theme:y,selector:(0,l.repeat)(fn,3)}),P=zn({injectGlobal:C,isGlobal:i,theme:_,selector:(0,l.repeat)(hn,3)});!function(e){var t=e.isColorBlind,n=e.isGlobal,r=void 0===n||n,o=e.ref;(0,I.useEffect)((function(){if(dn.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-color-blind-mode","true"):e.setAttribute("data-system-ui-color-blind-mode","false")}}),[r,t,o])}({isColorBlind:u,isGlobal:i,ref:k}),function(e){var t=e.isDark,n=e.isGlobal,r=void 0===n||n,o=e.ref;(0,I.useEffect)((function(){if(dn.defined(t)){var e=document.documentElement;!r&&o.current&&(e=o.current),t?e.setAttribute("data-system-ui-mode","dark"):e.setAttribute("data-system-ui-mode","light")}}),[r,t,o])}({isDark:c,isGlobal:i,ref:k}),function(e){var t=e.isGlobal,n=void 0===t||t,r=e.isHighContrast,o=e.ref;(0,I.useEffect)((function(){if(dn.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-contrast-mode","high"):e.setAttribute("data-system-ui-contrast-mode","normal")}}),[n,r,o])}({isGlobal:i,isHighContrast:g,ref:k}),function(e){var t=e.isGlobal,n=void 0===t||t,r=e.isReducedMotion,o=e.ref,a=zt([(0,Tn.useSelect)((function(e){return e(Fn).getIsReducedMotion()})),(0,Tn.useDispatch)(Fn).setIsReducedMotion],2)[1];(0,I.useEffect)((function(){n&&a(!!r)}),[n,r,a]),(0,I.useEffect)((function(){if(dn.defined(r)){var e=document.documentElement;!n&&o.current&&(e=o.current),r?e.setAttribute("data-system-ui-reduced-motion-mode","true"):e.setAttribute("data-system-ui-reduced-motion-mode","false")}}),[n,r,o])}({isGlobal:i,isReducedMotion:d,ref:k});var N=function(e){void 0===e&&(e={});for(var t=(0,I.useContext)(An),n=(0,I.useRef)(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pn(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t)).current,r=0,o=Object.entries(e);r<o.length;r++){var a=zt(o[r],2),i=a[0],s=a[1];dn.defined(s)&&(n[i]=s)}return n}({isDark:c,isReducedMotion:d,isColorBlind:u,isHighContrast:g}),R=function(e){void 0===e&&(e={});var t=e,n=t.isColorBlind,r=t.isDark,o=t.isHighContrast,a=t.isReducedMotion,i={};return r&&(i["data-system-ui-mode"]="dark"),o&&(i["data-system-ui-contrast-mode"]=!0),n&&(i[gn]=!0),a&&(i["data-system-ui-reduced-motion-mode"]=!0),i}(N),T=$(o,E(Hn(),S,x,O,P));return D().createElement("div",Object.assign({},w,R,{className:T,"data-system-theme-provider":!0,ref:kn([t,k])}),D().createElement(An.Provider,{value:N},n))}var Vn=D().memo(D().forwardRef(Un));function Wn(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function Yn(e,t,n){var r=[],o=de(e,r,n);return r.length<2?n:o+t(r)}var Kn=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n};function Qn(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}var Zn=new RegExp(/var\(.*?\)[ ) ]*/,"g");function Xn(e){return null==e||null==e.includes?void 0:e.includes("var(")}function Jn(e){var t,n,r,o,a=(null==(t=e.match(/\(/g))?void 0:t.length)||0,i=(null==(n=e.match(/\)/g))?void 0:n.length)||0;if(a>i)o=""+e+(0,l.repeat)(")",a-i);else{var s=new RegExp("((\\)){"+(i-a)+"})$","gi");o=e.replace(s,"")}return null==(r=o)?void 0:r.trim()}function er(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return tr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?tr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}function tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function nr(e,t){var n,r,o=!1,a=zt(e.split(/:/),2);n=a[0],r=a[1],n=n.trim();for(var i,s,l=er(r.match(Zn)||[]);!(i=l()).done;)for(var c,u=i.value,d=er((u=u.trim()).replace(/ /g,"").split("var(").filter(Boolean));!(c=d()).done;){var g=Lt(s=Jn(c.value).split(","))||Qn(s)||Bt(s)||qt(),p=g[0],f=g.slice(1).join(","),m=t&&t.get(p)||f;m&&(o=!0,r=r.replace(u,m))}return[n,r=o?Jn(r):void 0]}function rr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function or(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ar(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?or(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):or(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var ir=function(e){var t=this;void 0===e&&(e={}),this.state={},this.get=function(e){return t.state[e]},this.getState=function(){return t.state},this.setState=function(e){return void 0===e&&(e={}),t._updateState(e),t._resolveVariablesInStateValue(),t.state},this._updateState=function(e){void 0===e&&(e={}),t.state=Object.freeze(ar(ar({},t.state),e))},this._resolveVariablesInStateValue=function(){for(var e,n={},r=Object.entries(t.state).filter((function(e){var t=zt(e,2);return t[0],Xn(t[1])})),o=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return rr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rr(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}(r);!(e=o()).done;){var a=zt(e.value,2),i=a[0],s=zt(nr("resolve: "+a[1],t),2)[1];s&&(n[i]=s)}t._updateState(n),r.length&&t._resolveVariablesInStateValue()},this.setState(e)};function sr(e){return void 0===e&&(e={}),new ir(e)}var lr,cr,ur=["40em","52em","64em"],dr=function(e,t){void 0===e&&(e={}),void 0===t&&(t=function(e,t){return t});var n={},r=[null].concat(ur.map((function(e){return"@media screen and (min-width: "+e+")"})));for(var o in e){var a=o,i=e[a];if(null!==i)if(Array.isArray(i))for(var s=0;s<i.slice(0,r.length).length;s++){var l=r[s];l?(n[l]=n[l]||{},null!==i[s]&&(n[l][a]=t(a,i[s]))):n[a]=t(a,i[s])}else n[a]=i}return n},gr=__webpack_require__(4624),pr=__webpack_require__(9588),fr=__webpack_require__.n(pr),mr=fr()((function(e,t){var n=e.split(";").filter(Boolean),r=!1,o=n.reduce((function(e,n){if(!Xn(n))return[].concat(e,[n]);var o=function(e,t){if(Xn(e)||function(e){return 0===e.indexOf("--")}(e)){var n=zt(nr(e,t),2),r=n[0],o=n[1];return o?[r,o].join(":"):void 0}}(n,t);return o?(r=!0,[].concat(e,[o,n])):[].concat(e,[n])}),[]),a=o.join(";").concat(";");return r?a:void 0}));function hr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function vr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var yr="undefined"!=typeof window&&(null==(lr=window)||null==(cr=lr.CSS)||null==cr.supports?void 0:cr.supports("(--a: 0)")),br={rootStore:sr(),skipSupportedBrowsers:!0},_r=function(e){void 0===e&&(e={});var t=vr(vr({},br),e),n=t.rootStore,r=t.skipSupportedBrowsers;return function(e,t,o,__,a,i,s,l){if((!r||!yr)&&2===e&&107!==l&&Xn(t))return mr(t,n)}};function wr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Er(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var $r,Cr,kr,Sr=new WeakSet,xr=new Set,Or={key:"wp-css",level:7},Pr=function(e){void 0===e&&(e=Or);var t=Er(Er({},Or),e),n=t.key,r=t.level,o=(0,l.clamp)(r,0,20);return function(e,__,t){if(!Sr.has(t)){Sr.add(t);for(var r=new RegExp("."+n+"-[\\w|\\d]*","g"),a=0;a<t.length;a++){var i=t[a],s=zt(i.match(r)||[],1)[0];if(s){if(xr.has(s))return;xr.add(s),i=i.replace(new RegExp(s,"g"),s).replace(s,(0,l.repeat)(s,o)),t[a]=i}}}}},Ar=__webpack_require__(8314),Nr=__webpack_require__.n(Ar),Rr=!1;"undefined"!=typeof window&&(Rr="rtl"===(null==($r=window)||null==(Cr=$r.document)||null==(kr=Cr.documentElement)?void 0:kr.dir));var Tr=function(e,t){if(-1===e)return Rr?Nr().process(t,void 0,void 0,void 0):void 0};function Mr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function jr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Mr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Mr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ir={key:"css",specificityLevel:7,rootStore:new ir};function Dr(e){var t=jr(jr({},Ir),e),n=t.key,r=t.rootStore,o=function(e){var t=e.specificityLevel,n=void 0===t?7:t,r=e.key,o=void 0===r?"css":r,a=e.skipSupportedBrowsers;return[Tr,_r({skipSupportedBrowsers:void 0===a||a,rootStore:e.rootStore}),Pr({level:n,key:o}),gr.default]}({key:n,specificityLevel:t.specificityLevel,rootStore:r});e.stylisPlugins?Array.isArray(e.stylisPlugins)?t.stylisPlugins=[].concat(o,e.stylisPlugins):dn.defined(e.stylisPlugins)?t.stylisPlugins=[].concat(o,[e.stylisPlugins]):t.stylisPlugins=o:t.stylisPlugins=o;var a,i=jr(jr({},function(e){var t=K(e);t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=se(n,t.registered,void 0);return ge(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return Yn(t.registered,n,Kn(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=se(n,t.registered);Wn(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=se(n,t.registered),a="animation-"+o.name;return Wn(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:de.bind(null,t.registered),merge:Yn.bind(null,t.registered,n)}}(t)),{},{breakpoints:ur,__events:{all:a=a||new Map,on:function(e,t){var n=a.get(e);n&&n.push(t)||a.set(e,[t])},off:function(e,t){var n=a.get(e);n&&n.splice(n.indexOf(t)>>>0,1)},emit:function(e,t){(a.get(e)||[]).slice().map((function(e){e(t)})),(a.get("*")||[]).slice().map((function(n){n(e,t)}))}}}),s=i.css;i.css=function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var o=n[0],a=n.slice(1);if(dn.objectInterpolation(o))return e(dr(o));if(Array.isArray(o)){for(var i=0,s=o.length;i<s;i++){var l=o[i];dn.objectInterpolation(l)&&(o[i]=dr(l))}return e.apply(void 0,[o].concat(a))}return e.apply(void 0,n)}}(s);var l=i.sheet.insert;return i.sheet.insert=function(){for(var e,t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];l.apply(i.sheet,[].concat(n)),(e=i.__events).emit.apply(e,["sheet.insert"].concat(n))},i}function Fr(){var e=Cn(["\n\t\t\t@media (prefers-reduced-motion) {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t\t"," & {\n\t\t\t\ttransition: none !important;\n\t\t\t}\n\t\t"]);return Fr=function(){return e},e}function Lr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Gr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Lr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Lr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Br=G,qr=vn,zr=function(e,t){var n=Gr(Gr({},qr),t),r=n.baseStyles,o=n.compiler,a=n.globalStyles,i=o.css,s=o.cx,l=o.injectGlobal,c={Base:i({boxSizing:"border-box"}),reduceMotion:i(Fr(),'[data-system-ui-reduced-motion-mode="true"]')},u=i(r),d=(0,I.forwardRef)((function(t,n){var r=t.css,o=t.as,d=t.children,g=t.className,p=t.forwardedRef,f=A(t,["css","as","children","className","forwardedRef"]);On({globalStyles:a,injectGlobal:l});var m=o||e,h="string"!=typeof g?s(g):g,v=s(c.Base,c.reduceMotion,u,h,r&&i(r)),y={};for(var b in f)"string"==typeof m?Br(b)&&(y[b]=f[b]):y[b]=f[b];var _=D().useMemo((function(){return p?kn([p,n]):n}),[p,n]);return D().createElement(m,Gr({className:v,ref:_},y),d)}));return d},Hr=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"];function Ur(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Vr=__webpack_require__(8679),Wr=__webpack_require__.n(Vr);function Yr(e){return"string"==typeof e?e:e.displayName||e.name||"Component"}function Kr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Kr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Kr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Zr(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xr(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zr(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zr(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jr=vn;function eo(){for(var e=[],t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];for(var o=0,a=n;o<a.length;o++){var i=a[o];"number"!=typeof i&&"string"!=typeof i||e.push(i),Array.isArray(i)&&e.push(eo.apply(void 0,i),",")}return e.join(" ").trim().replace(/,$/,"")}var to=eo;function no(e){return"number"==typeof e?"calc("+bn("gridBase")+" * "+e+")":e}function ro(e){for(var t={},n=Object.entries(e),r=n[0][1],o=Pe()(r).lighten(15).toHexString(),a=n[n.length-1][1],i=Pe()(a).darken(15).toHexString(),s=0,l=n;s<l.length;s++){var c=zt(l[s],2),u=c[0],d=c[1];t[u+"Text"]=Pe().mostReadable(d,[o,r,a,i]).toHexString()}return t}function oo(e,t){void 0===t&&(t=!1);var n={},r=zt(Object.entries(e)[2],2),o=r[0],a=r[1],i=zt(o.split(/\d+/),1)[0],s=t?"#000":"#fff",l=t?"#fff":"#000",c=t?"darken":"lighten";return[10,20,30,40,50,60,70,80,90].forEach((function(e,t){var r=a;r=Pe()(r).setAlpha(e/100).toRgbString();var o=Pe().mix(a,s,t).toRgbString();Pe().isReadable(o,l,{})||(r=Pe()(r)[c](20).toRgbString()),n[i+"Rgba"+e]=r})),n}function ao(e,t){var n,r=((n={})[e]=t,n);return[10,20,30,40,50,60,70,80,90].forEach((function(n){r[e+"Rgba"+n]=Pe()(t).setAlpha(n/100).toRgbString()})),r}function io(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function so(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?io(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):io(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}to.calc=function(){return"calc("+eo.apply(void 0,arguments)+")"};var lo={purple100:"#f3f1f8",purple300:"#B4A8D2",purple500:"#826eb4",purple700:"#4e426c",purple900:"#342c48"},co={darkGray100:"#8F98A1",darkGray300:"#6C7781",darkGray500:"#555D66",darkGray700:"#32373C",darkGray900:"#191E23"},uo={lightGray100:"#fbfbfc",lightGray300:"#edeff0",lightGray500:"#e2e4e7",lightGray700:"#ccd0d4",lightGray900:"#a2aab2"},go={red100:"#fcebeb",red300:"#ea8484",red500:"#dc3232",red700:"#b02828",red900:"#841e1e"},po={orange100:"#fef1ea",orange300:"#f9a87e",orange500:"#F56E28",orange700:"#ca4a1f",orange900:"#aa3e1a"},fo={yellow100:"#fff8e6",yellow300:"#ffd566",yellow500:"#ffb900",yellow700:"#ee8e0d",yellow900:"#dd631a"},mo={green100:"#edf8ee",green300:"#90d296",green500:"#46b450",green700:"#328540",green900:"#25612f"},ho={blue100:"#e6f6fb",blue300:"#66c6e4",blue500:"#00a0d2",blue700:"#0085ba",blue900:"#0072A8"},vo=so(so(so({},co),ro(co)),oo(co)),yo=so(so(so({},uo),ro(uo)),oo(uo)),bo=so(so(so({},go),ro(go)),oo(go)),_o=so(so(so({},po),ro(po)),oo(po)),wo=so(so(so({},fo),ro(fo)),oo(fo)),Eo=so(so(so({},mo),ro(mo)),oo(mo)),$o=so(so(so({},lo),ro(lo)),oo(lo)),Co=so(so(so({},ho),ro(ho)),oo(ho)),ko=so(so(so(so(so(so(so(so({},vo),yo),bo),_o),wo),Eo),$o),Co),So={black:"#000000",blueberry:"#3858E9",blueberryDark:"#1D35B4",greens:"#33F078",grey:"#40464D",greyBlack:"#1E1E1E",lightBlue:"#33F078",lightGrey:"#40464D",lighterGrey:"#dddddd",pomegrade:"#E26F56",wordpressBlue:"#007cba",white:"#ffffff"},xo={colorBackgroundBlue:bn("blueRgba10"),colorBackgroundBlueText:bn("blue900"),colorBackgroundDarkGray:bn("darkGrayRgba10"),colorBackgroundDarkGrayText:bn("darkGray900"),colorBackgroundGreen:bn("greenRgba10"),colorBackgroundGreenText:bn("green900"),colorBackgroundLightGray:bn("lightGrayRgba10"),colorBackgroundLightGrayText:bn("lightGray900"),colorBackgroundOrange:bn("orangeRgba10"),colorBackgroundOrangeText:bn("orange900"),colorBackgroundPurple:bn("purpleRgba10"),colorBackgroundPurpleText:bn("purple900"),colorBackgroundRed:bn("redRgba10"),colorBackgroundRedText:bn("red900"),colorBackgroundYellow:bn("yellowRgba10"),colorBackgroundYellowText:bn("yellow900")},Oo={colorBackgroundBlue:bn("blueRgba20"),colorBackgroundBlueText:bn("blue300"),colorBackgroundDarkGray:bn("darkGrayRgba20"),colorBackgroundDarkGrayText:bn("white"),colorBackgroundGreen:bn("greenRgba20"),colorBackgroundGreenText:bn("green300"),colorBackgroundLightGray:bn("lightGrayRgba20"),colorBackgroundLightGrayText:bn("white"),colorBackgroundOrange:bn("orangeRgba20"),colorBackgroundOrangeText:bn("orange300"),colorBackgroundPurple:bn("purpleRgba20"),colorBackgroundPurpleText:bn("purple300"),colorBackgroundRed:bn("redRgba20"),colorBackgroundRedText:bn("red300"),colorBackgroundYellow:bn("yellowRgba20"),colorBackgroundYellowText:bn("yellow300")},Po=so(so(so(so(so(so(so(so({},oo(ho,!0)),oo(mo,!0)),oo(po,!0)),oo(lo,!0)),oo(go,!0)),oo(fo,!0)),oo(co,!0)),oo(uo,!0));function Ao(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function No(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ao(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ao(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ro=No(No(No(No({},ko),xo),{},{colorAdmin:"#007cba",colorDestructive:"#D94F4F",colorBodyBackground:bn("white"),colorDivider:"rgba(0, 0, 0, 0.1)",colorPositive:bn("greens"),colorScrollbarThumb:"rgba(0, 0, 0, 0.2)",colorScrollbarThumbHover:"rgba(0, 0, 0, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#1e1e1e",colorTextInverted:bn("white"),colorTextHeading:"#050505",colorTextMuted:"#8a8b8c"},ao("colorAdmin","#007cba")),ao("colorDestructive","#D94F4F")),To={fontFamily:'Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif',fontFamilyMono:"SFMono-Regular,Consolas,Liberation Mono,Menlo,monospace",fontSize:"13px",fontSizeH1:"calc(2.44 * "+bn("fontSize")+")",fontSizeH2:"calc(1.95 * "+bn("fontSize")+")",fontSizeH3:"calc(1.56 * "+bn("fontSize")+")",fontSizeH4:"calc(1.25 * "+bn("fontSize")+")",fontSizeH5:"calc(1 * "+bn("fontSize")+")",fontSizeH6:"calc(0.8 * "+bn("fontSize")+")",fontSizeInputMobile:"16px",fontSizeMobile:"15px",fontSizeSmall:"calc(0.92 * "+bn("fontSize")+")",fontSizeXSmall:"calc(0.75 * "+bn("fontSize")+")",fontLineHeightBase:"1.2",fontWeight:"normal",fontWeightHeading:"600"},Mo={surfaceBackgroundColor:bn("surfaceColor"),surfaceBackgroundSubtleColor:"#F3F3F3",surfaceBackgroundTintColor:"#F5F5F5",surfaceBorderColor:"rgba(0, 0, 0, 0.1)",surfaceBorderBoldColor:"rgba(0, 0, 0, 0.15)",surfaceBorderSubtleColor:"rgba(0, 0, 0, 0.05)",surfaceBackgroundTertiaryColor:"#ffffff",surfaceColor:bn("white")},jo={controlBackgroundColor:bn("white"),controlBackgroundColorHover:"rgba(0, 0, 0, 0.05)",controlBackgroundColorActive:"rgba(0, 0, 0, 0.05)",controlBackgroundDimColor:"rgba(0, 0, 0, 0.1)",controlBackgroundBrightColor:"rgba(0, 0, 0, 0.03)",controlBorderColor:"#757575",controlBorderColorHover:bn("controlBorderColor"),controlBorderColorSubtle:"transparent",controlBorderRadius:"2px",controlBorderSubtleColor:"rgba(0, 0, 0, 0.2)",controlBoxShadowFocusSize:"0.5px",controlBoxShadow:"transparent",controlBoxShadowFocus:to("0 0 0",bn("controlBoxShadowFocusSize"),bn("colorAdmin")),controlPseudoBoxShadowFocusWidth:"2px",controlPseudoBoxShadowFocusRingSize:to.calc(bn("controlPseudoBoxShadowFocusWidth"),"+ 1px +",bn("controlBoxShadowFocusSize")),controlPseudoBoxShadowFocusRingSizeSmall:to.calc(bn("controlPseudoBoxShadowFocusWidth"),"+ 1px"),controlPseudoBoxShadowFocus:to(["0 0 0",bn("controlPseudoBoxShadowFocusWidth"),bn("surfaceBackgroundColor")],["0 0 0",bn("controlPseudoBoxShadowFocusRingSize"),bn("colorAdmin")]),controlPseudoBoxShadowFocusSmall:to(["0 0 0",bn("controlPseudoBoxShadowFocusWidth"),bn("surfaceBackgroundColor")],["0 0 0",bn("controlPseudoBoxShadowFocusRingSizeSmall"),bn("colorAdmin")]),controlDestructivePseudoBoxShadowFocus:to(["0 0 0",bn("controlPseudoBoxShadowFocusWidth"),bn("surfaceBackgroundColor")],["0 0 0",bn("controlPseudoBoxShadowFocusRingSize"),bn("colorDestructive")]),controlDestructivePseudoBoxShadowFocusSmall:to(["0 0 0",bn("controlPseudoBoxShadowFocusWidth"),bn("surfaceBackgroundColor")],["0 0 0",bn("controlPseudoBoxShadowFocusRingSizeSmall"),bn("colorDestructive")]),controlDestructiveBorderColor:bn("colorDestructive"),controlDestructiveBorderColorFocus:bn("controlDestructiveBorderColor"),controlDestructiveBoxShadowFocus:to("0 0 0",bn("controlBoxShadowFocusSize"),bn("colorDestructive")),controlHeight:"30px",controlHeightLarge:"calc("+bn("controlHeight")+" * 1.2)",controlHeightSmall:"calc("+bn("controlHeight")+" * 0.8)",controlHeightXLarge:"calc("+bn("controlHeight")+" * 1.4)",controlHeightXSmall:"calc("+bn("controlHeight")+" * 0.67)",controlHeightXXSmall:"calc("+bn("controlHeight")+" * 0.4)",controlPaddingX:"12px",controlPaddingXLarge:"calc("+bn("controlPaddingX")+" * 1.3334)",controlPaddingXSmall:"calc("+bn("controlPaddingX")+" / 1.3334)",controlPrimaryTextColorActive:bn("white"),controlPrimaryTextColor:bn("white"),controlSurfaceBoxShadow:to(["0 1px 1px rgba(0, 0, 0, 0.2)"],["0 1px 2px rgba(0, 0, 0, 0.2)"]),controlSurfaceColor:bn("white"),controlTextActiveColor:bn("colorAdmin"),controlInnerControltextColor:bn("colorAdmin")},Io={buttonPaddingXRatio:"calc(4/3)",buttonPaddingX:to.calc(bn("controlPaddingX"),"*",bn("buttonPaddingXRatio")),buttonTextColor:bn("colorAdmin"),buttonTextColorActive:bn("buttonTextColor"),buttonPrimaryColor:bn("colorAdmin"),buttonPrimaryColorHover:bn("buttonPrimaryColor"),buttonPrimaryColorActive:bn("colorText"),buttonPrimaryColorFocus:bn("buttonPrimaryColor"),buttonPrimaryBorderColor:bn("buttonPrimaryColor"),buttonPrimaryBorderColorHover:bn("buttonPrimaryColor"),buttonPrimaryBorderColorFocus:bn("buttonPrimaryColor"),buttonPrimaryBorderColorActive:bn("buttonPrimaryColor"),buttonPrimaryTextColor:bn("controlPrimaryTextColor"),buttonPrimaryTextColorHover:bn("controlPrimaryTextColor"),buttonPrimaryTextColorActive:bn("controlPrimaryTextColor"),buttonPrimaryTextColorFocus:bn("controlPrimaryTextColor"),buttonSecondaryColor:"transparent",buttonSecondaryColorHover:bn("buttonSecondaryColor"),buttonSecondaryColorActive:"rgba(0, 0, 0, 0.05)",buttonSecondaryColorFocus:bn("buttonSecondaryColor"),buttonSecondaryBorderColor:bn("buttonPrimaryColor"),buttonSecondaryTextColor:bn("buttonPrimaryColor"),buttonSecondaryTextColorFocus:bn("buttonPrimaryColor"),buttonSecondaryTextColorActive:bn("buttonPrimaryColor"),buttonSecondaryBorderColorHover:bn("buttonPrimaryColor"),buttonSecondaryBorderColorActive:bn("buttonPrimaryColor"),buttonSecondaryBorderColorFocus:bn("buttonPrimaryColor"),buttonTertiaryColor:"transparent",buttonTertiaryColorHover:bn("buttonTertiaryColor"),buttonTertiaryColorActive:"rgba(0, 0, 0, 0.05)",buttonTertiaryColorFocus:bn("buttonTertiaryColor"),buttonTertiaryBorderColor:"transparent",buttonTertiaryTextColor:bn("buttonPrimaryColor"),buttonTertiaryTextColorFocus:bn("buttonPrimaryColor"),buttonTertiaryTextColorActive:bn("buttonPrimaryColor"),buttonTertiaryBorderColorHover:bn("buttonPrimaryColor"),buttonTertiaryBorderColorActive:bn("buttonPrimaryColor"),buttonTertiaryBorderColorFocus:bn("buttonPrimaryColor"),buttonControlActiveStateColor:bn("colorText"),buttonControlActiveStateColorHover:bn("buttonControlActiveStateColor"),buttonControlActiveStateColorActive:bn("buttonControlActiveStateColor"),buttonControlActiveStateColorFocus:bn("buttonControlActiveStateColor"),buttonControlActiveStateTextColor:bn("buttonPrimaryTextColor"),buttonControlActiveStateBorderColorFocus:bn("buttonPrimaryColor"),buttonControlActiveStateBoxShadowFocus:to(["0 0 0",bn("controlBoxShadowFocusSize"),bn("colorAdmin")],["0 0 0",bn("controlPseudoBoxShadowFocusWidth"),bn("buttonControlActiveStateTextColor"),"inset"])},Do={cardBorderRadius:"2px",cardPaddingX:no(3),cardPaddingY:no(3),cardPadding:to(bn("cardPaddingX"),bn("cardPaddingY")),cardHeaderFooterPaddingY:no(1),cardHeaderHeight:"44px"},Fo={flexGap:no(2),flexItemMarginRight:bn("flexGap")},Lo={linkColor:bn("colorAdmin"),linkColorHover:bn("colorAdmin"),linkColorActive:bn("colorAdmin"),linkColorFocus:bn("colorAdmin")},Go={menuItemBorderWidth:"1px",menuItemFocusBackgroundColor:"transparent",menuItemFocusBorderColor:bn("colorAdmin"),menuItemFocusTextColor:bn("menuItemFocusBorderColor"),menuItemFocusBoxShadow:bn("controlBorderSubtleColor"),menuItemActiveBackgroundColor:bn("controlBackgroundColor"),menuItemActiveBorderColor:bn("menuItemFocusBorderColor"),menuItemActiveTextColor:bn("colorText"),menuItemActiveBoxShadow:bn("controlBorderSubtleColor"),menuItemHeight:"30px",menuItemHeightLarge:"calc("+bn("menuItemHeight")+" * 1.2)",menuItemHeightSmall:"calc("+bn("menuItemHeight")+" * 0.8)",menuItemHeightXLarge:"calc("+bn("menuItemHeight")+" * 1.4)",menuItemHeightXSmall:"calc("+bn("menuItemHeight")+" * 0.67)",menuItemHeightXXSmall:"calc("+bn("menuItemHeight")+" * 0.4)"},Bo={panelHeaderPadding:no(3)+" "+no(4),panelBodyPadding:no(2)+" "+no(4)+" "+no(3)},qo={radioBoxShadow:bn("checkboxBoxShadow"),radioSize:bn("checkboxSize"),radioDotSize:"10px"},zo={segmentedControlFontSize:"12px",segmentedControlBackgroundColor:bn("controlBackgroundColor"),segmentedControlBorderColor:bn("controlBorderColor"),segmentedControlBackdropBackgroundColor:bn("controlSurfaceColor"),segmentedControlBackdropBorderColor:bn("controlBorderColor"),segmentedControlBackdropBoxShadow:"transparent",segmentedControlButtonColorActive:bn("controlBackgroundColor")},Ho={sliderThumbBorderColor:"transparent",sliderThumbBoxShadow:"none",sliderThumbBoxShadowSizeFocus:"3px",sliderThumbBoxShadowColorFocus:bn("colorAdminRgba20"),sliderThumbBackgroundColor:bn("colorAdmin")},Uo={switchBackdropBackgroundColor:bn("lightGray900"),switchBackdropBackgroundColorActive:bn("colorAdmin"),switchBackdropBorderColor:bn("lightGray900"),switchBackdropBorderColorActive:bn("colorAdmin"),switchBackdropBorderColorFocus:bn("white"),switchToggleBackgroundColor:bn("colorTextInverted"),switchToggleBackgroundColorActive:bn("colorTextInverted"),switchToggleBoxShadow:"none",switchPaddingOffset:"6px"},Vo=No(No(No(No(No(No(No(No(No(No(No(No(No(No(No(No(No(No(No({},So),Ro),Do),jo),{elevationIntensity:1}),Fo),To),Mo),{transitionDuration:"200ms",transitionDurationFast:"160ms",transitionDurationFaster:"120ms",transitionDurationFastest:"100ms",transitionTimingFunction:"cubic-bezier(0.08, 0.52, 0.52, 1)",transitionTimingFunctionControl:"cubic-bezier(0.12, 0.8, 0.32, 1)"}),Io),{checkboxBoxShadow:"none",checkboxSize:"16px"}),{gridBase:"4px"}),Lo),Go),Bo),qo),zo),Ho),Uo);function Wo(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yo(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Wo(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Wo(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ko=Yo(Yo(Yo({},Oo),Po),{},{buttonPrimaryTextColorActive:bn("controlPrimaryTextColorActive"),buttonControlActiveStateTextColor:bn("colorTextInverted"),colorBodyBackground:"#18191A",colorDivider:"rgba(255, 255, 255, 0.1)",colorScrollbarThumb:"rgba(255, 255, 255, 0.2)",colorScrollbarThumbHover:"rgba(255, 255, 255, 0.5)",colorScrollbarTrack:"rgba(0, 0, 0, 0.04)",colorText:"#E4E6EB",colorTextInverted:"#050505",colorTextHeading:"#ffffff",controlBackgroundColor:bn("colorBodyBackground"),controlBackgroundColorHover:"rgba(255, 255, 255, 0.3)",controlBackgroundBrightColor:"rgba(255, 255, 255, 0.08)",controlBackgroundDimColor:"rgba(255, 255, 255, 0.2)",controlBorderSubtleColor:"rgba(255, 255, 255, 0.5)",controlPrimaryTextColorActive:bn("black"),controlPrimaryTextColor:bn("white"),controlSurfaceColor:"rgba(255, 255, 255, 0.3)",controlTextActiveColor:bn("white"),surfaceBackgroundColor:bn("colorBodyBackground"),surfaceBackgroundSubtleColor:"#151515",surfaceBackgroundTintColor:"#252525",surfaceBackgroundTertiaryColor:"#000",surfaceBorderColor:"rgba(255, 255, 255, 0.1)",surfaceBorderBoldColor:"rgba(255, 255, 255, 0.15)",surfaceBorderSubtleColor:"rgba(255, 255, 255, 0.05)",surfaceColor:"#292929"}),Qo=Yo({},Ko),Zo=function(e){void 0===e&&(e=Jr);var t=Xr(Xr({},Jr),e),n=t.baseStyles,r=t.compilerOptions,o=function(e){var t=e.config,n=void 0===t?{}:t,r=e.darkModeConfig,o=void 0===r?{}:r,a=e.highContrastModeConfig,i=void 0===a?{}:a,s=e.darkHighContrastModeConfig,c=void 0===s?{}:s,u=function(e){void 0===e&&(e={});for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=zt(r[n],2),a=o[0],i=o[1],s="var("+yn(a)+", "+i+")";t[a]=s}return t}(n);return{theme:u,globalVariables:wn(n),globalCSSVariables:En(":root",n),darkModeCSSVariables:En((0,l.repeat)(pn,3),o),highContrastModeCSSVariables:En((0,l.repeat)(fn,3),i),darkHighContrastModeCSSVariables:En((0,l.repeat)(hn,3),c)}}({config:t.config,darkHighContrastModeConfig:t.darkHighContrastModeConfig,darkModeConfig:t.darkModeConfig,highContrastModeConfig:t.highContrastModeConfig}),a=sr(o.globalVariables);a.setState(o.globalVariables);var i=Dr(Xr(Xr({},r),{},{rootStore:a})),s=i.css,c=i.cx,u=function(e){for(var t,n=e.baseStyles,r=e.compiler,o=e.globalStyles,a={},i=function(e){return zr(e,{baseStyles:n,compiler:r,globalStyles:o})},s=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Ur(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ur(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}(Hr);!(t=s()).done;){var l=t.value;a[l]=i(l)}return a}({baseStyles:n,compiler:i,globalStyles:o}),d=function(e){var t=e.compiler,n=e.core,r=t.css,o=t.cx,a=n.div;function i(e,t){void 0===t&&(t={});var n=t.props;return function(){for(var s=arguments.length,l=new Array(s),c=0;c<s;c++)l[c]=arguments[c];var u=D().forwardRef((function(t,i){var s=t.as,c=t.className,u=A(t,["as","className"]),d=Qr(Qr(Qr({},n),u),{},{ref:i}),g=$n(l,u),p=o(r.apply(void 0,g),c);return D().createElement(a,Object.assign({as:s||e},d,{className:p}))}));return u.displayName="string"==typeof e?"Styled("+Yr(e)+")":dn.defined(null==e?void 0:e.displayName)?e.displayName:"Styled("+Yr(e)+")",u.withComponent=function(e,n){return i(e,void 0!==n?Qr(Qr({},t||{}),n):t).apply(void 0,l)},"string"!=typeof e?Wr()(u,e):u}}var s=i.bind(void 0);return Hr.forEach((function(e){s[e]=i(e)})),s}({compiler:i,core:u}),g=u.div;return{compiler:i,core:u,createCoreElement:function(e){return zr(e,{baseStyles:n,compiler:i,globalStyles:o})},createToken:yn,css:s,cx:c,get:function(e){return"var("+yn(e.toString())+")"},styled:d,View:g,ThemeProvider:function(e){return D().createElement(Vn,Object.assign({},e,{compiler:i,globalStyles:o}))},rootStore:a}}({baseStyles:{MozOsxFontSmoothing:"grayscale",WebkitFontSmoothing:"antialiased",fontFamily:bn("fontFamily"),fontSize:bn("fontSize"),fontWeight:bn("fontWeight"),margin:0},config:Vo,darkModeConfig:Qo,highContrastModeConfig:{colorDivider:"#444",controlBorderColor:"#444",controlBorderColorHover:"#444",controlBorderColorSubtle:"#444",surfaceBorderColor:"#444"},darkHighContrastModeConfig:{colorDivider:"#eee",controlBorderColor:"#eee",controlBorderColorHover:"#eee",controlBorderColorSubtle:"#eee",surfaceBorderColor:"#eee"}}),Xo=(Zo.ThemeProvider,Zo.compiler),Jo=Zo.core,ea=(Zo.createCoreElement,Zo.createToken),ta=Zo.get,na=(Zo.styled,Xo.breakpoints,Xo.cache,Xo.cx);function ra(e){return"number"==typeof e?"calc("+ta("gridBase")+" * "+e+")":e}Xo.flush,Xo.getRegisteredStyles,Xo.hydrate,Xo.injectGlobal,Xo.keyframes,Xo.merge,Xo.sheet;var oa=Xo.css,aa={gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space"},ia={space:ra};function sa(e,t){var n=aa[e],r=t;return n&&ia&&(r=(0,ia[n])(t)),r}function la(e){void 0===e&&(e={});var t={};for(var n in e)t[n]=sa(n,e[n]);return t}function ca(e){if(dn.objectInterpolation(e))return oa(la(dr(e,sa)));for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];if(Array.isArray(e)){for(var o=0,a=e.length;o<a;o++){var i=e[o];dn.objectInterpolation(i)&&(e[o]=la(dr(i,sa)))}return oa.apply(void 0,[e].concat(n))}return oa.apply(void 0,[e].concat(n))}var ua=(0,I.createContext)({}),da="data-g2-component";function ga(e,t){var n,r=(0,I.useContext)(ua),o=Array.isArray(t)?t[0]:t,a=(null==r?void 0:r[o])||{},i=((n={})["data-g2-c16t"]=!0,n),s=function(e){var t;return(t={})[da]=e,t}(o);for(var l in s)"string"==typeof s[l]&&(i[l]=s[l]);var c=a._overrides,u=a.css,d=A(a,["_overrides","css"]),g=Object.entries(d).length?Object.assign({},d,e):e,p=na(u&&ca(u),g.css&&ca(g.css),fa(o),e.className),f="function"==typeof g.renderChildren?g.renderChildren(g):g.children;for(var m in g)"css"!==m&&(i[m]=g[m]);for(var h in c)i[h]=c[h];return i.children=f,i.className=p,i}function pa(e){if(!e||"string"!=typeof e)return"";var t=(0,l.kebabCase)(e);return"components-"+t+" wp-components-"+t}var fa=fr()((function(e){return e?Array.isArray(e)?na((0,l.uniq)(e).map(pa)):"string"==typeof e?pa(e):"":""}));function ma(e,t,n){void 0===n&&(n={});var r=n.memo,o=void 0===r||r,a=(0,I.forwardRef)(e);o&&(a=D().memo(a));var i=Array.isArray(t)?t[0]:t||a.name,s=a.__contextSystemKey__||[i];return Array.isArray(t)&&(s=[].concat(s,t)),"string"==typeof t&&(s=[].concat(s,[t])),a.displayName=i,a.__contextSystemKey__=(0,l.uniq)(s),a}function ha(e){if(!e)return[];var t=[];return e.__contextSystemKey__&&(t=e.__contextSystemKey__),e.type&&e.type.__contextSystemKey__&&(t=e.type.__contextSystemKey__),t}var va=__webpack_require__(4155),ya=Jo.div;ya.displayName="View";var ba=ya,_a={bottom:ca({alignItems:"flex-end",display:"flex",justifyContent:"center"}),center:ca({alignItems:"center",display:"flex",justifyContent:"center"}),left:ca({alignItems:"center",display:"flex",justifyContent:"flex-start"}),right:ca({alignItems:"center",display:"flex",justifyContent:"flex-end"}),top:ca({alignItems:"flex-start",display:"flex",justifyContent:"center"})},wa={center:ca({margin:"auto"}),content:_a,left:ca({marginRight:"auto"}),right:ca({marginLeft:"auto"})};function Ea(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function $a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ea(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ea(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ca={transitionDuration:ta("transitionDuration"),transitionProperty:"all",transitionTimingFunction:"ease-in-out"},ka=function(e){return ca({transition:e})};ka.default=ca($a($a({},Ca),{},{transitionTimingFunction:"ease"})),ka.bounce=ca($a($a({},Ca),{},{transitionTimingFunction:"cubic-bezier(.8, .5, .2, 1.4)"})),ka.delay=function(e){return ca({transitionDelay:e+"s"})},ka.duration=function(e){return ca({transitionDuration:e+"s"})},ka.ease=ca($a($a({},Ca),{},{transitionTimingFunction:"ease"})),ka.easeIn=ca($a($a({},Ca),{},{transitionTimingFunction:"ease-in"})),ka.easeInOut=ca($a($a({},Ca),{},{transitionTimingFunction:"ease-in-out"})),ka.easeOut=ca($a($a({},Ca),{},{transitionTimingFunction:"ease-out"})),ka.easing=function(e){return ca($a($a({},Ca),{},{transitionTimingFunction:e}))},ka.linear=ca($a($a({},Ca),{},{transitionTimingFunction:"linear"}));var Sa=["blue","red","purple","green","yellow","orange","darkGray","lightGray"];function xa(){var e=Cn(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return xa=function(){return e},e}function Oa(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(xa(),mn,o)}function Pa(){var e=Cn(["",""]);return Pa=function(){return e},e}function Aa(){var e=Cn(["\n\t\t",";\n\t\t",";\n\t"]);return Aa=function(){return e},e}function Na(e,t){if(void 0===t&&(t={}),!Sa.includes(e))return"";var n,r=t,o=r.isBold,a=r.isSubtle,i=o?"Rgba20":"Rgba10",s=ca({background:ta(o?e+"Rgba70":a?e+"Rgba10":e+"Rgba20")});return"green"===e&&(n=ca({backgroundImage:"repeating-linear-gradient(45deg, transparent, transparent 10px, "+ta("colorBackgroundGreen")+" 10px, "+ta("colorBackgroundGreen")+" 20px)"})),"red"===e&&(n=ca({backgroundImage:"linear-gradient(45deg, "+ta("red"+i)+" 25%, transparent 25%, transparent 75%, "+ta("red"+i)+" 75%, "+ta("red"+i)+"),\n linear-gradient(-45deg, "+ta("red"+i)+" 25%, transparent 25%, transparent 75%, "+ta("red"+i)+" 75%, "+ta("red"+i)+")",backgroundSize:"10px 10px"})),"yellow"===e&&(n=ca({backgroundImage:"linear-gradient(45deg, "+ta("yellow"+i)+" 25%, transparent 25%, transparent 75%, "+ta("yellow"+i)+" 75%, "+ta("yellow"+i)+"),\n linear-gradient(-45deg, "+ta("yellow"+i)+" 25%, transparent 25%, transparent 75%, "+ta("yellow"+i)+" 75%, "+ta("yellow"+i)+")",backgroundSize:"10px 10px"})),ca(Aa(),s,Oa(Pa(),n))}function Ra(e){return ca({background:e})}Ra.black=Ra(ta("black")),Ra.white=Ra(ta("white")),Ra.admin=Ra(ta("colorAdmin")),Ra.blue=Na("blue"),Ra.darkGray=Na("darkGray"),Ra.green=Na("green"),Ra.lightGray=Na("lightGray"),Ra.orange=Na("orange"),Ra.purple=Na("purple"),Ra.red=Na("red"),Ra.yellow=Na("yellow"),Ra.control=Ra(ta("controlBackgroundColor")),Ra.surface=Ra(ta("surfaceBackgroundColor")),Ra.secondary=Ra(ta("surfaceBackgroundSubtleColor"));var Ta={default:ca({border:"1px solid "+ta("controlBorderColor")}),focus:ca({border:"1px solid "+ta("colorAdmin"),boxShadow:ta("controlBoxShadowFocus")}),subtle:ca({border:"1px solid "+ta("controlBorderSubtleColor")})},Ma={all:ca({border:"1px solid "+ta("surfaceBorderColor")}),bottom:ca({borderBottom:"1px solid "+ta("surfaceBorderColor")}),control:Ta,left:ca({borderLeft:"1px solid "+ta("surfaceBorderColor")}),right:ca({borderRight:"1px solid "+ta("surfaceBorderColor")}),top:ca({borderTop:"1px solid "+ta("surfaceBorderColor")})};function ja(e){return ca({borderRadius:e})}function Ia(){var e=Cn(["\n\t\t@media not all and (min-resolution: 0.001dpcm) {\n\t\t\t@supports (-webkit-appearance: none) {\n\t\t\t\t","\n\t\t\t}\n\t\t}\n\t"]);return Ia=function(){return e},e}function Da(){var e=Cn(["\n\t\t@-moz-document url-prefix() {\n\t\t\t",";\n\t\t}\n\t"]);return Da=function(){return e},e}function Fa(){var e=Cn(["\n\t\t@media screen and (-ms-high-contrast: active),\n\t\t\t(-ms-high-contrast: none) {\n\t\t\t",";\n\t\t}\n\t"]);return Fa=function(){return e},e}ja.none=ja(0),ja.round=ja(ta("controlBorderRadius")),ja.circle=ja(99999);var La={ie:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(Fa(),o)},firefox:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(Da(),o)},safari:function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(Ia(),o)}},Ga=function(e){return Pe()(e)};Ga.admin=ta("colorAdmin"),Ga.text=ta("colorText"),Ga.textInverted=ta("colorTextInverted"),Ga.border=ta("surfaceBorderColor"),Ga.positive=ta("colorPositive"),Ga.destructive=ta("colorDestructive"),["blue","red","purple","green","yellow","orange","darkGray","lightGray"].forEach((function(e){[null,100,300,500,700,900].forEach((function(t){t?Ga[""+e+t]=ta(""+e+t):Ga[e]=ta(e+"500")}))})),Object.keys(So).forEach((function(e){Ga[e]=ta(e)}));var Ba=function(e){var t=e.height,n=e.width,r=[];return dn.defined(n)&&r.push([ca({maxWidth:"100%",width:n})]),dn.defined(t)&&r.push([ca({height:t,maxHeight:"100%"})]),ca(r)};Ba.width=function(e){return ca({maxWidth:"100%",width:e})},Ba.height=function(e){return ca({height:e,maxHeight:"100%"})};var qa={body:13,caption:10,footnote:11,largeTitle:28,subheadline:12,title:20};function za(e){return void 0===e&&(e=13),qa[e]?za(qa[e]):"number"!=typeof e?e:"calc("+e/13+" * "+ta("fontSize")+")"}function Ha(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ua(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ha(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ha(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Va(e){return ca({color:e})}Va.black=Va(ta("black")),Va.white=Va(ta("white")),Va.admin=Va(ta("colorAdmin")),Va.purple=Va(ta("purple500")),Va.green=Va(ta("green500")),Va.yellow=Va(ta("yellow500")),Va.orange=Va(ta("orange500")),Va.darkGray=Va(ta("darkGray500")),Va.lightGray=Va(ta("lightGray500")),Va.text=Va(ta("colorText")),Va.textInverted=Va(ta("colorTextInverted"));var Wa={default:ca({color:ta("colorText"),fontFamily:ta("fontFamily"),fontWeight:400}),monospace:ca({fontFamily:ta("fontFamilyMono")})},Ya={bold:ca({fontWeight:600}),italic:ca({fontStyle:"italic"}),smallCaps:ca({fontSize:za(10),fontWeight:600,textTransform:"uppercase"}),caption:ca({fontSize:za(10),fontWeight:600,textTransform:"uppercase",opacity:.5})},Ka={body:ca({fontSize:za(13)}),caption:ca({fontSize:za(10)}),footnote:ca({fontSize:za(11)}),headline:na(Ya.bold,ca({fontSize:za(13)})),largeTitle:ca({fontSize:za(28)}),subheadline:ca({fontSize:za(12)}),title:ca({fontSize:za(20)})},Qa={color:Va,size:function(e){return ca({fontSize:za(e)})}},Za={alignment:{left:ca({textAlign:"left"}),center:ca({textAlign:"center"}),right:ca({textAlign:"right"})}},Xa=Ua(Ua(Ua(Ua(Ua({},Wa),Ka),Ya),Qa),Za);function Ja(){var e=Cn(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return Ja=function(){return e},e}function ei(){var e=Cn(["\n\t\t"," & {\n\t\t\t","\n\t\t}\n\t"]);return ei=function(){return e},e}var ti={};function ni(e){return ca({opacity:e})}ti.colorBlind=Oa,ti.dark=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(Ja(),pn,o)},ti.highContrast=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];var o=ca.apply(void 0,[e].concat(n));return ca(ei(),fn,o)},ni.subtle=ni(.7),ni.muted=ni(.5),ni.hidden=ni(0);var ri={absolute:ca({position:"absolute"}),fixed:ca({position:"fixed"}),bottom:ca({bottom:0,position:"absolute"}),bottomLeft:ca({bottom:0,left:0,position:"absolute"}),bottomRight:ca({bottom:0,position:"absolute",right:0}),full:ca({bottom:0,left:0,position:"absolute",right:0,top:0}),left:ca({left:0,position:"absolute"}),relative:ca({position:"relative"}),right:ca({position:"absolute",right:0}),sticky:ca({position:"sticky",top:0}),top:ca({position:"absolute",top:0}),topLeft:ca({left:0,position:"absolute",top:0}),topRight:ca({position:"absolute",right:0,top:0})};function oi(e){return dn.numeric(e)?e+"px":e}function ai(e){return"0 "+oi(e)+" "+oi(2*e)+" 0\n\trgba(0 ,0, 0, "+e/20+")"}function ii(e){return ca({margin:ra(e)})}function si(e){return ca({padding:ra(e)})}function li(){var e=Cn(["\n\t\t"," {\n\t\t\t",";\n\t\t}\n\t"]);return li=function(){return e},e}ii.x=function(e){return ca({marginLeft:ra(e),marginRight:ra(e)})},ii.y=function(e){return ca({marginBottom:ra(e),marginTop:ra(e)})},ii.top=function(e){return ca({marginTop:ra(e)})},ii.bottom=function(e){return ca({marginBottom:ra(e)})},ii.left=function(e){return ca({marginLeft:ra(e)})},ii.right=function(e){return ca({marginRight:ra(e)})},si.x=function(e){return ca({paddingLeft:ra(e),paddingRight:ra(e)})},si.y=function(e){return ca({paddingBottom:ra(e),paddingTop:ra(e)})},si.top=function(e){return ca({paddingTop:ra(e)})},si.bottom=function(e){return ca({paddingBottom:ra(e)})},si.left=function(e){return ca({paddingLeft:ra(e)})},si.right=function(e){return ca({paddingRight:ra(e)})};var ci=function(e){return this[da]=e,this};ci.prototype.getSelector=function(){return'[data-g2-component="'+this[da]+'"]'},ci.prototype.css=function(){var e=ca.apply(void 0,arguments);return ca(li(),this.getSelector(),e)};function ui(e){return"number"==typeof e||"string"==typeof e}function di(e,t){if(void 0===t&&(t=0),ui(e)){var n=ui(t)?t:0;return ca({transform:"translate("+oi(e)+", "+oi(n)+")"})}if(dn.plainObject(e)){var r=e.x,o=void 0===r?0:r,a=e.y,i=void 0===a?0:a;return ca({transform:"translate("+oi(o)+", "+oi(i)+")"})}return""}di.x=function(e){return ca({transform:"translateX("+oi(e)+")"})},di.y=function(e){return ca({transform:"translateY("+oi(e)+")"})};var gi={};function pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}gi.clamp=function(e,t,n){return"max("+t+", min("+n+", "+e+"))"},gi.color=Ga,gi.space=ra,gi.px=oi;var fi={Tooltip:999999,Popover:9999,Dropdown:9998,Modal:999,ControlFocus:1};function mi(e,t){return"number"==typeof e?e:"string"!=typeof e?t:(fi[e]||"number"!=typeof t||(fi[e]=t),fi[e])}function hi(e,t){return ca({zIndex:mi(e,t)})}hi.get=function(){return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pi(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},fi)};var vi={$:function(e){return new ci(e)},active:function(){return ca({"&:active":ca.apply(void 0,arguments)})},alignment:wa,animation:ka,background:Ra,border:Ma,borderRadius:ja,browsers:La,color:Ga,createToken:ea,css:ca,flow:to,focus:function(){return ca({"&:focus":ca.apply(void 0,arguments)})},font:Xa,frame:Ba,get:ta,getTokenValue:function(e){var t=ta(e).replace("var(","").replace(/\)$/g,"");return window.getComputedStyle(document.documentElement).getPropertyValue(t)},hover:function(){return ca({"&:hover":ca.apply(void 0,arguments)})},margin:ii,mode:ti,offset:di,opacity:ni,padding:si,position:ri,rotate:function(e){return ca({transform:"rotate("+e+"deg)"})},scale:function(e){return ca({transform:"scale("+e+")"})},scaleX:function(e){return ca({transform:"scaleX("+e+")"})},scaleY:function(e){return ca({transform:"scaleY("+e+")"})},shadow:function(e){if("number"==typeof e)return ca({boxShadow:ai(e)});if(!dn.plainObject(e))return"";var t=e.color,n=void 0===t?"black":t,r=e.radius,o=void 0===r?10:r,a=e.x,i=void 0===a?0:a,s=e.y,l=void 0===s?5:s,c=Pe()(n).setAlpha(.3).toRgbString()||"rgba(0, 0, 0, 0.3)";return ca({boxShadow:oi(i)+" "+oi(l)+" "+oi(o)+" "+c})},space:ra,value:gi,zIndex:hi};function yi(){var e=dt(["\n\tdisplay: block;\n\toverflow: hidden;\n\ttext-overflow: ellipsis;\n\twhite-space: nowrap;\n"]);return yi=function(){return e},e}var bi=ca(yi());function _i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function wi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_i(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Ei,$i="auto",Ci="head",ki="middle",Si="none",xi={ellipsis:"…",ellipsizeMode:$i,limit:0,numberOfLines:0};function Oi(e,t,n,r){if("string"!=typeof e)return"";var o=e.length,a=~~t,i=~~n,s=(0,l.isNil)(r)?"…":r;return 0===a&&0===i||a>=o||i>=o||a+i>=o?e:0===i?e.slice(0,a)+s:e.slice(0,a)+s+e.slice(o-i)}function Pi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ai(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Pi(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ni(){var e=dt(["\n\t\t\t-webkit-box-orient: vertical;\n\t\t\t-webkit-line-clamp: ",";\n\t\t\tdisplay: -webkit-box;\n\t\t\toverflow: hidden;\n\t\t"]);return Ni=function(){return e},e}var Ri=fr()((function(e){var t;if("string"!=typeof e)return"";if(function(e){return"string"==typeof e&&Pe()(e).isValid()}(e))return e;if(!e.includes("var("))return"";if("undefined"==typeof document)return"";var n=function(){if("undefined"!=typeof document){if(!Ei){var e=document.createElement("div");e.setAttribute("data-g2-color-computation-node",""),document.body.appendChild(e),Ei=e}return Ei}}();if(!n)return"";n.style.background=e;var r=null===(t=window)||void 0===t?void 0:t.getComputedStyle(n).background;return n.style.background="",r||""}));function Ti(){var e=dt(["\n\ttext-transform: uppercase;\n"]);return Ti=function(){return e},e}function Mi(){var e=dt(["\n\tmark {\n\t\tbackground: ",";\n\t\tborder-radius: 2px;\n\t\tbox-shadow: 0 0 0 1px rgba( 0, 0, 0, 0.05 ) inset,\n\t\t\t0 -1px 0 rgba( 0, 0, 0, 0.1 ) inset;\n\t}\n"]);return Mi=function(){return e},e}function ji(){var e=dt(["\n\tcolor: ",";\n"]);return ji=function(){return e},e}function Ii(){var e=dt(["\n\tcolor: ",";\n"]);return Ii=function(){return e},e}function Di(){var e=dt(["\n\tcolor: ",";\n"]);return Di=function(){return e},e}function Fi(){var e=dt(["\n\tdisplay: block;\n"]);return Fi=function(){return e},e}function Li(){var e=dt(["\n\tcolor: ",";\n\tline-height: ",";\n"]);return Li=function(){return e},e}var Gi=ca(Li(),vi.color.text,vi.get("fontLineHeightBase")),Bi=ca(Fi()),qi=ca(Di(),vi.color.positive),zi=ca(Ii(),vi.color.destructive),Hi=ca(ji(),vi.get("colorTextMuted")),Ui=ca(Mi(),vi.get("yellowRgba70")),Vi=ca(Ti());function Wi(e){return Wi="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Wi(e)}var Yi=__webpack_require__(6928);function Ki(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Qi(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ki(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ki(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Zi=fr()((function(e){var t={};for(var n in e)t[n.toLowerCase()]=e[n];return t}));function Xi(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ji(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Xi(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xi(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var es=function(e){var t=e.as,n=e.name,r=void 0===n?"Component":n,o=e.useHook,a=void 0===o?l.identity:o,i=e.memo,c=void 0===i||i;function u(e,n){var r=a(e);return(0,s.createElement)(ba,O({as:t||"div"},r,{ref:n}))}return u.displayName=r,ma(u,r,{memo:c})}({as:"span",useHook:function(t){var n=ga(t,"Text"),r=n.adjustLineHeightForInnerControls,o=n.align,a=n.children,i=n.className,c=n.color,u=n.ellipsizeMode,d=n.isDestructive,g=void 0!==d&&d,p=n.display,f=n.highlightEscape,m=void 0!==f&&f,h=n.highlightCaseSensitive,v=void 0!==h&&h,y=n.highlightWords,b=n.highlightSanitize,_=n.isBlock,w=void 0!==_&&_,E=n.letterSpacing,$=n.lineHeight,C=n.optimizeReadabilityFor,k=n.size,S=n.truncate,x=void 0!==S&&S,O=n.upperCase,P=void 0!==O&&O,N=n.variant,R=n.weight,T=void 0===R?vi.get("fontWeight"):R,M=A(n,["adjustLineHeightForInnerControls","align","children","className","color","ellipsizeMode","isDestructive","display","highlightEscape","highlightCaseSensitive","highlightWords","highlightSanitize","isBlock","letterSpacing","lineHeight","optimizeReadabilityFor","size","truncate","upperCase","variant","weight"]),j=a,I=Array.isArray(y),D="caption"===k;I&&(j=function(e){var t=e.activeClassName,n=void 0===t?"":t,r=e.activeIndex,o=void 0===r?-1:r,a=e.activeStyle,i=e.autoEscape,l=e.caseSensitive,c=void 0!==l&&l,u=e.children,d=e.findChunks,g=e.highlightClassName,p=void 0===g?"":g,f=e.highlightStyle,m=void 0===f?{}:f,h=e.highlightTag,v=void 0===h?"mark":h,y=e.sanitize,b=e.searchWords,_=void 0===b?[]:b,w=e.unhighlightClassName,E=void 0===w?"":w,$=e.unhighlightStyle;if(!u)return null;if("string"!=typeof u)return u;var C,k=u,S=(0,Yi.findAll)({autoEscape:i,caseSensitive:c,findChunks:d,sanitize:y,searchWords:_,textToHighlight:k}),x=v,O=-1,P="",A=S.map((function(e,t){var r=k.substr(e.start,e.end-e.start);if(e.highlight){var i;O++,i="object"===Wi(p)?c?p[r]:(p=Zi(p))[r.toLowerCase()]:p;var l=O===+o;P="".concat(i," ").concat(l?n:""),C=!0===l&&null!==a?Object.assign({},m,a):m;var u=Qi(Qi({},vi.$("TextHighlight")),{},{children:r,className:P,key:t,style:C});return"string"!=typeof x&&(u.highlightIndex=O),(0,s.createElement)(x,u)}return(0,s.createElement)("span",Qi(Qi({},vi.$("Text")),{},{children:r,className:E,key:t,style:$}))}));return A}({autoEscape:m,children:a,caseSensitive:v,searchWords:y,sanitize:b}));var F,L=(0,s.useMemo)((function(){var t,n={},a=function(e){var t=e.adjustLineHeightForInnerControls,n=e.lineHeight;if(!(0,l.isNil)(n))return n;if(t){var r="calc(".concat(vi.get("controlHeight")," + ").concat(vi.space(2),")");switch(t){case"large":r="calc(".concat(vi.get("controlHeightLarge")," + ").concat(vi.space(2),")");break;case"small":r="calc(".concat(vi.get("controlHeightSmall")," + ").concat(vi.space(2),")");break;case"xSmall":r="calc(".concat(vi.get("controlHeightXSmall")," + ").concat(vi.space(2),")")}return r}}({lineHeight:$,adjustLineHeightForInnerControls:r});if(n.Base=ca({color:c,display:p,fontSize:za(k),fontWeight:T,lineHeight:a,letterSpacing:E,textAlign:o}),n.upperCase=ca({textTransform:"uppercase"}),n.optimalTextColor=null,C){var s="dark"==(t=function(e){var t=Ri(e);return Pe().isReadable(t,"#000000")?"#000000":"#ffffff"}(C),"#000000"===t?"dark":"light");n.optimalTextColor=ca(s?{color:vi.get("black")}:{color:vi.get("white")})}return na(Gi,n.Base,n.optimalTextColor,g&&zi,!!I&&Ui,w&&Bi,D&&Hi,N&&e[N],P&&n.upperCase,i)}),[r,o,i,c,p,w,D,g,I,E,$,C,k,P,N,T]);!0===x&&(F="auto"),!1===x&&(F="none");var G=function(e){var t=ga(e,"Truncate"),n=t.className,r=t.children,o=t.ellipsis,a=void 0===o?"…":o,i=t.ellipsizeMode,l=void 0===i?$i:i,c=t.limit,u=void 0===c?0:c,d=t.numberOfLines,g=void 0===d?0:d,p=A(t,["className","children","ellipsis","ellipsizeMode","limit","numberOfLines"]),f=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",r=arguments.length>1?arguments[1]:void 0,o=wi(wi({},xi),r),a=o.ellipsis,i=o.ellipsizeMode,s=o.limit;if(i===Si)return n;switch(i){case Ci:e=0,t=s;break;case ki:e=Math.floor(s/2),t=Math.floor(s/2);break;default:e=s,t=0}return i!==$i?Oi(n,e,t,a):n}("string"==typeof r?r:"",{ellipsis:a,ellipsizeMode:l,limit:u,numberOfLines:g}),m=l===$i,h=(0,s.useMemo)((function(){var e={};return e.numberOfLines=ca(Ni(),g),na(m&&!g&&bi,m&&!!g&&e.numberOfLines,n)}),[n,g,m]);return Ai(Ai({},p),{},{className:h,children:f})}(Ji(Ji({},M),{},{className:L,children:a,ellipsizeMode:u||F}));return!x&&Array.isArray(a)&&(j=s.Children.map(a,(function(e){return(0,l.isPlainObject)(e)&&"props"in e&&(n=["Link"],(t=e)&&("string"==typeof n?ha(t).includes(n):Array.isArray(n)&&n.some((function(e){return ha(t).includes(e)}))))?(0,s.cloneElement)(e,{size:e.props.size||"inherit"}):e;var t,n}))),Ji(Ji({},G),{},{children:x?G.children:j})},name:"Text"});function ts(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var ns=1===__webpack_require__(4155).env.COMPONENT_SYSTEM_PHASE?es:void 0,rs=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:function(){return null},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){return null},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"Component",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:function(e){return e};return 1===va.env.COMPONENT_SYSTEM_PHASE?ma((function(o,a){var i=ga(o,n),l=i.__unstableVersion,c=A(i,["__unstableVersion"]);if("next"===l){var u=r(c);return(0,s.createElement)(t,O({},u,{ref:a}))}return(0,s.createElement)(e,O({},o,{ref:a}))}),n):e}(we("p",{target:"e15wbhsk0",label:"Text"})("\n\tbox-sizing: border-box;\n\tmargin: 0;\n",Ft,""),ns,"WPComponentsText",(function(e){var t=e.as,n=e.variant,r=A(e,["as","variant"]);return function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ts(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ts(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:t,css:Ft({variant:n}).styles},r)})),os=__webpack_require__(4802),as=()=>(0,s.createElement)(at,{className:"gla-get-started-benefits-card",isBorderless:!0},(0,s.createElement)(ct,null,(0,s.createElement)("div",{className:"gla-get-started-benefits-card__image"},(0,s.createElement)("img",{src:os,alt:(0,o.__)("Google Listings & Ads Benefits","google-listings-and-ads"),width:"100%",height:"100%"})),(0,s.createElement)(ut,null,(0,s.createElement)(rs,{variant:"title.medium",className:"gla-get-started-benefits-card__title"},(0,s.createInterpolateElement)((0,o.__)("Increase clicks by <strong>50%</strong>","google-listings-and-ads"),{strong:(0,s.createElement)("strong",null)})),(0,s.createElement)(rs,{variant:"body",className:"gla-get-started-benefits-card__description"},(0,o.__)("Using free listings and ads together increased clicks by 50% and doubled impressions. Small-to-medium merchants saw the largest share of the increases.","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-benefits-card__hint"},(0,o.__)("Source: Google Internal Data, July 2020","google-listings-and-ads"))))),is=(0,s.forwardRef)((function(e,t){var n=e.className,r=A(e,["className"]),o=R()("components-flex__block",n);return(0,s.createElement)(ke,O({},r,{className:o,ref:t}))}));function ss(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ls(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ss(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ss(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var cs={isBorderless:!1,isShady:!1,size:"medium"},us=function(e){var t=e.className,n=e.isShady,r=A(e,["className","isShady"]),o=ls(ls(ls({},cs),M()),e),a=o.isBorderless,i=o.size,l=R()("components-card__header",a&&"is-borderless",n&&"is-shady",i&&"is-size-".concat(i),t);return(0,s.createElement)(Ze,O({},r,{className:l}))},ds=__webpack_require__(1704);const gs=e=>{let{quote:t,name:n}=e;return(0,s.createElement)(is,null,(0,s.createElement)("img",{src:ds,alt:(0,o.__)("An image of a quote.","google-listings-and-ads"),width:"34",height:"34"}),(0,s.createElement)(rs,{className:"gla-get-started-customer-quotes-card__content",variant:"body"},t),(0,s.createElement)(rs,{className:"gla-get-started-customer-quotes-card__name"},n))};var ps=()=>(0,s.createElement)(at,{className:"gla-get-started-customer-quotes-card",isBorderless:!0},(0,s.createElement)(us,null,(0,s.createElement)(rs,{className:"gla-get-started-customer-quotes-card__title",variant:"title.medium"},(0,o.__)("21,000+ WooCommerce store owners like you already list products with Google","google-listings-and-ads"))),(0,s.createElement)(xe,{gap:0},(0,s.createElement)(gs,{quote:(0,o.__)("Thank you Google and WooCommerce for creating this app. It’s so simple to use and connect your products to Merchant Center.","google-listings-and-ads"),name:(0,o.__)("joshualukewhite","google-listings-and-ads")}),(0,s.createElement)(gs,{quote:(0,o.__)("It does everything smoothly. Perfect and must need add-on from WooCommerce. Some things are just “essentials”.","google-listings-and-ads"),name:(0,o.__)("Anonymous","google-listings-and-ads")}))),fs=function(e){var t=e.label,n=e.children;return(0,s.createElement)("div",{className:"components-panel__header"},t&&(0,s.createElement)("h2",null,t),n)},ms=(0,s.forwardRef)((function(e,t){var n=e.header,r=e.className,o=e.children,a=R()(r,"components-panel");return(0,s.createElement)("div",{className:a,ref:t},n&&(0,s.createElement)(fs,{label:n}),o)}));function hs(e){var t=zt((0,s.useState)((function(){return!(!e||"undefined"==typeof window||!window.matchMedia(e).matches)})),2),n=t[0],r=t[1];return(0,s.useEffect)((function(){if(e){var t=function(){return r(window.matchMedia(e).matches)};t();var n=window.matchMedia(e);return n.addListener(t),function(){n.removeListener(t)}}}),[e]),e&&n}var vs=__webpack_require__(4155),ys="undefined"!=typeof window&&window.navigator.userAgent.indexOf("Trident")>=0,bs=vs.env.FORCE_REDUCED_MOTION||ys?function(){return!0}:function(){return hs("(prefers-reduced-motion: reduce)")};function _s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ws(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_s(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Es=function(e){return(0,s.createElement)("circle",e)},$s=function(e){return(0,s.createElement)("path",e)},Cs=function(e){var t=e.className,n=e.isPressed,r=ws(ws({},A(e,["className","isPressed"])),{},{className:R()(t,{"is-pressed":n})||void 0,role:"img","aria-hidden":!0,focusable:!1});return(0,s.createElement)("svg",r)},ks=(0,s.createElement)(Cs,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)($s,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})),Ss=(0,s.createElement)(Cs,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,s.createElement)($s,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),xs=window.wp.deprecated,Os=__webpack_require__.n(xs),Ps=window.wp.dom,As=window.wp.keycodes,Ns={huge:1440,wide:1280,large:960,medium:782,small:600,mobile:480},Rs={">=":"min-width","<":"max-width"},Ts={">=":function(e,t){return t>=e},"<":function(e,t){return t<e}},Ms=(0,s.createContext)(null),js=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:">=",n=(0,s.useContext)(Ms),r=!n&&"(".concat(Rs[t],": ").concat(Ns[e],"px)"),o=hs(r);return n?Ts[t](Ns[e],n):o};js.__experimentalWidthProvider=Ms.Provider;var Is=js,Ds=__webpack_require__(5464),Fs=__webpack_require__.n(Ds)(),Ls=function(){return(0,s.useCallback)((function(e){e&&e.addEventListener("keydown",(function(t){if(t.keyCode===As.TAB){var n=Ps.focus.tabbable.find(e);if(n.length){var r=n[0],o=n[n.length-1];t.shiftKey&&t.target===r?(t.preventDefault(),o.focus()):(t.shiftKey||t.target!==o)&&n.includes(t.target)||(t.preventDefault(),r.focus())}}}))}),[])},Gs=function(e){var t=(0,s.useRef)(),n=(0,s.useRef)(),r=(0,s.useRef)(e);return(0,s.useEffect)((function(){r.current=e}),[e]),(0,s.useCallback)((function(e){if(e){if(t.current=e,n.current)return;n.current=e.ownerDocument.activeElement}else if(n.current){var o=t.current.contains(t.current.ownerDocument.activeElement);if(t.current.isConnected&&!o)return;r.current?r.current():n.current.focus()}}),[])};function Bs(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"firstElement",t=(0,s.useRef)(e);return(0,s.useEffect)((function(){t.current=e}),[e]),(0,s.useCallback)((function(e){if(e&&!1!==t.current&&!e.contains(e.ownerDocument.activeElement)){var n=e;if("firstElement"===t.current){var r=Ps.focus.tabbable.find(e)[0];r&&(n=r)}n.focus()}}),[])}var qs=["button","submit"];function zs(e){var t=(0,s.useRef)(e);(0,s.useEffect)((function(){t.current=e}),[e]);var n=(0,s.useRef)(!1),r=(0,s.useRef)(),o=(0,s.useCallback)((function(){clearTimeout(r.current)}),[]);(0,s.useEffect)((function(){return function(){return o()}}),[]),(0,s.useEffect)((function(){e||o()}),[e,o]);var a=(0,s.useCallback)((function(e){var t=e.type,r=e.target;(0,l.includes)(["mouseup","touchend"],t)?n.current=!1:function(e){if(!(e instanceof window.HTMLElement))return!1;switch(e.nodeName){case"A":case"BUTTON":return!0;case"INPUT":return(0,l.includes)(qs,e.type)}return!1}(r)&&(n.current=!0)}),[]),i=(0,s.useCallback)((function(e){e.persist(),n.current||(r.current=setTimeout((function(){document.hasFocus()?"function"==typeof t.current&&t.current(e):e.preventDefault()}),0))}),[]);return{onFocus:o,onMouseDown:a,onMouseUp:a,onTouchStart:a,onTouchEnd:a,onBlur:i}}var Hs=(0,s.createElement)(Cs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)($s,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));function Us(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Vs(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Us(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Us(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ws(e,t,n,r,a,i,s,l){var c=t.width;"left"===n&&(0,o.isRTL)()?n="right":"right"===n&&(0,o.isRTL)()&&(n="left"),"left"===r&&(0,o.isRTL)()?r="right":"right"===r&&(0,o.isRTL)()&&(r="left");var u=Math.round(e.left+e.width/2),d={popoverLeft:u,contentWidth:(u-c/2>0?c/2:u)+(u+c/2>window.innerWidth?window.innerWidth-u:c/2)},g=e.left;"right"===r?g=e.right:"middle"!==i&&(g=u);var p=e.right;"left"===r?p=e.left:"middle"!==i&&(p=u);var f,m={popoverLeft:g,contentWidth:g-c>0?c:g},h={popoverLeft:p,contentWidth:p+c>window.innerWidth?window.innerWidth-p:c},v=n,y=null;if(!a&&!l)if("center"===n&&d.contentWidth===c)v="center";else if("left"===n&&m.contentWidth===c)v="left";else if("right"===n&&h.contentWidth===c)v="right";else{var b="left"==(v=m.contentWidth>h.contentWidth?"left":"right")?m.contentWidth:h.contentWidth;c>window.innerWidth&&(y=window.innerWidth),b!==c&&(v="center",d.popoverLeft=window.innerWidth/2)}if(f="center"===v?d.popoverLeft:"left"===v?m.popoverLeft:h.popoverLeft,s){var _=s.getBoundingClientRect();f=Math.min(f,_.right-c)}return{xAxis:v,popoverLeft:f,contentWidth:y}}function Ys(e,t,n,r,o,a,i,s){var l=t.height;if(o){var c=o.getBoundingClientRect().top+l-i;if(e.top<=c)return{yAxis:n,popoverTop:Math.min(e.bottom,c)}}var u=e.top+e.height/2;"bottom"===r?u=e.bottom:"top"===r&&(u=e.top);var d={popoverTop:u,contentHeight:(u-l/2>0?l/2:u)+(u+l/2>window.innerHeight?window.innerHeight-u:l/2)},g={popoverTop:e.top,contentHeight:e.top-10-l>0?l:e.top-10},p={popoverTop:e.bottom,contentHeight:e.bottom+10+l>window.innerHeight?window.innerHeight-10-e.bottom:l},f=n,m=null;if(!o&&!s)if("middle"===n&&d.contentHeight===l)f="middle";else if("top"===n&&g.contentHeight===l)f="top";else if("bottom"===n&&p.contentHeight===l)f="bottom";else{var h="top"==(f=g.contentHeight>p.contentHeight?"top":"bottom")?g.contentHeight:p.contentHeight;m=h!==l?h:null}return{yAxis:f,popoverTop:"middle"===f?d.popoverTop:"top"===f?g.popoverTop:p.popoverTop,contentHeight:m}}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qs(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Zs(e,t,n){return t&&Qs(e.prototype,t),n&&Qs(e,n),e}function Xs(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&B(e,t)}function Js(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function el(e,t){if(t&&("object"===Wi(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return Js(e)}function tl(e){return tl=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},tl(e)}function nl(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,r=tl(e);if(t){var o=tl(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return el(this,n)}}var rl=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.htmlDocument,n=void 0===t?document:t,r=e.className,o=void 0===r?"lockscroll":r,a=0,i=0;function l(e){var t=n.scrollingElement||n.body;e&&(i=t.scrollTop);var r=e?"add":"remove";t.classList[r](o),n.documentElement.classList[r](o),e||(t.scrollTop=i)}function c(){0===a&&l(!0),++a}function u(){1===a&&l(!1),--a}return function(e){Xs(n,e);var t=nl(n);function n(){return Ks(this,n),t.apply(this,arguments)}return Zs(n,[{key:"componentDidMount",value:function(){c()}},{key:"componentWillUnmount",value:function(){u()}},{key:"render",value:function(){return null}}]),n}(s.Component)}();function ol(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=tl(e)););return e}function al(){return al="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(e,t,n){var r=ol(e,t);if(r){var o=Object.getOwnPropertyDescriptor(r,t);return o.get?o.get.call(arguments.length<3?e:n):o.value}},al.apply(this,arguments)}function il(e){return function(e){if(Array.isArray(e))return Gt(e)}(e)||Qn(e)||Bt(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}window.wp.warning;var sl=__webpack_require__(4155),ll=(0,s.createContext)({slots:{},fills:{},registerSlot:function(){void 0!==sl&&sl.env},updateSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){}});var cl=(0,s.createContext)({registerSlot:function(){},unregisterSlot:function(){},registerFill:function(){},unregisterFill:function(){},getSlot:function(){},getFills:function(){},subscribe:function(){}}),ul=(cl.Provider,cl.Consumer);s.Component;var dl=function(e){Xs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=tl(t);if(n){var o=tl(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return el(this,e)});function o(){var e;return Ks(this,o),(e=r.apply(this,arguments)).isUnmounted=!1,e.bindNode=e.bindNode.bind(Js(e)),e}return Zs(o,[{key:"componentDidMount",value:function(){(0,this.props.registerSlot)(this.props.name,this)}},{key:"componentWillUnmount",value:function(){var e=this.props.unregisterSlot;this.isUnmounted=!0,e(this.props.name,this)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.name,r=t.unregisterSlot,o=t.registerSlot;e.name!==n&&(r(e.name),o(n,this))}},{key:"bindNode",value:function(e){this.node=e}},{key:"forceUpdate",value:function(){this.isUnmounted||al(tl(o.prototype),"forceUpdate",this).call(this)}},{key:"render",value:function(){var e=this.props,t=e.children,n=e.name,r=e.fillProps,o=void 0===r?{}:r,a=e.getFills,i=(0,l.map)(a(n,this),(function(e){var t=e.occurrence,n=(0,l.isFunction)(e.children)?e.children(o):e.children;return s.Children.map(n,(function(e,n){if(!e||(0,l.isString)(e))return e;var r="".concat(t,"---").concat(e.key||n);return(0,s.cloneElement)(e,{key:r})}))})).filter((0,l.negate)(s.isEmptyElement));return(0,s.createElement)(s.Fragment,null,(0,l.isFunction)(t)?t(i):i)}}]),o}(s.Component),gl=function(e){return(0,s.createElement)(ul,null,(function(t){var n=t.registerSlot,r=t.unregisterSlot,o=t.getFills;return(0,s.createElement)(dl,O({},e,{registerSlot:n,unregisterSlot:r,getFills:o}))}))},pl=0;function fl(e){var t=e.name,n=e.children,r=e.registerFill,o=e.unregisterFill,a=function(e){var t=(0,s.useContext)(cl),n=t.getSlot,r=t.subscribe,o=zt((0,s.useState)(n(e)),2),a=o[0],i=o[1];return(0,s.useEffect)((function(){return i(n(e)),r((function(){i(n(e))}))}),[e]),a}(t),i=(0,s.useRef)({name:t,children:n});return i.current.occurrence||(i.current.occurrence=++pl),(0,s.useLayoutEffect)((function(){return r(t,i.current),function(){return o(t,i.current)}}),[]),(0,s.useLayoutEffect)((function(){i.current.children=n,a&&a.forceUpdate()}),[n]),(0,s.useLayoutEffect)((function(){t!==i.current.name&&(o(i.current.name,i.current),i.current.name=t,r(t,i.current))}),[t]),a&&a.node?((0,l.isFunction)(n)&&(n=n(a.props.fillProps)),(0,s.createPortal)(n,a.node)):null}var ml=function(e){return(0,s.createElement)(ul,null,(function(t){var n=t.registerFill,r=t.unregisterFill;return(0,s.createElement)(fl,O({},e,{registerFill:n,unregisterFill:r}))}))};function hl(e){var t=e.name,n=e.fillProps,r=void 0===n?{}:n,o=e.as,a=void 0===o?"div":o,i=A(e,["name","fillProps","as"]),l=(0,s.useContext)(ll),c=(0,s.useRef)();return(0,s.useLayoutEffect)((function(){return l.registerSlot(t,c,r),function(){l.unregisterSlot(t,c)}}),[l.registerSlot,l.unregisterSlot,t]),(0,s.useLayoutEffect)((function(){l.updateSlot(t,r)})),(0,s.createElement)(a,O({ref:c},i))}function vl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?vl(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function bl(e){var t=(0,s.useContext)(ll),n=t.slots[e]||{},r=t.fills[e],o=(0,s.useMemo)((function(){return r||[]}),[r]),a=(0,s.useCallback)((function(n){t.updateSlot(e,n)}),[e,t.updateSlot]),i=(0,s.useCallback)((function(n){t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),l=(0,s.useCallback)((function(n){t.registerFill(e,n)}),[e,t.registerFill]),c=(0,s.useCallback)((function(n){t.unregisterFill(e,n)}),[e,t.unregisterFill]);return yl(yl({},n),{},{updateSlot:a,unregisterSlot:i,fills:o,registerFill:l,unregisterFill:c})}function _l(e){var t,n=e.name,r=e.children,o=bl(n),a=(0,s.useRef)({rerender:(t=zt((0,s.useState)({}),2)[1],function(){return t({})})});return(0,s.useEffect)((function(){return o.registerFill(a),function(){o.unregisterFill(a)}}),[o.registerFill,o.unregisterFill]),o.ref&&o.ref.current?("function"==typeof r&&(r=r(o.fillProps)),(0,s.createPortal)(r,o.ref.current)):null}function wl(e){var t=e.bubblesVirtually,n=A(e,["bubblesVirtually"]);return t?(0,s.createElement)(hl,n):(0,s.createElement)(gl,n)}function El(e){return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(ml,e),(0,s.createElement)(_l,e))}var $l="Popover";function Cl(e,t){var n=t.defaultView,r=n.frameElement;if(!r)return e;var o=r.getBoundingClientRect();return new n.DOMRect(e.left+o.left,e.top+o.top,e.width,e.height)}function kl(e,t){var n,r=(n=t).ownerDocument.defaultView.getComputedStyle(n),o=r.paddingTop,a=r.paddingBottom,i=r.paddingLeft,s=r.paddingRight,l=o?parseInt(o,10):0,c=a?parseInt(a,10):0,u=i?parseInt(i,10):0,d=s?parseInt(s,10):0;return{x:e.left+u,y:e.top+l,width:e.width-u-d,height:e.height-l-c,left:e.left+u,right:e.right-d,top:e.top+l,bottom:e.bottom-c}}function Sl(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function xl(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";e.style[t]!==n&&(e.style[t]=n)}function Ol(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}var Pl=function(e){var t=e.headerTitle,n=e.onClose,r=e.onKeyDown,o=e.children,a=e.className,i=e.noArrow,l=void 0===i||i,c=e.isAlternate,u=e.position,d=void 0===u?"bottom right":u,g=(e.range,e.focusOnMount),p=void 0===g?"firstElement":g,f=e.anchorRef,m=e.shouldAnchorIncludePadding,h=e.anchorRect,v=e.getAnchorRect,y=e.expandOnMobile,b=e.animate,_=void 0===b||b,w=e.onClickOutside,E=e.onFocusOutside,$=e.__unstableStickyBoundaryElement,C=e.__unstableSlotName,k=void 0===C?$l:C,S=e.__unstableObserveElement,x=e.__unstableBoundaryParent,P=e.__unstableForcePosition,N=A(e,["headerTitle","onClose","onKeyDown","children","className","noArrow","isAlternate","position","range","focusOnMount","anchorRef","shouldAnchorIncludePadding","anchorRect","getAnchorRect","expandOnMobile","animate","onClickOutside","onFocusOutside","__unstableStickyBoundaryElement","__unstableSlotName","__unstableObserveElement","__unstableBoundaryParent","__unstableForcePosition"]),T=(0,s.useRef)(null),M=(0,s.useRef)(null),I=(0,s.useRef)(),D=Is("medium","<"),F=zt((0,s.useState)(),2),L=F[0],G=F[1],B=bl(k),q=y&&D,z=zt(Fs(),2),H=z[0],U=z[1];l=q||l,(0,s.useLayoutEffect)((function(){if(q)return Ol(I.current,"is-without-arrow",l),Ol(I.current,"is-alternate",c),Sl(I.current,"data-x-axis"),Sl(I.current,"data-y-axis"),xl(I.current,"top"),xl(I.current,"left"),xl(M.current,"maxHeight"),void xl(M.current,"maxWidth");var e=function(){if(I.current&&M.current){var e=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]&&arguments[3],o=arguments.length>4?arguments[4]:void 0;if(t)return t;if(n){if(!e.current)return;return n(e.current)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return Cl((0,Ps.getRectangleFromRange)(r),r.endContainer.ownerDocument);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){var a=Cl(r.getBoundingClientRect(),r.ownerDocument);return o?a:kl(a,r)}var i=r.top,s=r.bottom,l=i.getBoundingClientRect(),c=s.getBoundingClientRect(),u=Cl(new window.DOMRect(l.left,l.top,l.width,c.bottom-l.top),i.ownerDocument);return o?u:kl(u,r)}if(e.current){var d=e.current.parentNode,g=d.getBoundingClientRect();return o?g:kl(g,d)}}(T,h,v,f,m);if(e){var t,n,r=I.current,o=r.offsetParent,a=r.ownerDocument,i=0;if(o&&o!==a.body){var s=o.getBoundingClientRect();i=s.top,e=new window.DOMRect(e.left-s.left,e.top-s.top,e.width,e.height)}x&&(t=null===(n=I.current.closest(".popover-slot"))||void 0===n?void 0:n.parentNode);var u=function(e,t){var n=arguments.length>3?arguments[3]:void 0,r=arguments.length>5?arguments[5]:void 0,o=arguments.length>6?arguments[6]:void 0,a=arguments.length>7?arguments[7]:void 0,i=zt((arguments.length>2&&void 0!==arguments[2]?arguments[2]:"top").split(" "),3),s=i[0],l=i[1],c=void 0===l?"center":l,u=i[2],d=Ys(e,t,s,u,n,0,r,a);return Vs(Vs({},Ws(e,t,c,u,n,d.yAxis,o,a)),d)}(e,U.height?U:M.current.getBoundingClientRect(),d,$,I.current,i,t,P),g=u.popoverTop,p=u.popoverLeft,y=u.xAxis,b=u.yAxis,_=u.contentHeight,w=u.contentWidth;"number"==typeof g&&"number"==typeof p&&(xl(I.current,"top",g+"px"),xl(I.current,"left",p+"px")),Ol(I.current,"is-without-arrow",l||"center"===y&&"middle"===b),Ol(I.current,"is-alternate",c),Sl(I.current,"data-x-axis",y),Sl(I.current,"data-y-axis",b),xl(M.current,"maxHeight","number"==typeof _?_+"px":""),xl(M.current,"maxWidth","number"==typeof w?w+"px":""),G(({left:"right",right:"left"}[y]||"center")+" "+({top:"bottom",bottom:"top"}[b]||"middle"))}}};e();var t,n=I.current.ownerDocument,r=n.defaultView,o=r.setInterval(e,500),a=function(){r.cancelAnimationFrame(t),t=r.requestAnimationFrame(e)};r.addEventListener("click",a),r.addEventListener("resize",e),r.addEventListener("scroll",e,!0);var i,s=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(f);return s&&s!==n&&(s.defaultView.addEventListener("resize",e),s.defaultView.addEventListener("scroll",e,!0)),S&&(i=new r.MutationObserver(e)).observe(S,{attributes:!0}),function(){r.clearInterval(o),r.removeEventListener("resize",e),r.removeEventListener("scroll",e,!0),r.removeEventListener("click",a),r.cancelAnimationFrame(t),s&&s!==n&&(s.defaultView.removeEventListener("resize",e),s.defaultView.removeEventListener("scroll",e,!0)),i&&i.disconnect()}}),[q,h,v,f,m,d,U,$,S,x]);var V=Ls(),W=Gs(),Y=Bs(p),K=zs((function(e){if(E)E(e);else if(w){var t;try{t=new window.MouseEvent("click")}catch(e){(t=document.createEvent("MouseEvent")).initMouseEvent("click",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null)}Object.defineProperty(t,"target",{get:function(){return e.relatedTarget}}),Os()("Popover onClickOutside prop",{alternative:"onFocusOutside"}),w(t)}else n&&n()})),Q=[I,p?V:null,p?W:null,p?Y:null],Z=(0,s.useCallback)(kn(Q),Q),X=Boolean(_&&L)&&function(e){if("loading"===e.type)return R()("components-animate__loading");var t=e.type,n=e.origin,r=void 0===n?function(e){return"appear"===e?"top":"left"}(t):n;if("appear"===t){var o,a=zt(r.split(" "),2),i=a[0],s=a[1],l=void 0===s?"center":s;return R()("components-animate__appear",(j(o={},"is-from-"+l,"center"!==l),j(o,"is-from-"+i,"middle"!==i),o))}return"slide-in"===t?R()("components-animate__slide-in","is-from-"+r):void 0}({type:"appear",origin:L}),J=(0,s.createElement)("div",O({className:R()("components-popover",a,X,{"is-expanded":q,"is-without-arrow":l,"is-alternate":c})},N,{onKeyDown:function(e){e.keyCode===As.ESCAPE&&n&&(e.stopPropagation(),n()),r&&r(e)}},K,{ref:Z,tabIndex:"-1"}),q&&(0,s.createElement)(rl,null),q&&(0,s.createElement)("div",{className:"components-popover__header"},(0,s.createElement)("span",{className:"components-popover__header-title"},t),(0,s.createElement)(Yl,{className:"components-popover__close",icon:Hs,onClick:n})),(0,s.createElement)("div",{ref:M,className:"components-popover__content"},(0,s.createElement)("div",{style:{position:"relative"}},H,o)));return B.ref&&(J=(0,s.createElement)(El,{name:k},J)),f||h?J:(0,s.createElement)("span",{ref:T},J)};Pl.Slot=function(e){var t=e.name,n=void 0===t?$l:t;return(0,s.createElement)(wl,{bubblesVirtually:!0,name:n,className:"popover-slot"})};var Al=Pl,Nl=function(e){var t,n,r=e.shortcut,o=e.className;return r?((0,l.isString)(r)&&(t=r),(0,l.isObject)(r)&&(t=r.display,n=r.ariaLabel),(0,s.createElement)("span",{className:o,"aria-label":n},t)):null};function Rl(e,t){var n=(0,I.useState)((function(){return{inputs:t,result:e()}}))[0],r=(0,I.useRef)(!0),o=(0,I.useRef)(n),a=r.current||Boolean(t&&o.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,o.current.inputs))?o.current:{inputs:t,result:e()};return(0,I.useEffect)((function(){r.current=!1,o.current=a}),[a]),a.result}function Tl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ml(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Tl(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var jl=(0,s.createElement)("div",{className:"event-catcher"}),Il=function(e){var t=e.eventHandlers,n=e.child,r=e.childrenWithPopover;return(0,s.cloneElement)((0,s.createElement)("span",{className:"disabled-element-wrapper"},(0,s.cloneElement)(jl,t),(0,s.cloneElement)(n,{children:r}),","),t)},Dl=function(e){var t=e.child,n=e.eventHandlers,r=e.childrenWithPopover;return(0,s.cloneElement)(t,Ml(Ml({},n),{},{children:r}))},Fl=function(e,t,n){if(1===s.Children.count(e)){var r=s.Children.only(e);"function"==typeof r.props[t]&&r.props[t](n)}},Ll=function(e){var t=e.children,n=e.position,r=e.text,o=e.shortcut,a=zt((0,s.useState)(!1),2),i=a[0],c=a[1],u=zt((0,s.useState)(!1),2),d=u[0],g=u[1],p=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=Rl((function(){return l.debounce.apply(void 0,t)}),t);return(0,s.useEffect)((function(){return function(){return r.cancel()}}),[r]),r}(g,700),f=function(e){Fl(t,"onMouseDown",e),document.addEventListener("mouseup",v),c(!0)},m=function(e){Fl(t,"onMouseUp",e),document.removeEventListener("mouseup",v),c(!1)},h=function(e){return"mouseUp"===e?m:"mouseDown"===e?f:void 0},v=h("mouseUp"),y=function(e,n){return function(r){if(Fl(t,e,r),!(r.currentTarget.disabled||"focus"===r.type&&i)){p.cancel();var o=(0,l.includes)(["focus","mouseenter"],r.type);o!==d&&(n?p(o):g(o))}}},b=function(){p.cancel()};if((0,s.useEffect)((function(){return b}),[]),1!==s.Children.count(t))return t;var _={onMouseEnter:y("onMouseEnter",!0),onMouseLeave:y("onMouseLeave"),onClick:y("onClick"),onFocus:y("onFocus"),onBlur:y("onBlur"),onMouseDown:h("mouseDown")},w=s.Children.only(t),E=w.props,$=E.children,C=E.disabled?Il:Dl,k=function(e){var t=e.grandchildren,n=e.isOver,r=e.position,o=e.text,a=e.shortcut;return(0,s.concatChildren)(t,n&&(0,s.createElement)(Al,{focusOnMount:!1,position:r,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},o,(0,s.createElement)(Nl,{className:"components-tooltip__shortcut",shortcut:a})))}(Ml({grandchildren:$},{isOver:d,position:n,text:r,shortcut:o}));return C({child:w,eventHandlers:_,childrenWithPopover:k})},Gl=function(e){var t=e.icon,n=e.className,r=A(e,["icon","className"]),o=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" ");return(0,s.createElement)("span",O({className:o},r))};function Bl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ql(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Bl(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var zl=function(e){var t=e.icon,n=void 0===t?null:t,r=e.size,o=A(e,["icon","size"]);if("string"==typeof n)return(0,s.createElement)(Gl,O({icon:n},o));if(n&&Gl===n.type)return(0,s.cloneElement)(n,ql({},o));var a=r||24;if("function"==typeof n)return n.prototype instanceof s.Component?(0,s.createElement)(n,ql({size:a},o)):n(ql({size:a},o));if(n&&("svg"===n.type||n.type===Cs)){var i=ql(ql({width:a,height:a},n.props),o);return(0,s.createElement)(Cs,i)}return(0,s.isValidElement)(n)?(0,s.cloneElement)(n,ql({size:a},o)):n};function Hl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Ul=function(e){var t=e.as,n=void 0===t?"div":t,r=e.className,o=A(e,["as","className"]);return function(e){var t=e.as,n=void 0===t?"div":t,r=A(e,["as"]);return"function"==typeof r.children?r.children(r):(0,s.createElement)(n,r)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Hl(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Hl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({as:n,className:R()("components-visually-hidden",r)},o))};function Vl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Wl=["onMouseDown","onClick"],Yl=(0,s.forwardRef)((function(e,t){var n=e.href,r=e.target,o=e.isPrimary,a=e.isSmall,i=e.isTertiary,c=e.isPressed,u=e.isBusy,d=e.isDefault,g=e.isSecondary,p=e.isLink,f=e.isDestructive,m=e.className,h=e.disabled,v=e.icon,y=e.iconPosition,b=void 0===y?"left":y,_=e.iconSize,w=e.showTooltip,E=e.tooltipPosition,$=e.shortcut,C=e.label,k=e.children,S=e.text,x=e.__experimentalIsFocusable,P=e.describedBy,N=A(e,["href","target","isPrimary","isSmall","isTertiary","isPressed","isBusy","isDefault","isSecondary","isLink","isDestructive","className","disabled","icon","iconPosition","iconSize","showTooltip","tooltipPosition","shortcut","label","children","text","__experimentalIsFocusable","describedBy"]);d&&Os()("Button isDefault prop",{alternative:"isSecondary"});var T=R()("components-button",m,{"is-secondary":d||g,"is-primary":o,"is-small":a,"is-tertiary":i,"is-pressed":c,"is-busy":u,"is-link":p,"is-destructive":f,"has-text":!!v&&!!k,"has-icon":!!v}),M=h&&!x,j=void 0===n||M?"button":"a",I="a"===j?{href:n,target:r}:{type:"button",disabled:M,"aria-pressed":c};if(h&&x){I["aria-disabled"]=!0;var D,F=function(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Vl(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Vl(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==n.return||n.return()}finally{if(s)throw a}}}}(Wl);try{for(F.s();!(D=F.n()).done;)N[D.value]=function(e){e.stopPropagation(),e.preventDefault()}}catch(e){F.e(e)}finally{F.f()}}var L=!M&&(w&&C||$||!!C&&(!k||(0,l.isArray)(k)&&!k.length)&&!1!==w),G=P?(0,l.uniqueId)():null,B=N["aria-describedby"]||G,q=(0,s.createElement)(j,O({},I,N,{className:T,"aria-label":N["aria-label"]||C,"aria-describedby":B,ref:t}),v&&"left"===b&&(0,s.createElement)(zl,{icon:v,size:_}),S&&(0,s.createElement)(s.Fragment,null,S),v&&"right"===b&&(0,s.createElement)(zl,{icon:v,size:_}),k);return L?(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Ll,{text:P||C,shortcut:$,position:E},q),P&&(0,s.createElement)(Ul,null,(0,s.createElement)("span",{id:G},P))):(0,s.createElement)(s.Fragment,null,q,P&&(0,s.createElement)(Ul,null,(0,s.createElement)("span",{id:G},P)))}));function Kl(e){return null!=e}function Ql(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],n=arguments.length>1?arguments[1]:void 0;return null!==(e=t.find(Kl))&&void 0!==e?e:n}function Zl(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Xl(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zl(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zl(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Jl={initial:void 0,fallback:""},ec=function(e,t){var n=(0,s.useRef)(!1);(0,s.useEffect)((function(){if(n.current)return e();n.current=!0}),t)},tc=(0,s.forwardRef)((function(e,t){var n=e.isOpened,r=e.icon,o=e.title,a=A(e,["isOpened","icon","title"]);return o?(0,s.createElement)("h2",{className:"components-panel__body-title"},(0,s.createElement)(Yl,O({className:"components-panel__body-toggle","aria-expanded":n,ref:t},a),(0,s.createElement)("span",{"aria-hidden":"true"},(0,s.createElement)(zl,{className:"components-panel__arrow",icon:n?ks:Ss})),o,r&&(0,s.createElement)(zl,{icon:r,className:"components-panel__icon",size:20}))):null})),nc=(0,s.forwardRef)((function(e,t){var n=e.buttonProps,r=void 0===n?{}:n,o=e.children,a=e.className,i=e.icon,c=e.initialOpen,u=e.onToggle,d=void 0===u?l.noop:u,g=e.opened,p=e.title,f=e.scrollAfterOpen,m=void 0===f||f,h=zt(function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Jl,n=Xl(Xl({},Jl),t),r=n.initial,o=n.fallback,a=zt((0,s.useState)(e),2),i=a[0],l=a[1],c=Kl(e);return(0,s.useEffect)((function(){c&&i&&l(void 0)}),[c,i]),[Ql([e,i,r],o),function(e){c||l(e)}]}(g,{initial:void 0===c||c}),2),v=h[0],y=h[1],b=(0,s.useRef)(),_=bs()?"auto":"smooth",w=(0,s.useRef)();w.current=m,ec((function(){var e;v&&w.current&&null!==(e=b.current)&&void 0!==e&&e.scrollIntoView&&b.current.scrollIntoView({inline:"nearest",block:"nearest",behavior:_})}),[v,_]);var E=R()("components-panel__body",a,{"is-opened":v});return(0,s.createElement)("div",{className:E,ref:kn([b,t])},(0,s.createElement)(tc,O({icon:i,isOpened:v,onClick:function(e){e.preventDefault();var t=!v;y(t),d(t)},title:p},r)),"function"==typeof o?o({opened:v}):v&&o)}));nc.displayName="PanelBody";var rc=nc,oc=function(e){var t=e.className,n=e.children,r=R()("components-panel__row",t);return(0,s.createElement)("div",{className:r},n)},ac=__webpack_require__(4940);const ic=(e,t,n)=>r=>{(0,ac.recordEvent)(e,{id:t,action:r?"expand":"collapse",context:n})};function sc(e){let{trackName:t,faqItems:n,className:r,context:a}=e;return(0,s.createElement)(ms,{className:R()("gla-faqs-panel",r),header:(0,o.__)("Frequently asked questions","google-listings-and-ads")},n.map((e=>{let{trackId:n,question:r,answer:o}=e;return(0,s.createElement)(rc,{key:n,title:r,initialOpen:!1,onToggle:ic(t,n,a)},(0,s.createElement)(oc,null,o))})))}var lc=window.wc.components,cc=e=>{const{eventName:t,eventProps:n,onClick:r=(()=>{}),...o}=e;return(0,s.createElement)(lc.Link,O({},o,{onClick:e=>{t&&(0,ac.recordEvent)(t,n),r(e)}}))},uc=e=>{const{context:t,linkId:n,href:r,...o}=e;return(0,s.createElement)(cc,O({eventProps:{context:t,link_id:n,href:r},type:"external",target:"_blank",href:r},o,{eventName:"gla_documentation_link_click"}))};const dc=[{trackId:"what-do-i-need-to-get-started",question:(0,o.__)("What do I need to get started?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("In order to sync your WooCommerce store with Google and begin showcasing your products online, you will need to provide the following during setup; Google account access, target audience, shipping information, tax rate information (required for US only), and ensure your store is running on a compatible PHP version. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"general-requirements",href:"https://woocommerce.com/document/google-listings-and-ads/#general-requirements"})}))},{trackId:"what-if-i-already-have-free-listings",question:(0,o.__)("What if I already have Google listings or ads set up? Will syncing my store replace my current Google listings?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Once you link an existing account to connect your store, your Shopping ads and free listings will stop running. You’ll need to re-upload your feed and product data in order to run Shopping ads and show free listings.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Learn more about claiming URLs <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"claiming-urls",href:"https://support.google.com/merchants/answer/7527436"})})),(0,s.createElement)("p",null,(0,o.__)("If you have an existing Content API feed, it will not be changed, overwritten or deleted by this WooCommerce integration. Instead, products will be added to your existing Content API feed.","google-listings-and-ads")))},{trackId:"is-my-store-ready-to-sync-with-google",question:(0,o.__)("Is my store ready to sync with Google?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("In order to meet the Google Merchant Center requirements make sure your website has the following; secure checkout process and payment information, refund and return policies, billing terms and conditions, business contact information. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"google-merchant-center-requirements",href:"https://woocommerce.com/document/google-listings-and-ads/#google-merchant-center-requirements"})}))},{trackId:"what-is-a-performance-max-campaign",question:(0,o.__)("What is a Performance Max campaign?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Performance Max campaigns make it easy to connect your WooCommerce store to Google Shopping ads so you can showcase your products to shoppers across Google Search, Maps, Shopping, YouTube, Gmail, the Display Network and Discover feed to drive traffic and sales for your store. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"performance-max",href:"https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns"})}))},{trackId:"what-are-free-listings",question:(0,o.__)("What are free listings?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Google Free Listings allows stores to showcase eligible products to shoppers looking for what you offer and drive traffic to your store with Google’s free listings on the Shopping tab. Your products can also appear on Google Search, Google Images, and Gmail if you’re selling in the United States. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"free-listings",href:"https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google"})}))},{trackId:"where-to-track-free-listings-and-performance-max-campaign-performance",question:(0,o.__)("Where can I track my free listings and Performance Max campaign performance?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Once your free listings and Performance Max campaigns are set up, you will be able to track your performance straight from your WooCommerce dashboard. You can view your reports yearly, quarterly, monthly, weekly, or daily. The following metrics will be visible within your report: conversions, clicks, impressions, total sales and total spend. <link>Learn more.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"campaign-analytics",href:"https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics"})}))},{trackId:"how-to-sync-products-to-google-free-listings",question:(0,o.__)("How do I sync my products to Google free listings?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,o.__)("The Google Listings and Ads plugin allows you to upload your store and product data to Google. Your products will sync automatically to make relevant information available for free listings, Google Ads, and other Google services. You can create a new Merchant Center account or link an existing account to connect your store and list products across Google.","google-listings-and-ads"))},{trackId:"can-i-run-both-shopping-ads-and-free-listings-campaigns",question:(0,o.__)("Can I run both Shopping ads and free listings campaigns at the same time?","google-listings-and-ads"),answer:(0,s.createElement)("p",null,(0,o.__)("Yes, you can run both at the same time, and we recommend it! In the US, advertisers running free listings and ads together have seen an average of over 50% increase in clicks and over 100% increase in impressions on both free listings and ads on the Shopping tab. Your store is automatically opted into free listings automatically and can choose to run a paid Performance Max campaign.","google-listings-and-ads"))},{trackId:"how-can-i-get-the-ad-credit-offer",question:(0,o.__)("How can I get the $500 ad credit offer?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Create a new Google Ads account through Google Listings & Ads and a promotional code will be automatically applied to your account. You’ll have 60 days to spend $500 to qualify for the $500 ads credit.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("Ad credit amounts vary by country and region. Full terms and conditions can be found <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"terms-and-conditions-of-google-ads-coupons",href:"https://www.google.com/ads/coupons/terms/"})})))}];var gc=()=>(0,s.createElement)(sc,{className:"gla-get-started-faqs",trackName:"gla_faq",context:"get-started",faqItems:dc}),pc=__webpack_require__(2454),fc=__webpack_require__(9648),mc=__webpack_require__(434);const hc=e=>{let{linkId:t,href:n}=e;return(0,s.createElement)(rs,{className:"gla-get-started-features-card__learn-more",variant:"body"},(0,s.createInterpolateElement)((0,o.__)("<link>Learn More →</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"get-started",linkId:t,href:n})}))};var vc=()=>(0,s.createElement)(at,{className:"gla-get-started-features-card",isBorderless:!0},(0,s.createElement)(us,null,(0,s.createElement)(rs,{className:"gla-get-started-features-card__title",variant:"title.medium"},(0,o.__)("49% of shoppers surveyed say they use Google to discover or find a new item or product","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-features-card__description",variant:"body"},(0,o.__)("With Google Listings & Ads, connect with the right shoppers at the right moment when they’re looking to buy products like yours.","google-listings-and-ads"))),(0,s.createElement)(xe,{gap:0},(0,s.createElement)(is,null,(0,s.createElement)("img",{src:pc,alt:(0,o.__)("Drawing of WooCommerce and Google","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(rs,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Show products automatically on Google for free","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("When your products are added and approved, they’ll be eligible for free listings, reaching shoppers across Google’s network.","google-listings-and-ads")),(0,s.createElement)(hc,{linkId:"get-started-features-free-listing-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#free-listings-on-google"})),(0,s.createElement)(is,null,(0,s.createElement)("img",{src:fc,alt:(0,o.__)("Drawing of a mobile and product ads","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(rs,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Promote products and drive more sales with paid ads","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("Connect your Google Ads account, choose a budget, and Google will optimize your ads so they appear at the right time and place. ","google-listings-and-ads")),(0,s.createElement)(hc,{linkId:"get-started-features-google-ads-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#google-performance-max-campaigns"})),(0,s.createElement)(is,null,(0,s.createElement)("img",{src:mc,alt:(0,o.__)("Drawing of a bar and line charts heading up","google-listings-and-ads"),width:"183",height:"100"}),(0,s.createElement)(rs,{className:"gla-get-started-features-card__label",variant:"label"},(0,o.__)("Track performance straight from your store dashboard","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-features-card__content",variant:"body"},(0,o.__)("Real-time reporting all within your WooCommerce dashboard means you know how your campaigns are performing at all times.","google-listings-and-ads")),(0,s.createElement)(hc,{linkId:"get-started-features-dashboard-learn-more",href:"https://woocommerce.com/document/google-listings-and-ads/#getting-started-with-campaign-analytics"}))));const yc=window.glaData,bc="report-source",_c="paid",wc="free",Ec=_c,$c="programs",Cc="submission-success",kc="campaign-creation-success",Sc="gla-can-onboarding-setup-ces-prompt-open",xc="GOOGLE_DISCONNECTED",Oc="product",Pc="account",Ac="request-review",Nc={CONNECTED:"connected",DISCONNECTED:"disconnected",INCOMPLETE:"incomplete"},Rc={UNKNOWN:"unknown",PENDING:"pending",APPROVED:"approved",CANCELLED:"cancelled"};var Tc=__webpack_require__(4682),Mc=e=>{const{className:t,disabled:n,loading:r,eventName:o,eventProps:a,text:i,onClick:l=(()=>{}),...c}=e,u=n||r,d=["app-button",t];let g;return r&&(g=(0,s.createElement)(lc.Spinner,null)),i&&(g=(0,s.createElement)(s.Fragment,null,r&&(0,s.createElement)(lc.Spinner,null),i),c.icon&&d.push("app-button--icon-with-text"),"right"===c.iconPosition&&d.push("app-button--icon-position-right")),(0,s.createElement)(Yl,O({className:R()(...d),disabled:u,"aria-disabled":u,text:g,onClick:function(){o&&(0,ac.recordEvent)(o,a),l(...arguments)}},c))},jc=window.wc.navigation;const Ic="/google/dashboard",Dc="/google/reports",Fc="/google/product-feed",Lc="/google/settings",Gc="/free-listings/edit",Bc="/campaigns/edit",qc="/campaigns/create",zc="/edit-phone-number",Hc="/edit-store-address",Uc="/reconnect-wpcom-account",Vc="/reconnect-google-account",Wc=Ic,Yc=Lc,Kc=()=>(0,jc.getNewPath)({subpath:qc},Wc),Qc=()=>(0,jc.getNewPath)(null,"/google/setup-mc",null),Zc=()=>(0,jc.getNewPath)(null,Wc,null),Xc=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;return(0,jc.getNewPath)(e,Fc,null)},Jc=()=>(0,jc.getNewPath)(null,Yc,null),eu=()=>(0,jc.getNewPath)(null,"/google/reports",null),tu=e=>{let t;switch(e){case"JETPACK_DISCONNECTED":t=Uc;break;case xc:t=Vc;break;default:return}return(0,jc.getNewPath)({subpath:t},Yc,null)};var nu=()=>{const e=!yc.mcSupportedLanguage;return(0,s.createElement)(at,{className:"gla-get-started-card",isBorderless:!0},(0,s.createElement)(ut,{className:"motivation-image"},(0,s.createElement)("img",{src:Tc,alt:(0,o.__)("Google Shopping search results example","google-listings-and-ads"),width:"279",height:"185"})),(0,s.createElement)(ct,null,(0,s.createElement)(rs,{variant:"title.medium",className:"gla-get-started-card__title"},(0,o.__)("Get your products in front of more shoppers with Google Listings & Ads","google-listings-and-ads")),(0,s.createElement)(Mc,{isPrimary:!0,disabled:e,href:Qc(),eventName:"gla_setup_mc",eventProps:{target:"set_up_free_listings",trigger:"click",context:"get-started"}},(0,o.__)("Start listing products →","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-card__terms-notice"},(0,s.createInterpolateElement)((0,o.__)("By clicking ‘Start listing products‘, you agree to our <link>Terms of Service.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"get-started",linkId:"wp-terms-of-service",href:"https://wordpress.com/tos/"})}))))},ru=function(e){return(0,s.createElement)("div",{className:"components-tip"},(0,s.createElement)(Cs,{width:"24",height:"24",viewBox:"0 0 24 24"},(0,s.createElement)($s,{d:"M12 15.8c-3.7 0-6.8-3-6.8-6.8s3-6.8 6.8-6.8c3.7 0 6.8 3 6.8 6.8s-3.1 6.8-6.8 6.8zm0-12C9.1 3.8 6.8 6.1 6.8 9s2.4 5.2 5.2 5.2c2.9 0 5.2-2.4 5.2-5.2S14.9 3.8 12 3.8zM8 17.5h8V19H8zM10 20.5h4V22h-4z"})),(0,s.createElement)("p",null,e.children))};const ou={allow:"fullscreen",allowtransparency:"true",scrolling:"no",width:"100%",height:"100%",className:"wistia_embed",name:"wistia_embed"};var au,iu,su=e=>{const{id:t,src:n,title:r,iframeProps:a={}}=e,[i,c]=(0,s.useState)(!1);return function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l.noop;(0,s.useEffect)((()=>{const n=document.createElement("script");return n.src=e,n.async=!0,document.body.appendChild(n),n.onload=()=>{t()},()=>{document.body.removeChild(n)}}),[e,t])}("https://fast.wistia.com/assets/external/E-v1.js",(0,s.useCallback)((()=>{window._wq&&window._wq.push({id:t,onReady:e=>{e.bind("play",(()=>c(!0)))}})}),[t,c])),(0,s.createElement)("div",{className:R()("gla-wistia-video",i?"is-playing":"")},(0,s.createElement)("div",{className:"gla-wistia-video__container"},(0,s.createElement)("iframe",O({src:n,title:r?(0,o.sprintf)(// translators: %s: The title of the iframe.
|
2 |
+
(0,o.__)("%s Video","google-listings-and-ads"),r):(0,o.__)("Wistia Video","google-listings-and-ads")},ou,a))))},lu=()=>{const e=!yc.mcSupportedLanguage;return(0,s.createElement)(at,{className:"gla-get-started-with-video-card",isBorderless:!0},(0,s.createElement)(is,{className:"motivation-video"},(0,s.createElement)(su,{id:"lpvgtsjwrg",src:"https://fast.wistia.net/embed/iframe/lpvgtsjwrg?seo=false&videoFoam=true",title:"WooCommerce-Google-Listings-Ads"})),(0,s.createElement)(ct,null,(0,s.createElement)(rs,{variant:"caption",className:"gla-get-started-with-video-card__caption"},(0,o.__)("The official extension for WooCommerce, built in collaboration with Google","google-listings-and-ads")),(0,s.createElement)(rs,{variant:"title.medium",className:"gla-get-started-with-video-card__title"},(0,o.__)("Reach millions of shoppers with product listings on Google","google-listings-and-ads")),(0,s.createElement)(rs,{variant:"body",className:"gla-get-started-with-video-card__description"},(0,o.__)("Sync your products directly to Google, manage your product feed, and create Google Ad campaigns — all without leaving your WooCommerce dashboard.","google-listings-and-ads")),(0,s.createElement)(Mc,{className:"gla-get-started-with-video-card__button",isPrimary:!0,disabled:e,href:Qc(),eventName:"gla_setup_mc",eventProps:{target:"set_up_free_listings",trigger:"click",context:"get-started-with-video"}},(0,o.__)("Start listing products →","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-with-video-card__hint"},(0,o.__)("Estimated setup time: 15 min","google-listings-and-ads")),(0,s.createElement)(rs,{className:"gla-get-started-with-video-card__terms-notice",variant:"body"},(0,s.createInterpolateElement)((0,o.__)("By clicking ‘Start listing products’, you agree to our <link>Terms of Service.</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"get-started-with-video",linkId:"wp-terms-of-service",href:"https://wordpress.com/tos/"})}))),(0,s.createElement)(ru,null,(0,o.__)("If you’re already using another extension to manage your product feed with Google, make sure to deactivate or uninstall it first to prevent duplicate product feeds.","google-listings-and-ads")))},cu=window.wp.a11y,uu=function(e){var t=e.className,n=e.status,r=void 0===n?"info":n,a=e.children,i=e.spokenMessage,c=void 0===i?a:i,u=e.onRemove,d=void 0===u?l.noop:u,g=e.isDismissible,p=void 0===g||g,f=e.actions,m=void 0===f?[]:f,h=e.politeness,v=void 0===h?function(e){switch(e){case"success":case"warning":case"info":return"polite";default:return"assertive"}}(r):h,y=e.__unstableHTML;!function(e,t){var n="string"==typeof e?e:(0,s.renderToString)(e);(0,s.useEffect)((function(){n&&(0,cu.speak)(n,t)}),[n,t])}(c,v);var b=R()(t,"components-notice","is-"+r,{"is-dismissible":p});return y&&(a=(0,s.createElement)(s.RawHTML,null,a)),(0,s.createElement)("div",{className:b},(0,s.createElement)("div",{className:"components-notice__content"},a,m.map((function(e,t){var n=e.className,r=e.label,o=e.isPrimary,a=e.noDefaultClasses,i=void 0!==a&&a,l=e.onClick,c=e.url;return(0,s.createElement)(Yl,{key:t,href:c,isPrimary:o,isSecondary:!i&&!c,isLink:!i&&!!c,onClick:c?void 0:l,className:R()("components-notice__action",n)},r)}))),p&&(0,s.createElement)(Yl,{className:"components-notice__dismiss",icon:Hs,label:(0,o.__)("Dismiss this notice"),onClick:d,showTooltip:!1}))},du=(0,s.createElement)(Cs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)($s,{d:"M18.2 17c0 .7-.6 1.2-1.2 1.2H7c-.7 0-1.2-.6-1.2-1.2V7c0-.7.6-1.2 1.2-1.2h3.2V4.2H7C5.5 4.2 4.2 5.5 4.2 7v10c0 1.5 1.2 2.8 2.8 2.8h10c1.5 0 2.8-1.2 2.8-2.8v-3.6h-1.5V17zM14.9 3v1.5h3.7l-6.4 6.4 1.1 1.1 6.4-6.4v3.7h1.5V3h-6.3z"})),gu=window.wp.dataControls,pu="RECEIVE_SHIPPING_RATES",fu="UPSERT_SHIPPING_RATES",mu="DELETE_SHIPPING_RATES",hu="RECEIVE_SHIPPING_TIMES",vu="UPSERT_SHIPPING_TIMES",yu="DELETE_SHIPPING_TIMES",bu="RECEIVE_SETTINGS",_u="SAVE_SETTINGS",wu="RECEIVE_ACCOUNTS_JETPACK",Eu="RECEIVE_ACCOUNTS_GOOGLE",$u="RECEIVE_ACCOUNTS_GOOGLE_ACCESS",Cu="RECEIVE_ACCOUNTS_GOOGLE_MC",ku="RECEIVE_ACCOUNTS_GOOGLE_MC_EXISTING",Su="RECEIVE_ACCOUNTS_GOOGLE_ADS",xu="DISCONNECT_ACCOUNTS_GOOGLE",Ou="DISCONNECT_ACCOUNTS_GOOGLE_ADS",Pu="DISCONNECT_ACCOUNTS_ALL",Au="RECEIVE_ACCOUNTS_GOOGLE_ADS_BILLING_STATUS",Nu="RECEIVE_ACCOUNTS_GOOGLE_ADS_EXISTING",Ru="RECEIVE_MC_CONTACT_INFORMATION",Tu="VERIFIED_MC_PHONE_NUMBER",Mu="RECEIVE_MC_COUNTRIES_AND_CONTINENTS",ju="POLICY_CHECK",Iu="RECEIVE_TARGET_AUDIENCE",Du="SAVE_TARGET_AUDIENCE",Fu="RECEIVE_ADS_CAMPAIGNS",Lu="CREATE_ADS_CAMPAIGN",Gu="UPDATE_ADS_CAMPAIGN",Bu="DELETE_ADS_CAMPAIGN",qu="RECEIVE_MC_SETUP",zu="RECEIVE_REPORT",Hu="RECEIVE_MC_PRODUCT_STATISTICS",Uu="RECEIVE_MC_REVIEW_REQUEST",Vu="RECEIVE_MC_ISSUES",Wu="RECEIVE_MC_PRODUCT_FEED",Yu="UPDATE_MC_PRODUCTS_VISIBILITY";function Ku(e){const t=e.targeted_locations.length>0,n=t?e.targeted_locations:[e.country];return{...e,allowMultiple:t,displayCountries:n}}function Qu(e,t){const{createNotice:n}=(0,Tn.dispatch)("core/notices");401!==e.statusCode&&n("error",t),console.log(e)}function*Zu(){try{const e=(yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/rates"})).map((e=>({...e,rate:Number(e.rate)})));return{type:pu,shippingRates:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading shipping rates.","google-listings-and-ads"))}}function*Xu(e){const t=(yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/rates/batch",method:"POST",data:{rates:e}})).success.map((e=>({...e.rate,rate:Number(e.rate.rate)})));return{type:fu,shippingRates:t}}function*Ju(e){return yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/rates/batch",method:"DELETE",data:{ids:e}}),{type:mu,ids:e}}function*ed(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/times"}),t=Object.values(e).map((e=>({countryCode:e.country_code,time:Number(e.time)})));return{type:hu,shippingTimes:t}}catch(e){yield Qu(e,(0,o.__)("There was an error loading shipping times.","google-listings-and-ads"))}}function*td(e){const{countryCodes:t,time:n}=e;try{return yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/times/batch",method:"POST",data:{country_codes:t,time:n}}),{type:vu,shippingTime:e}}catch(e){yield Qu(e,(0,o.__)("There was an error trying to add / update shipping times. Please try again later.","google-listings-and-ads"))}}function*nd(e){try{return yield(0,gu.apiFetch)({path:"/wc/gla/mc/shipping/times/batch",method:"DELETE",data:{country_codes:e}}),{type:yu,countryCodes:e}}catch(e){yield Qu(e,(0,o.__)("There was an error trying to delete shipping times. Please try again later.","google-listings-and-ads"))}}function*rd(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/settings"});return{type:bu,settings:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading merchant center settings.","google-listings-and-ads"))}}function*od(e){return yield(0,gu.apiFetch)({path:"/wc/gla/mc/settings",method:"POST",data:e}),{type:_u,settings:e}}function*ad(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/jetpack/connected"});return{type:wu,account:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading Jetpack account info.","google-listings-and-ads"))}}function*id(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/google/connected"});return{type:Eu,account:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading Google account info.","google-listings-and-ads"))}}function sd(e){return{type:$u,data:e}}function*ld(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/connection"});return{type:Cu,account:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading Google Merchant Center account info.","google-listings-and-ads"))}}function*cd(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/accounts"});return{type:ku,accounts:e}}catch(e){yield Qu(e,(0,o.__)("There was an error getting your Google Merchant Center accounts.","google-listings-and-ads"))}}function*ud(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/ads/connection"});return{type:Su,account:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading Google Ads account info.","google-listings-and-ads"))}}function*dd(){try{return yield(0,gu.apiFetch)({path:"/wc/gla/google/connect",method:"DELETE"}),{type:xu}}catch(e){throw yield Qu(e,(0,o.__)("Unable to disconnect your Google account. Please try again later.","google-listings-and-ads")),e}}function*gd(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];try{return yield(0,gu.apiFetch)({path:"/wc/gla/ads/connection",method:"DELETE"}),{type:Ou,invalidateRelatedState:e}}catch(e){throw yield Qu(e,(0,o.__)("Unable to disconnect your Google Ads account. Please try again later.","google-listings-and-ads")),e}}function*pd(){try{return yield(0,gu.apiFetch)({path:"/wc/gla/connections",method:"DELETE"}),{type:Pu}}catch(e){throw yield Qu(e,(0,o.__)("Unable to disconnect all your accounts. Please try again later.","google-listings-and-ads")),e}}function*fd(){try{return $d(yield(0,gu.apiFetch)({path:"/wc/gla/ads/billing-status"}))}catch(e){yield Qu(e,(0,o.__)("There was an error getting the billing status of your Google Ads account.","google-listings-and-ads"))}}function*md(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/ads/accounts"});return{type:Nu,accounts:e}}catch(e){yield Qu(e,(0,o.__)("There was an error getting your Google Ads accounts.","google-listings-and-ads"))}}function hd(e){return{type:Ru,data:e}}function*vd(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/contact-information",method:"POST"});yield hd(e)}catch(e){throw yield Qu(e,(0,o.__)("Unable to update your Google Merchant Center contact information. Please try again later.","google-listings-and-ads")),e}}function*yd(e,t,n){try{return{verificationId:(yield(0,gu.apiFetch)({path:"/wc/gla/mc/phone-verification/request",method:"POST",data:{phone_region_code:e,phone_number:t,verification_method:n}})).verification_id}}catch(e){if("rateLimitExceeded"===e.reason)throw{...e,display:(0,o.__)("Unable to initiate the verification code request. A maximum of five attempts to verify the same phone number every four hours. Please try again later.","google-listings-and-ads")};yield Qu(e,(0,o.__)("Unable to request the phone verification code. Please try again later.","google-listings-and-ads"))}}function*bd(e,t,n){try{return yield(0,gu.apiFetch)({path:"/wc/gla/mc/phone-verification/verify",method:"POST",data:{verification_id:e,verification_code:t,verification_method:n}}),{type:Tu}}catch(e){const{reason:t,message:n=""}=e;if("badRequest"===t){const[,t]=n.match(/^\[(\w+)\]/)||[],r={verificationCode:(0,o.__)("Wrong verification code. Please try again.","google-listings-and-ads"),verificationId:(0,o.__)("The verification code has expired. Please initiate a new verification request by the resend button.","google-listings-and-ads")};if(t in r)throw{...e,display:r[t]}}yield Qu(e,(0,o.__)("Unable to verify your phone number. Please try again later.","google-listings-and-ads"))}}function*_d(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/target_audience"});return{type:Iu,target_audience:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading target audience.","google-listings-and-ads"))}}function wd(e){return{type:Cu,account:e}}function Ed(e){return{type:Su,account:e}}function $d(e){return{type:Au,billingStatus:e}}function*Cd(e){return yield(0,gu.apiFetch)({path:"/wc/gla/mc/target_audience",method:"POST",data:e}),{type:Du,target_audience:e}}function*kd(e,t){try{const n=yield(0,gu.apiFetch)({path:"/wc/gla/ads/campaigns",method:"POST",data:{amount:e,targeted_locations:t}});return{type:Lu,createdCampaign:Ku(n)}}catch(e){throw yield Qu(e,(0,o.__)("Unable to create your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function*Sd(e,t){try{return yield(0,gu.apiFetch)({path:`/wc/gla/ads/campaigns/${e}`,method:"PATCH",data:t}),{type:Gu,id:e,data:t}}catch(e){throw yield Qu(e,(0,o.__)("Unable to update your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function*xd(e){try{return yield(0,gu.apiFetch)({path:`/wc/gla/ads/campaigns/${e}`,method:"DELETE"}),{type:Bu,id:e}}catch(e){throw yield Qu(e,(0,o.__)("Unable to delete your paid ads campaign. Please try again later.","google-listings-and-ads")),e}}function Od(e,t){return{type:zu,reportKey:e,data:t}}function*Pd(){try{return Ad(yield(0,gu.apiFetch)({path:"/wc/gla/mc/setup"}))}catch(e){yield Qu(e,(0,o.__)("There was an error loading your merchant center setup status.","google-listings-and-ads"))}}function*Ad(e){return{type:qu,mcSetup:e}}function*Nd(e){return{type:Hu,mcProductStatistics:e}}function*Rd(e){return{type:Uu,mcReviewRequest:e}}function*Td(e,t){return{type:Vu,query:e,data:t}}function*Md(e,t){return{type:Wu,query:e,data:t}}function*jd(e,t){try{return yield(0,gu.apiFetch)({path:"/wc/gla/mc/product-visibility",method:"POST",data:{ids:e,visible:t}}),{type:Yu}}catch(e){throw yield Qu(e,(0,o.__)("Unable to update the channel visibility of products. Please try again later.","google-listings-and-ads")),e}}function*Id(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/review",method:"POST"});return yield Rd(e)}catch(e){throw yield Qu(e,null==e?void 0:e.message),e}}function Dd(e){return[e]}function Fd(e){return!!e&&"object"==typeof e}function Ld(){var e={clear:function(){e.head=null}};return e}function Gd(e,t,n){var r;if(e.length!==t.length)return!1;for(r=n;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}function Bd(e,t){var n,r;function o(){n=iu?new WeakMap:Ld()}function a(){var n,o,a,i,s,l=arguments.length;for(i=new Array(l),a=0;a<l;a++)i[a]=arguments[a];for(s=t.apply(null,i),(n=r(s)).isUniqueByDependants||(n.lastDependants&&!Gd(s,n.lastDependants,0)&&n.clear(),n.lastDependants=s),o=n.head;o;){if(Gd(o.args,i,1))return o!==n.head&&(o.prev.next=o.next,o.next&&(o.next.prev=o.prev),o.next=n.head,o.prev=null,n.head.prev=o,n.head=o),o.val;o=o.next}return o={val:e.apply(null,i)},i[0]=null,o.args=i,n.head&&(n.head.prev=o,o.next=n.head),n.head=o,o.val}return t||(t=Dd),r=iu?function(e){var t,r,o,a,i=n,s=!0;for(t=0;t<e.length;t++){if(!Fd(r=e[t])){s=!1;break}i.has(r)?i=i.get(r):(o=new WeakMap,i.set(r,o),i=o)}return i.has(au)||((a=Ld()).isUniqueByDependants=s,i.set(au,a)),i.get(au)}:function(){return n},a.getDependants=t,a.clear=o,o(),a}au={},iu="undefined"!=typeof WeakMap;var qd=window.wp.date,zd=__webpack_require__(9171);const Hd=["clicks","impressions"],Ud=["sales","conversions","spend",...Hd],Vd=Object.freeze({NONE:0,FOR_METRIC:1,FOR_REQUEST:2});function Wd(e,t,n){const r=(0,zd.getCurrentDates)(t);return{after:(0,qd.format)("Y-m-d",r[n].after),before:(0,qd.format)("Y-m-d",r[n].before),fields:"free"===e?Hd:Ud}}function Yd(e,t,n){return`${e}:${t}:${JSON.stringify(n,Object.keys(n).sort())}`}function Kd(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return(n||Object.keys(e)).reduce(((n,r)=>({...n,[r]:Qd(e[r],t[r],e[r]&&t[r]?Vd.NONE:Vd.FOR_REQUEST)})),{})}const Qd=(e,t,n)=>({value:e,delta:Zd(e,t),prevValue:t,missingFreeListingsData:n});function Zd(e,t){let n=null;if("number"==typeof e&&"number"==typeof t&&(n=0,e!==t)){const r=(e-t)/t*100;n=Number.isFinite(r)?function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2;const n=Math.pow(10,t);return Math.round(e*n)/n}(r):null}return n}const Xd=e=>e.mc.shipping.rates,Jd=e=>e.mc.shipping.times,eg=e=>e.mc.settings,tg=e=>e.mc.accounts.jetpack,ng=e=>e.mc.accounts.google,rg=e=>e.mc.accounts.google_access,og=e=>e.mc.accounts.mc,ag=e=>e.mc.accounts.existing_mc,ig=e=>e.mc.accounts.ads,sg=e=>e.mc.accounts.ads_billing_status,lg=e=>e.mc.accounts.existing_ads,cg=e=>e.mc.contact,ug=(0,Tn.createRegistrySelector)((e=>t=>{const n=e(d);return{loaded:!!cg(t)||n.hasFinishedResolution("getGoogleMCContactInformation"),data:n.getGoogleMCContactInformation()}})),dg=Bd((e=>{const{countries:t,continents:n}=e.mc;return{countries:t,continents:n}}),(e=>[e.mc.countries,e.mc.continents])),gg=e=>e.mc.target_audience,pg=(e,t)=>!1===(null==t?void 0:t.exclude_removed)?e.all_ads_campaigns:e.ads_campaigns,fg=e=>e.mc_setup,mg=e=>e.mc_product_statistics,hg=e=>e.mc_review_request,vg=e=>e.mc.policy_check,yg=Bd(((e,t)=>{const n=e.mc_issues[t.issue_type];if(!n)return n;const r=(t.page-1)*t.per_page,o=r+t.per_page;return{issues:n.issues.slice(r,o),total:n.total}}),(e=>[e.mc_issues])),bg=(e,t)=>e.mc_product_feed?{products:e.mc_product_feed.pages[t.page],total:e.mc_product_feed.total}:e.mc_product_feed,_g=(e,t,n,r)=>{const o=Yd(t,n,r);return e.report[o]||null},wg=(0,Tn.createRegistrySelector)((e=>(t,n,r,o,a)=>{const i=e(d),s=function(e,t,n,r){const o=Wd(t,n,r),{order:a="desc"}=n;let{orderby:i}=n;i&&o.fields.includes(i)||(i=o.fields[0]);const s={...o,interval:"day",orderby:i,order:a};return"programs"===e&&n.programs?s.ids=n.programs:"products"===e&&n.products&&(s.ids=n.products.replace(/\d+/g,"gla_$&")),s}(n,r,o,a),l=[n,r,s];return{reportQuery:s,loaded:i.hasFinishedResolution("getReportByApiQuery",l),data:i.getReportByApiQuery(...l)}})),Eg=(0,Tn.createRegistrySelector)((e=>(t,n,r,o)=>{const a=e(d),i=["programs",n,Wd(n,r,o)],s=a.getReportByApiQuery(...i);return{data:s?s.totals:null,loaded:a.hasFinishedResolution("getReportByApiQuery",i)}}));var $g=window.wp.url;function*Cg(){yield Zu()}function*kg(){yield ed()}function*Sg(){yield rd()}function*xg(){yield ad()}function*Og(){yield id()}function*Pg(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/google/reconnected"});yield sd(e)}catch(e){yield Qu(e,(0,o.__)("There was an error loading Google account access info.","google-listings-and-ads"))}}function*Ag(){yield ld()}function*Ng(){yield cd()}function*Rg(){yield ud()}function*Tg(){yield fd()}function*Mg(){yield md()}function*jg(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/contact-information"});yield hd(e)}catch(e){yield Qu(e,(0,o.__)("There was an error loading Google Merchant Center contact information.","google-listings-and-ads"))}}function*Ig(){try{const e={continents:!0},t=(0,$g.addQueryArgs)("/wc/gla/mc/countries",e),n=yield(0,gu.apiFetch)({path:t});return{type:Mu,data:n}}catch(e){yield Qu(e,(0,o.__)("There was an error loading supported country details.","google-listings-and-ads"))}}function*Dg(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/policy_check"});return{type:ju,data:e}}catch(e){yield Qu(e,(0,o.__)("There was an error loading policy check details.","google-listings-and-ads"))}}function*Fg(){yield _d()}function*Lg(e){try{const t=yield(0,gu.apiFetch)({path:(0,$g.addQueryArgs)("/wc/gla/ads/campaigns",e)});return{type:Fu,query:e,adsCampaigns:t.map(Ku)}}catch(e){yield Qu(e,(0,o.__)("There was an error loading ads campaigns.","google-listings-and-ads"))}}function*Gg(){yield Pd()}function*Bg(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/product-statistics"});yield Nd(e)}catch(e){yield Qu(e,(0,o.__)("There was an error loading your merchant center product statistics.","google-listings-and-ads"))}}function*qg(){try{const e=yield(0,gu.apiFetch)({path:"/wc/gla/mc/review"});yield Rd(e)}catch(e){yield Qu(e,(0,o.__)("There was an error loading your merchant center product review request status.","google-listings-and-ads"))}}function*zg(e){try{const{issue_type:t,...n}=e,r=yield(0,gu.apiFetch)({path:(0,$g.addQueryArgs)(`/wc/gla/mc/issues/${t||Pc}`,n)});yield Td(e,r)}catch(e){yield Qu(e,(0,o.__)("There was an error loading issues to resolve.","google-listings-and-ads"))}}function*Hg(e){try{const t=yield(0,gu.apiFetch)({path:(0,$g.addQueryArgs)("/wc/gla/mc/product-feed",e)});yield Md(e,t)}catch(e){yield Qu(e,(0,o.__)("There was an error loading product feed.","google-listings-and-ads"))}}Og.shouldInvalidate=e=>e.type===xu,Pg.shouldInvalidate=e=>e.type===xu,Rg.shouldInvalidate=e=>e.type===Ou&&e.invalidateRelatedState,Tg.shouldInvalidate=e=>e.type===Su,Mg.shouldInvalidate=Rg.shouldInvalidate,jg.shouldInvalidate=e=>e.type===Tu,Lg.shouldInvalidate=(e,t)=>(e.type===Gu||e.type===Bu||e.type===Lu)&&!1===(null==t?void 0:t.exclude_removed),zg.shouldInvalidate=e=>e.type===Yu,Hg.shouldInvalidate=(e,t)=>e.type===Yu||e.type===Wu&&(e.query.per_page!==t.per_page||e.query.orderby!==t.orderby||e.query.order!==t.order);const Ug=new Map([[wc,"mc"],[_c,"ads"]]);function*Vg(e,t,n){const r=`/wc/gla/${Ug.get(t)}/reports/${e}`,a=(0,$g.addQueryArgs)(r,n);try{const r=yield(0,gu.apiFetch)({path:a}),o=Yd(e,t,n);yield Od(o,r)}catch(e){yield Qu(e,(0,o.__)("There was an error loading report.","google-listings-and-ads"))}}const Wg={mc:{target_audience:null,countries:null,policy_check:null,continents:null,shipping:{rates:[],times:[]},settings:null,accounts:{jetpack:null,google:null,mc:null,ads:null,existing_mc:null,existing_ads:null,ads_billing_status:null,google_access:null},contact:null},ads_campaigns:null,all_ads_campaigns:null,mc_setup:null,mc_product_statistics:null,mc_issues:{account:null,product:null},mc_review_request:{status:null,cooldown:null,issues:null,reviewEligibleRegions:[]},mc_product_feed:null,report:{}};function Yg(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";const n=Object.assign(e.constructor(),e),r=e=>null==e?{}:(0,l.clone)(e),o=e=>t?Array.isArray(t)||Array.isArray(e)?[].concat(t,e):`${t}.${e}`:e;return{setIn(e,t){const a=o(e);return(0,l.setWith)(n,a,t,r),this},end:()=>n}}function Kg(e,t,n){return Yg(e).setIn(t,n).end()}function Qg(e,t){return t?e.json?e.json():Promise.reject(e):e}(0,Tn.registerStore)(d,{actions:t,selectors:n,resolvers:r,controls:gu.controls,reducer:function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Wg,t=arguments.length>1?arguments[1]:void 0;switch(t.type){case pu:return Kg(e,"mc.shipping.rates",t.shippingRates);case fu:{const{shippingRates:n}=t,r=[...e.mc.shipping.rates];return n.forEach((e=>{const t=r.findIndex((t=>t.id===e.id));t>=0?r[t]=e:r.push(e)})),Kg(e,"mc.shipping.rates",r)}case mu:{const{ids:n}=t,r=e.mc.shipping.rates.filter((e=>!n.includes(e.id)));return Kg(e,"mc.shipping.rates",r)}case hu:return Kg(e,"mc.shipping.times",t.shippingTimes);case vu:{const{countryCodes:n,time:r}=t.shippingTime,o=[...e.mc.shipping.times];return n.forEach((e=>{const t={countryCode:e,time:r},n=o.findIndex((t=>t.countryCode===e));n>=0?o[n]=t:o.push(t)})),Kg(e,"mc.shipping.times",o)}case yu:{const n=new Set(t.countryCodes),r=e.mc.shipping.times.filter((e=>!n.has(e.countryCode)));return Kg(e,"mc.shipping.times",r)}case bu:return Kg(e,"mc.settings",t.settings);case _u:return Kg(e,"mc.settings",{...e.mc.settings,...t.settings});case wu:return Kg(e,"mc.accounts.jetpack",t.account);case Eu:return Kg(e,"mc.accounts.google",t.account);case $u:return Kg(e,"mc.accounts.google_access",t.data);case Cu:return Kg(e,"mc.accounts.mc",t.account);case ku:return Kg(e,"mc.accounts.existing_mc",t.accounts);case Su:return Kg(e,"mc.accounts.ads",t.account);case Ou:return Kg(e,"mc.accounts.ads",Wg.mc.accounts.ads);case Au:return Kg(e,"mc.accounts.ads_billing_status",t.billingStatus);case Nu:return Kg(e,"mc.accounts.existing_ads",t.accounts);case Ru:return Kg(e,"mc.contact",t.data);case Mu:{const{data:n}=t;return Yg(e,"mc").setIn("countries",n.countries).setIn("continents",n.continents).end()}case Iu:case Du:return Kg(e,"mc.target_audience",t.target_audience);case Fu:var n;return!1===(null===(n=t.query)||void 0===n?void 0:n.exclude_removed)?Kg(e,"all_ads_campaigns",t.adsCampaigns):Kg(e,"ads_campaigns",t.adsCampaigns);case Lu:return Kg(e,"ads_campaigns",[...e.ads_campaigns||[],t.createdCampaign]);case Gu:{const{id:n,data:r}=t,o=e.ads_campaigns.findIndex((e=>e.id===n)),a={...e.ads_campaigns[o],...r},i=[...e.ads_campaigns];return i[o]=a,Kg(e,"ads_campaigns",i)}case Bu:{const{id:n}=t,r=e.ads_campaigns.filter((e=>e.id!==n));return Kg(e,"ads_campaigns",r)}case qu:return Kg(e,"mc_setup",t.mcSetup);case Hu:return Kg(e,"mc_product_statistics",t.mcProductStatistics);case Uu:return Kg(e,"mc_review_request",t.mcReviewRequest);case Vu:{var r;const{query:n,data:o}=t,a=(null===(r=e.mc_issues[n.issue_type])||void 0===r?void 0:r.issues.slice())||[];return a.splice((n.page-1)*n.per_page,n.per_page,...o.issues),Yg(e,`mc_issues.${n.issue_type}`).setIn("issues",a).setIn("total",o.total).end()}case Wu:{const{query:n,data:r}=t,o=e.mc_product_feed||{},a=Yg(e,"mc_product_feed");return o.per_page===n.per_page&&o.order===n.order&&o.orderby===n.orderby||a.setIn("pages",{}),a.setIn(["pages",n.page],r.products).setIn("per_page",n.per_page).setIn("order",n.order).setIn("orderby",n.orderby).setIn("total",r.total).end()}case zu:{const{reportKey:n,data:r}=t;return Kg(e,["report",n],r)}case ju:{const{data:n}=t;return Kg(e,"mc.policy_check",n)}default:return e}}}),f().use(function(e){const t=new RegExp("^/wc/gla/");return function(n,r){if(!t.test(n.path))return r(n);const{parse:o=!0}=n;return r({...n,parse:!1}).catch(e).catch((async e=>Promise.reject(await Qg(e,o)))).then((e=>o&&204===e.status?null:Qg(e,o)))}}((e=>{if(yc.mcSetupComplete&&401===e.status)return(e.json||e.text).call(e).then((e=>"string"==typeof e?{message:e}:e)).then((e=>{const t=tu(e.code);return t&&(0,jc.getHistory)().replace(t),e})).then((t=>Promise.reject({...t,statusCode:e.status})));throw e})));const Zg=()=>(0,Tn.useDispatch)(d);var Xg=function(e){const{invalidateResolution:t}=Zg();for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];const a=m(r),i=(0,s.useCallback)((()=>{t(e,a)}),[t,e,a]);return(0,Tn.useSelect)((t=>{const{isResolving:n,hasFinishedResolution:r}=t(d),o=t(d)[e](...a);return{isResolving:n(e,a),hasFinishedResolution:r(e,a),data:o,invalidateResolution:i}}),[i,e,a])},Jg=()=>Xg("getTargetAudience"),ep=window.wc.data;function tp(){return(0,Tn.useSelect)((e=>{const t=e(ep.OPTIONS_STORE_NAME),n=["woocommerce_default_country"],r=t.getOption(...n);let o=null,a=null;if(t.hasFinishedResolution("getOption",n)){const e=(0,i.getSetting)("countries");[o]=r.split(":"),a=e[o]}return{code:o,name:a}}),[])}const np=()=>(0,s.createElement)(zl,{className:"gla-get-started-notice__icon",icon:du,size:18}),rp=()=>{const{data:e}=Jg();return e?(0,s.createElement)(uu,{className:"gla-get-started-notice",status:"error",isDismissible:!1},(0,s.createInterpolateElement)((0,o.__)("Your site language is <language />. This language is currently not supported by Google Listings & Ads. <settingsLink>You can change your site language here</settingsLink>. <supportedLanguagesLink>Read more about supported languages</supportedLanguagesLink>","google-listings-and-ads"),{language:(0,s.createElement)("strong",null,e.language),settingsLink:(0,s.createElement)(lc.Link,{className:"gla-get-started-notice__link",type:"wp-admin",href:"/wp-admin/options-general.php"}),supportedLanguagesLink:(0,s.createElement)(uc,{className:"gla-get-started-notice__link",href:"https://support.google.com/merchants/answer/160637",context:"get-started",linkId:"supported-languages"})}),(0,s.createElement)(np,null)):null},op=()=>{const{name:e}=tp();return e?(0,s.createElement)(uu,{className:"gla-get-started-notice",status:"warning",isDismissible:!1},(0,s.createInterpolateElement)((0,o.__)("Your store’s country is <country />. This country is currently not supported by Google Listings & Ads. However, you can still choose to list your products in another supported country, if you are able to sell your products to customers there. <settingsLink>Change your store’s country here</settingsLink>. <supportedCountriesLink>Read more about supported countries</supportedCountriesLink>","google-listings-and-ads"),{country:(0,s.createElement)("strong",null,e),settingsLink:(0,s.createElement)(lc.Link,{className:"gla-get-started-notice__link",type:"wp-admin",href:"/wp-admin/admin.php?page=wc-settings"}),supportedCountriesLink:(0,s.createElement)(uc,{className:"gla-get-started-notice__link",href:"https://support.google.com/merchants/answer/160637",context:"get-started",linkId:"supported-countries"})}),(0,s.createElement)(np,null)):null};function ap(){const{mcSupportedLanguage:e,mcSupportedCountry:t}=yc;return(0,s.createElement)(s.Fragment,null,!e&&(0,s.createElement)(rp,null),!t&&(0,s.createElement)(op,null))}var ip=()=>{const{request:e}=x();return(0,s.useEffect)((()=>{e()}),[e]),(0,s.createElement)("div",{className:"woocommerce-marketing-google-get-started-page"},(0,s.createElement)(ap,null),(0,s.createElement)(lu,null),(0,s.createElement)(as,null),(0,s.createElement)(vc,null),(0,s.createElement)(ps,null),(0,s.createElement)(nu,null),(0,s.createElement)(gc,null))};const sp={"full-page":["woocommerce-admin-full-screen","is-wp-toolbar-disabled","gla-full-page"],"full-content":["gla-full-content"]};function lp(e){(0,s.useEffect)((()=>{if(!sp.hasOwnProperty(e))return;const t=document.body.classList,n=sp[e].filter((e=>!t.contains(e)));return t.add(...n),()=>{t.remove(...n)}}),[e])}var cp=__webpack_require__(8222),up=e=>{let{title:t,backHref:n,helpButton:r,onBackButtonClick:o}=e;return(0,s.createElement)("div",{className:"gla-stepper-top-bar"},(0,s.createElement)(lc.Link,{className:"back-button",href:n,type:"wc-admin",onClick:o},(0,s.createElement)(cp.Z,null)),(0,s.createElement)("span",{className:"title"},t),(0,s.createElement)("div",{className:"actions"},r))},dp=__webpack_require__(7719),gp=e=>{const{icon:t,text:n,className:r="",...o}=e;return(0,s.createElement)(Mc,O({className:`app-icon-button ${r}`},o),(0,s.createElement)("div",null,t),n)},pp=e=>{const{eventContext:t,...n}=e;return(0,s.createElement)(gp,O({icon:(0,s.createElement)(dp.Z,null),text:(0,o.__)("Help","google-listings-and-ads"),href:"https://docs.woocommerce.com/document/google-listings-and-ads/",target:"_blank",eventName:"gla_help_click",eventProps:{context:t}},n))},fp=()=>(0,s.createElement)(up,{title:(0,o.__)("Get started with Google Listings & Ads","google-listings-and-ads"),helpButton:(0,s.createElement)(pp,{eventContext:"setup-mc"}),backHref:(0,jc.getNewPath)({},"/google/start"),onBackButtonClick:()=>{(0,ac.recordEvent)("gla_setup_mc",{target:"back",trigger:"click"})}}),mp=()=>(0,s.createElement)("div",{className:"app-spinner"},(0,s.createElement)(lc.Spinner,null)),hp=()=>{const e=Xg("getMCCountriesAndContinents");return{...e,data:e.data.countries}},vp=e=>{const t=m(e),[n,r]=$(t,{loading:!0});return(0,s.useEffect)((()=>{t&&n()}),[n,t]),r},yp=()=>{const{data:e,isResolving:t}=hp();return(0,Tn.useSelect)((function(n){const{getTargetAudience:r,isResolving:o}=n(d),a=r(),i=o("getTargetAudience")||t,s=e&&Object.keys(e);function l(e){return"all"===(null==e?void 0:e.location)?s:null==e?void 0:e.countries}return{loading:i,data:l(a),targetAudience:a,getFinalCountries:l}}),[e,t])},bp=()=>(0,Tn.useSelect)((e=>({settings:e(d).getSettings()})),[]),_p=()=>Xg("getShippingRates"),wp=()=>Xg("getShippingTimes");const Ep=(e,t)=>{const n=["country","currency","rate","options.free_shipping_threshold"];return(0,l.isEqual)((0,l.at)(e,n),(0,l.at)(t,n))};var $p=(e,t)=>(0,l.differenceWith)(e,t,Ep),Cp=(e,t)=>void 0!==e.id&&e.id===t.id||e.country===t.country,kp=()=>{const{data:e}=_p(),{deleteShippingRates:t,upsertShippingRates:n}=Zg();return{saveShippingRates:(0,s.useCallback)((async r=>{const o=((e,t)=>((e,t)=>(0,l.differenceWith)(t,e,Cp))(e,t).map((e=>e.id)))(r,e);o.length&&await t(o);const a=$p(r,e);a.length&&await n(a)}),[t,e,n])}},Sp=()=>{const{data:e}=wp(),{deleteShippingTimes:t,upsertShippingTimes:n}=Zg(),r=(0,s.useCallback)((async r=>{const o=((e,t)=>((e,t)=>(0,l.differenceBy)(t,e,"countryCode"))(e,t).map((e=>e.countryCode)))(r,e);o.length&&await t(o);const a=(i=r,s=e,(0,l.differenceWith)(i,s,l.isEqual));var i,s;if(a.length){const e=(e=>{const t=new Map;return e.forEach((e=>{let{countryCode:n,time:r}=e;const o=t.get(r)||{countryCodes:[],time:r};o.countryCodes.push(n),t.set(r,o)})),Array.from(t.values())})(a).map((e=>n(e)));await Promise.all(e)}}),[t,e,n]);return{saveShippingTimes:r}},xp=()=>(0,Tn.useDispatch)("core/notices"),Op=()=>(0,Tn.useSelect)((e=>({jetpack:e(d).getJetpackAccount(),isResolving:e(d).isResolving("getJetpackAccount"),hasFinishedResolution:e(d).hasFinishedResolution("getJetpackAccount")})),[]);const Pp="https://www.googleapis.com/auth/content",Ap="https://www.googleapis.com/auth/siteverification.verify_only",Np="https://www.googleapis.com/auth/adwords";function Rp(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];const n={adsRequired:t.includes(Np)};return n.gmcRequired=t.includes(Pp)&&t.includes(Ap),n.glaRequired=e?n.gmcRequired&&n.adsRequired:n.gmcRequired,n}var Tp=()=>{const{jetpack:e,isResolving:t,hasFinishedResolution:n}=Op();return(0,Tn.useSelect)((r=>{if(!e||"no"===e.active)return{google:void 0,scope:Rp(yc.adsSetupComplete),isResolving:t,hasFinishedResolution:n};const{getGoogleAccount:o,isResolving:a,hasFinishedResolution:i}=r(d),s=o();return{google:s,scope:Rp(yc.adsSetupComplete,null==s?void 0:s.scope),isResolving:a("getGoogleAccount"),hasFinishedResolution:i("getGoogleAccount")}}),[e,t,n])},Mp=()=>{const{google:e,scope:t,isResolving:n,hasFinishedResolution:r}=Tp();return(0,Tn.useSelect)((o=>{if(!e||"no"===e.active||!t.gmcRequired)return{googleMCAccount:void 0,isResolving:n,hasFinishedResolution:r,isPreconditionReady:!1};const{getGoogleMCAccount:a,isResolving:i,hasFinishedResolution:s}=o(d);return{googleMCAccount:a(),isResolving:i("getGoogleMCAccount"),hasFinishedResolution:s("getGoogleMCAccount"),isPreconditionReady:!0}}),[e,t.gmcRequired,n,r])},jp=e=>{const{className:t="",children:n,...r}=e;return(0,s.createElement)("div",O({className:`gla-step-content ${t}`},r),(0,s.createElement)("div",{className:"gla-step-content__container"},n))},Ip=e=>{const{className:t="",title:n,description:r}=e;return(0,s.createElement)("header",{className:`gla-step-content-header ${t}`},(0,s.createElement)("h1",null,n),(0,s.createElement)("div",{className:"gla-step-content-header__description"},r))},Dp=e=>{const{className:t="",...n}=e;return(0,s.createElement)("div",O({className:`gla-step-content-footer ${t}`},n))};function Fp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lp(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Fp(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Gp={isBorderless:!1,isShady:!1,size:"medium"},Bp=function(e){var t=e.className,n=e.isShady,r=A(e,["className","isShady"]),o=Lp(Lp(Lp({},Gp),M()),e),a=o.isBorderless,i=o.size,l=R()("components-card__footer",a&&"is-borderless",n&&"is-shady",i&&"is-size-".concat(i),t);return(0,s.createElement)(Je,O({},r,{className:l}))};const qp=e=>{const{className:t="",...n}=e;return(0,s.createElement)("div",O({className:`wcdl-subsection ${t}`},n))};qp.Title=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",O({className:R()("wcdl-subsection-title",t)},n))},qp.Body=e=>{const{children:t}=e;return(0,s.createElement)("div",{className:"wcdl-subsection-body"},t)},qp.HelperText=e=>{const{className:t,children:n}=e;return(0,s.createElement)("div",{className:R()("wcdl-subsection-helper-text",t)},n)};var zp=qp;const Hp=e=>{let{size:t="",...n}=e;return(0,s.createElement)(at,O({},n,{size:t}))};Hp.Body=e=>{const{className:t,...n}=e;return(0,s.createElement)(ct,O({className:R()("wcdl-section-card-body",t)},n))},Hp.Footer=e=>{const{children:t,...n}=e;return(0,s.createElement)(Bp,O({className:"wcdl-section-card-footer"},n),t)},Hp.Title=e=>{const{className:t,...n}=e;return(0,s.createElement)(zp.Title,O({className:R()("wcdl-section-card-title",t)},n))};const Up=e=>{let{className:t,title:n,description:r,topContent:o,children:a,disabled:i,disabledLeft:l}=e;const c=R()("wcdl-section",!!i&&"wcdl-section--is-disabled",!!l&&"wcdl-section--is-disabled-left",t);return(0,s.createElement)("section",{className:c},(0,s.createElement)("header",null,o&&(0,s.createElement)("p",null,o),n&&(0,s.createElement)("h1",null,n),r),(0,s.createElement)("div",{className:"wcdl-section__body"},a))};Up.Card=Hp;var Vp=Up;const Wp={normal:!1,medium:"gla-vertical-gap-layout__medium",large:"gla-vertical-gap-layout__large",overlap:"gla-vertical-gap-layout__overlap"};var Yp=e=>{const{className:t,size:n="normal",...r}=e;return(0,s.createElement)("div",O({className:R()("gla-vertical-gap-layout",Wp[n],t)},r))};function Kp(e){return"yes"!==e.active?"":"yes"===e.owner?e.email:(0,o.__)("Successfully connected through Jetpack","google-listings-and-ads")}var Qp=__webpack_require__(4886);function Zp(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var Xp=function(e){var t=e.icon,n=e.size,r=void 0===n?24:n,o=A(e,["icon","size"]);return(0,s.cloneElement)(t,function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zp(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zp(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({width:r,height:r},o))},Jp=(0,s.createElement)(Cs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)($s,{fillRule:"evenodd",d:"M19.75 11H21V8.667L19.875 4H4.125L3 8.667V11h1.25v8.75h15.5V11zm-1.5 0H5.75v7.25H10V13h4v5.25h4.25V11zm-5.5-5.5h2.067l.486 3.24.028.76H12.75v-4zm-3.567 0h2.067v4H8.669l.028-.76.486-3.24zm7.615 3.1l-.464-3.1h2.36l.806 3.345V9.5h-2.668l-.034-.9zM7.666 5.5h-2.36L4.5 8.845V9.5h2.668l.034-.9.464-3.1z",clipRule:"evenodd"})),ef=__webpack_require__(8026),tf=__webpack_require__(1724),nf=__webpack_require__(1611),rf=__webpack_require__(4515);const of={EMPTY:"empty",WPCOM:"wpcom",GOOGLE:"google",GOOGLE_MERCHANT_CENTER:"google_merchant_center",GOOGLE_ADS:"google_ads",PHONE:"phone",ADDRESS:"address"},af=(0,s.createElement)("img",{src:ef,alt:(0,o.__)("Google Logo","google-listings-and-ads"),width:"40",height:"40"}),sf=(0,s.createElement)("img",{src:tf,alt:(0,o.__)("Google Merchant Center Logo","google-listings-and-ads"),width:"40",height:"40"}),lf=(0,s.createElement)("img",{src:nf,alt:(0,o.__)("Google Ads Logo","google-listings-and-ads"),width:"40",height:"40"}),cf=(0,s.createElement)("img",{src:rf,alt:(0,o.__)("WordPress.com Logo","google-listings-and-ads"),width:"40",height:"40"}),uf={[of.EMPTY]:{},[of.WPCOM]:{icon:cf,title:"WordPress.com"},[of.GOOGLE]:{icon:af,title:(0,o.__)("Google","google-listings-and-ads")},[of.GOOGLE_MERCHANT_CENTER]:{icon:sf,title:(0,o.__)("Google Merchant Center","google-listings-and-ads"),description:(0,o.__)("Required to sync products and list on Google","google-listings-and-ads")},[of.GOOGLE_ADS]:{icon:lf,title:(0,o.__)("Google Ads","google-listings-and-ads"),description:(0,o.__)("Connect with millions of shoppers who are searching for products like yours and drive sales with Google.","google-listings-and-ads")},[of.PHONE]:{icon:(0,s.createElement)(Qp.Z,{size:32}),title:(0,o.__)("Phone number","google-listings-and-ads")},[of.ADDRESS]:{icon:(0,s.createElement)(Xp,{icon:Jp,size:32}),title:(0,o.__)("Store address","google-listings-and-ads")}},df={center:!1,top:"gla-account-card__styled--align-top"};function gf(e){let{className:t,disabled:n=!1,appearance:r=of.EMPTY,icon:o=uf[r].icon,title:a=uf[r].title,description:i=uf[r].description,helper:l,alignIcon:c="center",indicator:u,alignIndicator:d="center",children:g,...p}=e;const f=R()("gla-account-card",!!n&&"gla-account-card--is-disabled",t),m=R()("gla-account-card__icon",df[c]),h=R()("gla-account-card__indicator",df[d]);return(0,s.createElement)(Vp.Card,O({className:f},p),(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(xe,{gap:4},o&&(0,s.createElement)(ut,{className:m},o),(0,s.createElement)(is,null,a&&(0,s.createElement)(zp.Title,{className:"gla-account-card__title"},a),i&&(0,s.createElement)("div",{className:"gla-account-card__description"},i),l&&(0,s.createElement)("div",{className:"gla-account-card__helper"},l)),u&&(0,s.createElement)(ut,{className:h},u))),g)}var pf=__webpack_require__(3836),ff=e=>{const{className:t}=e;return(0,s.createElement)(xe,{className:R()("gla-connected-icon-label",t),align:"center",gap:1},(0,s.createElement)(ut,null,(0,s.createElement)(pf.Z,null)),(0,s.createElement)(ut,null,(0,o.__)("Connected","google-listings-and-ads")))},mf=e=>{let{jetpack:t}=e;return(0,s.createElement)(gf,{appearance:of.WPCOM,description:Kp(t),indicator:(0,s.createElement)(ff,null)})},hf=()=>{const{createNotice:e}=xp(),t=yc.mcSetupComplete?"reconnect":"setup-mc",n={next_page_name:t},r=(0,$g.addQueryArgs)("/wc/gla/jetpack/connect",n),[a,{loading:i,data:l}]=$({path:r});return(0,s.createElement)(gf,{appearance:of.WPCOM,description:(0,o.__)("Required to connect with Google","google-listings-and-ads"),indicator:(0,s.createElement)(Mc,{isSecondary:!0,loading:i||l,eventName:"gla_wordpress_account_connect_button_click",eventProps:{context:t},onClick:async()=>{try{const e=await a();window.location.href=e.url}catch(t){e("error",(0,o.__)("Unable to connect your WordPress.com account. Please try again later.","google-listings-and-ads"))}}},(0,o.__)("Connect","google-listings-and-ads"))})},vf=e=>{let{jetpack:t}=e;return"yes"===t.active?(0,s.createElement)(mf,{jetpack:t}):(0,s.createElement)(hf,null)},yf=(0,s.createElement)(uc,{context:"setup-mc-accounts",linkId:"required-google-permissions",href:"https://docs.woocommerce.com/document/google-listings-and-ads/#required-google-permissions"});function bf(e,t){const n=(0,s.useMemo)((()=>{const n={next_page_name:e,login_hint:t};return{path:(0,$g.addQueryArgs)("/wc/gla/google/connect",n)}}),[e,t]);return $(n)}var _f=(e,t)=>{const{createNotice:n}=xp(),[r,a]=bf(e,t);return[async()=>{try{const{url:e}=await r();window.location.href=e}catch(e){n("error",(0,o.__)("Unable to connect your Google account. Please try again later.","google-listings-and-ads"))}},a]},wf=e=>{let{additionalScopeEmail:t}=e;const n=yc.mcSetupComplete?"reconnect":"setup-mc",[r,{loading:a,data:i}]=_f(n,t);return(0,s.createElement)(gf,{appearance:of.GOOGLE,alignIcon:"top",description:(0,s.createElement)(s.Fragment,null,t,(0,s.createElement)("p",null,(0,s.createElement)("em",null,(0,s.createInterpolateElement)((0,o.__)("<alert>Uh-oh!</alert> You did not allow WooCommerce sufficient access to your Google account. You must allow all required permissions in the Google authorization page to proceed. <link>Read more</link>","google-listings-and-ads"),{alert:(0,s.createElement)("span",{className:"gla-authorize-google-account-card__error-text"}),link:yf})))),alignIndicator:"top",indicator:(0,s.createElement)(Mc,{isSecondary:!0,isDestructive:!0,loading:a||i,eventName:"gla_google_account_connect_button_click",eventProps:{context:n,action:"scope"},text:(0,o.__)("Allow full access","google-listings-and-ads"),onClick:r})})},Ef=e=>{let{googleAccount:t,helper:n,hideAccountSwitch:r=!1}=e;const[a,{loading:i}]=(()=>{const{createNotice:e,removeNotice:t}=xp(),[n,{loading:r}]=$({path:"/wc/gla/mc/connection",method:"DELETE"}),[a,{loading:i}]=$({path:"/wc/gla/google/connect",method:"DELETE"}),[s,{loading:l,data:c}]=bf("setup-mc");return[async()=>{const{notice:r}=await e("info",(0,o.__)("Connecting to a different Google account, please wait…","google-listings-and-ads"));try{await n(),await a();const{url:e}=await s();window.location.href=e}catch(n){t(r.id),e("error",(0,o.__)("Unable to connect to a different Google account. Please try again later.","google-listings-and-ads"))}},{loading:r||i||l||c}]})();return(0,s.createElement)(gf,{appearance:of.GOOGLE,description:t.email,helper:n,indicator:(0,s.createElement)(ff,null)},!r&&(0,s.createElement)(Vp.Card.Footer,null,(0,s.createElement)(Mc,{isLink:!0,disabled:i,text:(0,o.__)("Or, connect to a different Google account","google-listings-and-ads"),eventName:"gla_google_account_connect_different_account_button_click",onClick:a})))},$f=e=>{let{disabled:t}=e;const n=yc.mcSetupComplete?"reconnect":"setup-mc",[r,{loading:a,data:i}]=_f(n);return(0,s.createElement)(gf,{appearance:of.GOOGLE,disabled:t,alignIcon:"top",description:(0,s.createElement)(s.Fragment,null,(0,o.__)("Required to sync with Google Merchant Center and Google Ads.","google-listings-and-ads"),(0,s.createElement)("p",null,(0,s.createElement)("em",null,(0,s.createInterpolateElement)((0,o.__)("You will be prompted to give WooCommerce access to your Google account. Please check all the checkboxes to give WooCommerce all required permissions. <link>Read more</link>","google-listings-and-ads"),{link:yf})))),alignIndicator:"top",indicator:(0,s.createElement)(Mc,{isSecondary:!0,disabled:t,loading:a||i,eventName:"gla_google_account_connect_button_click",eventProps:{context:n,action:"authorization"},text:(0,o.__)("Connect","google-listings-and-ads"),onClick:r})})};function Cf(e){let{disabled:t=!1}=e;const{google:n,scope:r,hasFinishedResolution:o}=Tp();if(!o)return(0,s.createElement)(gf,{description:(0,s.createElement)(mp,null)});const a="yes"===(null==n?void 0:n.active);return a&&r.glaRequired?(0,s.createElement)(Ef,{googleAccount:n}):a&&!r.glaRequired?(0,s.createElement)(wf,{additionalScopeEmail:n.email}):(0,s.createElement)($f,{disabled:t})}var kf=()=>(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(mp,null))),Sf=e=>{let{googleMCAccount:t,hideAccountSwitch:n=!1}=e;const{createNotice:r,removeNotice:a}=xp(),{invalidateResolution:l}=Zg(),[c,{loading:u}]=$({path:"/wc/gla/mc/connection",method:"DELETE"}),d=new URL((0,i.getSetting)("homeUrl")).host;return(0,s.createElement)(gf,{appearance:of.GOOGLE_MERCHANT_CENTER,description:(0,o.sprintf)(// translators: 1: account domain, 2: account ID.
|
3 |
+
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),d,t.id),indicator:(0,s.createElement)(ff,null)},!n&&(0,s.createElement)(Vp.Card.Footer,null,(0,s.createElement)(Mc,{isLink:!0,disabled:u,text:(0,o.__)("Or, connect to a different Google Merchant Center account","google-listings-and-ads"),eventName:"gla_mc_account_connect_different_account_button_click",onClick:async()=>{const{notice:e}=await r("info",(0,o.__)("Disconnecting your Google Merchant Center account, please wait…","google-listings-and-ads"));try{await c(),l("getExistingGoogleMCAccounts",[]),l("getGoogleMCAccount",[])}catch(e){r("error",(0,o.__)("Unable to disconnect your Google Merchant Center account. Please try again later.","google-listings-and-ads"))}a(e.id)}})))},xf=()=>(0,s.createElement)(gf,{disabled:!0,appearance:of.GOOGLE_MERCHANT_CENTER,indicator:(0,s.createElement)(Yl,{isSecondary:!0,disabled:!0},(0,o.__)("Create account","google-listings-and-ads"))}),Of=()=>Xg("getExistingGoogleMCAccounts"),Pf=function(e){var t=e.className,n=A(e,["className"]),r=R()("components-card__divider",t);return(0,s.createElement)(et,O({},n,{children:null,className:r,role:"separator"}))},Af=new WeakMap;function Nf(e){var t=Af.get(e)||0;return Af.set(e,t+1),t}function Rf(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return(0,s.useMemo)((function(){if(n)return n;var r=Nf(e);return t?"".concat(t,"-").concat(r):r}),[e])}var Tf={"default.fontFamily":"-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif","default.fontSize":"13px","helpText.fontSize":"12px",mobileTextMinFontSize:"16px"};function Mf(e){return(0,l.get)(Tf,e,"")}var jf=we("div",{target:"e1puf3u0",label:"Wrapper"})("font-family:",Mf("default.fontFamily"),";font-size:",Mf("default.fontSize"),";"),If=we("div",{target:"e1puf3u1",label:"StyledField"})("margin-bottom:",Ue(1),";.components-panel__row &{margin-bottom:inherit;}"),Df=we("label",{target:"e1puf3u2",label:"StyledLabel"})("display:inline-block;margin-bottom:",Ue(1),";"),Ff=we("p",{target:"e1puf3u3",label:"StyledHelp"})("margin-top:-",Ue(1),";font-size:",Mf("helpText.fontSize"),";font-style:normal;color:",He("mediumGray.text"),";");function Lf(e){var t=e.id,n=e.label,r=e.hideLabelFromVision,o=e.help,a=e.className,i=e.children;return(0,s.createElement)(jf,{className:R()("components-base-control",a)},(0,s.createElement)(If,{className:"components-base-control__field"},n&&t&&(r?(0,s.createElement)(Ul,{as:"label",htmlFor:t},n):(0,s.createElement)(Df,{className:"components-base-control__label",htmlFor:t},n)),n&&!t&&(r?(0,s.createElement)(Ul,{as:"label"},n):(0,s.createElement)(Lf.VisualLabel,null,n)),i),!!o&&(0,s.createElement)(Ff,{id:t+"__help",className:"components-base-control__help"},o))}Lf.VisualLabel=function(e){var t=e.className,n=e.children;return t=R()("components-base-control__label",t),(0,s.createElement)("span",{className:t},n)};var Gf=Lf,Bf=new RegExp(/-left/g),qf=new RegExp(/-right/g),zf=new RegExp(/Left/g),Hf=new RegExp(/Right/g);function Uf(e){return"left"===e?"right":"right"===e?"left":Bf.test(e)?e.replace(Bf,"-right"):qf.test(e)?e.replace(qf,"-left"):zf.test(e)?e.replace(zf,"Right"):Hf.test(e)?e.replace(Hf,"Left"):e}var Vf=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return(0,l.mapKeys)(e,(function(e,t){return Uf(t)}))};function Wf(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return function(){return t?(0,o.isRTL)()?pe(t,""):pe(e,""):(0,o.isRTL)()?pe(Vf(e),""):pe(e,"")}}var Yf={name:"1dacand",styles:"padding-top:0;"},Kf=function(){return Yf},Qf={name:"r6z5ec",styles:"z-index:1;"},Zf=function(e){return e.isFocused?Qf:""},Xf={name:"uz6002",styles:"align-items:flex-start;flex-direction:column;"},Jf={name:"53hdd7",styles:"align-items:flex-start;flex-direction:column-reverse;"},em={name:"x4dmss",styles:"justify-content:space-between;"},tm=function(e){switch(e.labelPosition){case"top":return Xf;case"bottom":return Jf;case"edge":return em;default:return""}},nm=we(xe,{target:"e1cr7zh10",label:"Root"})("position:relative;border-radius:2px;",Kf," ",Zf," ",tm,""),rm={name:"8atqhb",styles:"width:100%;"},om=we("div",{target:"e1cr7zh11",label:"Container"})("align-items:center;box-sizing:border-box;border-radius:inherit;display:flex;flex:1;position:relative;",(function(e){var t=He(e.disabled?"ui.backgroundDisabled":"ui.background");return pe({backgroundColor:t},"")})," ",(function(e){var t=e.__unstableInputWidth,n=e.labelPosition;return t?"side"===n?"":pe("edge"===n?{flex:"0 0 ".concat(t)}:{width:t},""):rm}),""),am={name:"103r1kr",styles:"&::-webkit-input-placeholder{line-height:normal;}"},im=we("input",{target:"e1cr7zh12",label:"Input"})("&&&{background-color:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",He("black"),";display:block;margin:0;outline:none;padding-left:8px;padding-right:8px;width:100%;",(function(e){var t=e.isDragging,n=e.dragCursor,r="",o="";return t&&(r=pe("cursor:",n,";user-select:none;&::-webkit-outer-spin-button,&::-webkit-inner-spin-button{-webkit-appearance:none !important;margin:0 !important;}")),t&&n&&(o=pe("&:active{cursor:",n,";}")),pe(r," ",o,"")})," ",(function(e){return e.disabled?pe({color:He("ui.textDisabled")},""):""})," ",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?pe("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""})," ",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return pe(n[t]||n.default,"")})," ",(function(){return am}),"}"),sm={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},lm=function(){return sm},cm=function(e){var t=e.labelPosition,n=4;return"edge"!==t&&"side"!==t||(n=0),pe({paddingTop:0,paddingBottom:n},"")},um=we(rs,{target:"e1cr7zh13",label:"BaseLabel"})("&&&{box-sizing:border-box;color:currentColor;display:block;margin:0;max-width:100%;z-index:1;",cm," ",lm,"}"),dm=function(e){return(0,s.createElement)(um,O({},e,{as:"label"}))},gm=we(ut,{target:"e1cr7zh14",label:"LabelWrapper"})({name:"120o8im",styles:"max-width:calc( 100% - 10px );"}),pm=we("div",{target:"e1cr7zh15",label:"BackdropUI"})("&&&{box-sizing:border-box;border-radius:inherit;bottom:0;left:0;margin:0;padding:0;pointer-events:none;position:absolute;right:0;top:0;",(function(e){var t=e.disabled,n=e.isFocused,r=He(n?"ui.borderFocus":"ui.border"),o=null;return n&&(o="0 0 0 1px ".concat(He("ui.borderFocus")," inset")),t&&(r=He("ui.borderDisabled")),pe({boxShadow:o,borderColor:r,borderStyle:"solid",borderWidth:1},"")})," ",Wf({paddingLeft:2}),"}"),fm=we("span",{target:"e1cr7zh16",label:"Prefix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),mm=we("span",{target:"e1cr7zh17",label:"Suffix"})({name:"1pxuk39",styles:"box-sizing:border-box;display:block;"}),hm=(0,s.memo)((function(e){var t=e.disabled,n=void 0!==t&&t,r=e.isFocused,o=void 0!==r&&r;return(0,s.createElement)(pm,{"aria-hidden":"true",className:"components-input-control__backdrop",disabled:n,isFocused:o})})),vm=hm;function ym(e){var t=e.children,n=e.hideLabelFromVision,r=e.htmlFor,o=A(e,["children","hideLabelFromVision","htmlFor"]);return t?n?(0,s.createElement)(Ul,{as:"label",htmlFor:r},t):(0,s.createElement)(dm,O({htmlFor:r},o),t):null}var bm=(0,s.forwardRef)((function e(t,n){var r=t.__unstableInputWidth,o=t.children,a=t.className,i=t.disabled,l=void 0!==i&&i,c=t.hideLabelFromVision,u=void 0!==c&&c,d=t.labelPosition,g=t.id,p=t.isFocused,f=void 0!==p&&p,m=t.label,h=t.prefix,v=t.size,y=void 0===v?"default":v,b=t.suffix,_=A(t,["__unstableInputWidth","children","className","disabled","hideLabelFromVision","labelPosition","id","isFocused","label","prefix","size","suffix"]),w=function(t){var n=Rf(e),r="input-base-control-".concat(n);return t||r}(g);return(0,s.createElement)(nm,O({},_,{className:a,isFocused:f,labelPosition:d,ref:n}),(0,s.createElement)(gm,null,(0,s.createElement)(ym,{className:"components-input-control__label",hideLabelFromVision:u,labelPosition:d,htmlFor:w,size:y},m)),(0,s.createElement)(om,{__unstableInputWidth:r,className:"components-input-control__container",disabled:l,isFocused:f,labelPosition:d},h&&(0,s.createElement)(fm,{className:"components-input-control__prefix"},h),o,b&&(0,s.createElement)(mm,{className:"components-input-control__suffix"},b),(0,s.createElement)(vm,{"aria-hidden":"true",disabled:l,isFocused:f,label:m,size:y})))})),_m=we("select",{target:"e12x0a390",label:"Select"})("&&&{appearance:none;background:transparent;box-sizing:border-box;border:none;box-shadow:none !important;color:",He("black"),";display:block;margin:0;width:100%;",(function(e){return e.disabled?pe({color:He("ui.textDisabled")},""):""}),";",(function(e){var t={default:"13px",small:"11px"}[e.size];return t?pe("font-size:","16px",";@media ( min-width:600px ){font-size:",t,";}"):""}),";",(function(e){var t=e.size,n={default:{height:30,lineHeight:1,minHeight:30},small:{height:24,lineHeight:1,minHeight:24}};return pe(n[t]||n.default,"")}),";",Wf({paddingLeft:8,paddingRight:24})(),"}"),wm=we("div",{target:"e12x0a391",label:"DownArrowWrapper"})("align-items:center;bottom:0;box-sizing:border-box;display:flex;padding:0 4px;pointer-events:none;position:absolute;top:0;",Wf({right:0})()," svg{display:block;}");var Em=(0,s.forwardRef)((function e(t,n){var r=t.className,o=t.disabled,a=void 0!==o&&o,i=t.help,c=t.hideLabelFromVision,u=t.id,d=t.label,g=t.multiple,p=void 0!==g&&g,f=t.onBlur,m=void 0===f?l.noop:f,h=t.onChange,v=void 0===h?l.noop:h,y=t.onFocus,b=void 0===y?l.noop:y,_=t.options,w=void 0===_?[]:_,E=t.size,$=void 0===E?"default":E,C=t.value,k=t.labelPosition,S=void 0===k?"top":k,x=A(t,["className","disabled","help","hideLabelFromVision","id","label","multiple","onBlur","onChange","onFocus","options","size","value","labelPosition"]),P=zt((0,s.useState)(!1),2),N=P[0],T=P[1],M=function(t){var n=Rf(e),r="inspector-select-control-".concat(n);return t||r}(u),j=i?"".concat(M,"__help"):void 0;if((0,l.isEmpty)(w))return null;var I=R()("components-select-control",r);return(0,s.createElement)(Gf,{help:i},(0,s.createElement)(bm,{className:I,disabled:a,hideLabelFromVision:c,id:M,isFocused:N,label:d,size:$,suffix:(0,s.createElement)(wm,null,(0,s.createElement)(Xp,{icon:Ss,size:18})),labelPosition:S},(0,s.createElement)(_m,O({},x,{"aria-describedby":j,className:"components-select-control__input",disabled:a,id:M,multiple:p,onBlur:function(e){m(e),T(!1)},onChange:function(e){if(p){var t=il(e.target.options).filter((function(e){return e.selected})),n=t.map((function(e){return e.value}));v(n)}else v(e.target.value,{event:e})},onFocus:function(e){b(e),T(!0)},ref:n,size:$,value:C}),w.map((function(e,t){var n=e.id||"".concat(e.label,"-").concat(e.value,"-").concat(t);return(0,s.createElement)("option",{key:n,value:e.value,disabled:e.disabled},e.label)})))))})),$m=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",{className:R()("app-select-control",t)},(0,s.createElement)(Em,n))},Cm=e=>{const{data:t=[]}=Of(),n=t.map((e=>({value:e.id,label:(0,o.sprintf)(// translators: 1: account name, 2: account domain, 3: account ID.
|
4 |
+
(0,o.__)("%1$s ・ %2$s (%3$s)","google-listings-and-ads"),e.name,e.domain,e.id)})));return n.sort(((e,t)=>e.label.localeCompare(t.label))),n.unshift({value:"",label:(0,o.__)("Select one","google-listings-and-ads")}),(0,s.createElement)($m,O({options:n},e))},km=e=>{const{className:t,...n}=e;return(0,s.createElement)("div",O({className:R()("gla-content-button-layout",t)},n))},Sm=(0,s.createElement)(Cs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)($s,{d:"M15.6 7.2H14v1.5h1.6c2 0 3.7 1.7 3.7 3.7s-1.7 3.7-3.7 3.7H14v1.5h1.6c2.8 0 5.2-2.3 5.2-5.2 0-2.9-2.3-5.2-5.2-5.2zM4.7 12.4c0-2 1.7-3.7 3.7-3.7H10V7.2H8.4c-2.9 0-5.2 2.3-5.2 5.2 0 2.9 2.3 5.2 5.2 5.2H10v-1.5H8.4c-2 0-3.7-1.7-3.7-3.7zm4.6.9h5.3v-1.5H9.3v1.5z"}));function xm(e,t){return e.map((function(e,n){return e+t[n]}))}function Om(e,t){return e.map((function(e,n){return e-t[n]}))}function Pm(e){return Math.hypot.apply(Math,e)}function Am(e){return Math.sign?Math.sign(e):Number(e>0)-Number(e<0)||+e}function Nm(e,t,n){return 0===t||Math.abs(t)===1/0?function(e,t){return Math.pow(e,5*t)}(e,n):e*t*n/(t+n*e)}function Rm(e,t,n,r){return void 0===r&&(r=.15),0===r?function(e,t,n){return Math.max(t,Math.min(e,n))}(e,t,n):e<t?-Nm(t-e,n-t,r)+t:e>n?+Nm(e-n,n-t,r)+n:e}function Tm(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Mm(){return Mm=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mm.apply(this,arguments)}function jm(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Im(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dm(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Fm(e,t){var n;if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return Dm(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Dm(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}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(n=e[Symbol.iterator]()).next.bind(n)}function Lm(){}function Gm(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?Lm:1===t.length?t[0]:function(){for(var e,n,r=Fm(t);!(n=r()).done;){var o=n.value;e=o.apply(this,arguments)||e}return e}}function Bm(e,t){if(void 0===e){if(void 0===t)throw new Error("Must define fallback value if undefined is expected");e=t}return Array.isArray(e)?e:[e,e]}function qm(e){if("function"==typeof e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e.apply(void 0,n)}return e}function zm(e,t){void 0===e&&(e={});for(var n={},r=0,o=Object.entries(t);r<o.length;r++){var a=o[r],i=a[0],s=a[1];switch(typeof s){case"function":n[i]=s.call(n,e[i],i,e);break;case"object":n[i]=zm(e[i],s);break;case"boolean":s&&(n[i]=e[i])}}return n}function Hm(){return"undefined"!=typeof window&&"ontouchstart"in window}function Um(e){return"pointerId"in e?null:"touchend"===e.type?e.changedTouches:e.targetTouches}function Vm(e){return Array.from(Um(e)).map((function(e){return e.identifier}))}function Wm(e){return{buttons:"buttons"in e?e.buttons:0,shiftKey:e.shiftKey,altKey:e.altKey,metaKey:e.metaKey,ctrlKey:e.ctrlKey}}var Ym=function(e){return e};function Km(e,t){void 0===t&&(t=Ym);var n=Um(e),r=n?n[0]:e;return t([r.clientX,r.clientY])}var Qm={threshold:function(e){return void 0===e&&(e=0),Bm(e)},rubberband:function(e){switch(void 0===e&&(e=0),e){case!0:return Bm(.15);case!1:return Bm(0);default:return Bm(e)}},enabled:function(e){return void 0===e&&(e=!0),e},triggerAllEvents:function(e){return void 0===e&&(e=!1),e},initial:function(e){return void 0===e&&(e=0),"function"==typeof e?e:Bm(e)},transform:!0},Zm=Mm({},Qm,{axis:!0,lockDirection:function(e){return void 0===e&&(e=!1),e},bounds:function(e){if(void 0===e&&(e={}),"function"==typeof e)return function(t){return Zm.bounds(e(t))};var t=e,n=t.left,r=void 0===n?-1/0:n,o=t.right,a=void 0===o?1/0:o,i=t.top,s=void 0===i?-1/0:i,l=t.bottom;return[[r,a],[s,void 0===l?1/0:l]]}}),Xm="undefined"!=typeof window&&window.document&&window.document.createElement,Jm={enabled:function(e){return void 0===e&&(e=!0),e},domTarget:!0,window:function(e){function t(_x){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}((function(e){return void 0===e&&(e=Xm?window:void 0),e})),eventOptions:function(e){var t=void 0===e?{}:e,n=t.passive,r=void 0===n||n,o=t.capture;return{passive:r,capture:void 0!==o&&o}},transform:!0},eh=Mm({},Zm,{useTouch:function(e){void 0===e&&(e=!1);var t=Hm(),n="undefined"!=typeof window&&"onpointerdown"in window;return!(!e||!t)||!(!t||n)},experimental_preventWindowScrollY:function(e){return void 0===e&&(e=!1),e},threshold:function(e,t,n){var r=n.filterTaps,o=void 0!==r&&r,a=n.lockDirection,i=void 0!==a&&a,s=n.axis,l=Bm(e,o?3:i||(void 0===s?void 0:s)?1:0);return this.filterTaps=o,l},swipeVelocity:function(e){return void 0===e&&(e=.5),Bm(e)},swipeDistance:function(e){return void 0===e&&(e=50),Bm(e)},swipeDuration:function(e){return void 0===e&&(e=250),e},delay:function(e){switch(void 0===e&&(e=0),e){case!0:return 180;case!1:return 0;default:return e}}});function th(e){var t=e.domTarget,n=e.eventOptions,r=e.window,o=e.enabled,a=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,["domTarget","eventOptions","window","enabled"]),i=function(e){return void 0===e&&(e={}),zm(e,Jm)}({domTarget:t,eventOptions:n,window:r,enabled:o});return i.drag=function(e){return void 0===e&&(e={}),zm(e,eh)}(a),i}function nh(e){return Mm({_active:!1,_blocked:!1,_intentional:[!1,!1],_movement:[0,0],_initial:[0,0],_bounds:[[-1/0,1/0],[-1/0,1/0]],_threshold:[0,0],_lastEventType:void 0,_dragStarted:!1,_dragPreventScroll:!1,_dragIsTap:!0,_dragDelayed:!1,event:void 0,intentional:!1,values:[0,0],velocities:[0,0],delta:[0,0],movement:[0,0],offset:[0,0],lastOffset:[0,0],direction:[0,0],initial:[0,0],previous:[0,0],first:!1,last:!1,active:!1,timeStamp:0,startTime:0,elapsedTime:0,cancel:Lm,canceled:!1,memo:void 0,args:void 0},e)}function rh(){return{shared:{hovering:!1,scrolling:!1,wheeling:!1,dragging:!1,moving:!1,pinching:!1,touches:0,buttons:0,down:!1,shiftKey:!1,altKey:!1,metaKey:!1,ctrlKey:!1,locked:!1},drag:nh({_pointerId:void 0,axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0,tap:!1,swipe:[0,0]}),pinch:nh({_pointerIds:[],da:[0,0],vdva:[0,0],origin:void 0,turns:0}),wheel:nh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),move:nh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0}),scroll:nh({axis:void 0,xy:[0,0],vxvy:[0,0],velocity:0,distance:0})}}var oh=new Map,ah=function(e){return e},ih=function(){function e(e,t){var n=this;void 0===t&&(t=[]),this.controller=e,this.args=t,this.debounced=!0,this.setTimeout=function(e,t){var r;void 0===t&&(t=140),clearTimeout(n.controller.timeouts[n.stateKey]);for(var o=arguments.length,a=new Array(o>2?o-2:0),i=2;i<o;i++)a[i-2]=arguments[i];n.controller.timeouts[n.stateKey]=(r=window).setTimeout.apply(r,[e,t].concat(a))},this.clearTimeout=function(){clearTimeout(n.controller.timeouts[n.stateKey])},this.fireGestureHandler=function(e){if(void 0===e&&(e=!1),n.state._blocked)return n.debounced||(n.state._active=!1,n.clean()),null;if(!e&&!n.state.intentional&&!n.config.triggerAllEvents)return null;if(n.state.intentional){var t=n.state.active,r=n.state._active;n.state.active=r,n.state.first=r&&!t,n.state.last=t&&!r,n.controller.state.shared[n.ingKey]=r}var o=n.controller.pointerIds.size||n.controller.touchIds.size,a=n.controller.state.shared.buttons>0||o>0,i=Mm({},n.controller.state.shared,n.state,n.mapStateValues(n.state),{locked:!!document.pointerLockElement,touches:o,down:a}),s=n.handler(i);return n.state.memo=void 0!==s?s:n.state.memo,i},this.controller=e,this.args=t}var t,n,r=e.prototype;return r.updateSharedState=function(e){Object.assign(this.controller.state.shared,e)},r.updateGestureState=function(e){Object.assign(this.state,e)},r.checkIntentionality=function(e,t){return{_intentional:e,_blocked:!1}},r.getMovement=function(e){var t=this.config.rubberband,n=this.state,r=n._bounds,o=n._initial,a=n._active,i=n._intentional,s=n.lastOffset,l=n.movement,c=n._threshold,u=this.getInternalMovement(e,this.state),d=!1===i[0]?sh(u[0],c[0]):i[0],g=!1===i[1]?sh(u[1],c[1]):i[1],p=this.checkIntentionality([d,g],u);if(p._blocked)return Mm({},p,{_movement:u,delta:[0,0]});var f=p._intentional,m=u,h=[!1!==f[0]?u[0]-f[0]:0,!1!==f[1]?u[1]-f[1]:0],v=xm(h,s),y=a?t:[0,0];return h=lh(r,xm(h,o),y),Mm({},p,{intentional:!1!==f[0]||!1!==f[1],_initial:o,_movement:m,movement:h,values:e,offset:lh(r,v,y),delta:Om(h,l)})},r.clean=function(){this.clearTimeout()},t=e,(n=[{key:"config",get:function(){return this.controller.config[this.stateKey]}},{key:"enabled",get:function(){return this.controller.config.enabled&&this.config.enabled}},{key:"state",get:function(){return this.controller.state[this.stateKey]}},{key:"handler",get:function(){return this.controller.handlers[this.stateKey]}},{key:"transform",get:function(){return this.config.transform||this.controller.config.transform||ah}}])&&Tm(t.prototype,n),e}();function sh(e,t){return Math.abs(e)>=t&&Am(e)*t}function lh(e,t,n){var r=t[0],o=t[1],a=n[0],i=n[1],s=e[0],l=s[0],c=s[1],u=e[1],d=u[0],g=u[1];return[Rm(r,l,c,a),Rm(o,d,g,i)]}function ch(e,t,n){var r=e.state,o=t.timeStamp,a=t.type,i=r.values;return{_lastEventType:a,event:t,timeStamp:o,elapsedTime:n?0:o-r.startTime,previous:i}}function uh(e,t,n,r){var o=e.state,a=e.config,i=e.stateKey,s=e.args,l=e.transform,c=o.offset,u=n.timeStamp,d=a.initial,g=a.bounds,p=Om(l(a.threshold),l([0,0])).map(Math.abs),f=Mm({},rh()[i],{_active:!0,args:s,values:t,initial:null!=r?r:t,_threshold:p,offset:c,lastOffset:c,startTime:u});return Mm({},f,{_initial:qm(d,f),_bounds:qm(g,f)})}var dh=function(e){var t=this;this.classes=e,this.pointerIds=new Set,this.touchIds=new Set,this.supportsTouchEvents=Hm(),this.supportsGestureEvents=function(){try{return"constructor"in GestureEvent}catch(e){return!1}}(),this.bind=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];for(var o,a={},i=Fm(t.classes);!(o=i()).done;){var s=o.value;new s(t,n).addBindings(a)}var l=function(e){_h(a,e,(function(r){return t.nativeRefs[e](Mm({},t.state.shared,{event:r,args:n}))}))};for(var c in t.nativeRefs)l(c);return t.config.domTarget?hh(t,a):vh(t,a)},this.effect=function(){return t.config.domTarget&&t.bind(),t.clean},this.clean=function(){var e=bh(t.config),n=t.config.eventOptions;e&&Eh(e,yh(t.domListeners),n),Object.values(t.timeouts).forEach(clearTimeout),function(e){var t=e.config,n=t.window,r=t.eventOptions,o=e.windowListeners;if(n){for(var a in o)Eh(n,o[a],r);e.windowListeners={}}}(t)},this.classes=e,this.state=rh(),this.timeouts={},this.domListeners=[],this.windowListeners={}};function gh(e,t){"pointerId"in t?e.pointerIds.add(t.pointerId):e.touchIds=new Set(Vm(t))}function ph(e,t){"pointerId"in t?e.pointerIds.delete(t.pointerId):Vm(t).forEach((function(t){return e.touchIds.delete(t)}))}function fh(e,t,n){var r=e.config,o=e.windowListeners;void 0===n&&(n=r.eventOptions),r.window&&(Eh(r.window,o[t],n),delete o[t])}function mh(e,t,n,r){var o=e.config,a=e.windowListeners;void 0===n&&(n=[]),void 0===r&&(r=o.eventOptions),o.window&&(Eh(o.window,a[t],r),wh(o.window,a[t]=n,r))}function hh(e,t){var n=e.config,r=e.domListeners,o=bh(n);if(!o)throw new Error("domTarget must be defined");var a=n.eventOptions;Eh(o,yh(r),a);for(var i=0,s=Object.entries(t);i<s.length;i++){var l=s[i],c=l[0],u=l[1],d=c.slice(2).toLowerCase();r.push([d,Gm.apply(void 0,u)])}wh(o,r,a)}function vh(e,t){for(var n={},r=e.config.eventOptions.capture?"Capture":"",o=0,a=Object.entries(t);o<a.length;o++){var i=a[o],s=i[0],l=i[1],c=Array.isArray(l)?l:[l];n[s+r]=Gm.apply(void 0,c)}return n}function yh(e){return void 0===e&&(e=[]),e.splice(0,e.length)}function bh(e){var t=e.domTarget;return t&&"current"in t?t.current:t}function _h(e,t,n){e[t]||(e[t]=[]),e[t].push(n)}function wh(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=Fm(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.addEventListener(i,s,n)}}function Eh(e,t,n){void 0===t&&(t=[]),void 0===n&&(n={});for(var r,o=Fm(t);!(r=o()).done;){var a=r.value,i=a[0],s=a[1];e.removeEventListener(i,s,n)}}function $h(){}var Ch=function(e){function t(){return e.apply(this,arguments)||this}jm(t,e);var n=t.prototype;return n.getInternalMovement=function(e,t){return Om(e,t.initial)},n.checkIntentionality=function(e,t){if(!1===e[0]&&!1===e[1])return{_intentional:e,axis:this.state.axis};var n=t.map(Math.abs),r=n[0],o=n[1],a=this.state.axis||(r>o?"x":r<o?"y":void 0);return this.config.axis||this.config.lockDirection?a?this.config.axis&&a!==this.config.axis?{_intentional:e,_blocked:!0,axis:a}:(e["x"===a?1:0]=!1,{_intentional:e,_blocked:!1,axis:a}):{_intentional:[!1,!1],_blocked:!1,axis:a}:{_intentional:e,_blocked:!1,axis:a}},n.getKinematics=function(e,t){var n=this.getMovement(e);if(!n._blocked){var r=t.timeStamp-this.state.timeStamp;Object.assign(n,function(e,t,n){var r=Pm(t),o=0===r?0:1/r,a=0===n?0:1/n,i=a*r,s=t.map((function(e){return a*e})),l=t.map((function(e){return o*e}));return{velocities:s,velocity:i,distance:Pm(e),direction:l}}(n.movement,n.delta,r))}return n},n.mapStateValues=function(e){return{xy:e.values,vxvy:e.velocities}},t}(ih);function kh(e){"persist"in e&&"function"==typeof e.persist&&e.persist()}var Sh=function(e){function t(){var t;return(t=e.apply(this,arguments)||this).ingKey="dragging",t.stateKey="drag",t.setPointerCapture=function(e){if(!t.config.useTouch&&!document.pointerLockElement){var n=e.target,r=e.pointerId;n&&"setPointerCapture"in n&&n.setPointerCapture(r),t.updateGestureState({_dragTarget:n,_dragPointerId:r})}},t.releasePointerCapture=function(){if(!t.config.useTouch&&!document.pointerLockElement){var e=t.state,n=e._dragTarget,r=e._dragPointerId;if(r&&n&&"releasePointerCapture"in n&&(!("hasPointerCapture"in n)||n.hasPointerCapture(r)))try{n.releasePointerCapture(r)}catch(e){}}},t.preventScroll=function(e){t.state._dragPreventScroll&&e.cancelable&&e.preventDefault()},t.getEventId=function(e){return t.config.useTouch?e.changedTouches[0].identifier:e.pointerId},t.isValidEvent=function(e){return t.state._pointerId===t.getEventId(e)},t.shouldPreventWindowScrollY=t.config.experimental_preventWindowScrollY&&t.controller.supportsTouchEvents,t.setUpWindowScrollDetection=function(e){kh(e),mh(t.controller,t.stateKey,[["touchmove",t.preventScroll],["touchend",t.clean.bind(Im(t))],["touchcancel",t.clean.bind(Im(t))]],{passive:!1}),t.setTimeout(t.startDrag.bind(Im(t)),250,e)},t.setUpDelayedDragTrigger=function(e){t.state._dragDelayed=!0,kh(e),t.setTimeout(t.startDrag.bind(Im(t)),t.config.delay,e)},t.setStartState=function(e){var n=Km(e,t.transform);t.updateSharedState(Wm(e)),t.updateGestureState(Mm({},uh(Im(t),n,e),ch(Im(t),e,!0),{_pointerId:t.getEventId(e)})),t.updateGestureState(t.getMovement(n))},t.onDragStart=function(e){gh(t.controller,e),t.enabled&&!t.state._active&&(t.setStartState(e),t.setPointerCapture(e),t.shouldPreventWindowScrollY?t.setUpWindowScrollDetection(e):t.config.delay>0?t.setUpDelayedDragTrigger(e):t.startDrag(e,!0))},t.onDragChange=function(e){if(!t.state.canceled&&t.state._active&&t.isValidEvent(e)&&(t.state._lastEventType!==e.type||e.timeStamp!==t.state.timeStamp)){var n;if(document.pointerLockElement){var r=e.movementX,o=e.movementY;n=xm(t.transform([r,o]),t.state.values)}else n=Km(e,t.transform);var a=t.getKinematics(n,e);if(!t.state._dragStarted){if(t.state._dragDelayed)return void t.startDrag(e);if(!t.shouldPreventWindowScrollY)return;if(t.state._dragPreventScroll||!a.axis)return;if("x"!==a.axis)return void(t.state._active=!1);t.startDrag(e)}var i=Wm(e);t.updateSharedState(i);var s=ch(Im(t),e),l=Pm(a._movement),c=t.state._dragIsTap;c&&l>=3&&(c=!1),t.updateGestureState(Mm({},s,a,{_dragIsTap:c})),t.fireGestureHandler()}},t.onDragEnd=function(e){if(ph(t.controller,e),t.isValidEvent(e)&&(t.clean(),t.state._active)){t.state._active=!1;var n=t.state._dragIsTap,r=t.state.velocities,o=r[0],a=r[1],i=t.state.movement,s=i[0],l=i[1],c=t.state._intentional,u=c[0],d=c[1],g=t.config.swipeVelocity,p=g[0],f=g[1],m=t.config.swipeDistance,h=m[0],v=m[1],y=t.config.swipeDuration,b=Mm({},ch(Im(t),e),t.getMovement(t.state.values)),_=[0,0];b.elapsedTime<y&&(!1!==u&&Math.abs(o)>p&&Math.abs(s)>h&&(_[0]=Am(o)),!1!==d&&Math.abs(a)>f&&Math.abs(l)>v&&(_[1]=Am(a))),t.updateSharedState({buttons:0}),t.updateGestureState(Mm({},b,{tap:n,swipe:_})),t.fireGestureHandler(t.config.filterTaps&&!0===n)}},t.clean=function(){e.prototype.clean.call(Im(t)),t.state._dragStarted=!1,t.releasePointerCapture(),fh(t.controller,t.stateKey)},t.onCancel=function(){t.state.canceled||(t.updateGestureState({canceled:!0,_active:!1}),t.updateSharedState({buttons:0}),setTimeout((function(){return t.fireGestureHandler()}),0))},t.onClick=function(e){t.state._dragIsTap||e.stopPropagation()},t}jm(t,e);var n=t.prototype;return n.startDrag=function(e,t){void 0===t&&(t=!1),this.state._active&&!this.state._dragStarted&&(t||this.setStartState(e),this.updateGestureState({_dragStarted:!0,_dragPreventScroll:!0,cancel:this.onCancel}),this.clearTimeout(),this.fireGestureHandler())},n.addBindings=function(e){this.config.useTouch?(_h(e,"onTouchStart",this.onDragStart),_h(e,"onTouchMove",this.onDragChange),_h(e,"onTouchEnd",this.onDragEnd),_h(e,"onTouchCancel",this.onDragEnd)):(_h(e,"onPointerDown",this.onDragStart),_h(e,"onPointerMove",this.onDragChange),_h(e,"onPointerUp",this.onDragEnd),_h(e,"onPointerCancel",this.onDragEnd)),this.config.filterTaps&&_h(e,this.controller.config.eventOptions.capture?"onClick":"onClickCapture",this.onClick)},t}(Ch);function xh(e,t){if(e===t)return!0;if(e&&t&&"object"==typeof e&&"object"==typeof t){if(e.constructor!==t.constructor)return!1;var n,r,o,a;if(Array.isArray(e)){if((n=e.length)!==t.length)return!1;for(r=n;0!=r--;)if(!xh(e[r],t[r]))return!1;return!0}if("function"==typeof Map&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;for(a=e.entries();!(r=a.next()).done;)if(!xh(r.value[1],t.get(r.value[0])))return!1;return!0}if("function"==typeof Set&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(a=e.entries();!(r=a.next()).done;)if(!t.has(r.value[0]))return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if((n=(o=Object.keys(e)).length)!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!Object.prototype.hasOwnProperty.call(t,o[r]))return!1;if("undefined"!=typeof Element&&e instanceof Element)return!1;for(r=n;0!=r--;)if(!("_owner"===o[r]&&e.$$typeof||xh(e[o[r]],t[o[r]])))return!1;return!0}return e!=e&&t!=t}function Oh(e,t){try{return xh(e,t)}catch(e){if((e.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw e}}function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Ah(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(n),!0).forEach((function(t){j(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nh=function(e){return e},Rh={_event:{},error:null,initialValue:"",isDirty:!1,isDragEnabled:!1,isDragging:!1,isPressEnterToChange:!1,value:""},Th="CHANGE",Mh="COMMIT",jh="DRAG_END",Ih="DRAG_START",Dh="DRAG",Fh="INVALIDATE",Lh="PRESS_DOWN",Gh="PRESS_ENTER",Bh="PRESS_UP",qh="RESET",zh="UPDATE";function Hh(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rh,t=e.value;return Ah(Ah(Ah({},Rh),e),{},{initialValue:t})}function Uh(e){return function(t,n){var r=Ah({},t),o=n.type,a=n.payload;switch(o){case Bh:case Lh:r.isDirty=!1;break;case Ih:r.isDragging=!0;break;case jh:r.isDragging=!1;break;case Th:r.error=null,r.value=a.value,t.isPressEnterToChange&&(r.isDirty=!0);break;case Mh:r.value=a.value,r.isDirty=!1;break;case qh:r.error=null,r.isDirty=!1,r.value=a.value||t.initialValue;break;case zh:r.value=a.value,r.isDirty=!1;break;case Fh:r.error=a.error}return a.event&&(r._event=a.event),e(r,n)}}var Vh=(0,s.forwardRef)((function(e,t){var n=e.disabled,r=void 0!==n&&n,o=e.dragDirection,a=void 0===o?"n":o,i=e.dragThreshold,c=void 0===i?10:i,u=e.id,d=e.isDragEnabled,g=void 0!==d&&d,p=e.isFocused,f=e.isPressEnterToChange,m=void 0!==f&&f,h=e.onBlur,v=void 0===h?l.noop:h,y=e.onChange,b=void 0===y?l.noop:y,_=e.onDrag,w=void 0===_?l.noop:_,E=e.onDragEnd,$=void 0===E?l.noop:E,C=e.onDragStart,k=void 0===C?l.noop:C,S=e.onFocus,x=void 0===S?l.noop:S,P=e.onKeyDown,N=void 0===P?l.noop:P,R=e.onValidate,T=void 0===R?l.noop:R,M=e.size,j=void 0===M?"default":M,F=e.setIsFocused,L=e.stateReducer,G=void 0===L?function(e){return e}:L,B=e.value,q=e.type,z=A(e,["disabled","dragDirection","dragThreshold","id","isDragEnabled","isFocused","isPressEnterToChange","onBlur","onChange","onDrag","onDragEnd","onDragStart","onFocus","onKeyDown","onValidate","size","setIsFocused","stateReducer","value","type"]),H=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Nh,t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rh,n=zt((0,s.useReducer)(Uh(e),Hh(t)),2),r=n[0],o=n[1],a=function(e){return function(t,n){n&&n.persist&&n.persist(),o({type:e,payload:{value:t,event:n}})}},i=function(e){return function(t){t&&t.persist&&t.persist(),o({type:e,payload:{event:t}})}},l=function(e){return function(t){o({type:e,payload:t})}},c=a(Th),u=a(Fh),d=a(qh),g=a(Mh),p=a(zh),f=l(Ih),m=l(Dh),h=l(jh),v=i(Bh),y=i(Lh),b=i(Gh);return{change:c,commit:g,dispatch:o,drag:m,dragEnd:h,dragStart:f,invalidate:u,pressDown:y,pressEnter:b,pressUp:v,reset:d,state:r,update:p}}(G,{isDragEnabled:g,value:B,isPressEnterToChange:m}),U=H.state,V=H.change,W=H.commit,Y=H.drag,K=H.dragEnd,Q=H.dragStart,Z=H.invalidate,X=H.pressDown,J=H.pressEnter,ee=H.pressUp,te=H.reset,ne=H.update,re=U._event,oe=U.value,ae=U.isDragging,ie=U.isDirty,se=(0,s.useRef)(!1),le=function(e,t){var n=function(e){var t="ns-resize";switch(e){case"n":case"s":t="ns-resize";break;case"e":case"w":t="ew-resize"}return t}(t);return(0,s.useEffect)((function(){document.documentElement.style.cursor=e?n:null}),[e]),n}(ae,a);ec((function(){B!==oe&&(p||se.current?ie||(b(oe,{event:re}),se.current=!1):ne(B))}),[oe,ie,p,B]);var ce=function(e){var t=e.target.value;try{T(t,e),W(t,e)}catch(t){Z(t,e)}},ue=function(e,t){void 0===t&&(t={}),oh.set("drag",Sh);var n=(0,I.useRef)();return n.current||(n.current=function(e,t){var n,r,o=[],a=!1;return function(){for(var i=arguments.length,s=new Array(i),l=0;l<i;l++)s[l]=arguments[l];return a&&n===this&&t(s,o)||(r=e.apply(this,s),a=!0,n=this,o=s),r}}(th,Oh)),function(e,t,n){void 0===n&&(n={});var r=function(e){var t=new Set;return e.drag&&t.add(oh.get("drag")),e.wheel&&t.add(oh.get("wheel")),e.scroll&&t.add(oh.get("scroll")),e.move&&t.add(oh.get("move")),e.pinch&&t.add(oh.get("pinch")),e.hover&&t.add(oh.get("hover")),t}(e),o=D().useMemo((function(){return new dh(r)}),[]);return o.config=t,o.handlers=e,o.nativeRefs=n,D().useEffect(o.effect,[]),o.config.domTarget?$h:o.bind}({drag:function(e){var t=e.distance,n=e.dragging,r=e.event;if(t){if(r.stopPropagation(),!n)return $(e),void K(e);w(e),Y(e),ae||(k(e),Q(e))}}},n.current(t))}(0,{threshold:c,enabled:g}),de=g?ue():{};return(0,s.createElement)(im,O({},z,de,{className:"components-input-control__input",disabled:r,dragCursor:le,isDragging:ae,id:u,onBlur:function(e){v(e),F(!1),m&&ie&&(se.current=!0,function(e){var t=""===e;return!Kl(e)||t}(oe)?te(B):ce(e))},onChange:function(e){var t=e.target.value;V(t,e)},onFocus:function(e){x(e),F(!0)},onKeyDown:function(e){var t=e.keyCode;switch(N(e),t){case As.UP:ee(e);break;case As.DOWN:X(e);break;case As.ENTER:J(e),m&&(e.preventDefault(),ce(e))}},ref:t,size:j,value:oe,type:q}))})),Wh=Vh;var Yh=(0,s.forwardRef)((function e(t,n){var r=t.__unstableStateReducer,o=void 0===r?function(e){return e}:r,a=t.__unstableInputWidth,i=t.className,c=t.disabled,u=void 0!==c&&c,d=t.hideLabelFromVision,g=void 0!==d&&d,p=t.id,f=t.isPressEnterToChange,m=void 0!==f&&f,h=t.label,v=t.labelPosition,y=void 0===v?"top":v,b=t.onChange,_=void 0===b?l.noop:b,w=t.onValidate,E=void 0===w?l.noop:w,$=t.onKeyDown,C=void 0===$?l.noop:$,k=t.prefix,S=t.size,x=void 0===S?"default":S,P=t.suffix,N=t.value,T=A(t,["__unstableStateReducer","__unstableInputWidth","className","disabled","hideLabelFromVision","id","isPressEnterToChange","label","labelPosition","onChange","onValidate","onKeyDown","prefix","size","suffix","value"]),M=zt((0,s.useState)(!1),2),j=M[0],I=M[1],D=function(t){var n=Rf(e),r="inspector-input-control-".concat(n);return t||r}(p),F=R()("components-input-control",i);return(0,s.createElement)(bm,{__unstableInputWidth:a,className:F,disabled:u,gap:3,hideLabelFromVision:g,id:D,isFocused:j,justify:"left",label:h,labelPosition:y,prefix:k,size:x,suffix:P},(0,s.createElement)(Wh,O({},T,{className:"components-input-control__input",disabled:u,id:D,isFocused:j,isPressEnterToChange:m,onChange:_,onKeyDown:C,onValidate:E,ref:n,setIsFocused:I,size:x,stateReducer:o,value:N})))}));const Kh="app-input-control";var Qh=(0,s.forwardRef)(((e,t)=>{const{className:n,noPointerEvents:r,...o}=e,a=R()(Kh,r&&`${Kh}--no-pointer-events`,n);return(0,s.createElement)("div",{className:a},(0,s.createElement)(Yh,O({ref:t},o)))})),Zh=e=>{const{className:t,...n}=e;return(0,s.createElement)(Qh,O({className:R()("app-input-link-control",t),prefix:(0,s.createElement)(Xp,{icon:Sm,size:24})},n))},Xh=e=>{let{id:t,websiteUrl:n,onSwitchAccount:r=l.noop}=e;const{invalidateResolution:a}=Zg(),[c,{loading:u,error:d,reset:g}]=$({path:"/wc/gla/mc/accounts/claim-overwrite",method:"POST",data:{id:t}}),p=(0,i.getSetting)("homeUrl");return(0,s.createElement)(gf,{className:"gla-reclaim-url-card",appearance:of.GOOGLE_MERCHANT_CENTER,description:(0,o.sprintf)(// translators: 1: website URL, 2: account ID.
|
5 |
+
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),n,t),indicator:(0,s.createElement)(Mc,{isSecondary:!0,disabled:u,eventName:"gla_mc_account_switch_account_button_click",eventProps:{context:"reclaim-url"},onClick:r},(0,o.__)("Switch account","google-listings-and-ads"))},(0,s.createElement)(Pf,null),(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(zp.Title,null,(0,o.__)("Reclaim your URL","google-listings-and-ads")),(0,s.createElement)(zp.Body,null,(0,o.__)("Your URL is currently claimed by another Merchant Center account.","google-listings-and-ads")),(0,s.createElement)(km,null,(0,s.createElement)(Zh,{disabled:!0,value:p}),(0,s.createElement)(Mc,{isSecondary:!0,loading:u,eventName:"gla_mc_account_reclaim_url_button_click",onClick:async()=>{g(),await c({parse:!1}),a("getGoogleMCAccount",[])}},(0,o.__)("Reclaim my URL","google-listings-and-ads"))),(0,s.createElement)(zp.HelperText,null,(0,s.createInterpolateElement)((0,o.__)("If you reclaim this URL, it will cause any existing product listings or ads to stop running, and the other verified account will be notified that they have lost their claim. <link>Learn more</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc",linkId:"claim-url",href:"https://support.google.com/merchants/answer/176793"})})),d&&(0,s.createElement)(uu,{status:"error",isDismissible:!1},(0,s.createInterpolateElement)((0,o.__)("<strong>We were unable to reclaim this URL.</strong> You may not have permission to reclaim this URL, or an error might have occurred. Try again later or contact your Google account administrator.","google-listings-and-ads"),{strong:(0,s.createElement)("strong",null)}))))},Jh=e=>{let{id:t,claimedUrl:n,newUrl:r,onSelectAnotherAccount:a=(()=>{})}=e;const{createNotice:l}=xp(),{invalidateResolution:c}=Zg(),[u,{loading:d,error:g,response:p}]=$({path:"/wc/gla/mc/accounts/switch-url",method:"POST",data:{id:t}}),f=(0,i.getSetting)("homeUrl"),m=()=>{a()};return p&&403===p.status?(0,s.createElement)(Xh,{id:g.id,websiteUrl:g.website_url,onSwitchAccount:m}):(0,s.createElement)(gf,{className:"gla-switch-url-card",appearance:of.GOOGLE_MERCHANT_CENTER,description:(0,o.sprintf)(// translators: 1: the new URL, 2: account ID.
|
6 |
+
(0,o.__)("%1$s (%2$s)","google-listings-and-ads"),r,t),indicator:(0,s.createElement)(Mc,{isSecondary:!0,disabled:d,eventName:"gla_mc_account_switch_account_button_click",eventProps:{context:"switch-url"},onClick:m},(0,o.__)("Switch account","google-listings-and-ads"))},(0,s.createElement)(Pf,null),(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(zp.Title,null,(0,o.__)("Switch to this new URL","google-listings-and-ads")),(0,s.createElement)(zp.Body,null,(0,o.sprintf)(// translators: %s: claimed URL.
|
7 |
+
(0,o.__)("This Merchant Center account already has a verified and claimed URL, %s.","google-listings-and-ads"),n)),(0,s.createElement)(km,null,(0,s.createElement)(Zh,{disabled:!0,value:f}),(0,s.createElement)(Mc,{isSecondary:!0,loading:d,eventName:"gla_mc_account_switch_url_button_click",onClick:async()=>{try{await u({parse:!1}),c("getGoogleMCAccount",[])}catch(e){if(403!==e.status){const t=(await e.json()).message||(0,o.__)("Unable to switch to your new URL. Please try again later.","google-listings-and-ads");l("error",t)}}}},(0,o.__)("Switch to this new URL","google-listings-and-ads"))),(0,s.createElement)(zp.HelperText,null,(0,o.sprintf)(
|
8 |
/* translators: 1: new URL. 2: claimed URL. */
|
9 |
+
(0,o.__)("If you switch your claimed URL to %1$s, you will lose your claim to %2$s. This will cause any existing product listings tied to %2$s to stop running.","google-listings-and-ads"),r,n))))},ev=c((function(e){return function(t){var n=Rf(e);return(0,s.createElement)(e,O({},t,{instanceId:n}))}}),"withInstanceId"),tv=c((function(e){return function(t){var n=zt((0,s.useState)(),2),r=n[0],o=n[1],a=(0,s.useCallback)((function(e){return o((function(){return null!=e&&e.handleFocusOutside?e.handleFocusOutside.bind(e):void 0}))}),[]);return(0,s.createElement)("div",zs(r),(0,s.createElement)(e,O({ref:a},t)))}}),"withFocusOutside");function nv(e){var t=e.overlayClassName,n=e.contentLabel,r=e.aria,o=r.describedby,a=r.labelledby,i=e.children,l=e.className,c=e.role,u=e.style,d=e.focusOnMount,g=e.shouldCloseOnEsc,p=e.onRequestClose,f=Bs(d),m=Ls(),h=Gs();return(0,s.createElement)("div",{className:R()("components-modal__screen-overlay",t),onKeyDown:function(e){g&&e.keyCode===As.ESCAPE&&(e.stopPropagation(),p&&p(e))}},(0,s.createElement)("div",{className:R()("components-modal__frame",l),style:u,ref:kn([m,h,f]),role:c,"aria-label":n,"aria-labelledby":n?null:a,"aria-describedby":o,tabIndex:"-1"},i))}var rv=function(e){Xs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=tl(t);if(n){var o=tl(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return el(this,e)});function o(){var e;return Ks(this,o),(e=r.apply(this,arguments)).handleFocusOutside=e.handleFocusOutside.bind(Js(e)),e}return Zs(o,[{key:"handleFocusOutside",value:function(e){this.props.shouldCloseOnClickOutside&&this.props.onRequestClose&&this.props.onRequestClose(e)}},{key:"render",value:function(){return(0,s.createElement)(nv,this.props)}}]),o}(s.Component),ov=tv(rv),av=function(e){var t=e.icon,n=e.title,r=e.onClose,a=e.closeLabel,i=e.headingId,l=e.isDismissible,c=a||(0,o.__)("Close dialog");return(0,s.createElement)("div",{className:"components-modal__header"},(0,s.createElement)("div",{className:"components-modal__header-heading-container"},t&&(0,s.createElement)("span",{className:"components-modal__icon-container","aria-hidden":!0},t),n&&(0,s.createElement)("h1",{id:i,className:"components-modal__header-heading"},n)),l&&(0,s.createElement)(Yl,{onClick:r,icon:Hs,label:c}))},iv=new Set(["alert","status","log","marquee","timer"]),sv=[],lv=!1;var cv,uv=0,dv=function(e){Xs(o,e);var t,n,r=(t=o,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,r=tl(t);if(n){var o=tl(this).constructor;e=Reflect.construct(r,arguments,o)}else e=r.apply(this,arguments);return el(this,e)});function o(e){var t;return Ks(this,o),(t=r.call(this,e)).prepareDOM(),t}return Zs(o,[{key:"componentDidMount",value:function(){1==++uv&&this.openFirstModal()}},{key:"componentWillUnmount",value:function(){0==--uv&&this.closeLastModal(),this.cleanDOM()}},{key:"prepareDOM",value:function(){cv||(cv=document.createElement("div"),document.body.appendChild(cv)),this.node=document.createElement("div"),cv.appendChild(this.node)}},{key:"cleanDOM",value:function(){cv.removeChild(this.node)}},{key:"openFirstModal",value:function(){(function(e){if(!lv){var t=document.body.children;(0,l.forEach)(t,(function(t){t!==e&&function(e){var t=e.getAttribute("role");return!("SCRIPT"===e.tagName||e.hasAttribute("aria-hidden")||e.hasAttribute("aria-live")||iv.has(t))}(t)&&(t.setAttribute("aria-hidden","true"),sv.push(t))})),lv=!0}})(cv),document.body.classList.add(this.props.bodyOpenClassName)}},{key:"closeLastModal",value:function(){document.body.classList.remove(this.props.bodyOpenClassName),lv&&((0,l.forEach)(sv,(function(e){e.removeAttribute("aria-hidden")})),sv=[],lv=!1)}},{key:"render",value:function(){var e=this.props,t=e.onRequestClose,n=e.title,r=e.icon,o=e.closeButtonLabel,a=e.children,i=e.aria,l=e.instanceId,c=e.isDismissible,u=e.isDismissable,d=A(e,["onRequestClose","title","icon","closeButtonLabel","children","aria","instanceId","isDismissible","isDismissable"]),g=i.labelledby||"components-modal-header-".concat(l);return u&&Os()("isDismissable prop of the Modal component",{alternative:"isDismissible prop (renamed) of the Modal component"}),(0,s.createPortal)((0,s.createElement)(ov,O({onRequestClose:t,aria:{labelledby:n?g:null,describedby:i.describedby}},d),(0,s.createElement)("div",{className:"components-modal__content",role:"document"},(0,s.createElement)(av,{closeLabel:o,headingId:g,icon:r,isDismissible:c||u,onClose:t,title:n}),a)),this.node)}}]),o}(s.Component);dv.defaultProps={bodyOpenClassName:"modal-open",role:"dialog",title:null,focusOnMount:!0,shouldCloseOnEsc:!0,shouldCloseOnClickOutside:!0,isDismissible:!0,aria:{labelledby:null,describedby:null}};var gv=ev(dv);const pv={auto:!1,visible:"app-modal__styled--overflow-visible"};var fv=e=>{let{className:t,overflow:n="auto",buttons:r=[],children:o,...a}=e;const i=R()("gla-admin-page","app-modal",pv[n],t);return(0,s.createElement)(gv,O({className:i},a),o,r.length>=1&&(0,s.createElement)("div",{className:"app-modal__footer"},r))},mv=__webpack_require__(5683),hv=e=>{let{size:t=18}=e;return(0,s.createElement)(mv.Z,{className:"gla-warning-icon",size:t})},vv=e=>{let{existingAccount:t,onContinue:n=(()=>{}),onRequestClose:r=(()=>{})}=e;return(0,s.createElement)(fv,{className:"gla-mc-warning-modal",title:(0,o.__)("Create Google Merchant Center Account","google-listings-and-ads"),buttons:[(0,s.createElement)(Mc,{key:"confirm",isSecondary:!0,eventName:"gla_mc_account_warning_modal_confirm_button_click",onClick:()=>{n()}},(0,o.__)("Yes, I want a new account","google-listings-and-ads")),(0,s.createElement)(Mc,{key:"cancel",isPrimary:!0,onClick:r},(0,o.__)("Cancel","google-listings-and-ads"))],onRequestClose:r},(0,s.createElement)("p",{className:"gla-mc-warning-modal__warning-text"},(0,s.createElement)(hv,null),(0,s.createElement)("span",null,(0,o.__)("Are you sure you want to create a new Google Merchant Center account?","google-listings-and-ads"))),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("You already have another verified account, <storename />, which is connected to this store’s URL, <storeurl />.","google-listings-and-ads"),{storename:(0,s.createElement)("strong",null,t.name),storeurl:(0,s.createElement)("strong",null,t.domain)})),(0,s.createElement)("p",null,(0,o.__)("If you create a new Google Merchant Center account, you will have to reclaim this store’s URL with the new account. This will cause any existing product listings or ads to stop running, and the other verified account will lose its claim.","google-listings-and-ads")))},yv=(0,s.createElement)(Cs,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,s.createElement)($s,{d:"M18.3 5.6L9.9 16.9l-4.6-3.4-.9 1.2 5.8 4.3 9.3-12.6z"}));function bv(e){var t=e.label,n=e.className,r=e.heading,o=e.checked,a=e.help,i=e.onChange,l=A(e,["label","className","heading","checked","help","onChange"]),c=Rf(bv),u="inspector-checkbox-control-".concat(c);return(0,s.createElement)(Gf,{label:r,id:u,help:a,className:n},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",O({id:u,className:"components-checkbox-control__input",type:"checkbox",value:"1",onChange:function(e){return i(e.target.checked)},checked:o,"aria-describedby":a?u+"__help":void 0},l)),o?(0,s.createElement)(Xp,{icon:yv,className:"components-checkbox-control__checked",role:"presentation"}):null),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:u},t))}var _v=e=>{let{onCreateAccount:t=(()=>{}),onRequestClose:n=(()=>{})}=e;const[r,a]=(0,s.useState)(!1);return(0,s.createElement)(fv,{className:"gla-mc-terms-modal",title:(0,o.__)("Create Google Merchant Center Account","google-listings-and-ads"),buttons:[(0,s.createElement)(Mc,{key:"1",isPrimary:!0,disabled:!r,eventName:"gla_mc_account_create_button_click",onClick:()=>{t(),n()}},(0,o.__)("Create account","google-listings-and-ads"))],onRequestClose:n},(0,s.createElement)("p",{className:"main"},(0,o.__)("By creating a Google Merchant Center account, you agree to the following terms and conditions:","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("You agree to comply with Google’s terms and policies, including <link>Google Merchant Center Terms of Service</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc",linkId:"google-mc-terms-of-service",href:"https://support.google.com/merchants/answer/160173"})})),(0,s.createElement)(bv,{label:(0,o.__)("I have read and accept these terms","google-listings-and-ads"),checked:r,onChange:a}))};const wv=Object.freeze({NONE:"NONE",WARNING:"WARNING",TERMS:"TERMS"});var Ev=e=>{const{onCreateAccount:t=l.noop,onClick:n=l.noop,...r}=e,[o,a]=(0,s.useState)(wv.NONE),{data:c}=Of(),u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];const t=new URL((0,i.getSetting)("homeUrl")).toString();return e.find((e=>{try{return new URL(e.domain).toString()===t}catch(e){return!1}}))}(c),d=()=>{a(wv.NONE)};return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Yl,O({onClick:()=>{a(u?wv.WARNING:wv.TERMS),n()}},r)),o===wv.WARNING&&(0,s.createElement)(vv,{existingAccount:u,onContinue:()=>{a(wv.TERMS)},onRequestClose:d}),o===wv.TERMS&&(0,s.createElement)(_v,{onCreateAccount:t,onRequestClose:d}))},$v=()=>{const{createNotice:e}=xp(),{invalidateResolution:t}=Zg(),[n,r]=$({path:"/wc/gla/mc/accounts",method:"POST"});return[async()=>{try{var a;await n({data:(null===(a=r.error)||void 0===a?void 0:a.id)&&{id:r.error.id},parse:!1}),t("getGoogleMCAccount",[])}catch(t){if(![403,503].includes(t.status)){const n=(await t.json()).message||(0,o.__)("Unable to create Merchant Center account. Please try again later.","google-listings-and-ads");e("error",n)}}},r]},Cv=e=>{const{retryAfter:t,onRetry:n=(()=>{})}=e;return(0,s.useEffect)((()=>{if(!t)return;const e=setInterval((()=>{n()}),1e3*t);return()=>clearInterval(e)}),[t,n]),(0,s.createElement)(gf,{appearance:of.GOOGLE_MERCHANT_CENTER,description:(0,o.__)("This may take a few minutes, please wait a moment…","google-listings-and-ads"),indicator:(0,s.createElement)(Mc,{loading:!0},(0,o.__)("Creating…","google-listings-and-ads"))})},kv=()=>{var e,t,n,r;const[a,i]=(0,s.useState)(),[l,c]=(e=>{const{createNotice:t}=xp(),[n,r]=$({path:"/wc/gla/mc/accounts",method:"POST",data:{id:e}}),{invalidateResolution:a}=Zg();return[async()=>{if(e)try{await n({parse:!1}),a("getGoogleMCAccount",[])}catch(e){if(![409,403].includes(e.status)){const n=(await e.json()).message||(0,o.__)("Unable to connect Merchant Center account. Please try again later.","google-listings-and-ads");t("error",n)}}},r]})(a),[u,d]=$v();return 409===(null===(e=c.response)||void 0===e?void 0:e.status)?(0,s.createElement)(Jh,{id:c.error.id,message:c.error.message,claimedUrl:c.error.claimed_url,newUrl:c.error.new_url,onSelectAnotherAccount:c.reset}):403===(null===(t=c.response)||void 0===t?void 0:t.status)||403===(null===(n=d.response)||void 0===n?void 0:n.status)?(0,s.createElement)(Xh,{id:(null===(g=c.error)||void 0===g?void 0:g.id)||(null===(p=d.error)||void 0===p?void 0:p.id),websiteUrl:(null===(f=c.error)||void 0===f?void 0:f.website_url)||(null===(m=d.error)||void 0===m?void 0:m.website_url),onSwitchAccount:()=>{c.reset(),d.reset()}}):d.loading||503===(null===(r=d.response)||void 0===r?void 0:r.status)?(0,s.createElement)(Cv,{retryAfter:null===(h=d.error)||void 0===h?void 0:h.retry_after,onRetry:u}):(0,s.createElement)(gf,{className:"gla-connect-mc-card",appearance:of.GOOGLE_MERCHANT_CENTER},(0,s.createElement)(Pf,null),(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(zp.Title,null,(0,o.__)("Select an existing account","google-listings-and-ads")),(0,s.createElement)(km,null,(0,s.createElement)(Cm,{value:a,onChange:i}),(0,s.createElement)(Mc,{isSecondary:!0,loading:c.loading,disabled:!a,eventName:"gla_mc_account_connect_button_click",onClick:l},(0,o.__)("Connect","google-listings-and-ads")))),(0,s.createElement)(Vp.Card.Footer,null,(0,s.createElement)(Ev,{isLink:!0,disabled:c.loading,onCreateAccount:u},(0,o.__)("Or, create a new Merchant Center account","google-listings-and-ads"))));var g,p,f,m,h},Sv=e=>{const{onCreateAccount:t}=e;return(0,s.createElement)(gf,{appearance:of.GOOGLE_MERCHANT_CENTER,indicator:(0,s.createElement)(Ev,{isSecondary:!0,onCreateAccount:t},(0,o.__)("Create account","google-listings-and-ads"))})},xv=e=>{const{onSwitchAccount:t}=e,[n,{loading:r,error:o,response:a}]=$v();return r||a&&503===a.status?(0,s.createElement)(Cv,{retryAfter:o&&o.retry_after,onRetry:n}):a&&403===a.status?(0,s.createElement)(Xh,{id:o.id,websiteUrl:o.website_url,onSwitchAccount:t}):(0,s.createElement)(Sv,{onCreateAccount:n})},Ov=()=>{const{data:e,hasFinishedResolution:t,invalidateResolution:n}=Of();return t?e.length>0?(0,s.createElement)(kv,null):(0,s.createElement)(xv,{onSwitchAccount:n}):(0,s.createElement)(kf,null)},Pv=()=>{const{hasFinishedResolution:e,isPreconditionReady:t,googleMCAccount:n}=Mp();return e?t?0===n.id||"connected"!==n.status?(0,s.createElement)(Ov,null):(0,s.createElement)(Sf,{googleMCAccount:n}):(0,s.createElement)(xf,null):(0,s.createElement)(kf,null)};const Av=[{trackId:"why-do-i-need-a-wp-account",question:(0,o.__)("Why do I need a WordPress.com account?","google-listings-and-ads"),answer:(0,o.__)("We use a WordPress.com account to connect your site to the WooCommerce and Google servers. It ensures that requests (e.g. product feed, clicks, sales, etc) from your site are securely and correctly attributed to your store. It enables a connection to your self-hosted site, and provides a common authentication interface across disparate server configurations and architectures.","google-listings-and-ads")},{trackId:"why-do-i-need-a-google-mc-account",question:(0,o.__)("Why do I need a Google Merchant Center account?","google-listings-and-ads"),answer:(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,o.__)("Google Merchant Center helps you sync your store and product data with Google and makes the information available for both free listings on the Shopping tab and Google Shopping Ads. That means everything about your stores and products is available to shoppers when they search on a Google property.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you create a new Merchant Center account through this application, it will be associated with Google’s Comparison Shopping Service (Google Shopping) by default. You can change the CSS associated with your account at any time. <link>Please find more information here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"faqs",linkId:"find-a-partner",href:"https://comparisonshoppingpartners.withgoogle.com/find_a_partner/"})})))}];var Nv=()=>(0,s.createElement)(sc,{trackName:"gla_faq",context:"setup-mc-accounts",faqItems:Av});const Rv=()=>(0,s.createElement)(s.Fragment,null,(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you are in the European Economic Area or Switzerland, your Merchant Center account must be associated with a Comparison Shopping Service (CSS). Please find more information at <link>Google Merchant Center Help</link> website.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc-accounts",linkId:"comparison-shopping-services",href:"https://support.google.com/merchants/topic/9080307"})})),(0,s.createElement)("p",null,(0,s.createInterpolateElement)((0,o.__)("If you create a new Merchant Center account through this application, it will be associated with Google Shopping, Google’s CSS, by default. You can change the CSS associated with your account at any time. Please find more information about our CSS Partners <link>here</link>.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc-accounts",linkId:"comparison-shopping-partners-find-a-partner",href:"https://comparisonshoppingpartners.withgoogle.com/find_a_partner/"})})),(0,s.createElement)("p",null,(0,o.__)("Once you have set up your Merchant Center account you can use our onboarding tool regardless of which CSS you use.","google-listings-and-ads")));var Tv=e=>{const{onContinue:t=(()=>{})}=e,{jetpack:n}=Op(),{google:r,scope:a}=Tp(),{googleMCAccount:i,isPreconditionReady:l}=Mp(),c=!n,u="yes"===(null==n?void 0:n.active)&&!r,d="yes"===(null==r?void 0:r.active)&&a.gmcRequired&&!i;if(c||u||d)return(0,s.createElement)(mp,null);const g="yes"!==(null==n?void 0:n.active),p="connected"!==(null==i?void 0:i.status);return(0,s.createElement)(jp,null,(0,s.createElement)(Ip,{title:(0,o.__)("Set up your accounts","google-listings-and-ads"),description:(0,o.__)("Connect the accounts required to use Google Listings & Ads.","google-listings-and-ads")}),(0,s.createElement)(Vp,{className:"gla-wp-google-accounts-section",title:(0,o.__)("Connect accounts","google-listings-and-ads"),description:(0,o.__)("The following accounts are required to use the Google Listings & Ads plugin.","google-listings-and-ads")},(0,s.createElement)(Yp,{size:"large"},(0,s.createElement)(vf,{jetpack:n}),(0,s.createElement)(Cf,{disabled:g}))),(0,s.createElement)(Vp,{className:"gla-google-mc-account-section",description:(0,s.createElement)(Rv,null),disabledLeft:!l},(0,s.createElement)(Pv,null),(0,s.createElement)(Nv,null)),(0,s.createElement)(Dp,null,(0,s.createElement)(Yl,{isPrimary:!0,disabled:p,onClick:t},(0,o.__)("Continue","google-listings-and-ads"))))},Mv=__webpack_require__(7555),jv=e=>{let{headerTitle:t}=e;return(0,s.createElement)("div",{className:"gla-setup-free-listing-hero"},(0,s.createElement)(Ip,{className:"hero-text",title:t,description:(0,s.createElement)("div",null,(0,s.createElement)("p",{className:"hero-text__subtitle"},(0,o.__)("Your product listings will look something like this.","google-listings-and-ads")),(0,s.createElement)("p",{className:"hero-text__body"},(0,o.__)("Your product details, estimated shipping info and tax details will be displayed across Google.","google-listings-and-ads")))}),(0,s.createElement)("img",{className:"gla-setup-free-listing-hero__image",src:Mv,alt:(0,o.__)("Google Shopping search results example","google-listings-and-ads")}))},Iv=(0,s.forwardRef)((function(e,t){let{children:n,...r}=e;const o=(0,s.useRef)(),a=(0,s.useRef)({}),[i,c]=(0,s.useState)([]),[u,d]=(0,s.useState)(),g=(0,s.useCallback)((function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];c((e=>[...e,t]))}),[]);return(0,s.useEffect)((()=>{u&&a.current.setValueCompatibly(...u)}),[u]),(0,s.useImperativeHandle)(t,(()=>({setValue:g,...o.current}))),(0,s.createElement)(lc.Form,O({},r,{ref:o}),(e=>{let{setValue:t,setValues:r,getInputProps:o,...s}=e;return a.current.setValueCompatibly=(e,n)=>{r?r({[e]:n}):t(e,n)},s.setValue=g,s.getInputProps=e=>{const t=o(e);return{...t,onChange:function(n){(function(e){return((null==e?void 0:e.nativeEvent)||e)instanceof Event})(n)&&(n="checkbox"===n.target.type?!(0,l.get)(t.values,e):n.target.value),a.current.setValueCompatibly(e,n)}}},i.length&&setImmediate((()=>d(i.shift()))),n(s)}))})),Dv=e=>e.rate>0;const Fv=new Set(["all","selected"]),Lv=new Set(["automatic","flat","manual"]),Gv=new Set(["flat","manual"]),Bv=new Set(["destination","manual"]);var qv=e=>{if(e.some(Dv))return e.some((e=>e.options.free_shipping_threshold>0))},zv=e=>{const{className:t="",...n}=e;return(0,s.createElement)("span",O({className:`wcdl-radio-helper-text ${t}`},n))};function Hv(e){var t=e.label,n=e.className,r=e.selected,o=e.help,a=e.onChange,i=e.options,c=void 0===i?[]:i,u=Rf(Hv),d="inspector-radio-control-".concat(u),g=function(e){return a(e.target.value)};return!(0,l.isEmpty)(c)&&(0,s.createElement)(Gf,{label:t,id:d,help:o,className:R()(n,"components-radio-control")},c.map((function(e,t){return(0,s.createElement)("div",{key:"".concat(d,"-").concat(t),className:"components-radio-control__option"},(0,s.createElement)("input",{id:"".concat(d,"-").concat(t),className:"components-radio-control__input",type:"radio",name:d,value:e.value,onChange:g,checked:e.value===r,"aria-describedby":o?"".concat(d,"__help"):void 0}),(0,s.createElement)("label",{htmlFor:"".concat(d,"-").concat(t)},e.label))})))}var Uv=e=>{const{className:t,label:n,value:r,selected:o,collapsible:a=!1,children:i,...l}=e;return(0,s.createElement)("div",{className:R()("app-radio-content-control",t)},(0,s.createElement)(Hv,O({selected:o,options:[{label:n,value:r}]},l,{help:""})),(!a||o===r)&&(0,s.createElement)("div",{className:"app-radio-content-control__content"},i))},Vv=e=>{const{formProps:{getInputProps:t}}=e;return(0,s.createElement)(Vp,{title:(0,o.__)("Tax rate (required for U.S. only)","google-listings-and-ads"),description:(0,s.createElement)("div",null,(0,s.createElement)("p",null,(0,o.__)("This tax rate will be shown to potential customers, together with the cost of your product.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createElement)(uc,{context:"setup-mc-tax-rate",linkId:"tax-rate-read-more",href:"https://support.google.com/merchants/answer/160162"},(0,o.__)("Read more","google-listings-and-ads"))))},(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(Yp,{size:"large"},(0,s.createElement)(Uv,O({},t("tax_rate"),{label:(0,o.__)("My store uses destination-based tax rates.","google-listings-and-ads"),value:"destination",collapsible:!0}),(0,s.createElement)(zv,null,(0,o.__)("Google’s estimated tax rates will automatically be applied to my product listings.","google-listings-and-ads"))),(0,s.createElement)(Uv,O({},t("tax_rate"),{label:(0,o.__)("My store does not use destination-based tax rates.","google-listings-and-ads"),value:"manual",collapsible:!0}),(0,s.createElement)(zv,null,(0,s.createInterpolateElement)((0,o.__)("I’ll set my tax rates up manually in <link>Google Merchant Center</link>. I understand that if I don’t set this up, my products will be disapproved.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc-tax-rate",linkId:"tax-rate-manual",href:"https://www.google.com/retail/solutions/merchant-center/"})})))))))},Wv=e=>{let{tags:t=[],disabled:n,maxVisibleTags:r=0,onChange:a=(()=>{})}=e;const[i,l]=(0,s.useState)(!1),c=Math.max(0,r),u=i||!c?t:t.slice(0,c);if(!t.length)return null;const d=e=>()=>{n||a(t.filter((t=>t.id!==e)))};return(0,s.createElement)("div",{className:"woocommerce-tree-select-control__tags"},u.map(((e,n)=>{if(!e.label)return null;const r=(0,o.sprintf)(// translators: 1: Tag Label, 2: Current Tag index, 3: Total amount of tags.
|
10 |
+
(0,o.__)("%1$s (%2$d of %3$d)","woocommerce-admin"),e.label,n+1,t.length);return(0,s.createElement)(lc.Tag,{key:e.id,id:e.id,label:e.label,screenReaderLabel:r,remove:d})})),c>0&&t.length>c&&(0,s.createElement)(Yl,{isTertiary:!0,className:"woocommerce-tree-select-control__show-more",onClick:()=>{l(!i)}},i?(0,o.__)("Show less","google-listing-and-ads"):(0,o.sprintf)(// translators: %d: The number of extra tags to show
|
11 |
+
(0,o.__)("+ %d more","google-listing-and-ads"),t.length-c)))};const Yv="__WC_TREE_SELECT_COMPONENT_ROOT__",Kv=(0,s.forwardRef)(((e,t)=>{let{tags:n=[],instanceId:r,placeholder:o,isExpanded:a,disabled:i,maxVisibleTags:c,value:u="",onFocus:d=(()=>{}),onTagsChange:g=(()=>{}),onInputChange:p=(()=>{}),onControlClick:f=l.noop}=e;const m=n.length>0,h=!m&&!a;return(0,s.createElement)("div",{className:R()("components-base-control","woocommerce-tree-select-control__control",{"is-disabled":i,"has-tags":m}),onClick:e=>{t.current.focus(),f(e)}},m&&(0,s.createElement)(Wv,{disabled:i,tags:n,maxVisibleTags:c,onChange:g}),(0,s.createElement)("div",{className:"components-base-control__field"},(0,s.createElement)("input",{ref:t,id:`woocommerce-tree-select-control-${r}__control-input`,type:"search",placeholder:h?o:"",autoComplete:"off",className:"woocommerce-tree-select-control__control-input",role:"combobox","aria-autocomplete":"list",value:u,"aria-expanded":a,disabled:i,onFocus:d,onChange:p,onKeyDown:e=>{if("Backspace"===e.key){if(u)return;g(n.slice(0,-1)),e.preventDefault()}}})))}));var Qv=Kv,Zv=e=>{var t,n;let{option:r,checked:o,className:a,...i}=e;return r?(0,s.createElement)("div",{className:a},(0,s.createElement)("div",{className:"components-base-control__field"},(0,s.createElement)("span",{className:"components-checkbox-control__input-container"},(0,s.createElement)("input",O({id:`inspector-checkbox-control-${null!==(t=r.key)&&void 0!==t?t:r.value}`,className:"components-checkbox-control__input",type:"checkbox",tabIndex:"-1",value:r.value,checked:o},i)),o&&(0,s.createElement)(Xp,{icon:yv,role:"presentation",className:"components-checkbox-control__checked"})),(0,s.createElement)("label",{className:"components-checkbox-control__label",htmlFor:`inspector-checkbox-control-${null!==(n=r.key)&&void 0!==n?n:r.value}`},r.label))):null};const Xv=e=>{let{options:t=[],onChange:n=(()=>{}),onExpanderClick:r=l.noop,onToggleExpanded:o=l.noop}=e;return t.map((e=>{var t;const a=e.value===Yv,{hasChildren:i,checked:l,partialChecked:c,expanded:u}=e;return(0,s.createElement)("div",{key:`${null!==(t=e.key)&&void 0!==t?t:e.value}`,role:i?"treegroup":"treeitem","aria-expanded":i?u:void 0,className:R()("woocommerce-tree-select-control__node",i&&"has-children")},(0,s.createElement)(xe,{justify:"flex-start"},!a&&(0,s.createElement)("button",{className:R()("woocommerce-tree-select-control__expander",!i&&"is-hidden"),tabIndex:"-1",onClick:t=>{r(t),o(e)}},(0,s.createElement)(Xp,{icon:u?ks:Ss})),(0,s.createElement)(Zv,{className:R()("components-base-control","woocommerce-tree-select-control__option",c&&"is-partially-checked"),option:e,checked:l,onChange:t=>{n(t.target.checked,e)},onKeyDown:t=>{((e,t)=>{t.hasChildren&&("ArrowRight"!==e.key||t.expanded?"ArrowLeft"===e.key&&t.expanded&&o(t):o(t))})(t,e)}})),i&&u&&(0,s.createElement)("div",{className:R()("woocommerce-tree-select-control__children",a&&"woocommerce-tree-select-control__main")},(0,s.createElement)(Xv,{options:e.children,onChange:n,onExpanderClick:r,onToggleExpanded:o})))}))};var Jv=Xv;const ey=e=>{let{id:t,label:n,selectAllLabel:r=(0,o.__)("All","google-listings-and-ads"),help:a,placeholder:i,className:c,disabled:u,options:d=[],value:g=[],maxVisibleTags:p,onChange:f=(()=>{}),onDropdownVisibilityChange:h=l.noop}=e,v=Rf(ey);v=null!=t?t:v;const[y,b]=(0,s.useState)(!1),[_,w]=(0,s.useState)([]),[E,$]=(0,s.useState)(""),C=(0,s.useRef)(),k=(0,s.useRef)(),S=(0,s.useRef)();S.current=h;const x=(0,s.useRef)({filteredOptionsMap:new Map});x.current.expandedValues=_,x.current.selectedValues=g;const P=!u&&y,A=!1!==r?{label:r,value:Yv,children:d}:null,N=m(A?[A]:d),T=zs((()=>{b(!1)})),M=E.trim().toLowerCase(),j=M.length>=3?M:"",I=(0,s.useMemo)((()=>{const e={};return x.current.filteredOptionsMap.clear(),N.forEach((function t(n,r){var o,a;n.parent=r,null===(o=n.children)||void 0===o||o.forEach((e=>t(e,n.value))),e[null!==(a=n.key)&&void 0!==a?a:n.value]=n})),e}),[N]),D=(0,s.useMemo)((()=>{const{current:e}=x,t=e.filteredOptionsMap.get(j);if(t)return t;const n=Boolean(j),r={hasChildren:{get(){var e;return(null===(e=this.children)||void 0===e?void 0:e.length)>0}},leaves:{get(){return this.hasChildren?this.children.flatMap((e=>e.hasChildren?e.leaves:e)):[]}},checked:{get(){return this.hasChildren?this.leaves.every((e=>e.checked)):e.selectedValues.includes(this.value)}},partialChecked:{get(){return!!this.hasChildren&&!this.checked&&this.leaves.some((e=>e.checked||e.partialChecked))}},expanded:{get(){return n||this.value===Yv||e.expandedValues.includes(this.value)}}},o=(e,t)=>{let{children:a=[],...i}=t;if(a.length){if(i.children=a.reduce(o,[]),!i.children.length)return e}else if(n){const t=i.label.toLowerCase().indexOf(j);if(-1===t)return e;i.label=((e,t)=>{const r=t+j.length;return n?(0,s.createElement)("span",null,(0,s.createElement)("span",null,e.substring(0,t)),(0,s.createElement)("strong",null,e.substring(t,r)),(0,s.createElement)("span",null,e.substring(r))):e})(i.label,t)}return Object.defineProperties(i,r),e.push(i),e},a=N.reduce(o,[]);return e.filteredOptionsMap.set(j,a),a}),[N,j]);(0,s.useEffect)((()=>{S.current(P)}),[P]);const F=e=>{w(e.expanded?_.filter((t=>e.value!==t)):[..._,e.value])};return(0,s.createElement)("div",O({},T,{onKeyDown:e=>{if(u)return;"Escape"===e.key&&b(!1),"Enter"===e.key&&(b(!0),e.preventDefault());const t={ArrowUp:-1,ArrowDown:1}[e.key];if(t&&k.current&&D.length){const n=Ps.focus.focusable.find(k.current).filter((e=>"checkbox"===e.type)),r=n.indexOf(e.target),o=Math.max(r+t,-1)%n.length;n.at(o).focus(),e.preventDefault()}},className:R()("woocommerce-tree-select-control",c)}),!!n&&(0,s.createElement)("label",{htmlFor:`woocommerce-tree-select-control-${v}__control-input`,className:"woocommerce-tree-select-control__label"},n),(0,s.createElement)(Qv,{ref:C,disabled:u,tags:d.length?g.map((e=>{const t=I[e];return{id:e,label:null==t?void 0:t.label}})):[],isExpanded:P,onFocus:()=>{b(!0)},onControlClick:()=>{u||b(!0)},instanceId:v,placeholder:i,label:n,maxVisibleTags:p,value:E,onTagsChange:e=>{f([...e.map((e=>e.id))])},onInputChange:e=>{$(e.target.value)}}),P&&(0,s.createElement)("div",{ref:k,className:"woocommerce-tree-select-control__tree",role:"tree",tabIndex:"-1"},(0,s.createElement)(Jv,{options:D,onChange:(e,t)=>{t.hasChildren?((e,t)=>{let n;const r=t.leaves.filter((t=>t.checked!==e)).map((e=>e.value));e?(t.expanded||F(t),n=g.concat(r)):n=g.filter((e=>!r.includes(e))),f(n)})(e,t):((e,t)=>{const n=e?[...g,t.value]:g.filter((e=>e!==t.value));f(n)})(e,t),$(""),_.includes(t.parent)||C.current.focus()},onExpanderClick:e=>{const t=Ps.focus.focusable.find(k.current),n=t.indexOf(e.currentTarget)+1;t.at(n).focus()},onToggleExpanded:F})),a&&(0,s.createElement)("div",{className:"woocommerce-tree-select-control__help"},a))};var ty=ey;const ny=[];function ry(e){let{countryCodes:t,className:n,...r}=e;const a=Is("medium","<")?5:10,i=function(e){const{data:{countries:t,continents:n},hasFinishedResolution:r}=Xg("getMCCountriesAndContinents");return(0,s.useMemo)((()=>{if(!r)return ny;const o=e||Object.keys(t);return Object.entries(n).reduce(((e,n)=>{let[r,a]=n;const i=a.countries.reduce(((e,n)=>(o.includes(n)&&e.push({value:n,label:t[n].name}),e)),[]);return i.length&&e.push({value:r,label:a.name,children:i}),e}),[])}),[e,t,n,r])}(t);return(0,s.createElement)(ty,O({className:R()("gla-supported-country-select",n),placeholder:(0,o.__)("Start typing to filter countries…","google-listings-and-ads"),selectAllLabel:(0,o.__)("All countries","google-listings-and-ads"),maxVisibleTags:a,options:i},r))}var oy=e=>{let{formProps:t}=e;const{values:n,getInputProps:r}=t,{locale:a,language:i}=n;return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Vp,{className:"gla-choose-audience-section",title:(0,o.__)("Audience","google-listings-and-ads"),description:(0,s.createElement)("p",null,(0,o.__)("Where do you want to sell your products?","google-listings-and-ads"))},(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(zp,null,(0,s.createElement)(zp.Title,null,(0,o.__)("Language","google-listings-and-ads")),(0,s.createElement)(zp.HelperText,{className:"gla-choose-audience-section__language-helper"},(0,s.createInterpolateElement)((0,o.__)("Listings can only be displayed in your site language. <link>Read more</link>","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc-audience",linkId:"site-language",href:"https://support.google.com/merchants/answer/160637"})})),(0,s.createElement)(Hv,{selected:a,options:[{label:i,value:a}]})),(0,s.createElement)(zp,null,(0,s.createElement)(zp.Title,null,(0,o.__)("Location","google-listings-and-ads")),(0,s.createElement)(zp.HelperText,null,(0,o.__)("Your store should already have the appropriate shipping and tax rates (if required) for potential customers in your selected location(s).","google-listings-and-ads")),(0,s.createElement)(Yp,{size:"medium"},(0,s.createElement)(Uv,O({},r("location"),{collapsible:!0,label:(0,o.__)("Selected countries only","google-listings-and-ads"),value:"selected"}),(0,s.createElement)(ry,O({multiple:!0},r("countries"),{help:(0,o.__)("Can’t find a country? Only supported countries can be selected.","google-listings-and-ads")}))),(0,s.createElement)(Uv,O({},r("location"),{label:(0,o.__)("All countries","google-listings-and-ads"),value:"all"}),(0,s.createElement)(zv,null,(0,o.__)("Your listings will be shown in all supported countries.","google-listings-and-ads")))))))))},ay=__webpack_require__(3115),iy=e=>{const{button:t,modal:n}=e,{onClick:r=(()=>{})}=t.props,{onRequestClose:o=(()=>{})}=n.props,[a,i]=(0,s.useState)(!1);return(0,s.createElement)(s.Fragment,null,(0,s.cloneElement)(t,{onClick:function(){i(!0),r(...arguments)}}),a&&(0,s.cloneElement)(n,{onRequestClose:function(){i(!1),o(...arguments)}}))};const sy=__webpack_require__(9016);function ly({precision:e=null,decimalSeparator:t=".",thousandSeparator:n=","},r){if("number"!=typeof r&&(r=parseFloat(r)),isNaN(r))return"";let o=parseInt(e,10);if(isNaN(o)){const[,e]=r.toString().split(".");o=e?e.length:0}return sy(r,o,t,n)}var cy=()=>{const e=(0,i.getSetting)("currency");return(0,s.useMemo)((()=>({...e,formatNumber:function(t){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:e.precision;const r={...e,precision:n};return ly(r,t)}})),[e])},uy=(e,t)=>{const{decimalSeparator:n}=t,r=new RegExp("[^0-9-"+n+"]",["g"]),o=parseFloat((""+e).replace(/\((.*)\)/,"-$1").replace(r,"").replace(n,"."));return isNaN(o)?0:o},dy=e=>({...cy(),precision:0,...e}),gy=e=>{const t=cy();return(0,s.useMemo)((()=>{const n={...t,...e};return e=>ly(n,e)}),[t,e])},py=e=>{const{value:t,numberSettings:n,onChange:r=(()=>{}),onBlur:o=(()=>{}),...a}=e,i=dy(n),l=(e=>{const t=dy(e);return gy(t)})(n),c=l(t),u=e=>{const t=uy(e,i),n=l(t);return uy(n,i)};return(0,s.createElement)(Qh,O({value:c,onChange:e=>{const t=u(e);r(t)},onBlur:e=>{const t=u(e.target.value);o(e,t)}},a))},fy=e=>{const t=cy();return(0,s.createElement)(py,O({suffix:t.code,numberSettings:t},e))},my=e=>{const t={};return 0===e.countries.length&&(t.countries=(0,o.__)("Please specify at least one country.","google-listings-and-ads")),Number.isFinite(e.rate)||(t.rate=(0,o.__)("Please enter the estimated shipping rate.","google-listings-and-ads")),e.rate<0&&(t.rate=(0,o.__)("The estimated shipping rate cannot be less than 0.","google-listings-and-ads")),t},hy=e=>{let{countryOptions:t,initialValues:n,renderButtons:r=l.noop,onSubmit:a,onRequestClose:i}=e;const[c,u]=(0,s.useState)(!1);return(0,s.createElement)(lc.Form,{initialValues:n,validate:my,onSubmit:a},(e=>{const{values:n,getInputProps:a}=e;return(0,s.createElement)(fv,{overflow:"visible",shouldCloseOnEsc:!c,shouldCloseOnClickOutside:!c,title:(0,o.__)("Estimate a shipping rate","google-listings-and-ads"),buttons:r(e),onRequestClose:i},(0,s.createElement)(Yp,null,(0,s.createElement)(ry,O({label:(0,o.__)("If customer is in","google-listings-and-ads"),countryCodes:t,onDropdownVisibilityChange:u},a("countries"))),(0,s.createElement)(fy,O({label:(0,o.__)("Then the estimated shipping rate displayed in the product listing is","google-listings-and-ads"),suffix:n.currency},a("rate")))))}))},vy=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a=l.noop}=e;return(0,s.createElement)(hy,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Yl,{key:"submit",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Add shipping rate","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},yy=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a=l.noop,onDelete:i=l.noop}=e;const c=()=>{a(),i()};return(0,s.createElement)(hy,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Yl,{key:"delete",isTertiary:!0,isDestructive:!0,onClick:c},(0,o.__)("Delete","google-listings-and-ads")),(0,s.createElement)(Yl,{key:"submit",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Update shipping rate","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},by=window.wp.htmlEntities,_y=()=>{const e={...(0,i.getSetting)("countries")};return Object.keys(e).forEach((t=>{e[t]=(0,by.decodeEntities)(e[t])})),e};const wy=5;var Ey=e=>{const{countries:t,firstN:n=wy,textWithMore:r,textWithoutMore:a}=e,i=_y(),l=t.slice(0,n).map((e=>i[e])),c=t.length>l.length?r:a;return(0,s.createInterpolateElement)((0,o.sprintf)(c,l.join(", "),t.length-l.length),{strong:(0,s.createElement)("strong",null)})},$y=e=>{const{countries:t}=e;return(0,s.createElement)("div",null,(0,s.createElement)(Ey,{countries:t,textWithMore:// translators: 1: list of country names separated by comma, up to 5 countries; 2: the remaining count of countries.
|
12 |
(0,o.__)("Shipping rate for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
13 |
+
(0,o.__)("Shipping rate for <strong>%1$s</strong>","google-listings-and-ads")}))},Cy=e=>{let{countryOptions:t,value:n,onChange:r,onDelete:a}=e;const{countries:i,currency:l,rate:c}=n;return(0,s.createElement)("div",{className:"gla-shipping-rate-input-control"},(0,s.createElement)(fy,{label:(0,s.createElement)("div",{className:"label"},(0,s.createElement)($y,{countries:i}),(0,s.createElement)(iy,{button:(0,s.createElement)(Mc,{isTertiary:!0},(0,o.__)("Edit","google-listings-and-ads")),modal:(0,s.createElement)(yy,{countryOptions:t,initialValues:n,onSubmit:r,onDelete:a})})),suffix:l,value:c,onBlur:(e,t)=>{c!==t&&r({...n,rate:t})}}),0===c&&(0,s.createElement)("div",{className:"gla-input-pill-div"},(0,s.createElement)(lc.Pill,null,(0,o.__)("Free shipping for all orders","google-listings-and-ads"))))};const ky={options:{}};function Sy(e){let{audienceCountries:t,value:n,onChange:r}=e;const{code:a}=cy(),{handleAddSubmit:i,getChangeHandler:l,getDeleteHandler:c}=(e=>{let{value:t,onChange:n}=e;return{handleAddSubmit:e=>{let{countries:r,currency:o,rate:a}=e;const i=r.map((e=>({...ky,country:e,currency:o,rate:a})));n(t.concat(i))},getChangeHandler:e=>r=>{const o=t.filter((t=>!(e.countries.includes(t.country)&&!r.countries.includes(t.country))));r.countries.forEach((e=>{const t=o.findIndex((t=>t.country===e)),n=o[t],a={...ky,...n,country:e,currency:r.currency,rate:r.rate};Dv(a)||(a.options.free_shipping_threshold=void 0),t>=0?o[t]=a:o.push(a)})),n(o)},getDeleteHandler:e=>()=>{const r=t.filter((t=>!e.countries.includes(t.country)));n(r)}}})({value:n,onChange:r});return(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(Vp.Card.Title,null,(0,o.__)("Estimated shipping rates","google-listings-and-ads")),(0,s.createElement)(Yp,{size:"large"},(()=>{const e=(e=>{const t=new Map;return e.forEach((e=>{const{country:n,currency:r,rate:o}=e,a=`${r} ${o} `,i=t.get(a)||{countries:[],currency:r,rate:o};i.countries.push(n),t.set(a,i)})),Array.from(t.values())})(n);if(0===e.length){const e={countries:t,currency:a,rate:void 0};return(0,s.createElement)(Cy,{countryOptions:t,value:e,onChange:l(e),onDelete:c(e)})}const r=t.filter((e=>!n.some((t=>t.country===e))));return(0,s.createElement)(s.Fragment,null,e.map((e=>(0,s.createElement)(Cy,{key:e.countries.join("-"),countryOptions:t,value:e,onChange:l(e),onDelete:c(e)}))),r.length>=1&&(0,s.createElement)("div",null,(0,s.createElement)(iy,{button:(0,s.createElement)(Yl,{isSecondary:!0,icon:(0,s.createElement)(ay.Z,null)},(0,o.__)("Add another rate","google-listings-and-ads")),modal:(0,s.createElement)(vy,{countryOptions:r,initialValues:{countries:r,currency:a,rate:0},onSubmit:i})})))})())))}var xy=e=>{const{value:t,onChange:n}=e,r=e=>{n("yes"===e)};return(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(Vp.Card.Title,null,(0,o.__)("I offer free shipping for orders over a certain price","google-listings-and-ads")),(0,s.createElement)(Yp,{size:"large"},(0,s.createElement)(Uv,{label:(0,o.__)("Yes","google-listings-and-ads"),value:"yes",selected:!0===t&&"yes",onChange:r}),(0,s.createElement)(Uv,{label:(0,o.__)("No","google-listings-and-ads"),value:"no",selected:!1===t&&"no",onChange:r}))))},Oy=e=>{const t={};return 0===e.countries.length&&(t.countries=(0,o.__)("Please specify at least one country.","google-listings-and-ads")),e.threshold>0||(t.threshold=(0,o.__)("The minimum order amount must be greater than 0.","google-listings-and-ads")),t},Py=e=>{let{countryOptions:t,renderButtons:n,initialValues:r,onSubmit:a,onRequestClose:i}=e;const[l,c]=(0,s.useState)(!1);return(0,s.createElement)(lc.Form,{initialValues:r,validate:Oy,onSubmit:a},(e=>{const{getInputProps:r,values:a,setValue:u}=e;return(0,s.createElement)(fv,{overflow:"visible",shouldCloseOnEsc:!l,shouldCloseOnClickOutside:!l,title:(0,o.__)("Minimum order to qualify for free shipping","google-listings-and-ads"),buttons:n(e),onRequestClose:i},(0,s.createElement)(Yp,null,(0,s.createElement)(ry,O({label:(0,o.__)("If customer is in","google-listings-and-ads"),countryCodes:t,onDropdownVisibilityChange:c},r("countries"))),(0,s.createElement)(fy,O({label:(0,o.__)("Then they qualify for free shipping if their order is over","google-listings-and-ads"),suffix:a.currency},r("threshold"),{onBlur:(e,t)=>{r("threshold").onBlur(e),u("threshold",t>0?t:void 0)}}))))}))},Ay=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a}=e;return(0,s.createElement)(Py,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Yl,{key:"save",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Add minimum order","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},Ny=e=>{let{countryOptions:t,initialValues:n,onSubmit:r,onRequestClose:a,onDelete:i}=e;const l=()=>{a(),i()};return(0,s.createElement)(Py,{countryOptions:t,initialValues:n,renderButtons:e=>{const{isValidForm:t,handleSubmit:n}=e;return[(0,s.createElement)(Yl,{key:"delete",isTertiary:!0,isDestructive:!0,onClick:l},(0,o.__)("Delete","google-listings-and-ads")),(0,s.createElement)(Yl,{key:"save",isPrimary:!0,disabled:!t,onClick:()=>{a(),n()}},(0,o.__)("Update minimum order","google-listings-and-ads"))]},onSubmit:r,onRequestClose:a})},Ry=e=>{const{countries:t}=e;return(0,s.createElement)("div",null,(0,s.createElement)(Ey,{countries:t,textWithMore:// translators: 1: list of country names separated by comma, up to 5 countries; 2: the remaining count of countries.
|
14 |
(0,o.__)("Minimum order for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
15 |
+
(0,o.__)("Minimum order for <strong>%1$s</strong>","google-listings-and-ads")}))},Ty=e=>{const{countryOptions:t,value:n,onChange:r,onDelete:a}=e,{countries:i,threshold:l,currency:c}=n;return(0,s.createElement)(fy,{className:"gla-minimum-order-input-control",label:(0,s.createElement)("div",{className:"gla-minimum-order-input-control__label"},(0,s.createElement)(Ry,{countries:i}),(0,s.createElement)(iy,{button:(0,s.createElement)(Mc,{isTertiary:!0},(0,o.__)("Edit","google-listings-and-ads")),modal:(0,s.createElement)(Ny,{countryOptions:t,initialValues:n,onSubmit:r,onDelete:a})})),suffix:c,value:l,onBlur:(e,t)=>{t!==n.threshold&&r({countries:i,threshold:t>0?t:void 0,currency:c})}})};const My=(e,t,n)=>e.map((e=>{const r={...e,options:{...e.options}};return null!=n&&n.countries.includes(r.country)?r.options.free_shipping_threshold=n.threshold:null!=t&&t.countries.includes(r.country)&&(r.options.free_shipping_threshold=void 0),r}));var jy=e=>{const{value:t=[],onChange:n}=e;return(0,s.createElement)(Vp.Card,{className:"gla-minimum-order-card"},(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(Vp.Card.Title,null,(0,o.__)("Minimum order to qualify for free shipping","google-listings-and-ads")),(0,s.createElement)(Yp,{size:"large"},(()=>{const e=t.filter(Dv),r=(e=>{const t=new Map;return e.forEach((e=>{const{options:{free_shipping_threshold:n},currency:r}=e,o=`${n} ${r}`,a=t.get(o)||{countries:[],threshold:n,currency:r};a.countries.push(e.country),t.set(o,a)})),Array.from(t.values())})(e),a=e.map((e=>e.country)),i=e=>r=>{n(My(t,e,r))},l=e=>()=>{n(My(t,e))};if(1===r.length)return(0,s.createElement)(Ty,{countryOptions:a,value:r[0],onChange:i(r[0]),onDelete:l(r[0])});const c=r.filter((e=>void 0!==e.threshold)),u=r.find((e=>void 0===e.threshold));return(0,s.createElement)(s.Fragment,null,c.map((e=>(0,s.createElement)(Ty,{key:e.countries.join("-"),countryOptions:a,value:e,onChange:i(e),onDelete:l(e)}))),u&&(0,s.createElement)("div",null,(0,s.createElement)(iy,{button:(0,s.createElement)(Mc,{isSecondary:!0,icon:(0,s.createElement)(ay.Z,null)},(0,o.__)("Add another minimum order","google-listings-and-ads")),modal:(0,s.createElement)(Ay,{countryOptions:u.countries,initialValues:u,onSubmit:e=>{n(My(t,null,e))}})})))})())))},Iy=e=>{const{audienceCountries:t,formProps:n}=e,{getInputProps:r,values:o}=n,a=o.shipping_country_rates.some(Dv);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Sy,O({audienceCountries:t},r("shipping_country_rates"))),a&&(0,s.createElement)(s.Fragment,null,(0,s.createElement)(xy,r("offer_free_shipping")),o.offer_free_shipping&&(0,s.createElement)(jy,r("shipping_country_rates"))))},Dy=e=>{let{formProps:t,audienceCountries:n}=e;const{getInputProps:r,values:a}=t,i=r("shipping_rate");return(0,s.createElement)(Vp,{title:(0,o.__)("Shipping rates","google-listings-and-ads"),description:(0,s.createElement)("div",null,(0,s.createElement)("p",null,(0,o.__)("Your estimated shipping rates and times will be shown to potential customers on Google.","google-listings-and-ads")),(0,s.createElement)("p",null,(0,s.createElement)(uc,{context:"setup-mc-shipping",linkId:"shipping-read-more",href:"https://support.google.com/merchants/answer/7050921"},(0,o.__)("Read more","google-listings-and-ads"))))},(0,s.createElement)(Yp,{size:"large"},(0,s.createElement)(Vp.Card,null,(0,s.createElement)(Vp.Card.Body,null,(0,s.createElement)(Yp,{size:"large"},(0,s.createElement)(Uv,O({},i,{label:(0,s.createInterpolateElement)((0,o.__)("<strong>Recommended:</strong> Automatically sync my store’s shipping settings to Google.","google-listings-and-ads"),{strong:(0,s.createElement)("strong",null)}),value:"automatic",collapsible:!0}),(0,s.createElement)(zv,null,(0,o.__)("My current settings and any future changes to my store’s shipping rates and classes will be automatically synced to Google Merchant Center.","google-listings-and-ads"))),(0,s.createElement)(Uv,O({},i,{label:(0,o.__)("My shipping settings are simple. I can manually estimate flat shipping rates.","google-listings-and-ads"),value:"flat",collapsible:!0})),(0,s.createElement)(Uv,O({},i,{label:(0,o.__)("My shipping settings are complex. I will enter my shipping rates and times manually in Google Merchant Center.","google-listings-and-ads"),value:"manual",collapsible:!0}),(0,s.createElement)(zv,null,(0,s.createInterpolateElement)((0,o.__)("I understand that if I don’t set this up manually in <link>Google Merchant Center</link>, my products will be disapproved by Google.","google-listings-and-ads"),{link:(0,s.createElement)(uc,{context:"setup-mc-shipping",linkId:"shipping-manual",href:"https://www.google.com/retail/solutions/merchant-center/"})})))))),"flat"===a.shipping_rate&&(0,s.createElement)(Iy,{audienceCountries:n,formProps:t})))},Fy=e=>{const t={};return 0===e.countries.length&&(t.countries=(0,o.__)("Please specify at least one country.","google-listings-and-ads")),Number.isInteger(e.time)||(t.time=(0,o.__)("Please enter the estimated shipping time.","google-listings-and-ads")),e.time<0&&(t.time=(0,o.__)("The estimated shipping time cannot be less than 0.","google-listings-and-ads")),t},Ly=e=>{let{countries:t,onRequestClose:n,onSubmit:r}=e;const[a,i]=(0,s.useState)(!1);return(0,s.createElement)(lc.Form,{initialValues:{countries:t,time:0},validate:Fy,onSubmit:e=>{r(e),n()}},(e=>{const{getInputProps:r,isValidForm:l,handleSubmit:c}=e;return(0,s.createElement)(fv,{overflow:"visible",shouldCloseOnEsc:!a,shouldCloseOnClickOutside:!a,title:(0,o.__)("Estimate shipping time","google-listings-and-ads"),buttons:[(0,s.createElement)(Yl,{key:"save",isPrimary:!0,disabled:!l,onClick:c},(0,o.__)("Add shipping time","google-listings-and-ads"))],onRequestClose:n},(0,s.createElement)(Yp,null,(0,s.createElement)(ry,O({label:(0,o.__)("If customer is in","google-listings-and-ads"),countryCodes:t,onDropdownVisibilityChange:i},r("countries"))),(0,s.createElement)(py,O({label:(0,o.__)("Then the estimated shipping time displayed in the product listing is","google-listings-and-ads"),suffix:(0,o.__)("days","google-listings-and-ads")},r("time")))))}))},Gy=e=>{const[t,n]=(0,s.useState)(!1);return(0,s.createElement)(s.Fragment,null,(0,s.createElement)(Yl,{isSecondary:!0,icon:(0,s.createElement)(ay.Z,null),onClick:()=>{n(!0)}},(0,o.__)("Add another time","google-listings-and-ads")),t&&(0,s.createElement)(Ly,O({onRequestClose:()=>{n(!1)}},e)))},By=e=>{const{countries:t}=e;return(0,s.createElement)("div",null,(0,s.createElement)(Ey,{countries:t,textWithMore:// translators: 1: list of country names separated by comma, up to 5 countries; 2: the remaining count of countries.
|
16 |
(0,o.__)("Shipping time for <strong>%1$s</strong> + %2$d more","google-listings-and-ads"),textWithoutMore:// translators: 1: list of country names separated by comma.
|
|