Version Description
- 2022-07-29 =
- Various bug fixes and performance improvements
Download this release
Release Info
Developer | extendify |
Plugin | Extendify — Gutenberg Patterns and Templates |
Version | 0.9.2 |
Comparing to | |
See all releases |
Code changes from version 0.9.1 to 0.9.2
- app/Library/Admin.php +4 -0
- app/Onboarding/Admin.php +1 -1
- extendify.php +1 -1
- public/build/extendify-onboarding.css +1 -1
- public/build/extendify-onboarding.js +1 -1
- public/build/extendify.css +1 -1
- readme.txt +4 -1
- src/Onboarding/api/WPApi.js +26 -0
- src/Onboarding/api/axios.js +50 -11
- src/Onboarding/app.css +1 -1
- src/Onboarding/components/CompletedTasks.js +1 -1
- src/Onboarding/components/PagePreview.js +81 -57
- src/Onboarding/components/StyledPreview.js +40 -7
- src/Onboarding/components/SuggestedPlugins.js +12 -14
- src/Onboarding/hooks/useTelemetry.js +15 -0
- src/Onboarding/layouts/PageLayout.js +3 -3
- src/Onboarding/lib/util.js +4 -0
- src/Onboarding/lib/wp.js +14 -0
- src/Onboarding/pages/CreatingSite.js +7 -1
- src/Onboarding/pages/Goals.js +27 -1
- src/Onboarding/pages/Landing.js +1 -1
- src/Onboarding/pages/SiteInformation.js +1 -1
- src/Onboarding/pages/SitePages.js +17 -15
- src/Onboarding/pages/SiteStyle.js +46 -27
- src/Onboarding/pages/SiteSummary.js +28 -71
- src/Onboarding/pages/SiteTypeSelect.js +50 -2
- src/Onboarding/state/Global.js +8 -8
- src/Onboarding/state/Pages.js +13 -10
- src/Onboarding/state/Progress.js +10 -10
- src/Onboarding/state/UserSelections.js +28 -15
- vendor/autoload.php +1 -1
- vendor/composer/autoload_real.php +4 -4
- vendor/composer/autoload_static.php +3 -3
app/Library/Admin.php
CHANGED
@@ -47,6 +47,10 @@ class Admin
|
|
47 |
*/
|
48 |
public function pluginActionLinks($links)
|
49 |
{
|
|
|
|
|
|
|
|
|
50 |
$theme = get_option('template');
|
51 |
$label = esc_html__('Upgrade', 'extendify');
|
52 |
|
47 |
*/
|
48 |
public function pluginActionLinks($links)
|
49 |
{
|
50 |
+
if (defined('EXTENDIFY_SITE_LICENSE')) {
|
51 |
+
return $links;
|
52 |
+
}
|
53 |
+
|
54 |
$theme = get_option('template');
|
55 |
$label = esc_html__('Upgrade', 'extendify');
|
56 |
|
app/Onboarding/Admin.php
CHANGED
@@ -204,7 +204,7 @@ class Admin
|
|
204 |
$version,
|
205 |
'all'
|
206 |
);
|
207 |
-
$bg = defined('EXTENDIFY_ONBOARDING_BG') ? constant('EXTENDIFY_ONBOARDING_BG') : '#
|
208 |
$txt = defined('EXTENDIFY_ONBOARDING_TXT') ? constant('EXTENDIFY_ONBOARDING_TXT') : '#ffffff';
|
209 |
\wp_add_inline_style(Config::$slug . '-onboarding-styles', "body {
|
210 |
--ext-partner-theme-primary-bg: {$bg};
|
204 |
$version,
|
205 |
'all'
|
206 |
);
|
207 |
+
$bg = defined('EXTENDIFY_ONBOARDING_BG') ? constant('EXTENDIFY_ONBOARDING_BG') : '#2c39bd';
|
208 |
$txt = defined('EXTENDIFY_ONBOARDING_TXT') ? constant('EXTENDIFY_ONBOARDING_TXT') : '#ffffff';
|
209 |
\wp_add_inline_style(Config::$slug . '-onboarding-styles', "body {
|
210 |
--ext-partner-theme-primary-bg: {$bg};
|
extendify.php
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
* Plugin URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
6 |
* Author: Extendify
|
7 |
* Author URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
8 |
-
* Version: 0.9.
|
9 |
* License: GPL-2.0-or-later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: extendify
|
5 |
* Plugin URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=plugin-uri&utm_medium=wp-dash
|
6 |
* Author: Extendify
|
7 |
* Author URI: https://extendify.com/?utm_source=wp-plugins&utm_campaign=author-uri&utm_medium=wp-dash
|
8 |
+
* Version: 0.9.2
|
9 |
* License: GPL-2.0-or-later
|
10 |
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
11 |
* Text Domain: extendify
|
public/build/extendify-onboarding.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div.extendify-onboarding .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify-onboarding .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify-onboarding .pointer-events-none{pointer-events:none!important}div.extendify-onboarding .invisible{visibility:hidden!important}div.extendify-onboarding .group:focus .group-focus\:visible,div.extendify-onboarding .group:hover .group-hover\:visible{visibility:visible!important}div.extendify-onboarding .static{position:static!important}div.extendify-onboarding .fixed{position:fixed!important}div.extendify-onboarding .absolute{position:absolute!important}div.extendify-onboarding .relative{position:relative!important}div.extendify-onboarding .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify-onboarding .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify-onboarding .top-0{top:0!important}div.extendify-onboarding .top-2{top:.5rem!important}div.extendify-onboarding .top-4{top:1rem!important}div.extendify-onboarding .-top-1\/4{top:-25%!important}div.extendify-onboarding .right-0{right:0!important}div.extendify-onboarding .right-1{right:.25rem!important}div.extendify-onboarding .right-2{right:.5rem!important}div.extendify-onboarding .right-3{right:.75rem!important}div.extendify-onboarding .right-4{right:1rem!important}div.extendify-onboarding .right-2\.5{right:.625rem!important}div.extendify-onboarding .bottom-0{bottom:0!important}div.extendify-onboarding .bottom-4{bottom:1rem!important}div.extendify-onboarding .-bottom-2{bottom:-.5rem!important}div.extendify-onboarding .left-0{left:0!important}div.extendify-onboarding .left-3\/4{left:75%!important}div.extendify-onboarding .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .z-10{z-index:10!important}div.extendify-onboarding .z-20{z-index:20!important}div.extendify-onboarding .z-30{z-index:30!important}div.extendify-onboarding .z-40{z-index:40!important}div.extendify-onboarding .z-50{z-index:50!important}div.extendify-onboarding .z-high{z-index:99999!important}div.extendify-onboarding .z-max{z-index:2147483647!important}div.extendify-onboarding .m-0{margin:0!important}div.extendify-onboarding .m-3{margin:.75rem!important}div.extendify-onboarding .m-8{margin:2rem!important}div.extendify-onboarding .m-auto{margin:auto!important}div.extendify-onboarding .-m-2{margin:-.5rem!important}div.extendify-onboarding .-m-px{margin:-1px!important}div.extendify-onboarding .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify-onboarding .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify-onboarding .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify-onboarding .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify-onboarding .-mx-6{margin-left:-1.5rem!important;margin-right:-1.5rem!important}div.extendify-onboarding .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify-onboarding .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify-onboarding .mt-0{margin-top:0!important}div.extendify-onboarding .mt-2{margin-top:.5rem!important}div.extendify-onboarding .mt-4{margin-top:1rem!important}div.extendify-onboarding .mt-8{margin-top:2rem!important}div.extendify-onboarding .mt-20{margin-top:5rem!important}div.extendify-onboarding .mt-px{margin-top:1px!important}div.extendify-onboarding .mt-0\.5{margin-top:.125rem!important}div.extendify-onboarding .-mt-2{margin-top:-.5rem!important}div.extendify-onboarding .-mt-5{margin-top:-1.25rem!important}div.extendify-onboarding .mr-1{margin-right:.25rem!important}div.extendify-onboarding .mr-2{margin-right:.5rem!important}div.extendify-onboarding .mr-3{margin-right:.75rem!important}div.extendify-onboarding .mr-6{margin-right:1.5rem!important}div.extendify-onboarding .-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .-mr-1\.5{margin-right:-.375rem!important}div.extendify-onboarding .mb-0{margin-bottom:0!important}div.extendify-onboarding .mb-1{margin-bottom:.25rem!important}div.extendify-onboarding .mb-2{margin-bottom:.5rem!important}div.extendify-onboarding .mb-4{margin-bottom:1rem!important}div.extendify-onboarding .mb-5{margin-bottom:1.25rem!important}div.extendify-onboarding .mb-8{margin-bottom:2rem!important}div.extendify-onboarding .mb-10{margin-bottom:2.5rem!important}div.extendify-onboarding .mb-12{margin-bottom:3rem!important}div.extendify-onboarding .ml-1{margin-left:.25rem!important}div.extendify-onboarding .ml-2{margin-left:.5rem!important}div.extendify-onboarding .ml-4{margin-left:1rem!important}div.extendify-onboarding .ml-12{margin-left:3rem!important}div.extendify-onboarding .-ml-1{margin-left:-.25rem!important}div.extendify-onboarding .-ml-2{margin-left:-.5rem!important}div.extendify-onboarding .-ml-6{margin-left:-1.5rem!important}div.extendify-onboarding .-ml-px{margin-left:-1px!important}div.extendify-onboarding .-ml-1\.5{margin-left:-.375rem!important}div.extendify-onboarding .block{display:block!important}div.extendify-onboarding .inline-block{display:inline-block!important}div.extendify-onboarding .flex{display:flex!important}div.extendify-onboarding .inline-flex{display:inline-flex!important}div.extendify-onboarding .table{display:table!important}div.extendify-onboarding .grid{display:grid!important}div.extendify-onboarding .hidden{display:none!important}div.extendify-onboarding .h-0{height:0!important}div.extendify-onboarding .h-2{height:.5rem!important}div.extendify-onboarding .h-4{height:1rem!important}div.extendify-onboarding .h-5{height:1.25rem!important}div.extendify-onboarding .h-6{height:1.5rem!important}div.extendify-onboarding .h-8{height:2rem!important}div.extendify-onboarding .h-12{height:3rem!important}div.extendify-onboarding .h-32{height:8rem!important}div.extendify-onboarding .h-64{height:16rem!important}div.extendify-onboarding .h-auto{height:auto!important}div.extendify-onboarding .h-full{height:100%!important}div.extendify-onboarding .h-screen{height:100vh!important}div.extendify-onboarding .max-h-96{max-height:24rem!important}div.extendify-onboarding .min-h-48{min-height:12rem!important}div.extendify-onboarding .min-h-screen{min-height:100vh!important}div.extendify-onboarding .w-0{width:0!important}div.extendify-onboarding .w-4{width:1rem!important}div.extendify-onboarding .w-5{width:1.25rem!important}div.extendify-onboarding .w-6{width:1.5rem!important}div.extendify-onboarding .w-8{width:2rem!important}div.extendify-onboarding .w-10{width:2.5rem!important}div.extendify-onboarding .w-16{width:4rem!important}div.extendify-onboarding .w-28{width:7rem!important}div.extendify-onboarding .w-32{width:8rem!important}div.extendify-onboarding .w-72{width:18rem!important}div.extendify-onboarding .w-80{width:20rem!important}div.extendify-onboarding .w-96{width:24rem!important}div.extendify-onboarding .w-auto{width:auto!important}div.extendify-onboarding .w-6\/12{width:50%!important}div.extendify-onboarding .w-7\/12{width:58.333333%!important}div.extendify-onboarding .w-full{width:100%!important}div.extendify-onboarding .w-screen{width:100vw!important}div.extendify-onboarding .min-w-0{min-width:0!important}div.extendify-onboarding .min-w-sm{min-width:7rem!important}div.extendify-onboarding .max-w-sm{max-width:24rem!important}div.extendify-onboarding .max-w-md{max-width:28rem!important}div.extendify-onboarding .max-w-lg{max-width:32rem!important}div.extendify-onboarding .max-w-xl{max-width:36rem!important}div.extendify-onboarding .max-w-2xl{max-width:42rem!important}div.extendify-onboarding .max-w-4xl{max-width:56rem!important}div.extendify-onboarding .max-w-full{max-width:100%!important}div.extendify-onboarding .max-w-screen-4xl{max-width:1920px!important}div.extendify-onboarding .flex-1{flex:1 1 0%!important}div.extendify-onboarding .flex-shrink-0{flex-shrink:0!important}div.extendify-onboarding .flex-grow-0{flex-grow:0!important}div.extendify-onboarding .flex-grow{flex-grow:1!important}div.extendify-onboarding .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify-onboarding .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify-onboarding .translate-y-0{--tw-translate-y:0px!important}div.extendify-onboarding .translate-y-4{--tw-translate-y:1rem!important}div.extendify-onboarding .-translate-y-px{--tw-translate-y:-1px!important}div.extendify-onboarding .-translate-y-full{--tw-translate-y:-100%!important}div.extendify-onboarding .rotate-90{--tw-rotate:90deg!important}div.extendify-onboarding .cursor-pointer{cursor:pointer!important}div.extendify-onboarding .grid-cols-3-minmax-300px-1fr{grid-template-columns:repeat(3,minmax(300px,1fr))!important}div.extendify-onboarding .flex-col{flex-direction:column!important}div.extendify-onboarding .flex-wrap{flex-wrap:wrap!important}div.extendify-onboarding .items-start{align-items:flex-start!important}div.extendify-onboarding .items-end{align-items:flex-end!important}div.extendify-onboarding .items-center{align-items:center!important}div.extendify-onboarding .justify-end{justify-content:flex-end!important}div.extendify-onboarding .justify-center{justify-content:center!important}div.extendify-onboarding .justify-between{justify-content:space-between!important}div.extendify-onboarding .justify-evenly{justify-content:space-evenly!important}div.extendify-onboarding .gap-4{gap:1rem!important}div.extendify-onboarding .gap-6{gap:1.5rem!important}div.extendify-onboarding .gap-x-4{-moz-column-gap:1rem!important;column-gap:1rem!important}div.extendify-onboarding .gap-y-1{row-gap:.25rem!important}div.extendify-onboarding .gap-y-3{row-gap:.75rem!important}div.extendify-onboarding .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify-onboarding .self-start{align-self:flex-start!important}div.extendify-onboarding .overflow-hidden{overflow:hidden!important}div.extendify-onboarding .overflow-y-auto{overflow-y:auto!important}div.extendify-onboarding .overflow-x-hidden{overflow-x:hidden!important}div.extendify-onboarding .overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .whitespace-nowrap{white-space:nowrap!important}div.extendify-onboarding .rounded-none{border-radius:0!important}div.extendify-onboarding .rounded-sm{border-radius:.125rem!important}div.extendify-onboarding .rounded{border-radius:.25rem!important}div.extendify-onboarding .rounded-md{border-radius:.375rem!important}div.extendify-onboarding .rounded-lg{border-radius:.5rem!important}div.extendify-onboarding .rounded-full{border-radius:9999px!important}div.extendify-onboarding .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify-onboarding .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify-onboarding .border-0{border-width:0!important}div.extendify-onboarding .border-2{border-width:2px!important}div.extendify-onboarding .border-8{border-width:8px!important}div.extendify-onboarding .border{border-width:1px!important}div.extendify-onboarding .border-t{border-top-width:1px!important}div.extendify-onboarding .border-r{border-right-width:1px!important}div.extendify-onboarding .border-b-0{border-bottom-width:0!important}div.extendify-onboarding .border-b{border-bottom-width:1px!important}div.extendify-onboarding .border-l-8{border-left-width:8px!important}div.extendify-onboarding .border-solid{border-style:solid!important}div.extendify-onboarding .border-none{border-style:none!important}div.extendify-onboarding .border-transparent{border-color:transparent!important}div.extendify-onboarding .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify-onboarding .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-700{--tw-border-opacity:1!important;border-color:rgba(117,117,117,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-800{--tw-border-opacity:1!important;border-color:rgba(31,41,55,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify-onboarding .border-partner-primary-bg{border-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify-onboarding .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify-onboarding .focus\:border-transparent:focus{border-color:transparent!important}div.extendify-onboarding .bg-transparent{background-color:transparent!important}div.extendify-onboarding .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-700{--tw-bg-opacity:1!important;background-color:rgba(117,117,117,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify-onboarding .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify-onboarding .focus\:bg-white:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify-onboarding .bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))!important}div.extendify-onboarding .from-white{--tw-gradient-from:#fff!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,hsla(0,0%,100%,0))!important}div.extendify-onboarding .bg-cover{background-size:cover!important}div.extendify-onboarding .bg-clip-padding{background-clip:padding-box!important}div.extendify-onboarding .fill-current{fill:currentColor!important}div.extendify-onboarding .stroke-current{stroke:currentColor!important}div.extendify-onboarding .p-0{padding:0!important}div.extendify-onboarding .p-1{padding:.25rem!important}div.extendify-onboarding .p-2{padding:.5rem!important}div.extendify-onboarding .p-3{padding:.75rem!important}div.extendify-onboarding .p-4{padding:1rem!important}div.extendify-onboarding .p-6{padding:1.5rem!important}div.extendify-onboarding .p-8{padding:2rem!important}div.extendify-onboarding .p-10{padding:2.5rem!important}div.extendify-onboarding .p-12{padding:3rem!important}div.extendify-onboarding .p-0\.5{padding:.125rem!important}div.extendify-onboarding .p-1\.5{padding:.375rem!important}div.extendify-onboarding .p-3\.5{padding:.875rem!important}div.extendify-onboarding .px-0{padding-left:0!important;padding-right:0!important}div.extendify-onboarding .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify-onboarding .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify-onboarding .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify-onboarding .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify-onboarding .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify-onboarding .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify-onboarding .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify-onboarding .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify-onboarding .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify-onboarding .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify-onboarding .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify-onboarding .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify-onboarding .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify-onboarding .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify-onboarding .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify-onboarding .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify-onboarding .pt-0{padding-top:0!important}div.extendify-onboarding .pt-1{padding-top:.25rem!important}div.extendify-onboarding .pt-2{padding-top:.5rem!important}div.extendify-onboarding .pt-4{padding-top:1rem!important}div.extendify-onboarding .pt-6{padding-top:1.5rem!important}div.extendify-onboarding .pt-px{padding-top:1px!important}div.extendify-onboarding .pt-0\.5{padding-top:.125rem!important}div.extendify-onboarding .pr-3{padding-right:.75rem!important}div.extendify-onboarding .pr-8{padding-right:2rem!important}div.extendify-onboarding .pb-2{padding-bottom:.5rem!important}div.extendify-onboarding .pb-3{padding-bottom:.75rem!important}div.extendify-onboarding .pb-8{padding-bottom:2rem!important}div.extendify-onboarding .pb-20{padding-bottom:5rem!important}div.extendify-onboarding .pb-36{padding-bottom:9rem!important}div.extendify-onboarding .pb-40{padding-bottom:10rem!important}div.extendify-onboarding .pl-0{padding-left:0!important}div.extendify-onboarding .pl-2{padding-left:.5rem!important}div.extendify-onboarding .pl-4{padding-left:1rem!important}div.extendify-onboarding .pl-6{padding-left:1.5rem!important}div.extendify-onboarding .text-left{text-align:left!important}div.extendify-onboarding .text-center{text-align:center!important}div.extendify-onboarding .align-middle{vertical-align:middle!important}div.extendify-onboarding .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify-onboarding .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify-onboarding .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify-onboarding .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify-onboarding .font-light{font-weight:300!important}div.extendify-onboarding .font-normal{font-weight:400!important}div.extendify-onboarding .font-medium{font-weight:500!important}div.extendify-onboarding .font-semibold{font-weight:600!important}div.extendify-onboarding .font-bold{font-weight:700!important}div.extendify-onboarding .uppercase{text-transform:uppercase!important}div.extendify-onboarding .italic{font-style:italic!important}div.extendify-onboarding .leading-none{line-height:1!important}div.extendify-onboarding .tracking-tight{letter-spacing:-.025em!important}div.extendify-onboarding .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify-onboarding .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify-onboarding .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-main-dark{--tw-text-opacity:1!important;color:rgba(5,49,44,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify-onboarding .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .focus-within\:text-partner-primary-bg:focus-within{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-partner-primary-bg:focus{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .underline{text-decoration:underline!important}div.extendify-onboarding .line-through{text-decoration:line-through!important}div.extendify-onboarding .no-underline{text-decoration:none!important}div.extendify-onboarding .hover\:underline:hover{text-decoration:underline!important}div.extendify-onboarding .hover\:no-underline:hover{text-decoration:none!important}div.extendify-onboarding .opacity-0{opacity:0!important}div.extendify-onboarding .opacity-30{opacity:.3!important}div.extendify-onboarding .opacity-50{opacity:.5!important}div.extendify-onboarding .opacity-60{opacity:.6!important}div.extendify-onboarding .opacity-70{opacity:.7!important}div.extendify-onboarding .opacity-75{opacity:.75!important}div.extendify-onboarding .focus\:opacity-100:focus,div.extendify-onboarding .group:focus .group-focus\:opacity-100,div.extendify-onboarding .group:hover .group-hover\:opacity-100,div.extendify-onboarding .hover\:opacity-100:hover,div.extendify-onboarding .opacity-100{opacity:1!important}div.extendify-onboarding .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify-onboarding .shadow-md,div.extendify-onboarding .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify-onboarding .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify-onboarding .shadow-2xl,div.extendify-onboarding .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify-onboarding .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .focus\:outline-none:focus,div.extendify-onboarding .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify-onboarding .focus\:ring-wp:focus,div.extendify-onboarding .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify-onboarding .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify-onboarding .ring-offset-0{--tw-ring-offset-width:0px!important}div.extendify-onboarding .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify-onboarding .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify-onboarding .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify-onboarding .blur{--tw-blur:blur(8px)!important}div.extendify-onboarding .invert{--tw-invert:invert(100%)!important}div.extendify-onboarding .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify-onboarding .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify-onboarding .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify-onboarding .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .delay-200{transition-delay:.2s!important}div.extendify-onboarding .duration-100{transition-duration:.1s!important}div.extendify-onboarding .duration-200{transition-duration:.2s!important}div.extendify-onboarding .duration-300{transition-duration:.3s!important}div.extendify-onboarding .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify-onboarding .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify-onboarding{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}.extendify-onboarding *,.extendify-onboarding :after,.extendify-onboarding :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify-onboarding{-webkit-font-smoothing:antialiased!important}.extendify-onboarding .search-panel input[type=text]::-moz-placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel input[type=text]:-ms-input-placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel input[type=text]::placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel .icon-search{position:absolute!important;right:16px!important}.extendify-onboarding .button-focus{background-color:transparent!important;border-radius:.5rem!important;cursor:pointer!important;font-size:1rem!important;line-height:1.5rem!important;text-align:center!important;text-decoration:none!important}.extendify-onboarding .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .button-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .input-focus{border-radius:.5rem!important;font-size:1rem!important;line-height:1.5rem!important}.extendify-onboarding .input-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .input-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .input-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .input-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .button-card{border-width:1px!important;display:block!important;flex:1 1 0%!important;margin:0!important;overflow:hidden!important;padding:1rem!important}.extendify-onboarding .preview-container .block-editor-block-preview__content{max-height:none!important}.extendify-onboarding .spin{-webkit-animation:extendify-loading-spinner 2.5s linear infinite;animation:extendify-loading-spinner 2.5s linear infinite}@-webkit-keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.extendify-onboarding input[type=checkbox]{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important;border-width:1px!important}.extendify-onboarding input[type=checkbox]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding input[type=checkbox]:checked{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}.extendify-onboarding input[type=checkbox]:checked:before{content:""!important}.extendify-onboarding .goal-select .components-base-control__field{margin-bottom:0!important}@media (min-width:480px){div.extendify-onboarding .xs\:inline{display:inline!important}div.extendify-onboarding .xs\:h-9{height:2.25rem!important}div.extendify-onboarding .xs\:pr-3{padding-right:.75rem!important}div.extendify-onboarding .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify-onboarding .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify-onboarding .sm\:mt-0{margin-top:0!important}div.extendify-onboarding .sm\:mb-8{margin-bottom:2rem!important}div.extendify-onboarding .sm\:ml-2{margin-left:.5rem!important}div.extendify-onboarding .sm\:block{display:block!important}div.extendify-onboarding .sm\:flex{display:flex!important}div.extendify-onboarding .sm\:h-auto{height:auto!important}div.extendify-onboarding .sm\:w-72{width:18rem!important}div.extendify-onboarding .sm\:w-auto{width:auto!important}div.extendify-onboarding .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify-onboarding .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .sm\:p-0{padding:0!important}div.extendify-onboarding .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .sm\:pt-0{padding-top:0!important}div.extendify-onboarding .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify-onboarding .md\:m-0{margin:0!important}div.extendify-onboarding .md\:-ml-8{margin-left:-2rem!important}div.extendify-onboarding .md\:block{display:block!important}div.extendify-onboarding .md\:flex{display:flex!important}div.extendify-onboarding .md\:hidden{display:none!important}div.extendify-onboarding .md\:h-screen{height:100vh!important}div.extendify-onboarding .md\:w-40vw{width:40vw!important}div.extendify-onboarding .md\:max-w-md{max-width:28rem!important}div.extendify-onboarding .md\:max-w-2xl{max-width:42rem!important}div.extendify-onboarding .md\:flex-row{flex-direction:row!important}div.extendify-onboarding .md\:gap-8{gap:2rem!important}div.extendify-onboarding .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .md\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .md\:p-8{padding:2rem!important}div.extendify-onboarding .md\:px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .md\:pl-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify-onboarding .lg\:absolute{position:absolute!important}div.extendify-onboarding .lg\:-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .lg\:block{display:block!important}div.extendify-onboarding .lg\:flex{display:flex!important}div.extendify-onboarding .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify-onboarding .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .lg\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .lg\:p-16{padding:4rem!important}div.extendify-onboarding .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}@media (min-width:1280px){div.extendify-onboarding .xl\:grid{display:grid!important}}
|
1 |
+
div.extendify-onboarding .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify-onboarding .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify-onboarding .pointer-events-none{pointer-events:none!important}div.extendify-onboarding .invisible{visibility:hidden!important}div.extendify-onboarding .group:focus .group-focus\:visible,div.extendify-onboarding .group:hover .group-hover\:visible{visibility:visible!important}div.extendify-onboarding .static{position:static!important}div.extendify-onboarding .fixed{position:fixed!important}div.extendify-onboarding .absolute{position:absolute!important}div.extendify-onboarding .relative{position:relative!important}div.extendify-onboarding .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify-onboarding .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify-onboarding .top-0{top:0!important}div.extendify-onboarding .top-2{top:.5rem!important}div.extendify-onboarding .top-4{top:1rem!important}div.extendify-onboarding .-top-1\/4{top:-25%!important}div.extendify-onboarding .right-0{right:0!important}div.extendify-onboarding .right-1{right:.25rem!important}div.extendify-onboarding .right-2{right:.5rem!important}div.extendify-onboarding .right-3{right:.75rem!important}div.extendify-onboarding .right-4{right:1rem!important}div.extendify-onboarding .right-2\.5{right:.625rem!important}div.extendify-onboarding .bottom-0{bottom:0!important}div.extendify-onboarding .bottom-4{bottom:1rem!important}div.extendify-onboarding .-bottom-2{bottom:-.5rem!important}div.extendify-onboarding .left-0{left:0!important}div.extendify-onboarding .left-3\/4{left:75%!important}div.extendify-onboarding .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify-onboarding .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify-onboarding .z-10{z-index:10!important}div.extendify-onboarding .z-20{z-index:20!important}div.extendify-onboarding .z-30{z-index:30!important}div.extendify-onboarding .z-40{z-index:40!important}div.extendify-onboarding .z-50{z-index:50!important}div.extendify-onboarding .z-high{z-index:99999!important}div.extendify-onboarding .z-max{z-index:2147483647!important}div.extendify-onboarding .m-0{margin:0!important}div.extendify-onboarding .m-8{margin:2rem!important}div.extendify-onboarding .m-auto{margin:auto!important}div.extendify-onboarding .-m-2{margin:-.5rem!important}div.extendify-onboarding .-m-px{margin:-1px!important}div.extendify-onboarding .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify-onboarding .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify-onboarding .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify-onboarding .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify-onboarding .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify-onboarding .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify-onboarding .mt-0{margin-top:0!important}div.extendify-onboarding .mt-2{margin-top:.5rem!important}div.extendify-onboarding .mt-4{margin-top:1rem!important}div.extendify-onboarding .mt-8{margin-top:2rem!important}div.extendify-onboarding .mt-12{margin-top:3rem!important}div.extendify-onboarding .mt-20{margin-top:5rem!important}div.extendify-onboarding .mt-px{margin-top:1px!important}div.extendify-onboarding .mt-0\.5{margin-top:.125rem!important}div.extendify-onboarding .-mt-2{margin-top:-.5rem!important}div.extendify-onboarding .-mt-5{margin-top:-1.25rem!important}div.extendify-onboarding .mr-1{margin-right:.25rem!important}div.extendify-onboarding .mr-2{margin-right:.5rem!important}div.extendify-onboarding .mr-3{margin-right:.75rem!important}div.extendify-onboarding .mr-6{margin-right:1.5rem!important}div.extendify-onboarding .-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .-mr-1\.5{margin-right:-.375rem!important}div.extendify-onboarding .mb-0{margin-bottom:0!important}div.extendify-onboarding .mb-1{margin-bottom:.25rem!important}div.extendify-onboarding .mb-2{margin-bottom:.5rem!important}div.extendify-onboarding .mb-4{margin-bottom:1rem!important}div.extendify-onboarding .mb-5{margin-bottom:1.25rem!important}div.extendify-onboarding .mb-8{margin-bottom:2rem!important}div.extendify-onboarding .mb-10{margin-bottom:2.5rem!important}div.extendify-onboarding .ml-1{margin-left:.25rem!important}div.extendify-onboarding .ml-2{margin-left:.5rem!important}div.extendify-onboarding .ml-4{margin-left:1rem!important}div.extendify-onboarding .ml-12{margin-left:3rem!important}div.extendify-onboarding .-ml-1{margin-left:-.25rem!important}div.extendify-onboarding .-ml-2{margin-left:-.5rem!important}div.extendify-onboarding .-ml-6{margin-left:-1.5rem!important}div.extendify-onboarding .-ml-px{margin-left:-1px!important}div.extendify-onboarding .-ml-1\.5{margin-left:-.375rem!important}div.extendify-onboarding .block{display:block!important}div.extendify-onboarding .inline-block{display:inline-block!important}div.extendify-onboarding .flex{display:flex!important}div.extendify-onboarding .inline-flex{display:inline-flex!important}div.extendify-onboarding .table{display:table!important}div.extendify-onboarding .grid{display:grid!important}div.extendify-onboarding .hidden{display:none!important}div.extendify-onboarding .h-0{height:0!important}div.extendify-onboarding .h-2{height:.5rem!important}div.extendify-onboarding .h-4{height:1rem!important}div.extendify-onboarding .h-5{height:1.25rem!important}div.extendify-onboarding .h-6{height:1.5rem!important}div.extendify-onboarding .h-8{height:2rem!important}div.extendify-onboarding .h-12{height:3rem!important}div.extendify-onboarding .h-32{height:8rem!important}div.extendify-onboarding .h-64{height:16rem!important}div.extendify-onboarding .h-auto{height:auto!important}div.extendify-onboarding .h-full{height:100%!important}div.extendify-onboarding .h-screen{height:100vh!important}div.extendify-onboarding .max-h-96{max-height:24rem!important}div.extendify-onboarding .min-h-full{min-height:100%!important}div.extendify-onboarding .min-h-screen{min-height:100vh!important}div.extendify-onboarding .w-0{width:0!important}div.extendify-onboarding .w-4{width:1rem!important}div.extendify-onboarding .w-5{width:1.25rem!important}div.extendify-onboarding .w-6{width:1.5rem!important}div.extendify-onboarding .w-8{width:2rem!important}div.extendify-onboarding .w-10{width:2.5rem!important}div.extendify-onboarding .w-16{width:4rem!important}div.extendify-onboarding .w-28{width:7rem!important}div.extendify-onboarding .w-32{width:8rem!important}div.extendify-onboarding .w-72{width:18rem!important}div.extendify-onboarding .w-80{width:20rem!important}div.extendify-onboarding .w-96{width:24rem!important}div.extendify-onboarding .w-auto{width:auto!important}div.extendify-onboarding .w-6\/12{width:50%!important}div.extendify-onboarding .w-7\/12{width:58.333333%!important}div.extendify-onboarding .w-full{width:100%!important}div.extendify-onboarding .w-screen{width:100vw!important}div.extendify-onboarding .min-w-0{min-width:0!important}div.extendify-onboarding .min-w-sm{min-width:7rem!important}div.extendify-onboarding .max-w-sm{max-width:24rem!important}div.extendify-onboarding .max-w-md{max-width:28rem!important}div.extendify-onboarding .max-w-lg{max-width:32rem!important}div.extendify-onboarding .max-w-xl{max-width:36rem!important}div.extendify-onboarding .max-w-2xl{max-width:42rem!important}div.extendify-onboarding .max-w-4xl{max-width:56rem!important}div.extendify-onboarding .max-w-full{max-width:100%!important}div.extendify-onboarding .max-w-prose{max-width:65ch!important}div.extendify-onboarding .max-w-screen-4xl{max-width:1920px!important}div.extendify-onboarding .flex-1{flex:1 1 0%!important}div.extendify-onboarding .flex-shrink-0{flex-shrink:0!important}div.extendify-onboarding .flex-grow-0{flex-grow:0!important}div.extendify-onboarding .flex-grow{flex-grow:1!important}div.extendify-onboarding .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify-onboarding .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify-onboarding .translate-y-0{--tw-translate-y:0px!important}div.extendify-onboarding .translate-y-4{--tw-translate-y:1rem!important}div.extendify-onboarding .-translate-y-px{--tw-translate-y:-1px!important}div.extendify-onboarding .-translate-y-full{--tw-translate-y:-100%!important}div.extendify-onboarding .rotate-90{--tw-rotate:90deg!important}div.extendify-onboarding .cursor-pointer{cursor:pointer!important}div.extendify-onboarding .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify-onboarding .flex-col{flex-direction:column!important}div.extendify-onboarding .flex-wrap{flex-wrap:wrap!important}div.extendify-onboarding .items-start{align-items:flex-start!important}div.extendify-onboarding .items-end{align-items:flex-end!important}div.extendify-onboarding .items-center{align-items:center!important}div.extendify-onboarding .justify-end{justify-content:flex-end!important}div.extendify-onboarding .justify-center{justify-content:center!important}div.extendify-onboarding .justify-between{justify-content:space-between!important}div.extendify-onboarding .justify-evenly{justify-content:space-evenly!important}div.extendify-onboarding .gap-4{gap:1rem!important}div.extendify-onboarding .gap-6{gap:1.5rem!important}div.extendify-onboarding .gap-x-4{-moz-column-gap:1rem!important;column-gap:1rem!important}div.extendify-onboarding .gap-y-1{row-gap:.25rem!important}div.extendify-onboarding .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify-onboarding .self-start{align-self:flex-start!important}div.extendify-onboarding .overflow-hidden{overflow:hidden!important}div.extendify-onboarding .overflow-y-auto{overflow-y:auto!important}div.extendify-onboarding .overflow-x-hidden{overflow-x:hidden!important}div.extendify-onboarding .overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .whitespace-nowrap{white-space:nowrap!important}div.extendify-onboarding .rounded-none{border-radius:0!important}div.extendify-onboarding .rounded-sm{border-radius:.125rem!important}div.extendify-onboarding .rounded{border-radius:.25rem!important}div.extendify-onboarding .rounded-md{border-radius:.375rem!important}div.extendify-onboarding .rounded-lg{border-radius:.5rem!important}div.extendify-onboarding .rounded-full{border-radius:9999px!important}div.extendify-onboarding .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify-onboarding .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify-onboarding .border-0{border-width:0!important}div.extendify-onboarding .border-2{border-width:2px!important}div.extendify-onboarding .border-8{border-width:8px!important}div.extendify-onboarding .border{border-width:1px!important}div.extendify-onboarding .border-t{border-top-width:1px!important}div.extendify-onboarding .border-r{border-right-width:1px!important}div.extendify-onboarding .border-b-0{border-bottom-width:0!important}div.extendify-onboarding .border-b{border-bottom-width:1px!important}div.extendify-onboarding .border-l-8{border-left-width:8px!important}div.extendify-onboarding .border-solid{border-style:solid!important}div.extendify-onboarding .border-none{border-style:none!important}div.extendify-onboarding .border-transparent{border-color:transparent!important}div.extendify-onboarding .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify-onboarding .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-700{--tw-border-opacity:1!important;border-color:rgba(117,117,117,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-800{--tw-border-opacity:1!important;border-color:rgba(31,41,55,var(--tw-border-opacity))!important}div.extendify-onboarding .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify-onboarding .border-partner-primary-bg{border-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify-onboarding .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify-onboarding .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify-onboarding .focus\:border-transparent:focus{border-color:transparent!important}div.extendify-onboarding .bg-transparent{background-color:transparent!important}div.extendify-onboarding .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-700{--tw-bg-opacity:1!important;background-color:rgba(117,117,117,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify-onboarding .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify-onboarding .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify-onboarding .focus\:bg-white:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify-onboarding .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify-onboarding .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify-onboarding .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify-onboarding .bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))!important}div.extendify-onboarding .from-white{--tw-gradient-from:#fff!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,hsla(0,0%,100%,0))!important}div.extendify-onboarding .bg-cover{background-size:cover!important}div.extendify-onboarding .bg-clip-padding{background-clip:padding-box!important}div.extendify-onboarding .fill-current{fill:currentColor!important}div.extendify-onboarding .stroke-current{stroke:currentColor!important}div.extendify-onboarding .p-0{padding:0!important}div.extendify-onboarding .p-1{padding:.25rem!important}div.extendify-onboarding .p-2{padding:.5rem!important}div.extendify-onboarding .p-3{padding:.75rem!important}div.extendify-onboarding .p-4{padding:1rem!important}div.extendify-onboarding .p-6{padding:1.5rem!important}div.extendify-onboarding .p-8{padding:2rem!important}div.extendify-onboarding .p-10{padding:2.5rem!important}div.extendify-onboarding .p-12{padding:3rem!important}div.extendify-onboarding .p-0\.5{padding:.125rem!important}div.extendify-onboarding .p-1\.5{padding:.375rem!important}div.extendify-onboarding .p-3\.5{padding:.875rem!important}div.extendify-onboarding .px-0{padding-left:0!important;padding-right:0!important}div.extendify-onboarding .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify-onboarding .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify-onboarding .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify-onboarding .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify-onboarding .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify-onboarding .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify-onboarding .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify-onboarding .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify-onboarding .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify-onboarding .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify-onboarding .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify-onboarding .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify-onboarding .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify-onboarding .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify-onboarding .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify-onboarding .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify-onboarding .pt-0{padding-top:0!important}div.extendify-onboarding .pt-1{padding-top:.25rem!important}div.extendify-onboarding .pt-2{padding-top:.5rem!important}div.extendify-onboarding .pt-3{padding-top:.75rem!important}div.extendify-onboarding .pt-4{padding-top:1rem!important}div.extendify-onboarding .pt-6{padding-top:1.5rem!important}div.extendify-onboarding .pt-px{padding-top:1px!important}div.extendify-onboarding .pt-0\.5{padding-top:.125rem!important}div.extendify-onboarding .pr-3{padding-right:.75rem!important}div.extendify-onboarding .pr-8{padding-right:2rem!important}div.extendify-onboarding .pb-0{padding-bottom:0!important}div.extendify-onboarding .pb-1{padding-bottom:.25rem!important}div.extendify-onboarding .pb-2{padding-bottom:.5rem!important}div.extendify-onboarding .pb-3{padding-bottom:.75rem!important}div.extendify-onboarding .pb-8{padding-bottom:2rem!important}div.extendify-onboarding .pb-20{padding-bottom:5rem!important}div.extendify-onboarding .pb-36{padding-bottom:9rem!important}div.extendify-onboarding .pb-40{padding-bottom:10rem!important}div.extendify-onboarding .pb-1\.5{padding-bottom:.375rem!important}div.extendify-onboarding .pl-0{padding-left:0!important}div.extendify-onboarding .pl-2{padding-left:.5rem!important}div.extendify-onboarding .pl-4{padding-left:1rem!important}div.extendify-onboarding .pl-6{padding-left:1.5rem!important}div.extendify-onboarding .text-left{text-align:left!important}div.extendify-onboarding .text-center{text-align:center!important}div.extendify-onboarding .align-middle{vertical-align:middle!important}div.extendify-onboarding .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify-onboarding .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify-onboarding .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify-onboarding .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify-onboarding .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify-onboarding .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify-onboarding .font-light{font-weight:300!important}div.extendify-onboarding .font-normal{font-weight:400!important}div.extendify-onboarding .font-medium{font-weight:500!important}div.extendify-onboarding .font-semibold{font-weight:600!important}div.extendify-onboarding .font-bold{font-weight:700!important}div.extendify-onboarding .uppercase{text-transform:uppercase!important}div.extendify-onboarding .capitalize{text-transform:capitalize!important}div.extendify-onboarding .italic{font-style:italic!important}div.extendify-onboarding .leading-none{line-height:1!important}div.extendify-onboarding .tracking-tight{letter-spacing:-.025em!important}div.extendify-onboarding .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify-onboarding .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify-onboarding .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify-onboarding .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-main-dark{--tw-text-opacity:1!important;color:rgba(5,49,44,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify-onboarding .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify-onboarding .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify-onboarding .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify-onboarding .focus-within\:text-partner-primary-bg:focus-within{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify-onboarding .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify-onboarding .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify-onboarding .focus\:text-partner-primary-bg:focus{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .underline{text-decoration:underline!important}div.extendify-onboarding .line-through{text-decoration:line-through!important}div.extendify-onboarding .no-underline{text-decoration:none!important}div.extendify-onboarding .hover\:underline:hover{text-decoration:underline!important}div.extendify-onboarding .hover\:no-underline:hover{text-decoration:none!important}div.extendify-onboarding .opacity-0{opacity:0!important}div.extendify-onboarding .opacity-30{opacity:.3!important}div.extendify-onboarding .opacity-50{opacity:.5!important}div.extendify-onboarding .opacity-60{opacity:.6!important}div.extendify-onboarding .opacity-70{opacity:.7!important}div.extendify-onboarding .opacity-75{opacity:.75!important}div.extendify-onboarding .focus\:opacity-100:focus,div.extendify-onboarding .group:focus .group-focus\:opacity-100,div.extendify-onboarding .group:hover .group-hover\:opacity-100,div.extendify-onboarding .hover\:opacity-100:hover,div.extendify-onboarding .opacity-100{opacity:1!important}div.extendify-onboarding .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify-onboarding .shadow-md,div.extendify-onboarding .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify-onboarding .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify-onboarding .shadow-2xl,div.extendify-onboarding .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify-onboarding .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify-onboarding .focus\:outline-none:focus,div.extendify-onboarding .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify-onboarding .focus\:ring-wp:focus,div.extendify-onboarding .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify-onboarding .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify-onboarding .ring-offset-0{--tw-ring-offset-width:0px!important}div.extendify-onboarding .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify-onboarding .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify-onboarding .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify-onboarding .blur{--tw-blur:blur(8px)!important}div.extendify-onboarding .invert{--tw-invert:invert(100%)!important}div.extendify-onboarding .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify-onboarding .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify-onboarding .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify-onboarding .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify-onboarding .delay-200{transition-delay:.2s!important}div.extendify-onboarding .duration-100{transition-duration:.1s!important}div.extendify-onboarding .duration-200{transition-duration:.2s!important}div.extendify-onboarding .duration-300{transition-duration:.3s!important}div.extendify-onboarding .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify-onboarding .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify-onboarding{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}.extendify-onboarding *,.extendify-onboarding :after,.extendify-onboarding :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify-onboarding{-webkit-font-smoothing:antialiased!important}.extendify-onboarding .search-panel input[type=text]::-moz-placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel input[type=text]:-ms-input-placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel input[type=text]::placeholder{font-size:.875rem!important;line-height:1.25rem!important}.extendify-onboarding .search-panel .icon-search{position:absolute!important;right:16px!important}.extendify-onboarding .button-focus{background-color:transparent!important;border-radius:.5rem!important;cursor:pointer!important;font-size:1rem!important;line-height:1.5rem!important;text-align:center!important;text-decoration:none!important}.extendify-onboarding .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .button-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .input-focus{border-radius:.5rem!important;font-size:1rem!important;line-height:1.5rem!important}.extendify-onboarding .input-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify-onboarding .input-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding .input-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify-onboarding .input-focus{--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important}.extendify-onboarding .button-card{border-width:1px!important;display:block!important;flex:1 1 0%!important;margin:0!important;overflow:hidden!important;padding:1rem!important}.extendify-onboarding .preview-container .block-editor-block-preview__content{max-height:none!important}.extendify-onboarding .spin{-webkit-animation:extendify-loading-spinner 2.5s linear infinite;animation:extendify-loading-spinner 2.5s linear infinite}@-webkit-keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes extendify-loading-spinner{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.extendify-onboarding input[type=checkbox]{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important;border-width:1px!important}.extendify-onboarding input[type=checkbox]:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important;--tw-ring-offset-width:2px!important;--tw-ring-offset-color:#fff!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important;outline:2px solid transparent!important;outline-offset:2px!important}.extendify-onboarding input[type=checkbox]:checked{background-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}.extendify-onboarding input[type=checkbox]:checked:before{content:""!important}.extendify-onboarding .goal-select .components-base-control__field{margin-bottom:0!important}@media (min-width:480px){div.extendify-onboarding .xs\:inline{display:inline!important}div.extendify-onboarding .xs\:h-9{height:2.25rem!important}div.extendify-onboarding .xs\:pr-3{padding-right:.75rem!important}div.extendify-onboarding .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify-onboarding .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify-onboarding .sm\:mt-0{margin-top:0!important}div.extendify-onboarding .sm\:mb-8{margin-bottom:2rem!important}div.extendify-onboarding .sm\:ml-2{margin-left:.5rem!important}div.extendify-onboarding .sm\:block{display:block!important}div.extendify-onboarding .sm\:flex{display:flex!important}div.extendify-onboarding .sm\:h-auto{height:auto!important}div.extendify-onboarding .sm\:w-72{width:18rem!important}div.extendify-onboarding .sm\:w-auto{width:auto!important}div.extendify-onboarding .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify-onboarding .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .sm\:p-0{padding:0!important}div.extendify-onboarding .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify-onboarding .sm\:pt-0{padding-top:0!important}div.extendify-onboarding .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify-onboarding .md\:m-0{margin:0!important}div.extendify-onboarding .md\:-ml-8{margin-left:-2rem!important}div.extendify-onboarding .md\:block{display:block!important}div.extendify-onboarding .md\:flex{display:flex!important}div.extendify-onboarding .md\:hidden{display:none!important}div.extendify-onboarding .md\:h-screen{height:100vh!important}div.extendify-onboarding .md\:min-h-48{min-height:12rem!important}div.extendify-onboarding .md\:w-40vw{width:40vw!important}div.extendify-onboarding .md\:max-w-sm{max-width:24rem!important}div.extendify-onboarding .md\:max-w-md{max-width:28rem!important}div.extendify-onboarding .md\:max-w-2xl{max-width:42rem!important}div.extendify-onboarding .md\:flex-row{flex-direction:row!important}div.extendify-onboarding .md\:gap-8{gap:2rem!important}div.extendify-onboarding .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify-onboarding .md\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify-onboarding .md\:p-8{padding:2rem!important}div.extendify-onboarding .md\:px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify-onboarding .md\:pl-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify-onboarding .lg\:absolute{position:absolute!important}div.extendify-onboarding .lg\:-mr-1{margin-right:-.25rem!important}div.extendify-onboarding .lg\:block{display:block!important}div.extendify-onboarding .lg\:flex{display:flex!important}div.extendify-onboarding .lg\:grid{display:grid!important}div.extendify-onboarding .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify-onboarding .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify-onboarding .lg\:overflow-hidden{overflow:hidden!important}div.extendify-onboarding .lg\:p-16{padding:4rem!important}div.extendify-onboarding .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}div.extendify-onboarding .lg\:pr-52{padding-right:13rem!important}}
|
public/build/extendify-onboarding.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
/*! For license information please see extendify-onboarding.js.LICENSE.txt */
|
2 |
-
(()=>{var e={7135:(e,t,r)=>{e.exports=r(6248)},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),o=r(4570),i=r(2940),a=r(581),s=r(574),u=r(3845),c=r(8338),l=r(4832),f=r(7354),d=r(8870),p=r(4906);e.exports=function(e){return new Promise((function(t,r){var h,y=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(y)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+x)}var j=s(e.baseURL,e.url);function O(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(j,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(j))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(v[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(v,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),m&&"json"!==m&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(r(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),y||(y=null);var S=p(j);S&&-1===["http","https","file"].indexOf(S)?r(new f("Unsupported protocol "+S+":",f.ERR_BAD_REQUEST,e)):b.send(y)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),o=r(875),i=r(5029),a=r(4941);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=i,s.CanceledError=r(8870),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.toFormData=r(1020),s.AxiosError=r(7354),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},4603:(e,t,r)=>{"use strict";var n=r(8870);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},8870:(e,t,r)=>{"use strict";var n=r(7354);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(7485).inherits(o,n,{__CANCEL__:!0}),e.exports=o},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),o=r(581),i=r(8096),a=r(5009),s=r(4941),u=r(574),c=r(6144),l=c.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},7354:(e,t,r)=>{"use strict";var n=r(7485);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,r,a,s,u){var c=Object.create(i);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=o},8096:(e,t,r)=>{"use strict";var n=r(7485);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},574:(e,t,r)=>{"use strict";var n=r(2642),o=r(2288);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5009:(e,t,r)=>{"use strict";var n=r(7485),o=r(9212),i=r(1475),a=r(8396),s=r(8870);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function u(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},4570:(e,t,r)=>{"use strict";var n=r(7354);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),o=r(8396);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),o=r(7485),i=r(1446),a=r(7354),s=r(4832),u=r(1020),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=r(4387)),f),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=o.isObject(e),a=t&&t["Content-Type"];if((r=o.isFileList(e))||n&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,s&&new s)}return n||"application/json"===a?(l(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(8750)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(c)})),e.exports=d},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.27.2"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},8750:e=>{e.exports=null},3845:(e,t,r)=>{"use strict";var n=r(7485),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},4906:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1020:(e,t,r)=>{"use strict";var n=r(816).Buffer,o=r(7485);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e}return function e(n,a){if(o.isPlainObject(n)||o.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),o.forEach(n,(function(r,n){if(!o.isUndefined(r)){var s,u=a?a+"."+n:n;if(r&&!a&&"object"==typeof r)if(o.endsWith(n,"{}"))r=JSON.stringify(r);else if(o.endsWith(n,"[]")&&(s=o.toArray(r)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(u,i(e))}));e(r,u)}})),r.pop()}else t.append(a,i(n))}(e),t}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,o=r(7354),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(i(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},7485:(e,t,r)=>{"use strict";var n,o=r(875),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var l=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=s("Date"),h=s("File"),y=s("Blob"),v=s("FileList");function m(e){return"[object Function]"===i.call(e)}var g=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:c,isDate:p,isFile:h,isBlob:y,isFunction:m,isStream:function(e){return f(e)&&m(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function r(r,n){d(t[n])&&d(r)?t[n]=e(t[n],r):d(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)b(arguments[n],r);return t},extend:function(e,t,r){return b(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,a={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=n[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:x,isFileList:v}},4782:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(c(e,s,s+a>u?u:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},816:(e,t,r)=>{"use strict";var n=r(4782),o=r(8898),i=r(5182);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|p(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|p(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return A(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return k(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return z(H(t,e.length-r),e,r,n)}function x(e,t,r,n){return z(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function j(e,t,r,n){return x(e,t,r,n)}function O(e,t,r,n){return z(V(t),e,r,n)}function E(e,t,r,n){return z(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function P(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=_));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function N(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function A(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=F(e[i]);return o}function k(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function T(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,n,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function I(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function L(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return i||L(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function B(e,t,r,n,i){return i||L(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):I(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):I(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):I(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return B(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return B(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=u.isBuffer(e)?e:H(new u(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var U=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(U,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}},42:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8898:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,d=r?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*y}},5182:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},7061:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(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(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1426:(e,t,r)=>{"use strict";r(2525);var n=r(7363),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},6248:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return A()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?h:d,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=h,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",y={};function v(){}function m(){}function g(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=g.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function N(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:A}}function A(){return{value:t,done:!0}}return m.prototype=g,u(j,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},O(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(j),u(j,s,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7363:e=>{"use strict";e.exports=React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=wp.element,t=wp.data;var n=r(7363);function o(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var a,s=function(){},u=s(),c=Object,l=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return c.assign({},e,t)},p="undefined",h=function(){return typeof window!=p},y=new WeakMap,v=0,m=function(e){var t,r,n=typeof e,o=e&&e.constructor,i=o==Date;if(c(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=y.get(e))return t;if(t=++v+"~",y.set(e,t),o==Array){for(t="@",r=0;r<e.length;r++)t+=m(e[r])+",";y.set(e,t)}if(o==c){t="#";for(var a=c.keys(e).sort();!l(r=a.pop());)l(e[r])||(t+=r+":"+m(e[r])+",");y.set(e,t)}}return t},g=!0,b=h(),w=typeof document!=p,x=b&&window.addEventListener?window.addEventListener.bind(window):s,j=w?document.addEventListener.bind(document):s,O=b&&window.removeEventListener?window.removeEventListener.bind(window):s,E=w?document.removeEventListener.bind(document):s,S={isOnline:function(){return g},isVisible:function(){var e=w&&document.visibilityState;return l(e)||"hidden"!==e}},P={initFocus:function(e){return j("visibilitychange",e),x("focus",e),function(){E("visibilitychange",e),O("focus",e)}},initReconnect:function(e){var t=function(){g=!0,e()},r=function(){g=!1};return x("online",t),x("offline",r),function(){O("online",t),O("offline",r)}}},_=!h()||"Deno"in window,C=function(e){return h()&&typeof window.requestAnimationFrame!=p?window.requestAnimationFrame(e):setTimeout(e,1)},N=_?n.useEffect:n.useLayoutEffect,A="undefined"!=typeof navigator&&navigator.connection,k=!_&&A&&(["slow-2g","2g"].includes(A.effectiveType)||A.saveData),T=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t,e?"$swr$"+e:""]},R=new WeakMap,D=function(e,t,r,n,o,i,a){void 0===a&&(a=!0);var s=R.get(e),u=s[0],c=s[1],l=s[3],f=u[t],d=c[t];if(a&&d)for(var p=0;p<d.length;++p)d[p](r,n,o);return i&&(delete l[t],f&&f[0])?f[0](2).then((function(){return e.get(t)})):e.get(t)},I=0,L=function(){return++I},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(void 0,void 0,void 0,(function(){var t,r,n,o,a,s,c,p,h,y,v,m,g,b,w,x,j,O,E,S,P;return i(this,(function(i){switch(i.label){case 0:if(t=e[0],r=e[1],n=e[2],o=e[3],s=!!l((a="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||a.populateCache,c=!1!==a.revalidate,p=!1!==a.rollbackOnError,h=a.optimisticData,y=T(r),v=y[0],m=y[2],!v)return[2];if(g=R.get(t),b=g[2],e.length<3)return[2,D(t,v,t.get(v),u,u,c,!0)];if(w=n,j=L(),b[v]=[j,0],O=!l(h),E=t.get(v),O&&(S=f(h)?h(E):h,t.set(v,S),D(t,v,S)),f(w))try{w=w(t.get(v))}catch(e){x=e}return w&&f(w.then)?[4,w.catch((function(e){x=e}))]:[3,2];case 1:if(w=i.sent(),j!==b[v][0]){if(x)throw x;return[2,w]}x&&O&&p&&(s=!0,w=E,t.set(v,E)),i.label=2;case 2:return s&&(x||(f(s)&&(w=s(w,E)),t.set(v,w)),t.set(m,d(t.get(m),{error:x}))),b[v][1]=L(),[4,D(t,v,w,x,u,c,!!s)];case 3:if(P=i.sent(),x)throw x;return[2,s?P:w]}}))}))},B=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},U=function(e,t){if(!R.has(e)){var r=d(P,t),n={},o=M.bind(u,e),i=s;if(R.set(e,[n,{},{},{},o]),!_){var a=r.initFocus(setTimeout.bind(u,B.bind(u,n,0))),c=r.initReconnect(setTimeout.bind(u,B.bind(u,n,1)));i=function(){a&&a(),c&&c(),R.delete(e)}}return[e,o,i]}return[e,R.get(e)[4]]},F=U(new Map),H=F[0],V=F[1],z=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,r,n,o){var i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(i)&&a>i||setTimeout(n,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:function(e,t){return m(e)==m(t)},isPaused:function(){return!1},cache:H,mutate:V,fallback:{}},S),Y=function(e,t){var r=d(e,t);if(t){var n=e.use,o=e.fallback,i=t.use,a=t.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},q=(0,n.createContext)({}),W=function(e){return f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},Z=function(){return d(z,(0,n.useContext)(q))},X=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},J={dedupe:!0},$=c.defineProperty((function(e){var t=e.value,r=Y((0,n.useContext)(q),t),o=t&&t.provider,i=(0,n.useState)((function(){return o?U(o(r.cache||H),t):u}))[0];return i&&(r.cache=i[0],r.mutate=i[1]),N((function(){return i?i[2]:u}),[]),(0,n.createElement)(q.Provider,d(e,{value:r}))}),"default",{value:z}),G=(a=function(e,t,r){var a=r.cache,s=r.compare,c=r.fallbackData,p=r.suspense,h=r.revalidateOnMount,y=r.refreshInterval,v=r.refreshWhenHidden,m=r.refreshWhenOffline,g=R.get(a),b=g[0],w=g[1],x=g[2],j=g[3],O=T(e),E=O[0],S=O[1],P=O[2],A=(0,n.useRef)(!1),k=(0,n.useRef)(!1),I=(0,n.useRef)(E),B=(0,n.useRef)(t),U=(0,n.useRef)(r),F=function(){return U.current},H=function(){return F().isVisible()&&F().isOnline()},V=function(e){return a.set(P,d(a.get(P),e))},z=a.get(E),Y=l(c)?r.fallback[E]:c,q=l(z)?Y:z,W=a.get(P)||{},Z=W.error,$=!A.current,G=function(){return $&&!l(h)?h:!F().isPaused()&&(p?!l(q)&&r.revalidateIfStale:l(q)||r.revalidateIfStale)},K=!(!E||!t)&&(!!W.isValidating||$&&G()),Q=function(e,t){var r=(0,n.useState)({})[1],o=(0,n.useRef)(e),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)((function(e){var n=!1,a=o.current;for(var s in e){var u=s;a[u]!==e[u]&&(a[u]=e[u],i.current[u]&&(n=!0))}n&&!t.current&&r({})}),[]);return N((function(){o.current=e})),[o,i.current,a]}({data:q,error:Z,isValidating:K},k),ee=Q[0],te=Q[1],re=Q[2],ne=(0,n.useCallback)((function(e){return o(void 0,void 0,void 0,(function(){var t,n,o,c,d,p,h,y,v,m,g,b,w;return i(this,(function(i){switch(i.label){case 0:if(t=B.current,!E||!t||k.current||F().isPaused())return[2,!1];c=!0,d=e||{},p=!j[E]||!d.dedupe,h=function(){return!k.current&&E===I.current&&A.current},y=function(){var e=j[E];e&&e[1]===o&&delete j[E]},v={isValidating:!1},m=function(){V({isValidating:!1}),h()&&re(v)},V({isValidating:!0}),re({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),p&&(D(a,E,ee.current.data,ee.current.error,!0),r.loadingTimeout&&!a.get(E)&&setTimeout((function(){c&&h()&&F().onLoadingSlow(E,r)}),r.loadingTimeout),j[E]=[t.apply(void 0,S),L()]),w=j[E],n=w[0],o=w[1],[4,n];case 2:return n=i.sent(),p&&setTimeout(y,r.dedupingInterval),j[E]&&j[E][1]===o?(V({error:u}),v.error=u,g=x[E],!l(g)&&(o<=g[0]||o<=g[1]||0===g[1])?(m(),p&&h()&&F().onDiscarded(E),[2,!1]):(s(ee.current.data,n)?v.data=ee.current.data:v.data=n,s(a.get(E),n)||a.set(E,n),p&&h()&&F().onSuccess(n,E,r),[3,4])):(p&&h()&&F().onDiscarded(E),[2,!1]);case 3:return b=i.sent(),y(),F().isPaused()||(V({error:b}),v.error=b,p&&h()&&(F().onError(b,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&H()&&F().onErrorRetry(b,E,r,ne,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,m(),h()&&p&&D(a,E,v.data,v.error,!1),[2,!0]}}))}))}),[E]),oe=(0,n.useCallback)(M.bind(u,a,(function(){return I.current})),[]);if(N((function(){B.current=t,U.current=r})),N((function(){if(E){var e=E!==I.current,t=ne.bind(u,J),r=0,n=X(E,w,(function(e,t,r){re(d({error:t,isValidating:r},s(ee.current.data,e)?u:{data:e}))})),o=X(E,b,(function(e){if(0==e){var n=Date.now();F().revalidateOnFocus&&n>r&&H()&&(r=n+F().focusThrottleInterval,t())}else if(1==e)F().revalidateOnReconnect&&H()&&t();else if(2==e)return ne()}));return k.current=!1,I.current=E,A.current=!0,e&&re({data:q,error:Z,isValidating:K}),G()&&(l(q)||_?t():C(t)),function(){k.current=!0,n(),o()}}}),[E,ne]),N((function(){var e;function t(){var t=f(y)?y(q):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){ee.current.error||!v&&!F().isVisible()||!m&&!F().isOnline()?t():ne(J).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[y,v,m,ne]),(0,n.useDebugValue)(q),p&&l(q)&&E)throw B.current=t,U.current=r,k.current=!1,l(Z)?ne(J):Z;return{mutate:oe,get data(){return te.data=!0,q},get error(){return te.error=!0,Z},get isValidating(){return te.isValidating=!0,K}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Z(),n=W(e),o=n[0],i=n[1],s=n[2],u=Y(r,s),c=a,l=u.use;if(l)for(var f=l.length;f-- >0;)c=l[f](c);return c(o,i||u.fetcher,u)});const K=wp.components,Q=wp.i18n;var ee=r(4246),te=function(){return(0,ee.jsx)("div",{className:"extendify-onboarding w-full fixed bottom-4 px-4 flex justify-end z-max",children:(0,ee.jsx)("div",{className:"shadow-2xl",children:(0,ee.jsx)(K.Snackbar,{children:(0,Q.__)("Just a moment, this is taking longer than expected.","extendify")})})})},re=r(7135),ne=r.n(re),oe=r(4206),ie=r.n(oe)().create({baseURL:window.extOnbData.root,headers:{"X-WP-Nonce":window.extOnbData.nonce,"X-Requested-With":"XMLHttpRequest","X-Extendify-Onboarding":!0,"X-Extendify":!0}});function ae(e){return Object.prototype.hasOwnProperty.call(e,"data")?e.data:e}function se(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function ue(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){se(i,n,o,a,s,"next",e)}function s(e){se(i,n,o,a,s,"throw",e)}a(void 0)}))}}ie.interceptors.response.use((function(e){return ae(e)}),(function(e){return function(e){if(e.response)return console.error(e.response),Promise.reject(ae(e.response))}(e)})),ie.interceptors.request.use((function(e){return function(e){return e.headers["X-Extendify-Onboarding-Dev-Mode"]=window.location.search.indexOf("DEVMODE")>-1,e.headers["X-Extendify-Onboarding-Local-Mode"]=window.location.search.indexOf("LOCALMODE")>-1,e}(e)}),(function(e){return e}));var ce=function(e){return ie.post("onboarding/parse-theme-json",{themeJson:e})},le=function(e,t){return ie.post("onboarding/options",{option:e,value:t})},fe=function(){var e=ue(ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/options",{params:{option:t}});case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),de=function(){var e=ue(ne().mark((function e(t){var r,n,o,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify(t)},n="".concat(window.extOnbData.wpRoot,"wp/v2/pages"),e.next=4,fetch(n,r);case 4:return o=e.sent,e.next=7,o.json();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),pe=function(){var e=ue(ne().mark((function e(t){var r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t&&t.wordpressSlug){e.next=2;break}return e.abrupt("return");case 2:return r={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},n="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.prev=4,e.next=7,fetch(n,{method:"POST",headers:r,body:JSON.stringify({slug:t.wordpressSlug,status:"active"})});case 7:if(!((o=e.sent).status>=200&&o.status<300)){e.next=12;break}return e.next=11,o.json();case 11:return e.abrupt("return",e.sent);case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(4);case 16:return e.prev=16,e.next=19,he(t);case 19:return e.abrupt("return",e.sent);case 22:e.prev=22,e.t1=e.catch(16);case 24:case"end":return e.stop()}}),e,null,[[4,14],[16,22]])})));return function(t){return e.apply(this,arguments)}}(),he=function(){var e=ue(ne().mark((function e(t){var r,n,o,i,a,s,u;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},i="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=4,fetch("".concat(i,"?search=").concat(t.wordpressSlug),{headers:o});case 4:return a=e.sent,e.next=7,a.json();case 7:if(e.t1=r=e.sent,e.t0=null===e.t1,e.t0){e.next=11;break}e.t0=void 0===r;case 11:if(!e.t0){e.next=15;break}e.t2=void 0,e.next=16;break;case 15:e.t2=null===(n=r[0])||void 0===n?void 0:n.plugin;case 16:if(s=e.t2){e.next=19;break}throw new Error("Plugin not found");case 19:return e.next=21,fetch("".concat(i,"/").concat(s),{method:"POST",headers:o,body:JSON.stringify({status:"active"})});case 21:return u=e.sent,e.next=24,u.json();case 24:return e.abrupt("return",e.sent);case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ye=function(){var e=ue(ne().mark((function e(t,r){var n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({slug:"".concat(t),theme:"extendable",type:"wp_template_part",status:"publish",description:(0,Q.sprintf)((0,Q.__)("Added by %s","extendify"),"Extendify Launch"),content:r})},e.prev=1,o="".concat(window.extOnbData.wpRoot,"wp/v2/template-parts/").concat(t),e.next=5,fetch(o,n);case 5:return i=e.sent,e.next=8,i.json();case 8:return a=e.sent,e.abrupt("return",a);case 12:e.prev=12,e.t0=e.catch(1);case 14:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r){return e.apply(this,arguments)}}(),ve=function(){var e=ue(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,me();case 2:return o=e.sent,o=null===(t=o)||void 0===t?void 0:t.filter((function(e){return"extendable"===e.theme})),i=null===(r=o)||void 0===r?void 0:r.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("header")})),a=null===(n=o)||void 0===n?void 0:n.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("footer")})),e.abrupt("return",{headers:i,footers:a});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),me=function(){var e=ue(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/template-parts",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),ge=function(){var e=ue(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/global-styles/themes/extendable/variations",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),be=function(){var e=ue(ne().mark((function e(t,r){var n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(window.extOnbData.wpRoot,"wp/v2/global-styles/").concat(t),{method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({id:t,settings:r.settings,styles:r.styles})});case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),we=r(42),xe=r.n(we);function je(e){let t;const r=new Set,n=(e,n)=>{const o="function"==typeof e?e(t):e;if(o!==t){const e=t;t=n?o:Object.assign({},t,o),r.forEach((r=>r(t,e)))}},o=()=>t,i={setState:n,getState:o,subscribe:(e,n,i)=>n||i?((e,n=o,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=n(t);function s(){const r=n(t);if(!i(a,r)){const t=a;e(a=r,t)}}return r.add(s),()=>r.delete(s)})(e,n,i):(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,o,i),i}const Oe="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function Ee(e){const t="function"==typeof e?je(e):e,r=(e=t.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((e=>e+1),0),i=t.getState(),a=(0,n.useRef)(i),s=(0,n.useRef)(e),u=(0,n.useRef)(r),c=(0,n.useRef)(!1),l=(0,n.useRef)();let f;void 0===l.current&&(l.current=e(i));let d=!1;(a.current!==i||s.current!==e||u.current!==r||c.current)&&(f=e(i),d=!r(l.current,f)),Oe((()=>{d&&(l.current=f),a.current=i,s.current=e,u.current=r,c.current=!1}));const p=(0,n.useRef)(i);Oe((()=>{const e=()=>{try{const e=t.getState(),r=s.current(e);u.current(l.current,r)||(a.current=e,l.current=r,o())}catch(e){c.current=!0,o()}},r=t.subscribe(e);return t.getState()!==p.current&&e(),r}),[]);const h=d?f:l.current;return(0,n.useDebugValue)(h),h};return Object.assign(r,t),r[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[r,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},r}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Se(e,t){return(r,n,o)=>{var i;let a=!1;"string"!=typeof t||a||(console.warn("[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead"),a=!0);const s=void 0===t?{name:void 0,anonymousActionType:void 0}:"string"==typeof t?{name:t}:t;let u;void 0!==(null==(i=null==s?void 0:s.serialize)?void 0:i.options)&&console.warn("[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`");try{u=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return"undefined"!=typeof window&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,o);let c=Object.create(u.connect(s)),l=!1;Object.defineProperty(o,"devtools",{get:()=>(l||(console.warn("[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c),set:e=>{l||(console.warn("[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c=e}});let f=!1;Object.defineProperty(c,"prefix",{get:()=>(f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0),""),set:()=>{f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0)}});let d=!0;o.setState=(e,t,o)=>{r(e,t),d&&c.send(void 0===o?{type:s.anonymousActionType||"anonymous"}:"string"==typeof o?{type:o}:o,n())};const p=(...e)=>{const t=d;d=!1,r(...e),d=t},h=e(o.setState,n,o);if(c.init(h),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return c.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):Pe(e.payload,(e=>{"__setState"!==e.type?o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e):p(e.state)}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),c.init(o.getState());case"COMMIT":return c.init(o.getState());case"ROLLBACK":return Pe(e.state,(e=>{p(e),c.init(o.getState())}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Pe(e.state,(e=>{p(e)}));case"IMPORT_STATE":{const{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;return p(n),void c.send(null,r)}case"PAUSE_RECORDING":return d=!d}return}})),h}}const Pe=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};var _e=Object.defineProperty,Ce=Object.getOwnPropertySymbols,Ne=Object.prototype.hasOwnProperty,Ae=Object.prototype.propertyIsEnumerable,ke=(e,t,r)=>t in e?_e(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Te=(e,t)=>{for(var r in t||(t={}))Ne.call(t,r)&&ke(e,r,t[r]);if(Ce)for(var r of Ce(t))Ae.call(t,r)&&ke(e,r,t[r]);return e};const Re=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then:e=>Re(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>Re(t)(e)}}},De=(e,t)=>(r,n,o)=>{let i=Te({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>Te(Te({},t),e)},t);(i.blacklist||i.whitelist)&&console.warn(`The ${i.blacklist?"blacklist":"whitelist"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);let a=!1;const s=new Set,u=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)}),n,o);c.removeItem||console.warn(`[zustand persist middleware] The given storage for item '${i.name}' does not contain a 'removeItem' method, which will be required in v4.`);const l=Re(i.serialize),f=()=>{const e=i.partialize(Te({},n()));let t;i.whitelist&&Object.keys(e).forEach((t=>{var r;!(null==(r=i.whitelist)?void 0:r.includes(t))&&delete e[t]})),i.blacklist&&i.blacklist.forEach((t=>delete e[t]));const r=l({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return r},d=o.setState;o.setState=(e,t)=>{d(e,t),f()};const p=e(((...e)=>{r(...e),f()}),n,o);let h;const y=()=>{var e;if(!c)return;a=!1,s.forEach((e=>e(n())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,n()))||void 0;return Re(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return h=i.merge(e,null!=(t=n())?t:p),r(h,!0),f()})).then((()=>{null==t||t(h,void 0),a=!0,u.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i=Te(Te({},i),e),e.getStorage&&(c=e.getStorage())},clearStorage:()=>{var e;null==(e=null==c?void 0:c.removeItem)||e.call(c,i.name)},rehydrate:()=>y(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},y(),h||p};function Ie(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Le(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ie(Object(r),!0).forEach((function(t){Me(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ie(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Me(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Be(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var Ue=function(){var e,t=(e=ne().mark((function e(t){var r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/styles",{params:t});case 2:return n=e.sent,e.next=5,ve();case 5:return o=e.sent,i=o.headers,a=o.footers,e.abrupt("return",null==n||null===(r=n.data)||void 0===r?void 0:r.map((function(e){var t,r,n,o,s,u,c=null==i?void 0:i.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.headerSlug))&&void 0!==r?r:"header"})),l=null==a?void 0:a.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.footerSlug))&&void 0!==r?r:"footer"}));return Le(Le({},e),{},{headerCode:null!==(t=null==c||null===(r=c.content)||void 0===r||null===(n=r.raw)||void 0===n?void 0:n.trim())&&void 0!==t?t:"",footerCode:null!==(o=null==l||null===(s=l.content)||void 0===s||null===(u=s.raw)||void 0===u?void 0:u.trim())&&void 0!==o?o:""})})));case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Be(i,n,o,a,s,"next",e)}function s(e){Be(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Fe=function(e){return ie.get("onboarding/template",{params:e})},He=["className"];function Ve(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function ze(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ve(Object(r),!0).forEach((function(t){Ye(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ve(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Ye(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function qe(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const We=(0,e.memo)((function(e){var t=e.className,r=qe(e,He);return(0,ee.jsx)("svg",ze(ze({className:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M8.72912 13.7449L5.77536 10.7911L4.76953 11.7899L8.72912 15.7495L17.2291 7.24948L16.2304 6.25073L8.72912 13.7449Z",fill:"currentColor"})}))}));var Ze=["className"];function Xe(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Je(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Xe(Object(r),!0).forEach((function(t){$e(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Xe(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ge(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Ke=(0,e.memo)((function(e){var t=e.className,r=Ge(e,Ze);return(0,ee.jsx)("svg",Je(Je({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M10 17.5L15 12L10 6.5",stroke:"currentColor",strokeWidth:"1.75"})}))}));var Qe=["className"];function et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?et(Object(r),!0).forEach((function(t){rt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const ot=(0,e.memo)((function(e){var t=e.className,r=nt(e,Qe);return(0,ee.jsxs)("svg",tt(tt({className:t,viewBox:"0 0 2524 492",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M609.404 378.5C585.07 378.5 563.404 373 544.404 362C525.737 350.667 511.07 335.333 500.404 316C489.737 296.333 484.404 273.833 484.404 248.5C484.404 222.833 489.57 200.167 499.904 180.5C510.237 160.833 524.737 145.5 543.404 134.5C562.07 123.167 583.404 117.5 607.404 117.5C632.404 117.5 653.904 122.833 671.904 133.5C689.904 143.833 703.737 158.333 713.404 177C723.404 195.667 728.404 218 728.404 244V262.5L516.404 263L517.404 224H667.904C667.904 207 662.404 193.333 651.404 183C640.737 172.667 626.237 167.5 607.904 167.5C593.57 167.5 581.404 170.5 571.404 176.5C561.737 182.5 554.404 191.5 549.404 203.5C544.404 215.5 541.904 230.167 541.904 247.5C541.904 274.167 547.57 294.333 558.904 308C570.57 321.667 587.737 328.5 610.404 328.5C627.07 328.5 640.737 325.333 651.404 319C662.404 312.667 669.57 303.667 672.904 292H729.404C724.07 319 710.737 340.167 689.404 355.5C668.404 370.833 641.737 378.5 609.404 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M797.529 372H728.029L813.029 251L728.029 125H799.029L853.529 209L906.029 125H974.529L890.529 250.5L972.029 372H902.029L849.029 290.5L797.529 372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M994.142 125H1150.14V176H994.142V125ZM1102.64 372H1041.64V48H1102.64V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1278.62 378.5C1254.29 378.5 1232.62 373 1213.62 362C1194.96 350.667 1180.29 335.333 1169.62 316C1158.96 296.333 1153.62 273.833 1153.62 248.5C1153.62 222.833 1158.79 200.167 1169.12 180.5C1179.46 160.833 1193.96 145.5 1212.62 134.5C1231.29 123.167 1252.62 117.5 1276.62 117.5C1301.62 117.5 1323.12 122.833 1341.12 133.5C1359.12 143.833 1372.96 158.333 1382.62 177C1392.62 195.667 1397.62 218 1397.62 244V262.5L1185.62 263L1186.62 224H1337.12C1337.12 207 1331.62 193.333 1320.62 183C1309.96 172.667 1295.46 167.5 1277.12 167.5C1262.79 167.5 1250.62 170.5 1240.62 176.5C1230.96 182.5 1223.62 191.5 1218.62 203.5C1213.62 215.5 1211.12 230.167 1211.12 247.5C1211.12 274.167 1216.79 294.333 1228.12 308C1239.79 321.667 1256.96 328.5 1279.62 328.5C1296.29 328.5 1309.96 325.333 1320.62 319C1331.62 312.667 1338.79 303.667 1342.12 292H1398.62C1393.29 319 1379.96 340.167 1358.62 355.5C1337.62 370.833 1310.96 378.5 1278.62 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1484.44 372H1423.44V125H1479.94L1484.94 157C1492.61 144.667 1503.44 135 1517.44 128C1531.78 121 1547.28 117.5 1563.94 117.5C1594.94 117.5 1618.28 126.667 1633.94 145C1649.94 163.333 1657.94 188.333 1657.94 220V372H1596.94V234.5C1596.94 213.833 1592.28 198.5 1582.94 188.5C1573.61 178.167 1560.94 173 1544.94 173C1525.94 173 1511.11 179 1500.44 191C1489.78 203 1484.44 219 1484.44 239V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1798.38 378.5C1774.38 378.5 1753.71 373.167 1736.38 362.5C1719.38 351.5 1706.04 336.333 1696.38 317C1687.04 297.667 1682.38 275.167 1682.38 249.5C1682.38 223.833 1687.04 201.167 1696.38 181.5C1706.04 161.5 1719.88 145.833 1737.88 134.5C1755.88 123.167 1777.21 117.5 1801.88 117.5C1819.21 117.5 1835.04 121 1849.38 128C1863.71 134.667 1874.71 144.167 1882.38 156.5V0H1942.88V372H1886.88L1882.88 333.5C1875.54 347.5 1864.21 358.5 1848.88 366.5C1833.88 374.5 1817.04 378.5 1798.38 378.5ZM1811.88 322.5C1826.21 322.5 1838.54 319.5 1848.88 313.5C1859.21 307.167 1867.21 298.333 1872.88 287C1878.88 275.333 1881.88 262.167 1881.88 247.5C1881.88 232.5 1878.88 219.5 1872.88 208.5C1867.21 197.167 1859.21 188.333 1848.88 182C1838.54 175.333 1826.21 172 1811.88 172C1797.88 172 1785.71 175.333 1775.38 182C1765.04 188.333 1757.04 197.167 1751.38 208.5C1746.04 219.833 1743.38 232.833 1743.38 247.5C1743.38 262.167 1746.04 275.167 1751.38 286.5C1757.04 297.833 1765.04 306.667 1775.38 313C1785.71 319.333 1797.88 322.5 1811.88 322.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1996.45 372V125H2057.45V372H1996.45ZM2026.45 75.5C2016.11 75.5 2007.28 72 1999.95 65C1992.95 57.6667 1989.45 48.8333 1989.45 38.5C1989.45 28.1667 1992.95 19.5 1999.95 12.5C2007.28 5.50001 2016.11 2.00002 2026.45 2.00002C2036.78 2.00002 2045.45 5.50001 2052.45 12.5C2059.78 19.5 2063.45 28.1667 2063.45 38.5C2063.45 48.8333 2059.78 57.6667 2052.45 65C2045.45 72 2036.78 75.5 2026.45 75.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2085.97 125H2240.97V176H2085.97V125ZM2241.47 2.5V54.5C2238.14 54.5 2234.64 54.5 2230.97 54.5C2227.64 54.5 2224.14 54.5 2220.47 54.5C2205.14 54.5 2194.8 58.1667 2189.47 65.5C2184.47 72.8333 2181.97 82.6667 2181.97 95V372H2121.47V95C2121.47 72.3333 2125.14 54.1667 2132.47 40.5C2139.8 26.5 2150.14 16.3333 2163.47 10C2176.8 3.33334 2192.3 0 2209.97 0C2214.97 0 2220.14 0.166671 2225.47 0.5C2231.14 0.833329 2236.47 1.49999 2241.47 2.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2330.4 125L2410.9 353L2377.9 415.5L2265.9 125H2330.4ZM2272.4 486.5V436H2308.9C2316.9 436 2323.9 435 2329.9 433C2335.9 431.333 2341.24 428 2345.9 423C2350.9 418 2355.07 410.667 2358.4 401L2460.9 125H2523.9L2402.9 427C2393.9 449.667 2382.57 466.167 2368.9 476.5C2355.24 486.833 2338.24 492 2317.9 492C2309.24 492 2301.07 491.5 2293.4 490.5C2286.07 489.833 2279.07 488.5 2272.4 486.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M226.926 25.1299H310.197C333.783 25.1299 342.32 27.5938 350.948 32.1932C359.576 36.8108 366.326 43.5822 370.941 52.1969C375.556 60.8298 378 69.3715 378 92.9707V176.289C378 199.888 375.537 208.43 370.941 217.063C366.326 225.696 359.558 232.449 350.948 237.066C347.091 239.131 343.244 240.83 338.064 242.047V308.355C338.064 344.802 334.261 357.994 327.162 371.327C320.034 384.66 309.583 395.09 296.285 402.221C282.96 409.353 269.775 413.13 233.349 413.13H104.744C68.3172 413.13 55.1327 409.325 41.8073 402.221C28.4819 395.09 18.0583 384.632 10.9308 371.327C3.80323 358.023 0 344.802 0 308.355V179.706C0 143.259 3.80323 130.067 10.9026 116.734C18.0301 103.401 28.4819 92.9431 41.8073 85.8116C55.1045 78.7082 68.3172 74.9028 104.744 74.9028H159.808C160.841 64.0747 162.996 58.1666 166.165 52.2151C170.78 43.5822 177.547 36.8108 186.175 32.1932C194.785 27.5938 203.34 25.1299 226.926 25.1299ZM184.128 78.1641C184.128 62.7001 196.658 50.1641 212.114 50.1641H324.991C340.448 50.1641 352.978 62.7001 352.978 78.1641V191.096C352.978 206.56 340.448 219.096 324.991 219.096H212.114C196.658 219.096 184.128 206.56 184.128 191.096V78.1641Z",fill:"currentColor"})]}))}));var it=["className"];function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){ut(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ct(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const lt=(0,e.memo)((function(e){var t=e.className,r=ct(e,it);return(0,ee.jsx)("svg",st(st({className:t,viewBox:"-4 -4 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{stroke:"currentColor",d:"M6.5 0.5h0s6 0 6 6v0s0 6 -6 6h0s-6 0 -6 -6v0s0 -6 6 -6"})}))}));var ft=["className"];function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(0,e.memo)((function(e){var t=e.className,r=yt(e,ft);return(0,ee.jsx)("svg",pt(pt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{fill:"currentColor",d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"})}))}));var vt=["className"];function mt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function gt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?mt(Object(r),!0).forEach((function(t){bt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function bt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function wt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const xt=(0,e.memo)((function(e){var t=e.className,r=wt(e,vt);return(0,ee.jsx)("svg",gt(gt({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M15 17.5L10 12L15 6.5",stroke:"currentColor",strokeWidth:"1.75"})}))}));var jt=["className"];function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach((function(t){St(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const _t=(0,e.memo)((function(e){var t=e.className,r=Pt(e,jt);return(0,ee.jsxs)("svg",Et(Et({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M8 18.5504L12 14.8899",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,ee.jsx)("path",{d:"M20.25 11.7523C20.25 14.547 18.092 16.7546 15.5 16.7546C12.908 16.7546 10.75 14.547 10.75 11.7523C10.75 8.95754 12.908 6.75 15.5 6.75C18.092 6.75 20.25 8.95754 20.25 11.7523Z",stroke:"#1E1E1E",strokeWidth:"1.5"})]}))}));var Ct=["className"];function Nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function At(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(r),!0).forEach((function(t){kt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function kt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Rt=(0,e.memo)((function(e){var t=e.className,r=Tt(e,Ct);return(0,ee.jsxs)("svg",At(At({className:t,width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M87.5 48.8281H75V51.1719H87.5V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M25 48.8281H12.5V51.1719H25V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 75H48.8281V87.5H51.1719V75Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 12.5H48.8281V25H51.1719V12.5Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3433 75.6868L69.4082 67.7517L67.7511 69.4088L75.6862 77.344L77.3433 75.6868Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2457 30.5897L24.3105 22.6545L22.6534 24.3117L30.5885 32.2468L32.2457 30.5897Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3407 24.3131L75.6836 22.656L67.7485 30.5911L69.4056 32.2483L77.3407 24.3131Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2431 69.4074L30.5859 67.7502L22.6508 75.6854L24.3079 77.3425L32.2431 69.4074Z",fill:"black"})]}))}));var Dt=function(e){var t=e.label,r=e.slug,n=e.description,o=e.checked,i=e.onClick,a=e.onChange;return(0,ee.jsxs)("label",{className:"flex hover:text-partner-primary-bg focus-within:text-partner-primary-bg",htmlFor:r,onClick:i,onChange:null!=a?a:i,children:[(0,ee.jsxs)("span",{className:"mt-0.5 w-6 h-6 relative inline-block mr-3 align-middle",children:[(0,ee.jsx)("input",{id:r,className:"h-5 w-5 rounded-sm",type:"checkbox",defaultChecked:o}),(0,ee.jsx)(We,{className:"absolute components-checkbox-control__checked",style:{width:24,color:"#fff"},role:"presentation"})]}),(0,ee.jsxs)("span",{children:[(0,ee.jsx)("span",{className:"text-base",children:t}),n?(0,ee.jsx)("span",{className:"block pt-1",children:n}):(0,ee.jsx)("span",{})]})]})};function It(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Lt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?It(Object(r),!0).forEach((function(t){Mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):It(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Bt,Ut,Ft=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=G(e,t,Lt({dedupingInterval:6e4,refreshInterval:0},n)),i=o.data,a=o.error,s=null!==(r=null==i?void 0:i.data)&&void 0!==r?r:i;return{data:s,loading:!s&&!a,error:a}};function Ht(e){return function(e){if(Array.isArray(e))return Vt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Vt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Vt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Yt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zt(Object(r),!0).forEach((function(t){qt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function qt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Wt,Zt,Xt={touched:[]},Jt=function(e){return Yt(Yt({},Xt),{},{touch:function(t){e((function(e){e.touched.includes(t)||(e.touched=[].concat(Ht(e.touched),[t]))}))},resetState:function(){e(Xt)}})},$t=null!==(Bt=window)&&void 0!==Bt&&null!==(Ut=Bt.extOnbData)&&void 0!==Ut&&Ut.devbuild?Ee(Se(Jt)):Ee(De(Se(Jt),{name:"extendify-progress",getStorage:function(){return localStorage},partialize:function(e){return{touched:e.touched}}}));function Gt(e){return function(e){if(Array.isArray(e))return Kt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Kt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Kt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Kt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Qt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function er(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Qt(Object(r),!0).forEach((function(t){tr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Qt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function tr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var rr={siteType:{},siteInformation:{title:void 0},style:null,pages:[],plugins:[],goals:[]},nr=function(e,t){return er(er({},rr),{},{setSiteType:function(t){e({siteType:t})},setSiteInformation:function(r,n){var o=er(er({},t().siteInformation),{},tr({},r,n));e({siteInformation:o})},has:function(e,r){return!(null==r||!r.id)&&t()[e].some((function(e){return e.id===r.id}))},add:function(r,n){t().has(r,n)||e(tr({},r,[].concat(Gt(t()[r]),[n])))},remove:function(r,n){e(tr({},r,t()[r].filter((function(e){return e.id!==n.id}))))},reset:function(t){e(tr({},t,[]))},toggle:function(e,r){t().has(e,r)?t().remove(e,r):t().add(e,r)},setStyle:function(t){e({style:t})},canLaunch:function(){var e,r,n,o,i,a,s,u;return(null===(e=Object.keys(null!==(r=null===(n=t())||void 0===n?void 0:n.siteType)&&void 0!==r?r:{}))||void 0===e?void 0:e.length)>0&&(null===(o=Object.keys(null!==(i=null===(a=t())||void 0===a?void 0:a.style)&&void 0!==i?i:{}))||void 0===o?void 0:o.length)>0&&(null===(s=t())||void 0===s||null===(u=s.pages)||void 0===u?void 0:u.length)>0},resetState:function(){e(rr)}})},or=null!==(Wt=window)&&void 0!==Wt&&null!==(Zt=Wt.extOnbData)&&void 0!==Zt&&Zt.devbuild?Ee(Se(nr)):Ee(De(Se(nr),{name:"extendify-site-selection",getStorage:function(){return localStorage},partialize:function(e){var t,r,n,o,i,a;return{siteType:null!==(t=null==e?void 0:e.siteType)&&void 0!==t?t:{},siteInformation:null!==(r=null==e?void 0:e.siteInformation)&&void 0!==r?r:{},style:null!==(n=null==e?void 0:e.style)&&void 0!==n?n:null,pages:null!==(o=null==e?void 0:e.pages)&&void 0!==o?o:[],plugins:null!==(i=null==e?void 0:e.plugins)&&void 0!==i?i:[],goals:null!==(a=null==e?void 0:e.goals)&&void 0!==a?a:[]}}})),ir=function(){return ie.get("onboarding/goals")},ar=function(){return{key:"goals"}},sr={key:"goals",title:(0,Q.__)("Goals","extendify"),completed:function(){return!0}};function ur(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function cr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var lr=function(){var e,t=(e=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fe("blogname");case 2:return t=e.sent,e.abrupt("return",{title:t});case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){cr(i,n,o,a,s,"next",e)}function s(e){cr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),fr=function(){return{key:"site-info"}},dr={key:"site-title",title:(0,Q.__)("Site Title","extendify"),completed:function(){return!0}};const pr=wp.blockEditor,hr=wp.blocks;var yr=function(e){var t,r;return[null==e||null===(t=e.template)||void 0===t?void 0:t.code,null==e||null===(r=e.template)||void 0===r?void 0:r.code2].filter(Boolean).join("")};function vr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function mr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?vr(Object(r),!0).forEach((function(t){gr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):vr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function gr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function br(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return wr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return wr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function xr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var jr=function(){var e,t=(e=ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return","{}");case 2:return e.next=4,ce(JSON.stringify(t));case 4:return n=e.sent,e.abrupt("return",null!==(r=null==n?void 0:n.styles)&&void 0!==r?r:"{}");case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){xr(i,n,o,a,s,"next",e)}function s(e){xr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Or=function(t){var r,n,o=t.style,i=t.selectStyle,a=t.blockHeight,s=t.onHover,u=void 0===s?null:s,c=or((function(e){return e.siteType})),l=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),f=br((0,e.useState)(""),2),d=f[0],p=f[1],h=br((0,e.useState)(!1),2),y=h[0],v=h[1],m=br((0,e.useState)(!1),2),g=m[0],b=m[1],w=br((0,e.useState)(null),2),x=w[0],j=w[1],O=br((0,e.useState)(),2),E=O[0],S=O[1],P=(0,e.useRef)(null),_=(0,e.useRef)(null),C=(0,e.useRef)(null),N=(0,e.useRef)(null),A=Ft(g&&E?E:null,jr).data,k=Ft("variations",ge).data,T=(0,e.useMemo)((function(){return(0,hr.rawHandler)({HTML:(e=d,e.replace(/\w+:\/\/\S*(w=(\d*))&\w+\S*"/g,(function(e,t,r){return e.replace(t,"w="+Math.floor(Number(r))+"&q=10")})))});var e}),[d]),R=(0,e.useMemo)((function(){return A?(0,pr.transformStyles)([{css:A}],".editor-styles-wrapper"):null}),[A]);return(0,e.useEffect)((function(){if(null!=k&&k.length){var e=k.find((function(e){return e.title===o.label}));S(e)}}),[o,k]),(0,e.useEffect)((function(){if(A&&null!=o&&o.code){var e=[null==o?void 0:o.headerCode,null==o?void 0:o.code,null==o?void 0:o.footerCode].filter(Boolean).join("").replace(/<!-- wp:navigation[.\S\s]*?\/wp:navigation -->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e').replace(/<!-- wp:navigation.*\/-->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e');p(e)}}),[null==c?void 0:c.slug,A,o]),(0,e.useEffect)((function(){var e,t;if(_.current&&y){var r=P.current,n=r.offsetWidth/1400,o=_.current.contentDocument.body;null!=o&&o.style&&(o.style.transitionProperty="all",o.style.top=0);var i=function(){var t,r;if(o.offsetHeight){var i=(null!==(t=null==C||null===(r=C.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==t?t:a)-32,s=o.getBoundingClientRect().height-i/n;o.style.transitionDuration=Math.max(2*s,3e3)+"ms",e=window.requestAnimationFrame((function(){o.style.top=-1*Math.max(0,s)+"px"}))}},s=function(){var e,r;if(o.offsetHeight){var i=(null!==(e=null==C||null===(r=C.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==e?e:a)-32,s=o.offsetHeight-i/n;o.style.transitionDuration=s+"ms",t=window.requestAnimationFrame((function(){o.style.top=0}))}};return r.addEventListener("focus",i),r.addEventListener("mouseenter",i),r.addEventListener("blur",s),r.addEventListener("mouseleave",s),function(){window.cancelAnimationFrame(e),window.cancelAnimationFrame(t),r.removeEventListener("focus",i),r.removeEventListener("mouseenter",i),r.removeEventListener("blur",s),r.removeEventListener("mouseleave",s)}}}),[a,y]),(0,e.useEffect)((function(){if(null!=T&&T.length&&g){var e,t=function(){var t,r,n;null!==(t=e.contentDocument)&&void 0!==t&&t.getElementById("ext-tj")||(null===(r=e.contentDocument)||void 0===r||null===(n=r.head)||void 0===n||n.insertAdjacentHTML("beforeend",'<style id="ext-tj">'.concat(R,"</style>")));_.current=e,setTimeout((function(){l.current&&v(!0)}),500)},r=new MutationObserver((function(){(e=P.current.querySelector("iframe[title]")).addEventListener("load",t),setTimeout((function(){t()}),2e3),r.disconnect()}));return r.observe(P.current,{attributes:!1,childList:!0,subtree:!1}),function(){var n;r.disconnect(),null===(n=e)||void 0===n||n.removeEventListener("load",t)}}}),[T,R,l,g]),(0,e.useEffect)((function(){return N.current||(N.current=new IntersectionObserver((function(e){e[0].isIntersecting&&b(!0)}))),N.current.observe(C.current),function(){N.current.disconnect()}}),[]),(0,ee.jsxs)(ee.Fragment,{children:[y&&d?null:(0,ee.jsx)("div",{className:"m-3 absolute inset-0 bg-gray-50 flex items-center justify-center",children:(0,ee.jsx)(Rt,{className:"spin w-8"})}),(0,ee.jsxs)("div",{ref:C,role:i?"button":void 0,tabIndex:i?0:void 0,"aria-label":i?(0,Q.__)("Press to select","extendify"):void 0,className:xe()("group w-full overflow-hidden bg-transparent z-10",{relative:y,"absolute opacity-0":!y,"button-focus button-card":i}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&i&&i(mr(mr({},o),{},{variation:E}))},onMouseEnter:function(){u&&j(u)},onMouseLeave:function(){x&&(x(),j(null))},onClick:i?function(){return i(mr(mr({},o),{},{variation:E}))}:function(){},children:[null!==(r=window)&&void 0!==r&&null!==(n=r.extOnbData)&&void 0!==n&&n.devbuild?(0,ee.jsx)("div",{className:"-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300",children:null==o?void 0:o.label}):null,(0,ee.jsx)("div",{ref:P,className:"relative rounded-lg",children:g?(0,ee.jsx)(pr.BlockPreview,{blocks:T,viewportWidth:1400,live:!1}):null})]})]})};function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Pr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _r=function(e){return Fe(e)},Cr=function(e){var t=e.page,r=e.blockHeight,n=e.required,o=void 0!==n&&n,i=e.displayOnly,a=void 0!==i&&i,s=or(),u=s.siteType,c=s.style,l=s.toggle,f=s.has,d="home"===(null==t?void 0:t.slug),p=Ft({siteType:u.slug,layoutType:t.slug,baseLayout:d?null==c?void 0:c.homeBaseLayout:null,kit:"home"!==t.slug?null==c?void 0:c.kit:null},_r).data;return a?(0,ee.jsxs)("div",{className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100",children:[(0,ee.jsx)("div",{className:"border-gray-100 border-b p-2 flex justify-between min-w-sm z-30 relative bg-white",children:t.title}),(0,ee.jsx)(Or,{blockHeight:r,style:Sr(Sr({},c),{},{code:yr({template:p})})},null==c?void 0:c.recordId)]}):(0,ee.jsx)("div",{children:(0,ee.jsxs)("div",{role:"button",tabIndex:0,"aria-label":(0,Q.__)("Press to select","extendify"),disabled:o,className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 button-focus",onClick:function(){return o||l("pages",t)},title:o?(0,Q.sprintf)((0,Q.__)("%s page is required","extendify"),t.title):(0,Q.sprintf)((0,Q.__)("Toggle %s page","extendify"),t.title),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(o||l("pages",t))},children:[(0,ee.jsx)("div",{className:"border-gray-100 border-b min-w-sm z-30 relative bg-white",children:(0,ee.jsxs)("div",{className:"p-2 flex justify-between",children:[(0,ee.jsxs)("div",{className:xe()("flex items-center",{"text-gray-700":!f("pages",t)}),children:[(0,ee.jsx)("span",{children:t.title}),o&&(0,ee.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),f("pages",t)?(0,ee.jsx)("div",{className:xe()("w-5 h-5 rounded-sm",{"bg-gray-700":o,"bg-partner-primary-bg":!o}),children:(0,ee.jsx)(We,{className:"text-white w-5"})}):(0,ee.jsx)("div",{className:xe()("border w-5 h-5 rounded-sm",{"border-gray-700":o,"border-partner-primary-bg":!o})})]})}),(0,ee.jsx)(Or,{blockHeight:r,style:Sr(Sr({},c),{},{code:yr({template:p})})},null==c?void 0:c.recordId)]})})};function Nr(e){return Nr="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},Nr(e)}function Ar(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Rr(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function kr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Rr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Tr(e){return function(e){if(Array.isArray(e))return Dr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Rr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Rr(e,t){if(e){if("string"==typeof e)return Dr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Dr(e,t):void 0}}function Dr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Ir(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Lr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ir(i,n,o,a,s,"next",e)}function s(e){Ir(i,n,o,a,s,"throw",e)}a(void 0)}))}}var Mr=function(){var e=Lr(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/layout-types");case 2:if(n=e.sent,null!=(o=null!==(t=null==n?void 0:n.data)&&void 0!==t?t:[])&&o.length){e.next=6;break}throw new Error("Error fetching pages");case 6:return i=o[0],a=null===(r=o.slice(1))||void 0===r?void 0:r.sort((function(e,t){return e.title>t.title?1:-1})),e.abrupt("return",[i].concat(Tr(null!=a?a:[])));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Br=function(){return{key:"layout-types"}},Ur={key:"pages",title:(0,Q.__)("Pages","extendify"),completed:function(){return!0}};function Fr(e){return function(e){if(Array.isArray(e))return Wr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||qr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e){return Hr="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},Hr(e)}function Vr(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=qr(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function zr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Yr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||qr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function qr(e,t){if(e){if("string"==typeof e)return Wr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Wr(e,t):void 0}}function Wr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Zr=function(e){return Ue(e)},Xr=function(e){var t,r,n,o,i;return{key:"site-style",siteType:null!==(r=null===(n=e=null!==(t=e)&&void 0!==t?t:null==or?void 0:or.getState().siteType)||void 0===n?void 0:n.slug)&&void 0!==r?r:"default",styles:null!==(o=null===(i=e)||void 0===i?void 0:i.styles)&&void 0!==o?o:[]}},Jr={key:"style",title:(0,Q.__)("Design","extendify"),completed:function(){return!0}},$r=function(){return ie.get("onboarding/suggested-plugins")},Gr=function(){return{key:"plugins"}},Kr=function(){var t,r=Ft(Gr,$r).data,n=or(),o=n.goals,i=n.add,a=n.toggle,s=n.remove,u=(0,e.useMemo)((function(){return null==o||!o.length||!(null!=o&&o.find((function(e){return null==r?void 0:r.some((function(t){var r;return null==t||null===(r=t.goals)||void 0===r?void 0:r.includes(null==e?void 0:e.slug)}))})))}),[o,r]),c=(0,e.useCallback)((function(e){if(u)return!0;var t=o.map((function(e){return e.slug}));return null==e?void 0:e.goals.find((function(e){return t.includes(e)}))}),[o,u]);return(0,e.useEffect)((function(){var e;null==r||r.forEach((function(e){return s("plugins",e)})),u||null==r||null===(e=r.filter(c))||void 0===e||e.forEach((function(e){return i("plugins",e)}))}),[r,i,u,c,s]),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsx)("div",{className:"xl:grid grid-cols-3-minmax-300px-1fr max-w-4xl gap-x-4 gap-y-3",children:null==r||null===(t=r.filter(c))||void 0===t?void 0:t.map((function(e){return(0,ee.jsx)("div",{className:"pb-3",children:(0,ee.jsx)(Dt,{label:e.name,slug:e.wordpressSlug,description:e.description,checked:!u,onClick:function(){return a("plugins",e)}})},e.id)}))})})};function Qr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function en(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return tn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var rn,nn,on=function(){return ie.get("onboarding/site-types")},an=function(){return{key:"site-types"}},sn={key:"site-type",title:(0,Q.__)("Site Industry","extendify"),completed:function(){return!0}},un=function(t){var r=t.option,n=t.selectSiteType,o=(0,e.useRef)(0),i=$t((function(e){return e.touch}));return(0,ee.jsxs)("button",{onClick:function(){n(r),i(sn.key)},onMouseEnter:function(){window.clearTimeout(o.current),o.current=window.setTimeout((function(){var e=function(){return Xr(r)};V(e,(function(t){return null!=t&&t.length?t:Zr(e())}))}),100)},onMouseLeave:function(){window.clearTimeout(o.current)},className:"flex border border-gray-800 hover:text-partner-primary-bg focus:text-partner-primary-bg items-center justify-between mb-2 p-4 py-3 relative w-full button-focus",children:[(0,ee.jsx)("span",{className:"text-left",children:r.title}),(0,ee.jsx)(Ke,{})]})},cn=[["welcome",{component:function(){var t=dn((function(e){return e.nextPage})),r=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return r.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[r]);var n=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,le("extendify_onboarding_skipped",(new Date).toISOString());case 3:location.href=window.extOnbData.adminUrl;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ur(i,n,o,a,s,"next",e)}function s(e){ur(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Welcome to Your WordPress Site","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.","extendify")})]}),(0,ee.jsxs)("div",{className:"",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Pick one:","extendify")}),(0,ee.jsxs)("div",{className:"lg:flex lg:space-x-8",children:[(0,ee.jsxs)("button",{onClick:t,ref:r,type:"button","aria-label":(0,Q.__)("Press to continue","extendify"),className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/extendify-preview.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:"Extendify Launch"}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Create a super-fast, beautiful, and fully customized site in minutes. Simply answer a few questions and pick a design to get started. Then, everything can be fully customized in the core WordPress editor.","extendify")})]}),(0,ee.jsxs)("a",{onClick:function(e){return n(e)},className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/wp-admin.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:(0,Q.__)("WordPress Dashboard","extendify")}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Are you a WordPress developer and want to go straight to the admin dashboard?","extendify")})]})]})]})]})},metadata:{key:"welcome",skippable:!0}}],["goals",{component:function(){var t=Ft(ar,ir),r=t.data,n=t.loading,o=or(),i=o.toggle,a=o.has,s=dn((function(e){return e.nextPage})),u=(0,e.useRef)(),c=$t((function(e){return e.touch}));return(0,e.useEffect)((function(){if(u.current){var e=requestAnimationFrame((function(){return u.current.querySelector("input").focus()}));return function(){return cancelAnimationFrame(e)}}}),[u]),(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What do you want to accomplish with this new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can change these later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Select the goals relevant to your site:","extendify")}),n?(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}):(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),s()},className:"w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select",children:[(0,ee.jsx)("input",{type:"submit",className:"hidden"}),r&&(null==r?void 0:r.length)>0?null==r?void 0:r.map((function(e,t){return(0,ee.jsx)("div",{className:"border border-gray-800 rounded-lg p-4",ref:0===t?u:void 0,children:(0,ee.jsx)(Dt,{label:e.title,checked:a(sr.key,e),onChange:function(){i(sr.key,e),c(sr.key)}})},e.id)})):null]})]})]})},fetcher:ir,fetchData:ar,metadata:sr}],["site-type",{component:function(){var t=or((function(e){return e.siteType})),r=dn((function(e){return e.nextPage})),n=en((0,e.useState)([]),2),o=n[0],i=n[1],a=en((0,e.useState)(""),2),s=a[0],u=a[1],c=en((0,e.useState)(!0),2),l=c[0],f=c[1],d=(0,e.useRef)(null),p=Ft(an,on),h=p.data,y=p.loading;(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return d.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[d]),(0,e.useEffect)((function(){if(!(y||null!=t&&t.slug)){var e=null==h?void 0:h.find((function(e){return"default"===e.slug}));e&&or.getState().setSiteType({label:e.title,recordId:e.id,slug:e.slug})}}),[y,null==t?void 0:t.slug,h]),(0,e.useEffect)((function(){y||((null==s?void 0:s.length)>0?i(null==h?void 0:h.filter((function(e){var t=e.title,r=e.keywords,n=null==s?void 0:s.toLowerCase();return!n||(t.toLowerCase().indexOf(n)>-1||!(null==r||!r.length)&&r.find((function(e){return e.toLowerCase().indexOf(n)>-1})))}))):(i(null==h?void 0:h.filter((function(e){return e.featured}))),f(!0)))}),[h,s,y]),(0,e.useEffect)((function(){y||i(l?h.filter((function(e){return e.featured})):h)}),[h,l,y]);var v=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return or.getState().setSiteType({label:t.title,recordId:t.id,slug:t.slug,styles:t.styles}),e.next=3,le("extendify_siteType",t);case 3:r();case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Qr(i,n,o,a,s,"next",e)}function s(e){Qr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What is your site about?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("Search for your site industry.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-80",children:[(0,ee.jsxs)("div",{className:"flex justify-between mb-4",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 text-gray-900",children:(0,Q.__)("Choose an industry","extendify")}),(null==s?void 0:s.length)>0?null:(0,ee.jsx)("button",{type:"button",className:"bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline cursor-pointer",onClick:function(){f((function(e){return!e})),d.current.focus()},children:l?(0,Q.sprintf)((0,Q.__)("Show all %s","extendify"),y?"...":h.length):(0,Q.__)("Show less","extendify")})]}),(0,ee.jsxs)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:[(0,ee.jsx)("input",{ref:d,type:"text",className:"w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white",value:s,onChange:function(e){return u(e.target.value)},placeholder:(0,Q.__)("Search...","extendify")}),(0,ee.jsx)(_t,{className:"icon-search"})]}),y&&(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}),(null==o?void 0:o.length)>0&&(0,ee.jsx)("div",{children:(0,ee.jsx)("div",{className:"overflow-y-auto p-2 -m-2",style:{maxHeight:"380px"},children:o.map((function(e){return(0,ee.jsx)(un,{selectSiteType:v,option:e},e.id)}))})})]})]})},fetcher:on,fetchData:an,metadata:sn}],["style",{component:function(){var t,r=or((function(e){return e.siteType})),n=dn((function(e){return e.nextPage})),o=Ft(Xr,Zr),i=o.data,a=o.loading,s=(0,e.useRef)(!1),u=(0,e.useRef)(),c=function(){var t=(0,e.useRef)(!1);return(0,e.useLayoutEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),l=(0,e.useCallback)((function(e){or.getState().setStyle(e),h(Jr.key),n()}),[n,h]),f=Yr((0,e.useState)([]),2),d=f[0],p=f[1],h=$t((function(e){return e.touch}));return(0,e.useEffect)((function(){var e;null!=i&&i.length&&(e=ne().mark((function e(){var t,r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=Vr(i),e.prev=1,n=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.value,c.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return p((function(e){return[].concat(Fr(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,1e3)}));case 6:case"end":return e.stop()}}),e)})),t.s();case 4:if((r=t.n()).done){e.next=11;break}return e.delegateYield(n(),"t0",6);case 6:if("object"!==Hr(o=e.t0)){e.next=9;break}return e.abrupt("return",o.v);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(1),t.e(e.t1);case 16:return e.prev=16,t.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,13,16,19]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){zr(i,n,o,a,s,"next",e)}function s(e){zr(i,n,o,a,s,"throw",e)}a(void 0)}))})()}),[i,c]),(0,e.useEffect)((function(){null!=d&&d.length&&!or.getState().style&&or.getState().setStyle(d[0])}),[d]),(0,e.useEffect)((function(){var e,t;null!=d&&d.length&&!s.current&&(s.current=!0,null==u||null===(e=u.current)||void 0===e||null===(t=e.querySelector("[role=button]"))||void 0===t||t.focus())}),[d]),(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Now pick a design for your new %s site.","extendify"),null==r||null===(t=r.label)||void 0===t?void 0:t.toLowerCase())}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can personalize this later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:a?(0,Q.__)("Please wait a moment while we generate style previews...","extendify"):(0,Q.__)("Pick your style","extendify")}),(0,ee.jsxs)("div",{ref:u,className:"lg:flex space-y-6 lg:space-y-0 flex-wrap",children:[null==d?void 0:d.map((function(e){return(0,ee.jsx)("div",{className:"p-3 relative",style:{height:590,width:425},children:(0,ee.jsx)(Or,{style:e,selectStyle:l,blockHeight:590})},e.recordId)})),null==i?void 0:i.slice(null==d?void 0:d.length).map((function(e){return(0,ee.jsx)("div",{style:{height:590,width:425},className:"p-3 relative",children:(0,ee.jsx)("div",{className:"bg-gray-50 h-full w-full flex items-center justify-center",children:(0,ee.jsx)(Rt,{className:"spin w-8"})})},e.slug)}))]})]})]})},metadata:Jr}],["pages",{component:function(){var t=Ft(Br,Mr).data,r=kr((0,e.useState)([]),2),n=r[0],o=r[1],i=or(),a=i.add,s=i.goals,u=i.reset,c=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),l=$t((function(e){return e.touch}));return(0,e.useEffect)((function(){if(null!=t&&t.length){var e=t.filter((function(e){var t,r,n;return null==s||!s.length||(null==e||null===(t=e.goals)||void 0===t||!t.length||(null===(r=null==e||null===(n=e.goals)||void 0===n?void 0:n.some((function(e){return s.some((function(t){return e==t.id}))})))||void 0===r||r))}));Lr(ne().mark((function t(){var r,n,i,a;return ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=Ar(e),t.prev=1,i=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.value,c.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return o((function(e){return[].concat(Tr(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,100)}));case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",6);case 6:if("object"!==Nr(a=t.t0)){t.next=9;break}return t.abrupt("return",a.v);case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(1),r.e(t.t1);case 16:return t.prev=16,r.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[1,13,16,19]])})))()}}),[t,s,c]),(0,e.useEffect)((function(){u("pages"),null==n||n.map((function(e){return a("pages",e)}))}),[n,a,u]),(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What pages do you want on this site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You may add more later","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Pick the pages you'd like to add to your site","extendify")}),(0,ee.jsx)("div",{className:"lg:flex mt-0 flex-wrap",children:null==n?void 0:n.map((function(e){return(0,ee.jsx)("div",{onClick:function(){return l(Ur.key)},className:"px-3 mb-12 relative",style:{height:442.5,width:318.75},children:(0,ee.jsx)(Cr,{required:"home"===(null==e?void 0:e.slug),page:e,blockHeight:442.5})},e.id)}))})]})]})},fetcher:Mr,fetchData:Br,metadata:Ur}],["site-title",{component:function(){var t,r=or(),n=r.siteInformation,o=r.setSiteInformation,i=(0,e.useRef)(null),a=dn((function(e){return e.nextPage})),s=Ft(fr,lr).data,u=$t((function(e){return e.touch}));return(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return i.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[i]),(0,e.useEffect)((function(){null!=s&&s.title&&void 0===(null==n?void 0:n.title)&&o("title",s.title)}),[s,o,n]),(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What's the name of your new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70",children:(0,Q.__)("You can change this later.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a()},children:[(0,ee.jsx)("label",{htmlFor:"extendify-site-title-input",className:"block text-lg m-0 mb-4 font-semibold text-gray-900",children:(0,Q.__)("What's the name of your site?","extendify")}),(0,ee.jsx)("div",{className:"mb-8",children:(0,ee.jsx)("input",{autoComplete:"off",ref:i,type:"text",name:"site-title-input",id:"extendify-site-title-input",className:"w-96 max-w-full border h-12 input-focus",value:null!==(t=null==n?void 0:n.title)&&void 0!==t?t:"",onChange:function(e){o("title",e.target.value),u(dr.key)},placeholder:(0,Q.__)("Enter your preferred site title...","extendify")})})]})})]})},fetcher:lr,fetchData:fr,metadata:dr}],["confirmation",{component:function(){var e=or(),t=e.siteType,r=e.style,n=e.pages,o=e.goals,i=dn((function(e){return e.setPage}));return(0,ee.jsxs)(bn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Let's launch your site!","extendify")}),(0,ee.jsx)("p",{className:"text-base",children:(0,Q.__)("Review your site configuration.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsxs)("div",{className:"flex flex-col space-y-8",children:[(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsxs)("div",{className:"flex align-center",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Design","extendify")}),(0,ee.jsx)("button",{className:"text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2",onClick:function(){return i("style")},title:(0,Q.__)("Press to change the style","extendify"),children:(0,Q.__)("Change","extendify")})]}),null!=r&&r.label?(0,ee.jsxs)("div",{className:"overflow-hidden rounded-lg relative",children:[(0,ee.jsx)("span",{"aria-hidden":"true",className:"absolute top-0 bottom-0 left-3/4 right-0 z-40 bg-gradient-to-l from-white"}),n.length>0&&(0,ee.jsx)("div",{className:"flex items-start space-x-2 w-full overflow-y-scroll",children:(0,ee.jsx)("div",{className:"lg:flex flex-no-wrap",children:null==n?void 0:n.map((function(e){return(0,ee.jsx)("div",{className:"px-3 relative pointer-events-none",style:{height:387,width:255},children:(0,ee.jsx)(Cr,{displayOnly:!0,page:e,blockHeight:175})},e.id)}))})})]}):(0,ee.jsx)("button",{onClick:function(){return i("style")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to change the style","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsxs)("div",{className:"flex align-center",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Industry","extendify")}),(0,ee.jsx)("button",{className:"text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2",onClick:function(){return i("site-type")},title:(0,Q.__)("Press to change the site type","extendify"),children:(0,Q.__)("Change","extendify")})]}),null!=t&&t.label?(0,ee.jsxs)("div",{className:"flex items-center",children:[(0,ee.jsx)(We,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:t.label})]}):(0,ee.jsx)("button",{onClick:function(){return i("site-type")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set a site type","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsxs)("div",{className:"flex align-center",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Goals","extendify")}),(0,ee.jsx)("button",{className:"text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2",onClick:function(){return i("goals")},title:(0,Q.__)("Press to change the selected goals","extendify"),children:(0,Q.__)("Change","extendify")})]}),o.length>0?(0,ee.jsx)("div",{className:"xl:grid grid-cols-3-minmax-300px-1fr gap-x-4 gap-y-1 -mx-6",children:null==o?void 0:o.map((function(e){return(0,ee.jsxs)("div",{className:"px-6 pb-2 flex items-center",children:[(0,ee.jsx)(We,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:e.title})]},e.id)}))}):(0,ee.jsx)("button",{onClick:function(){return i("goals")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set your goals","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsxs)("div",{className:"flex align-center",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Pages","extendify")}),(0,ee.jsx)("button",{className:"text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2",onClick:function(){return i("pages")},title:(0,Q.__)("Press to change the selected pages","extendify"),children:(0,Q.__)("Change","extendify")})]}),n.length>0?(0,ee.jsx)("div",{className:"xl:grid grid-cols-3-minmax-300px-1fr gap-x-4 gap-y-1 -mx-6",children:null==n?void 0:n.map((function(e){return(0,ee.jsxs)("div",{className:"px-6 pb-2 flex items-center",children:[(0,ee.jsx)(We,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:e.title})]},e.id)}))}):(0,ee.jsx)("button",{onClick:function(){return i("pages")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set your pages","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Plugins","extendify")}),(0,ee.jsx)("div",{className:"flex items-start space-x-2 cursor-pointer w-full",children:(0,ee.jsx)(Kr,{})})]})]})})]})},metadata:{key:"confirmation"}}]],ln=cn.filter((function(e){var t,r;return!(null!==(t=window.extOnbData)&&void 0!==t&&null!==(r=t.partnerSkipSteps)&&void 0!==r&&r.includes(e[0]))})),fn=function(e,t){return{pages:new Map(ln),currentPageIndex:0,count:function(){return t().pages.size},pageOrder:function(){return Array.from(t().pages.keys())},currentPageData:function(){return t().pages.get(t().currentPageSlug())},currentPageSlug:function(){return t().pageOrder()[t().currentPageIndex]},nextPageData:function(){var e=t().currentPageIndex+1;return e>t().count()-1?{}:t().pages.get(t().pageOrder()[e])},setPage:function(r){"string"==typeof r&&(r=t().pageOrder().indexOf(r)),r>t().count()-1||r<0||e({currentPageIndex:r})},nextPage:function(){t().setPage(t().currentPageIndex+1)},previousPage:function(){t().setPage(t().currentPageIndex-1)}}},dn=null!==(rn=window)&&void 0!==rn&&null!==(nn=rn.extOnbData)&&void 0!==nn&&nn.devbuild?Ee(Se(fn)):Ee(De(Se(fn),{name:"extendify-pages",getStorage:function(){return localStorage},partialize:function(e){var t;return{currentPageIndex:null!==(t=null==e?void 0:e.currentPageIndex)&&void 0!==t?t:0}}}));function pn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function hn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?pn(Object(r),!0).forEach((function(t){yn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function yn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var vn=function(t){var r=t.disabled,n=void 0!==r&&r,o=dn().setPage,i=dn((function(e){return e.pages})),a=dn((function(e){return e.currentPageIndex})),s=(0,e.useMemo)((function(){return Array.from(i.values()).map((function(e,t){return hn(hn({},e),{},{pageIndex:t})})).filter((function(e){var t;return void 0!==(null==e||null===(t=e.metadata)||void 0===t?void 0:t.completed)}))}),[i]),u=(0,e.useMemo)((function(){return s.reduce((function(e,t){return Math.min(e,t.pageIndex)}),1/0)}),[s]);return null==s||!s.length||a<u?null:(0,ee.jsxs)("div",{className:"mt-20",children:[(0,ee.jsx)("h3",{className:"text-sm text-partner-primary-text uppercase",children:(0,Q.__)("Steps","extendify")}),(0,ee.jsx)("ul",{children:s.map((function(e){var t,r;return(0,ee.jsx)("li",{className:xe()("text-base",{hidden:e.pageIndex>a,"line-through opacity-60":e.pageIndex<a,"hover:opacity-100 hover:no-underline":!n}),children:(0,ee.jsxs)("button",{className:xe()("bg-transparent p-0 text-partner-primary-text flex items-center",{"cursor-pointer":e.pageIndex<a&&!n}),type:"button",disabled:n,onClick:function(){return o(null==e?void 0:e.pageIndex)},children:[e.pageIndex<a?(0,ee.jsx)(We,{className:"text-partner-primary-text h-6 w-6 mr-1"}):(0,ee.jsx)(lt,{className:"text-partner-primary-text h-6 w-6 mr-1"}),null==e||null===(r=e.metadata)||void 0===r?void 0:r.title]})},null==e||null===(t=e.metadata)||void 0===t?void 0:t.title)}))})]})},mn=Ee(De(Se((function(e){return{generating:!1,generatedPages:{},orderId:null,setOrderId:function(t){e({orderId:t})}}})),{name:"extendify-launch-globals",getStorage:function(){return localStorage},partialize:function(e){var t;return{orderId:null!==(t=null==e?void 0:e.orderId)&&void 0!==t?t:null}}})),gn=function(){var e,t,r=dn(),n=r.nextPage,o=r.previousPage,i=r.currentPageIndex,a=r.pages,s=dn((function(e){return e.count()})),u=or((function(e){return e.canLaunch()})),c=$t((function(e){return e.touched})),l=i===s-1,f=0===i,d=Array.from(a.keys())[i],p=c.includes(d),h=null===(e=a.get(d))||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.skippable;return(0,ee.jsx)("div",{className:"flex items-center space-x-2",children:(0,ee.jsxs)("div",{className:xe()("flex flex-1",{"justify-end":"welcome"===d,"justify-between":"welcome"!==d}),children:[f||(0,ee.jsxs)("button",{className:"flex items-center px-4 py-3 text-partner-primary-bg hover:bg-gray-100 font-medium button-focus focus:bg-gray-100",type:"button",onClick:o,children:[(0,ee.jsx)(xt,{className:"h-5 w-5"}),(0,Q.__)("Back","extendify")]}),u&&l?(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:function(){return mn.setState({generating:!0})},children:(0,Q.__)("Launch site","extendify")}):p||h?(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:n,children:(0,Q.__)("Next","extendify")}):(0,ee.jsxs)("button",{className:"flex items-center px-4 py-3 text-partner-primary-bg hover:bg-gray-100 font-medium button-focus focus:bg-gray-100",type:"button",onClick:n,children:[(0,Q.__)("Skip","extendify"),(0,ee.jsx)(Ke,{className:"h-5 w-5"})]})]})})},bn=function(e){var t,r,n,o=e.children,i=e.includeNav,a=void 0===i||i;return(0,ee.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,ee.jsxs)("div",{className:"bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0",children:[(0,ee.jsxs)("div",{className:"max-w-sm pr-8",children:[(0,ee.jsxs)("div",{className:"min-h-48",children:[(null===(t=window.extOnbData)||void 0===t?void 0:t.partnerLogo)&&(0,ee.jsx)("div",{className:"pb-8",children:(0,ee.jsx)("img",{style:{maxWidth:"200px"},src:window.extOnbData.partnerLogo,alt:null!==(r=null===(n=window.extOnbData)||void 0===n?void 0:n.partnerName)&&void 0!==r?r:""})}),o[0]]}),(0,ee.jsx)(vn,{disabled:!a})]}),(0,ee.jsxs)("div",{className:"flex items-center space-x-3",children:[(0,ee.jsx)("span",{className:"opacity-70 text-xs",children:(0,Q.__)("Powered by","extendify")}),(0,ee.jsxs)("span",{className:"relative",children:[(0,ee.jsx)(ot,{className:"logo text-partner-primary-text w-28"}),(0,ee.jsx)("span",{className:"absolute -bottom-2 right-3 font-semibold tracking-tight",children:"Launch"})]})]})]}),(0,ee.jsxs)("div",{className:"flex-grow md:h-screen md:overflow-y-scroll",children:[a?(0,ee.jsx)("div",{className:"py-4 px-8 sticky top-0 bg-white z-50",children:(0,ee.jsx)(gn,{})}):null,(0,ee.jsx)("div",{className:"mt-8 p-8 lg:px-12 flex justify-center",children:o[1]})]})]})};function wn(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return xn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return xn(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function jn(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var On=function(){var e,t=(e=ne().mark((function e(t,r,n){var o,i,a,s,u,c,l,f,d,p;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o={},i=wn(t),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=18;break}return s=a.value,e.next=8,Fe({siteType:r.slug,layoutType:s.slug,baseLayout:"home"===s.slug?null==n?void 0:n.homeBaseLayout:null,kit:"home"!==s.slug?null==n?void 0:n.kit:null});case 8:return u=e.sent,c="",null!=u&&u.data&&(c=[null==u||null===(l=u.data)||void 0===l?void 0:l.code,null==u||null===(f=u.data)||void 0===f?void 0:f.code2].filter(Boolean).join("")),d=s.slug,e.next=14,de({title:s.title,name:d,status:"publish",content:c,template:"no-title",meta:{made_with_extendify_launch:!0}});case 14:p=e.sent,o[d]={id:p.id,title:s.title};case 16:e.next=4;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(2),i.e(e.t0);case 23:return e.prev=23,i.f(),e.finish(23);case 26:if(null==o||!o.home){e.next=34;break}return e.next=29,le("show_on_front","page");case 29:return e.next=31,le("page_on_front",o.home.id);case 31:if(null==o||!o.blog){e.next=34;break}return e.next=34,le("page_for_posts",o.blog);case 34:return e.next=36,le("extendify_onboarding_completed",(new Date).toISOString());case 36:return e.abrupt("return",o);case 37:case"end":return e.stop()}}),e,null,[[2,20,23,26]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){jn(i,n,o,a,s,"next",e)}function s(e){jn(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e,r,n){return t.apply(this,arguments)}}();function En(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Nn(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Sn(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Pn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Sn(i,n,o,a,s,"next",e)}function s(e){Sn(i,n,o,a,s,"throw",e)}a(void 0)}))}}function _n(e){return function(e){if(Array.isArray(e))return An(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Nn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Nn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Nn(e,t){if(e){if("string"==typeof e)return An(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?An(e,t):void 0}}function An(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var kn=function(){var t=or((function(e){return e.canLaunch()})),r=or(),n=r.siteType,o=r.siteInformation,i=r.pages,a=r.style,s=r.plugins,u=Cn((0,e.useState)([]),2),c=u[0],l=u[1],f=function(e){return l((function(t){return[e].concat(_n(t))}))};(0,e.useEffect)((function(){var e=function(e){return e.preventDefault(),e.returnValue=""},t={capture:!0};return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}}),[]);var d=(0,e.useCallback)(Pn(ne().mark((function e(){var r,u,c,l,d,p;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error((0,Q.__)("Site is not ready to launch.","extendify"));case 2:return f((0,Q.__)("Preparing your website","extendify")),e.next=5,le("blogname",o.title);case 5:return e.next=7,new Promise((function(e){return setTimeout(e,2e3)}));case 7:return f((0,Q.__)("Installing your theme","extendify")),e.next=10,h=a.variation,be(window.extOnbData.globalStylesPostID,h);case 10:if(null==s||!s.length){e.next=32;break}return f((0,Q._n)("Getting ready to install ".concat(s.length," plugin"),"Getting ready to install ".concat(s.length," plugins"),s.length,"extendify")),e.next=14,new Promise((function(e){return setTimeout(e,2e3)}));case 14:r=En(s.entries()),e.prev=15,r.s();case 17:if((u=r.n()).done){e.next=24;break}return c=Cn(u.value,2),l=c[0],d=c[1],f((0,Q.__)("Installing (".concat(l+1,"/").concat(s.length,"): ").concat(d.name),"extendify")),e.next=22,pe(d);case 22:e.next=17;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(15),r.e(e.t0);case 29:return e.prev=29,r.f(),e.finish(29);case 32:return e.next=34,new Promise((function(e){return setTimeout(e,2e3)}));case 34:return f((0,Q.__)("Inserting header area","extendify")),e.next=37,ye("extendable//header",null==a?void 0:a.headerCode);case 37:return e.next=39,new Promise((function(e){return setTimeout(e,2e3)}));case 39:return f((0,Q.__)("Generating page content","extendify")),e.next=42,On(i,n,a);case 42:return p=e.sent,e.next=45,new Promise((function(e){return setTimeout(e,2e3)}));case 45:return f((0,Q.__)("Inserting footer area","extendify")),e.next=48,ye("extendable//footer",null==a?void 0:a.footerCode);case 48:return e.next=50,new Promise((function(e){return setTimeout(e,2e3)}));case 50:return f((0,Q.__)("Finalizing your site","extendify")),e.abrupt("return",p);case 52:case"end":return e.stop()}var h}),e,null,[[15,26,29,32]])}))),[i,s,n,a,t,o.title]);return(0,e.useEffect)((function(){d().then((function(e){mn.setState({generatedPages:e})}))}),[d]),(0,ee.jsxs)(bn,{includeNav:!1,children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Building your site now!","extendify")}),(0,ee.jsx)("p",{className:"text-base",children:(0,Q.__)("Please don't close the window.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4",children:c.map((function(e,t){return t?(0,ee.jsxs)("div",{className:"ml-12 text-base text-gray-500 flex",children:[(0,ee.jsx)(We,{className:"text-green-500 w-6 mr-1"}),(0,Q.sprintf)(e,"...")]},e):(0,ee.jsxs)("div",{className:"text-4xl flex space-x-4 items-center",children:[(0,ee.jsx)(Rt,{className:"spin w-10 mr-2"}),(0,Q.sprintf)(e,"...")]},e)}))})})]})};function Tn(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(decodeURIComponent);if(r){!function(e,t,r){const n=t.length,o=n-1;for(let i=0;i<n;i++){let n=t[i];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const a=!isNaN(Number(t[i+1]));e[n]=i===o?r:e[n]||(a?[]:{}),Array.isArray(e[n])&&!a&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n)}return e}),Object.create(null))}function Rn(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function Dn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(Tn(e),t),r=r.substr(0,n)),r+"?"+Rn(t)}var In={};!function e(t,r,n,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function s(e){var n=r.exports.Promise,o=void 0!==n?n:t.Promise;return"function"==typeof o?new o(e):(e(a,a),null)}var u,c,l,f,d,p,h,y,v,m=(l=Math.floor(1e3/60),f={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(u=function(e){var t=Math.random();return f[t]=requestAnimationFrame((function r(n){d===n||d+l-1<n?(d=n,delete f[t],e()):f[t]=requestAnimationFrame(r)})),t},c=function(e){f[e]&&cancelAnimationFrame(f[e])}):(u=function(e){return setTimeout(e,l)},c=function(e){return clearTimeout(e)}),{frame:u,cancel:c}),g=(y={},function(){if(p)return p;if(!n&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,o){if(h)return t(r,null),h;var i=Math.random().toString(36).slice(2);return h=s((function(n){function a(t){t.data.callback===i&&(delete y[i],e.removeEventListener("message",a),h=null,o(),n())}e.addEventListener("message",a),t(r,i),y[i]=a.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),y)y[t](),delete y[t]}}(p)}return p}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function w(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:b[t],r)}function x(e){return e<0?0:Math.floor(e)}function j(e){return parseInt(e,16)}function O(e){return e.map(E)}function E(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:j(t.substring(0,2)),g:j(t.substring(2,4)),b:j(t.substring(4,6))}}function S(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function P(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function _(e,t,r,i,a){var u,c,l=t.slice(),f=e.getContext("2d"),d=s((function(t){function s(){u=c=null,f.clearRect(0,0,i.width,i.height),a(),t()}u=m.frame((function t(){!n||i.width===o.width&&i.height===o.height||(i.width=e.width=o.width,i.height=e.height=o.height),i.width||i.height||(r(e),i.width=e.width,i.height=e.height),f.clearRect(0,0,i.width,i.height),l=l.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=t.wobbleSpeed,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),"circle"===t.shape?e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,o,i,a,s,u){e.save(),e.translate(t,r),e.rotate(i),e.scale(n,o),e.arc(0,0,1,a,s,u),e.restore()}(e,t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(i),Math.floor(a)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY))),e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})),l.length?u=m.frame(t):s()})),c=s}));return{addFettis:function(e){return l=l.concat(e),d},canvas:e,promise:d,reset:function(){u&&m.cancel(u),c&&c()}}}function C(e,r){var n,o=!e,a=!!w(r||{},"resize"),u=w(r,"disableForReducedMotion",Boolean),c=i&&!!w(r||{},"useWorker")?g():null,l=o?S:P,f=!(!e||!c)&&!!e.__confetti_initialized,d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function p(t,r,o){for(var i,a,s,u,c,f=w(t,"particleCount",x),d=w(t,"angle",Number),p=w(t,"spread",Number),h=w(t,"startVelocity",Number),y=w(t,"decay",Number),v=w(t,"gravity",Number),m=w(t,"drift",Number),g=w(t,"colors",O),b=w(t,"ticks",Number),j=w(t,"shapes"),E=w(t,"scalar"),S=function(e){var t=w(e,"origin",Object);return t.x=w(t,"x",Number),t.y=w(t,"y",Number),t}(t),P=f,C=[],N=e.width*S.x,A=e.height*S.y;P--;)C.push((i={x:N,y:A,angle:d,spread:p,startVelocity:h,color:g[P%g.length],shape:j[(u=0,c=j.length,Math.floor(Math.random()*(c-u))+u)],ticks:b,decay:y,gravity:v,drift:m,scalar:E},a=void 0,s=void 0,a=i.angle*(Math.PI/180),s=i.spread*(Math.PI/180),{x:i.x,y:i.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*i.startVelocity+Math.random()*i.startVelocity,angle2D:-a+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:i.color,shape:i.shape,tick:0,totalTicks:i.ticks,decay:i.decay,drift:i.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*i.gravity,ovalScalar:.6,scalar:i.scalar}));return n?n.addFettis(C):(n=_(e,C,l,r,o)).promise}function h(r){var i=u||w(r,"disableForReducedMotion",Boolean),h=w(r,"zIndex",Number);if(i&&d)return s((function(e){e()}));o&&n?e=n.canvas:o&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(h),document.body.appendChild(e)),a&&!f&&l(e);var y={width:e.width,height:e.height};function v(){if(c){var t={getBoundingClientRect:function(){if(!o)return e.getBoundingClientRect()}};return l(t),void c.postMessage({resize:{width:t.width,height:t.height}})}y.width=y.height=null}function m(){n=null,a&&t.removeEventListener("resize",v),o&&e&&(document.body.removeChild(e),e=null,f=!1)}return c&&!f&&c.init(e),f=!0,c&&(e.__confetti_initialized=!0),a&&t.addEventListener("resize",v,!1),c?c.fire(r,y,m):p(r,y,m)}return h.reset=function(){c&&c.reset(),n&&n.reset()},h}function N(){return v||(v=C(null,{useWorker:!0,resize:!0})),v}r.exports=function(){return N().apply(this,arguments)},r.exports.reset=function(){N().reset()},r.exports.create=C}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),In,!1);const Ln=In.exports;In.exports.create;function Mn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Bn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Mn(Object(r),!0).forEach((function(t){Un(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Mn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Fn=function(){var t,r,n=mn((function(e){return e.generatedPages})),o=or((function(e){return e.siteType}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,e.useEffect)((function(){var e=Date.now()+r;!function r(){Ln(Bn(Bn({},t),{},{disableForReducedMotion:!0,zIndex:1e5})),Date.now()<e&&requestAnimationFrame(r)}()}),[t,r])}({particleCount:2,angle:60,spread:55,origin:{x:0,y:.7},colors:["var(--ext-partner-theme-primary-text, #ffffff)"]},3e3),(0,ee.jsxs)(bn,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Your site has been successfully created. Enjoy!","extendify"),null==o||null===(t=o.label)||void 0===t?void 0:t.toLowerCase())})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base text-center",children:(0,Q.__)("Your site is ready! You can now go to your site and start editing content.","extendify")}),(0,ee.jsxs)("div",{className:"text-center w-360 flex flex-col justify-center items-center -mt-150",children:[(0,ee.jsx)(We,{className:"w-16 bg-partner-primary-bg text-partner-primary-text rounded-full"}),(0,ee.jsx)("h3",{className:"mb-8",children:(0,Q.__)("All Done","extendify")}),(0,ee.jsx)("div",{className:"flex space-x-4",children:(0,ee.jsx)("a",{className:"px-4 py-3 rounded-md bg-gray-200 text-black no-underline hover:bg-partner-primary-bg hover:text-partner-primary-text font-medium",target:"_blank",rel:"noreferrer",href:window.extOnbData.home,children:(0,Q.__)("View Site","extendify")})}),(0,ee.jsxs)("div",{className:"text-left self-start px-10 py-4 w-full",children:[(0,ee.jsx)("h4",{className:"",children:(0,Q.__)("New Pages:","extendify")}),(0,ee.jsx)("div",{className:"",children:null===(r=Object.values(n))||void 0===r?void 0:r.map((function(e){return(0,ee.jsxs)("div",{className:"flex items-center mb-2",children:[(0,ee.jsx)(We,{className:"w-6 text-green-500"}),(0,ee.jsx)("a",{target:"_blank",href:Dn("post.php",{post:e.id,action:"edit"}),className:"text-primary no-underline hover:underline ml-2 text-base",rel:"noreferrer",children:e.title})]},e.id)}))})]})]})]})]})};function Hn(e){return function(e){if(Array.isArray(e))return Yn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||zn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||zn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function zn(e,t){if(e){if("string"==typeof e)return Yn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Yn(e,t):void 0}}function Yn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var qn=function(){var t=or(),r=t.goals,n=t.pages,o=t.plugins,i=t.siteType,a=t.style,s=mn(),u=s.orderId,c=s.setOrderId,l=s.generating,f=dn(),d=f.pages,p=f.currentPageIndex,h=Vn((0,e.useState)(),2),y=h[0],v=h[1],m=Vn((0,e.useState)([]),2),g=m[0],b=m[1],w=Vn((0,e.useState)(new Set),2),x=w[0],j=w[1];(0,e.useEffect)((function(){var e=Hn(d).map((function(e){return e[0]}));b((function(t){return(null==t?void 0:t.at(-1))===e[p]?t:[].concat(Hn(t),[e[p]])}))}),[p,d]),(0,e.useEffect)((function(){l&&b((function(e){return[].concat(Hn(e),["launched"])}))}),[l]),(0,e.useEffect)((function(){var e;null!==(e=Object.keys(null!=a?a:{}))&&void 0!==e&&e.length&&j((function(e){var t=new Set(e);return t.add(a.recordId),t}))}),[a]),(0,e.useEffect)((function(){var e,t,r,n,o="onboarding",i=null===(e=window.location)||void 0===e?void 0:e.search;o=(null==i?void 0:i.indexOf("DEVMODE"))>-1?"onboarding-dev":o,o=(null==i?void 0:i.indexOf("LOCALMODE"))>-1?"onboarding-local":o,v(null===(t=window)||void 0===t||null===(r=t.extOnbData)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.api[o])}),[]),(0,e.useEffect)((function(){!y||null!=u&&u.length||ie.post("onboarding/create-order").then((function(e){c(e.data.id)}))}),[y,c,u]),(0,e.useEffect)((function(){if(y&&u){var e;return e=window.setTimeout((function(){fetch("".concat(y,"/progress"),{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({orderId:u,selectedGoals:null==r?void 0:r.map((function(e){return e.id})),selectedPages:null==n?void 0:n.map((function(e){return e.id})),selectedPlugins:o,selectedSiteType:null!=i&&i.recordId?[i.recordId]:[],selectedStyle:null!=a&&a.recordId?[a.recordId]:[],stepProgress:g,pages:d,viewedStyles:Hn(x).slice(1)})})}),1e3),function(){return window.clearTimeout(e)}}}),[y,r,n,o,i,a,d,u,g,x])},Wn=function(){return(0,ee.jsxs)(bn,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,Q.__)("Hey, one more thing before we start.","extendify")})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Hey there, Launch is powered by Extendable and is required to proceed. You can install it from the link below and start over once activated.","extendify")}),(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4 text-base",children:(0,ee.jsx)("a",{href:"".concat(window.extOnbData.site,"/wp-admin/theme-install.php?theme=extendable"),children:(0,Q.__)("Take me there")})})]})]})};function Zn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Xn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Xn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Xn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Jn,$n=function(){var r,n=Zn((0,e.useState)(!1),2),o=n[0],i=n[1],a=dn((function(e){return e.currentPageData()})).component,s=dn((function(e){return e.nextPageData()})),u=s.fetcher,c=s.fetchData,l=Z().mutate,f=mn((function(e){return e.generating})),d=mn((function(e){return e.generatedPages})),p=Zn((0,e.useState)(!1),2),h=p[0],y=p[1],v=Zn((0,e.useState)(!1),2),m=v[0],g=v[1],b=(0,t.useSelect)((function(e){return e("core").getCurrentTheme()}));r=(0,t.useSelect)((function(e){return e("core/edit-post").isFeatureActive("welcomeGuide")}),[]),(0,e.useEffect)((function(){r&&(0,t.dispatch)("core/edit-post").toggleFeature("welcomeGuide")}),[r]),(0,e.useLayoutEffect)((function(){var e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){return document.body.style.overflow=e}}),[]),qn();var w;return(0,e.useEffect)((function(){null!=b&&b.textdomain&&"extendable"!==(null==b?void 0:b.textdomain)&&g(!0)}),[b]),(0,e.useEffect)((function(){if(h){var e=setTimeout((function(){window.dispatchEvent(new CustomEvent("extendify::close-library",{bubbles:!0}))}),0);return document.title="Extendify Launch",function(){return clearTimeout(e)}}}),[h]),(0,e.useEffect)((function(){var e=new URLSearchParams(window.location.search);["onboarding"].includes(e.get("extendify"))&&(y(!0),le("extendify_launch_loaded",(new Date).toISOString()))}),[]),(0,e.useEffect)((function(){u&&l(c,u)}),[u,l,c]),h?(0,ee.jsxs)($,{value:{errorRetryInterval:1e3,onErrorRetry:function(e,t){var r;console.error(t,e),403!==(null==e||null===(r=e.data)||void 0===r?void 0:r.status)?o||(i(!0),setTimeout((function(){i(!1)}),5e3)):window.location.reload()}},children:[(0,ee.jsx)("div",{style:{zIndex:1e5},className:"h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white",children:m?(0,ee.jsx)(Wn,{}):null!==(w=Object.keys(d))&&void 0!==w&&w.length?(0,ee.jsx)(Fn,{}):f?(0,ee.jsx)(kn,{}):(0,ee.jsx)(a,{})}),o&&(0,ee.jsx)(te,{})]}):null},Gn=Object.assign(document.createElement("div"),{id:"extendify-onboarding-root",className:"extendify-onboarding"});document.body.append(Gn),Jn=function(){window._wpLoadBlockEditor&&(0,e.render)((0,ee.jsx)($n,{}),Gn)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Jn):Jn())})()})();
|
1 |
/*! For license information please see extendify-onboarding.js.LICENSE.txt */
|
2 |
+
(()=>{var e={7135:(e,t,r)=>{e.exports=r(6248)},4206:(e,t,r)=>{e.exports=r(8057)},4387:(e,t,r)=>{"use strict";var n=r(7485),o=r(4570),i=r(2940),a=r(581),s=r(574),u=r(3845),c=r(8338),l=r(4832),f=r(7354),d=r(8870),p=r(4906);e.exports=function(e){return new Promise((function(t,r){var h,y=e.data,v=e.headers,m=e.responseType;function g(){e.cancelToken&&e.cancelToken.unsubscribe(h),e.signal&&e.signal.removeEventListener("abort",h)}n.isFormData(y)&&n.isStandardBrowserEnv()&&delete v["Content-Type"];var b=new XMLHttpRequest;if(e.auth){var w=e.auth.username||"",x=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";v.Authorization="Basic "+btoa(w+":"+x)}var j=s(e.baseURL,e.url);function O(){if(b){var n="getAllResponseHeaders"in b?u(b.getAllResponseHeaders()):null,i={data:m&&"text"!==m&&"json"!==m?b.response:b.responseText,status:b.status,statusText:b.statusText,headers:n,config:e,request:b};o((function(e){t(e),g()}),(function(e){r(e),g()}),i),b=null}}if(b.open(e.method.toUpperCase(),a(j,e.params,e.paramsSerializer),!0),b.timeout=e.timeout,"onloadend"in b?b.onloadend=O:b.onreadystatechange=function(){b&&4===b.readyState&&(0!==b.status||b.responseURL&&0===b.responseURL.indexOf("file:"))&&setTimeout(O)},b.onabort=function(){b&&(r(new f("Request aborted",f.ECONNABORTED,e,b)),b=null)},b.onerror=function(){r(new f("Network Error",f.ERR_NETWORK,e,b,b)),b=null},b.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||l;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new f(t,n.clarifyTimeoutError?f.ETIMEDOUT:f.ECONNABORTED,e,b)),b=null},n.isStandardBrowserEnv()){var E=(e.withCredentials||c(j))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;E&&(v[e.xsrfHeaderName]=E)}"setRequestHeader"in b&&n.forEach(v,(function(e,t){void 0===y&&"content-type"===t.toLowerCase()?delete v[t]:b.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(b.withCredentials=!!e.withCredentials),m&&"json"!==m&&(b.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&b.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&b.upload&&b.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(h=function(e){b&&(r(!e||e&&e.type?new d:e),b.abort(),b=null)},e.cancelToken&&e.cancelToken.subscribe(h),e.signal&&(e.signal.aborted?h():e.signal.addEventListener("abort",h))),y||(y=null);var S=p(j);S&&-1===["http","https","file"].indexOf(S)?r(new f("Unsupported protocol "+S+":",f.ERR_BAD_REQUEST,e)):b.send(y)}))}},8057:(e,t,r)=>{"use strict";var n=r(7485),o=r(875),i=r(5029),a=r(4941);var s=function e(t){var r=new i(t),s=o(i.prototype.request,r);return n.extend(s,i.prototype,r),n.extend(s,r),s.create=function(r){return e(a(t,r))},s}(r(8396));s.Axios=i,s.CanceledError=r(8870),s.CancelToken=r(4603),s.isCancel=r(1475),s.VERSION=r(3345).version,s.toFormData=r(1020),s.AxiosError=r(7354),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(5739),s.isAxiosError=r(5835),e.exports=s,e.exports.default=s},4603:(e,t,r)=>{"use strict";var n=r(8870);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t<n;t++)r._listeners[t](e);r._listeners=null}})),this.promise.then=function(e){var t,n=new Promise((function(e){r.subscribe(e),t=e})).then(e);return n.cancel=function(){r.unsubscribe(t)},n},e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.prototype.subscribe=function(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]},o.prototype.unsubscribe=function(e){if(this._listeners){var t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},8870:(e,t,r)=>{"use strict";var n=r(7354);function o(e){n.call(this,null==e?"canceled":e,n.ERR_CANCELED),this.name="CanceledError"}r(7485).inherits(o,n,{__CANCEL__:!0}),e.exports=o},1475:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},5029:(e,t,r)=>{"use strict";var n=r(7485),o=r(581),i=r(8096),a=r(5009),s=r(4941),u=r(574),c=r(6144),l=c.validators;function f(e){this.defaults=e,this.interceptors={request:new i,response:new i}}f.prototype.request=function(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},(t=s(this.defaults,t)).method?t.method=t.method.toLowerCase():this.defaults.method?t.method=this.defaults.method.toLowerCase():t.method="get";var r=t.transitional;void 0!==r&&c.assertOptions(r,{silentJSONParsing:l.transitional(l.boolean),forcedJSONParsing:l.transitional(l.boolean),clarifyTimeoutError:l.transitional(l.boolean)},!1);var n=[],o=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(o=o&&e.synchronous,n.unshift(e.fulfilled,e.rejected))}));var i,u=[];if(this.interceptors.response.forEach((function(e){u.push(e.fulfilled,e.rejected)})),!o){var f=[a,void 0];for(Array.prototype.unshift.apply(f,n),f=f.concat(u),i=Promise.resolve(t);f.length;)i=i.then(f.shift(),f.shift());return i}for(var d=t;n.length;){var p=n.shift(),h=n.shift();try{d=p(d)}catch(e){h(e);break}}try{i=a(d)}catch(e){return Promise.reject(e)}for(;u.length;)i=i.then(u.shift(),u.shift());return i},f.prototype.getUri=function(e){e=s(this.defaults,e);var t=u(e.baseURL,e.url);return o(t,e.params,e.paramsSerializer)},n.forEach(["delete","get","head","options"],(function(e){f.prototype[e]=function(t,r){return this.request(s(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){function t(t){return function(r,n,o){return this.request(s(o||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:r,data:n}))}}f.prototype[e]=t(),f.prototype[e+"Form"]=t(!0)})),e.exports=f},7354:(e,t,r)=>{"use strict";var n=r(7485);function o(e,t,r,n,o){Error.call(this),this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o)}n.inherits(o,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null}}});var i=o.prototype,a={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED"].forEach((function(e){a[e]={value:e}})),Object.defineProperties(o,a),Object.defineProperty(i,"isAxiosError",{value:!0}),o.from=function(e,t,r,a,s,u){var c=Object.create(i);return n.toFlatObject(e,c,(function(e){return e!==Error.prototype})),o.call(c,e.message,t,r,a,s),c.name=e.name,u&&Object.assign(c,u),c},e.exports=o},8096:(e,t,r)=>{"use strict";var n=r(7485);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},574:(e,t,r)=>{"use strict";var n=r(2642),o=r(2288);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},5009:(e,t,r)=>{"use strict";var n=r(7485),o=r(9212),i=r(1475),a=r(8396),s=r(8870);function u(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new s}e.exports=function(e){return u(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||a.adapter)(e).then((function(t){return u(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(u(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},4941:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){t=t||{};var r={};function o(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function i(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(e[r],t[r])}function a(e){if(!n.isUndefined(t[e]))return o(void 0,t[e])}function s(r){return n.isUndefined(t[r])?n.isUndefined(e[r])?void 0:o(void 0,e[r]):o(void 0,t[r])}function u(r){return r in t?o(e[r],t[r]):r in e?o(void 0,e[r]):void 0}var c={url:a,method:a,data:a,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:u};return n.forEach(Object.keys(e).concat(Object.keys(t)),(function(e){var t=c[e]||i,o=t(e);n.isUndefined(o)&&t!==u||(r[e]=o)})),r}},4570:(e,t,r)=>{"use strict";var n=r(7354);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(new n("Request failed with status code "+r.status,[n.ERR_BAD_REQUEST,n.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}},9212:(e,t,r)=>{"use strict";var n=r(7485),o=r(8396);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},8396:(e,t,r)=>{"use strict";var n=r(7061),o=r(7485),i=r(1446),a=r(7354),s=r(4832),u=r(1020),c={"Content-Type":"application/x-www-form-urlencoded"};function l(e,t){!o.isUndefined(e)&&o.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var f,d={transitional:s,adapter:(("undefined"!=typeof XMLHttpRequest||void 0!==n&&"[object process]"===Object.prototype.toString.call(n))&&(f=r(4387)),f),transformRequest:[function(e,t){if(i(t,"Accept"),i(t,"Content-Type"),o.isFormData(e)||o.isArrayBuffer(e)||o.isBuffer(e)||o.isStream(e)||o.isFile(e)||o.isBlob(e))return e;if(o.isArrayBufferView(e))return e.buffer;if(o.isURLSearchParams(e))return l(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString();var r,n=o.isObject(e),a=t&&t["Content-Type"];if((r=o.isFileList(e))||n&&"multipart/form-data"===a){var s=this.env&&this.env.FormData;return u(r?{"files[]":e}:e,s&&new s)}return n||"application/json"===a?(l(t,"application/json"),function(e,t,r){if(o.isString(e))try{return(t||JSON.parse)(e),o.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(r||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional||d.transitional,r=t&&t.silentJSONParsing,n=t&&t.forcedJSONParsing,i=!r&&"json"===this.responseType;if(i||n&&o.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(i){if("SyntaxError"===e.name)throw a.from(e,a.ERR_BAD_RESPONSE,this,null,this.response);throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:r(8750)},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};o.forEach(["delete","get","head"],(function(e){d.headers[e]={}})),o.forEach(["post","put","patch"],(function(e){d.headers[e]=o.merge(c)})),e.exports=d},4832:e=>{"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},3345:e=>{e.exports={version:"0.27.2"}},875:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},581:(e,t,r)=>{"use strict";var n=r(7485);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var a=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),a.push(o(t)+"="+o(e))})))})),i=a.join("&")}if(i){var s=e.indexOf("#");-1!==s&&(e=e.slice(0,s)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},2288:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},2940:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,a){var s=[];s.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&s.push("expires="+new Date(r).toGMTString()),n.isString(o)&&s.push("path="+o),n.isString(i)&&s.push("domain="+i),!0===a&&s.push("secure"),document.cookie=s.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},2642:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}},5835:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e){return n.isObject(e)&&!0===e.isAxiosError}},8338:(e,t,r)=>{"use strict";var n=r(7485);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},1446:(e,t,r)=>{"use strict";var n=r(7485);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},8750:e=>{e.exports=null},3845:(e,t,r)=>{"use strict";var n=r(7485),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,a={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(a[t]&&o.indexOf(t)>=0)return;a[t]="set-cookie"===t?(a[t]?a[t]:[]).concat([r]):a[t]?a[t]+", "+r:r}})),a):a}},4906:e=>{"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},5739:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},1020:(e,t,r)=>{"use strict";var n=r(816).Buffer,o=r(7485);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":o.isDate(e)?e.toISOString():o.isArrayBuffer(e)||o.isTypedArray(e)?"function"==typeof Blob?new Blob([e]):n.from(e):e}return function e(n,a){if(o.isPlainObject(n)||o.isArray(n)){if(-1!==r.indexOf(n))throw Error("Circular reference detected in "+a);r.push(n),o.forEach(n,(function(r,n){if(!o.isUndefined(r)){var s,u=a?a+"."+n:n;if(r&&!a&&"object"==typeof r)if(o.endsWith(n,"{}"))r=JSON.stringify(r);else if(o.endsWith(n,"[]")&&(s=o.toArray(r)))return void s.forEach((function(e){!o.isUndefined(e)&&t.append(u,i(e))}));e(r,u)}})),r.pop()}else t.append(a,i(n))}(e),t}},6144:(e,t,r)=>{"use strict";var n=r(3345).version,o=r(7354),i={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){i[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var a={};i.transitional=function(e,t,r){function i(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new o(i(n," has been removed"+(t?" in "+t:"")),o.ERR_DEPRECATED);return t&&!a[n]&&(a[n]=!0,console.warn(i(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!=typeof e)throw new o("options must be an object",o.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),i=n.length;i-- >0;){var a=n[i],s=t[a];if(s){var u=e[a],c=void 0===u||s(u,a,e);if(!0!==c)throw new o("option "+a+" must be "+c,o.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new o("Unknown option "+a,o.ERR_BAD_OPTION)}},validators:i}},7485:(e,t,r)=>{"use strict";var n,o=r(875),i=Object.prototype.toString,a=(n=Object.create(null),function(e){var t=i.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return a(t)===e}}function u(e){return Array.isArray(e)}function c(e){return void 0===e}var l=s("ArrayBuffer");function f(e){return null!==e&&"object"==typeof e}function d(e){if("object"!==a(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var p=s("Date"),h=s("File"),y=s("Blob"),v=s("FileList");function m(e){return"[object Function]"===i.call(e)}var g=s("URLSearchParams");function b(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),u(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}var w,x=(w="undefined"!=typeof Uint8Array&&Object.getPrototypeOf(Uint8Array),function(e){return w&&e instanceof w});e.exports={isArray:u,isArrayBuffer:l,isBuffer:function(e){return null!==e&&!c(e)&&null!==e.constructor&&!c(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){var t="[object FormData]";return e&&("function"==typeof FormData&&e instanceof FormData||i.call(e)===t||m(e.toString)&&e.toString()===t)},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&l(e.buffer)},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:f,isPlainObject:d,isUndefined:c,isDate:p,isFile:h,isBlob:y,isFunction:m,isStream:function(e){return f(e)&&m(e.pipe)},isURLSearchParams:g,isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&("undefined"!=typeof window&&"undefined"!=typeof document)},forEach:b,merge:function e(){var t={};function r(r,n){d(t[n])&&d(r)?t[n]=e(t[n],r):d(r)?t[n]=e({},r):u(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)b(arguments[n],r);return t},extend:function(e,t,r){return b(t,(function(t,n){e[n]=r&&"function"==typeof t?o(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e},inherits:function(e,t,r,n){e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,r&&Object.assign(e.prototype,r)},toFlatObject:function(e,t,r){var n,o,i,a={};t=t||{};do{for(o=(n=Object.getOwnPropertyNames(e)).length;o-- >0;)a[i=n[o]]||(t[i]=e[i],a[i]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(c(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:x,isFileList:v}},4782:(e,t)=>{"use strict";t.byteLength=function(e){var t=u(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,i=u(e),a=i[0],s=i[1],c=new o(function(e,t,r){return 3*(t+r)/4-r}(0,a,s)),l=0,f=s>0?a-4:a;for(r=0;r<f;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[l++]=t>>16&255,c[l++]=t>>8&255,c[l++]=255&t;2===s&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[l++]=255&t);1===s&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[l++]=t>>8&255,c[l++]=255&t);return c},t.fromByteArray=function(e){for(var t,n=e.length,o=n%3,i=[],a=16383,s=0,u=n-o;s<u;s+=a)i.push(c(e,s,s+a>u?u:s+a));1===o?(t=e[n-1],i.push(r[t>>2]+r[t<<4&63]+"==")):2===o&&(t=(e[n-2]<<8)+e[n-1],i.push(r[t>>10]+r[t>>4&63]+r[t<<2&63]+"="));return i.join("")};for(var r=[],n=[],o="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",a=0,s=i.length;a<s;++a)r[a]=i[a],n[i.charCodeAt(a)]=a;function u(e){var t=e.length;if(t%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");return-1===r&&(r=t),[r,r===t?0:4-r%4]}function c(e,t,n){for(var o,i,a=[],s=t;s<n;s+=3)o=(e[s]<<16&16711680)+(e[s+1]<<8&65280)+(255&e[s+2]),a.push(r[(i=o)>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},816:(e,t,r)=>{"use strict";var n=r(4782),o=r(8898),i=r(5182);function a(){return u.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function s(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return u.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=u.prototype:(null===e&&(e=new u(t)),e.length=t),e}function u(e,t,r){if(!(u.TYPED_ARRAY_SUPPORT||this instanceof u))return new u(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return f(this,e)}return c(this,e,t,r)}function c(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);u.TYPED_ARRAY_SUPPORT?(e=t).__proto__=u.prototype:e=d(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!u.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r),o=(e=s(e,n)).write(t,r);o!==n&&(e=e.slice(0,o));return e}(e,t,r):function(e,t){if(u.isBuffer(t)){var r=0|p(t.length);return 0===(e=s(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?s(e,0):d(e,t);if("Buffer"===t.type&&i(t.data))return d(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function l(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function f(e,t){if(l(t),e=s(e,t<0?0:0|p(t)),!u.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function d(e,t){var r=t.length<0?0:0|p(t.length);e=s(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function p(e){if(e>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(u.isBuffer(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return H(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return H(e).length;t=(""+t).toLowerCase(),n=!0}}function y(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return k(this,t,r);case"utf8":case"utf-8":return P(this,t,r);case"ascii":return C(this,t,r);case"latin1":case"binary":return N(this,t,r);case"base64":return S(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return A(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function v(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function m(e,t,r,n,o){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=o?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(o)return-1;r=e.length-1}else if(r<0){if(!o)return-1;r=0}if("string"==typeof t&&(t=u.from(t,n)),u.isBuffer(t))return 0===t.length?-1:g(e,t,r,n,o);if("number"==typeof t)return t&=255,u.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?o?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):g(e,[t],r,n,o);throw new TypeError("val must be string, number or Buffer")}function g(e,t,r,n,o){var i,a=1,s=e.length,u=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(o){var l=-1;for(i=r;i<s;i++)if(c(e,i)===c(t,-1===l?0:i-l)){if(-1===l&&(l=i),i-l+1===u)return l*a}else-1!==l&&(i-=i-l),l=-1}else for(r+u>s&&(r=s-u),i=r;i>=0;i--){for(var f=!0,d=0;d<u;d++)if(c(e,i+d)!==c(t,d)){f=!1;break}if(f)return i}return-1}function b(e,t,r,n){r=Number(r)||0;var o=e.length-r;n?(n=Number(n))>o&&(n=o):n=o;var i=t.length;if(i%2!=0)throw new TypeError("Invalid hex string");n>i/2&&(n=i/2);for(var a=0;a<n;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[r+a]=s}return a}function w(e,t,r,n){return z(H(t,e.length-r),e,r,n)}function x(e,t,r,n){return z(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function j(e,t,r,n){return x(e,t,r,n)}function O(e,t,r,n){return z(V(t),e,r,n)}function E(e,t,r,n){return z(function(e,t){for(var r,n,o,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,o=r%256,i.push(o),i.push(n);return i}(t,e.length-r),e,r,n)}function S(e,t,r){return 0===t&&r===e.length?n.fromByteArray(e):n.fromByteArray(e.slice(t,r))}function P(e,t,r){r=Math.min(e.length,r);for(var n=[],o=t;o<r;){var i,a,s,u,c=e[o],l=null,f=c>239?4:c>223?3:c>191?2:1;if(o+f<=r)switch(f){case 1:c<128&&(l=c);break;case 2:128==(192&(i=e[o+1]))&&(u=(31&c)<<6|63&i)>127&&(l=u);break;case 3:i=e[o+1],a=e[o+2],128==(192&i)&&128==(192&a)&&(u=(15&c)<<12|(63&i)<<6|63&a)>2047&&(u<55296||u>57343)&&(l=u);break;case 4:i=e[o+1],a=e[o+2],s=e[o+3],128==(192&i)&&128==(192&a)&&128==(192&s)&&(u=(15&c)<<18|(63&i)<<12|(63&a)<<6|63&s)>65535&&u<1114112&&(l=u)}null===l?(l=65533,f=1):l>65535&&(l-=65536,n.push(l>>>10&1023|55296),l=56320|1023&l),n.push(l),o+=f}return function(e){var t=e.length;if(t<=_)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=_));return r}(n)}t.Buffer=u,t.SlowBuffer=function(e){+e!=e&&(e=0);return u.alloc(+e)},t.INSPECT_MAX_BYTES=50,u.TYPED_ARRAY_SUPPORT=void 0!==r.g.TYPED_ARRAY_SUPPORT?r.g.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&"function"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=a(),u.poolSize=8192,u._augment=function(e){return e.__proto__=u.prototype,e},u.from=function(e,t,r){return c(null,e,t,r)},u.TYPED_ARRAY_SUPPORT&&(u.prototype.__proto__=Uint8Array.prototype,u.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&u[Symbol.species]===u&&Object.defineProperty(u,Symbol.species,{value:null,configurable:!0})),u.alloc=function(e,t,r){return function(e,t,r,n){return l(t),t<=0?s(e,t):void 0!==r?"string"==typeof n?s(e,t).fill(r,n):s(e,t).fill(r):s(e,t)}(null,e,t,r)},u.allocUnsafe=function(e){return f(null,e)},u.allocUnsafeSlow=function(e){return f(null,e)},u.isBuffer=function(e){return!(null==e||!e._isBuffer)},u.compare=function(e,t){if(!u.isBuffer(e)||!u.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,o=0,i=Math.min(r,n);o<i;++o)if(e[o]!==t[o]){r=e[o],n=t[o];break}return r<n?-1:n<r?1:0},u.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},u.concat=function(e,t){if(!i(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return u.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=u.allocUnsafe(t),o=0;for(r=0;r<e.length;++r){var a=e[r];if(!u.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,o),o+=a.length}return n},u.byteLength=h,u.prototype._isBuffer=!0,u.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)v(this,t,t+1);return this},u.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)v(this,t,t+3),v(this,t+1,t+2);return this},u.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)v(this,t,t+7),v(this,t+1,t+6),v(this,t+2,t+5),v(this,t+3,t+4);return this},u.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?P(this,0,e):y.apply(this,arguments)},u.prototype.equals=function(e){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===u.compare(this,e)},u.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString("hex",0,r).match(/.{2}/g).join(" "),this.length>r&&(e+=" ... ")),"<Buffer "+e+">"},u.prototype.compare=function(e,t,r,n,o){if(!u.isBuffer(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===o&&(o=this.length),t<0||r>e.length||n<0||o>this.length)throw new RangeError("out of range index");if(n>=o&&t>=r)return 0;if(n>=o)return-1;if(t>=r)return 1;if(this===e)return 0;for(var i=(o>>>=0)-(n>>>=0),a=(r>>>=0)-(t>>>=0),s=Math.min(i,a),c=this.slice(n,o),l=e.slice(t,r),f=0;f<s;++f)if(c[f]!==l[f]){i=c[f],a=l[f];break}return i<a?-1:a<i?1:0},u.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},u.prototype.indexOf=function(e,t,r){return m(this,e,t,r,!0)},u.prototype.lastIndexOf=function(e,t,r){return m(this,e,t,r,!1)},u.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var o=this.length-t;if((void 0===r||r>o)&&(r=o),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var i=!1;;)switch(n){case"hex":return b(this,e,t,r);case"utf8":case"utf-8":return w(this,e,t,r);case"ascii":return x(this,e,t,r);case"latin1":case"binary":return j(this,e,t,r);case"base64":return O(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return E(this,e,t,r);default:if(i)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),i=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var _=4096;function C(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(127&e[o]);return n}function N(e,t,r){var n="";r=Math.min(e.length,r);for(var o=t;o<r;++o)n+=String.fromCharCode(e[o]);return n}function k(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var o="",i=t;i<r;++i)o+=F(e[i]);return o}function A(e,t,r){for(var n=e.slice(t,r),o="",i=0;i<n.length;i+=2)o+=String.fromCharCode(n[i]+256*n[i+1]);return o}function T(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function R(e,t,r,n,o,i){if(!u.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>o||t<i)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function D(e,t,r,n){t<0&&(t=65535+t+1);for(var o=0,i=Math.min(e.length-r,2);o<i;++o)e[r+o]=(t&255<<8*(n?o:1-o))>>>8*(n?o:1-o)}function L(e,t,r,n){t<0&&(t=4294967295+t+1);for(var o=0,i=Math.min(e.length-r,4);o<i;++o)e[r+o]=t>>>8*(n?o:3-o)&255}function I(e,t,r,n,o,i){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function M(e,t,r,n,i){return i||I(e,0,r,4),o.write(e,t,r,n,23,4),r+4}function U(e,t,r,n,i){return i||I(e,0,r,8),o.write(e,t,r,n,52,8),r+8}u.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),u.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=u.prototype;else{var o=t-e;r=new u(o,void 0);for(var i=0;i<o;++i)r[i]=this[i+e]}return r},u.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n},u.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e+--t],o=1;t>0&&(o*=256);)n+=this[e+--t]*o;return n},u.prototype.readUInt8=function(e,t){return t||T(e,1,this.length),this[e]},u.prototype.readUInt16LE=function(e,t){return t||T(e,2,this.length),this[e]|this[e+1]<<8},u.prototype.readUInt16BE=function(e,t){return t||T(e,2,this.length),this[e]<<8|this[e+1]},u.prototype.readUInt32LE=function(e,t){return t||T(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},u.prototype.readUInt32BE=function(e,t){return t||T(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},u.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=this[e],o=1,i=0;++i<t&&(o*=256);)n+=this[e+i]*o;return n>=(o*=128)&&(n-=Math.pow(2,8*t)),n},u.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||T(e,t,this.length);for(var n=t,o=1,i=this[e+--n];n>0&&(o*=256);)i+=this[e+--n]*o;return i>=(o*=128)&&(i-=Math.pow(2,8*t)),i},u.prototype.readInt8=function(e,t){return t||T(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},u.prototype.readInt16LE=function(e,t){t||T(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt16BE=function(e,t){t||T(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},u.prototype.readInt32LE=function(e,t){return t||T(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},u.prototype.readInt32BE=function(e,t){return t||T(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},u.prototype.readFloatLE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!0,23,4)},u.prototype.readFloatBE=function(e,t){return t||T(e,4,this.length),o.read(this,e,!1,23,4)},u.prototype.readDoubleLE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!0,52,8)},u.prototype.readDoubleBE=function(e,t){return t||T(e,8,this.length),o.read(this,e,!1,52,8)},u.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=1,i=0;for(this[t]=255&e;++i<r&&(o*=256);)this[t+i]=e/o&255;return t+r},u.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||R(this,e,t,r,Math.pow(2,8*r)-1,0);var o=r-1,i=1;for(this[t+o]=255&e;--o>=0&&(i*=256);)this[t+o]=e/i&255;return t+r},u.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,255,0),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},u.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},u.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,65535,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},u.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):L(this,e,t,!0),t+4},u.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,4294967295,0),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=0,a=1,s=0;for(this[t]=255&e;++i<r&&(a*=256);)e<0&&0===s&&0!==this[t+i-1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var o=Math.pow(2,8*r-1);R(this,e,t,r,o-1,-o)}var i=r-1,a=1,s=0;for(this[t+i]=255&e;--i>=0&&(a*=256);)e<0&&0===s&&0!==this[t+i+1]&&(s=1),this[t+i]=(e/a>>0)-s&255;return t+r},u.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,1,127,-128),u.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},u.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):D(this,e,t,!0),t+2},u.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,2,32767,-32768),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):D(this,e,t,!1),t+2},u.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),u.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):L(this,e,t,!0),t+4},u.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||R(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),u.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):L(this,e,t,!1),t+4},u.prototype.writeFloatLE=function(e,t,r){return M(this,e,t,!0,r)},u.prototype.writeFloatBE=function(e,t,r){return M(this,e,t,!1,r)},u.prototype.writeDoubleLE=function(e,t,r){return U(this,e,t,!0,r)},u.prototype.writeDoubleBE=function(e,t,r){return U(this,e,t,!1,r)},u.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var o,i=n-r;if(this===e&&r<t&&t<n)for(o=i-1;o>=0;--o)e[o+t]=this[o+r];else if(i<1e3||!u.TYPED_ARRAY_SUPPORT)for(o=0;o<i;++o)e[o+t]=this[o+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+i),t);return i},u.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var o=e.charCodeAt(0);o<256&&(e=o)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!u.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var i;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var a=u.isBuffer(e)?e:H(new u(e,n).toString()),s=a.length;for(i=0;i<r-t;++i)this[i+t]=a[i%s]}return this};var B=/[^+\/0-9A-Za-z-_]/g;function F(e){return e<16?"0"+e.toString(16):e.toString(16)}function H(e,t){var r;t=t||1/0;for(var n=e.length,o=null,i=[],a=0;a<n;++a){if((r=e.charCodeAt(a))>55295&&r<57344){if(!o){if(r>56319){(t-=3)>-1&&i.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&i.push(239,191,189);continue}o=r;continue}if(r<56320){(t-=3)>-1&&i.push(239,191,189),o=r;continue}r=65536+(o-55296<<10|r-56320)}else o&&(t-=3)>-1&&i.push(239,191,189);if(o=null,r<128){if((t-=1)<0)break;i.push(r)}else if(r<2048){if((t-=2)<0)break;i.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;i.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;i.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return i}function V(e){return n.toByteArray(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(B,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function z(e,t,r,n){for(var o=0;o<n&&!(o+r>=t.length||o>=e.length);++o)t[o+r]=e[o];return o}},42:(e,t)=>{var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=o.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var s in r)n.call(r,s)&&r[s]&&e.push(s);else e.push(r.toString())}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()},8898:(e,t)=>{t.read=function(e,t,r,n,o){var i,a,s=8*o-n-1,u=(1<<s)-1,c=u>>1,l=-7,f=r?o-1:0,d=r?-1:1,p=e[t+f];for(f+=d,i=p&(1<<-l)-1,p>>=-l,l+=s;l>0;i=256*i+e[t+f],f+=d,l-=8);for(a=i&(1<<-l)-1,i>>=-l,l+=n;l>0;a=256*a+e[t+f],f+=d,l-=8);if(0===i)i=1-c;else{if(i===u)return a?NaN:1/0*(p?-1:1);a+=Math.pow(2,n),i-=c}return(p?-1:1)*a*Math.pow(2,i-n)},t.write=function(e,t,r,n,o,i){var a,s,u,c=8*i-o-1,l=(1<<c)-1,f=l>>1,d=23===o?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:i-1,h=n?1:-1,y=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=l):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),(t+=a+f>=1?d/u:d*Math.pow(2,1-f))*u>=2&&(a++,u/=2),a+f>=l?(s=0,a=l):a+f>=1?(s=(t*u-1)*Math.pow(2,o),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,o),a=0));o>=8;e[r+p]=255&s,p+=h,s/=256,o-=8);for(a=a<<o|s,c+=o;c>0;e[r+p]=255&a,p+=h,a/=256,c-=8);e[r+p-h]|=128*y}},5182:e=>{var t={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==t.call(e)}},2525:e=>{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function o(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var a,s,u=o(e),c=1;c<arguments.length;c++){for(var l in a=Object(arguments[c]))r.call(a,l)&&(u[l]=a[l]);if(t){s=t(a);for(var f=0;f<s.length;f++)n.call(a,s[f])&&(u[s[f]]=a[s[f]])}}return u}},7061:e=>{var t,r,n=e.exports={};function o(){throw new Error("setTimeout has not been defined")}function i(){throw new Error("clearTimeout has not been defined")}function a(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(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:o}catch(e){t=o}try{r="function"==typeof clearTimeout?clearTimeout:i}catch(e){r=i}}();var s,u=[],c=!1,l=-1;function f(){c&&s&&(c=!1,s.length?u=s.concat(u):l=-1,u.length&&d())}function d(){if(!c){var e=a(f);c=!0;for(var t=u.length;t;){for(s=u,u=[];++l<t;)s&&s[l].run();l=-1,t=u.length}s=null,c=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===i||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function p(e,t){this.fun=e,this.array=t}function h(){}n.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];u.push(new p(e,t)),1!==u.length||c||a(d)},p.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},1426:(e,t,r)=>{"use strict";r(2525);var n=r(7363),o=60103;if(t.Fragment=60107,"function"==typeof Symbol&&Symbol.for){var i=Symbol.for;o=i("react.element"),t.Fragment=i("react.fragment")}var a=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,s=Object.prototype.hasOwnProperty,u={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,i={},c=null,l=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(l=t.ref),t)s.call(t,n)&&!u.hasOwnProperty(n)&&(i[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===i[n]&&(i[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:l,props:i,_owner:a.current}}t.jsx=c,t.jsxs=c},4246:(e,t,r)=>{"use strict";e.exports=r(1426)},6248:e=>{var t=function(e){"use strict";var t,r=Object.prototype,n=r.hasOwnProperty,o="function"==typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",s=o.toStringTag||"@@toStringTag";function u(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,r){return e[t]=r}}function c(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,i=Object.create(o.prototype),a=new C(n||[]);return i._invoke=function(e,t,r){var n=f;return function(o,i){if(n===p)throw new Error("Generator is already running");if(n===h){if("throw"===o)throw i;return k()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var s=S(a,r);if(s){if(s===y)continue;return s}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(n===f)throw n=h,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n=p;var u=l(e,t,r);if("normal"===u.type){if(n=r.done?h:d,u.arg===y)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n=h,r.method="throw",r.arg=u.arg)}}}(e,r,a),i}function l(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}e.wrap=c;var f="suspendedStart",d="suspendedYield",p="executing",h="completed",y={};function v(){}function m(){}function g(){}var b={};u(b,i,(function(){return this}));var w=Object.getPrototypeOf,x=w&&w(w(N([])));x&&x!==r&&n.call(x,i)&&(b=x);var j=g.prototype=v.prototype=Object.create(b);function O(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function r(o,i,a,s){var u=l(e[o],e,i);if("throw"!==u.type){var c=u.arg,f=c.value;return f&&"object"==typeof f&&n.call(f,"__await")?t.resolve(f.__await).then((function(e){r("next",e,a,s)}),(function(e){r("throw",e,a,s)})):t.resolve(f).then((function(e){c.value=e,a(c)}),(function(e){return r("throw",e,a,s)}))}s(u.arg)}var o;this._invoke=function(e,n){function i(){return new t((function(t,o){r(e,n,t,o)}))}return o=o?o.then(i,i):i()}}function S(e,r){var n=e.iterator[r.method];if(n===t){if(r.delegate=null,"throw"===r.method){if(e.iterator.return&&(r.method="return",r.arg=t,S(e,r),"throw"===r.method))return y;r.method="throw",r.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=l(n,e.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var i=o.arg;return i?i.done?(r[e.resultName]=i.value,r.next=e.nextLoc,"return"!==r.method&&(r.method="next",r.arg=t),r.delegate=null,y):i:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function _(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function C(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function N(e){if(e){var r=e[i];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,a=function r(){for(;++o<e.length;)if(n.call(e,o))return r.value=e[o],r.done=!1,r;return r.value=t,r.done=!0,r};return a.next=a}}return{next:k}}function k(){return{value:t,done:!0}}return m.prototype=g,u(j,"constructor",g),u(g,"constructor",m),m.displayName=u(g,s,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,s,"GeneratorFunction")),e.prototype=Object.create(j),e},e.awrap=function(e){return{__await:e}},O(E.prototype),u(E.prototype,a,(function(){return this})),e.AsyncIterator=E,e.async=function(t,r,n,o,i){void 0===i&&(i=Promise);var a=new E(c(t,r,n,o),i);return e.isGeneratorFunction(r)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},O(j),u(j,s,"Generator"),u(j,i,(function(){return this})),u(j,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var r in e)t.push(r);return t.reverse(),function r(){for(;t.length;){var n=t.pop();if(n in e)return r.value=n,r.done=!1,r}return r.done=!0,r}},e.values=N,C.prototype={constructor:C,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(_),!e)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var r=this;function o(n,o){return s.type="throw",s.arg=e,r.next=n,o&&(r.method="next",r.arg=t),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],s=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=n.call(a,"catchLoc"),c=n.call(a,"finallyLoc");if(u&&c){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var o=this.tryEntries[r];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),_(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,r,n){return this.delegate={iterator:N(e),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=t),y}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},7363:e=>{"use strict";e.exports=React}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n](i,i.exports,r),i.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";const e=wp.element,t=wp.data;var n=r(7363);function o(e,t,r,n){return new(r||(r=Promise))((function(o,i){function a(e){try{u(n.next(e))}catch(e){i(e)}}function s(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(a,s)}u((n=n.apply(e,t||[])).next())}))}function i(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,n=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=a.trys,(o=o.length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}}var a,s=function(){},u=s(),c=Object,l=function(e){return e===u},f=function(e){return"function"==typeof e},d=function(e,t){return c.assign({},e,t)},p="undefined",h=function(){return typeof window!=p},y=new WeakMap,v=0,m=function(e){var t,r,n=typeof e,o=e&&e.constructor,i=o==Date;if(c(e)!==e||i||o==RegExp)t=i?e.toJSON():"symbol"==n?e.toString():"string"==n?JSON.stringify(e):""+e;else{if(t=y.get(e))return t;if(t=++v+"~",y.set(e,t),o==Array){for(t="@",r=0;r<e.length;r++)t+=m(e[r])+",";y.set(e,t)}if(o==c){t="#";for(var a=c.keys(e).sort();!l(r=a.pop());)l(e[r])||(t+=r+":"+m(e[r])+",");y.set(e,t)}}return t},g=!0,b=h(),w=typeof document!=p,x=b&&window.addEventListener?window.addEventListener.bind(window):s,j=w?document.addEventListener.bind(document):s,O=b&&window.removeEventListener?window.removeEventListener.bind(window):s,E=w?document.removeEventListener.bind(document):s,S={isOnline:function(){return g},isVisible:function(){var e=w&&document.visibilityState;return l(e)||"hidden"!==e}},P={initFocus:function(e){return j("visibilitychange",e),x("focus",e),function(){E("visibilitychange",e),O("focus",e)}},initReconnect:function(e){var t=function(){g=!0,e()},r=function(){g=!1};return x("online",t),x("offline",r),function(){O("online",t),O("offline",r)}}},_=!h()||"Deno"in window,C=function(e){return h()&&typeof window.requestAnimationFrame!=p?window.requestAnimationFrame(e):setTimeout(e,1)},N=_?n.useEffect:n.useLayoutEffect,k="undefined"!=typeof navigator&&navigator.connection,A=!_&&k&&(["slow-2g","2g"].includes(k.effectiveType)||k.saveData),T=function(e){if(f(e))try{e=e()}catch(t){e=""}var t=[].concat(e);return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?m(e):"",t,e?"$swr$"+e:""]},R=new WeakMap,D=function(e,t,r,n,o,i,a){void 0===a&&(a=!0);var s=R.get(e),u=s[0],c=s[1],l=s[3],f=u[t],d=c[t];if(a&&d)for(var p=0;p<d.length;++p)d[p](r,n,o);return i&&(delete l[t],f&&f[0])?f[0](2).then((function(){return e.get(t)})):e.get(t)},L=0,I=function(){return++L},M=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return o(void 0,void 0,void 0,(function(){var t,r,n,o,a,s,c,p,h,y,v,m,g,b,w,x,j,O,E,S,P;return i(this,(function(i){switch(i.label){case 0:if(t=e[0],r=e[1],n=e[2],o=e[3],s=!!l((a="boolean"==typeof o?{revalidate:o}:o||{}).populateCache)||a.populateCache,c=!1!==a.revalidate,p=!1!==a.rollbackOnError,h=a.optimisticData,y=T(r),v=y[0],m=y[2],!v)return[2];if(g=R.get(t),b=g[2],e.length<3)return[2,D(t,v,t.get(v),u,u,c,!0)];if(w=n,j=I(),b[v]=[j,0],O=!l(h),E=t.get(v),O&&(S=f(h)?h(E):h,t.set(v,S),D(t,v,S)),f(w))try{w=w(t.get(v))}catch(e){x=e}return w&&f(w.then)?[4,w.catch((function(e){x=e}))]:[3,2];case 1:if(w=i.sent(),j!==b[v][0]){if(x)throw x;return[2,w]}x&&O&&p&&(s=!0,w=E,t.set(v,E)),i.label=2;case 2:return s&&(x||(f(s)&&(w=s(w,E)),t.set(v,w)),t.set(m,d(t.get(m),{error:x}))),b[v][1]=I(),[4,D(t,v,w,x,u,c,!!s)];case 3:if(P=i.sent(),x)throw x;return[2,s?P:w]}}))}))},U=function(e,t){for(var r in e)e[r][0]&&e[r][0](t)},B=function(e,t){if(!R.has(e)){var r=d(P,t),n={},o=M.bind(u,e),i=s;if(R.set(e,[n,{},{},{},o]),!_){var a=r.initFocus(setTimeout.bind(u,U.bind(u,n,0))),c=r.initReconnect(setTimeout.bind(u,U.bind(u,n,1)));i=function(){a&&a(),c&&c(),R.delete(e)}}return[e,o,i]}return[e,R.get(e)[4]]},F=B(new Map),H=F[0],V=F[1],z=d({onLoadingSlow:s,onSuccess:s,onError:s,onErrorRetry:function(e,t,r,n,o){var i=r.errorRetryCount,a=o.retryCount,s=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!l(i)&&a>i||setTimeout(n,s,o)},onDiscarded:s,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:A?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:A?5e3:3e3,compare:function(e,t){return m(e)==m(t)},isPaused:function(){return!1},cache:H,mutate:V,fallback:{}},S),Y=function(e,t){var r=d(e,t);if(t){var n=e.use,o=e.fallback,i=t.use,a=t.fallback;n&&i&&(r.use=n.concat(i)),o&&a&&(r.fallback=d(o,a))}return r},q=(0,n.createContext)({}),W=function(e){return f(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},X=function(){return d(z,(0,n.useContext)(q))},Z=function(e,t,r){var n=t[e]||(t[e]=[]);return n.push(r),function(){var e=n.indexOf(r);e>=0&&(n[e]=n[n.length-1],n.pop())}},G={dedupe:!0},J=c.defineProperty((function(e){var t=e.value,r=Y((0,n.useContext)(q),t),o=t&&t.provider,i=(0,n.useState)((function(){return o?B(o(r.cache||H),t):u}))[0];return i&&(r.cache=i[0],r.mutate=i[1]),N((function(){return i?i[2]:u}),[]),(0,n.createElement)(q.Provider,d(e,{value:r}))}),"default",{value:z}),$=(a=function(e,t,r){var a=r.cache,s=r.compare,c=r.fallbackData,p=r.suspense,h=r.revalidateOnMount,y=r.refreshInterval,v=r.refreshWhenHidden,m=r.refreshWhenOffline,g=R.get(a),b=g[0],w=g[1],x=g[2],j=g[3],O=T(e),E=O[0],S=O[1],P=O[2],k=(0,n.useRef)(!1),A=(0,n.useRef)(!1),L=(0,n.useRef)(E),U=(0,n.useRef)(t),B=(0,n.useRef)(r),F=function(){return B.current},H=function(){return F().isVisible()&&F().isOnline()},V=function(e){return a.set(P,d(a.get(P),e))},z=a.get(E),Y=l(c)?r.fallback[E]:c,q=l(z)?Y:z,W=a.get(P)||{},X=W.error,J=!k.current,$=function(){return J&&!l(h)?h:!F().isPaused()&&(p?!l(q)&&r.revalidateIfStale:l(q)||r.revalidateIfStale)},K=!(!E||!t)&&(!!W.isValidating||J&&$()),Q=function(e,t){var r=(0,n.useState)({})[1],o=(0,n.useRef)(e),i=(0,n.useRef)({data:!1,error:!1,isValidating:!1}),a=(0,n.useCallback)((function(e){var n=!1,a=o.current;for(var s in e){var u=s;a[u]!==e[u]&&(a[u]=e[u],i.current[u]&&(n=!0))}n&&!t.current&&r({})}),[]);return N((function(){o.current=e})),[o,i.current,a]}({data:q,error:X,isValidating:K},A),ee=Q[0],te=Q[1],re=Q[2],ne=(0,n.useCallback)((function(e){return o(void 0,void 0,void 0,(function(){var t,n,o,c,d,p,h,y,v,m,g,b,w;return i(this,(function(i){switch(i.label){case 0:if(t=U.current,!E||!t||A.current||F().isPaused())return[2,!1];c=!0,d=e||{},p=!j[E]||!d.dedupe,h=function(){return!A.current&&E===L.current&&k.current},y=function(){var e=j[E];e&&e[1]===o&&delete j[E]},v={isValidating:!1},m=function(){V({isValidating:!1}),h()&&re(v)},V({isValidating:!0}),re({isValidating:!0}),i.label=1;case 1:return i.trys.push([1,3,,4]),p&&(D(a,E,ee.current.data,ee.current.error,!0),r.loadingTimeout&&!a.get(E)&&setTimeout((function(){c&&h()&&F().onLoadingSlow(E,r)}),r.loadingTimeout),j[E]=[t.apply(void 0,S),I()]),w=j[E],n=w[0],o=w[1],[4,n];case 2:return n=i.sent(),p&&setTimeout(y,r.dedupingInterval),j[E]&&j[E][1]===o?(V({error:u}),v.error=u,g=x[E],!l(g)&&(o<=g[0]||o<=g[1]||0===g[1])?(m(),p&&h()&&F().onDiscarded(E),[2,!1]):(s(ee.current.data,n)?v.data=ee.current.data:v.data=n,s(a.get(E),n)||a.set(E,n),p&&h()&&F().onSuccess(n,E,r),[3,4])):(p&&h()&&F().onDiscarded(E),[2,!1]);case 3:return b=i.sent(),y(),F().isPaused()||(V({error:b}),v.error=b,p&&h()&&(F().onError(b,E,r),("boolean"==typeof r.shouldRetryOnError&&r.shouldRetryOnError||f(r.shouldRetryOnError)&&r.shouldRetryOnError(b))&&H()&&F().onErrorRetry(b,E,r,ne,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return c=!1,m(),h()&&p&&D(a,E,v.data,v.error,!1),[2,!0]}}))}))}),[E]),oe=(0,n.useCallback)(M.bind(u,a,(function(){return L.current})),[]);if(N((function(){U.current=t,B.current=r})),N((function(){if(E){var e=E!==L.current,t=ne.bind(u,G),r=0,n=Z(E,w,(function(e,t,r){re(d({error:t,isValidating:r},s(ee.current.data,e)?u:{data:e}))})),o=Z(E,b,(function(e){if(0==e){var n=Date.now();F().revalidateOnFocus&&n>r&&H()&&(r=n+F().focusThrottleInterval,t())}else if(1==e)F().revalidateOnReconnect&&H()&&t();else if(2==e)return ne()}));return A.current=!1,L.current=E,k.current=!0,e&&re({data:q,error:X,isValidating:K}),$()&&(l(q)||_?t():C(t)),function(){A.current=!0,n(),o()}}}),[E,ne]),N((function(){var e;function t(){var t=f(y)?y(q):y;t&&-1!==e&&(e=setTimeout(r,t))}function r(){ee.current.error||!v&&!F().isVisible()||!m&&!F().isOnline()?t():ne(G).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[y,v,m,ne]),(0,n.useDebugValue)(q),p&&l(q)&&E)throw U.current=t,B.current=r,A.current=!1,l(X)?ne(G):X;return{mutate:oe,get data(){return te.data=!0,q},get error(){return te.error=!0,X},get isValidating(){return te.isValidating=!0,K}}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=X(),n=W(e),o=n[0],i=n[1],s=n[2],u=Y(r,s),c=a,l=u.use;if(l)for(var f=l.length;f-- >0;)c=l[f](c);return c(o,i||u.fetcher,u)});const K=wp.components,Q=wp.i18n;var ee=r(4246),te=function(){return(0,ee.jsx)("div",{className:"extendify-onboarding w-full fixed bottom-4 px-4 flex justify-end z-max",children:(0,ee.jsx)("div",{className:"shadow-2xl",children:(0,ee.jsx)(K.Snackbar,{children:(0,Q.__)("Just a moment, this is taking longer than expected.","extendify")})})})},re=r(7135),ne=r.n(re),oe=r(4206),ie=r.n(oe)().create({baseURL:window.extOnbData.root,headers:{"X-WP-Nonce":window.extOnbData.nonce,"X-Requested-With":"XMLHttpRequest","X-Extendify-Onboarding":!0,"X-Extendify":!0}});ie.interceptors.request.use((function(e){return ue(ce(e))}),(function(e){return e})),ie.interceptors.response.use((function(e){return ae(le(e))}),(function(e){return se(e)}));var ae=function(e){return Object.prototype.hasOwnProperty.call(e,"data")?e.data:e},se=function(e){if(e.response)return console.error(e.response),Promise.reject(ae(e.response))},ue=function(e){return e.headers["X-Extendify-Onboarding-Dev-Mode"]=window.location.search.indexOf("DEVMODE")>-1,e.headers["X-Extendify-Onboarding-Local-Mode"]=window.location.search.indexOf("LOCALMODE")>-1,e},ce=function(e){try{var t,r,n=null==e||null===(t=e.url)||void 0===t||null===(r=t.split("/"))||void 0===r?void 0:r.pop();if(!n)return e;performance.mark("".concat(n,"-extendify"))}catch(e){}return e},le=function(e){try{var t,r,n,o=new URL(null==e||null===(t=e.request)||void 0===t?void 0:t.responseURL),i=null===(r=o.pathname)||void 0===r||null===(n=r.split("/"))||void 0===n?void 0:n.pop();if(!i)return e;var a=performance.measure("".concat(i,"-extendify"),{start:"".concat(i,"-extendify"),detail:{context:{type:"request"},extendify:!0}}),s=new URLSearchParams(window.location.search);null!=s&&s.has("performance")&&console.info("~> Endpoint /".concat(i," ").concat("styles"===i?"(".concat(o.searchParams.get("siteType"),") "):"","in ").concat(a.duration.toFixed(),"ms"))}catch(e){}return e};function fe(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function de(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){fe(i,n,o,a,s,"next",e)}function s(e){fe(i,n,o,a,s,"throw",e)}a(void 0)}))}}var pe=function(e){return ie.post("onboarding/parse-theme-json",{themeJson:e})},he=function(e,t){return ie.post("onboarding/options",{option:e,value:t})},ye=function(){var e=de(ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/options",{params:{option:t}});case 2:return r=e.sent,n=r.data,e.abrupt("return",n);case 5:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),ve=function(){var e=de(ne().mark((function e(t){var r,n,o,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify(t)},n="".concat(window.extOnbData.wpRoot,"wp/v2/pages"),e.next=4,fetch(n,r);case 4:return o=e.sent,e.next=7,o.json();case 7:return i=e.sent,e.abrupt("return",i);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),me=function(){var e=de(ne().mark((function e(t,r){var n,o,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"DELETE",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}},o="".concat(window.extOnbData.wpRoot,"wp/v2/").concat(r,"s/").concat(t),e.next=4,fetch(o,n);case 4:return i=e.sent,e.next=7,i.json();case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})));return function(t,r){return e.apply(this,arguments)}}(),ge=function(){var e=de(ne().mark((function e(t){var r,n,o,i,a=arguments;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return r=a.length>1&&void 0!==a[1]?a[1]:"post",n={method:"GET",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}},o="".concat(window.extOnbData.wpRoot,"wp/v2/").concat(r,"s?slug=").concat(t),e.next=5,fetch(o,n);case 5:return i=e.sent,e.next=8,i.json();case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),be=function(){var e=de(ne().mark((function e(t){var r,n,o;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null!=t&&t.wordpressSlug){e.next=2;break}return e.abrupt("return");case 2:return r={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},n="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.prev=4,e.next=7,fetch(n,{method:"POST",headers:r,body:JSON.stringify({slug:t.wordpressSlug,status:"active"})});case 7:if(!((o=e.sent).status>=200&&o.status<300)){e.next=12;break}return e.next=11,o.json();case 11:return e.abrupt("return",e.sent);case 12:e.next=16;break;case 14:e.prev=14,e.t0=e.catch(4);case 16:return e.prev=16,e.next=19,we(t);case 19:return e.abrupt("return",e.sent);case 22:e.prev=22,e.t1=e.catch(16);case 24:case"end":return e.stop()}}),e,null,[[4,14],[16,22]])})));return function(t){return e.apply(this,arguments)}}(),we=function(){var e=de(ne().mark((function e(t){var r,n,o,i,a,s,u;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o={"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},i="".concat(window.extOnbData.wpRoot,"wp/v2/plugins"),e.next=4,fetch("".concat(i,"?search=").concat(t.wordpressSlug),{headers:o});case 4:return a=e.sent,e.next=7,a.json();case 7:if(e.t1=r=e.sent,e.t0=null===e.t1,e.t0){e.next=11;break}e.t0=void 0===r;case 11:if(!e.t0){e.next=15;break}e.t2=void 0,e.next=16;break;case 15:e.t2=null===(n=r[0])||void 0===n?void 0:n.plugin;case 16:if(s=e.t2){e.next=19;break}throw new Error("Plugin not found");case 19:return e.next=21,fetch("".concat(i,"/").concat(s),{method:"POST",headers:o,body:JSON.stringify({status:"active"})});case 21:return u=e.sent,e.next=24,u.json();case 24:return e.abrupt("return",e.sent);case 25:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}(),xe=function(){var e=de(ne().mark((function e(t,r){var n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n={method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({slug:"".concat(t),theme:"extendable",type:"wp_template_part",status:"publish",description:(0,Q.sprintf)((0,Q.__)("Added by %s","extendify"),"Extendify Launch"),content:r})},e.prev=1,o="".concat(window.extOnbData.wpRoot,"wp/v2/template-parts/").concat(t),e.next=5,fetch(o,n);case 5:return i=e.sent,e.next=8,i.json();case 8:return a=e.sent,e.abrupt("return",a);case 12:e.prev=12,e.t0=e.catch(1);case 14:case"end":return e.stop()}}),e,null,[[1,12]])})));return function(t,r){return e.apply(this,arguments)}}(),je=function(){var e=de(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Oe();case 2:return o=e.sent,o=null===(t=o)||void 0===t?void 0:t.filter((function(e){return"extendable"===e.theme})),i=null===(r=o)||void 0===r?void 0:r.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("header")})),a=null===(n=o)||void 0===n?void 0:n.filter((function(e){var t;return null==e||null===(t=e.slug)||void 0===t?void 0:t.includes("footer")})),e.abrupt("return",{headers:i,footers:a});case 7:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Oe=function(){var e=de(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/template-parts",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Ee=function(){var e=de(ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch(window.extOnbData.wpRoot+"wp/v2/global-styles/themes/extendable/variations",{headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce}});case 3:if((t=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,t.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(){return e.apply(this,arguments)}}(),Se=function(){var e=de(ne().mark((function e(t,r){var n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,fetch("".concat(window.extOnbData.wpRoot,"wp/v2/global-styles/").concat(t),{method:"POST",headers:{"Content-type":"application/json","X-WP-Nonce":window.extOnbData.nonce},body:JSON.stringify({id:t,settings:r.settings,styles:r.styles})});case 3:if((n=e.sent).ok){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,n.json();case 8:return e.abrupt("return",e.sent);case 11:e.prev=11,e.t0=e.catch(0);case 13:case"end":return e.stop()}}),e,null,[[0,11]])})));return function(t,r){return e.apply(this,arguments)}}(),Pe=r(42),_e=r.n(Pe);function Ce(e){let t;const r=new Set,n=(e,n)=>{const o="function"==typeof e?e(t):e;if(o!==t){const e=t;t=n?o:Object.assign({},t,o),r.forEach((r=>r(t,e)))}},o=()=>t,i={setState:n,getState:o,subscribe:(e,n,i)=>n||i?((e,n=o,i=Object.is)=>{console.warn("[DEPRECATED] Please use `subscribeWithSelector` middleware");let a=n(t);function s(){const r=n(t);if(!i(a,r)){const t=a;e(a=r,t)}}return r.add(s),()=>r.delete(s)})(e,n,i):(r.add(e),()=>r.delete(e)),destroy:()=>r.clear()};return t=e(n,o,i),i}const Ne="undefined"==typeof window||!window.navigator||/ServerSideRendering|^Deno\//.test(window.navigator.userAgent)?n.useEffect:n.useLayoutEffect;function ke(e){const t="function"==typeof e?Ce(e):e,r=(e=t.getState,r=Object.is)=>{const[,o]=(0,n.useReducer)((e=>e+1),0),i=t.getState(),a=(0,n.useRef)(i),s=(0,n.useRef)(e),u=(0,n.useRef)(r),c=(0,n.useRef)(!1),l=(0,n.useRef)();let f;void 0===l.current&&(l.current=e(i));let d=!1;(a.current!==i||s.current!==e||u.current!==r||c.current)&&(f=e(i),d=!r(l.current,f)),Ne((()=>{d&&(l.current=f),a.current=i,s.current=e,u.current=r,c.current=!1}));const p=(0,n.useRef)(i);Ne((()=>{const e=()=>{try{const e=t.getState(),r=s.current(e);u.current(l.current,r)||(a.current=e,l.current=r,o())}catch(e){c.current=!0,o()}},r=t.subscribe(e);return t.getState()!==p.current&&e(),r}),[]);const h=d?f:l.current;return(0,n.useDebugValue)(h),h};return Object.assign(r,t),r[Symbol.iterator]=function(){console.warn("[useStore, api] = create() is deprecated and will be removed in v4");const e=[r,t];return{next(){const t=e.length<=0;return{value:e.shift(),done:t}}}},r}Object.defineProperty,Object.getOwnPropertySymbols,Object.prototype.hasOwnProperty,Object.prototype.propertyIsEnumerable;function Ae(e,t){return(r,n,o)=>{var i;let a=!1;"string"!=typeof t||a||(console.warn("[zustand devtools middleware]: passing `name` as directly will be not allowed in next majorpass the `name` in an object `{ name: ... }` instead"),a=!0);const s=void 0===t?{name:void 0,anonymousActionType:void 0}:"string"==typeof t?{name:t}:t;let u;void 0!==(null==(i=null==s?void 0:s.serialize)?void 0:i.options)&&console.warn("[zustand devtools middleware]: `serialize.options` is deprecated, just use `serialize`");try{u=window.__REDUX_DEVTOOLS_EXTENSION__||window.top.__REDUX_DEVTOOLS_EXTENSION__}catch{}if(!u)return"undefined"!=typeof window&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(r,n,o);let c=Object.create(u.connect(s)),l=!1;Object.defineProperty(o,"devtools",{get:()=>(l||(console.warn("[zustand devtools middleware] `devtools` property on the store is deprecated it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c),set:e=>{l||(console.warn("[zustand devtools middleware] `api.devtools` is deprecated, it will be removed in the next major.\nYou shouldn't interact with the extension directly. But in case you still want to you can patch `window.__REDUX_DEVTOOLS_EXTENSION__` directly"),l=!0),c=e}});let f=!1;Object.defineProperty(c,"prefix",{get:()=>(f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0),""),set:()=>{f||(console.warn("[zustand devtools middleware] along with `api.devtools`, `api.devtools.prefix` is deprecated.\nWe no longer prefix the actions/names"+s.name===void 0?", pass the `name` option to create a separate instance of devtools for each store.":", because the `name` option already creates a separate instance of devtools for each store."),f=!0)}});let d=!0;o.setState=(e,t,o)=>{r(e,t),d&&c.send(void 0===o?{type:s.anonymousActionType||"anonymous"}:"string"==typeof o?{type:o}:o,n())};const p=(...e)=>{const t=d;d=!1,r(...e),d=t},h=e(o.setState,n,o);if(c.init(h),o.dispatchFromDevtools&&"function"==typeof o.dispatch){let e=!1;const t=o.dispatch;o.dispatch=(...r)=>{"__setState"!==r[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...r)}}return c.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):Te(e.payload,(e=>{"__setState"!==e.type?o.dispatchFromDevtools&&"function"==typeof o.dispatch&&o.dispatch(e):p(e.state)}));case"DISPATCH":switch(e.payload.type){case"RESET":return p(h),c.init(o.getState());case"COMMIT":return c.init(o.getState());case"ROLLBACK":return Te(e.state,(e=>{p(e),c.init(o.getState())}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return Te(e.state,(e=>{p(e)}));case"IMPORT_STATE":{const{nextLiftedState:r}=e.payload,n=null==(t=r.computedStates.slice(-1)[0])?void 0:t.state;if(!n)return;return p(n),void c.send(null,r)}case"PAUSE_RECORDING":return d=!d}return}})),h}}const Te=(e,t)=>{let r;try{r=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==r&&t(r)};var Re=Object.defineProperty,De=Object.getOwnPropertySymbols,Le=Object.prototype.hasOwnProperty,Ie=Object.prototype.propertyIsEnumerable,Me=(e,t,r)=>t in e?Re(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,Ue=(e,t)=>{for(var r in t||(t={}))Le.call(t,r)&&Me(e,r,t[r]);if(De)for(var r of De(t))Ie.call(t,r)&&Me(e,r,t[r]);return e};const Be=e=>t=>{try{const r=e(t);return r instanceof Promise?r:{then:e=>Be(e)(r),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>Be(t)(e)}}},Fe=(e,t)=>(r,n,o)=>{let i=Ue({getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>Ue(Ue({},t),e)},t);(i.blacklist||i.whitelist)&&console.warn(`The ${i.blacklist?"blacklist":"whitelist"} option is deprecated and will be removed in the next version. Please use the 'partialize' option instead.`);let a=!1;const s=new Set,u=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),r(...e)}),n,o);c.removeItem||console.warn(`[zustand persist middleware] The given storage for item '${i.name}' does not contain a 'removeItem' method, which will be required in v4.`);const l=Be(i.serialize),f=()=>{const e=i.partialize(Ue({},n()));let t;i.whitelist&&Object.keys(e).forEach((t=>{var r;!(null==(r=i.whitelist)?void 0:r.includes(t))&&delete e[t]})),i.blacklist&&i.blacklist.forEach((t=>delete e[t]));const r=l({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return r},d=o.setState;o.setState=(e,t)=>{d(e,t),f()};const p=e(((...e)=>{r(...e),f()}),n,o);let h;const y=()=>{var e;if(!c)return;a=!1,s.forEach((e=>e(n())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,n()))||void 0;return Be(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return h=i.merge(e,null!=(t=n())?t:p),r(h,!0),f()})).then((()=>{null==t||t(h,void 0),a=!0,u.forEach((e=>e(h)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i=Ue(Ue({},i),e),e.getStorage&&(c=e.getStorage())},clearStorage:()=>{var e;null==(e=null==c?void 0:c.removeItem)||e.call(c,i.name)},rehydrate:()=>y(),hasHydrated:()=>a,onHydrate:e=>(s.add(e),()=>{s.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},y(),h||p};function He(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ve(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?He(Object(r),!0).forEach((function(t){ze(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):He(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ze(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ye(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var qe=function(){var e,t=(e=ne().mark((function e(t){var r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/styles",{params:t});case 2:return n=e.sent,e.next=5,je();case 5:return o=e.sent,i=o.headers,a=o.footers,e.abrupt("return",null==n||null===(r=n.data)||void 0===r?void 0:r.map((function(e){var t,r,n,o,s,u,c=null==i?void 0:i.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.headerSlug))&&void 0!==r?r:"header"})),l=null==a?void 0:a.find((function(t){var r;return null!==(r=(null==t?void 0:t.slug)===(null==e?void 0:e.footerSlug))&&void 0!==r?r:"footer"}));return Ve(Ve({},e),{},{headerCode:null!==(t=null==c||null===(r=c.content)||void 0===r||null===(n=r.raw)||void 0===n?void 0:n.trim())&&void 0!==t?t:"",footerCode:null!==(o=null==l||null===(s=l.content)||void 0===s||null===(u=s.raw)||void 0===u?void 0:u.trim())&&void 0!==o?o:""})})));case 9:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Ye(i,n,o,a,s,"next",e)}function s(e){Ye(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),We=function(e){return ie.get("onboarding/template",{params:e})},Xe=["className"];function Ze(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Ge(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ze(Object(r),!0).forEach((function(t){Je(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ze(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Je(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function $e(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Ke=(0,e.memo)((function(e){var t=e.className,r=$e(e,Xe);return(0,ee.jsx)("svg",Ge(Ge({className:t,viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M8.72912 13.7449L5.77536 10.7911L4.76953 11.7899L8.72912 15.7495L17.2291 7.24948L16.2304 6.25073L8.72912 13.7449Z",fill:"currentColor"})}))}));var Qe=["className"];function et(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function tt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?et(Object(r),!0).forEach((function(t){rt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):et(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function rt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function nt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const ot=(0,e.memo)((function(e){var t=e.className,r=nt(e,Qe);return(0,ee.jsx)("svg",tt(tt({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M10 17.5L15 12L10 6.5",stroke:"currentColor",strokeWidth:"1.75"})}))}));var it=["className"];function at(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function st(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?at(Object(r),!0).forEach((function(t){ut(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):at(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ut(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function ct(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const lt=(0,e.memo)((function(e){var t=e.className,r=ct(e,it);return(0,ee.jsxs)("svg",st(st({className:t,viewBox:"0 0 2524 492",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M609.404 378.5C585.07 378.5 563.404 373 544.404 362C525.737 350.667 511.07 335.333 500.404 316C489.737 296.333 484.404 273.833 484.404 248.5C484.404 222.833 489.57 200.167 499.904 180.5C510.237 160.833 524.737 145.5 543.404 134.5C562.07 123.167 583.404 117.5 607.404 117.5C632.404 117.5 653.904 122.833 671.904 133.5C689.904 143.833 703.737 158.333 713.404 177C723.404 195.667 728.404 218 728.404 244V262.5L516.404 263L517.404 224H667.904C667.904 207 662.404 193.333 651.404 183C640.737 172.667 626.237 167.5 607.904 167.5C593.57 167.5 581.404 170.5 571.404 176.5C561.737 182.5 554.404 191.5 549.404 203.5C544.404 215.5 541.904 230.167 541.904 247.5C541.904 274.167 547.57 294.333 558.904 308C570.57 321.667 587.737 328.5 610.404 328.5C627.07 328.5 640.737 325.333 651.404 319C662.404 312.667 669.57 303.667 672.904 292H729.404C724.07 319 710.737 340.167 689.404 355.5C668.404 370.833 641.737 378.5 609.404 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M797.529 372H728.029L813.029 251L728.029 125H799.029L853.529 209L906.029 125H974.529L890.529 250.5L972.029 372H902.029L849.029 290.5L797.529 372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M994.142 125H1150.14V176H994.142V125ZM1102.64 372H1041.64V48H1102.64V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1278.62 378.5C1254.29 378.5 1232.62 373 1213.62 362C1194.96 350.667 1180.29 335.333 1169.62 316C1158.96 296.333 1153.62 273.833 1153.62 248.5C1153.62 222.833 1158.79 200.167 1169.12 180.5C1179.46 160.833 1193.96 145.5 1212.62 134.5C1231.29 123.167 1252.62 117.5 1276.62 117.5C1301.62 117.5 1323.12 122.833 1341.12 133.5C1359.12 143.833 1372.96 158.333 1382.62 177C1392.62 195.667 1397.62 218 1397.62 244V262.5L1185.62 263L1186.62 224H1337.12C1337.12 207 1331.62 193.333 1320.62 183C1309.96 172.667 1295.46 167.5 1277.12 167.5C1262.79 167.5 1250.62 170.5 1240.62 176.5C1230.96 182.5 1223.62 191.5 1218.62 203.5C1213.62 215.5 1211.12 230.167 1211.12 247.5C1211.12 274.167 1216.79 294.333 1228.12 308C1239.79 321.667 1256.96 328.5 1279.62 328.5C1296.29 328.5 1309.96 325.333 1320.62 319C1331.62 312.667 1338.79 303.667 1342.12 292H1398.62C1393.29 319 1379.96 340.167 1358.62 355.5C1337.62 370.833 1310.96 378.5 1278.62 378.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1484.44 372H1423.44V125H1479.94L1484.94 157C1492.61 144.667 1503.44 135 1517.44 128C1531.78 121 1547.28 117.5 1563.94 117.5C1594.94 117.5 1618.28 126.667 1633.94 145C1649.94 163.333 1657.94 188.333 1657.94 220V372H1596.94V234.5C1596.94 213.833 1592.28 198.5 1582.94 188.5C1573.61 178.167 1560.94 173 1544.94 173C1525.94 173 1511.11 179 1500.44 191C1489.78 203 1484.44 219 1484.44 239V372Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1798.38 378.5C1774.38 378.5 1753.71 373.167 1736.38 362.5C1719.38 351.5 1706.04 336.333 1696.38 317C1687.04 297.667 1682.38 275.167 1682.38 249.5C1682.38 223.833 1687.04 201.167 1696.38 181.5C1706.04 161.5 1719.88 145.833 1737.88 134.5C1755.88 123.167 1777.21 117.5 1801.88 117.5C1819.21 117.5 1835.04 121 1849.38 128C1863.71 134.667 1874.71 144.167 1882.38 156.5V0H1942.88V372H1886.88L1882.88 333.5C1875.54 347.5 1864.21 358.5 1848.88 366.5C1833.88 374.5 1817.04 378.5 1798.38 378.5ZM1811.88 322.5C1826.21 322.5 1838.54 319.5 1848.88 313.5C1859.21 307.167 1867.21 298.333 1872.88 287C1878.88 275.333 1881.88 262.167 1881.88 247.5C1881.88 232.5 1878.88 219.5 1872.88 208.5C1867.21 197.167 1859.21 188.333 1848.88 182C1838.54 175.333 1826.21 172 1811.88 172C1797.88 172 1785.71 175.333 1775.38 182C1765.04 188.333 1757.04 197.167 1751.38 208.5C1746.04 219.833 1743.38 232.833 1743.38 247.5C1743.38 262.167 1746.04 275.167 1751.38 286.5C1757.04 297.833 1765.04 306.667 1775.38 313C1785.71 319.333 1797.88 322.5 1811.88 322.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M1996.45 372V125H2057.45V372H1996.45ZM2026.45 75.5C2016.11 75.5 2007.28 72 1999.95 65C1992.95 57.6667 1989.45 48.8333 1989.45 38.5C1989.45 28.1667 1992.95 19.5 1999.95 12.5C2007.28 5.50001 2016.11 2.00002 2026.45 2.00002C2036.78 2.00002 2045.45 5.50001 2052.45 12.5C2059.78 19.5 2063.45 28.1667 2063.45 38.5C2063.45 48.8333 2059.78 57.6667 2052.45 65C2045.45 72 2036.78 75.5 2026.45 75.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2085.97 125H2240.97V176H2085.97V125ZM2241.47 2.5V54.5C2238.14 54.5 2234.64 54.5 2230.97 54.5C2227.64 54.5 2224.14 54.5 2220.47 54.5C2205.14 54.5 2194.8 58.1667 2189.47 65.5C2184.47 72.8333 2181.97 82.6667 2181.97 95V372H2121.47V95C2121.47 72.3333 2125.14 54.1667 2132.47 40.5C2139.8 26.5 2150.14 16.3333 2163.47 10C2176.8 3.33334 2192.3 0 2209.97 0C2214.97 0 2220.14 0.166671 2225.47 0.5C2231.14 0.833329 2236.47 1.49999 2241.47 2.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{d:"M2330.4 125L2410.9 353L2377.9 415.5L2265.9 125H2330.4ZM2272.4 486.5V436H2308.9C2316.9 436 2323.9 435 2329.9 433C2335.9 431.333 2341.24 428 2345.9 423C2350.9 418 2355.07 410.667 2358.4 401L2460.9 125H2523.9L2402.9 427C2393.9 449.667 2382.57 466.167 2368.9 476.5C2355.24 486.833 2338.24 492 2317.9 492C2309.24 492 2301.07 491.5 2293.4 490.5C2286.07 489.833 2279.07 488.5 2272.4 486.5Z",fill:"currentColor"}),(0,ee.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M226.926 25.1299H310.197C333.783 25.1299 342.32 27.5938 350.948 32.1932C359.576 36.8108 366.326 43.5822 370.941 52.1969C375.556 60.8298 378 69.3715 378 92.9707V176.289C378 199.888 375.537 208.43 370.941 217.063C366.326 225.696 359.558 232.449 350.948 237.066C347.091 239.131 343.244 240.83 338.064 242.047V308.355C338.064 344.802 334.261 357.994 327.162 371.327C320.034 384.66 309.583 395.09 296.285 402.221C282.96 409.353 269.775 413.13 233.349 413.13H104.744C68.3172 413.13 55.1327 409.325 41.8073 402.221C28.4819 395.09 18.0583 384.632 10.9308 371.327C3.80323 358.023 0 344.802 0 308.355V179.706C0 143.259 3.80323 130.067 10.9026 116.734C18.0301 103.401 28.4819 92.9431 41.8073 85.8116C55.1045 78.7082 68.3172 74.9028 104.744 74.9028H159.808C160.841 64.0747 162.996 58.1666 166.165 52.2151C170.78 43.5822 177.547 36.8108 186.175 32.1932C194.785 27.5938 203.34 25.1299 226.926 25.1299ZM184.128 78.1641C184.128 62.7001 196.658 50.1641 212.114 50.1641H324.991C340.448 50.1641 352.978 62.7001 352.978 78.1641V191.096C352.978 206.56 340.448 219.096 324.991 219.096H212.114C196.658 219.096 184.128 206.56 184.128 191.096V78.1641Z",fill:"currentColor"})]}))}));var ft=["className"];function dt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function pt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?dt(Object(r),!0).forEach((function(t){ht(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):dt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ht(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function yt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const vt=(0,e.memo)((function(e){var t=e.className,r=yt(e,ft);return(0,ee.jsx)("svg",pt(pt({className:t,viewBox:"-4 -4 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{stroke:"currentColor",d:"M6.5 0.5h0s6 0 6 6v0s0 6 -6 6h0s-6 0 -6 -6v0s0 -6 6 -6"})}))}));var mt=["className"];function gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function bt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?gt(Object(r),!0).forEach((function(t){wt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):gt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function wt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function xt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}(0,e.memo)((function(e){var t=e.className,r=xt(e,mt);return(0,ee.jsx)("svg",bt(bt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{fill:"currentColor",d:"M17.65,6.35C16.2,4.9 14.21,4 12,4A8,8 0 0,0 4,12A8,8 0 0,0 12,20C15.73,20 18.84,17.45 19.73,14H17.65C16.83,16.33 14.61,18 12,18A6,6 0 0,1 6,12A6,6 0 0,1 12,6C13.66,6 15.14,6.69 16.22,7.78L13,11H20V4L17.65,6.35Z"})}))}));var jt=["className"];function Ot(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Et(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ot(Object(r),!0).forEach((function(t){St(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ot(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function St(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Pt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const _t=(0,e.memo)((function(e){var t=e.className,r=Pt(e,jt);return(0,ee.jsx)("svg",Et(Et({className:"icon ".concat(t),width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:(0,ee.jsx)("path",{d:"M15 17.5L10 12L15 6.5",stroke:"currentColor",strokeWidth:"1.75"})}))}));var Ct=["className"];function Nt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function kt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Nt(Object(r),!0).forEach((function(t){At(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Nt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function At(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tt(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Rt=(0,e.memo)((function(e){var t=e.className,r=Tt(e,Ct);return(0,ee.jsxs)("svg",kt(kt({className:t,width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M8 18.5504L12 14.8899",stroke:"#1E1E1E",strokeWidth:"1.5"}),(0,ee.jsx)("path",{d:"M20.25 11.7523C20.25 14.547 18.092 16.7546 15.5 16.7546C12.908 16.7546 10.75 14.547 10.75 11.7523C10.75 8.95754 12.908 6.75 15.5 6.75C18.092 6.75 20.25 8.95754 20.25 11.7523Z",stroke:"#1E1E1E",strokeWidth:"1.5"})]}))}));var Dt=["className"];function Lt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function It(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Lt(Object(r),!0).forEach((function(t){Mt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Lt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Mt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ut(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},i=Object.keys(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(n=0;n<i.length;n++)r=i[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}const Bt=(0,e.memo)((function(e){var t=e.className,r=Ut(e,Dt);return(0,ee.jsxs)("svg",It(It({className:t,width:"100",height:"100",viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg"},r),{},{children:[(0,ee.jsx)("path",{d:"M87.5 48.8281H75V51.1719H87.5V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M25 48.8281H12.5V51.1719H25V48.8281Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 75H48.8281V87.5H51.1719V75Z",fill:"black"}),(0,ee.jsx)("path",{d:"M51.1719 12.5H48.8281V25H51.1719V12.5Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3433 75.6868L69.4082 67.7517L67.7511 69.4088L75.6862 77.344L77.3433 75.6868Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2457 30.5897L24.3105 22.6545L22.6534 24.3117L30.5885 32.2468L32.2457 30.5897Z",fill:"black"}),(0,ee.jsx)("path",{d:"M77.3407 24.3131L75.6836 22.656L67.7485 30.5911L69.4056 32.2483L77.3407 24.3131Z",fill:"black"}),(0,ee.jsx)("path",{d:"M32.2431 69.4074L30.5859 67.7502L22.6508 75.6854L24.3079 77.3425L32.2431 69.4074Z",fill:"black"})]}))}));var Ft=function(e){var t=e.label,r=e.slug,n=e.description,o=e.checked,i=e.onClick,a=e.onChange;return(0,ee.jsxs)("label",{className:"flex hover:text-partner-primary-bg focus-within:text-partner-primary-bg",htmlFor:r,onClick:i,onChange:null!=a?a:i,children:[(0,ee.jsxs)("span",{className:"mt-0.5 w-6 h-6 relative inline-block mr-3 align-middle",children:[(0,ee.jsx)("input",{id:r,className:"h-5 w-5 rounded-sm",type:"checkbox",defaultChecked:o}),(0,ee.jsx)(Ke,{className:"absolute components-checkbox-control__checked",style:{width:24,color:"#fff"},role:"presentation"})]}),(0,ee.jsxs)("span",{children:[(0,ee.jsx)("span",{className:"text-base",children:t}),n?(0,ee.jsx)("span",{className:"block pt-1",children:n}):(0,ee.jsx)("span",{})]})]})};function Ht(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Vt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Ht(Object(r),!0).forEach((function(t){zt(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Ht(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function zt(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Yt,qt,Wt=function(e,t){var r,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},o=$(e,t,Vt({dedupingInterval:6e4,refreshInterval:0},n)),i=o.data,a=o.error,s=null!==(r=null==i?void 0:i.data)&&void 0!==r?r:i;return{data:s,loading:!s&&!a,error:a}};function Xt(e){return function(e){if(Array.isArray(e))return Zt(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return Zt(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Zt(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Zt(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Gt(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jt(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gt(Object(r),!0).forEach((function(t){$t(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gt(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $t(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kt,Qt,er={touched:[]},tr=Ae((function(e){return Jt(Jt({},er),{},{touch:function(t){e((function(e){e.touched.includes(t)||(e.touched=[].concat(Xt(e.touched),[t]))}))},resetState:function(){e(er)}})}),{name:"Extendify Launch Progress"}),rr=Fe(tr,{name:"extendify-progress",getStorage:function(){return localStorage},partialize:function(e){return{touched:e.touched}}}),nr=null!==(Yt=window)&&void 0!==Yt&&null!==(qt=Yt.extOnbData)&&void 0!==qt&&qt.devbuild?ke(tr):ke(rr);function or(e){return function(e){if(Array.isArray(e))return ir(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ir(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return ir(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ir(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function ar(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?ar(Object(r),!0).forEach((function(t){ur(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ar(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function ur(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var cr={siteType:{},siteInformation:{title:void 0},feedbackMissingSiteType:"",feedbackMissingGoal:"",style:null,pages:[],plugins:[],goals:[]},lr=Ae((function(e,t){return sr(sr({},cr),{},{setSiteType:function(t){e({siteType:t})},setSiteInformation:function(r,n){var o=sr(sr({},t().siteInformation),{},ur({},r,n));e({siteInformation:o})},setFeedbackMissingSiteType:function(t){e({feedbackMissingSiteType:t})},setFeedbackMissingGoal:function(t){e({feedbackMissingGoal:t})},has:function(e,r){return!(null==r||!r.id)&&t()[e].some((function(e){return e.id===r.id}))},add:function(r,n){t().has(r,n)||e(ur({},r,[].concat(or(t()[r]),[n])))},remove:function(r,n){e(ur({},r,t()[r].filter((function(e){return e.id!==n.id}))))},reset:function(t){e(ur({},t,[]))},toggle:function(e,r){t().has(e,r)?t().remove(e,r):t().add(e,r)},setStyle:function(t){e({style:t})},canLaunch:function(){var e,r,n,o,i,a,s,u;return(null===(e=Object.keys(null!==(r=null===(n=t())||void 0===n?void 0:n.siteType)&&void 0!==r?r:{}))||void 0===e?void 0:e.length)>0&&(null===(o=Object.keys(null!==(i=null===(a=t())||void 0===a?void 0:a.style)&&void 0!==i?i:{}))||void 0===o?void 0:o.length)>0&&(null===(s=t())||void 0===s||null===(u=s.pages)||void 0===u?void 0:u.length)>0},resetState:function(){e(cr)}})}),{name:"Extendify Launch User Selection"}),fr=Fe(lr,{name:"extendify-site-selection",getStorage:function(){return localStorage},partialize:function(e){var t,r,n,o,i,a,s,u;return{siteType:null!==(t=null==e?void 0:e.siteType)&&void 0!==t?t:{},siteInformation:null!==(r=null==e?void 0:e.siteInformation)&&void 0!==r?r:{},feedbackMissingSiteType:null!==(n=null==e?void 0:e.feedbackMissingSiteType)&&void 0!==n?n:"",feedbackMissingGoal:null!==(o=null==e?void 0:e.feedbackMissingGoal)&&void 0!==o?o:"",style:null!==(i=null==e?void 0:e.style)&&void 0!==i?i:null,pages:null!==(a=null==e?void 0:e.pages)&&void 0!==a?a:[],plugins:null!==(s=null==e?void 0:e.plugins)&&void 0!==s?s:[],goals:null!==(u=null==e?void 0:e.goals)&&void 0!==u?u:[]}}}),dr=null!==(Kt=window)&&void 0!==Kt&&null!==(Qt=Kt.extOnbData)&&void 0!==Qt&&Qt.devbuild?ke(lr):ke(fr),pr=function(){return ie.get("onboarding/goals")},hr=function(){return{key:"goals"}},yr={key:"goals",title:(0,Q.__)("Goals","extendify"),completed:function(){return!0}};function vr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function mr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var gr=function(){var e,t=(e=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ye("blogname");case 2:return t=e.sent,e.abrupt("return",{title:t});case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){mr(i,n,o,a,s,"next",e)}function s(e){mr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(){return t.apply(this,arguments)}}(),br=function(){return{key:"site-info"}},wr={key:"site-title",title:(0,Q.__)("Site Title","extendify"),completed:function(){return!0}};const xr=wp.blockEditor,jr=wp.blocks;var Or=function(e){var t,r;return[null==e||null===(t=e.template)||void 0===t?void 0:t.code,null==e||null===(r=e.template)||void 0===r?void 0:r.code2].filter(Boolean).join("")};function Er(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Er(Object(r),!0).forEach((function(t){Pr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Er(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function _r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Cr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Cr(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Nr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}var kr=function(){var e,t=(e=ne().mark((function e(t){var r,n;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}return e.abrupt("return","{}");case 2:return e.next=4,pe(JSON.stringify(t));case 4:return n=e.sent,e.abrupt("return",null!==(r=null==n?void 0:n.styles)&&void 0!==r?r:"{}");case 6:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Nr(i,n,o,a,s,"next",e)}function s(e){Nr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}(),Ar=function(t){var r,n,o=t.style,i=t.selectStyle,a=t.blockHeight,s=t.context,u=t.onHover,c=void 0===u?null:u,l=dr((function(e){return e.siteType})),f=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),d=_r((0,e.useState)(""),2),p=d[0],h=d[1],y=_r((0,e.useState)(!1),2),v=y[0],m=y[1],g=_r((0,e.useState)(!1),2),b=g[0],w=g[1],x=_r((0,e.useState)(null),2),j=x[0],O=x[1],E=_r((0,e.useState)(),2),S=E[0],P=E[1],_=(0,e.useRef)(null),C=(0,e.useRef)(null),N=(0,e.useRef)(null),k=(0,e.useRef)(null),A=(0,e.useRef)(!1),T=Wt(b&&S?S:null,kr).data,R=Wt("variations",Ee).data,D=(0,e.useMemo)((function(){return(0,jr.rawHandler)({HTML:(e=p,e.replace(/\w+:\/\/\S*(w=(\d*))&\w+\S*"/g,(function(e,t,r){return e.replace(t,"w="+Math.floor(Number(r))+"&q=10")})))});var e}),[p]),L=(0,e.useMemo)((function(){return T?(0,xr.transformStyles)([{css:T}],".editor-styles-wrapper"):null}),[T]);return(0,e.useLayoutEffect)((function(){if(b&&s.measure){var e="".concat(s.type,"-").concat(s.detail);if(v||A.current){var t=performance.measure(e,{start:e,detail:{context:s,extendify:!0}});A.current=t.duration;var r,n=new URLSearchParams(window.location.search);null!=n&&n.has("performance")&&console.info("🚀 ".concat((r=s.type,r.charAt(0).toUpperCase()+r.slice(1).toLowerCase())," (").concat(s.detail,") in ").concat(t.duration.toFixed(),"ms"))}else performance.mark(e)}}),[v,s,b]),(0,e.useEffect)((function(){if(null!=R&&R.length){var e=R.find((function(e){return e.title===o.label}));P(e)}}),[o,R]),(0,e.useEffect)((function(){if(T&&null!=o&&o.code){var e=[null==o?void 0:o.headerCode,null==o?void 0:o.code,null==o?void 0:o.footerCode].filter(Boolean).join("").replace(/<!-- wp:navigation[.\S\s]*?\/wp:navigation -->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e').replace(/<!-- wp:navigation.*\/-->/g,'\x3c!-- wp:paragraph {"className":"tmp-nav"} --\x3e<p class="tmp-nav">Home | About | Contact</p >\x3c!-- /wp:paragraph --\x3e');h(e)}}),[null==l?void 0:l.slug,T,o]),(0,e.useEffect)((function(){var e,t;if(C.current&&v){var r=_.current,n=r.offsetWidth/1400,o=C.current.contentDocument.body;null!=o&&o.style&&(o.style.transitionProperty="all",o.style.top=0);var i=function(){var t,r;if(o.offsetHeight){var i=(null!==(t=null==N||null===(r=N.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==t?t:a)-32,s=o.getBoundingClientRect().height-i/n;o.style.transitionDuration=Math.max(2*s,3e3)+"ms",e=window.requestAnimationFrame((function(){o.style.top=-1*Math.max(0,s)+"px"}))}},s=function(){var e,r;if(o.offsetHeight){var i=(null!==(e=null==N||null===(r=N.current)||void 0===r?void 0:r.offsetHeight)&&void 0!==e?e:a)-32,s=o.offsetHeight-i/n;o.style.transitionDuration=s+"ms",t=window.requestAnimationFrame((function(){o.style.top=0}))}};return r.addEventListener("focus",i),r.addEventListener("mouseenter",i),r.addEventListener("blur",s),r.addEventListener("mouseleave",s),function(){window.cancelAnimationFrame(e),window.cancelAnimationFrame(t),r.removeEventListener("focus",i),r.removeEventListener("mouseenter",i),r.removeEventListener("blur",s),r.removeEventListener("mouseleave",s)}}}),[a,v]),(0,e.useEffect)((function(){if(null!=D&&D.length&&b){var e,t=function(){var t,r,n;null!==(t=e.contentDocument)&&void 0!==t&&t.getElementById("ext-tj")||(null===(r=e.contentDocument)||void 0===r||null===(n=r.head)||void 0===n||n.insertAdjacentHTML("beforeend",'<style id="ext-tj">'.concat(L,"</style>")));C.current=e,setTimeout((function(){f.current&&m(!0)}),100)},r=new MutationObserver((function(){(e=_.current.querySelector("iframe[title]")).addEventListener("load",t),setTimeout((function(){t()}),2e3),r.disconnect()}));return r.observe(_.current,{attributes:!1,childList:!0,subtree:!1}),function(){var n;r.disconnect(),null===(n=e)||void 0===n||n.removeEventListener("load",t)}}}),[D,L,f,b]),(0,e.useEffect)((function(){return k.current||(k.current=new IntersectionObserver((function(e){e[0].isIntersecting&&w(!0)}))),k.current.observe(N.current),function(){k.current.disconnect()}}),[]),(0,ee.jsxs)(ee.Fragment,{children:[v&&p?null:(0,ee.jsx)("div",{className:"absolute inset-0 z-20 bg-gray-50 flex items-center justify-center",children:(0,ee.jsx)(Bt,{className:"spin w-8"})}),(0,ee.jsxs)("div",{ref:N,role:i?"button":void 0,tabIndex:i?0:void 0,"aria-label":i?(0,Q.__)("Press to select","extendify"):void 0,className:_e()("group w-full overflow-hidden bg-transparent z-10",{"relative min-h-full":v,"absolute opacity-0":!v,"button-focus button-card p-2":i}),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&i&&i(Sr(Sr({},o),{},{variation:S}))},onMouseEnter:function(){c&&O(c)},onMouseLeave:function(){j&&(j(),O(null))},onClick:i?function(){return i(Sr(Sr({},o),{},{variation:S}))}:function(){},children:[null!==(r=window)&&void 0!==r&&null!==(n=r.extOnbData)&&void 0!==n&&n.devbuild?(0,ee.jsxs)("div",{className:"-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300",children:[null==o?void 0:o.label," - ",Number(A.current).toFixed(2),"ms"]}):null,(0,ee.jsx)("div",{ref:_,className:"relative rounded-lg",children:b?(0,ee.jsx)(xr.BlockPreview,{blocks:D,viewportWidth:1400,live:!1}):null})]})]})};function Tr(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Rr(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Tr(Object(r),!0).forEach((function(t){Dr(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Tr(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Dr(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Lr=function(e){return We(e)},Ir=function(e){var t=e.page,r=e.blockHeight,n=e.required,o=void 0!==n&&n,i=e.displayOnly,a=void 0!==i&&i,s=e.title,u=void 0===s?"":s,c=dr(),l=c.siteType,f=c.style,d=c.toggle,p=c.has,h="home"===(null==t?void 0:t.slug),y=Wt({siteType:l.slug,layoutType:t.slug,baseLayout:h?null==f?void 0:f.homeBaseLayout:null,kit:"home"!==t.slug?null==f?void 0:f.kit:null},Lr).data;return a?(0,ee.jsxs)("div",{className:"text-base p-2 bg-transparent overflow-hidden rounded-lg border border-gray-100",style:{height:r},children:[u&&(0,ee.jsx)("div",{className:"p-3 pb-0 bg-white text-left",children:u}),(0,ee.jsx)(Mr,{page:t,measure:!1,blockHeight:r,style:Rr(Rr({},f),{},{code:Or({template:y})})},null==f?void 0:f.recordId)]}):(0,ee.jsxs)("div",{role:"button",tabIndex:0,"aria-label":(0,Q.__)("Press to select","extendify"),disabled:o,className:"text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 button-focus",onClick:function(){return o||d("pages",t)},title:o&&u?(0,Q.sprintf)((0,Q.__)("%s page is required","extendify"),u):(0,Q.sprintf)((0,Q.__)("Toggle %s page","extendify"),u),onKeyDown:function(e){["Enter","Space"," "].includes(e.key)&&(o||d("pages",t))},children:[(0,ee.jsxs)("div",{className:"border-gray-100 border-b-0 min-w-sm z-30 relative bg-white pt-3 px-3 pb-1.5 flex justify-between items-center",children:[u&&(0,ee.jsxs)("div",{className:_e()("flex items-center",{"text-gray-700":!p("pages",t)}),children:[(0,ee.jsx)("span",{className:"text-left",children:u}),o&&(0,ee.jsx)("span",{className:"w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"})]}),p("pages",t)?(0,ee.jsx)("div",{className:_e()("w-5 h-5 rounded-sm",{"bg-gray-700":o,"bg-partner-primary-bg":!o}),children:(0,ee.jsx)(Ke,{className:"text-white w-5"})}):(0,ee.jsx)("div",{className:_e()("border w-5 h-5 rounded-sm",{"border-gray-700":o,"border-partner-primary-bg":!o})})]}),(0,ee.jsx)("div",{className:"p-2 relative",style:{height:r-44},children:(0,ee.jsx)(Mr,{page:t,blockHeight:r,style:Rr(Rr({},f),{},{code:Or({template:y})})},null==f?void 0:f.recordId)})]})},Mr=function(t){var r=t.page,n=t.style,o=t.measure,i=void 0===o||o,a=t.blockHeight,s=void 0!==a&&a,u=(0,e.useMemo)((function(){return{type:"page",detail:r.slug,measure:i}}),[r,i]);return(0,ee.jsx)(Ar,{style:n,context:u,blockHeight:s})};function Ur(e){return Ur="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},Ur(e)}function Br(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Vr(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Fr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Vr(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hr(e){return function(e){if(Array.isArray(e))return zr(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Vr(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vr(e,t){if(e){if("string"==typeof e)return zr(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zr(e,t):void 0}}function zr(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Yr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function qr(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Yr(i,n,o,a,s,"next",e)}function s(e){Yr(i,n,o,a,s,"throw",e)}a(void 0)}))}}var Wr=function(){var e=qr(ne().mark((function e(){var t,r,n,o,i,a;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ie.get("onboarding/layout-types");case 2:if(n=e.sent,null!=(o=null!==(t=null==n?void 0:n.data)&&void 0!==t?t:[])&&o.length){e.next=6;break}throw new Error("Error fetching pages");case 6:return i=o[0],a=null===(r=o.slice(1))||void 0===r?void 0:r.sort((function(e,t){return e.title>t.title?1:-1})),e.abrupt("return",[i].concat(Hr(null!=a?a:[])));case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),Xr=function(){return{key:"layout-types"}},Zr={key:"pages",title:(0,Q.__)("Pages","extendify"),completed:function(){return!0}};function Gr(e){return function(e){if(Array.isArray(e))return tn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||en(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Jr(e){return Jr="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},Jr(e)}function $r(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=en(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Kr(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Qr(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||en(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function en(e,t){if(e){if("string"==typeof e)return tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tn(e,t):void 0}}function tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var rn=function(e){return qe(e)},nn=function(e){var t,r,n,o,i;return{key:"site-style",siteType:null!==(r=null===(n=e=null!==(t=e)&&void 0!==t?t:null==dr?void 0:dr.getState().siteType)||void 0===n?void 0:n.slug)&&void 0!==r?r:"default",styles:null!==(o=null===(i=e)||void 0===i?void 0:i.styles)&&void 0!==o?o:[]}},on={key:"style",title:(0,Q.__)("Design","extendify"),completed:function(){return!0}},an=function(t){var r=t.style,n=On((function(e){return e.nextPage})),o=nr((function(e){return e.touch})),i=(0,e.useCallback)((function(e){dr.getState().setStyle(e),o(on.key),n()}),[n,o]),a=(0,e.useMemo)((function(){return{type:"style",detail:r.slug,measure:!0}}),[r]);return(0,ee.jsx)("div",{className:"relative",style:{height:600,width:425},children:(0,ee.jsx)(Ar,{style:r,context:a,selectStyle:i,blockHeight:600})})},sn=function(){return ie.get("onboarding/suggested-plugins")},un=function(){return{key:"plugins"}},cn=function(){var t,r=Wt(un,sn).data,n=dr(),o=n.goals,i=n.add,a=n.toggle,s=n.remove,u=(0,e.useMemo)((function(){return null==o||!o.length||!(null!=o&&o.find((function(e){return null==r?void 0:r.some((function(t){var r;return null==t||null===(r=t.goals)||void 0===r?void 0:r.includes(null==e?void 0:e.slug)}))})))}),[o,r]),c=(0,e.useCallback)((function(e){if(u)return!0;var t=o.map((function(e){return e.slug}));return null==e?void 0:e.goals.find((function(e){return t.includes(e)}))}),[o,u]);return(0,e.useEffect)((function(){var e;null==r||r.forEach((function(e){return s("plugins",e)})),u||null==r||null===(e=r.filter(c))||void 0===e||e.forEach((function(e){return i("plugins",e)}))}),[r,i,u,c,s]),(0,ee.jsx)("div",{className:"lg:grid grid-cols-2 gap-x-4 gap-y-1",children:null==r||null===(t=r.filter(c))||void 0===t?void 0:t.map((function(e){return(0,ee.jsx)("div",{className:"pb-3",children:(0,ee.jsx)(Ft,{label:e.name,slug:e.wordpressSlug,description:e.description,checked:!u,onClick:function(){return a("plugins",e)}})},e.id)}))})};function ln(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function fn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return dn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return dn(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function dn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var pn,hn,yn=function(){return ie.get("onboarding/site-types")},vn=function(){return{key:"site-types"}},mn={key:"site-type",title:(0,Q.__)("Site Industry","extendify"),completed:function(){return!0}},gn=function(t){var r=t.option,n=t.selectSiteType,o=(0,e.useRef)(0),i=nr((function(e){return e.touch}));return(0,ee.jsxs)("button",{onClick:function(){n(r),i(mn.key)},onMouseEnter:function(){window.clearTimeout(o.current),o.current=window.setTimeout((function(){var e=function(){return nn(r)};V(e,(function(t){return null!=t&&t.length?t:rn(e())}))}),100)},onMouseLeave:function(){window.clearTimeout(o.current)},className:"flex border border-gray-800 hover:text-partner-primary-bg focus:text-partner-primary-bg items-center justify-between mb-2 p-4 py-3 relative w-full button-focus",children:[(0,ee.jsx)("span",{className:"text-left",children:r.title}),(0,ee.jsx)(ot,{})]})},bn=[["welcome",{component:function(){var t=On((function(e){return e.nextPage})),r=(0,e.useRef)(null);(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return r.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[r]);var n=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.preventDefault(),e.next=3,he("extendify_onboarding_skipped",(new Date).toISOString());case 3:location.href=window.extOnbData.adminUrl;case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){vr(i,n,o,a,s,"next",e)}function s(e){vr(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Welcome to Your WordPress Site","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.","extendify")})]}),(0,ee.jsxs)("div",{className:"",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Pick one:","extendify")}),(0,ee.jsxs)("div",{className:"lg:flex lg:space-x-8",children:[(0,ee.jsxs)("button",{onClick:t,ref:r,type:"button","aria-label":(0,Q.__)("Press to continue","extendify"),className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/extendify-preview.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:"Extendify Launch"}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Create a super-fast, beautiful, and fully customized site in minutes. Simply answer a few questions and pick a design to get started. Then, everything can be fully customized in the core WordPress editor.","extendify")})]}),(0,ee.jsxs)("a",{onClick:function(e){return n(e)},className:"button-card max-w-sm button-focus",children:[(0,ee.jsx)("div",{className:"bg-gray-100 w-full h-64 bg-cover border border-gray-200",style:{backgroundImage:"url(".concat(window.extOnbData.pluginUrl,"/public/assets/wp-admin.png)")}}),(0,ee.jsx)("p",{className:"font-bold text-lg text-gray-900",children:(0,Q.__)("WordPress Dashboard","extendify")}),(0,ee.jsx)("p",{className:"text-base text-gray-900",children:(0,Q.__)("Are you a WordPress developer and want to go straight to the admin dashboard?","extendify")})]})]})]})]})},metadata:{key:"welcome",skippable:!0}}],["goals",{component:function(){var t=Wt(hr,pr),r=t.data,n=t.loading,o=dr(),i=o.toggle,a=o.has,s=dr(),u=s.feedbackMissingGoal,c=s.setFeedbackMissingGoal,l=On((function(e){return e.nextPage})),f=(0,e.useRef)(),d=nr((function(e){return e.touch}));return(0,e.useEffect)((function(){if(f.current){var e=requestAnimationFrame((function(){return f.current.querySelector("input").focus()}));return function(){return cancelAnimationFrame(e)}}}),[f]),(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What do you want to accomplish with this new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("You can change these later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Select the goals relevant to your site:","extendify")}),n?(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}):(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),l()},className:"w-full max-w-2xl grid lg:grid-cols-2 gap-4 goal-select",children:[(0,ee.jsx)("input",{type:"submit",className:"hidden"}),r&&(null==r?void 0:r.length)>0?null==r?void 0:r.map((function(e,t){return(0,ee.jsx)("div",{className:"border border-gray-800 rounded-lg p-4",ref:0===t?f:void 0,children:(0,ee.jsx)(Ft,{label:e.title,checked:a(yr.key,e),onChange:function(){i(yr.key,e),d(yr.key)}})},e.id)})):null]}),!n&&(0,ee.jsxs)("div",{className:"w-80",children:[(0,ee.jsx)("h2",{className:"text-lg mt-12 mb-4 text-gray-900",children:(0,Q.__)("Don't see what you're looking for?","extendify")}),(0,ee.jsx)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:(0,ee.jsx)("input",{type:"text",className:"w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white",value:u,onChange:function(e){return c(e.target.value)},placeholder:(0,Q.__)("Add your goals...","extendify")})})]})]})]})},fetcher:pr,fetchData:hr,metadata:yr}],["site-type",{component:function(){var t=dr((function(e){return e.siteType})),r=dr((function(e){return e.feedbackMissingSiteType})),n=On((function(e){return e.nextPage})),o=fn((0,e.useState)([]),2),i=o[0],a=o[1],s=fn((0,e.useState)(""),2),u=s[0],c=s[1],l=fn((0,e.useState)(!0),2),f=l[0],d=l[1],p=(0,e.useRef)(null),h=Wt(vn,yn),y=h.data,v=h.loading;(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return p.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[p]),(0,e.useEffect)((function(){if(!(v||null!=t&&t.slug)){var e=null==y?void 0:y.find((function(e){return"default"===e.slug}));e&&dr.getState().setSiteType({label:e.title,recordId:e.id,slug:e.slug})}}),[v,null==t?void 0:t.slug,y]),(0,e.useEffect)((function(){v||((null==u?void 0:u.length)>0?a(null==y?void 0:y.filter((function(e){var t=e.title,r=e.keywords,n=null==u?void 0:u.toLowerCase();return!n||(t.toLowerCase().indexOf(n)>-1||!(null==r||!r.length)&&r.find((function(e){return e.toLowerCase().indexOf(n)>-1})))}))):(a(null==y?void 0:y.filter((function(e){return e.featured}))),d(!0)))}),[y,u,v]),(0,e.useEffect)((function(){v||a(f?y.filter((function(e){return e.featured})):y.sort((function(e,t){return e.title.localeCompare(t.title)})))}),[y,f,v]);var m=function(){var e,t=(e=ne().mark((function e(t){return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return dr.getState().setSiteType({label:t.title,recordId:t.id,slug:t.slug,styles:t.styles}),e.next=3,he("extendify_siteType",t);case 3:n();case 4:case"end":return e.stop()}}),e)})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){ln(i,n,o,a,s,"next",e)}function s(e){ln(i,n,o,a,s,"throw",e)}a(void 0)}))});return function(e){return t.apply(this,arguments)}}();return(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What is your site about?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("Search for your site industry.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-80",children:[(0,ee.jsxs)("div",{className:"flex justify-between mb-4",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 text-gray-900",children:(0,Q.__)("Choose an industry","extendify")}),(null==u?void 0:u.length)>0?null:(0,ee.jsx)("button",{type:"button",className:"bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline cursor-pointer",onClick:function(){d((function(e){return!e})),p.current.focus()},children:f?(0,Q.sprintf)((0,Q.__)("Show all %s","extendify"),v?"...":y.length):(0,Q.__)("Show less","extendify")})]}),(0,ee.jsxs)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:[(0,ee.jsx)("input",{ref:p,type:"text",className:"w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white",value:u,onChange:function(e){return c(e.target.value)},placeholder:(0,Q.__)("Search...","extendify")}),(0,ee.jsx)(Rt,{className:"icon-search"})]}),v&&(0,ee.jsx)("p",{children:(0,Q.__)("Loading...","extendify")}),(null==i?void 0:i.length)>0&&(0,ee.jsx)("div",{children:(0,ee.jsx)("div",{className:"overflow-y-auto p-2 -m-2",style:{maxHeight:"380px"},children:i.map((function(e){return(0,ee.jsx)(gn,{selectSiteType:m,option:e},e.id)}))})}),!v&&0===(null==i?void 0:i.length)&&(0,ee.jsxs)("div",{children:[(0,ee.jsxs)("div",{className:"flex items-center justify-between uppercase",children:[(0,Q.__)("No Results","extendify"),(0,ee.jsx)("button",{type:"button",className:"bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline cursor-pointer",onClick:function(){c(""),p.current.focus()},children:(0,Q.sprintf)((0,Q.__)("Show all %s","extendify"),v?"...":y.length)})]}),(0,ee.jsx)("h2",{className:"text-lg mt-12 mb-4 text-gray-900",children:(0,Q.__)("Don't see what you're looking for?","extendify")}),(0,ee.jsx)("div",{className:"search-panel flex items-center justify-center relative mb-8",children:(0,ee.jsx)("input",{type:"text",className:"w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white",value:r,onChange:function(e){return dr.getState().setFeedbackMissingSiteType(e.target.value)},placeholder:(0,Q.__)("Describe your site...","extendify")})})]})]})]})},fetcher:yn,fetchData:vn,metadata:mn}],["style",{component:function(){var t,r=dr((function(e){return e.siteType})),n=Wt(nn,rn),o=n.data,i=n.loading,a=(0,e.useRef)(!1),s=(0,e.useRef)(),u=function(){var t=(0,e.useRef)(!1);return(0,e.useLayoutEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),c=Qr((0,e.useState)([]),2),l=c[0],f=c[1];return(0,e.useEffect)((function(){var e;null!=o&&o.length&&(e=ne().mark((function e(){var t,r,n,i;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t=$r(o),e.prev=1,n=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=r.value,u.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return f((function(e){return[].concat(Gr(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,1e3)}));case 6:case"end":return e.stop()}}),e)})),t.s();case 4:if((r=t.n()).done){e.next=11;break}return e.delegateYield(n(),"t0",6);case 6:if("object"!==Jr(i=e.t0)){e.next=9;break}return e.abrupt("return",i.v);case 9:e.next=4;break;case 11:e.next=16;break;case 13:e.prev=13,e.t1=e.catch(1),t.e(e.t1);case 16:return e.prev=16,t.f(),e.finish(16);case 19:case"end":return e.stop()}}),e,null,[[1,13,16,19]])})),function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Kr(i,n,o,a,s,"next",e)}function s(e){Kr(i,n,o,a,s,"throw",e)}a(void 0)}))})()}),[o,u]),(0,e.useEffect)((function(){null!=l&&l.length&&!dr.getState().style&&dr.getState().setStyle(l[0])}),[l]),(0,e.useEffect)((function(){var e,t;null!=l&&l.length&&!a.current&&(a.current=!0,null==s||null===(e=s.current)||void 0===e||null===(t=e.querySelector("[role=button]"))||void 0===t||t.focus())}),[l]),(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Now pick a design for your new %s site.","extendify"),null==r||null===(t=r.label)||void 0===t?void 0:t.toLowerCase())}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("You can personalize this later.","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:i?(0,Q.__)("Please wait a moment while we generate style previews...","extendify"):(0,Q.__)("Pick your style","extendify")}),(0,ee.jsxs)("div",{ref:s,className:"lg:flex gap-6 flex-wrap",children:[null==l?void 0:l.map((function(e){return(0,ee.jsx)(an,{style:e},e.recordId)})),null==o?void 0:o.slice(null==l?void 0:l.length).map((function(e){return(0,ee.jsx)("div",{style:{height:600,width:425},className:"relative",children:(0,ee.jsx)("div",{className:"bg-gray-50 h-full w-full flex items-center justify-center",children:(0,ee.jsx)(Bt,{className:"spin w-8"})})},e.slug)}))]})]})]})},metadata:on}],["pages",{component:function(){var t=Wt(Xr,Wr).data,r=Fr((0,e.useState)([]),2),n=r[0],o=r[1],i=dr(),a=i.add,s=i.goals,u=i.reset,c=function(){var t=(0,e.useRef)(!1);return(0,e.useEffect)((function(){return t.current=!0,function(){return t.current=!1}})),t}(),l=nr((function(e){return e.touch}));return(0,e.useEffect)((function(){if(null!=t&&t.length){var e=t.filter((function(e){var t,r,n;return null==s||!s.length||(null==e||null===(t=e.goals)||void 0===t||!t.length||(null===(r=null==e||null===(n=e.goals)||void 0===n?void 0:n.some((function(e){return s.some((function(t){return e==t.id}))})))||void 0===r||r))}));qr(ne().mark((function t(){var r,n,i,a;return ne().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=Br(e),t.prev=1,i=ne().mark((function e(){var t;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=n.value,c.current){e.next=3;break}return e.abrupt("return",{v:void 0});case 3:return o((function(e){return[].concat(Hr(e),[t])})),e.next=6,new Promise((function(e){return setTimeout(e,100)}));case 6:case"end":return e.stop()}}),e)})),r.s();case 4:if((n=r.n()).done){t.next=11;break}return t.delegateYield(i(),"t0",6);case 6:if("object"!==Ur(a=t.t0)){t.next=9;break}return t.abrupt("return",a.v);case 9:t.next=4;break;case 11:t.next=16;break;case 13:t.prev=13,t.t1=t.catch(1),r.e(t.t1);case 16:return t.prev=16,r.f(),t.finish(16);case 19:case"end":return t.stop()}}),t,null,[[1,13,16,19]])})))()}}),[t,s,c]),(0,e.useEffect)((function(){u("pages"),null==n||n.map((function(e){return a("pages",e)}))}),[n,a,u]),(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What pages do you want on this site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("You may add more later","extendify")})]}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Pick the pages you'd like to add to your site","extendify")}),(0,ee.jsx)("div",{className:"lg:flex flex-wrap gap-4",children:null==n?void 0:n.map((function(e){if("home"!==e.slug)return(0,ee.jsx)("div",{onClick:function(){return l(Zr.key)},className:"relative",style:{height:490,width:318.75},children:(0,ee.jsx)(Ir,{required:"home"===(null==e?void 0:e.slug),page:e,title:null==e?void 0:e.title,blockHeight:490})},e.id)}))})]})]})},fetcher:Wr,fetchData:Xr,metadata:Zr}],["site-title",{component:function(){var t,r=dr(),n=r.siteInformation,o=r.setSiteInformation,i=(0,e.useRef)(null),a=On((function(e){return e.nextPage})),s=Wt(br,gr).data,u=nr((function(e){return e.touch}));return(0,e.useEffect)((function(){var e=requestAnimationFrame((function(){return i.current.focus()}));return function(){return cancelAnimationFrame(e)}}),[i]),(0,e.useEffect)((function(){null!=s&&s.title&&void 0===(null==n?void 0:n.title)&&o("title",s.title)}),[s,o,n]),(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("What's the name of your new site?","extendify")}),(0,ee.jsx)("p",{className:"text-base opacity-70 mb-0",children:(0,Q.__)("You can change this later.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsxs)("form",{onSubmit:function(e){e.preventDefault(),a()},children:[(0,ee.jsx)("label",{htmlFor:"extendify-site-title-input",className:"block text-lg m-0 mb-4 font-semibold text-gray-900",children:(0,Q.__)("What's the name of your site?","extendify")}),(0,ee.jsx)("div",{className:"mb-8",children:(0,ee.jsx)("input",{autoComplete:"off",ref:i,type:"text",name:"site-title-input",id:"extendify-site-title-input",className:"w-96 max-w-full border h-12 input-focus",value:null!==(t=null==n?void 0:n.title)&&void 0!==t?t:"",onChange:function(e){o("title",e.target.value),u(wr.key)},placeholder:(0,Q.__)("Enter your preferred site title...","extendify")})})]})})]})},fetcher:gr,fetchData:br,metadata:wr}],["confirmation",{component:function(){var e=dr(),t=e.siteType,r=e.style,n=e.pages,o=e.goals,i=On((function(e){return e.setPage}));return(0,ee.jsxs)(kn,{children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Let's launch your site!","extendify")}),(0,ee.jsx)("p",{className:"text-base mb-0",children:(0,Q.__)("Review your site configuration.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full max-w-4xl",children:(0,ee.jsxs)("div",{className:"flex flex-col space-y-8",children:[(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4 text-gray-900",children:(0,Q.__)("Design","extendify")}),null!=r&&r.label?(0,ee.jsxs)("div",{className:"overflow-hidden rounded-lg relative",children:[(0,ee.jsx)("span",{"aria-hidden":"true",className:"absolute top-0 bottom-0 left-3/4 right-0 z-40 bg-gradient-to-l from-white pointer-events-none"}),n.length>0&&(0,ee.jsx)("div",{className:"flex items-start w-full overflow-y-scroll lg:pr-52",children:(0,ee.jsx)("div",{className:"lg:flex flex-no-wrap gap-4",children:null==n?void 0:n.map((function(e){return(0,ee.jsx)("div",{className:"relative pointer-events-none",style:{height:360,width:255},children:(0,ee.jsx)(Ir,{displayOnly:!0,page:e,blockHeight:356})},e.id)}))})})]}):(0,ee.jsx)("button",{onClick:function(){return i("style")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to change the style","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Industry","extendify")}),null!=t&&t.label?(0,ee.jsxs)("div",{className:"flex items-center",children:[(0,ee.jsx)(Ke,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:t.label})]}):(0,ee.jsx)("button",{onClick:function(){return i("site-type")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set a site type","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Goals","extendify")}),o.length>0?(0,ee.jsx)("div",{className:"lg:grid grid-cols-2 gap-x-4 gap-y-1",children:null==o?void 0:o.map((function(e){return(0,ee.jsxs)("div",{className:"pb-2 flex items-center",children:[(0,ee.jsx)(Ke,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:e.title})]},e.id)}))}):(0,ee.jsx)("button",{onClick:function(){return i("goals")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set your goals","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Pages","extendify")}),n.length>0?(0,ee.jsx)("div",{className:"lg:grid grid-cols-2 gap-x-4 gap-y-1",children:null==n?void 0:n.map((function(e){return(0,ee.jsxs)("div",{className:"pb-2 flex items-center",children:[(0,ee.jsx)(Ke,{className:"text-extendify-main-dark",style:{width:24}}),(0,ee.jsx)("span",{className:"text-base pl-2",children:e.title})]},e.id)}))}):(0,ee.jsx)("button",{onClick:function(){return i("pages")},className:"bg-transparent text-partner-primary underline text-base cursor-pointer",children:(0,Q.__)("Press to set your pages","extendify")})]}),(0,ee.jsxs)("div",{className:"block",children:[(0,ee.jsx)("h2",{className:"text-lg m-0 mb-4",children:(0,Q.__)("Plugins","extendify")}),(0,ee.jsx)(cn,{})]})]})})]})},metadata:{key:"confirmation"}}]],wn=bn.filter((function(e){var t,r;return!(null!==(t=window.extOnbData)&&void 0!==t&&null!==(r=t.partnerSkipSteps)&&void 0!==r&&r.includes(e[0]))})),xn=Ae((function(e,t){return{pages:new Map(wn),currentPageIndex:0,count:function(){return t().pages.size},pageOrder:function(){return Array.from(t().pages.keys())},currentPageData:function(){return t().pages.get(t().currentPageSlug())},currentPageSlug:function(){return t().pageOrder()[t().currentPageIndex]},nextPageData:function(){var e=t().currentPageIndex+1;return e>t().count()-1?{}:t().pages.get(t().pageOrder()[e])},setPage:function(r){"string"==typeof r&&(r=t().pageOrder().indexOf(r)),r>t().count()-1||r<0||e({currentPageIndex:r})},nextPage:function(){t().setPage(t().currentPageIndex+1)},previousPage:function(){t().setPage(t().currentPageIndex-1)}}}),{name:"Extendify Launch Pages",serialize:!0}),jn=Fe(xn,{name:"extendify-pages",getStorage:function(){return localStorage},partialize:function(e){var t;return{currentPageIndex:null!==(t=null==e?void 0:e.currentPageIndex)&&void 0!==t?t:0}}}),On=null!==(pn=window)&&void 0!==pn&&null!==(hn=pn.extOnbData)&&void 0!==hn&&hn.devbuild?ke(xn):ke(jn);function En(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Sn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?En(Object(r),!0).forEach((function(t){Pn(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):En(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function Pn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var _n=function(t){var r=t.disabled,n=void 0!==r&&r,o=On().setPage,i=On((function(e){return e.pages})),a=On((function(e){return e.currentPageIndex})),s=(0,e.useMemo)((function(){return Array.from(i.values()).map((function(e,t){return Sn(Sn({},e),{},{pageIndex:t})})).filter((function(e){var t;return void 0!==(null==e||null===(t=e.metadata)||void 0===t?void 0:t.completed)}))}),[i]),u=(0,e.useMemo)((function(){return s.reduce((function(e,t){return Math.min(e,t.pageIndex)}),1/0)}),[s]);return null==s||!s.length||a<u?null:(0,ee.jsxs)("div",{className:"hidden md:block mt-20",children:[(0,ee.jsx)("h3",{className:"text-sm text-partner-primary-text uppercase",children:(0,Q.__)("Steps","extendify")}),(0,ee.jsx)("ul",{children:s.map((function(e){var t,r;return(0,ee.jsx)("li",{className:_e()("text-base",{hidden:e.pageIndex>a,"line-through opacity-60":e.pageIndex<a,"hover:opacity-100 hover:no-underline":!n}),children:(0,ee.jsxs)("button",{className:_e()("bg-transparent p-0 text-partner-primary-text flex items-center",{"cursor-pointer":e.pageIndex<a&&!n}),type:"button",disabled:n,onClick:function(){return o(null==e?void 0:e.pageIndex)},children:[e.pageIndex<a?(0,ee.jsx)(Ke,{className:"text-partner-primary-text h-6 w-6 mr-1"}):(0,ee.jsx)(vt,{className:"text-partner-primary-text h-6 w-6 mr-1"}),null==e||null===(r=e.metadata)||void 0===r?void 0:r.title]})},null==e||null===(t=e.metadata)||void 0===t?void 0:t.title)}))})]})},Cn=ke(Fe(Ae((function(e){return{generating:!1,generatedPages:{},orderId:null,setOrderId:function(t){e({orderId:t})}}}),{name:"Extendify Launch Globals"}),{name:"extendify-launch-globals",getStorage:function(){return localStorage},partialize:function(e){var t;return{orderId:null!==(t=null==e?void 0:e.orderId)&&void 0!==t?t:null}}})),Nn=function(){var e,t,r=On(),n=r.nextPage,o=r.previousPage,i=r.currentPageIndex,a=r.pages,s=On((function(e){return e.count()})),u=dr((function(e){return e.canLaunch()})),c=nr((function(e){return e.touched})),l=i===s-1,f=0===i,d=Array.from(a.keys())[i],p=c.includes(d),h=null===(e=a.get(d))||void 0===e||null===(t=e.metadata)||void 0===t?void 0:t.skippable;return(0,ee.jsx)("div",{className:"flex items-center space-x-2",children:(0,ee.jsxs)("div",{className:_e()("flex flex-1",{"justify-end":"welcome"===d,"justify-between":"welcome"!==d}),children:[f||(0,ee.jsxs)("button",{className:"flex items-center px-4 py-3 text-partner-primary-bg hover:bg-gray-100 font-medium button-focus focus:bg-gray-100",type:"button",onClick:o,children:[(0,ee.jsx)(_t,{className:"h-5 w-5"}),(0,Q.__)("Back","extendify")]}),u&&l?(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:function(){return Cn.setState({generating:!0})},children:(0,Q.__)("Launch site","extendify")}):p||h?(0,ee.jsx)("button",{className:"px-4 py-3 font-bold bg-partner-primary-bg text-partner-primary-text button-focus",type:"button",onClick:n,children:(0,Q.__)("Next","extendify")}):(0,ee.jsxs)("button",{className:"flex items-center px-4 py-3 text-partner-primary-bg hover:bg-gray-100 font-medium button-focus focus:bg-gray-100",type:"button",onClick:n,children:[(0,Q.__)("Skip","extendify"),(0,ee.jsx)(ot,{className:"h-5 w-5"})]})]})})},kn=function(e){var t,r,n,o=e.children,i=e.includeNav,a=void 0===i||i;return(0,ee.jsxs)("div",{className:"flex flex-col md:flex-row",children:[(0,ee.jsxs)("div",{className:"bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0",children:[(0,ee.jsxs)("div",{className:"max-w-prose md:max-w-sm pr-8",children:[(0,ee.jsxs)("div",{className:"md:min-h-48",children:[(null===(t=window.extOnbData)||void 0===t?void 0:t.partnerLogo)&&(0,ee.jsx)("div",{className:"pb-8",children:(0,ee.jsx)("img",{style:{maxWidth:"200px"},src:window.extOnbData.partnerLogo,alt:null!==(r=null===(n=window.extOnbData)||void 0===n?void 0:n.partnerName)&&void 0!==r?r:""})}),o[0]]}),(0,ee.jsx)(_n,{disabled:!a})]}),(0,ee.jsxs)("div",{className:"hidden md:flex items-center space-x-3",children:[(0,ee.jsx)("span",{className:"opacity-70 text-xs",children:(0,Q.__)("Powered by","extendify")}),(0,ee.jsxs)("span",{className:"relative",children:[(0,ee.jsx)(lt,{className:"logo text-partner-primary-text w-28"}),(0,ee.jsx)("span",{className:"absolute -bottom-2 right-3 font-semibold tracking-tight",children:"Launch"})]})]})]}),(0,ee.jsxs)("div",{className:"flex-grow md:h-screen md:overflow-y-scroll",children:[a?(0,ee.jsx)("div",{className:"py-4 px-8 sticky top-0 bg-white z-50",children:(0,ee.jsx)(Nn,{})}):null,(0,ee.jsx)("div",{className:"mt-8 p-8 lg:px-12 flex justify-center",children:o[1]})]})]})};function An(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(!e)return;if("string"==typeof e)return Tn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return Tn(e,t)}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Tn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function Rn(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Dn(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Rn(i,n,o,a,s,"next",e)}function s(e){Rn(i,n,o,a,s,"throw",e)}a(void 0)}))}}var Ln=function(){var e=Dn(ne().mark((function e(t,r,n){var o,i,a,s,u,c,l,f,d,p;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:o={},i=An(t),e.prev=2,i.s();case 4:if((a=i.n()).done){e.next=18;break}return s=a.value,e.next=8,We({siteType:r.slug,layoutType:s.slug,baseLayout:"home"===s.slug?null==n?void 0:n.homeBaseLayout:null,kit:"home"!==s.slug?null==n?void 0:n.kit:null});case 8:return u=e.sent,c="",null!=u&&u.data&&(c=[null==u||null===(l=u.data)||void 0===l?void 0:l.code,null==u||null===(f=u.data)||void 0===f?void 0:f.code2].filter(Boolean).join("")),d=s.slug,e.next=14,ve({title:s.title,name:d,status:"publish",content:c,template:"no-title",meta:{made_with_extendify_launch:!0}});case 14:p=e.sent,o[d]={id:p.id,title:s.title};case 16:e.next=4;break;case 18:e.next=23;break;case 20:e.prev=20,e.t0=e.catch(2),i.e(e.t0);case 23:return e.prev=23,i.f(),e.finish(23);case 26:if(null==o||!o.home){e.next=34;break}return e.next=29,he("show_on_front","page");case 29:return e.next=31,he("page_on_front",o.home.id);case 31:if(null==o||!o.blog){e.next=34;break}return e.next=34,he("page_for_posts",o.blog);case 34:return e.next=36,he("extendify_onboarding_completed",(new Date).toISOString());case 36:return e.abrupt("return",o);case 37:case"end":return e.stop()}}),e,null,[[2,20,23,26]])})));return function(t,r,n){return e.apply(this,arguments)}}();function In(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=Hn(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return a=e.done,e},e:function(e){s=!0,i=e},f:function(){try{a||null==r.return||r.return()}finally{if(s)throw i}}}}function Mn(e,t,r,n,o,i,a){try{var s=e[i](a),u=s.value}catch(e){return void r(e)}s.done?t(u):Promise.resolve(u).then(n,o)}function Un(e){return function(){var t=this,r=arguments;return new Promise((function(n,o){var i=e.apply(t,r);function a(e){Mn(i,n,o,a,s,"next",e)}function s(e){Mn(i,n,o,a,s,"throw",e)}a(void 0)}))}}function Bn(e){return function(e){if(Array.isArray(e))return Vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Hn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||Hn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Hn(e,t){if(e){if("string"==typeof e)return Vn(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Vn(e,t):void 0}}function Vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var zn=function(){var t=dr((function(e){return e.canLaunch()})),r=dr(),n=r.siteType,o=r.siteInformation,i=r.pages,a=r.style,s=r.plugins,u=Fn((0,e.useState)([]),2),c=u[0],l=u[1],f=function(e){return l((function(t){return[e].concat(Bn(t))}))};(0,e.useEffect)((function(){var e=function(e){return e.preventDefault(),e.returnValue=""},t={capture:!0};return window.addEventListener("beforeunload",e,t),function(){window.removeEventListener("beforeunload",e,t)}}),[]);var d=(0,e.useCallback)(Un(ne().mark((function e(){var r,u,c,l,d,p;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t){e.next=2;break}throw new Error((0,Q.__)("Site is not ready to launch.","extendify"));case 2:return f((0,Q.__)("Preparing your website","extendify")),e.next=5,he("blogname",o.title);case 5:return e.next=7,new Promise((function(e){return setTimeout(e,2e3)}));case 7:return f((0,Q.__)("Installing your theme","extendify")),e.next=10,h=a.variation,Se(window.extOnbData.globalStylesPostID,h);case 10:if(null==s||!s.length){e.next=32;break}return f((0,Q._n)("Getting ready to install ".concat(s.length," plugin"),"Getting ready to install ".concat(s.length," plugins"),s.length,"extendify")),e.next=14,new Promise((function(e){return setTimeout(e,2e3)}));case 14:r=In(s.entries()),e.prev=15,r.s();case 17:if((u=r.n()).done){e.next=24;break}return c=Fn(u.value,2),l=c[0],d=c[1],f((0,Q.__)("Installing (".concat(l+1,"/").concat(s.length,"): ").concat(d.name),"extendify")),e.next=22,be(d);case 22:e.next=17;break;case 24:e.next=29;break;case 26:e.prev=26,e.t0=e.catch(15),r.e(e.t0);case 29:return e.prev=29,r.f(),e.finish(29);case 32:return e.next=34,new Promise((function(e){return setTimeout(e,2e3)}));case 34:return f((0,Q.__)("Inserting header area","extendify")),e.next=37,xe("extendable//header",null==a?void 0:a.headerCode);case 37:return e.next=39,new Promise((function(e){return setTimeout(e,2e3)}));case 39:return f((0,Q.__)("Generating page content","extendify")),e.next=42,Ln(i,n,a);case 42:return p=e.sent,e.next=45,new Promise((function(e){return setTimeout(e,2e3)}));case 45:return f((0,Q.__)("Inserting footer area","extendify")),e.next=48,xe("extendable//footer",null==a?void 0:a.footerCode);case 48:return e.next=50,new Promise((function(e){return setTimeout(e,2e3)}));case 50:return f((0,Q.__)("Finalizing your site","extendify")),e.next=53,void[{slug:"hello-world",type:"post"},{slug:"sample-page",type:"page"}].forEach(function(){var e=Dn(ne().mark((function e(t){var r;return ne().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,ge(t.slug,t.type);case 2:if(null==(r=e.sent)||!r.length||"trash"===r[0].status){e.next=6;break}return e.next=6,me(r[0].id,t.type);case 6:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}());case 53:return e.abrupt("return",p);case 54:case"end":return e.stop()}var h}),e,null,[[15,26,29,32]])}))),[i,s,n,a,t,o.title]);return(0,e.useEffect)((function(){d().then((function(e){Cn.setState({generatedPages:e})}))}),[d]),(0,ee.jsxs)(kn,{includeNav:!1,children:[(0,ee.jsxs)("div",{children:[(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.__)("Building your site now!","extendify")}),(0,ee.jsx)("p",{className:"text-base mb-0",children:(0,Q.__)("Please don't close the window.","extendify")})]}),(0,ee.jsx)("div",{className:"w-full",children:(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4",children:c.map((function(e,t){return t?(0,ee.jsxs)("div",{className:"ml-12 text-base text-gray-500 flex",children:[(0,ee.jsx)(Ke,{className:"text-green-500 w-6 mr-1"}),(0,Q.sprintf)(e,"...")]},e):(0,ee.jsxs)("div",{className:"text-4xl flex space-x-4 items-center",children:[(0,ee.jsx)(Bt,{className:"spin w-10 mr-2"}),(0,Q.sprintf)(e,"...")]},e)}))})})]})};function Yn(e){return(function(e){let t;try{t=new URL(e,"http://example.com").search.substring(1)}catch(e){}if(t)return t}(e)||"").replace(/\+/g,"%20").split("&").reduce(((e,t)=>{const[r,n=""]=t.split("=").filter(Boolean).map(decodeURIComponent);if(r){!function(e,t,r){const n=t.length,o=n-1;for(let i=0;i<n;i++){let n=t[i];!n&&Array.isArray(e)&&(n=e.length.toString()),n=["__proto__","constructor","prototype"].includes(n)?n.toUpperCase():n;const a=!isNaN(Number(t[i+1]));e[n]=i===o?r:e[n]||(a?[]:{}),Array.isArray(e[n])&&!a&&(e[n]={...e[n]}),e=e[n]}}(e,r.replace(/\]/g,"").split("["),n)}return e}),Object.create(null))}function qn(e){let t="";const r=Object.entries(e);let n;for(;n=r.shift();){let[e,o]=n;if(Array.isArray(o)||o&&o.constructor===Object){const t=Object.entries(o).reverse();for(const[n,o]of t)r.unshift([`${e}[${n}]`,o])}else void 0!==o&&(null===o&&(o=""),t+="&"+[e,o].map(encodeURIComponent).join("="))}return t.substr(1)}function Wn(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0;if(!t||!Object.keys(t).length)return e;let r=e;const n=e.indexOf("?");return-1!==n&&(t=Object.assign(Yn(e),t),r=r.substr(0,n)),r+"?"+qn(t)}var Xn={};!function e(t,r,n,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL);function a(){}function s(e){var n=r.exports.Promise,o=void 0!==n?n:t.Promise;return"function"==typeof o?new o(e):(e(a,a),null)}var u,c,l,f,d,p,h,y,v,m=(l=Math.floor(1e3/60),f={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(u=function(e){var t=Math.random();return f[t]=requestAnimationFrame((function r(n){d===n||d+l-1<n?(d=n,delete f[t],e()):f[t]=requestAnimationFrame(r)})),t},c=function(e){f[e]&&cancelAnimationFrame(f[e])}):(u=function(e){return setTimeout(e,l)},c=function(e){return clearTimeout(e)}),{frame:u,cancel:c}),g=(y={},function(){if(p)return p;if(!n&&i){var t=["var CONFETTI, SIZE = {}, module = {};","("+e.toString()+")(this, module, true, SIZE);","onmessage = function(msg) {"," if (msg.data.options) {"," CONFETTI(msg.data.options).then(function () {"," if (msg.data.callback) {"," postMessage({ callback: msg.data.callback });"," }"," });"," } else if (msg.data.reset) {"," CONFETTI.reset();"," } else if (msg.data.resize) {"," SIZE.width = msg.data.resize.width;"," SIZE.height = msg.data.resize.height;"," } else if (msg.data.canvas) {"," SIZE.width = msg.data.canvas.width;"," SIZE.height = msg.data.canvas.height;"," CONFETTI = module.exports.create(msg.data.canvas);"," }","}"].join("\n");try{p=new Worker(URL.createObjectURL(new Blob([t])))}catch(e){return void 0!==typeof console&&"function"==typeof console.warn&&console.warn("🎊 Could not load worker",e),null}!function(e){function t(t,r){e.postMessage({options:t||{},callback:r})}e.init=function(t){var r=t.transferControlToOffscreen();e.postMessage({canvas:r},[r])},e.fire=function(r,n,o){if(h)return t(r,null),h;var i=Math.random().toString(36).slice(2);return h=s((function(n){function a(t){t.data.callback===i&&(delete y[i],e.removeEventListener("message",a),h=null,o(),n())}e.addEventListener("message",a),t(r,i),y[i]=a.bind(null,{data:{callback:i}})}))},e.reset=function(){for(var t in e.postMessage({reset:!0}),y)y[t](),delete y[t]}}(p)}return p}),b={particleCount:50,angle:90,spread:45,startVelocity:45,decay:.9,gravity:1,drift:0,ticks:200,x:.5,y:.5,shapes:["square","circle"],zIndex:100,colors:["#26ccff","#a25afd","#ff5e7e","#88ff5a","#fcff42","#ffa62d","#ff36ff"],disableForReducedMotion:!1,scalar:1};function w(e,t,r){return function(e,t){return t?t(e):e}(e&&null!=e[t]?e[t]:b[t],r)}function x(e){return e<0?0:Math.floor(e)}function j(e){return parseInt(e,16)}function O(e){return e.map(E)}function E(e){var t=String(e).replace(/[^0-9a-f]/gi,"");return t.length<6&&(t=t[0]+t[0]+t[1]+t[1]+t[2]+t[2]),{r:j(t.substring(0,2)),g:j(t.substring(2,4)),b:j(t.substring(4,6))}}function S(e){e.width=document.documentElement.clientWidth,e.height=document.documentElement.clientHeight}function P(e){var t=e.getBoundingClientRect();e.width=t.width,e.height=t.height}function _(e,t,r,i,a){var u,c,l=t.slice(),f=e.getContext("2d"),d=s((function(t){function s(){u=c=null,f.clearRect(0,0,i.width,i.height),a(),t()}u=m.frame((function t(){!n||i.width===o.width&&i.height===o.height||(i.width=e.width=o.width,i.height=e.height=o.height),i.width||i.height||(r(e),i.width=e.width,i.height=e.height),f.clearRect(0,0,i.width,i.height),l=l.filter((function(e){return function(e,t){t.x+=Math.cos(t.angle2D)*t.velocity+t.drift,t.y+=Math.sin(t.angle2D)*t.velocity+t.gravity,t.wobble+=t.wobbleSpeed,t.velocity*=t.decay,t.tiltAngle+=.1,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+2,t.wobbleX=t.x+10*t.scalar*Math.cos(t.wobble),t.wobbleY=t.y+10*t.scalar*Math.sin(t.wobble);var r=t.tick++/t.totalTicks,n=t.x+t.random*t.tiltCos,o=t.y+t.random*t.tiltSin,i=t.wobbleX+t.random*t.tiltCos,a=t.wobbleY+t.random*t.tiltSin;return e.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-r)+")",e.beginPath(),"circle"===t.shape?e.ellipse?e.ellipse(t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):function(e,t,r,n,o,i,a,s,u){e.save(),e.translate(t,r),e.rotate(i),e.scale(n,o),e.arc(0,0,1,a,s,u),e.restore()}(e,t.x,t.y,Math.abs(i-n)*t.ovalScalar,Math.abs(a-o)*t.ovalScalar,Math.PI/10*t.wobble,0,2*Math.PI):(e.moveTo(Math.floor(t.x),Math.floor(t.y)),e.lineTo(Math.floor(t.wobbleX),Math.floor(o)),e.lineTo(Math.floor(i),Math.floor(a)),e.lineTo(Math.floor(n),Math.floor(t.wobbleY))),e.closePath(),e.fill(),t.tick<t.totalTicks}(f,e)})),l.length?u=m.frame(t):s()})),c=s}));return{addFettis:function(e){return l=l.concat(e),d},canvas:e,promise:d,reset:function(){u&&m.cancel(u),c&&c()}}}function C(e,r){var n,o=!e,a=!!w(r||{},"resize"),u=w(r,"disableForReducedMotion",Boolean),c=i&&!!w(r||{},"useWorker")?g():null,l=o?S:P,f=!(!e||!c)&&!!e.__confetti_initialized,d="function"==typeof matchMedia&&matchMedia("(prefers-reduced-motion)").matches;function p(t,r,o){for(var i,a,s,u,c,f=w(t,"particleCount",x),d=w(t,"angle",Number),p=w(t,"spread",Number),h=w(t,"startVelocity",Number),y=w(t,"decay",Number),v=w(t,"gravity",Number),m=w(t,"drift",Number),g=w(t,"colors",O),b=w(t,"ticks",Number),j=w(t,"shapes"),E=w(t,"scalar"),S=function(e){var t=w(e,"origin",Object);return t.x=w(t,"x",Number),t.y=w(t,"y",Number),t}(t),P=f,C=[],N=e.width*S.x,k=e.height*S.y;P--;)C.push((i={x:N,y:k,angle:d,spread:p,startVelocity:h,color:g[P%g.length],shape:j[(u=0,c=j.length,Math.floor(Math.random()*(c-u))+u)],ticks:b,decay:y,gravity:v,drift:m,scalar:E},a=void 0,s=void 0,a=i.angle*(Math.PI/180),s=i.spread*(Math.PI/180),{x:i.x,y:i.y,wobble:10*Math.random(),wobbleSpeed:Math.min(.11,.1*Math.random()+.05),velocity:.5*i.startVelocity+Math.random()*i.startVelocity,angle2D:-a+(.5*s-Math.random()*s),tiltAngle:(.5*Math.random()+.25)*Math.PI,color:i.color,shape:i.shape,tick:0,totalTicks:i.ticks,decay:i.decay,drift:i.drift,random:Math.random()+2,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0,gravity:3*i.gravity,ovalScalar:.6,scalar:i.scalar}));return n?n.addFettis(C):(n=_(e,C,l,r,o)).promise}function h(r){var i=u||w(r,"disableForReducedMotion",Boolean),h=w(r,"zIndex",Number);if(i&&d)return s((function(e){e()}));o&&n?e=n.canvas:o&&!e&&(e=function(e){var t=document.createElement("canvas");return t.style.position="fixed",t.style.top="0px",t.style.left="0px",t.style.pointerEvents="none",t.style.zIndex=e,t}(h),document.body.appendChild(e)),a&&!f&&l(e);var y={width:e.width,height:e.height};function v(){if(c){var t={getBoundingClientRect:function(){if(!o)return e.getBoundingClientRect()}};return l(t),void c.postMessage({resize:{width:t.width,height:t.height}})}y.width=y.height=null}function m(){n=null,a&&t.removeEventListener("resize",v),o&&e&&(document.body.removeChild(e),e=null,f=!1)}return c&&!f&&c.init(e),f=!0,c&&(e.__confetti_initialized=!0),a&&t.addEventListener("resize",v,!1),c?c.fire(r,y,m):p(r,y,m)}return h.reset=function(){c&&c.reset(),n&&n.reset()},h}function N(){return v||(v=C(null,{useWorker:!0,resize:!0})),v}r.exports=function(){return N().apply(this,arguments)},r.exports.reset=function(){N().reset()},r.exports.create=C}(function(){return"undefined"!=typeof window?window:"undefined"!=typeof self?self:this||{}}(),Xn,!1);const Zn=Xn.exports;Xn.exports.create;function Gn(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function Jn(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?Gn(Object(r),!0).forEach((function(t){$n(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Gn(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}function $n(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var Kn=function(){var t,r,n=Cn((function(e){return e.generatedPages})),o=dr((function(e){return e.siteType}));return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;(0,e.useEffect)((function(){var e=Date.now()+r;!function r(){Zn(Jn(Jn({},t),{},{disableForReducedMotion:!0,zIndex:1e5})),Date.now()<e&&requestAnimationFrame(r)}()}),[t,r])}({particleCount:2,angle:60,spread:55,origin:{x:0,y:.7},colors:["var(--ext-partner-theme-primary-text, #ffffff)"]},3e3),(0,ee.jsxs)(kn,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-partner-primary-text mb-4 mt-0",children:(0,Q.sprintf)((0,Q.__)("Your site has been successfully created. Enjoy!","extendify"),null==o||null===(t=o.label)||void 0===t?void 0:t.toLowerCase())})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base text-center",children:(0,Q.__)("Your site is ready! You can now go to your site and start editing content.","extendify")}),(0,ee.jsxs)("div",{className:"text-center w-360 flex flex-col justify-center items-center -mt-150",children:[(0,ee.jsx)(Ke,{className:"w-16 bg-partner-primary-bg text-partner-primary-text rounded-full"}),(0,ee.jsx)("h3",{className:"mb-8",children:(0,Q.__)("All Done","extendify")}),(0,ee.jsx)("div",{className:"flex space-x-4",children:(0,ee.jsx)("a",{className:"px-4 py-3 rounded-md bg-gray-200 text-black no-underline hover:bg-partner-primary-bg hover:text-partner-primary-text font-medium",target:"_blank",rel:"noreferrer",href:window.extOnbData.home,children:(0,Q.__)("View Site","extendify")})}),(0,ee.jsxs)("div",{className:"text-left self-start px-10 py-4 w-full",children:[(0,ee.jsx)("h4",{className:"",children:(0,Q.__)("New Pages:","extendify")}),(0,ee.jsx)("div",{className:"",children:null===(r=Object.values(n))||void 0===r?void 0:r.map((function(e){return(0,ee.jsxs)("div",{className:"flex items-center mb-2",children:[(0,ee.jsx)(Ke,{className:"w-6 text-green-500"}),(0,ee.jsx)("a",{target:"_blank",href:Wn("post.php",{post:e.id,action:"edit"}),className:"text-primary no-underline hover:underline ml-2 text-base",rel:"noreferrer",children:e.title})]},e.id)}))})]})]})]})]})};function Qn(e){return function(e){if(Array.isArray(e))return ro(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||to(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function eo(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||to(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function to(e,t){if(e){if("string"==typeof e)return ro(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ro(e,t):void 0}}function ro(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var no=function(){var t=dr(),r=t.goals,n=t.pages,o=t.plugins,i=t.siteType,a=t.style,s=t.feedbackMissingSiteType,u=t.feedbackMissingGoal,c=Cn(),l=c.orderId,f=c.setOrderId,d=c.generating,p=On(),h=p.pages,y=p.currentPageIndex,v=eo((0,e.useState)(),2),m=v[0],g=v[1],b=eo((0,e.useState)([]),2),w=b[0],x=b[1],j=eo((0,e.useState)(new Set),2),O=j[0],E=j[1];(0,e.useEffect)((function(){var e=Qn(h).map((function(e){return e[0]}));x((function(t){return(null==t?void 0:t.at(-1))===e[y]?t:[].concat(Qn(t),[e[y]])}))}),[y,h]),(0,e.useEffect)((function(){d&&x((function(e){return[].concat(Qn(e),["launched"])}))}),[d]),(0,e.useEffect)((function(){var e;null!==(e=Object.keys(null!=a?a:{}))&&void 0!==e&&e.length&&E((function(e){var t=new Set(e);return t.add(a.recordId),t}))}),[a]),(0,e.useEffect)((function(){var e,t,r,n,o="onboarding",i=null===(e=window.location)||void 0===e?void 0:e.search;o=(null==i?void 0:i.indexOf("DEVMODE"))>-1?"onboarding-dev":o,o=(null==i?void 0:i.indexOf("LOCALMODE"))>-1?"onboarding-local":o,g(null===(t=window)||void 0===t||null===(r=t.extOnbData)||void 0===r||null===(n=r.config)||void 0===n?void 0:n.api[o])}),[]),(0,e.useEffect)((function(){!m||null!=l&&l.length||ie.post("onboarding/create-order").then((function(e){f(e.data.id)}))}),[m,f,l]),(0,e.useEffect)((function(){if(m&&l){var e;return e=window.setTimeout((function(){fetch("".concat(m,"/progress"),{method:"POST",headers:{"Content-type":"application/json"},body:JSON.stringify({orderId:l,selectedGoals:null==r?void 0:r.map((function(e){return e.id})),selectedPages:null==n?void 0:n.map((function(e){return e.id})),selectedPlugins:o,selectedSiteType:null!=i&&i.recordId?[i.recordId]:[],selectedStyle:null!=a&&a.recordId?[a.recordId]:[],stepProgress:w,pages:h,viewedStyles:Qn(O).slice(1),feedbackMissingSiteType:s,feedbackMissingGoal:u,perfStyles:oo("style"),perfPages:oo("page")})})}),1e3),function(){return window.clearTimeout(e)}}}),[m,r,n,o,i,a,h,l,w,O,s,u])},oo=function(e){return performance.getEntriesByType("measure").filter((function(t){return t.detail.extendify&&t.detail.context.type===e})).map((function(e){return t={},r=e.name,n=e.duration,r in t?Object.defineProperty(t,r,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[r]=n,t;var t,r,n}))},io=function(){return(0,ee.jsxs)(kn,{includeNav:!1,children:[(0,ee.jsx)("div",{children:(0,ee.jsx)("h1",{className:"text-3xl text-white mb-4 mt-0",children:(0,Q.__)("Hey, one more thing before we start.","extendify")})}),(0,ee.jsxs)("div",{className:"w-full",children:[(0,ee.jsx)("p",{className:"mt-0 mb-8 text-base",children:(0,Q.__)("Hey there, Launch is powered by Extendable and is required to proceed. You can install it from the link below and start over once activated.","extendify")}),(0,ee.jsx)("div",{className:"flex flex-col items-start space-y-4 text-base",children:(0,ee.jsx)("a",{href:"".concat(window.extOnbData.site,"/wp-admin/theme-install.php?theme=extendable"),children:(0,Q.__)("Take me there")})})]})]})};function ao(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,o,i=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(i.push(n.value),!t||i.length!==t);a=!0);}catch(e){s=!0,o=e}finally{try{a||null==r.return||r.return()}finally{if(s)throw o}}return i}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return so(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return so(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function so(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var uo,co=function(){var r,n=ao((0,e.useState)(!1),2),o=n[0],i=n[1],a=On((function(e){return e.currentPageData()})).component,s=On((function(e){return e.nextPageData()})),u=s.fetcher,c=s.fetchData,l=X().mutate,f=Cn((function(e){return e.generating})),d=Cn((function(e){return e.generatedPages})),p=ao((0,e.useState)(!1),2),h=p[0],y=p[1],v=ao((0,e.useState)(!1),2),m=v[0],g=v[1],b=(0,t.useSelect)((function(e){return e("core").getCurrentTheme()}));r=(0,t.useSelect)((function(e){return e("core/edit-post").isFeatureActive("welcomeGuide")}),[]),(0,e.useEffect)((function(){r&&(0,t.dispatch)("core/edit-post").toggleFeature("welcomeGuide")}),[r]),(0,e.useLayoutEffect)((function(){var e=window.getComputedStyle(document.body).overflow;return document.body.style.overflow="hidden",function(){return document.body.style.overflow=e}}),[]),no();var w;return(0,e.useEffect)((function(){null!=b&&b.textdomain&&"extendable"!==(null==b?void 0:b.textdomain)&&g(!0)}),[b]),(0,e.useEffect)((function(){if(h){var e=setTimeout((function(){window.dispatchEvent(new CustomEvent("extendify::close-library",{bubbles:!0}))}),0);return document.title="Extendify Launch",function(){return clearTimeout(e)}}}),[h]),(0,e.useEffect)((function(){var e=new URLSearchParams(window.location.search);["onboarding"].includes(e.get("extendify"))&&(y(!0),he("extendify_launch_loaded",(new Date).toISOString()))}),[]),(0,e.useEffect)((function(){u&&l(c,u)}),[u,l,c]),h?(0,ee.jsxs)(J,{value:{errorRetryInterval:1e3,onErrorRetry:function(e,t){var r;console.error(t,e),403!==(null==e||null===(r=e.data)||void 0===r?void 0:r.status)?o||(i(!0),setTimeout((function(){i(!1)}),5e3)):window.location.reload()}},children:[(0,ee.jsx)("div",{style:{zIndex:1e5},className:"h-screen w-screen fixed inset-0 overflow-y-auto md:overflow-hidden bg-white",children:m?(0,ee.jsx)(io,{}):null!==(w=Object.keys(d))&&void 0!==w&&w.length?(0,ee.jsx)(Kn,{}):f?(0,ee.jsx)(zn,{}):(0,ee.jsx)(a,{})}),o&&(0,ee.jsx)(te,{})]}):null},lo=Object.assign(document.createElement("div"),{id:"extendify-onboarding-root",className:"extendify-onboarding"});document.body.append(lo),uo=function(){window._wpLoadBlockEditor&&(0,e.render)((0,ee.jsx)(co,{}),lo)},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",uo):uo())})()})();
|
public/build/extendify.css
CHANGED
@@ -1 +1 @@
|
|
1 |
-
div.extendify .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify .pointer-events-none{pointer-events:none!important}div.extendify .invisible{visibility:hidden!important}div.extendify .group:focus .group-focus\:visible,div.extendify .group:hover .group-hover\:visible{visibility:visible!important}div.extendify .static{position:static!important}div.extendify .fixed{position:fixed!important}div.extendify .absolute{position:absolute!important}div.extendify .relative{position:relative!important}div.extendify .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify .top-0{top:0!important}div.extendify .top-2{top:.5rem!important}div.extendify .top-4{top:1rem!important}div.extendify .-top-1\/4{top:-25%!important}div.extendify .right-0{right:0!important}div.extendify .right-1{right:.25rem!important}div.extendify .right-2{right:.5rem!important}div.extendify .right-3{right:.75rem!important}div.extendify .right-4{right:1rem!important}div.extendify .right-2\.5{right:.625rem!important}div.extendify .bottom-0{bottom:0!important}div.extendify .bottom-4{bottom:1rem!important}div.extendify .-bottom-2{bottom:-.5rem!important}div.extendify .left-0{left:0!important}div.extendify .left-3\/4{left:75%!important}div.extendify .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify .z-10{z-index:10!important}div.extendify .z-20{z-index:20!important}div.extendify .z-30{z-index:30!important}div.extendify .z-40{z-index:40!important}div.extendify .z-50{z-index:50!important}div.extendify .z-high{z-index:99999!important}div.extendify .z-max{z-index:2147483647!important}div.extendify .m-0{margin:0!important}div.extendify .m-3{margin:.75rem!important}div.extendify .m-8{margin:2rem!important}div.extendify .m-auto{margin:auto!important}div.extendify .-m-2{margin:-.5rem!important}div.extendify .-m-px{margin:-1px!important}div.extendify .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify .-mx-6{margin-left:-1.5rem!important;margin-right:-1.5rem!important}div.extendify .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify .mt-0{margin-top:0!important}div.extendify .mt-2{margin-top:.5rem!important}div.extendify .mt-4{margin-top:1rem!important}div.extendify .mt-8{margin-top:2rem!important}div.extendify .mt-20{margin-top:5rem!important}div.extendify .mt-px{margin-top:1px!important}div.extendify .mt-0\.5{margin-top:.125rem!important}div.extendify .-mt-2{margin-top:-.5rem!important}div.extendify .-mt-5{margin-top:-1.25rem!important}div.extendify .mr-1{margin-right:.25rem!important}div.extendify .mr-2{margin-right:.5rem!important}div.extendify .mr-3{margin-right:.75rem!important}div.extendify .mr-6{margin-right:1.5rem!important}div.extendify .-mr-1{margin-right:-.25rem!important}div.extendify .-mr-1\.5{margin-right:-.375rem!important}div.extendify .mb-0{margin-bottom:0!important}div.extendify .mb-1{margin-bottom:.25rem!important}div.extendify .mb-2{margin-bottom:.5rem!important}div.extendify .mb-4{margin-bottom:1rem!important}div.extendify .mb-5{margin-bottom:1.25rem!important}div.extendify .mb-8{margin-bottom:2rem!important}div.extendify .mb-10{margin-bottom:2.5rem!important}div.extendify .mb-12{margin-bottom:3rem!important}div.extendify .ml-1{margin-left:.25rem!important}div.extendify .ml-2{margin-left:.5rem!important}div.extendify .ml-4{margin-left:1rem!important}div.extendify .ml-12{margin-left:3rem!important}div.extendify .-ml-1{margin-left:-.25rem!important}div.extendify .-ml-2{margin-left:-.5rem!important}div.extendify .-ml-6{margin-left:-1.5rem!important}div.extendify .-ml-px{margin-left:-1px!important}div.extendify .-ml-1\.5{margin-left:-.375rem!important}div.extendify .block{display:block!important}div.extendify .inline-block{display:inline-block!important}div.extendify .flex{display:flex!important}div.extendify .inline-flex{display:inline-flex!important}div.extendify .table{display:table!important}div.extendify .grid{display:grid!important}div.extendify .hidden{display:none!important}div.extendify .h-0{height:0!important}div.extendify .h-2{height:.5rem!important}div.extendify .h-4{height:1rem!important}div.extendify .h-5{height:1.25rem!important}div.extendify .h-6{height:1.5rem!important}div.extendify .h-8{height:2rem!important}div.extendify .h-12{height:3rem!important}div.extendify .h-32{height:8rem!important}div.extendify .h-64{height:16rem!important}div.extendify .h-auto{height:auto!important}div.extendify .h-full{height:100%!important}div.extendify .h-screen{height:100vh!important}div.extendify .max-h-96{max-height:24rem!important}div.extendify .min-h-48{min-height:12rem!important}div.extendify .min-h-screen{min-height:100vh!important}div.extendify .w-0{width:0!important}div.extendify .w-4{width:1rem!important}div.extendify .w-5{width:1.25rem!important}div.extendify .w-6{width:1.5rem!important}div.extendify .w-8{width:2rem!important}div.extendify .w-10{width:2.5rem!important}div.extendify .w-16{width:4rem!important}div.extendify .w-28{width:7rem!important}div.extendify .w-32{width:8rem!important}div.extendify .w-72{width:18rem!important}div.extendify .w-80{width:20rem!important}div.extendify .w-96{width:24rem!important}div.extendify .w-auto{width:auto!important}div.extendify .w-6\/12{width:50%!important}div.extendify .w-7\/12{width:58.333333%!important}div.extendify .w-full{width:100%!important}div.extendify .w-screen{width:100vw!important}div.extendify .min-w-0{min-width:0!important}div.extendify .min-w-sm{min-width:7rem!important}div.extendify .max-w-sm{max-width:24rem!important}div.extendify .max-w-md{max-width:28rem!important}div.extendify .max-w-lg{max-width:32rem!important}div.extendify .max-w-xl{max-width:36rem!important}div.extendify .max-w-2xl{max-width:42rem!important}div.extendify .max-w-4xl{max-width:56rem!important}div.extendify .max-w-full{max-width:100%!important}div.extendify .max-w-screen-4xl{max-width:1920px!important}div.extendify .flex-1{flex:1 1 0%!important}div.extendify .flex-shrink-0{flex-shrink:0!important}div.extendify .flex-grow-0{flex-grow:0!important}div.extendify .flex-grow{flex-grow:1!important}div.extendify .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify .translate-y-0{--tw-translate-y:0px!important}div.extendify .translate-y-4{--tw-translate-y:1rem!important}div.extendify .-translate-y-px{--tw-translate-y:-1px!important}div.extendify .-translate-y-full{--tw-translate-y:-100%!important}div.extendify .rotate-90{--tw-rotate:90deg!important}div.extendify .cursor-pointer{cursor:pointer!important}div.extendify .grid-cols-3-minmax-300px-1fr{grid-template-columns:repeat(3,minmax(300px,1fr))!important}div.extendify .flex-col{flex-direction:column!important}div.extendify .flex-wrap{flex-wrap:wrap!important}div.extendify .items-start{align-items:flex-start!important}div.extendify .items-end{align-items:flex-end!important}div.extendify .items-center{align-items:center!important}div.extendify .justify-end{justify-content:flex-end!important}div.extendify .justify-center{justify-content:center!important}div.extendify .justify-between{justify-content:space-between!important}div.extendify .justify-evenly{justify-content:space-evenly!important}div.extendify .gap-4{gap:1rem!important}div.extendify .gap-6{gap:1.5rem!important}div.extendify .gap-x-4{-moz-column-gap:1rem!important;column-gap:1rem!important}div.extendify .gap-y-1{row-gap:.25rem!important}div.extendify .gap-y-3{row-gap:.75rem!important}div.extendify .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify .self-start{align-self:flex-start!important}div.extendify .overflow-hidden{overflow:hidden!important}div.extendify .overflow-y-auto{overflow-y:auto!important}div.extendify .overflow-x-hidden{overflow-x:hidden!important}div.extendify .overflow-y-scroll{overflow-y:scroll!important}div.extendify .whitespace-nowrap{white-space:nowrap!important}div.extendify .rounded-none{border-radius:0!important}div.extendify .rounded-sm{border-radius:.125rem!important}div.extendify .rounded{border-radius:.25rem!important}div.extendify .rounded-md{border-radius:.375rem!important}div.extendify .rounded-lg{border-radius:.5rem!important}div.extendify .rounded-full{border-radius:9999px!important}div.extendify .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify .border-0{border-width:0!important}div.extendify .border-2{border-width:2px!important}div.extendify .border-8{border-width:8px!important}div.extendify .border{border-width:1px!important}div.extendify .border-t{border-top-width:1px!important}div.extendify .border-r{border-right-width:1px!important}div.extendify .border-b-0{border-bottom-width:0!important}div.extendify .border-b{border-bottom-width:1px!important}div.extendify .border-l-8{border-left-width:8px!important}div.extendify .border-solid{border-style:solid!important}div.extendify .border-none{border-style:none!important}div.extendify .border-transparent{border-color:transparent!important}div.extendify .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify .border-gray-700{--tw-border-opacity:1!important;border-color:rgba(117,117,117,var(--tw-border-opacity))!important}div.extendify .border-gray-800{--tw-border-opacity:1!important;border-color:rgba(31,41,55,var(--tw-border-opacity))!important}div.extendify .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify .border-partner-primary-bg{border-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify .focus\:border-transparent:focus{border-color:transparent!important}div.extendify .bg-transparent{background-color:transparent!important}div.extendify .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .bg-gray-700{--tw-bg-opacity:1!important;background-color:rgba(117,117,117,var(--tw-bg-opacity))!important}div.extendify .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify .focus\:bg-white:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify .bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))!important}div.extendify .from-white{--tw-gradient-from:#fff!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,hsla(0,0%,100%,0))!important}div.extendify .bg-cover{background-size:cover!important}div.extendify .bg-clip-padding{background-clip:padding-box!important}div.extendify .fill-current{fill:currentColor!important}div.extendify .stroke-current{stroke:currentColor!important}div.extendify .p-0{padding:0!important}div.extendify .p-1{padding:.25rem!important}div.extendify .p-2{padding:.5rem!important}div.extendify .p-3{padding:.75rem!important}div.extendify .p-4{padding:1rem!important}div.extendify .p-6{padding:1.5rem!important}div.extendify .p-8{padding:2rem!important}div.extendify .p-10{padding:2.5rem!important}div.extendify .p-12{padding:3rem!important}div.extendify .p-0\.5{padding:.125rem!important}div.extendify .p-1\.5{padding:.375rem!important}div.extendify .p-3\.5{padding:.875rem!important}div.extendify .px-0{padding-left:0!important;padding-right:0!important}div.extendify .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify .pt-0{padding-top:0!important}div.extendify .pt-1{padding-top:.25rem!important}div.extendify .pt-2{padding-top:.5rem!important}div.extendify .pt-4{padding-top:1rem!important}div.extendify .pt-6{padding-top:1.5rem!important}div.extendify .pt-px{padding-top:1px!important}div.extendify .pt-0\.5{padding-top:.125rem!important}div.extendify .pr-3{padding-right:.75rem!important}div.extendify .pr-8{padding-right:2rem!important}div.extendify .pb-2{padding-bottom:.5rem!important}div.extendify .pb-3{padding-bottom:.75rem!important}div.extendify .pb-8{padding-bottom:2rem!important}div.extendify .pb-20{padding-bottom:5rem!important}div.extendify .pb-36{padding-bottom:9rem!important}div.extendify .pb-40{padding-bottom:10rem!important}div.extendify .pl-0{padding-left:0!important}div.extendify .pl-2{padding-left:.5rem!important}div.extendify .pl-4{padding-left:1rem!important}div.extendify .pl-6{padding-left:1.5rem!important}div.extendify .text-left{text-align:left!important}div.extendify .text-center{text-align:center!important}div.extendify .align-middle{vertical-align:middle!important}div.extendify .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify .font-light{font-weight:300!important}div.extendify .font-normal{font-weight:400!important}div.extendify .font-medium{font-weight:500!important}div.extendify .font-semibold{font-weight:600!important}div.extendify .font-bold{font-weight:700!important}div.extendify .uppercase{text-transform:uppercase!important}div.extendify .italic{font-style:italic!important}div.extendify .leading-none{line-height:1!important}div.extendify .tracking-tight{letter-spacing:-.025em!important}div.extendify .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify .text-extendify-main-dark{--tw-text-opacity:1!important;color:rgba(5,49,44,var(--tw-text-opacity))!important}div.extendify .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .focus-within\:text-partner-primary-bg:focus-within{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify .focus\:text-partner-primary-bg:focus{color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .underline{text-decoration:underline!important}div.extendify .line-through{text-decoration:line-through!important}div.extendify .no-underline{text-decoration:none!important}div.extendify .hover\:underline:hover{text-decoration:underline!important}div.extendify .hover\:no-underline:hover{text-decoration:none!important}div.extendify .opacity-0{opacity:0!important}div.extendify .opacity-30{opacity:.3!important}div.extendify .opacity-50{opacity:.5!important}div.extendify .opacity-60{opacity:.6!important}div.extendify .opacity-70{opacity:.7!important}div.extendify .opacity-75{opacity:.75!important}div.extendify .focus\:opacity-100:focus,div.extendify .group:focus .group-focus\:opacity-100,div.extendify .group:hover .group-hover\:opacity-100,div.extendify .hover\:opacity-100:hover,div.extendify .opacity-100{opacity:1!important}div.extendify .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify .shadow-md,div.extendify .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify .shadow-2xl,div.extendify .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .focus\:outline-none:focus,div.extendify .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify .focus\:ring-wp:focus,div.extendify .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#3e58e1)!important}div.extendify .ring-offset-0{--tw-ring-offset-width:0px!important}div.extendify .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify .blur{--tw-blur:blur(8px)!important}div.extendify .invert{--tw-invert:invert(100%)!important}div.extendify .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .delay-200{transition-delay:.2s!important}div.extendify .duration-100{transition-duration:.1s!important}div.extendify .duration-200{transition-duration:.2s!important}div.extendify .duration-300{transition-duration:.3s!important}div.extendify .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--wp-admin-theme-color)!important}.extendify *,.extendify :after,.extendify :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify button.extendify-skip-to-sr-link:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important;padding:1rem!important;position:fixed!important;top:0!important;z-index:99999!important}.button-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important;border-radius:.25rem!important;cursor:pointer!important;white-space:nowrap!important}.button-extendify-main:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}.button-extendify-main:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}.button-extendify-main{font-size:1rem!important;line-height:1.5rem!important;padding:.375rem .75rem!important}.button-extendify-main,.button-extendify-main:active,.button-extendify-main:focus,.button-extendify-main:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}.button-extendify-main{text-decoration:none!important;transition-duration:.15s!important;transition-duration:.2s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify .button-extendify-main:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-extendify-main{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-extendify-main:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify input.button-extendify-main:focus,.extendify input.button-focus:focus,.extendify select.button-extendify-main:focus,.extendify select.button-focus:focus{--tw-shadow:0 0 #0000!important;border-color:transparent!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;outline:2px solid transparent!important;outline-offset:2px!important}#extendify-search-input:not(:-moz-placeholder-shown)~svg{display:none!important}#extendify-search-input:not(:-ms-input-placeholder)~svg{display:none!important}#extendify-search-input:focus~svg,#extendify-search-input:not(:placeholder-shown)~svg{display:none!important}#extendify-search-input::-webkit-textfield-decoration-container{margin-right:.75rem!important}.extendify .components-panel__body>.components-panel__body-title{background-color:transparent!important;border-bottom:1px solid #e0e0e0!important}.extendify .components-modal__header{--tw-border-opacity:1!important;border-bottom-width:1px!important;border-color:rgba(221,221,221,var(--tw-border-opacity))!important}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.ext{max-width:none!important}.extendify .block-editor-block-preview__container{-webkit-animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;opacity:0}.extendify .is-root-container>[data-align=full],.extendify .is-root-container>[data-align=full]>.wp-block,.extendify .is-root-container>[data-block]{margin-bottom:0!important;margin-top:0!important}.editor-styles-wrapper:not(.block-editor-writing-flow)>.is-root-container :where(.wp-block)[data-align=full]{margin-bottom:0!important;margin-top:0!important}@-webkit-keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}@keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}.extendify .with-light-shadow:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.025)!important;border-width:0!important;bottom:0!important;content:""!important;left:0!important;position:absolute!important;right:0!important;top:0!important}.extendify .with-light-shadow:after,.extendify .with-light-shadow:hover:after{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .with-light-shadow:hover:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 3px 15px -3px rgba(0,0,0,.025),0 0 1px rgba(0,0,0,.02)!important}@supports not (((-webkit-backdrop-filter:saturate(2) blur(24px)) or (backdrop-filter:saturate(2) blur(24px)))){div.extendify .bg-extendify-transparent-white{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}}.components-panel__body.ext-type-control .components-panel__body-title{border-bottom-width:0!important;margin:0 -1rem!important;padding-left:1.25rem!important;padding-right:1.25rem!important}.extendify .animate-pulse{-webkit-animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite;animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite}@-webkit-keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}.is-template--in-review:before,.is-template--inactive:before{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important;border-style:solid!important;border-width:8px!important;bottom:0!important;content:""!important;height:100%!important;left:0!important;position:absolute!important;right:0!important;top:0!important;width:100%!important;z-index:40!important}.is-template--inactive:before{border-color:#fdeab6!important}.extendify-tooltip-default:not(.is-without-arrow)[data-y-axis=bottom]:after{border-bottom-color:#1e1e1e!important}.extendify-tooltip-default:not(.is-without-arrow):before{border-color:transparent!important}.extendify-tooltip-default:not(.is-without-arrow) .components-popover__content{--tw-bg-opacity:1!important;--tw-text-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important;border-color:transparent!important;color:rgba(255,255,255,var(--tw-text-opacity))!important;min-width:250px!important;padding:1rem!important}.extendify-bottom-arrow:after{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;--tw-translate-y:-1px!important;border-color:#1e1e1e transparent transparent!important;border-width:8px!important;bottom:-15px!important;content:""!important;display:inline-block!important;height:0!important;position:absolute!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;width:0!important}@media (min-width:480px){div.extendify .xs\:inline{display:inline!important}div.extendify .xs\:h-9{height:2.25rem!important}div.extendify .xs\:pr-3{padding-right:.75rem!important}div.extendify .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify .sm\:mt-0{margin-top:0!important}div.extendify .sm\:mb-8{margin-bottom:2rem!important}div.extendify .sm\:ml-2{margin-left:.5rem!important}div.extendify .sm\:block{display:block!important}div.extendify .sm\:flex{display:flex!important}div.extendify .sm\:h-auto{height:auto!important}div.extendify .sm\:w-72{width:18rem!important}div.extendify .sm\:w-auto{width:auto!important}div.extendify .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .sm\:p-0{padding:0!important}div.extendify .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .sm\:pt-0{padding-top:0!important}div.extendify .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify .md\:m-0{margin:0!important}div.extendify .md\:-ml-8{margin-left:-2rem!important}div.extendify .md\:block{display:block!important}div.extendify .md\:flex{display:flex!important}div.extendify .md\:hidden{display:none!important}div.extendify .md\:h-screen{height:100vh!important}div.extendify .md\:w-40vw{width:40vw!important}div.extendify .md\:max-w-md{max-width:28rem!important}div.extendify .md\:max-w-2xl{max-width:42rem!important}div.extendify .md\:flex-row{flex-direction:row!important}div.extendify .md\:gap-8{gap:2rem!important}div.extendify .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .md\:overflow-hidden{overflow:hidden!important}div.extendify .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify .md\:p-8{padding:2rem!important}div.extendify .md\:px-8{padding-right:2rem!important}div.extendify .md\:pl-8,div.extendify .md\:px-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify .lg\:absolute{position:absolute!important}div.extendify .lg\:-mr-1{margin-right:-.25rem!important}div.extendify .lg\:block{display:block!important}div.extendify .lg\:flex{display:flex!important}div.extendify .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify .lg\:space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(0px*var(--tw-space-y-reverse))!important;margin-top:calc(0px*(1 - var(--tw-space-y-reverse)))!important}div.extendify .lg\:overflow-hidden{overflow:hidden!important}div.extendify .lg\:p-16{padding:4rem!important}div.extendify .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}}@media (min-width:1280px){div.extendify .xl\:grid{display:grid!important}}
|
1 |
+
div.extendify .sr-only{clip:rect(0,0,0,0)!important;border-width:0!important;height:1px!important;margin:-1px!important;overflow:hidden!important;padding:0!important;position:absolute!important;white-space:nowrap!important;width:1px!important}div.extendify .focus\:not-sr-only:focus{clip:auto!important;height:auto!important;margin:0!important;overflow:visible!important;padding:0!important;position:static!important;white-space:normal!important;width:auto!important}div.extendify .pointer-events-none{pointer-events:none!important}div.extendify .invisible{visibility:hidden!important}div.extendify .group:focus .group-focus\:visible,div.extendify .group:hover .group-hover\:visible{visibility:visible!important}div.extendify .static{position:static!important}div.extendify .fixed{position:fixed!important}div.extendify .absolute{position:absolute!important}div.extendify .relative{position:relative!important}div.extendify .sticky{position:-webkit-sticky!important;position:sticky!important}div.extendify .inset-0{bottom:0!important;left:0!important;right:0!important;top:0!important}div.extendify .top-0{top:0!important}div.extendify .top-2{top:.5rem!important}div.extendify .top-4{top:1rem!important}div.extendify .-top-1\/4{top:-25%!important}div.extendify .right-0{right:0!important}div.extendify .right-1{right:.25rem!important}div.extendify .right-2{right:.5rem!important}div.extendify .right-3{right:.75rem!important}div.extendify .right-4{right:1rem!important}div.extendify .right-2\.5{right:.625rem!important}div.extendify .bottom-0{bottom:0!important}div.extendify .bottom-4{bottom:1rem!important}div.extendify .-bottom-2{bottom:-.5rem!important}div.extendify .left-0{left:0!important}div.extendify .left-3\/4{left:75%!important}div.extendify .group:hover .group-hover\:-top-2{top:-.5rem!important}div.extendify .group:hover .group-hover\:-top-2\.5{top:-.625rem!important}div.extendify .group:focus .group-focus\:-top-2{top:-.5rem!important}div.extendify .group:focus .group-focus\:-top-2\.5{top:-.625rem!important}div.extendify .z-10{z-index:10!important}div.extendify .z-20{z-index:20!important}div.extendify .z-30{z-index:30!important}div.extendify .z-40{z-index:40!important}div.extendify .z-50{z-index:50!important}div.extendify .z-high{z-index:99999!important}div.extendify .z-max{z-index:2147483647!important}div.extendify .m-0{margin:0!important}div.extendify .m-8{margin:2rem!important}div.extendify .m-auto{margin:auto!important}div.extendify .-m-2{margin:-.5rem!important}div.extendify .-m-px{margin:-1px!important}div.extendify .mx-1{margin-left:.25rem!important;margin-right:.25rem!important}div.extendify .mx-6{margin-left:1.5rem!important;margin-right:1.5rem!important}div.extendify .mx-auto{margin-left:auto!important;margin-right:auto!important}div.extendify .-mx-4{margin-left:-1rem!important;margin-right:-1rem!important}div.extendify .my-0{margin-bottom:0!important;margin-top:0!important}div.extendify .my-px{margin-bottom:1px!important;margin-top:1px!important}div.extendify .mt-0{margin-top:0!important}div.extendify .mt-2{margin-top:.5rem!important}div.extendify .mt-4{margin-top:1rem!important}div.extendify .mt-8{margin-top:2rem!important}div.extendify .mt-12{margin-top:3rem!important}div.extendify .mt-20{margin-top:5rem!important}div.extendify .mt-px{margin-top:1px!important}div.extendify .mt-0\.5{margin-top:.125rem!important}div.extendify .-mt-2{margin-top:-.5rem!important}div.extendify .-mt-5{margin-top:-1.25rem!important}div.extendify .mr-1{margin-right:.25rem!important}div.extendify .mr-2{margin-right:.5rem!important}div.extendify .mr-3{margin-right:.75rem!important}div.extendify .mr-6{margin-right:1.5rem!important}div.extendify .-mr-1{margin-right:-.25rem!important}div.extendify .-mr-1\.5{margin-right:-.375rem!important}div.extendify .mb-0{margin-bottom:0!important}div.extendify .mb-1{margin-bottom:.25rem!important}div.extendify .mb-2{margin-bottom:.5rem!important}div.extendify .mb-4{margin-bottom:1rem!important}div.extendify .mb-5{margin-bottom:1.25rem!important}div.extendify .mb-8{margin-bottom:2rem!important}div.extendify .mb-10{margin-bottom:2.5rem!important}div.extendify .ml-1{margin-left:.25rem!important}div.extendify .ml-2{margin-left:.5rem!important}div.extendify .ml-4{margin-left:1rem!important}div.extendify .ml-12{margin-left:3rem!important}div.extendify .-ml-1{margin-left:-.25rem!important}div.extendify .-ml-2{margin-left:-.5rem!important}div.extendify .-ml-6{margin-left:-1.5rem!important}div.extendify .-ml-px{margin-left:-1px!important}div.extendify .-ml-1\.5{margin-left:-.375rem!important}div.extendify .block{display:block!important}div.extendify .inline-block{display:inline-block!important}div.extendify .flex{display:flex!important}div.extendify .inline-flex{display:inline-flex!important}div.extendify .table{display:table!important}div.extendify .grid{display:grid!important}div.extendify .hidden{display:none!important}div.extendify .h-0{height:0!important}div.extendify .h-2{height:.5rem!important}div.extendify .h-4{height:1rem!important}div.extendify .h-5{height:1.25rem!important}div.extendify .h-6{height:1.5rem!important}div.extendify .h-8{height:2rem!important}div.extendify .h-12{height:3rem!important}div.extendify .h-32{height:8rem!important}div.extendify .h-64{height:16rem!important}div.extendify .h-auto{height:auto!important}div.extendify .h-full{height:100%!important}div.extendify .h-screen{height:100vh!important}div.extendify .max-h-96{max-height:24rem!important}div.extendify .min-h-full{min-height:100%!important}div.extendify .min-h-screen{min-height:100vh!important}div.extendify .w-0{width:0!important}div.extendify .w-4{width:1rem!important}div.extendify .w-5{width:1.25rem!important}div.extendify .w-6{width:1.5rem!important}div.extendify .w-8{width:2rem!important}div.extendify .w-10{width:2.5rem!important}div.extendify .w-16{width:4rem!important}div.extendify .w-28{width:7rem!important}div.extendify .w-32{width:8rem!important}div.extendify .w-72{width:18rem!important}div.extendify .w-80{width:20rem!important}div.extendify .w-96{width:24rem!important}div.extendify .w-auto{width:auto!important}div.extendify .w-6\/12{width:50%!important}div.extendify .w-7\/12{width:58.333333%!important}div.extendify .w-full{width:100%!important}div.extendify .w-screen{width:100vw!important}div.extendify .min-w-0{min-width:0!important}div.extendify .min-w-sm{min-width:7rem!important}div.extendify .max-w-sm{max-width:24rem!important}div.extendify .max-w-md{max-width:28rem!important}div.extendify .max-w-lg{max-width:32rem!important}div.extendify .max-w-xl{max-width:36rem!important}div.extendify .max-w-2xl{max-width:42rem!important}div.extendify .max-w-4xl{max-width:56rem!important}div.extendify .max-w-full{max-width:100%!important}div.extendify .max-w-prose{max-width:65ch!important}div.extendify .max-w-screen-4xl{max-width:1920px!important}div.extendify .flex-1{flex:1 1 0%!important}div.extendify .flex-shrink-0{flex-shrink:0!important}div.extendify .flex-grow-0{flex-grow:0!important}div.extendify .flex-grow{flex-grow:1!important}div.extendify .transform{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important}div.extendify .-translate-x-1{--tw-translate-x:-0.25rem!important}div.extendify .translate-y-0{--tw-translate-y:0px!important}div.extendify .translate-y-4{--tw-translate-y:1rem!important}div.extendify .-translate-y-px{--tw-translate-y:-1px!important}div.extendify .-translate-y-full{--tw-translate-y:-100%!important}div.extendify .rotate-90{--tw-rotate:90deg!important}div.extendify .cursor-pointer{cursor:pointer!important}div.extendify .grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify .flex-col{flex-direction:column!important}div.extendify .flex-wrap{flex-wrap:wrap!important}div.extendify .items-start{align-items:flex-start!important}div.extendify .items-end{align-items:flex-end!important}div.extendify .items-center{align-items:center!important}div.extendify .justify-end{justify-content:flex-end!important}div.extendify .justify-center{justify-content:center!important}div.extendify .justify-between{justify-content:space-between!important}div.extendify .justify-evenly{justify-content:space-evenly!important}div.extendify .gap-4{gap:1rem!important}div.extendify .gap-6{gap:1.5rem!important}div.extendify .gap-x-4{-moz-column-gap:1rem!important;column-gap:1rem!important}div.extendify .gap-y-1{row-gap:.25rem!important}div.extendify .space-x-0>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(0px*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(0px*var(--tw-space-x-reverse))!important}div.extendify .space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.25rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.25rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.5rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.5rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.75rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.75rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-4>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(1rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(1rem*var(--tw-space-x-reverse))!important}div.extendify .space-x-0\.5>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(.125rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(.125rem*var(--tw-space-x-reverse))!important}div.extendify .space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1rem*var(--tw-space-y-reverse))!important;margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0!important;border-bottom-width:calc(1px*var(--tw-divide-y-reverse))!important;border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))!important}div.extendify .self-start{align-self:flex-start!important}div.extendify .overflow-hidden{overflow:hidden!important}div.extendify .overflow-y-auto{overflow-y:auto!important}div.extendify .overflow-x-hidden{overflow-x:hidden!important}div.extendify .overflow-y-scroll{overflow-y:scroll!important}div.extendify .whitespace-nowrap{white-space:nowrap!important}div.extendify .rounded-none{border-radius:0!important}div.extendify .rounded-sm{border-radius:.125rem!important}div.extendify .rounded{border-radius:.25rem!important}div.extendify .rounded-md{border-radius:.375rem!important}div.extendify .rounded-lg{border-radius:.5rem!important}div.extendify .rounded-full{border-radius:9999px!important}div.extendify .rounded-tr-sm{border-top-right-radius:.125rem!important}div.extendify .rounded-br-sm{border-bottom-right-radius:.125rem!important}div.extendify .border-0{border-width:0!important}div.extendify .border-2{border-width:2px!important}div.extendify .border-8{border-width:8px!important}div.extendify .border{border-width:1px!important}div.extendify .border-t{border-top-width:1px!important}div.extendify .border-r{border-right-width:1px!important}div.extendify .border-b-0{border-bottom-width:0!important}div.extendify .border-b{border-bottom-width:1px!important}div.extendify .border-l-8{border-left-width:8px!important}div.extendify .border-solid{border-style:solid!important}div.extendify .border-none{border-style:none!important}div.extendify .border-transparent{border-color:transparent!important}div.extendify .border-black{--tw-border-opacity:1!important;border-color:rgba(0,0,0,var(--tw-border-opacity))!important}div.extendify .border-white{--tw-border-opacity:1!important;border-color:rgba(255,255,255,var(--tw-border-opacity))!important}div.extendify .border-gray-100{--tw-border-opacity:1!important;border-color:rgba(240,240,240,var(--tw-border-opacity))!important}div.extendify .border-gray-200{--tw-border-opacity:1!important;border-color:rgba(224,224,224,var(--tw-border-opacity))!important}div.extendify .border-gray-700{--tw-border-opacity:1!important;border-color:rgba(117,117,117,var(--tw-border-opacity))!important}div.extendify .border-gray-800{--tw-border-opacity:1!important;border-color:rgba(31,41,55,var(--tw-border-opacity))!important}div.extendify .border-gray-900{--tw-border-opacity:1!important;border-color:rgba(30,30,30,var(--tw-border-opacity))!important}div.extendify .border-partner-primary-bg{border-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .border-extendify-main{--tw-border-opacity:1!important;border-color:rgba(11,74,67,var(--tw-border-opacity))!important}div.extendify .border-extendify-secondary{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important}div.extendify .border-extendify-transparent-black-100{border-color:rgba(0,0,0,.07)!important}div.extendify .border-wp-alert-red{--tw-border-opacity:1!important;border-color:rgba(204,24,24,var(--tw-border-opacity))!important}div.extendify .focus\:border-transparent:focus{border-color:transparent!important}div.extendify .bg-transparent{background-color:transparent!important}div.extendify .bg-black{--tw-bg-opacity:1!important;background-color:rgba(0,0,0,var(--tw-bg-opacity))!important}div.extendify .bg-white{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .bg-gray-50{--tw-bg-opacity:1!important;background-color:rgba(251,251,251,var(--tw-bg-opacity))!important}div.extendify .bg-gray-100{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .bg-gray-200{--tw-bg-opacity:1!important;background-color:rgba(224,224,224,var(--tw-bg-opacity))!important}div.extendify .bg-gray-700{--tw-bg-opacity:1!important;background-color:rgba(117,117,117,var(--tw-bg-opacity))!important}div.extendify .bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-partner-primary-bg{background-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .bg-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-alert{--tw-bg-opacity:1!important;background-color:rgba(132,16,16,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-secondary{--tw-bg-opacity:1!important;background-color:rgba(203,195,245,var(--tw-bg-opacity))!important}div.extendify .bg-extendify-transparent-white{background-color:hsla(0,0%,99%,.88)!important}div.extendify .bg-wp-theme-500{background-color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .group:hover .group-hover\:bg-gray-900{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-gray-100:hover{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-partner-primary-bg:hover{background-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .hover\:bg-extendify-main-dark:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}div.extendify .hover\:bg-wp-theme-600:hover{background-color:var(--wp-admin-theme-color-darker-10,#006ba1)!important}div.extendify .focus\:bg-white:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important}div.extendify .focus\:bg-gray-100:focus{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}div.extendify .active\:bg-gray-900:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}div.extendify .bg-opacity-40{--tw-bg-opacity:0.4!important}div.extendify .bg-gradient-to-l{background-image:linear-gradient(to left,var(--tw-gradient-stops))!important}div.extendify .from-white{--tw-gradient-from:#fff!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,hsla(0,0%,100%,0))!important}div.extendify .bg-cover{background-size:cover!important}div.extendify .bg-clip-padding{background-clip:padding-box!important}div.extendify .fill-current{fill:currentColor!important}div.extendify .stroke-current{stroke:currentColor!important}div.extendify .p-0{padding:0!important}div.extendify .p-1{padding:.25rem!important}div.extendify .p-2{padding:.5rem!important}div.extendify .p-3{padding:.75rem!important}div.extendify .p-4{padding:1rem!important}div.extendify .p-6{padding:1.5rem!important}div.extendify .p-8{padding:2rem!important}div.extendify .p-10{padding:2.5rem!important}div.extendify .p-12{padding:3rem!important}div.extendify .p-0\.5{padding:.125rem!important}div.extendify .p-1\.5{padding:.375rem!important}div.extendify .p-3\.5{padding:.875rem!important}div.extendify .px-0{padding-left:0!important;padding-right:0!important}div.extendify .px-1{padding-left:.25rem!important;padding-right:.25rem!important}div.extendify .px-2{padding-left:.5rem!important;padding-right:.5rem!important}div.extendify .px-3{padding-left:.75rem!important;padding-right:.75rem!important}div.extendify .px-4{padding-left:1rem!important;padding-right:1rem!important}div.extendify .px-5{padding-left:1.25rem!important;padding-right:1.25rem!important}div.extendify .px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}div.extendify .px-8{padding-left:2rem!important;padding-right:2rem!important}div.extendify .px-10{padding-left:2.5rem!important;padding-right:2.5rem!important}div.extendify .px-0\.5{padding-left:.125rem!important;padding-right:.125rem!important}div.extendify .px-2\.5{padding-left:.625rem!important;padding-right:.625rem!important}div.extendify .py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}div.extendify .py-2{padding-bottom:.5rem!important;padding-top:.5rem!important}div.extendify .py-3{padding-bottom:.75rem!important;padding-top:.75rem!important}div.extendify .py-4{padding-bottom:1rem!important;padding-top:1rem!important}div.extendify .py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}div.extendify .py-12{padding-bottom:3rem!important;padding-top:3rem!important}div.extendify .py-2\.5{padding-bottom:.625rem!important;padding-top:.625rem!important}div.extendify .pt-0{padding-top:0!important}div.extendify .pt-1{padding-top:.25rem!important}div.extendify .pt-2{padding-top:.5rem!important}div.extendify .pt-3{padding-top:.75rem!important}div.extendify .pt-4{padding-top:1rem!important}div.extendify .pt-6{padding-top:1.5rem!important}div.extendify .pt-px{padding-top:1px!important}div.extendify .pt-0\.5{padding-top:.125rem!important}div.extendify .pr-3{padding-right:.75rem!important}div.extendify .pr-8{padding-right:2rem!important}div.extendify .pb-0{padding-bottom:0!important}div.extendify .pb-1{padding-bottom:.25rem!important}div.extendify .pb-2{padding-bottom:.5rem!important}div.extendify .pb-3{padding-bottom:.75rem!important}div.extendify .pb-8{padding-bottom:2rem!important}div.extendify .pb-20{padding-bottom:5rem!important}div.extendify .pb-36{padding-bottom:9rem!important}div.extendify .pb-40{padding-bottom:10rem!important}div.extendify .pb-1\.5{padding-bottom:.375rem!important}div.extendify .pl-0{padding-left:0!important}div.extendify .pl-2{padding-left:.5rem!important}div.extendify .pl-4{padding-left:1rem!important}div.extendify .pl-6{padding-left:1.5rem!important}div.extendify .text-left{text-align:left!important}div.extendify .text-center{text-align:center!important}div.extendify .align-middle{vertical-align:middle!important}div.extendify .text-xs{font-size:.75rem!important;line-height:1rem!important}div.extendify .text-sm{font-size:.875rem!important;line-height:1.25rem!important}div.extendify .text-base{font-size:1rem!important;line-height:1.5rem!important}div.extendify .text-lg{font-size:1.125rem!important;line-height:1.75rem!important}div.extendify .text-xl{font-size:1.25rem!important;line-height:1.75rem!important}div.extendify .text-3xl{font-size:2rem!important;line-height:2.5rem!important}div.extendify .text-4xl{font-size:2.25rem!important;line-height:2.5rem!important}div.extendify .font-light{font-weight:300!important}div.extendify .font-normal{font-weight:400!important}div.extendify .font-medium{font-weight:500!important}div.extendify .font-semibold{font-weight:600!important}div.extendify .font-bold{font-weight:700!important}div.extendify .uppercase{text-transform:uppercase!important}div.extendify .capitalize{text-transform:capitalize!important}div.extendify .italic{font-style:italic!important}div.extendify .leading-none{line-height:1!important}div.extendify .tracking-tight{letter-spacing:-.025em!important}div.extendify .text-black{--tw-text-opacity:1!important;color:rgba(0,0,0,var(--tw-text-opacity))!important}div.extendify .text-white{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .text-gray-500{--tw-text-opacity:1!important;color:rgba(204,204,204,var(--tw-text-opacity))!important}div.extendify .text-gray-700{--tw-text-opacity:1!important;color:rgba(117,117,117,var(--tw-text-opacity))!important}div.extendify .text-gray-800{--tw-text-opacity:1!important;color:rgba(31,41,55,var(--tw-text-opacity))!important}div.extendify .text-gray-900{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-green-500{--tw-text-opacity:1!important;color:rgba(16,185,129,var(--tw-text-opacity))!important}div.extendify .text-partner-primary-text{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .text-partner-primary-bg{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .text-extendify-main{--tw-text-opacity:1!important;color:rgba(11,74,67,var(--tw-text-opacity))!important}div.extendify .text-extendify-main-dark{--tw-text-opacity:1!important;color:rgba(5,49,44,var(--tw-text-opacity))!important}div.extendify .text-extendify-gray{--tw-text-opacity:1!important;color:rgba(95,95,95,var(--tw-text-opacity))!important}div.extendify .text-extendify-black{--tw-text-opacity:1!important;color:rgba(30,30,30,var(--tw-text-opacity))!important}div.extendify .text-wp-theme-500{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .text-wp-alert-red{--tw-text-opacity:1!important;color:rgba(204,24,24,var(--tw-text-opacity))!important}div.extendify .group:hover .group-hover\:text-gray-50{--tw-text-opacity:1!important;color:rgba(251,251,251,var(--tw-text-opacity))!important}div.extendify .focus-within\:text-partner-primary-bg:focus-within{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .hover\:text-white:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .hover\:text-partner-primary-text:hover{color:var(--ext-partner-theme-primary-text,#fff)!important}div.extendify .hover\:text-partner-primary-bg:hover{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .hover\:text-wp-theme-500:hover{color:var(--wp-admin-theme-color,#007cba)!important}div.extendify .focus\:text-white:focus{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}div.extendify .focus\:text-blue-500:focus{--tw-text-opacity:1!important;color:rgba(59,130,246,var(--tw-text-opacity))!important}div.extendify .focus\:text-partner-primary-bg:focus{color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .underline{text-decoration:underline!important}div.extendify .line-through{text-decoration:line-through!important}div.extendify .no-underline{text-decoration:none!important}div.extendify .hover\:underline:hover{text-decoration:underline!important}div.extendify .hover\:no-underline:hover{text-decoration:none!important}div.extendify .opacity-0{opacity:0!important}div.extendify .opacity-30{opacity:.3!important}div.extendify .opacity-50{opacity:.5!important}div.extendify .opacity-60{opacity:.6!important}div.extendify .opacity-70{opacity:.7!important}div.extendify .opacity-75{opacity:.75!important}div.extendify .focus\:opacity-100:focus,div.extendify .group:focus .group-focus\:opacity-100,div.extendify .group:hover .group-hover\:opacity-100,div.extendify .hover\:opacity-100:hover,div.extendify .opacity-100{opacity:1!important}div.extendify .shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05)!important}div.extendify .shadow-md,div.extendify .shadow-sm{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-md{--tw-shadow:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06)!important}div.extendify .shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25)!important}div.extendify .shadow-2xl,div.extendify .shadow-modal{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .shadow-modal{--tw-shadow:0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.05)!important}div.extendify .focus\:shadow-none:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}div.extendify .focus\:outline-none:focus,div.extendify .outline-none{outline:2px solid transparent!important;outline-offset:2px!important}div.extendify .focus\:ring-wp:focus,div.extendify .ring-wp{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify .ring-partner-primary-bg{--tw-ring-color:var(--ext-partner-theme-primary-bg,#2c39bd)!important}div.extendify .ring-offset-0{--tw-ring-offset-width:0px!important}div.extendify .ring-offset-2{--tw-ring-offset-width:2px!important}div.extendify .ring-offset-white{--tw-ring-offset-color:#fff!important}div.extendify .filter{--tw-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-sepia:var(--tw-empty,/*!*/ /*!*/)!important;--tw-drop-shadow:var(--tw-empty,/*!*/ /*!*/)!important;filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)!important}div.extendify .blur{--tw-blur:blur(8px)!important}div.extendify .invert{--tw-invert:invert(100%)!important}div.extendify .backdrop-filter{--tw-backdrop-blur:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-brightness:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-contrast:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-grayscale:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-hue-rotate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-invert:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-opacity:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-saturate:var(--tw-empty,/*!*/ /*!*/)!important;--tw-backdrop-sepia:var(--tw-empty,/*!*/ /*!*/)!important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}div.extendify .backdrop-blur-xl{--tw-backdrop-blur:blur(24px)!important}div.extendify .backdrop-saturate-200{--tw-backdrop-saturate:saturate(2)!important}div.extendify .transition-all{transition-duration:.15s!important;transition-property:all!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition{transition-duration:.15s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .transition-opacity{transition-duration:.15s!important;transition-property:opacity!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}div.extendify .delay-200{transition-delay:.2s!important}div.extendify .duration-100{transition-duration:.1s!important}div.extendify .duration-200{transition-duration:.2s!important}div.extendify .duration-300{transition-duration:.3s!important}div.extendify .ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)!important}div.extendify .ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify{--tw-ring-inset:var(--tw-empty,/*!*/ /*!*/)!important;--tw-ring-offset-width:0px!important;--tw-ring-offset-color:transparent!important;--tw-ring-color:var(--wp-admin-theme-color)!important}.extendify *,.extendify :after,.extendify :before{border:0 solid #e5e7eb!important;box-sizing:border-box!important}.extendify .button-focus:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-focus{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-focus:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}div.extendify button.extendify-skip-to-sr-link:focus{--tw-bg-opacity:1!important;background-color:rgba(255,255,255,var(--tw-bg-opacity))!important;padding:1rem!important;position:fixed!important;top:0!important;z-index:99999!important}.button-extendify-main{--tw-bg-opacity:1!important;background-color:rgba(11,74,67,var(--tw-bg-opacity))!important;border-radius:.25rem!important;cursor:pointer!important;white-space:nowrap!important}.button-extendify-main:hover{--tw-bg-opacity:1!important;background-color:rgba(5,49,44,var(--tw-bg-opacity))!important}.button-extendify-main:active{--tw-bg-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important}.button-extendify-main{font-size:1rem!important;line-height:1.5rem!important;padding:.375rem .75rem!important}.button-extendify-main,.button-extendify-main:active,.button-extendify-main:focus,.button-extendify-main:hover{--tw-text-opacity:1!important;color:rgba(255,255,255,var(--tw-text-opacity))!important}.button-extendify-main{text-decoration:none!important;transition-duration:.15s!important;transition-duration:.2s!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter!important;transition-property:background-color,border-color,color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter!important;transition-timing-function:cubic-bezier(.4,0,.2,1)!important}.extendify .button-extendify-main:focus{--tw-shadow:0 0 #0000!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .button-extendify-main{outline:2px solid transparent!important;outline-offset:2px!important}.extendify .button-extendify-main:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)!important;--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--wp-admin-border-width-focus, 2px) + var(--tw-ring-offset-width)) var(--tw-ring-color)!important;--tw-ring-color:var(--wp-admin-theme-color,#007cba)!important;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)!important}.extendify input.button-extendify-main:focus,.extendify input.button-focus:focus,.extendify select.button-extendify-main:focus,.extendify select.button-focus:focus{--tw-shadow:0 0 #0000!important;border-color:transparent!important;box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important;outline:2px solid transparent!important;outline-offset:2px!important}#extendify-search-input:not(:-moz-placeholder-shown)~svg{display:none!important}#extendify-search-input:not(:-ms-input-placeholder)~svg{display:none!important}#extendify-search-input:focus~svg,#extendify-search-input:not(:placeholder-shown)~svg{display:none!important}#extendify-search-input::-webkit-textfield-decoration-container{margin-right:.75rem!important}.extendify .components-panel__body>.components-panel__body-title{background-color:transparent!important;border-bottom:1px solid #e0e0e0!important}.extendify .components-modal__header{--tw-border-opacity:1!important;border-bottom-width:1px!important;border-color:rgba(221,221,221,var(--tw-border-opacity))!important}.block-editor-block-preview__content .block-editor-block-list__layout.is-root-container>.ext{max-width:none!important}.extendify .block-editor-block-preview__container{-webkit-animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;animation:extendifyOpacityIn .2s cubic-bezier(.694,0,.335,1) 0ms forwards;opacity:0}.extendify .is-root-container>[data-align=full],.extendify .is-root-container>[data-align=full]>.wp-block,.extendify .is-root-container>[data-block]{margin-bottom:0!important;margin-top:0!important}.editor-styles-wrapper:not(.block-editor-writing-flow)>.is-root-container :where(.wp-block)[data-align=full]{margin-bottom:0!important;margin-top:0!important}@-webkit-keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}@keyframes extendifyOpacityIn{0%{opacity:0}to{opacity:1}}.extendify .with-light-shadow:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.1),0 3px 15px -3px rgba(0,0,0,.035),0 0 1px rgba(0,0,0,.025)!important;border-width:0!important;bottom:0!important;content:""!important;left:0!important;position:absolute!important;right:0!important;top:0!important}.extendify .with-light-shadow:after,.extendify .with-light-shadow:hover:after{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)!important}.extendify .with-light-shadow:hover:after{--tw-shadow:inset 0 0 0 1px rgba(0,0,0,.2),0 3px 15px -3px rgba(0,0,0,.025),0 0 1px rgba(0,0,0,.02)!important}@supports not (((-webkit-backdrop-filter:saturate(2) blur(24px)) or (backdrop-filter:saturate(2) blur(24px)))){div.extendify .bg-extendify-transparent-white{--tw-bg-opacity:1!important;background-color:rgba(240,240,240,var(--tw-bg-opacity))!important}}.components-panel__body.ext-type-control .components-panel__body-title{border-bottom-width:0!important;margin:0 -1rem!important;padding-left:1.25rem!important;padding-right:1.25rem!important}.extendify .animate-pulse{-webkit-animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite;animation:extendifyPulse 3s cubic-bezier(.4,0,.6,1) infinite}@-webkit-keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}@keyframes extendifyPulse{0%,to{opacity:1}50%{opacity:.5}}.is-template--in-review:before,.is-template--inactive:before{--tw-border-opacity:1!important;border-color:rgba(203,195,245,var(--tw-border-opacity))!important;border-style:solid!important;border-width:8px!important;bottom:0!important;content:""!important;height:100%!important;left:0!important;position:absolute!important;right:0!important;top:0!important;width:100%!important;z-index:40!important}.is-template--inactive:before{border-color:#fdeab6!important}.extendify-tooltip-default:not(.is-without-arrow)[data-y-axis=bottom]:after{border-bottom-color:#1e1e1e!important}.extendify-tooltip-default:not(.is-without-arrow):before{border-color:transparent!important}.extendify-tooltip-default:not(.is-without-arrow) .components-popover__content{--tw-bg-opacity:1!important;--tw-text-opacity:1!important;background-color:rgba(30,30,30,var(--tw-bg-opacity))!important;border-color:transparent!important;color:rgba(255,255,255,var(--tw-text-opacity))!important;min-width:250px!important;padding:1rem!important}.extendify-bottom-arrow:after{--tw-translate-x:0!important;--tw-translate-y:0!important;--tw-rotate:0!important;--tw-skew-x:0!important;--tw-skew-y:0!important;--tw-scale-x:1!important;--tw-scale-y:1!important;--tw-translate-y:-1px!important;border-color:#1e1e1e transparent transparent!important;border-width:8px!important;bottom:-15px!important;content:""!important;display:inline-block!important;height:0!important;position:absolute!important;transform:translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))!important;width:0!important}@media (min-width:480px){div.extendify .xs\:inline{display:inline!important}div.extendify .xs\:h-9{height:2.25rem!important}div.extendify .xs\:pr-3{padding-right:.75rem!important}div.extendify .xs\:pl-2{padding-left:.5rem!important}}@media (min-width:600px){div.extendify .sm\:mx-0{margin-left:0!important;margin-right:0!important}div.extendify .sm\:mt-0{margin-top:0!important}div.extendify .sm\:mb-8{margin-bottom:2rem!important}div.extendify .sm\:ml-2{margin-left:.5rem!important}div.extendify .sm\:block{display:block!important}div.extendify .sm\:flex{display:flex!important}div.extendify .sm\:h-auto{height:auto!important}div.extendify .sm\:w-72{width:18rem!important}div.extendify .sm\:w-auto{width:auto!important}div.extendify .sm\:translate-y-5{--tw-translate-y:1.25rem!important}div.extendify .sm\:space-y-6>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(1.5rem*var(--tw-space-y-reverse))!important;margin-top:calc(1.5rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .sm\:p-0{padding:0!important}div.extendify .sm\:py-0{padding-bottom:0!important;padding-top:0!important}div.extendify .sm\:pt-0{padding-top:0!important}div.extendify .sm\:pt-5{padding-top:1.25rem!important}}@media (min-width:782px){div.extendify .md\:m-0{margin:0!important}div.extendify .md\:-ml-8{margin-left:-2rem!important}div.extendify .md\:block{display:block!important}div.extendify .md\:flex{display:flex!important}div.extendify .md\:hidden{display:none!important}div.extendify .md\:h-screen{height:100vh!important}div.extendify .md\:min-h-48{min-height:12rem!important}div.extendify .md\:w-40vw{width:40vw!important}div.extendify .md\:max-w-sm{max-width:24rem!important}div.extendify .md\:max-w-md{max-width:28rem!important}div.extendify .md\:max-w-2xl{max-width:42rem!important}div.extendify .md\:flex-row{flex-direction:row!important}div.extendify .md\:gap-8{gap:2rem!important}div.extendify .md\:space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0!important;margin-bottom:calc(2rem*var(--tw-space-y-reverse))!important;margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))!important}div.extendify .md\:overflow-hidden{overflow:hidden!important}div.extendify .md\:overflow-y-scroll{overflow-y:scroll!important}div.extendify .md\:p-8{padding:2rem!important}div.extendify .md\:px-8{padding-right:2rem!important}div.extendify .md\:pl-8,div.extendify .md\:px-8{padding-left:2rem!important}}@media (min-width:1080px){div.extendify .lg\:absolute{position:absolute!important}div.extendify .lg\:-mr-1{margin-right:-.25rem!important}div.extendify .lg\:block{display:block!important}div.extendify .lg\:flex{display:flex!important}div.extendify .lg\:grid{display:grid!important}div.extendify .lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}div.extendify .lg\:space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0!important;margin-left:calc(2rem*(1 - var(--tw-space-x-reverse)))!important;margin-right:calc(2rem*var(--tw-space-x-reverse))!important}div.extendify .lg\:overflow-hidden{overflow:hidden!important}div.extendify .lg\:p-16{padding:4rem!important}div.extendify .lg\:px-12{padding-left:3rem!important;padding-right:3rem!important}div.extendify .lg\:pr-52{padding-right:13rem!important}}
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: extendify, richtabor, kbat82, clubkert, arturgrabo
|
|
3 |
Tags: templates, patterns, layouts, blocks, gutenberg
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0
|
6 |
-
Stable tag: 0.9.
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
@@ -124,6 +124,9 @@ Nope! Extendify imports lightweight block-based content that is served directly
|
|
124 |
|
125 |
== Changelog ==
|
126 |
|
|
|
|
|
|
|
127 |
= 0.9.1 - 2022-07-19 =
|
128 |
- Fix bug where library data isn't loading
|
129 |
|
3 |
Tags: templates, patterns, layouts, blocks, gutenberg
|
4 |
Requires at least: 5.4
|
5 |
Tested up to: 6.0
|
6 |
+
Stable tag: 0.9.2
|
7 |
Requires PHP: 5.6
|
8 |
License: GPLv2
|
9 |
License URI: https://www.gnu.org/licenses/gpl-2.0.html
|
124 |
|
125 |
== Changelog ==
|
126 |
|
127 |
+
= 0.9.2 - 2022-07-29 =
|
128 |
+
- Various bug fixes and performance improvements
|
129 |
+
|
130 |
= 0.9.1 - 2022-07-19 =
|
131 |
- Fix bug where library data isn't loading
|
132 |
|
src/Onboarding/api/WPApi.js
CHANGED
@@ -29,6 +29,32 @@ export const createPage = async (pageData) => {
|
|
29 |
return data
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
export const installPlugin = async (plugin) => {
|
33 |
// Fail silently if no slug is provided
|
34 |
if (!plugin?.wordpressSlug) return
|
29 |
return data
|
30 |
}
|
31 |
|
32 |
+
export const trashPost = async (postId, postType) => {
|
33 |
+
const options = {
|
34 |
+
method: 'DELETE',
|
35 |
+
headers: {
|
36 |
+
'Content-type': 'application/json',
|
37 |
+
'X-WP-Nonce': window.extOnbData.nonce,
|
38 |
+
},
|
39 |
+
}
|
40 |
+
const url = `${window.extOnbData.wpRoot}wp/v2/${postType}s/${postId}`
|
41 |
+
const response = await fetch(url, options)
|
42 |
+
return await response.json()
|
43 |
+
}
|
44 |
+
|
45 |
+
export const getPost = async (postSlug, type = 'post') => {
|
46 |
+
const options = {
|
47 |
+
method: 'GET',
|
48 |
+
headers: {
|
49 |
+
'Content-type': 'application/json',
|
50 |
+
'X-WP-Nonce': window.extOnbData.nonce,
|
51 |
+
},
|
52 |
+
}
|
53 |
+
const url = `${window.extOnbData.wpRoot}wp/v2/${type}s?slug=${postSlug}`
|
54 |
+
const response = await fetch(url, options)
|
55 |
+
return await response.json()
|
56 |
+
}
|
57 |
+
|
58 |
export const installPlugin = async (plugin) => {
|
59 |
// Fail silently if no slug is provided
|
60 |
if (!plugin?.wordpressSlug) return
|
src/Onboarding/api/axios.js
CHANGED
@@ -10,13 +10,22 @@ const Axios = axios.create({
|
|
10 |
},
|
11 |
})
|
12 |
|
13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
14 |
return Object.prototype.hasOwnProperty.call(response, 'data')
|
15 |
? response.data
|
16 |
: response
|
17 |
}
|
18 |
|
19 |
-
|
20 |
if (!error.response) {
|
21 |
return
|
22 |
}
|
@@ -24,7 +33,7 @@ function handleErrors(error) {
|
|
24 |
return Promise.reject(findResponse(error.response))
|
25 |
}
|
26 |
|
27 |
-
|
28 |
request.headers['X-Extendify-Onboarding-Dev-Mode'] =
|
29 |
window.location.search.indexOf('DEVMODE') > -1
|
30 |
request.headers['X-Extendify-Onboarding-Local-Mode'] =
|
@@ -32,13 +41,43 @@ function checkDevMode(request) {
|
|
32 |
return request
|
33 |
}
|
34 |
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
)
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
43 |
|
44 |
export { Axios }
|
10 |
},
|
11 |
})
|
12 |
|
13 |
+
Axios.interceptors.request.use(
|
14 |
+
(request) => checkDevMode(startPerformance(request)),
|
15 |
+
(error) => error,
|
16 |
+
)
|
17 |
+
Axios.interceptors.response.use(
|
18 |
+
(response) => findResponse(measurePerformance(response)),
|
19 |
+
(error) => handleErrors(error),
|
20 |
+
)
|
21 |
+
|
22 |
+
const findResponse = (response) => {
|
23 |
return Object.prototype.hasOwnProperty.call(response, 'data')
|
24 |
? response.data
|
25 |
: response
|
26 |
}
|
27 |
|
28 |
+
const handleErrors = (error) => {
|
29 |
if (!error.response) {
|
30 |
return
|
31 |
}
|
33 |
return Promise.reject(findResponse(error.response))
|
34 |
}
|
35 |
|
36 |
+
const checkDevMode = (request) => {
|
37 |
request.headers['X-Extendify-Onboarding-Dev-Mode'] =
|
38 |
window.location.search.indexOf('DEVMODE') > -1
|
39 |
request.headers['X-Extendify-Onboarding-Local-Mode'] =
|
41 |
return request
|
42 |
}
|
43 |
|
44 |
+
const startPerformance = (request) => {
|
45 |
+
try {
|
46 |
+
const endpoint = request?.url?.split('/')?.pop()
|
47 |
+
if (!endpoint) return request
|
48 |
+
performance.mark(`${endpoint}-extendify`)
|
49 |
+
} catch (e) {
|
50 |
+
// do nothing
|
51 |
+
}
|
52 |
+
return request
|
53 |
+
}
|
54 |
+
const measurePerformance = (response) => {
|
55 |
+
try {
|
56 |
+
const url = new URL(response?.request?.responseURL)
|
57 |
+
const endpoint = url.pathname?.split('/')?.pop()
|
58 |
+
if (!endpoint) return response
|
59 |
+
const time = performance.measure(`${endpoint}-extendify`, {
|
60 |
+
start: `${endpoint}-extendify`,
|
61 |
+
detail: {
|
62 |
+
context: { type: 'request' },
|
63 |
+
extendify: true,
|
64 |
+
},
|
65 |
+
})
|
66 |
+
const q = new URLSearchParams(window.location.search)
|
67 |
+
if (q?.has('performance')) {
|
68 |
+
console.info(
|
69 |
+
`~> Endpoint /${endpoint} ${
|
70 |
+
// special case to show the site type being queried
|
71 |
+
endpoint === 'styles'
|
72 |
+
? `(${url.searchParams.get('siteType')}) `
|
73 |
+
: ''
|
74 |
+
}in ${time.duration.toFixed()}ms`,
|
75 |
+
)
|
76 |
+
}
|
77 |
+
} catch (e) {
|
78 |
+
// do nothing
|
79 |
+
}
|
80 |
+
return response
|
81 |
+
}
|
82 |
|
83 |
export { Axios }
|
src/Onboarding/app.css
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
|
8 |
--tw-ring-offset-width: 0px;
|
9 |
--tw-ring-offset-color: transparent;
|
10 |
-
--tw-ring-color: var(--ext-partner-theme-primary-bg, #
|
11 |
}
|
12 |
|
13 |
.extendify-onboarding *,
|
7 |
--tw-ring-inset: var(--tw-empty, /*!*/ /*!*/);
|
8 |
--tw-ring-offset-width: 0px;
|
9 |
--tw-ring-offset-color: transparent;
|
10 |
+
--tw-ring-color: var(--ext-partner-theme-primary-bg, #2c39bd);
|
11 |
}
|
12 |
|
13 |
.extendify-onboarding *,
|
src/Onboarding/components/CompletedTasks.js
CHANGED
@@ -25,7 +25,7 @@ export const CompletedTasks = ({ disabled = false }) => {
|
|
25 |
}
|
26 |
|
27 |
return (
|
28 |
-
<div className="mt-20">
|
29 |
<h3 className="text-sm text-partner-primary-text uppercase">
|
30 |
{__('Steps', 'extendify')}
|
31 |
</h3>
|
25 |
}
|
26 |
|
27 |
return (
|
28 |
+
<div className="hidden md:block mt-20">
|
29 |
<h3 className="text-sm text-partner-primary-text uppercase">
|
30 |
{__('Steps', 'extendify')}
|
31 |
</h3>
|
src/Onboarding/components/PagePreview.js
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import { __, sprintf } from '@wordpress/i18n'
|
2 |
import classNames from 'classnames'
|
3 |
import { getTemplate } from '@onboarding/api/DataApi'
|
@@ -13,6 +14,7 @@ export const PagePreview = ({
|
|
13 |
blockHeight,
|
14 |
required = false,
|
15 |
displayOnly = false,
|
|
|
16 |
}) => {
|
17 |
const { siteType, style, toggle, has } = useUserSelectionStore()
|
18 |
const isHome = page?.slug === 'home'
|
@@ -27,13 +29,17 @@ export const PagePreview = ({
|
|
27 |
)
|
28 |
if (displayOnly) {
|
29 |
return (
|
30 |
-
<div
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
36 |
key={style?.recordId}
|
|
|
|
|
|
|
37 |
style={{
|
38 |
...style,
|
39 |
code: findTheCode({ template: pageData }),
|
@@ -44,61 +50,56 @@ export const PagePreview = ({
|
|
44 |
}
|
45 |
|
46 |
return (
|
47 |
-
<div
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
title
|
56 |
-
required
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
}
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
<
|
71 |
-
|
72 |
-
|
73 |
-
})}>
|
74 |
-
<span>{page.title}</span>
|
75 |
-
{required && (
|
76 |
-
<span className="w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"></span>
|
77 |
-
)}
|
78 |
-
</div>
|
79 |
-
{has('pages', page) ? (
|
80 |
-
<div
|
81 |
-
className={classNames('w-5 h-5 rounded-sm', {
|
82 |
-
'bg-gray-700': required,
|
83 |
-
'bg-partner-primary-bg': !required,
|
84 |
-
})}>
|
85 |
-
<Checkmark className="text-white w-5" />
|
86 |
-
</div>
|
87 |
-
) : (
|
88 |
-
<div
|
89 |
-
className={classNames(
|
90 |
-
'border w-5 h-5 rounded-sm',
|
91 |
-
{
|
92 |
-
'border-gray-700': required,
|
93 |
-
'border-partner-primary-bg': !required,
|
94 |
-
},
|
95 |
-
)}></div>
|
96 |
)}
|
97 |
</div>
|
98 |
-
|
99 |
-
|
100 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
101 |
key={style?.recordId}
|
|
|
|
|
102 |
style={{
|
103 |
...style,
|
104 |
code: findTheCode({ template: pageData }),
|
@@ -108,3 +109,26 @@ export const PagePreview = ({
|
|
108 |
</div>
|
109 |
)
|
110 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import { useMemo } from '@wordpress/element'
|
2 |
import { __, sprintf } from '@wordpress/i18n'
|
3 |
import classNames from 'classnames'
|
4 |
import { getTemplate } from '@onboarding/api/DataApi'
|
14 |
blockHeight,
|
15 |
required = false,
|
16 |
displayOnly = false,
|
17 |
+
title = '',
|
18 |
}) => {
|
19 |
const { siteType, style, toggle, has } = useUserSelectionStore()
|
20 |
const isHome = page?.slug === 'home'
|
29 |
)
|
30 |
if (displayOnly) {
|
31 |
return (
|
32 |
+
<div
|
33 |
+
className="text-base p-2 bg-transparent overflow-hidden rounded-lg border border-gray-100"
|
34 |
+
style={{ height: blockHeight }}>
|
35 |
+
{title && (
|
36 |
+
<div className="p-3 pb-0 bg-white text-left">{title}</div>
|
37 |
+
)}
|
38 |
+
<StylePreviewWrapper
|
39 |
key={style?.recordId}
|
40 |
+
page={page}
|
41 |
+
measure={false}
|
42 |
+
blockHeight={blockHeight}
|
43 |
style={{
|
44 |
...style,
|
45 |
code: findTheCode({ template: pageData }),
|
50 |
}
|
51 |
|
52 |
return (
|
53 |
+
<div
|
54 |
+
role="button"
|
55 |
+
tabIndex={0}
|
56 |
+
aria-label={__('Press to select', 'extendify')}
|
57 |
+
disabled={required}
|
58 |
+
className="text-base p-0 bg-transparent overflow-hidden rounded-lg border border-gray-100 button-focus"
|
59 |
+
onClick={() => required || toggle('pages', page)}
|
60 |
+
title={
|
61 |
+
required && title
|
62 |
+
? sprintf(__('%s page is required', 'extendify'), title)
|
63 |
+
: sprintf(__('Toggle %s page', 'extendify'), title)
|
64 |
+
}
|
65 |
+
onKeyDown={(e) => {
|
66 |
+
if (['Enter', 'Space', ' '].includes(e.key)) {
|
67 |
+
if (!required) toggle('pages', page)
|
68 |
}
|
69 |
+
}}>
|
70 |
+
<div className="border-gray-100 border-b-0 min-w-sm z-30 relative bg-white pt-3 px-3 pb-1.5 flex justify-between items-center">
|
71 |
+
{title && (
|
72 |
+
<div
|
73 |
+
className={classNames('flex items-center', {
|
74 |
+
'text-gray-700': !has('pages', page),
|
75 |
+
})}>
|
76 |
+
<span className="text-left">{title}</span>
|
77 |
+
{required && (
|
78 |
+
<span className="w-4 h-4 text-base leading-none pl-2 mr-6 dashicons dashicons-lock"></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
79 |
)}
|
80 |
</div>
|
81 |
+
)}
|
82 |
+
{has('pages', page) ? (
|
83 |
+
<div
|
84 |
+
className={classNames('w-5 h-5 rounded-sm', {
|
85 |
+
'bg-gray-700': required,
|
86 |
+
'bg-partner-primary-bg': !required,
|
87 |
+
})}>
|
88 |
+
<Checkmark className="text-white w-5" />
|
89 |
+
</div>
|
90 |
+
) : (
|
91 |
+
<div
|
92 |
+
className={classNames('border w-5 h-5 rounded-sm', {
|
93 |
+
'border-gray-700': required,
|
94 |
+
'border-partner-primary-bg': !required,
|
95 |
+
})}></div>
|
96 |
+
)}
|
97 |
+
</div>
|
98 |
+
<div className="p-2 relative" style={{ height: blockHeight - 44 }}>
|
99 |
+
<StylePreviewWrapper
|
100 |
key={style?.recordId}
|
101 |
+
page={page}
|
102 |
+
blockHeight={blockHeight}
|
103 |
style={{
|
104 |
...style,
|
105 |
code: findTheCode({ template: pageData }),
|
109 |
</div>
|
110 |
)
|
111 |
}
|
112 |
+
|
113 |
+
const StylePreviewWrapper = ({
|
114 |
+
page,
|
115 |
+
style,
|
116 |
+
measure = true,
|
117 |
+
blockHeight = false,
|
118 |
+
}) => {
|
119 |
+
const context = useMemo(
|
120 |
+
() => ({
|
121 |
+
type: 'page',
|
122 |
+
detail: page.slug,
|
123 |
+
measure,
|
124 |
+
}),
|
125 |
+
[page, measure],
|
126 |
+
)
|
127 |
+
return (
|
128 |
+
<StylePreview
|
129 |
+
style={style}
|
130 |
+
context={context}
|
131 |
+
blockHeight={blockHeight}
|
132 |
+
/>
|
133 |
+
)
|
134 |
+
}
|
src/Onboarding/components/StyledPreview.js
CHANGED
@@ -1,12 +1,18 @@
|
|
1 |
import { BlockPreview, transformStyles } from '@wordpress/block-editor'
|
2 |
import { rawHandler } from '@wordpress/blocks'
|
3 |
-
import {
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
import { __ } from '@wordpress/i18n'
|
5 |
import classNames from 'classnames'
|
6 |
import { getThemeVariations, parseThemeJson } from '@onboarding/api/WPApi'
|
7 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
8 |
import { useIsMounted } from '@onboarding/hooks/useIsMounted'
|
9 |
-
import { lowerImageQuality } from '@onboarding/lib/util'
|
10 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
11 |
import { SpinnerIcon } from '@onboarding/svg'
|
12 |
|
@@ -19,6 +25,7 @@ export const StylePreview = ({
|
|
19 |
style,
|
20 |
selectStyle,
|
21 |
blockHeight,
|
|
|
22 |
onHover = null,
|
23 |
}) => {
|
24 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
@@ -32,6 +39,7 @@ export const StylePreview = ({
|
|
32 |
const content = useRef(null)
|
33 |
const blockRef = useRef(null)
|
34 |
const observer = useRef(null)
|
|
|
35 |
const { data: themeJson } = useFetch(
|
36 |
inView && variation ? variation : null,
|
37 |
fetcher,
|
@@ -53,6 +61,31 @@ export const StylePreview = ({
|
|
53 |
[themeJson],
|
54 |
)
|
55 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
useEffect(() => {
|
57 |
if (!variations?.length) return
|
58 |
|
@@ -145,7 +178,7 @@ export const StylePreview = ({
|
|
145 |
content.current = iframe
|
146 |
setTimeout(() => {
|
147 |
if (isMounted.current) setLoaded(true)
|
148 |
-
},
|
149 |
}
|
150 |
// The callback will attach a load event to the iframe
|
151 |
const observer = new MutationObserver(() => {
|
@@ -187,7 +220,7 @@ export const StylePreview = ({
|
|
187 |
return (
|
188 |
<>
|
189 |
{loaded && code ? null : (
|
190 |
-
<div className="
|
191 |
<SpinnerIcon className="spin w-8" />
|
192 |
</div>
|
193 |
)}
|
@@ -201,9 +234,9 @@ export const StylePreview = ({
|
|
201 |
className={classNames(
|
202 |
'group w-full overflow-hidden bg-transparent z-10',
|
203 |
{
|
204 |
-
relative: loaded,
|
205 |
'absolute opacity-0': !loaded,
|
206 |
-
'button-focus button-card': selectStyle,
|
207 |
},
|
208 |
)}
|
209 |
onKeyDown={(e) => {
|
@@ -228,7 +261,7 @@ export const StylePreview = ({
|
|
228 |
}>
|
229 |
{window?.extOnbData?.devbuild ? (
|
230 |
<div className="-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300">
|
231 |
-
{style?.label}
|
232 |
</div>
|
233 |
) : null}
|
234 |
<div ref={previewContainer} className="relative rounded-lg">
|
1 |
import { BlockPreview, transformStyles } from '@wordpress/block-editor'
|
2 |
import { rawHandler } from '@wordpress/blocks'
|
3 |
+
import {
|
4 |
+
useState,
|
5 |
+
useRef,
|
6 |
+
useEffect,
|
7 |
+
useMemo,
|
8 |
+
useLayoutEffect,
|
9 |
+
} from '@wordpress/element'
|
10 |
import { __ } from '@wordpress/i18n'
|
11 |
import classNames from 'classnames'
|
12 |
import { getThemeVariations, parseThemeJson } from '@onboarding/api/WPApi'
|
13 |
import { useFetch } from '@onboarding/hooks/useFetch'
|
14 |
import { useIsMounted } from '@onboarding/hooks/useIsMounted'
|
15 |
+
import { capitalize, lowerImageQuality } from '@onboarding/lib/util'
|
16 |
import { useUserSelectionStore } from '@onboarding/state/UserSelections'
|
17 |
import { SpinnerIcon } from '@onboarding/svg'
|
18 |
|
25 |
style,
|
26 |
selectStyle,
|
27 |
blockHeight,
|
28 |
+
context,
|
29 |
onHover = null,
|
30 |
}) => {
|
31 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
39 |
const content = useRef(null)
|
40 |
const blockRef = useRef(null)
|
41 |
const observer = useRef(null)
|
42 |
+
const loadTime = useRef(false)
|
43 |
const { data: themeJson } = useFetch(
|
44 |
inView && variation ? variation : null,
|
45 |
fetcher,
|
61 |
[themeJson],
|
62 |
)
|
63 |
|
64 |
+
useLayoutEffect(() => {
|
65 |
+
if (!inView || !context.measure) return
|
66 |
+
const key = `${context.type}-${context.detail}`
|
67 |
+
// If the componeent is in view, start the timer
|
68 |
+
if (!loaded && !loadTime.current) {
|
69 |
+
performance.mark(key)
|
70 |
+
return
|
71 |
+
}
|
72 |
+
const time = performance.measure(key, {
|
73 |
+
start: key,
|
74 |
+
// The extendify key is used to filter only our measurements
|
75 |
+
detail: { context, extendify: true },
|
76 |
+
})
|
77 |
+
|
78 |
+
loadTime.current = time.duration
|
79 |
+
const q = new URLSearchParams(window.location.search)
|
80 |
+
if (q?.has('performance')) {
|
81 |
+
console.info(
|
82 |
+
`🚀 ${capitalize(context.type)} (${
|
83 |
+
context.detail
|
84 |
+
}) in ${time.duration.toFixed()}ms`,
|
85 |
+
)
|
86 |
+
}
|
87 |
+
}, [loaded, context, inView])
|
88 |
+
|
89 |
useEffect(() => {
|
90 |
if (!variations?.length) return
|
91 |
|
178 |
content.current = iframe
|
179 |
setTimeout(() => {
|
180 |
if (isMounted.current) setLoaded(true)
|
181 |
+
}, 100)
|
182 |
}
|
183 |
// The callback will attach a load event to the iframe
|
184 |
const observer = new MutationObserver(() => {
|
220 |
return (
|
221 |
<>
|
222 |
{loaded && code ? null : (
|
223 |
+
<div className="absolute inset-0 z-20 bg-gray-50 flex items-center justify-center">
|
224 |
<SpinnerIcon className="spin w-8" />
|
225 |
</div>
|
226 |
)}
|
234 |
className={classNames(
|
235 |
'group w-full overflow-hidden bg-transparent z-10',
|
236 |
{
|
237 |
+
'relative min-h-full': loaded,
|
238 |
'absolute opacity-0': !loaded,
|
239 |
+
'button-focus button-card p-2': selectStyle,
|
240 |
},
|
241 |
)}
|
242 |
onKeyDown={(e) => {
|
261 |
}>
|
262 |
{window?.extOnbData?.devbuild ? (
|
263 |
<div className="-m-px absolute bg-gray-900 border border-t border-white bottom-0 group-hover:opacity-100 left-0 opacity-0 p-1 px-4 text-left text-sm text-white z-30 transition duration-300">
|
264 |
+
{style?.label} - {Number(loadTime.current).toFixed(2)}ms
|
265 |
</div>
|
266 |
) : null}
|
267 |
<div ref={previewContainer} className="relative rounded-lg">
|
src/Onboarding/components/SuggestedPlugins.js
CHANGED
@@ -47,20 +47,18 @@ export const SuggestedPlugins = () => {
|
|
47 |
}, [suggestedPlugins, add, nothingToRecommend, hasGoal, remove])
|
48 |
|
49 |
return (
|
50 |
-
<div className="
|
51 |
-
|
52 |
-
{
|
53 |
-
<
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
))}
|
63 |
-
</div>
|
64 |
</div>
|
65 |
)
|
66 |
}
|
47 |
}, [suggestedPlugins, add, nothingToRecommend, hasGoal, remove])
|
48 |
|
49 |
return (
|
50 |
+
<div className="lg:grid grid-cols-2 gap-x-4 gap-y-1">
|
51 |
+
{suggestedPlugins?.filter(hasGoal)?.map((plugin) => (
|
52 |
+
<div className="pb-3" key={plugin.id}>
|
53 |
+
<CheckboxInput
|
54 |
+
label={plugin.name}
|
55 |
+
slug={plugin.wordpressSlug}
|
56 |
+
description={plugin.description}
|
57 |
+
checked={!nothingToRecommend}
|
58 |
+
onClick={() => toggle('plugins', plugin)}
|
59 |
+
/>
|
60 |
+
</div>
|
61 |
+
))}
|
|
|
|
|
62 |
</div>
|
63 |
)
|
64 |
}
|
src/Onboarding/hooks/useTelemetry.js
CHANGED
@@ -11,6 +11,8 @@ export const useTelemetry = () => {
|
|
11 |
plugins: selectedPlugins,
|
12 |
siteType: selectedSiteType,
|
13 |
style: selectedStyle,
|
|
|
|
|
14 |
} = useUserSelectionStore()
|
15 |
const { orderId, setOrderId, generating } = useGlobalStore()
|
16 |
const { pages, currentPageIndex } = usePagesStore()
|
@@ -81,6 +83,10 @@ export const useTelemetry = () => {
|
|
81 |
stepProgress,
|
82 |
pages,
|
83 |
viewedStyles: [...viewedStyles].slice(1),
|
|
|
|
|
|
|
|
|
84 |
}),
|
85 |
})
|
86 |
}, 1000)
|
@@ -96,5 +102,14 @@ export const useTelemetry = () => {
|
|
96 |
orderId,
|
97 |
stepProgress,
|
98 |
viewedStyles,
|
|
|
|
|
99 |
])
|
100 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
11 |
plugins: selectedPlugins,
|
12 |
siteType: selectedSiteType,
|
13 |
style: selectedStyle,
|
14 |
+
feedbackMissingSiteType,
|
15 |
+
feedbackMissingGoal,
|
16 |
} = useUserSelectionStore()
|
17 |
const { orderId, setOrderId, generating } = useGlobalStore()
|
18 |
const { pages, currentPageIndex } = usePagesStore()
|
83 |
stepProgress,
|
84 |
pages,
|
85 |
viewedStyles: [...viewedStyles].slice(1),
|
86 |
+
feedbackMissingSiteType,
|
87 |
+
feedbackMissingGoal,
|
88 |
+
perfStyles: getPerformance('style'),
|
89 |
+
perfPages: getPerformance('page'),
|
90 |
}),
|
91 |
})
|
92 |
}, 1000)
|
102 |
orderId,
|
103 |
stepProgress,
|
104 |
viewedStyles,
|
105 |
+
feedbackMissingSiteType,
|
106 |
+
feedbackMissingGoal,
|
107 |
])
|
108 |
}
|
109 |
+
|
110 |
+
const getPerformance = (type) => {
|
111 |
+
return performance
|
112 |
+
.getEntriesByType('measure')
|
113 |
+
.filter((m) => m.detail.extendify && m.detail.context.type === type)
|
114 |
+
.map((m) => ({ [m.name]: m.duration }))
|
115 |
+
}
|
src/Onboarding/layouts/PageLayout.js
CHANGED
@@ -7,8 +7,8 @@ export const PageLayout = ({ children, includeNav = true }) => {
|
|
7 |
return (
|
8 |
<div className="flex flex-col md:flex-row">
|
9 |
<div className="bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0">
|
10 |
-
<div className="max-w-sm pr-8">
|
11 |
-
<div className="min-h-48">
|
12 |
{window.extOnbData?.partnerLogo && (
|
13 |
<div className="pb-8">
|
14 |
<img
|
@@ -23,7 +23,7 @@ export const PageLayout = ({ children, includeNav = true }) => {
|
|
23 |
<CompletedTasks disabled={!includeNav} />
|
24 |
</div>
|
25 |
|
26 |
-
<div className="flex items-center space-x-3">
|
27 |
<span className="opacity-70 text-xs">
|
28 |
{__('Powered by', 'extendify')}
|
29 |
</span>
|
7 |
return (
|
8 |
<div className="flex flex-col md:flex-row">
|
9 |
<div className="bg-partner-primary-bg text-partner-primary-text py-12 px-10 md:h-screen flex flex-col justify-between md:w-40vw md:max-w-md flex-shrink-0">
|
10 |
+
<div className="max-w-prose md:max-w-sm pr-8">
|
11 |
+
<div className="md:min-h-48">
|
12 |
{window.extOnbData?.partnerLogo && (
|
13 |
<div className="pb-8">
|
14 |
<img
|
23 |
<CompletedTasks disabled={!includeNav} />
|
24 |
</div>
|
25 |
|
26 |
+
<div className="hidden md:flex items-center space-x-3">
|
27 |
<span className="opacity-70 text-xs">
|
28 |
{__('Powered by', 'extendify')}
|
29 |
</span>
|
src/Onboarding/lib/util.js
CHANGED
@@ -12,3 +12,7 @@ export const lowerImageQuality = (html) => {
|
|
12 |
url.replace(w, 'w=' + Math.floor(Number(width)) + '&q=10'),
|
13 |
)
|
14 |
}
|
|
|
|
|
|
|
|
12 |
url.replace(w, 'w=' + Math.floor(Number(width)) + '&q=10'),
|
13 |
)
|
14 |
}
|
15 |
+
|
16 |
+
/** Capitalize first letter of a string */
|
17 |
+
export const capitalize = (str) =>
|
18 |
+
str.charAt(0).toUpperCase() + str.slice(1).toLowerCase()
|
src/Onboarding/lib/wp.js
CHANGED
@@ -2,6 +2,8 @@ import { getTemplate } from '@onboarding/api/DataApi'
|
|
2 |
import {
|
3 |
updateOption,
|
4 |
createPage,
|
|
|
|
|
5 |
updateThemeVariation,
|
6 |
} from '@onboarding/api/WPApi'
|
7 |
|
@@ -48,5 +50,17 @@ export const createWordpressPages = async (pages, siteType, style) => {
|
|
48 |
return pageIds
|
49 |
}
|
50 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
51 |
export const updateGlobalStyleVariant = (variation) =>
|
52 |
updateThemeVariation(window.extOnbData.globalStylesPostID, variation)
|
2 |
import {
|
3 |
updateOption,
|
4 |
createPage,
|
5 |
+
trashPost,
|
6 |
+
getPost,
|
7 |
updateThemeVariation,
|
8 |
} from '@onboarding/api/WPApi'
|
9 |
|
50 |
return pageIds
|
51 |
}
|
52 |
|
53 |
+
export const trashWordpressPages = (posts) => {
|
54 |
+
posts.forEach(async (el) => {
|
55 |
+
// Try and retrieve posts via slug.
|
56 |
+
const post = await getPost(el.slug, el.type)
|
57 |
+
|
58 |
+
// If post exists (but not trashed) then send it to trash.
|
59 |
+
if (post?.length && post[0].status !== 'trash') {
|
60 |
+
await trashPost(post[0].id, el.type)
|
61 |
+
}
|
62 |
+
})
|
63 |
+
}
|
64 |
+
|
65 |
export const updateGlobalStyleVariant = (variation) =>
|
66 |
updateThemeVariation(window.extOnbData.globalStylesPostID, variation)
|
src/Onboarding/pages/CreatingSite.js
CHANGED
@@ -6,6 +6,7 @@ import { useWarnOnLeave } from '@onboarding/hooks/useWarnOnLeave'
|
|
6 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
7 |
import {
|
8 |
createWordpressPages,
|
|
|
9 |
updateGlobalStyleVariant,
|
10 |
} from '@onboarding/lib/wp'
|
11 |
import { useGlobalStore } from '@onboarding/state/Global'
|
@@ -64,6 +65,11 @@ export const CreatingSite = () => {
|
|
64 |
await updateTemplatePart('extendable//footer', style?.footerCode)
|
65 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
66 |
inform(__('Finalizing your site', 'extendify'))
|
|
|
|
|
|
|
|
|
|
|
67 |
return pageIds
|
68 |
}, [pages, plugins, siteType, style, canLaunch, siteInformation.title])
|
69 |
|
@@ -80,7 +86,7 @@ export const CreatingSite = () => {
|
|
80 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
81 |
{__('Building your site now!', 'extendify')}
|
82 |
</h1>
|
83 |
-
<p className="text-base">
|
84 |
{__("Please don't close the window.", 'extendify')}
|
85 |
</p>
|
86 |
</div>
|
6 |
import { PageLayout } from '@onboarding/layouts/PageLayout'
|
7 |
import {
|
8 |
createWordpressPages,
|
9 |
+
trashWordpressPages,
|
10 |
updateGlobalStyleVariant,
|
11 |
} from '@onboarding/lib/wp'
|
12 |
import { useGlobalStore } from '@onboarding/state/Global'
|
65 |
await updateTemplatePart('extendable//footer', style?.footerCode)
|
66 |
await new Promise((resolve) => setTimeout(resolve, 2000))
|
67 |
inform(__('Finalizing your site', 'extendify'))
|
68 |
+
await trashWordpressPages([
|
69 |
+
{ slug: 'hello-world', type: 'post' },
|
70 |
+
{ slug: 'sample-page', type: 'page' },
|
71 |
+
])
|
72 |
+
|
73 |
return pageIds
|
74 |
}, [pages, plugins, siteType, style, canLaunch, siteInformation.title])
|
75 |
|
86 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
87 |
{__('Building your site now!', 'extendify')}
|
88 |
</h1>
|
89 |
+
<p className="text-base mb-0">
|
90 |
{__("Please don't close the window.", 'extendify')}
|
91 |
</p>
|
92 |
</div>
|
src/Onboarding/pages/Goals.js
CHANGED
@@ -18,6 +18,8 @@ export const metadata = {
|
|
18 |
export const Goals = () => {
|
19 |
const { data: goals, loading } = useFetch(fetchData, fetcher)
|
20 |
const { toggle, has } = useUserSelectionStore()
|
|
|
|
|
21 |
const nextPage = usePagesStore((state) => state.nextPage)
|
22 |
const initialFocus = useRef()
|
23 |
const touch = useProgressStore((state) => state.touch)
|
@@ -39,7 +41,7 @@ export const Goals = () => {
|
|
39 |
'extendify',
|
40 |
)}
|
41 |
</h1>
|
42 |
-
<p className="text-base opacity-70">
|
43 |
{__('You can change these later.', 'extendify')}
|
44 |
</p>
|
45 |
</div>
|
@@ -80,6 +82,30 @@ export const Goals = () => {
|
|
80 |
: null}
|
81 |
</form>
|
82 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
</div>
|
84 |
</PageLayout>
|
85 |
)
|
18 |
export const Goals = () => {
|
19 |
const { data: goals, loading } = useFetch(fetchData, fetcher)
|
20 |
const { toggle, has } = useUserSelectionStore()
|
21 |
+
const { feedbackMissingGoal: feedback, setFeedbackMissingGoal } =
|
22 |
+
useUserSelectionStore()
|
23 |
const nextPage = usePagesStore((state) => state.nextPage)
|
24 |
const initialFocus = useRef()
|
25 |
const touch = useProgressStore((state) => state.touch)
|
41 |
'extendify',
|
42 |
)}
|
43 |
</h1>
|
44 |
+
<p className="text-base opacity-70 mb-0">
|
45 |
{__('You can change these later.', 'extendify')}
|
46 |
</p>
|
47 |
</div>
|
82 |
: null}
|
83 |
</form>
|
84 |
)}
|
85 |
+
{!loading && (
|
86 |
+
<div className="w-80">
|
87 |
+
<h2 className="text-lg mt-12 mb-4 text-gray-900">
|
88 |
+
{__(
|
89 |
+
"Don't see what you're looking for?",
|
90 |
+
'extendify',
|
91 |
+
)}
|
92 |
+
</h2>
|
93 |
+
<div className="search-panel flex items-center justify-center relative mb-8">
|
94 |
+
<input
|
95 |
+
type="text"
|
96 |
+
className="w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white"
|
97 |
+
value={feedback}
|
98 |
+
onChange={(e) =>
|
99 |
+
setFeedbackMissingGoal(e.target.value)
|
100 |
+
}
|
101 |
+
placeholder={__(
|
102 |
+
'Add your goals...',
|
103 |
+
'extendify',
|
104 |
+
)}
|
105 |
+
/>
|
106 |
+
</div>
|
107 |
+
</div>
|
108 |
+
)}
|
109 |
</div>
|
110 |
</PageLayout>
|
111 |
)
|
src/Onboarding/pages/Landing.js
CHANGED
@@ -35,7 +35,7 @@ export const Landing = () => {
|
|
35 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
36 |
{__('Welcome to Your WordPress Site', 'extendify')}
|
37 |
</h1>
|
38 |
-
<p className="text-base opacity-70">
|
39 |
{__(
|
40 |
'Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.',
|
41 |
'extendify',
|
35 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
36 |
{__('Welcome to Your WordPress Site', 'extendify')}
|
37 |
</h1>
|
38 |
+
<p className="text-base opacity-70 mb-0">
|
39 |
{__(
|
40 |
'Design and launch your site with this guided experience, or head right into the WordPress dashboard if you know your way around.',
|
41 |
'extendify',
|
src/Onboarding/pages/SiteInformation.js
CHANGED
@@ -41,7 +41,7 @@ export const SiteInformation = () => {
|
|
41 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
42 |
{__("What's the name of your new site?", 'extendify')}
|
43 |
</h1>
|
44 |
-
<p className="text-base opacity-70">
|
45 |
{__('You can change this later.', 'extendify')}
|
46 |
</p>
|
47 |
</div>
|
41 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
42 |
{__("What's the name of your new site?", 'extendify')}
|
43 |
</h1>
|
44 |
+
<p className="text-base opacity-70 mb-0">
|
45 |
{__('You can change this later.', 'extendify')}
|
46 |
</p>
|
47 |
</div>
|
src/Onboarding/pages/SitePages.js
CHANGED
@@ -70,7 +70,7 @@ export const SitePages = () => {
|
|
70 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
71 |
{__('What pages do you want on this site?', 'extendify')}
|
72 |
</h1>
|
73 |
-
<p className="text-base opacity-70">
|
74 |
{__('You may add more later', 'extendify')}
|
75 |
</p>
|
76 |
</div>
|
@@ -81,21 +81,23 @@ export const SitePages = () => {
|
|
81 |
'extendify',
|
82 |
)}
|
83 |
</h2>
|
84 |
-
<div className="lg:flex
|
85 |
{pagesToShow?.map((page) => {
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
|
|
|
|
99 |
})}
|
100 |
</div>
|
101 |
</div>
|
70 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
71 |
{__('What pages do you want on this site?', 'extendify')}
|
72 |
</h1>
|
73 |
+
<p className="text-base opacity-70 mb-0">
|
74 |
{__('You may add more later', 'extendify')}
|
75 |
</p>
|
76 |
</div>
|
81 |
'extendify',
|
82 |
)}
|
83 |
</h2>
|
84 |
+
<div className="lg:flex flex-wrap gap-4">
|
85 |
{pagesToShow?.map((page) => {
|
86 |
+
if (page.slug !== 'home')
|
87 |
+
return (
|
88 |
+
<div
|
89 |
+
onClick={() => touch(metadata.key)}
|
90 |
+
className="relative"
|
91 |
+
style={{ height: 490, width: 318.75 }}
|
92 |
+
key={page.id}>
|
93 |
+
<PagePreview
|
94 |
+
required={page?.slug === 'home'}
|
95 |
+
page={page}
|
96 |
+
title={page?.title}
|
97 |
+
blockHeight={490}
|
98 |
+
/>
|
99 |
+
</div>
|
100 |
+
)
|
101 |
})}
|
102 |
</div>
|
103 |
</div>
|
src/Onboarding/pages/SiteStyle.js
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
-
import {
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
import { __, sprintf } from '@wordpress/i18n'
|
3 |
import { getStyles } from '@onboarding/api/DataApi'
|
4 |
import { StylePreview } from '@onboarding/components/StyledPreview'
|
@@ -26,21 +32,11 @@ export const metadata = {
|
|
26 |
}
|
27 |
export const SiteStyle = () => {
|
28 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
29 |
-
const nextPage = usePagesStore((state) => state.nextPage)
|
30 |
const { data: styleData, loading } = useFetch(fetchData, fetcher)
|
31 |
const once = useRef(false)
|
32 |
const stylesRef = useRef()
|
33 |
const isMounted = useIsMountedLayout()
|
34 |
-
const selectStyle = useCallback(
|
35 |
-
(style) => {
|
36 |
-
useUserSelectionStore.getState().setStyle(style)
|
37 |
-
touch(metadata.key)
|
38 |
-
nextPage()
|
39 |
-
},
|
40 |
-
[nextPage, touch],
|
41 |
-
)
|
42 |
const [styles, setStyles] = useState([])
|
43 |
-
const touch = useProgressStore((state) => state.touch)
|
44 |
|
45 |
useEffect(() => {
|
46 |
if (!styleData?.length) return
|
@@ -78,7 +74,7 @@ export const SiteStyle = () => {
|
|
78 |
siteType?.label?.toLowerCase(),
|
79 |
)}
|
80 |
</h1>
|
81 |
-
<p className="text-base opacity-70">
|
82 |
{__('You can personalize this later.', 'extendify')}
|
83 |
</p>
|
84 |
</div>
|
@@ -91,27 +87,19 @@ export const SiteStyle = () => {
|
|
91 |
)
|
92 |
: __('Pick your style', 'extendify')}
|
93 |
</h2>
|
94 |
-
<div
|
95 |
-
ref={stylesRef}
|
96 |
-
className="lg:flex space-y-6 lg:space-y-0 flex-wrap">
|
97 |
{styles?.map((style) => (
|
98 |
-
<
|
99 |
-
|
100 |
-
style={
|
101 |
-
|
102 |
-
<StylePreview
|
103 |
-
style={style}
|
104 |
-
selectStyle={selectStyle}
|
105 |
-
blockHeight={590}
|
106 |
-
/>
|
107 |
-
</div>
|
108 |
))}
|
109 |
{/* Budget skeleton loaders */}
|
110 |
{styleData?.slice(styles?.length).map((data) => (
|
111 |
<div
|
112 |
key={data.slug}
|
113 |
-
style={{ height:
|
114 |
-
className="
|
115 |
<div className="bg-gray-50 h-full w-full flex items-center justify-center">
|
116 |
<SpinnerIcon className="spin w-8" />
|
117 |
</div>
|
@@ -122,3 +110,34 @@ export const SiteStyle = () => {
|
|
122 |
</PageLayout>
|
123 |
)
|
124 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
import {
|
2 |
+
useCallback,
|
3 |
+
useEffect,
|
4 |
+
useState,
|
5 |
+
useRef,
|
6 |
+
useMemo,
|
7 |
+
} from '@wordpress/element'
|
8 |
import { __, sprintf } from '@wordpress/i18n'
|
9 |
import { getStyles } from '@onboarding/api/DataApi'
|
10 |
import { StylePreview } from '@onboarding/components/StyledPreview'
|
32 |
}
|
33 |
export const SiteStyle = () => {
|
34 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
|
|
35 |
const { data: styleData, loading } = useFetch(fetchData, fetcher)
|
36 |
const once = useRef(false)
|
37 |
const stylesRef = useRef()
|
38 |
const isMounted = useIsMountedLayout()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
const [styles, setStyles] = useState([])
|
|
|
40 |
|
41 |
useEffect(() => {
|
42 |
if (!styleData?.length) return
|
74 |
siteType?.label?.toLowerCase(),
|
75 |
)}
|
76 |
</h1>
|
77 |
+
<p className="text-base opacity-70 mb-0">
|
78 |
{__('You can personalize this later.', 'extendify')}
|
79 |
</p>
|
80 |
</div>
|
87 |
)
|
88 |
: __('Pick your style', 'extendify')}
|
89 |
</h2>
|
90 |
+
<div ref={stylesRef} className="lg:flex gap-6 flex-wrap">
|
|
|
|
|
91 |
{styles?.map((style) => (
|
92 |
+
<StylePreviewWrapper
|
93 |
+
key={style.recordId}
|
94 |
+
style={style}
|
95 |
+
/>
|
|
|
|
|
|
|
|
|
|
|
|
|
96 |
))}
|
97 |
{/* Budget skeleton loaders */}
|
98 |
{styleData?.slice(styles?.length).map((data) => (
|
99 |
<div
|
100 |
key={data.slug}
|
101 |
+
style={{ height: 600, width: 425 }}
|
102 |
+
className="relative">
|
103 |
<div className="bg-gray-50 h-full w-full flex items-center justify-center">
|
104 |
<SpinnerIcon className="spin w-8" />
|
105 |
</div>
|
110 |
</PageLayout>
|
111 |
)
|
112 |
}
|
113 |
+
|
114 |
+
const StylePreviewWrapper = ({ style }) => {
|
115 |
+
const nextPage = usePagesStore((state) => state.nextPage)
|
116 |
+
const touch = useProgressStore((state) => state.touch)
|
117 |
+
const selectStyle = useCallback(
|
118 |
+
(style) => {
|
119 |
+
useUserSelectionStore.getState().setStyle(style)
|
120 |
+
touch(metadata.key)
|
121 |
+
nextPage()
|
122 |
+
},
|
123 |
+
[nextPage, touch],
|
124 |
+
)
|
125 |
+
const context = useMemo(
|
126 |
+
() => ({
|
127 |
+
type: 'style',
|
128 |
+
detail: style.slug,
|
129 |
+
measure: true,
|
130 |
+
}),
|
131 |
+
[style],
|
132 |
+
)
|
133 |
+
return (
|
134 |
+
<div className="relative" style={{ height: 600, width: 425 }}>
|
135 |
+
<StylePreview
|
136 |
+
style={style}
|
137 |
+
context={context}
|
138 |
+
selectStyle={selectStyle}
|
139 |
+
blockHeight={600}
|
140 |
+
/>
|
141 |
+
</div>
|
142 |
+
)
|
143 |
+
}
|
src/Onboarding/pages/SiteSummary.js
CHANGED
@@ -19,49 +19,38 @@ export const SiteSummary = () => {
|
|
19 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
20 |
{__("Let's launch your site!", 'extendify')}
|
21 |
</h1>
|
22 |
-
<p className="text-base">
|
23 |
{__('Review your site configuration.', 'extendify')}
|
24 |
</p>
|
25 |
</div>
|
26 |
-
<div className="w-full">
|
27 |
<div className="flex flex-col space-y-8">
|
28 |
<div className="block">
|
29 |
-
<
|
30 |
-
|
31 |
-
|
32 |
-
</h2>
|
33 |
-
<button
|
34 |
-
className="text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2"
|
35 |
-
onClick={() => setPage('style')}
|
36 |
-
title={__(
|
37 |
-
'Press to change the style',
|
38 |
-
'extendify',
|
39 |
-
)}>
|
40 |
-
{__('Change', 'extendify')}
|
41 |
-
</button>
|
42 |
-
</div>
|
43 |
|
44 |
{style?.label ? (
|
45 |
<div className="overflow-hidden rounded-lg relative">
|
46 |
<span
|
47 |
aria-hidden="true"
|
48 |
-
className="absolute top-0 bottom-0 left-3/4 right-0 z-40 bg-gradient-to-l from-white"></span>
|
49 |
{pages.length > 0 && (
|
50 |
-
<div className="flex items-start
|
51 |
-
<div className="lg:flex flex-no-wrap">
|
52 |
{pages?.map((page) => {
|
53 |
return (
|
54 |
<div
|
55 |
-
className="
|
56 |
style={{
|
57 |
-
height:
|
58 |
width: 255,
|
59 |
}}
|
60 |
key={page.id}>
|
61 |
<PagePreview
|
62 |
displayOnly={true}
|
63 |
page={page}
|
64 |
-
blockHeight={
|
65 |
/>
|
66 |
</div>
|
67 |
)
|
@@ -79,20 +68,10 @@ export const SiteSummary = () => {
|
|
79 |
)}
|
80 |
</div>
|
81 |
<div className="block">
|
82 |
-
<
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
<button
|
87 |
-
className="text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2"
|
88 |
-
onClick={() => setPage('site-type')}
|
89 |
-
title={__(
|
90 |
-
'Press to change the site type',
|
91 |
-
'extendify',
|
92 |
-
)}>
|
93 |
-
{__('Change', 'extendify')}
|
94 |
-
</button>
|
95 |
-
</div>
|
96 |
{siteType?.label ? (
|
97 |
<div className="flex items-center">
|
98 |
<Checkmark
|
@@ -112,26 +91,16 @@ export const SiteSummary = () => {
|
|
112 |
)}
|
113 |
</div>
|
114 |
<div className="block">
|
115 |
-
<
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
<button
|
120 |
-
className="text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2"
|
121 |
-
onClick={() => setPage('goals')}
|
122 |
-
title={__(
|
123 |
-
'Press to change the selected goals',
|
124 |
-
'extendify',
|
125 |
-
)}>
|
126 |
-
{__('Change', 'extendify')}
|
127 |
-
</button>
|
128 |
-
</div>
|
129 |
{goals.length > 0 ? (
|
130 |
-
<div className="
|
131 |
{goals?.map((goal) => {
|
132 |
return (
|
133 |
<div
|
134 |
-
className="
|
135 |
key={goal.id}>
|
136 |
<Checkmark
|
137 |
className="text-extendify-main-dark"
|
@@ -153,26 +122,16 @@ export const SiteSummary = () => {
|
|
153 |
)}
|
154 |
</div>
|
155 |
<div className="block">
|
156 |
-
<
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
<button
|
161 |
-
className="text-xs underline cursor-pointer text-partner-primary-bg bg-white mb-4 ml-2"
|
162 |
-
onClick={() => setPage('pages')}
|
163 |
-
title={__(
|
164 |
-
'Press to change the selected pages',
|
165 |
-
'extendify',
|
166 |
-
)}>
|
167 |
-
{__('Change', 'extendify')}
|
168 |
-
</button>
|
169 |
-
</div>
|
170 |
{pages.length > 0 ? (
|
171 |
-
<div className="
|
172 |
{pages?.map((page) => {
|
173 |
return (
|
174 |
<div
|
175 |
-
className="
|
176 |
key={page.id}>
|
177 |
<Checkmark
|
178 |
className="text-extendify-main-dark"
|
@@ -197,9 +156,7 @@ export const SiteSummary = () => {
|
|
197 |
<h2 className="text-lg m-0 mb-4">
|
198 |
{__('Plugins', 'extendify')}
|
199 |
</h2>
|
200 |
-
<
|
201 |
-
<SuggestedPlugins />
|
202 |
-
</div>
|
203 |
</div>
|
204 |
</div>
|
205 |
</div>
|
19 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
20 |
{__("Let's launch your site!", 'extendify')}
|
21 |
</h1>
|
22 |
+
<p className="text-base mb-0">
|
23 |
{__('Review your site configuration.', 'extendify')}
|
24 |
</p>
|
25 |
</div>
|
26 |
+
<div className="w-full max-w-4xl">
|
27 |
<div className="flex flex-col space-y-8">
|
28 |
<div className="block">
|
29 |
+
<h2 className="text-lg m-0 mb-4 text-gray-900">
|
30 |
+
{__('Design', 'extendify')}
|
31 |
+
</h2>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
{style?.label ? (
|
34 |
<div className="overflow-hidden rounded-lg relative">
|
35 |
<span
|
36 |
aria-hidden="true"
|
37 |
+
className="absolute top-0 bottom-0 left-3/4 right-0 z-40 bg-gradient-to-l from-white pointer-events-none"></span>
|
38 |
{pages.length > 0 && (
|
39 |
+
<div className="flex items-start w-full overflow-y-scroll lg:pr-52">
|
40 |
+
<div className="lg:flex flex-no-wrap gap-4">
|
41 |
{pages?.map((page) => {
|
42 |
return (
|
43 |
<div
|
44 |
+
className="relative pointer-events-none"
|
45 |
style={{
|
46 |
+
height: 360,
|
47 |
width: 255,
|
48 |
}}
|
49 |
key={page.id}>
|
50 |
<PagePreview
|
51 |
displayOnly={true}
|
52 |
page={page}
|
53 |
+
blockHeight={356}
|
54 |
/>
|
55 |
</div>
|
56 |
)
|
68 |
)}
|
69 |
</div>
|
70 |
<div className="block">
|
71 |
+
<h2 className="text-lg m-0 mb-4">
|
72 |
+
{__('Industry', 'extendify')}
|
73 |
+
</h2>
|
74 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
75 |
{siteType?.label ? (
|
76 |
<div className="flex items-center">
|
77 |
<Checkmark
|
91 |
)}
|
92 |
</div>
|
93 |
<div className="block">
|
94 |
+
<h2 className="text-lg m-0 mb-4">
|
95 |
+
{__('Goals', 'extendify')}
|
96 |
+
</h2>
|
97 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
98 |
{goals.length > 0 ? (
|
99 |
+
<div className="lg:grid grid-cols-2 gap-x-4 gap-y-1">
|
100 |
{goals?.map((goal) => {
|
101 |
return (
|
102 |
<div
|
103 |
+
className="pb-2 flex items-center"
|
104 |
key={goal.id}>
|
105 |
<Checkmark
|
106 |
className="text-extendify-main-dark"
|
122 |
)}
|
123 |
</div>
|
124 |
<div className="block">
|
125 |
+
<h2 className="text-lg m-0 mb-4">
|
126 |
+
{__('Pages', 'extendify')}
|
127 |
+
</h2>
|
128 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
{pages.length > 0 ? (
|
130 |
+
<div className="lg:grid grid-cols-2 gap-x-4 gap-y-1">
|
131 |
{pages?.map((page) => {
|
132 |
return (
|
133 |
<div
|
134 |
+
className="pb-2 flex items-center"
|
135 |
key={page.id}>
|
136 |
<Checkmark
|
137 |
className="text-extendify-main-dark"
|
156 |
<h2 className="text-lg m-0 mb-4">
|
157 |
{__('Plugins', 'extendify')}
|
158 |
</h2>
|
159 |
+
<SuggestedPlugins />
|
|
|
|
|
160 |
</div>
|
161 |
</div>
|
162 |
</div>
|
src/Onboarding/pages/SiteTypeSelect.js
CHANGED
@@ -23,6 +23,9 @@ export const metadata = {
|
|
23 |
}
|
24 |
export const SiteTypeSelect = () => {
|
25 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
|
|
|
|
|
|
26 |
const nextPage = usePagesStore((state) => state.nextPage)
|
27 |
const [visibleSiteTypes, setVisibleSiteTypes] = useState([])
|
28 |
const [search, setSearch] = useState('')
|
@@ -75,7 +78,9 @@ export const SiteTypeSelect = () => {
|
|
75 |
useEffect(() => {
|
76 |
if (loading) return
|
77 |
setVisibleSiteTypes(
|
78 |
-
showExamples
|
|
|
|
|
79 |
)
|
80 |
}, [siteTypes, showExamples, loading])
|
81 |
|
@@ -96,7 +101,7 @@ export const SiteTypeSelect = () => {
|
|
96 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
97 |
{__('What is your site about?', 'extendify')}
|
98 |
</h1>
|
99 |
-
<p className="text-base opacity-70">
|
100 |
{__('Search for your site industry.', 'extendify')}
|
101 |
</p>
|
102 |
</div>
|
@@ -151,6 +156,49 @@ export const SiteTypeSelect = () => {
|
|
151 |
</div>
|
152 |
</div>
|
153 |
)}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
154 |
</div>
|
155 |
</PageLayout>
|
156 |
)
|
23 |
}
|
24 |
export const SiteTypeSelect = () => {
|
25 |
const siteType = useUserSelectionStore((state) => state.siteType)
|
26 |
+
const feedback = useUserSelectionStore(
|
27 |
+
(state) => state.feedbackMissingSiteType,
|
28 |
+
)
|
29 |
const nextPage = usePagesStore((state) => state.nextPage)
|
30 |
const [visibleSiteTypes, setVisibleSiteTypes] = useState([])
|
31 |
const [search, setSearch] = useState('')
|
78 |
useEffect(() => {
|
79 |
if (loading) return
|
80 |
setVisibleSiteTypes(
|
81 |
+
showExamples
|
82 |
+
? siteTypes.filter((i) => i.featured)
|
83 |
+
: siteTypes.sort((a, b) => a.title.localeCompare(b.title)),
|
84 |
)
|
85 |
}, [siteTypes, showExamples, loading])
|
86 |
|
101 |
<h1 className="text-3xl text-partner-primary-text mb-4 mt-0">
|
102 |
{__('What is your site about?', 'extendify')}
|
103 |
</h1>
|
104 |
+
<p className="text-base opacity-70 mb-0">
|
105 |
{__('Search for your site industry.', 'extendify')}
|
106 |
</p>
|
107 |
</div>
|
156 |
</div>
|
157 |
</div>
|
158 |
)}
|
159 |
+
{!loading && visibleSiteTypes?.length === 0 && (
|
160 |
+
<div>
|
161 |
+
<div className="flex items-center justify-between uppercase">
|
162 |
+
{__('No Results', 'extendify')}
|
163 |
+
<button
|
164 |
+
type="button"
|
165 |
+
className="bg-transparent hover:text-partner-primary-bg p-0 text-partner-primary-bg text-xs underline cursor-pointer"
|
166 |
+
onClick={() => {
|
167 |
+
setSearch('')
|
168 |
+
searchRef.current.focus()
|
169 |
+
}}>
|
170 |
+
{sprintf(
|
171 |
+
__('Show all %s', 'extendify'),
|
172 |
+
loading ? '...' : siteTypes.length,
|
173 |
+
)}
|
174 |
+
</button>
|
175 |
+
</div>
|
176 |
+
<h2 className="text-lg mt-12 mb-4 text-gray-900">
|
177 |
+
{__(
|
178 |
+
"Don't see what you're looking for?",
|
179 |
+
'extendify',
|
180 |
+
)}
|
181 |
+
</h2>
|
182 |
+
<div className="search-panel flex items-center justify-center relative mb-8">
|
183 |
+
<input
|
184 |
+
type="text"
|
185 |
+
className="w-full bg-gray-100 h-12 pl-4 input-focus rounded-none ring-offset-0 focus:bg-white"
|
186 |
+
value={feedback}
|
187 |
+
onChange={(e) =>
|
188 |
+
useUserSelectionStore
|
189 |
+
.getState()
|
190 |
+
.setFeedbackMissingSiteType(
|
191 |
+
e.target.value,
|
192 |
+
)
|
193 |
+
}
|
194 |
+
placeholder={__(
|
195 |
+
'Describe your site...',
|
196 |
+
'extendify',
|
197 |
+
)}
|
198 |
+
/>
|
199 |
+
</div>
|
200 |
+
</div>
|
201 |
+
)}
|
202 |
</div>
|
203 |
</PageLayout>
|
204 |
)
|
src/Onboarding/state/Global.js
CHANGED
@@ -9,12 +9,12 @@ const store = (set) => ({
|
|
9 |
set({ orderId })
|
10 |
},
|
11 |
})
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
}),
|
19 |
}),
|
20 |
-
)
|
|
9 |
set({ orderId })
|
10 |
},
|
11 |
})
|
12 |
+
const withDevtools = devtools(store, { name: 'Extendify Launch Globals' })
|
13 |
+
const withPersist = persist(withDevtools, {
|
14 |
+
name: 'extendify-launch-globals',
|
15 |
+
getStorage: () => localStorage,
|
16 |
+
partialize: (state) => ({
|
17 |
+
orderId: state?.orderId ?? null,
|
|
|
18 |
}),
|
19 |
+
})
|
20 |
+
export const useGlobalStore = create(withPersist)
|
src/Onboarding/state/Pages.js
CHANGED
@@ -38,14 +38,17 @@ const store = (set, get) => ({
|
|
38 |
get().setPage(get().currentPageIndex - 1)
|
39 |
},
|
40 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
41 |
export const usePagesStore = window?.extOnbData?.devbuild
|
42 |
-
? create(
|
43 |
-
: create(
|
44 |
-
persist(devtools(store), {
|
45 |
-
name: 'extendify-pages',
|
46 |
-
getStorage: () => localStorage,
|
47 |
-
partialize: (state) => ({
|
48 |
-
currentPageIndex: state?.currentPageIndex ?? 0,
|
49 |
-
}),
|
50 |
-
}),
|
51 |
-
)
|
38 |
get().setPage(get().currentPageIndex - 1)
|
39 |
},
|
40 |
})
|
41 |
+
const withDevtools = devtools(store, {
|
42 |
+
name: 'Extendify Launch Pages',
|
43 |
+
serialize: true,
|
44 |
+
})
|
45 |
+
const withPersist = persist(withDevtools, {
|
46 |
+
name: 'extendify-pages',
|
47 |
+
getStorage: () => localStorage,
|
48 |
+
partialize: (state) => ({
|
49 |
+
currentPageIndex: state?.currentPageIndex ?? 0,
|
50 |
+
}),
|
51 |
+
})
|
52 |
export const usePagesStore = window?.extOnbData?.devbuild
|
53 |
+
? create(withDevtools)
|
54 |
+
: create(withPersist)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/Onboarding/state/Progress.js
CHANGED
@@ -16,14 +16,14 @@ const store = (set) => ({
|
|
16 |
set(initialState)
|
17 |
},
|
18 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
19 |
export const useProgressStore = window?.extOnbData?.devbuild
|
20 |
-
? create(
|
21 |
-
: create(
|
22 |
-
persist(devtools(store), {
|
23 |
-
name: 'extendify-progress',
|
24 |
-
getStorage: () => localStorage,
|
25 |
-
partialize: (state) => ({
|
26 |
-
touched: state.touched,
|
27 |
-
}),
|
28 |
-
}),
|
29 |
-
)
|
16 |
set(initialState)
|
17 |
},
|
18 |
})
|
19 |
+
const withDevtools = devtools(store, { name: 'Extendify Launch Progress' })
|
20 |
+
const withPersist = persist(withDevtools, {
|
21 |
+
name: 'extendify-progress',
|
22 |
+
getStorage: () => localStorage,
|
23 |
+
partialize: (state) => ({
|
24 |
+
touched: state.touched,
|
25 |
+
}),
|
26 |
+
})
|
27 |
export const useProgressStore = window?.extOnbData?.devbuild
|
28 |
+
? create(withDevtools)
|
29 |
+
: create(withPersist)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
src/Onboarding/state/UserSelections.js
CHANGED
@@ -6,6 +6,8 @@ const initialState = {
|
|
6 |
siteInformation: {
|
7 |
title: undefined,
|
8 |
},
|
|
|
|
|
9 |
style: null,
|
10 |
pages: [],
|
11 |
plugins: [],
|
@@ -20,6 +22,12 @@ const store = (set, get) => ({
|
|
20 |
const siteInformation = { ...get().siteInformation, [name]: value }
|
21 |
set({ siteInformation })
|
22 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
23 |
has(type, item) {
|
24 |
if (!item?.id) return false
|
25 |
return get()[type].some((t) => t.id === item.id)
|
@@ -56,19 +64,24 @@ const store = (set, get) => ({
|
|
56 |
set(initialState)
|
57 |
},
|
58 |
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
59 |
export const useUserSelectionStore = window?.extOnbData?.devbuild
|
60 |
-
? create(
|
61 |
-
: create(
|
62 |
-
persist(devtools(store), {
|
63 |
-
name: 'extendify-site-selection',
|
64 |
-
getStorage: () => localStorage,
|
65 |
-
partialize: (state) => ({
|
66 |
-
siteType: state?.siteType ?? {},
|
67 |
-
siteInformation: state?.siteInformation ?? {},
|
68 |
-
style: state?.style ?? null,
|
69 |
-
pages: state?.pages ?? [],
|
70 |
-
plugins: state?.plugins ?? [],
|
71 |
-
goals: state?.goals ?? [],
|
72 |
-
}),
|
73 |
-
}),
|
74 |
-
)
|
6 |
siteInformation: {
|
7 |
title: undefined,
|
8 |
},
|
9 |
+
feedbackMissingSiteType: '',
|
10 |
+
feedbackMissingGoal: '',
|
11 |
style: null,
|
12 |
pages: [],
|
13 |
plugins: [],
|
22 |
const siteInformation = { ...get().siteInformation, [name]: value }
|
23 |
set({ siteInformation })
|
24 |
},
|
25 |
+
setFeedbackMissingSiteType(feedback) {
|
26 |
+
set({ feedbackMissingSiteType: feedback })
|
27 |
+
},
|
28 |
+
setFeedbackMissingGoal(feedback) {
|
29 |
+
set({ feedbackMissingGoal: feedback })
|
30 |
+
},
|
31 |
has(type, item) {
|
32 |
if (!item?.id) return false
|
33 |
return get()[type].some((t) => t.id === item.id)
|
64 |
set(initialState)
|
65 |
},
|
66 |
})
|
67 |
+
|
68 |
+
const withDevtools = devtools(store, {
|
69 |
+
name: 'Extendify Launch User Selection',
|
70 |
+
})
|
71 |
+
const withPersist = persist(withDevtools, {
|
72 |
+
name: 'extendify-site-selection',
|
73 |
+
getStorage: () => localStorage,
|
74 |
+
partialize: (state) => ({
|
75 |
+
siteType: state?.siteType ?? {},
|
76 |
+
siteInformation: state?.siteInformation ?? {},
|
77 |
+
feedbackMissingSiteType: state?.feedbackMissingSiteType ?? '',
|
78 |
+
feedbackMissingGoal: state?.feedbackMissingGoal ?? '',
|
79 |
+
style: state?.style ?? null,
|
80 |
+
pages: state?.pages ?? [],
|
81 |
+
plugins: state?.plugins ?? [],
|
82 |
+
goals: state?.goals ?? [],
|
83 |
+
}),
|
84 |
+
})
|
85 |
export const useUserSelectionStore = window?.extOnbData?.devbuild
|
86 |
+
? create(withDevtools)
|
87 |
+
: create(withPersist)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInit72a54586505f01419b8ba8abcc8cb9b1::getLoader();
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit1f16501f40422165da14aa094c3b84e4
|
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
-
spl_autoload_register(array('
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
-
spl_autoload_unregister(array('
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
-
call_user_func(\Composer\Autoload\
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInit72a54586505f01419b8ba8abcc8cb9b1
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
22 |
return self::$loader;
|
23 |
}
|
24 |
|
25 |
+
spl_autoload_register(array('ComposerAutoloaderInit72a54586505f01419b8ba8abcc8cb9b1', 'loadClassLoader'), true, true);
|
26 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
27 |
+
spl_autoload_unregister(array('ComposerAutoloaderInit72a54586505f01419b8ba8abcc8cb9b1', 'loadClassLoader'));
|
28 |
|
29 |
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
|
30 |
if ($useStaticLoader) {
|
31 |
require_once __DIR__ . '/autoload_static.php';
|
32 |
|
33 |
+
call_user_func(\Composer\Autoload\ComposerStaticInit72a54586505f01419b8ba8abcc8cb9b1::getInitializer($loader));
|
34 |
} else {
|
35 |
$map = require __DIR__ . '/autoload_namespaces.php';
|
36 |
foreach ($map as $namespace => $path) {
|
vendor/composer/autoload_static.php
CHANGED
@@ -4,7 +4,7 @@
|
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
-
class
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'E' =>
|
@@ -23,8 +23,8 @@ class ComposerStaticInit1f16501f40422165da14aa094c3b84e4
|
|
23 |
public static function getInitializer(ClassLoader $loader)
|
24 |
{
|
25 |
return \Closure::bind(function () use ($loader) {
|
26 |
-
$loader->prefixLengthsPsr4 =
|
27 |
-
$loader->prefixDirsPsr4 =
|
28 |
|
29 |
}, null, ClassLoader::class);
|
30 |
}
|
4 |
|
5 |
namespace Composer\Autoload;
|
6 |
|
7 |
+
class ComposerStaticInit72a54586505f01419b8ba8abcc8cb9b1
|
8 |
{
|
9 |
public static $prefixLengthsPsr4 = array (
|
10 |
'E' =>
|
23 |
public static function getInitializer(ClassLoader $loader)
|
24 |
{
|
25 |
return \Closure::bind(function () use ($loader) {
|
26 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInit72a54586505f01419b8ba8abcc8cb9b1::$prefixLengthsPsr4;
|
27 |
+
$loader->prefixDirsPsr4 = ComposerStaticInit72a54586505f01419b8ba8abcc8cb9b1::$prefixDirsPsr4;
|
28 |
|
29 |
}, null, ClassLoader::class);
|
30 |
}
|