From 5468def2b407f915594642a9a5b35f763dd80c0b Mon Sep 17 00:00:00 2001 From: Torben Lundsgaard Date: Tue, 3 Sep 2024 15:13:24 +0200 Subject: [PATCH] Update deps to WP 6.6 including a polyfill for earlier WP versions --- assets/admin/settings-rtl.css | 2 +- assets/admin/settings.asset.php | 2 +- assets/admin/settings.css | 2 +- assets/admin/settings.js | 10 +- assets/admin/wizard-rtl.css | 2 +- assets/admin/wizard.asset.php | 2 +- assets/admin/wizard.css | 2 +- assets/admin/wizard.js | 2 +- assets/react-jsx-runtime.js | 1 + package-lock.json | 3299 ++++++++++++++++++------------ package.json | 22 +- src/Admin/AssetsTrait.php | 11 + src/scss/_tailwind-compiled.scss | 27 +- 13 files changed, 2047 insertions(+), 1337 deletions(-) create mode 100644 assets/react-jsx-runtime.js diff --git a/assets/admin/settings-rtl.css b/assets/admin/settings-rtl.css index d154bbc..7ea8649 100644 --- a/assets/admin/settings-rtl.css +++ b/assets/admin/settings-rtl.css @@ -1 +1 @@ -:root{--gtmkit-background-white:#fff;--gtmkit-background-grey:#f0f0f1;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777;--gtmkit-color-grey:#888;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-button:#3969bb;--gtmkit-color-success:#00a32a;--gtmkit-color-warning:orange;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled:#bbb;--gtmkit-button-disabled-bg:#f5f5f5;--gtmkit-button-disabled-border:1px solid #ddd;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397eeb;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#f8f8f8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#ddd;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.gtmkit-container{width:100%}@media(min-width:640px){.gtmkit-container{max-width:640px}}@media(min-width:768px){.gtmkit-container{max-width:768px}}@media(min-width:1024px){.gtmkit-container{max-width:1024px}}@media(min-width:1280px){.gtmkit-container{max-width:1280px}}@media(min-width:1536px){.gtmkit-container{max-width:1536px}}.gtmkit-fixed{position:fixed}.gtmkit-absolute{position:absolute}.gtmkit-relative{position:relative}.gtmkit-sticky{position:sticky}.gtmkit-inset-0{inset:0}.gtmkit-bottom-0{bottom:0}.gtmkit-z-10{z-index:10}.gtmkit-m-4{margin:1rem}.\!gtmkit-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.gtmkit-mx-auto{margin-right:auto;margin-left:auto}.gtmkit-my-16{margin-bottom:4rem;margin-top:4rem}.gtmkit-my-4{margin-bottom:1rem;margin-top:1rem}.gtmkit-my-6{margin-bottom:1.5rem;margin-top:1.5rem}.gtmkit-my-8{margin-bottom:2rem;margin-top:2rem}.\!gtmkit-mt-4{margin-top:1rem!important}.gtmkit-mb-0{margin-bottom:0}.gtmkit-mb-0\.5{margin-bottom:.125rem}.gtmkit-mb-12{margin-bottom:3rem}.gtmkit-mb-14{margin-bottom:3.5rem}.gtmkit-mb-2{margin-bottom:.5rem}.gtmkit-mb-20{margin-bottom:5rem}.gtmkit-mb-4{margin-bottom:1rem}.gtmkit-mb-5{margin-bottom:1.25rem}.gtmkit-mb-6{margin-bottom:1.5rem}.gtmkit-mb-8{margin-bottom:2rem}.gtmkit-ml-2{margin-right:.5rem}.gtmkit-ml-4{margin-right:1rem}.gtmkit-ml-6{margin-right:1.5rem}.gtmkit-mr-2{margin-left:.5rem}.gtmkit-mr-8{margin-left:2rem}.gtmkit-mt-12{margin-top:3rem}.gtmkit-mt-3{margin-top:.75rem}.gtmkit-mt-4{margin-top:1rem}.gtmkit-mt-6{margin-top:1.5rem}.gtmkit-mt-8{margin-top:2rem}.gtmkit-block{display:block}.gtmkit-inline-block{display:inline-block}.gtmkit-flex{display:flex}.gtmkit-grid{display:grid}.gtmkit-hidden{display:none}.gtmkit-h-0{height:0}.gtmkit-h-0\.5{height:.125rem}.gtmkit-h-2{height:.5rem}.gtmkit-h-2\.5{height:.625rem}.gtmkit-h-5{height:1.25rem}.gtmkit-h-8{height:2rem}.gtmkit-h-min{height:-moz-min-content;height:min-content}.gtmkit-h-screen{height:100vh}.gtmkit-min-h-\[128px\]{min-height:128px}.gtmkit-min-h-\[175px\]{min-height:175px}.gtmkit-w-2{width:.5rem}.gtmkit-w-2\.5{width:.625rem}.gtmkit-w-3\/4{width:75%}.gtmkit-w-5{width:1.25rem}.gtmkit-w-8{width:2rem}.gtmkit-w-\[225px\]{width:225px}.gtmkit-w-\[250px\]{width:250px}.gtmkit-w-full{width:100%}.gtmkit-min-w-\[225px\]{min-width:225px}.gtmkit-max-w-3xl{max-width:48rem}.gtmkit-max-w-\[1536px\]{max-width:1536px}.gtmkit-max-w-\[90\%\]{max-width:90%}.gtmkit-max-w-lg{max-width:32rem}.gtmkit-max-w-max{max-width:-moz-max-content;max-width:max-content}.gtmkit-max-w-md{max-width:28rem}.gtmkit-max-w-xl{max-width:36rem}.gtmkit-flex-auto{flex:1 1 auto}.gtmkit-shrink-0{flex-shrink:0}.gtmkit-table-fixed{table-layout:fixed}.gtmkit-cursor-pointer{cursor:pointer}.gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gtmkit-flex-col{flex-direction:column}.gtmkit-flex-wrap{flex-wrap:wrap}.gtmkit-items-center{align-items:center}.\!gtmkit-justify-start{justify-content:flex-start!important}.gtmkit-justify-center{justify-content:center}.gtmkit-justify-between{justify-content:space-between}.gtmkit-gap-16{gap:4rem}.gtmkit-gap-2{gap:.5rem}.gtmkit-gap-4{gap:1rem}.gtmkit-gap-6{gap:1.5rem}.gtmkit-gap-8{gap:2rem}.gtmkit-space-x-9>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(2.25rem*(1 - var(--tw-space-x-reverse)));margin-left:calc(2.25rem*var(--tw-space-x-reverse))}.gtmkit-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-whitespace-nowrap{white-space:nowrap}.gtmkit-rounded{border-radius:.25rem}.gtmkit-rounded-full{border-radius:9999px}.gtmkit-rounded-md{border-radius:.375rem}.gtmkit-border{border-width:1px}.gtmkit-border-2{border-width:2px}.gtmkit-border-y{border-top-width:1px}.gtmkit-border-b,.gtmkit-border-y{border-bottom-width:1px}.gtmkit-border-b-2{border-bottom-width:2px}.gtmkit-border-b-4{border-bottom-width:4px}.gtmkit-border-t-0{border-top-width:0}.gtmkit-border-t-4{border-top-width:4px}.gtmkit-border-color-border{border-color:var(--gtmkit-border-color)}.gtmkit-border-color-grey{border-color:var(--gtmkit-color-grey)}.gtmkit-border-color-primary{border-color:var(--gtmkit-color-primary)}.gtmkit-border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.gtmkit-border-b-color-primary{border-bottom-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-background-disabled{background-color:var(--gtmkit-button-disabled-bg)}.gtmkit-bg-color-border{background-color:var(--gtmkit-border-color)}.gtmkit-bg-color-button-disabled{background-color:var(--gtmkit-button-disabled)}.gtmkit-bg-color-error{background-color:var(--gtmkit-color-error)}.gtmkit-bg-color-grey{background-color:var(--gtmkit-color-grey)}.gtmkit-bg-color-primary{background-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-success{background-color:var(--gtmkit-color-success)}.gtmkit-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.gtmkit-p-3{padding:.75rem}.gtmkit-p-6{padding:1.5rem}.gtmkit-p-8{padding:2rem}.\!gtmkit-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.\!gtmkit-px-6{padding-right:1.5rem!important;padding-left:1.5rem!important}.\!gtmkit-px-8{padding-right:2rem!important;padding-left:2rem!important}.\!gtmkit-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.\!gtmkit-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.\!gtmkit-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.gtmkit-px-16{padding-right:4rem;padding-left:4rem}.gtmkit-px-2{padding-right:.5rem;padding-left:.5rem}.gtmkit-px-20{padding-right:5rem;padding-left:5rem}.gtmkit-px-3{padding-right:.75rem;padding-left:.75rem}.gtmkit-px-4{padding-right:1rem;padding-left:1rem}.gtmkit-px-5{padding-right:1.25rem;padding-left:1.25rem}.gtmkit-px-6{padding-right:1.5rem;padding-left:1.5rem}.gtmkit-px-8{padding-right:2rem;padding-left:2rem}.gtmkit-py-1{padding-bottom:.25rem;padding-top:.25rem}.gtmkit-py-12{padding-bottom:3rem;padding-top:3rem}.gtmkit-py-2{padding-bottom:.5rem;padding-top:.5rem}.gtmkit-py-3{padding-bottom:.75rem;padding-top:.75rem}.gtmkit-py-4{padding-bottom:1rem;padding-top:1rem}.gtmkit-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.gtmkit-py-px{padding-bottom:1px;padding-top:1px}.gtmkit-pb-6{padding-bottom:1.5rem}.gtmkit-pb-\[18px\]{padding-bottom:18px}.gtmkit-pt-3{padding-top:.75rem}.gtmkit-pt-4{padding-top:1rem}.gtmkit-pt-5{padding-top:1.25rem}.gtmkit-pt-8{padding-top:2rem}.gtmkit-text-left{text-align:right}.gtmkit-text-center{text-align:center}.\!gtmkit-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.gtmkit-text-2xl{font-size:1.5rem;line-height:2rem}.gtmkit-text-3xl{font-size:1.875rem;line-height:2.25rem}.gtmkit-text-4xl{font-size:2.25rem;line-height:2.5rem}.gtmkit-text-\[15px\]{font-size:15px}.gtmkit-text-base{font-size:1rem;line-height:1.5rem}.gtmkit-text-lg{font-size:1.125rem;line-height:1.75rem}.gtmkit-text-sm{font-size:.875rem;line-height:1.25rem}.gtmkit-text-xl{font-size:1.25rem;line-height:1.75rem}.gtmkit-text-xs{font-size:.75rem;line-height:1rem}.gtmkit-font-bold{font-weight:700}.gtmkit-font-light{font-weight:300}.gtmkit-font-medium{font-weight:500}.gtmkit-font-semibold{font-weight:600}.gtmkit-uppercase{text-transform:uppercase}.gtmkit-leading-5{line-height:1.25rem}.gtmkit-leading-\[1\.125rem\]{line-height:1.125rem}.gtmkit-text-color-grey{color:var(--gtmkit-color-grey)}.gtmkit-text-color-heading{color:var(--gtmkit-text-color-heading)}.gtmkit-text-color-primary{color:var(--gtmkit-color-primary)}.gtmkit-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.gtmkit-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.gtmkit-underline{text-decoration-line:underline}.gtmkit-opacity-100{opacity:1}.gtmkit-opacity-30{opacity:.3}.gtmkit-opacity-60{opacity:.6}.gtmkit-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.gtmkit-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.gtmkit-ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.gtmkit-ring-opacity-5{--tw-ring-opacity:0.05}.gtmkit-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.gtmkit-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.gtmkit-duration-500{transition-duration:.5s}.hover\:gtmkit-border-color-grey:hover{border-color:var(--gtmkit-color-grey)}.hover\:gtmkit-underline:hover{text-decoration-line:underline}.disabled\:\!gtmkit-bg-color-button-disabled:disabled{background-color:var(--gtmkit-button-disabled)!important}.disabled\:\!gtmkit-text-color-grey:disabled{color:var(--gtmkit-color-grey)!important}@media(min-width:640px){.sm\:gtmkit-w-auto{width:auto}}@media(min-width:768px){.md\:gtmkit-mt-10{margin-top:2.5rem}.md\:gtmkit-mt-12{margin-top:3rem}.md\:gtmkit-mt-16{margin-top:4rem}.md\:gtmkit-mt-8{margin-top:2rem}.md\:gtmkit-grid{display:grid}.md\:gtmkit-max-w-xl{max-width:36rem}}@media(min-width:1024px){.lg\:gtmkit-grid{display:grid}.lg\:gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:gtmkit-justify-between{justify-content:space-between}}@media(min-width:1280px){.xl\:gtmkit-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.gtmkit #wpcontent{padding-right:0!important}.gtmkit #wpcontent *,.gtmkit #wpcontent :after,.gtmkit #wpcontent :before{box-sizing:border-box}.gtmkit a{font-size:14px}.gtmkit a:focus{box-shadow:none}.gtmkit p{font-size:14px}.gtmkit .components-button.is-primary{background-color:var(--gtmkit-color-button)}.gtmkit .components-button .components-spinner{margin:0 1rem 0 0}.gtmkit-settings-field-wrap .components-base-control.components-toggle-control{line-height:1.5em}.gtmkit-settings-field-wrap .components-base-control__label{font-size:14px;font-weight:600;text-transform:none}.gtmkit .slide-appear,.gtmkit .slide-enter{transform:translateY(100%)}.gtmkit .slide-appear-active,.gtmkit .slide-enter-active{transform:translateY(0);transition:transform .5s ease-in-out}.gtmkit .slide-exit{transform:translateY(0)}.gtmkit .slide-exit-active{transform:translateY(100%);transition:transform .5s ease-in-out} +:root{--gtmkit-background-white:#fff;--gtmkit-background-grey:#f0f0f1;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777;--gtmkit-color-grey:#888;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-button:#3969bb;--gtmkit-color-success:#00a32a;--gtmkit-color-warning:orange;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled:#bbb;--gtmkit-button-disabled-bg:#f5f5f5;--gtmkit-button-disabled-border:1px solid #ddd;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397eeb;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#f8f8f8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#ddd;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.gtmkit-container{width:100%}@media(min-width:640px){.gtmkit-container{max-width:640px}}@media(min-width:768px){.gtmkit-container{max-width:768px}}@media(min-width:1024px){.gtmkit-container{max-width:1024px}}@media(min-width:1280px){.gtmkit-container{max-width:1280px}}@media(min-width:1536px){.gtmkit-container{max-width:1536px}}.gtmkit-fixed{position:fixed}.gtmkit-absolute{position:absolute}.gtmkit-relative{position:relative}.gtmkit-sticky{position:sticky}.gtmkit-inset-0{inset:0}.gtmkit-bottom-0{bottom:0}.gtmkit-z-10{z-index:10}.gtmkit-m-4{margin:1rem}.\!gtmkit-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.gtmkit-mx-auto{margin-right:auto;margin-left:auto}.gtmkit-my-16{margin-bottom:4rem;margin-top:4rem}.gtmkit-my-4{margin-bottom:1rem;margin-top:1rem}.gtmkit-my-6{margin-bottom:1.5rem;margin-top:1.5rem}.gtmkit-my-8{margin-bottom:2rem;margin-top:2rem}.\!gtmkit-mt-4{margin-top:1rem!important}.gtmkit-mb-0{margin-bottom:0}.gtmkit-mb-0\.5{margin-bottom:.125rem}.gtmkit-mb-12{margin-bottom:3rem}.gtmkit-mb-14{margin-bottom:3.5rem}.gtmkit-mb-2{margin-bottom:.5rem}.gtmkit-mb-20{margin-bottom:5rem}.gtmkit-mb-4{margin-bottom:1rem}.gtmkit-mb-5{margin-bottom:1.25rem}.gtmkit-mb-6{margin-bottom:1.5rem}.gtmkit-mb-8{margin-bottom:2rem}.gtmkit-ml-2{margin-right:.5rem}.gtmkit-ml-4{margin-right:1rem}.gtmkit-ml-6{margin-right:1.5rem}.gtmkit-mr-2{margin-left:.5rem}.gtmkit-mr-8{margin-left:2rem}.gtmkit-mt-12{margin-top:3rem}.gtmkit-mt-3{margin-top:.75rem}.gtmkit-mt-4{margin-top:1rem}.gtmkit-mt-6{margin-top:1.5rem}.gtmkit-mt-8{margin-top:2rem}.gtmkit-block{display:block}.gtmkit-inline-block{display:inline-block}.gtmkit-flex{display:flex}.gtmkit-grid{display:grid}.gtmkit-hidden{display:none}.gtmkit-h-0{height:0}.gtmkit-h-0\.5{height:.125rem}.gtmkit-h-2{height:.5rem}.gtmkit-h-2\.5{height:.625rem}.gtmkit-h-5{height:1.25rem}.gtmkit-h-8{height:2rem}.gtmkit-h-min{height:-moz-min-content;height:min-content}.gtmkit-h-screen{height:100vh}.gtmkit-min-h-\[128px\]{min-height:128px}.gtmkit-min-h-\[175px\]{min-height:175px}.gtmkit-w-2{width:.5rem}.gtmkit-w-2\.5{width:.625rem}.gtmkit-w-3\/4{width:75%}.gtmkit-w-5{width:1.25rem}.gtmkit-w-8{width:2rem}.gtmkit-w-\[225px\]{width:225px}.gtmkit-w-\[250px\]{width:250px}.gtmkit-w-full{width:100%}.gtmkit-min-w-\[225px\]{min-width:225px}.gtmkit-max-w-3xl{max-width:48rem}.gtmkit-max-w-\[1536px\]{max-width:1536px}.gtmkit-max-w-\[90\%\]{max-width:90%}.gtmkit-max-w-lg{max-width:32rem}.gtmkit-max-w-max{max-width:-moz-max-content;max-width:max-content}.gtmkit-max-w-md{max-width:28rem}.gtmkit-max-w-xl{max-width:36rem}.gtmkit-flex-auto{flex:1 1 auto}.gtmkit-shrink-0{flex-shrink:0}.gtmkit-table-fixed{table-layout:fixed}.gtmkit-cursor-pointer{cursor:pointer}.gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gtmkit-flex-col{flex-direction:column}.gtmkit-flex-wrap{flex-wrap:wrap}.gtmkit-items-center{align-items:center}.\!gtmkit-justify-start{justify-content:flex-start!important}.gtmkit-justify-center{justify-content:center}.gtmkit-justify-between{justify-content:space-between}.gtmkit-gap-16{gap:4rem}.gtmkit-gap-2{gap:.5rem}.gtmkit-gap-4{gap:1rem}.gtmkit-gap-6{gap:1.5rem}.gtmkit-gap-8{gap:2rem}.gtmkit-gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.gtmkit-space-x-9>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-right:calc(2.25rem*(1 - var(--tw-space-x-reverse)));margin-left:calc(2.25rem*var(--tw-space-x-reverse))}.gtmkit-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-whitespace-nowrap{white-space:nowrap}.gtmkit-rounded{border-radius:.25rem}.gtmkit-rounded-full{border-radius:9999px}.gtmkit-rounded-md{border-radius:.375rem}.gtmkit-border{border-width:1px}.gtmkit-border-2{border-width:2px}.gtmkit-border-y{border-top-width:1px}.gtmkit-border-b,.gtmkit-border-y{border-bottom-width:1px}.gtmkit-border-b-2{border-bottom-width:2px}.gtmkit-border-b-4{border-bottom-width:4px}.gtmkit-border-t-0{border-top-width:0}.gtmkit-border-t-4{border-top-width:4px}.gtmkit-border-color-border{border-color:var(--gtmkit-border-color)}.gtmkit-border-color-grey{border-color:var(--gtmkit-color-grey)}.gtmkit-border-color-primary{border-color:var(--gtmkit-color-primary)}.gtmkit-border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.gtmkit-border-b-color-primary{border-bottom-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-background-disabled{background-color:var(--gtmkit-button-disabled-bg)}.gtmkit-bg-color-border{background-color:var(--gtmkit-border-color)}.gtmkit-bg-color-button-disabled{background-color:var(--gtmkit-button-disabled)}.gtmkit-bg-color-error{background-color:var(--gtmkit-color-error)}.gtmkit-bg-color-grey{background-color:var(--gtmkit-color-grey)}.gtmkit-bg-color-primary{background-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-success{background-color:var(--gtmkit-color-success)}.gtmkit-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.gtmkit-p-3{padding:.75rem}.gtmkit-p-6{padding:1.5rem}.gtmkit-p-8{padding:2rem}.\!gtmkit-px-3{padding-right:.75rem!important;padding-left:.75rem!important}.\!gtmkit-px-6{padding-right:1.5rem!important;padding-left:1.5rem!important}.\!gtmkit-px-8{padding-right:2rem!important;padding-left:2rem!important}.\!gtmkit-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.\!gtmkit-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.\!gtmkit-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.gtmkit-px-16{padding-right:4rem;padding-left:4rem}.gtmkit-px-2{padding-right:.5rem;padding-left:.5rem}.gtmkit-px-20{padding-right:5rem;padding-left:5rem}.gtmkit-px-3{padding-right:.75rem;padding-left:.75rem}.gtmkit-px-4{padding-right:1rem;padding-left:1rem}.gtmkit-px-5{padding-right:1.25rem;padding-left:1.25rem}.gtmkit-px-6{padding-right:1.5rem;padding-left:1.5rem}.gtmkit-px-8{padding-right:2rem;padding-left:2rem}.gtmkit-py-1{padding-bottom:.25rem;padding-top:.25rem}.gtmkit-py-12{padding-bottom:3rem;padding-top:3rem}.gtmkit-py-2{padding-bottom:.5rem;padding-top:.5rem}.gtmkit-py-3{padding-bottom:.75rem;padding-top:.75rem}.gtmkit-py-4{padding-bottom:1rem;padding-top:1rem}.gtmkit-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.gtmkit-py-px{padding-bottom:1px;padding-top:1px}.gtmkit-px-1{padding-right:.25rem;padding-left:.25rem}.gtmkit-px-1\.5{padding-right:.375rem;padding-left:.375rem}.gtmkit-pb-6{padding-bottom:1.5rem}.gtmkit-pb-\[18px\]{padding-bottom:18px}.gtmkit-pt-3{padding-top:.75rem}.gtmkit-pt-4{padding-top:1rem}.gtmkit-pt-5{padding-top:1.25rem}.gtmkit-pt-8{padding-top:2rem}.gtmkit-text-left{text-align:right}.gtmkit-text-center{text-align:center}.\!gtmkit-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.gtmkit-text-2xl{font-size:1.5rem;line-height:2rem}.gtmkit-text-3xl{font-size:1.875rem;line-height:2.25rem}.gtmkit-text-4xl{font-size:2.25rem;line-height:2.5rem}.gtmkit-text-\[15px\]{font-size:15px}.gtmkit-text-base{font-size:1rem;line-height:1.5rem}.gtmkit-text-lg{font-size:1.125rem;line-height:1.75rem}.gtmkit-text-sm{font-size:.875rem;line-height:1.25rem}.gtmkit-text-xl{font-size:1.25rem;line-height:1.75rem}.gtmkit-text-xs{font-size:.75rem;line-height:1rem}.gtmkit-font-bold{font-weight:700}.gtmkit-font-light{font-weight:300}.gtmkit-font-medium{font-weight:500}.gtmkit-font-semibold{font-weight:600}.gtmkit-uppercase{text-transform:uppercase}.gtmkit-leading-5{line-height:1.25rem}.gtmkit-leading-\[1\.125rem\]{line-height:1.125rem}.gtmkit-text-color-grey{color:var(--gtmkit-color-grey)}.gtmkit-text-color-heading{color:var(--gtmkit-text-color-heading)}.gtmkit-text-color-primary{color:var(--gtmkit-color-primary)}.gtmkit-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.gtmkit-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.gtmkit-underline{text-decoration-line:underline}.gtmkit-opacity-100{opacity:1}.gtmkit-opacity-30{opacity:.3}.gtmkit-opacity-60{opacity:.6}.gtmkit-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.gtmkit-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.gtmkit-ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.gtmkit-ring-opacity-5{--tw-ring-opacity:0.05}.gtmkit-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.gtmkit-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.gtmkit-duration-500{transition-duration:.5s}.hover\:gtmkit-border-color-grey:hover{border-color:var(--gtmkit-color-grey)}.hover\:gtmkit-underline:hover{text-decoration-line:underline}.disabled\:\!gtmkit-bg-color-button-disabled:disabled{background-color:var(--gtmkit-button-disabled)!important}.disabled\:\!gtmkit-text-color-grey:disabled{color:var(--gtmkit-color-grey)!important}@media(min-width:640px){.sm\:gtmkit-w-auto{width:auto}}@media(min-width:768px){.md\:gtmkit-mt-10{margin-top:2.5rem}.md\:gtmkit-mt-12{margin-top:3rem}.md\:gtmkit-mt-16{margin-top:4rem}.md\:gtmkit-mt-8{margin-top:2rem}.md\:gtmkit-grid{display:grid}.md\:gtmkit-max-w-xl{max-width:36rem}}@media(min-width:1024px){.lg\:gtmkit-grid{display:grid}.lg\:gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:gtmkit-justify-between{justify-content:space-between}}@media(min-width:1280px){.xl\:gtmkit-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.gtmkit #wpcontent{padding-right:0!important}.gtmkit #wpcontent *,.gtmkit #wpcontent :after,.gtmkit #wpcontent :before{box-sizing:border-box}.gtmkit a{font-size:14px}.gtmkit a:focus{box-shadow:none}.gtmkit p{font-size:14px}.gtmkit .components-button.is-primary{background-color:var(--gtmkit-color-button)}.gtmkit .components-button .components-spinner{margin:0 1rem 0 0}.gtmkit-settings-field-wrap .components-base-control.components-toggle-control{line-height:1.5em}.gtmkit-settings-field-wrap .components-base-control__label{font-size:14px;font-weight:600;text-transform:none}.gtmkit .slide-appear,.gtmkit .slide-enter{transform:translateY(100%)}.gtmkit .slide-appear-active,.gtmkit .slide-enter-active{transform:translateY(0);transition:transform .5s ease-in-out}.gtmkit .slide-exit{transform:translateY(0)}.gtmkit .slide-exit-active{transform:translateY(100%);transition:transform .5s ease-in-out} diff --git a/assets/admin/settings.asset.php b/assets/admin/settings.asset.php index 83ae919..d908a5e 100644 --- a/assets/admin/settings.asset.php +++ b/assets/admin/settings.asset.php @@ -1 +1 @@ - array('lodash', 'react', 'react-dom', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => 'cbc566dfe02d7fc1c814'); + array('lodash', 'react', 'react-dom', 'react-jsx-runtime', 'wp-api-fetch', 'wp-components', 'wp-element', 'wp-i18n', 'wp-plugins', 'wp-primitives'), 'version' => '5c32fa74c0d2768812b2'); diff --git a/assets/admin/settings.css b/assets/admin/settings.css index ab7d338..b4c2361 100644 --- a/assets/admin/settings.css +++ b/assets/admin/settings.css @@ -1 +1 @@ -:root{--gtmkit-background-white:#fff;--gtmkit-background-grey:#f0f0f1;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777;--gtmkit-color-grey:#888;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-button:#3969bb;--gtmkit-color-success:#00a32a;--gtmkit-color-warning:orange;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled:#bbb;--gtmkit-button-disabled-bg:#f5f5f5;--gtmkit-button-disabled-border:1px solid #ddd;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397eeb;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#f8f8f8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#ddd;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.gtmkit-container{width:100%}@media(min-width:640px){.gtmkit-container{max-width:640px}}@media(min-width:768px){.gtmkit-container{max-width:768px}}@media(min-width:1024px){.gtmkit-container{max-width:1024px}}@media(min-width:1280px){.gtmkit-container{max-width:1280px}}@media(min-width:1536px){.gtmkit-container{max-width:1536px}}.gtmkit-fixed{position:fixed}.gtmkit-absolute{position:absolute}.gtmkit-relative{position:relative}.gtmkit-sticky{position:sticky}.gtmkit-inset-0{inset:0}.gtmkit-bottom-0{bottom:0}.gtmkit-z-10{z-index:10}.gtmkit-m-4{margin:1rem}.\!gtmkit-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.gtmkit-mx-auto{margin-left:auto;margin-right:auto}.gtmkit-my-16{margin-bottom:4rem;margin-top:4rem}.gtmkit-my-4{margin-bottom:1rem;margin-top:1rem}.gtmkit-my-6{margin-bottom:1.5rem;margin-top:1.5rem}.gtmkit-my-8{margin-bottom:2rem;margin-top:2rem}.\!gtmkit-mt-4{margin-top:1rem!important}.gtmkit-mb-0{margin-bottom:0}.gtmkit-mb-0\.5{margin-bottom:.125rem}.gtmkit-mb-12{margin-bottom:3rem}.gtmkit-mb-14{margin-bottom:3.5rem}.gtmkit-mb-2{margin-bottom:.5rem}.gtmkit-mb-20{margin-bottom:5rem}.gtmkit-mb-4{margin-bottom:1rem}.gtmkit-mb-5{margin-bottom:1.25rem}.gtmkit-mb-6{margin-bottom:1.5rem}.gtmkit-mb-8{margin-bottom:2rem}.gtmkit-ml-2{margin-left:.5rem}.gtmkit-ml-4{margin-left:1rem}.gtmkit-ml-6{margin-left:1.5rem}.gtmkit-mr-2{margin-right:.5rem}.gtmkit-mr-8{margin-right:2rem}.gtmkit-mt-12{margin-top:3rem}.gtmkit-mt-3{margin-top:.75rem}.gtmkit-mt-4{margin-top:1rem}.gtmkit-mt-6{margin-top:1.5rem}.gtmkit-mt-8{margin-top:2rem}.gtmkit-block{display:block}.gtmkit-inline-block{display:inline-block}.gtmkit-flex{display:flex}.gtmkit-grid{display:grid}.gtmkit-hidden{display:none}.gtmkit-h-0{height:0}.gtmkit-h-0\.5{height:.125rem}.gtmkit-h-2{height:.5rem}.gtmkit-h-2\.5{height:.625rem}.gtmkit-h-5{height:1.25rem}.gtmkit-h-8{height:2rem}.gtmkit-h-min{height:-moz-min-content;height:min-content}.gtmkit-h-screen{height:100vh}.gtmkit-min-h-\[128px\]{min-height:128px}.gtmkit-min-h-\[175px\]{min-height:175px}.gtmkit-w-2{width:.5rem}.gtmkit-w-2\.5{width:.625rem}.gtmkit-w-3\/4{width:75%}.gtmkit-w-5{width:1.25rem}.gtmkit-w-8{width:2rem}.gtmkit-w-\[225px\]{width:225px}.gtmkit-w-\[250px\]{width:250px}.gtmkit-w-full{width:100%}.gtmkit-min-w-\[225px\]{min-width:225px}.gtmkit-max-w-3xl{max-width:48rem}.gtmkit-max-w-\[1536px\]{max-width:1536px}.gtmkit-max-w-\[90\%\]{max-width:90%}.gtmkit-max-w-lg{max-width:32rem}.gtmkit-max-w-max{max-width:-moz-max-content;max-width:max-content}.gtmkit-max-w-md{max-width:28rem}.gtmkit-max-w-xl{max-width:36rem}.gtmkit-flex-auto{flex:1 1 auto}.gtmkit-shrink-0{flex-shrink:0}.gtmkit-table-fixed{table-layout:fixed}.gtmkit-cursor-pointer{cursor:pointer}.gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gtmkit-flex-col{flex-direction:column}.gtmkit-flex-wrap{flex-wrap:wrap}.gtmkit-items-center{align-items:center}.\!gtmkit-justify-start{justify-content:flex-start!important}.gtmkit-justify-center{justify-content:center}.gtmkit-justify-between{justify-content:space-between}.gtmkit-gap-16{gap:4rem}.gtmkit-gap-2{gap:.5rem}.gtmkit-gap-4{gap:1rem}.gtmkit-gap-6{gap:1.5rem}.gtmkit-gap-8{gap:2rem}.gtmkit-space-x-9>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(2.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(2.25rem*var(--tw-space-x-reverse))}.gtmkit-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-whitespace-nowrap{white-space:nowrap}.gtmkit-rounded{border-radius:.25rem}.gtmkit-rounded-full{border-radius:9999px}.gtmkit-rounded-md{border-radius:.375rem}.gtmkit-border{border-width:1px}.gtmkit-border-2{border-width:2px}.gtmkit-border-y{border-top-width:1px}.gtmkit-border-b,.gtmkit-border-y{border-bottom-width:1px}.gtmkit-border-b-2{border-bottom-width:2px}.gtmkit-border-b-4{border-bottom-width:4px}.gtmkit-border-t-0{border-top-width:0}.gtmkit-border-t-4{border-top-width:4px}.gtmkit-border-color-border{border-color:var(--gtmkit-border-color)}.gtmkit-border-color-grey{border-color:var(--gtmkit-color-grey)}.gtmkit-border-color-primary{border-color:var(--gtmkit-color-primary)}.gtmkit-border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.gtmkit-border-b-color-primary{border-bottom-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-background-disabled{background-color:var(--gtmkit-button-disabled-bg)}.gtmkit-bg-color-border{background-color:var(--gtmkit-border-color)}.gtmkit-bg-color-button-disabled{background-color:var(--gtmkit-button-disabled)}.gtmkit-bg-color-error{background-color:var(--gtmkit-color-error)}.gtmkit-bg-color-grey{background-color:var(--gtmkit-color-grey)}.gtmkit-bg-color-primary{background-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-success{background-color:var(--gtmkit-color-success)}.gtmkit-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.gtmkit-p-3{padding:.75rem}.gtmkit-p-6{padding:1.5rem}.gtmkit-p-8{padding:2rem}.\!gtmkit-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!gtmkit-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.\!gtmkit-px-8{padding-left:2rem!important;padding-right:2rem!important}.\!gtmkit-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.\!gtmkit-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.\!gtmkit-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.gtmkit-px-16{padding-left:4rem;padding-right:4rem}.gtmkit-px-2{padding-left:.5rem;padding-right:.5rem}.gtmkit-px-20{padding-left:5rem;padding-right:5rem}.gtmkit-px-3{padding-left:.75rem;padding-right:.75rem}.gtmkit-px-4{padding-left:1rem;padding-right:1rem}.gtmkit-px-5{padding-left:1.25rem;padding-right:1.25rem}.gtmkit-px-6{padding-left:1.5rem;padding-right:1.5rem}.gtmkit-px-8{padding-left:2rem;padding-right:2rem}.gtmkit-py-1{padding-bottom:.25rem;padding-top:.25rem}.gtmkit-py-12{padding-bottom:3rem;padding-top:3rem}.gtmkit-py-2{padding-bottom:.5rem;padding-top:.5rem}.gtmkit-py-3{padding-bottom:.75rem;padding-top:.75rem}.gtmkit-py-4{padding-bottom:1rem;padding-top:1rem}.gtmkit-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.gtmkit-py-px{padding-bottom:1px;padding-top:1px}.gtmkit-pb-6{padding-bottom:1.5rem}.gtmkit-pb-\[18px\]{padding-bottom:18px}.gtmkit-pt-3{padding-top:.75rem}.gtmkit-pt-4{padding-top:1rem}.gtmkit-pt-5{padding-top:1.25rem}.gtmkit-pt-8{padding-top:2rem}.gtmkit-text-left{text-align:left}.gtmkit-text-center{text-align:center}.\!gtmkit-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.gtmkit-text-2xl{font-size:1.5rem;line-height:2rem}.gtmkit-text-3xl{font-size:1.875rem;line-height:2.25rem}.gtmkit-text-4xl{font-size:2.25rem;line-height:2.5rem}.gtmkit-text-\[15px\]{font-size:15px}.gtmkit-text-base{font-size:1rem;line-height:1.5rem}.gtmkit-text-lg{font-size:1.125rem;line-height:1.75rem}.gtmkit-text-sm{font-size:.875rem;line-height:1.25rem}.gtmkit-text-xl{font-size:1.25rem;line-height:1.75rem}.gtmkit-text-xs{font-size:.75rem;line-height:1rem}.gtmkit-font-bold{font-weight:700}.gtmkit-font-light{font-weight:300}.gtmkit-font-medium{font-weight:500}.gtmkit-font-semibold{font-weight:600}.gtmkit-uppercase{text-transform:uppercase}.gtmkit-leading-5{line-height:1.25rem}.gtmkit-leading-\[1\.125rem\]{line-height:1.125rem}.gtmkit-text-color-grey{color:var(--gtmkit-color-grey)}.gtmkit-text-color-heading{color:var(--gtmkit-text-color-heading)}.gtmkit-text-color-primary{color:var(--gtmkit-color-primary)}.gtmkit-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.gtmkit-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.gtmkit-underline{text-decoration-line:underline}.gtmkit-opacity-100{opacity:1}.gtmkit-opacity-30{opacity:.3}.gtmkit-opacity-60{opacity:.6}.gtmkit-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.gtmkit-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.gtmkit-ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.gtmkit-ring-opacity-5{--tw-ring-opacity:0.05}.gtmkit-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.gtmkit-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.gtmkit-duration-500{transition-duration:.5s}.hover\:gtmkit-border-color-grey:hover{border-color:var(--gtmkit-color-grey)}.hover\:gtmkit-underline:hover{text-decoration-line:underline}.disabled\:\!gtmkit-bg-color-button-disabled:disabled{background-color:var(--gtmkit-button-disabled)!important}.disabled\:\!gtmkit-text-color-grey:disabled{color:var(--gtmkit-color-grey)!important}@media(min-width:640px){.sm\:gtmkit-w-auto{width:auto}}@media(min-width:768px){.md\:gtmkit-mt-10{margin-top:2.5rem}.md\:gtmkit-mt-12{margin-top:3rem}.md\:gtmkit-mt-16{margin-top:4rem}.md\:gtmkit-mt-8{margin-top:2rem}.md\:gtmkit-grid{display:grid}.md\:gtmkit-max-w-xl{max-width:36rem}}@media(min-width:1024px){.lg\:gtmkit-grid{display:grid}.lg\:gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:gtmkit-justify-between{justify-content:space-between}}@media(min-width:1280px){.xl\:gtmkit-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.gtmkit #wpcontent{padding-left:0!important}.gtmkit #wpcontent *,.gtmkit #wpcontent :after,.gtmkit #wpcontent :before{box-sizing:border-box}.gtmkit a{font-size:14px}.gtmkit a:focus{box-shadow:none}.gtmkit p{font-size:14px}.gtmkit .components-button.is-primary{background-color:var(--gtmkit-color-button)}.gtmkit .components-button .components-spinner{margin:0 0 0 1rem}.gtmkit-settings-field-wrap .components-base-control.components-toggle-control{line-height:1.5em}.gtmkit-settings-field-wrap .components-base-control__label{font-size:14px;font-weight:600;text-transform:none}.gtmkit .slide-appear,.gtmkit .slide-enter{transform:translateY(100%)}.gtmkit .slide-appear-active,.gtmkit .slide-enter-active{transform:translateY(0);transition:transform .5s ease-in-out}.gtmkit .slide-exit{transform:translateY(0)}.gtmkit .slide-exit-active{transform:translateY(100%);transition:transform .5s ease-in-out} +:root{--gtmkit-background-white:#fff;--gtmkit-background-grey:#f0f0f1;--gtmkit-border-color:#ddd;--gtmkit-text-color-heading:#454545;--gtmkit-text-color-grey:#777;--gtmkit-color-grey:#888;--gtmkit-color-primary:#3969bb;--gtmkit-color-secondary:#00a32a;--gtmkit-color-button:#3969bb;--gtmkit-color-success:#00a32a;--gtmkit-color-warning:orange;--gtmkit-color-error:red;--gtmkit-space-h:2rem;--gtmkit-space-v:1.5rem;--gtmkit-font-size-l:18px;--gtmkit-font-size-m:16px;--gtmkit-font-size-s:14px;--gtmkit-font-size-xl:22px;--gtmkit-font-size-xs:12px;--gtmkit-font-size-xxl:24px;--gtmkit-button-disabled:#bbb;--gtmkit-button-disabled-bg:#f5f5f5;--gtmkit-button-disabled-border:1px solid #ddd;--gtmkit-button-disabled-text:#bbb;--gtmkit-button-primary-bg:var(--gtmkit-color-primary);--gtmkit-button-primary-bg-hover:#397eeb;--gtmkit-button-primary-text:#fff;--gtmkit-button-primary-text-hover:#fff;--gtmkit-button-secondary-bg:#f8f8f8;--gtmkit-button-secondary-bg-hover:#fff;--gtmkit-button-secondary-border:#ddd;--gtmkit-button-secondary-text:#777;--gtmkit-button-secondary-text-hover:#454545}*,:after,:before{border:0 solid #e5e7eb;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji;font-variation-settings:normal;line-height:1.5;-moz-tab-size:4;-o-tab-size:4;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{color:#9ca3af;opacity:1}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.gtmkit-container{width:100%}@media(min-width:640px){.gtmkit-container{max-width:640px}}@media(min-width:768px){.gtmkit-container{max-width:768px}}@media(min-width:1024px){.gtmkit-container{max-width:1024px}}@media(min-width:1280px){.gtmkit-container{max-width:1280px}}@media(min-width:1536px){.gtmkit-container{max-width:1536px}}.gtmkit-fixed{position:fixed}.gtmkit-absolute{position:absolute}.gtmkit-relative{position:relative}.gtmkit-sticky{position:sticky}.gtmkit-inset-0{inset:0}.gtmkit-bottom-0{bottom:0}.gtmkit-z-10{z-index:10}.gtmkit-m-4{margin:1rem}.\!gtmkit-my-6{margin-bottom:1.5rem!important;margin-top:1.5rem!important}.gtmkit-mx-auto{margin-left:auto;margin-right:auto}.gtmkit-my-16{margin-bottom:4rem;margin-top:4rem}.gtmkit-my-4{margin-bottom:1rem;margin-top:1rem}.gtmkit-my-6{margin-bottom:1.5rem;margin-top:1.5rem}.gtmkit-my-8{margin-bottom:2rem;margin-top:2rem}.\!gtmkit-mt-4{margin-top:1rem!important}.gtmkit-mb-0{margin-bottom:0}.gtmkit-mb-0\.5{margin-bottom:.125rem}.gtmkit-mb-12{margin-bottom:3rem}.gtmkit-mb-14{margin-bottom:3.5rem}.gtmkit-mb-2{margin-bottom:.5rem}.gtmkit-mb-20{margin-bottom:5rem}.gtmkit-mb-4{margin-bottom:1rem}.gtmkit-mb-5{margin-bottom:1.25rem}.gtmkit-mb-6{margin-bottom:1.5rem}.gtmkit-mb-8{margin-bottom:2rem}.gtmkit-ml-2{margin-left:.5rem}.gtmkit-ml-4{margin-left:1rem}.gtmkit-ml-6{margin-left:1.5rem}.gtmkit-mr-2{margin-right:.5rem}.gtmkit-mr-8{margin-right:2rem}.gtmkit-mt-12{margin-top:3rem}.gtmkit-mt-3{margin-top:.75rem}.gtmkit-mt-4{margin-top:1rem}.gtmkit-mt-6{margin-top:1.5rem}.gtmkit-mt-8{margin-top:2rem}.gtmkit-block{display:block}.gtmkit-inline-block{display:inline-block}.gtmkit-flex{display:flex}.gtmkit-grid{display:grid}.gtmkit-hidden{display:none}.gtmkit-h-0{height:0}.gtmkit-h-0\.5{height:.125rem}.gtmkit-h-2{height:.5rem}.gtmkit-h-2\.5{height:.625rem}.gtmkit-h-5{height:1.25rem}.gtmkit-h-8{height:2rem}.gtmkit-h-min{height:-moz-min-content;height:min-content}.gtmkit-h-screen{height:100vh}.gtmkit-min-h-\[128px\]{min-height:128px}.gtmkit-min-h-\[175px\]{min-height:175px}.gtmkit-w-2{width:.5rem}.gtmkit-w-2\.5{width:.625rem}.gtmkit-w-3\/4{width:75%}.gtmkit-w-5{width:1.25rem}.gtmkit-w-8{width:2rem}.gtmkit-w-\[225px\]{width:225px}.gtmkit-w-\[250px\]{width:250px}.gtmkit-w-full{width:100%}.gtmkit-min-w-\[225px\]{min-width:225px}.gtmkit-max-w-3xl{max-width:48rem}.gtmkit-max-w-\[1536px\]{max-width:1536px}.gtmkit-max-w-\[90\%\]{max-width:90%}.gtmkit-max-w-lg{max-width:32rem}.gtmkit-max-w-max{max-width:-moz-max-content;max-width:max-content}.gtmkit-max-w-md{max-width:28rem}.gtmkit-max-w-xl{max-width:36rem}.gtmkit-flex-auto{flex:1 1 auto}.gtmkit-shrink-0{flex-shrink:0}.gtmkit-table-fixed{table-layout:fixed}.gtmkit-cursor-pointer{cursor:pointer}.gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.gtmkit-flex-col{flex-direction:column}.gtmkit-flex-wrap{flex-wrap:wrap}.gtmkit-items-center{align-items:center}.\!gtmkit-justify-start{justify-content:flex-start!important}.gtmkit-justify-center{justify-content:center}.gtmkit-justify-between{justify-content:space-between}.gtmkit-gap-16{gap:4rem}.gtmkit-gap-2{gap:.5rem}.gtmkit-gap-4{gap:1rem}.gtmkit-gap-6{gap:1.5rem}.gtmkit-gap-8{gap:2rem}.gtmkit-gap-x-16{-moz-column-gap:4rem;column-gap:4rem}.gtmkit-space-x-9>:not([hidden])~:not([hidden]){--tw-space-x-reverse:0;margin-left:calc(2.25rem*(1 - var(--tw-space-x-reverse)));margin-right:calc(2.25rem*var(--tw-space-x-reverse))}.gtmkit-space-y-1>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.25rem*var(--tw-space-y-reverse));margin-top:calc(.25rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.5rem*var(--tw-space-y-reverse));margin-top:calc(.5rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(1rem*var(--tw-space-y-reverse));margin-top:calc(1rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-space-y-8>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(2rem*var(--tw-space-y-reverse));margin-top:calc(2rem*(1 - var(--tw-space-y-reverse)))}.gtmkit-whitespace-nowrap{white-space:nowrap}.gtmkit-rounded{border-radius:.25rem}.gtmkit-rounded-full{border-radius:9999px}.gtmkit-rounded-md{border-radius:.375rem}.gtmkit-border{border-width:1px}.gtmkit-border-2{border-width:2px}.gtmkit-border-y{border-top-width:1px}.gtmkit-border-b,.gtmkit-border-y{border-bottom-width:1px}.gtmkit-border-b-2{border-bottom-width:2px}.gtmkit-border-b-4{border-bottom-width:4px}.gtmkit-border-t-0{border-top-width:0}.gtmkit-border-t-4{border-top-width:4px}.gtmkit-border-color-border{border-color:var(--gtmkit-border-color)}.gtmkit-border-color-grey{border-color:var(--gtmkit-color-grey)}.gtmkit-border-color-primary{border-color:var(--gtmkit-color-primary)}.gtmkit-border-white{--tw-border-opacity:1;border-color:rgb(255 255 255/var(--tw-border-opacity))}.gtmkit-border-b-color-primary{border-bottom-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-background-disabled{background-color:var(--gtmkit-button-disabled-bg)}.gtmkit-bg-color-border{background-color:var(--gtmkit-border-color)}.gtmkit-bg-color-button-disabled{background-color:var(--gtmkit-button-disabled)}.gtmkit-bg-color-error{background-color:var(--gtmkit-color-error)}.gtmkit-bg-color-grey{background-color:var(--gtmkit-color-grey)}.gtmkit-bg-color-primary{background-color:var(--gtmkit-color-primary)}.gtmkit-bg-color-success{background-color:var(--gtmkit-color-success)}.gtmkit-bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.gtmkit-p-3{padding:.75rem}.gtmkit-p-6{padding:1.5rem}.gtmkit-p-8{padding:2rem}.\!gtmkit-px-3{padding-left:.75rem!important;padding-right:.75rem!important}.\!gtmkit-px-6{padding-left:1.5rem!important;padding-right:1.5rem!important}.\!gtmkit-px-8{padding-left:2rem!important;padding-right:2rem!important}.\!gtmkit-py-1{padding-bottom:.25rem!important;padding-top:.25rem!important}.\!gtmkit-py-4{padding-bottom:1rem!important;padding-top:1rem!important}.\!gtmkit-py-6{padding-bottom:1.5rem!important;padding-top:1.5rem!important}.gtmkit-px-16{padding-left:4rem;padding-right:4rem}.gtmkit-px-2{padding-left:.5rem;padding-right:.5rem}.gtmkit-px-20{padding-left:5rem;padding-right:5rem}.gtmkit-px-3{padding-left:.75rem;padding-right:.75rem}.gtmkit-px-4{padding-left:1rem;padding-right:1rem}.gtmkit-px-5{padding-left:1.25rem;padding-right:1.25rem}.gtmkit-px-6{padding-left:1.5rem;padding-right:1.5rem}.gtmkit-px-8{padding-left:2rem;padding-right:2rem}.gtmkit-py-1{padding-bottom:.25rem;padding-top:.25rem}.gtmkit-py-12{padding-bottom:3rem;padding-top:3rem}.gtmkit-py-2{padding-bottom:.5rem;padding-top:.5rem}.gtmkit-py-3{padding-bottom:.75rem;padding-top:.75rem}.gtmkit-py-4{padding-bottom:1rem;padding-top:1rem}.gtmkit-py-6{padding-bottom:1.5rem;padding-top:1.5rem}.gtmkit-py-px{padding-bottom:1px;padding-top:1px}.gtmkit-px-1{padding-left:.25rem;padding-right:.25rem}.gtmkit-px-1\.5{padding-left:.375rem;padding-right:.375rem}.gtmkit-pb-6{padding-bottom:1.5rem}.gtmkit-pb-\[18px\]{padding-bottom:18px}.gtmkit-pt-3{padding-top:.75rem}.gtmkit-pt-4{padding-top:1rem}.gtmkit-pt-5{padding-top:1.25rem}.gtmkit-pt-8{padding-top:2rem}.gtmkit-text-left{text-align:left}.gtmkit-text-center{text-align:center}.\!gtmkit-text-lg{font-size:1.125rem!important;line-height:1.75rem!important}.gtmkit-text-2xl{font-size:1.5rem;line-height:2rem}.gtmkit-text-3xl{font-size:1.875rem;line-height:2.25rem}.gtmkit-text-4xl{font-size:2.25rem;line-height:2.5rem}.gtmkit-text-\[15px\]{font-size:15px}.gtmkit-text-base{font-size:1rem;line-height:1.5rem}.gtmkit-text-lg{font-size:1.125rem;line-height:1.75rem}.gtmkit-text-sm{font-size:.875rem;line-height:1.25rem}.gtmkit-text-xl{font-size:1.25rem;line-height:1.75rem}.gtmkit-text-xs{font-size:.75rem;line-height:1rem}.gtmkit-font-bold{font-weight:700}.gtmkit-font-light{font-weight:300}.gtmkit-font-medium{font-weight:500}.gtmkit-font-semibold{font-weight:600}.gtmkit-uppercase{text-transform:uppercase}.gtmkit-leading-5{line-height:1.25rem}.gtmkit-leading-\[1\.125rem\]{line-height:1.125rem}.gtmkit-text-color-grey{color:var(--gtmkit-color-grey)}.gtmkit-text-color-heading{color:var(--gtmkit-text-color-heading)}.gtmkit-text-color-primary{color:var(--gtmkit-color-primary)}.gtmkit-text-red-600{--tw-text-opacity:1;color:rgb(220 38 38/var(--tw-text-opacity))}.gtmkit-text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.gtmkit-underline{text-decoration-line:underline}.gtmkit-opacity-100{opacity:1}.gtmkit-opacity-30{opacity:.3}.gtmkit-opacity-60{opacity:.6}.gtmkit-shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)}.gtmkit-ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)}.gtmkit-ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.gtmkit-ring-opacity-5{--tw-ring-opacity:0.05}.gtmkit-drop-shadow-md{--tw-drop-shadow:drop-shadow(0 4px 3px rgba(0,0,0,.07)) drop-shadow(0 2px 2px rgba(0,0,0,.06));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)}.gtmkit-transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.gtmkit-duration-500{transition-duration:.5s}.hover\:gtmkit-border-color-grey:hover{border-color:var(--gtmkit-color-grey)}.hover\:gtmkit-underline:hover{text-decoration-line:underline}.disabled\:\!gtmkit-bg-color-button-disabled:disabled{background-color:var(--gtmkit-button-disabled)!important}.disabled\:\!gtmkit-text-color-grey:disabled{color:var(--gtmkit-color-grey)!important}@media(min-width:640px){.sm\:gtmkit-w-auto{width:auto}}@media(min-width:768px){.md\:gtmkit-mt-10{margin-top:2.5rem}.md\:gtmkit-mt-12{margin-top:3rem}.md\:gtmkit-mt-16{margin-top:4rem}.md\:gtmkit-mt-8{margin-top:2rem}.md\:gtmkit-grid{display:grid}.md\:gtmkit-max-w-xl{max-width:36rem}}@media(min-width:1024px){.lg\:gtmkit-grid{display:grid}.lg\:gtmkit-grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:gtmkit-justify-between{justify-content:space-between}}@media(min-width:1280px){.xl\:gtmkit-grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}}.gtmkit #wpcontent{padding-left:0!important}.gtmkit #wpcontent *,.gtmkit #wpcontent :after,.gtmkit #wpcontent :before{box-sizing:border-box}.gtmkit a{font-size:14px}.gtmkit a:focus{box-shadow:none}.gtmkit p{font-size:14px}.gtmkit .components-button.is-primary{background-color:var(--gtmkit-color-button)}.gtmkit .components-button .components-spinner{margin:0 0 0 1rem}.gtmkit-settings-field-wrap .components-base-control.components-toggle-control{line-height:1.5em}.gtmkit-settings-field-wrap .components-base-control__label{font-size:14px;font-weight:600;text-transform:none}.gtmkit .slide-appear,.gtmkit .slide-enter{transform:translateY(100%)}.gtmkit .slide-appear-active,.gtmkit .slide-enter-active{transform:translateY(0);transition:transform .5s ease-in-out}.gtmkit .slide-exit{transform:translateY(0)}.gtmkit .slide-exit-active{transform:translateY(100%);transition:transform .5s ease-in-out} diff --git a/assets/admin/settings.js b/assets/admin/settings.js index 2584d89..1defb8e 100644 --- a/assets/admin/settings.js +++ b/assets/admin/settings.js @@ -1,13 +1,13 @@ -(()=>{var t={856:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:a}=Object;let{freeze:o,seal:r,create:s}=Object,{apply:l,construct:m}="undefined"!=typeof Reflect&&Reflect;o||(o=function(t){return t}),r||(r=function(t){return t}),l||(l=function(t,e,n){return t.apply(e,n)}),m||(m=function(t,e){return new t(...e)});const c=v(Array.prototype.forEach),u=v(Array.prototype.pop),g=v(Array.prototype.push),d=v(String.prototype.toLowerCase),p=v(String.prototype.toString),h=v(String.prototype.match),_=v(String.prototype.replace),f=v(String.prototype.indexOf),k=v(String.prototype.trim),E=v(Object.prototype.hasOwnProperty),S=v(RegExp.prototype.test),b=(y=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n1?n-1:0),a=1;a2&&void 0!==arguments[2]?arguments[2]:d;e&&e(t,null);let o=i.length;for(;o--;){let e=i[o];if("string"==typeof e){const t=a(e);t!==e&&(n(i)||(i[o]=t),e=t)}t[e]=!0}return t}function N(t){for(let e=0;e/gm),H=r(/\${[\w\W]*}/gm),B=r(/^data-[\-\w.\u00B7-\uFFFF]/),W=r(/^aria-[\-\w]+$/),K=r(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),z=r(/^(?:\w+script|data):/i),$=r(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Y=r(/^html$/i),J=r(/^[a-z][.\w]*(-[.\w]+)+$/i);var q=Object.freeze({__proto__:null,MUSTACHE_EXPR:G,ERB_EXPR:F,TMPLIT_EXPR:H,DATA_ATTR:B,ARIA_ATTR:W,IS_ALLOWED_URI:K,IS_SCRIPT_OR_DATA:z,ATTR_WHITESPACE:$,DOCTYPE_NAME:Y,CUSTOM_ELEMENT:J});const V=1,X=3,Z=7,Q=8,tt=9,et=function(){return"undefined"==typeof window?null:window};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:et();const i=t=>e(t);if(i.version="3.1.6",i.removed=[],!n||!n.document||n.document.nodeType!==tt)return i.isSupported=!1,i;let{document:a}=n;const r=a,l=r.currentScript,{DocumentFragment:m,HTMLTemplateElement:y,Node:v,Element:N,NodeFilter:G,NamedNodeMap:F=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:H,DOMParser:B,trustedTypes:W}=n,z=N.prototype,$=T(z,"cloneNode"),J=T(z,"remove"),nt=T(z,"nextSibling"),it=T(z,"childNodes"),at=T(z,"parentNode");if("function"==typeof y){const t=a.createElement("template");t.content&&t.content.ownerDocument&&(a=t.content.ownerDocument)}let ot,rt="";const{implementation:st,createNodeIterator:lt,createDocumentFragment:mt,getElementsByTagName:ct}=a,{importNode:ut}=r;let gt={};i.isSupported="function"==typeof t&&"function"==typeof at&&st&&void 0!==st.createHTMLDocument;const{MUSTACHE_EXPR:dt,ERB_EXPR:pt,TMPLIT_EXPR:ht,DATA_ATTR:_t,ARIA_ATTR:ft,IS_SCRIPT_OR_DATA:kt,ATTR_WHITESPACE:Et,CUSTOM_ELEMENT:St}=q;let{IS_ALLOWED_URI:bt}=q,yt=null;const vt=x({},[...C,...D,...U,...O,...I]);let xt=null;const Nt=x({},[...R,...L,...P,...M]);let wt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Tt=null,Ct=null,Dt=!0,Ut=!0,At=!1,Ot=!0,jt=!1,It=!0,Rt=!1,Lt=!1,Pt=!1,Mt=!1,Gt=!1,Ft=!1,Ht=!0,Bt=!1,Wt=!0,Kt=!1,zt={},$t=null;const Yt=x({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let Jt=null;const qt=x({},["audio","video","img","source","image","track"]);let Vt=null;const Xt=x({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Zt="http://www.w3.org/1998/Math/MathML",Qt="http://www.w3.org/2000/svg",te="http://www.w3.org/1999/xhtml";let ee=te,ne=!1,ie=null;const ae=x({},[Zt,Qt,te],p);let oe=null;const re=["application/xhtml+xml","text/html"];let se=null,le=null;const me=a.createElement("form"),ce=function(t){return t instanceof RegExp||t instanceof Function},ue=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!le||le!==t){if(t&&"object"==typeof t||(t={}),t=w(t),oe=-1===re.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,se="application/xhtml+xml"===oe?p:d,yt=E(t,"ALLOWED_TAGS")?x({},t.ALLOWED_TAGS,se):vt,xt=E(t,"ALLOWED_ATTR")?x({},t.ALLOWED_ATTR,se):Nt,ie=E(t,"ALLOWED_NAMESPACES")?x({},t.ALLOWED_NAMESPACES,p):ae,Vt=E(t,"ADD_URI_SAFE_ATTR")?x(w(Xt),t.ADD_URI_SAFE_ATTR,se):Xt,Jt=E(t,"ADD_DATA_URI_TAGS")?x(w(qt),t.ADD_DATA_URI_TAGS,se):qt,$t=E(t,"FORBID_CONTENTS")?x({},t.FORBID_CONTENTS,se):Yt,Tt=E(t,"FORBID_TAGS")?x({},t.FORBID_TAGS,se):{},Ct=E(t,"FORBID_ATTR")?x({},t.FORBID_ATTR,se):{},zt=!!E(t,"USE_PROFILES")&&t.USE_PROFILES,Dt=!1!==t.ALLOW_ARIA_ATTR,Ut=!1!==t.ALLOW_DATA_ATTR,At=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Ot=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,jt=t.SAFE_FOR_TEMPLATES||!1,It=!1!==t.SAFE_FOR_XML,Rt=t.WHOLE_DOCUMENT||!1,Mt=t.RETURN_DOM||!1,Gt=t.RETURN_DOM_FRAGMENT||!1,Ft=t.RETURN_TRUSTED_TYPE||!1,Pt=t.FORCE_BODY||!1,Ht=!1!==t.SANITIZE_DOM,Bt=t.SANITIZE_NAMED_PROPS||!1,Wt=!1!==t.KEEP_CONTENT,Kt=t.IN_PLACE||!1,bt=t.ALLOWED_URI_REGEXP||K,ee=t.NAMESPACE||te,wt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(wt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ce(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(wt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(wt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),jt&&(Ut=!1),Gt&&(Mt=!0),zt&&(yt=x({},I),xt=[],!0===zt.html&&(x(yt,C),x(xt,R)),!0===zt.svg&&(x(yt,D),x(xt,L),x(xt,M)),!0===zt.svgFilters&&(x(yt,U),x(xt,L),x(xt,M)),!0===zt.mathMl&&(x(yt,O),x(xt,P),x(xt,M))),t.ADD_TAGS&&(yt===vt&&(yt=w(yt)),x(yt,t.ADD_TAGS,se)),t.ADD_ATTR&&(xt===Nt&&(xt=w(xt)),x(xt,t.ADD_ATTR,se)),t.ADD_URI_SAFE_ATTR&&x(Vt,t.ADD_URI_SAFE_ATTR,se),t.FORBID_CONTENTS&&($t===Yt&&($t=w($t)),x($t,t.FORBID_CONTENTS,se)),Wt&&(yt["#text"]=!0),Rt&&x(yt,["html","head","body"]),yt.table&&(x(yt,["tbody"]),delete Tt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw b('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');ot=t.TRUSTED_TYPES_POLICY,rt=ot.createHTML("")}else void 0===ot&&(ot=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+a+" could not be created."),null}}(W,l)),null!==ot&&"string"==typeof rt&&(rt=ot.createHTML(""));o&&o(t),le=t}},ge=x({},["mi","mo","mn","ms","mtext"]),de=x({},["foreignobject","annotation-xml"]),pe=x({},["title","style","font","a","script"]),he=x({},[...D,...U,...A]),_e=x({},[...O,...j]),fe=function(t){g(i.removed,{element:t});try{at(t).removeChild(t)}catch(e){J(t)}},ke=function(t,e){try{g(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){g(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!xt[t])if(Mt||Gt)try{fe(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},Ee=function(t){let e=null,n=null;if(Pt)t=""+t;else{const e=h(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===oe&&ee===te&&(t=''+t+"");const i=ot?ot.createHTML(t):t;if(ee===te)try{e=(new B).parseFromString(i,oe)}catch(t){}if(!e||!e.documentElement){e=st.createDocument(ee,"template",null);try{e.documentElement.innerHTML=ne?rt:i}catch(t){}}const o=e.body||e.documentElement;return t&&n&&o.insertBefore(a.createTextNode(n),o.childNodes[0]||null),ee===te?ct.call(e,Rt?"html":"body")[0]:Rt?e.documentElement:o},Se=function(t){return lt.call(t.ownerDocument||t,t,G.SHOW_ELEMENT|G.SHOW_COMMENT|G.SHOW_TEXT|G.SHOW_PROCESSING_INSTRUCTION|G.SHOW_CDATA_SECTION,null)},be=function(t){return t instanceof H&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof F)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},ye=function(t){return"function"==typeof v&&t instanceof v},ve=function(t,e,n){gt[t]&&c(gt[t],(t=>{t.call(i,e,n,le)}))},xe=function(t){let e=null;if(ve("beforeSanitizeElements",t,null),be(t))return fe(t),!0;const n=se(t.nodeName);if(ve("uponSanitizeElement",t,{tagName:n,allowedTags:yt}),t.hasChildNodes()&&!ye(t.firstElementChild)&&S(/<[/\w]/g,t.innerHTML)&&S(/<[/\w]/g,t.textContent))return fe(t),!0;if(t.nodeType===Z)return fe(t),!0;if(It&&t.nodeType===Q&&S(/<[/\w]/g,t.data))return fe(t),!0;if(!yt[n]||Tt[n]){if(!Tt[n]&&we(n)){if(wt.tagNameCheck instanceof RegExp&&S(wt.tagNameCheck,n))return!1;if(wt.tagNameCheck instanceof Function&&wt.tagNameCheck(n))return!1}if(Wt&&!$t[n]){const e=at(t)||t.parentNode,n=it(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i){const a=$(n[i],!0);a.__removalCount=(t.__removalCount||0)+1,e.insertBefore(a,nt(t))}}return fe(t),!0}return t instanceof N&&!function(t){let e=at(t);e&&e.tagName||(e={namespaceURI:ee,tagName:"template"});const n=d(t.tagName),i=d(e.tagName);return!!ie[t.namespaceURI]&&(t.namespaceURI===Qt?e.namespaceURI===te?"svg"===n:e.namespaceURI===Zt?"svg"===n&&("annotation-xml"===i||ge[i]):Boolean(he[n]):t.namespaceURI===Zt?e.namespaceURI===te?"math"===n:e.namespaceURI===Qt?"math"===n&&de[i]:Boolean(_e[n]):t.namespaceURI===te?!(e.namespaceURI===Qt&&!de[i])&&!(e.namespaceURI===Zt&&!ge[i])&&!_e[n]&&(pe[n]||!he[n]):!("application/xhtml+xml"!==oe||!ie[t.namespaceURI]))}(t)?(fe(t),!0):"noscript"!==n&&"noembed"!==n&&"noframes"!==n||!S(/<\/no(script|embed|frames)/i,t.innerHTML)?(jt&&t.nodeType===X&&(e=t.textContent,c([dt,pt,ht],(t=>{e=_(e,t," ")})),t.textContent!==e&&(g(i.removed,{element:t.cloneNode()}),t.textContent=e)),ve("afterSanitizeElements",t,null),!1):(fe(t),!0)},Ne=function(t,e,n){if(Ht&&("id"===e||"name"===e)&&(n in a||n in me))return!1;if(Ut&&!Ct[e]&&S(_t,e));else if(Dt&&S(ft,e));else if(!xt[e]||Ct[e]){if(!(we(t)&&(wt.tagNameCheck instanceof RegExp&&S(wt.tagNameCheck,t)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(t))&&(wt.attributeNameCheck instanceof RegExp&&S(wt.attributeNameCheck,e)||wt.attributeNameCheck instanceof Function&&wt.attributeNameCheck(e))||"is"===e&&wt.allowCustomizedBuiltInElements&&(wt.tagNameCheck instanceof RegExp&&S(wt.tagNameCheck,n)||wt.tagNameCheck instanceof Function&&wt.tagNameCheck(n))))return!1}else if(Vt[e]);else if(S(bt,_(n,Et,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==f(n,"data:")||!Jt[t])if(At&&!S(kt,_(n,Et,"")));else if(n)return!1;return!0},we=function(t){return"annotation-xml"!==t&&h(t,St)},Te=function(t){ve("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:xt};let a=e.length;for(;a--;){const o=e[a],{name:r,namespaceURI:s,value:l}=o,m=se(r);let g="value"===r?l:k(l);if(n.attrName=m,n.attrValue=g,n.keepAttr=!0,n.forceKeepAttr=void 0,ve("uponSanitizeAttribute",t,n),g=n.attrValue,It&&S(/((--!?|])>)|<\/(style|title)/i,g)){ke(r,t);continue}if(n.forceKeepAttr)continue;if(ke(r,t),!n.keepAttr)continue;if(!Ot&&S(/\/>/i,g)){ke(r,t);continue}jt&&c([dt,pt,ht],(t=>{g=_(g,t," ")}));const d=se(t.nodeName);if(Ne(d,m,g)){if(!Bt||"id"!==m&&"name"!==m||(ke(r,t),g="user-content-"+g),ot&&"object"==typeof W&&"function"==typeof W.getAttributeType)if(s);else switch(W.getAttributeType(d,m)){case"TrustedHTML":g=ot.createHTML(g);break;case"TrustedScriptURL":g=ot.createScriptURL(g)}try{s?t.setAttributeNS(s,r,g):t.setAttribute(r,g),be(t)?fe(t):u(i.removed)}catch(t){}}}ve("afterSanitizeAttributes",t,null)},Ce=function t(e){let n=null;const i=Se(e);for(ve("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)ve("uponSanitizeShadowNode",n,null),xe(n)||(n.content instanceof m&&t(n.content),Te(n));ve("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,o=null,s=null;if(ne=!t,ne&&(t="\x3c!--\x3e"),"string"!=typeof t&&!ye(t)){if("function"!=typeof t.toString)throw b("toString is not a function");if("string"!=typeof(t=t.toString()))throw b("dirty is not a string, aborting")}if(!i.isSupported)return t;if(Lt||ue(e),i.removed=[],"string"==typeof t&&(Kt=!1),Kt){if(t.nodeName){const e=se(t.nodeName);if(!yt[e]||Tt[e])throw b("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof v)n=Ee("\x3c!----\x3e"),a=n.ownerDocument.importNode(t,!0),a.nodeType===V&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a);else{if(!Mt&&!jt&&!Rt&&-1===t.indexOf("<"))return ot&&Ft?ot.createHTML(t):t;if(n=Ee(t),!n)return Mt?null:Ft?rt:""}n&&Pt&&fe(n.firstChild);const l=Se(Kt?t:n);for(;o=l.nextNode();)xe(o)||(o.content instanceof m&&Ce(o.content),Te(o));if(Kt)return t;if(Mt){if(Gt)for(s=mt.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(xt.shadowroot||xt.shadowrootmode)&&(s=ut.call(r,s,!0)),s}let u=Rt?n.outerHTML:n.innerHTML;return Rt&&yt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&S(Y,n.ownerDocument.doctype.name)&&(u="\n"+u),jt&&c([dt,pt,ht],(t=>{u=_(u,t," ")})),ot&&Ft?ot.createHTML(u):u},i.setConfig=function(){ue(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),Lt=!0},i.clearConfig=function(){le=null,Lt=!1},i.isValidAttribute=function(t,e,n){le||ue({});const i=se(t),a=se(e);return Ne(i,a,n)},i.addHook=function(t,e){"function"==typeof e&&(gt[t]=gt[t]||[],g(gt[t],e))},i.removeHook=function(t){if(gt[t])return u(gt[t])},i.removeHooks=function(t){gt[t]&&(gt[t]=[])},i.removeAllHooks=function(){gt={}},i}()}()},251:(t,e,n)=>{"use strict";var i=n(196),a=Symbol.for("react.element"),o=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function m(t,e,n){var i,o={},m=null,c=null;for(i in void 0!==n&&(m=""+n),void 0!==e.key&&(m=""+e.key),void 0!==e.ref&&(c=e.ref),e)r.call(e,i)&&!l.hasOwnProperty(i)&&(o[i]=e[i]);if(t&&t.defaultProps)for(i in e=t.defaultProps)void 0===o[i]&&(o[i]=e[i]);return{$$typeof:a,type:t,key:m,ref:c,props:o,_owner:s.current}}e.Fragment=o,e.jsx=m,e.jsxs=m},893:(t,e,n)=>{"use strict";t.exports=n(251)},196:t=>{"use strict";t.exports=window.React},967:(t,e)=>{var n;!function(){"use strict";var i={}.hasOwnProperty;function a(){for(var t="",e=0;e{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),(()=>{"use strict";var t=n(196),e=n.n(t);const i=window.wp.i18n,a=window.wp.element,o=window.wp.components,r=window.lodash,s=window.wp.apiFetch;var l=n.n(s);l().use(l().createNonceMiddleware(window.gtmkitSettings.nonce)),l().use(l().createRootURLMiddleware(window.gtmkitSettings.root));const m=async(t,e,n=null,i=!1)=>{let a={};try{a=await l()({path:t,method:e,...n&&{data:n}})}catch(n){return console.log(`${e} ${t} Errors:`,n),{[`gtm_kit_api_${e}_${t}_errors`]:!0}}return!0===i?a:!0===a.success?a.data:options},c=(t,e)=>{const n={...t};switch(e.type){case"FETCH_SETTINGS":n.fetchedSettings={...e.payload.fetchedSettings,integrations:e.payload.fetchedSettings.integrations||{}},n.stateSettings=e.payload.stateSettings,n.siteData=e.payload.siteData,n.notifications=e.payload.notifications,n.installData=e.payload.installData,n.isPending=!1,n.canSave=!1,e.payload.fetchedSettings.gtm_kit_api_fetch_settings_errors&&(n.notice=(0,i.__)("An error occurred.","gtm-kit"),n.hasError=!0);break;case"UPDATE_SETTINGS_BEFORE":n.isPending=e.payload.isPending;break;case"UPDATE_SETTINGS":n.fetchedSettings=e.payload.fetchedSettings,n.stateSettings=e.payload.stateSettings,n.isPending=!1,n.canSave=!!e.payload.fetchedSettings.gtm_kit_api_update_settings_errors,n.notice=e.payload.fetchedSettings.gtm_kit_api_update_settings_errors?(0,i.__)("An error occurred.","gtm-kit"):(0,i.__)("Saved Successfully.","gtm-kit"),n.hasError=!!e.payload.fetchedSettings.gtm_kit_api_update_settings_errors;break;case"UPDATE_STATE":n.fetchedSettings=e.payload.fetchedSettings||n.fetchedSettings,n.stateSettings=e.payload.stateSettings||n.stateSettings,n.isPending=e.payload.isPending||n.isPending,n.notice=e.payload.notice||n.notice,n.hasError=e.payload.hasError||n.hasError,n.canSave=e.payload.canSave||n.canSave,n.isSendingSystemData=e.payload.isSendingSystemData||n.isSendingSystemData,n.supportTicket=e.payload.supportTicket||n.supportTicket,n.isSendingLicenseKey=e.payload.isSendingLicenseKey||n.isSendingLicenseKey,n.licenseKey=e.payload.licenseKey||n.licenseKey;break;case"SEND_SUPPORT_DATA_BEFORE":n.isSendingSystemData=e.payload.isSendingSystemData||n.isSendingSystemData;break;case"SEND_SUPPORT_DATA":n.isSendingSystemData=!1,n.isSystemDataSent=e.payload.isSystemDataSent||n.isSystemDataSent,n.systemDataMessage=e.payload.systemDataMessage||n.systemDataMessage;break;case"SEND_LICENSE_KEY_BEFORE":n.isSendingLicenseKey=e.payload.isSendingLicenseKey||n.isSendingLicenseKey;break;case"SEND_LICENSE_KEY":n.isSendingLicenseKey=!1,n.isLicenseKeySent=e.payload.isLicenseKeySent||n.isLicenseKeySent,n.licenseKeyMessage=e.payload.licenseKeyMessage||n.licenseKeyMessage;break;case"SEND_NOTIFICATION_STATUS_BEFORE":n.isUpdatingNotifications=e.payload.isUpdatingNotifications||n.isUpdatingNotifications;break;case"SEND_NOTIFICATION_STATUS":n.isUpdatingNotifications=!1,n.isNotificationStatusSent=e.payload.isNotificationStatusSent||n.isNotificationStatusSent,n.notifications=e.payload.notifications||n.Notifications}return n},u=(0,a.createContext)(),g=e=>{const[n,i]=(0,a.useReducer)(c,{fetchedSettings:{},stateSettings:{},isPending:!0,notice:"",hasError:!1,canSave:!1,supportTicket:"",isSystemDataSent:!1,systemDataMessage:"",licenseKey:"",isLicensenKeySent:!1,licenseKeyMessage:"",notifications:{}}),o=async()=>{const t=window.gtmkitSettings.settings?window.gtmkitSettings.settings:{},e=window.gtmkitSettings.site_data?window.gtmkitSettings.site_data:{},n=window.gtmkitSettings.notifications?window.gtmkitSettings.notifications:{},a="wizard"===window.gtmkitSettings.currentPage?window.gtmkitSettings.install_data:{};i({type:"FETCH_SETTINGS",payload:{fetchedSettings:t,stateSettings:t,siteData:e,notifications:n,installData:a}})},s=async t=>{i({type:"UPDATE_STATE",payload:t})};(0,a.useEffect)((()=>{o()}),[]);const l={useDispatch:t=>{i(t)},useUpdateSettings:async()=>{i({type:"UPDATE_SETTINGS_BEFORE",payload:{isPending:!0}});const t=await(e=n.stateSettings,m("gtmkit/v1/set-options","POST",e));var e;i({type:"UPDATE_SETTINGS",payload:{fetchedSettings:t,stateSettings:t}})},useFetchSettings:o,useUpdateState:s,useUpdateStateSettings:async(t,e,i)=>{const a=JSON.parse(JSON.stringify(n.stateSettings));let o;a[t][e]=i,o=!(0,r.isEqual)(a,n.fetchedSettings),s({stateSettings:a,canSave:o})},useImportSettings:async(t,e)=>{const i=JSON.parse(JSON.stringify(n.stateSettings));let a;const o={};o.general={...i.general,...e.general},"integrations"in e&&(o.integrations={...i.integrations,...e.integrations}),a=!(0,r.isEqual)(o,n.fetchedSettings),s({stateSettings:o,canSave:a})},useUpdateSupportTicket:async t=>{s({supportTicket:t})},useSendSystemData:async()=>{i({type:"SEND_SUPPORT_DATA_BEFORE",payload:{isSendingSystemData:!0}});const t=await(e=n.supportTicket,m("gtmkit/v1/send-support-data","POST",e,!0));var e;i({type:"SEND_SUPPORT_DATA",payload:{isSendingSystemData:!1,isSystemDataSent:t.success,systemDataMessage:t.data}})},useUpdateLicenseKey:async t=>{s({licenseKey:t})},useSendLicenseKey:async()=>{i({type:"SEND_LICENSE_KEY_BEFORE",payload:{isSendingLicenseKey:!0}});const t=await(e=n.licenseKey,m("gtmkit/v1/send-license-key","POST",e,!0));var e;i({type:"SEND_LICENSE_KEY",payload:{isSendingLicenseKey:!1,isLicenseKeySent:t.success,licenseKeyMessage:t.data}})},useSetNotificationStatus:async(t,e)=>{i({type:"SEND_NOTIFICATION_STATUS_BEFORE",payload:{isUpdatingNotifications:!0}});const n={"notification-id":t,action:e},a=await(t=>m("gtmkit/v1/set-notification-status","POST",t,!0))(n);i({type:"SEND_NOTIFICATION_STATUS",payload:{isUpdatingNotifications:!1,isNotificationStatusSent:a.success,notifications:a.data}})},useSettings:n.stateSettings,useIsPending:n.isPending,useNotice:n.notice,useHasError:n.hasError,useCanSave:n.canSave,useSiteData:n.siteData,useInstallData:n.installData,useIsSending:n.isSendingSystemData,useSupportTicket:n.supportTicket,useIsSystemDataSent:n.isSystemDataSent,useSystemDataMessage:n.systemDataMessage,useIsSendingLicenseKey:n.isSendingLicenseKey,useLicenseKey:n.licenseKey,useIsLicenseKeySent:n.isLicenseKeySent,useLicenseKeyMessage:n.licenseKeyMessage,useNotifications:n.notifications,useIsUpdatingNotifications:n.isUpdatingNotifications,useUserRoles:window.gtmkitSettings.user_roles?window.gtmkitSettings.user_roles:[],isPremium:!!window.gtmkitSettings.isPremium&&window.gtmkitSettings.isPremium};return(0,t.createElement)(u.Provider,{value:l},e.children)};function d(){return d=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0&&(e.hash=t.substr(n),t=t.substr(0,n));let i=t.indexOf("?");i>=0&&(e.search=t.substr(i),t=t.substr(0,i)),t&&(e.pathname=t)}return e}var y;function v(t,e,n){return void 0===n&&(n="/"),function(t,e,n,i){let a=P(("string"==typeof e?b(e):e).pathname||"/",n);if(null==a)return null;let o=x(t);!function(t){t.sort(((t,e)=>t.score!==e.score?e.score-t.score:function(t,e){return t.length===e.length&&t.slice(0,-1).every(((t,n)=>t===e[n]))?t[t.length-1]-e[e.length-1]:0}(t.routesMeta.map((t=>t.childrenIndex)),e.routesMeta.map((t=>t.childrenIndex)))))}(o);let r=null;for(let t=0;null==r&&t{let r={relativePath:void 0===o?t.path||"":o,caseSensitive:!0===t.caseSensitive,childrenIndex:a,route:t};r.relativePath.startsWith("/")&&(_(r.relativePath.startsWith(i),'Absolute route path "'+r.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),r.relativePath=r.relativePath.slice(i.length));let s=H([i,r.relativePath]),l=n.concat(r);t.children&&t.children.length>0&&(_(!0!==t.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),x(t.children,e,l,s)),(null!=t.path||t.index)&&e.push({path:s,score:j(s,t.index),routesMeta:l})};return t.forEach(((t,e)=>{var n;if(""!==t.path&&null!=(n=t.path)&&n.includes("?"))for(let n of N(t.path))a(t,e,n);else a(t,e)})),e}function N(t){let e=t.split("/");if(0===e.length)return[];let[n,...i]=e,a=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===i.length)return a?[o,""]:[o];let r=N(i.join("/")),s=[];return s.push(...r.map((t=>""===t?o:[o,t].join("/")))),a&&s.push(...r),s.map((e=>t.startsWith("/")&&""===e?"/":e))}!function(t){t.data="data",t.deferred="deferred",t.redirect="redirect",t.error="error"}(y||(y={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const w=/^:[\w-]+$/,T=3,C=2,D=1,U=10,A=-2,O=t=>"*"===t;function j(t,e){let n=t.split("/"),i=n.length;return n.some(O)&&(i+=A),e&&(i+=C),n.filter((t=>!O(t))).reduce(((t,e)=>t+(w.test(e)?T:""===e?D:U)),i)}function I(t,e,n){void 0===n&&(n=!1);let{routesMeta:i}=t,a={},o="/",r=[];for(let t=0;t(i.push({paramName:e,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return t.endsWith("*")?(i.push({paramName:"*"}),a+="*"===t||"/*"===t?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?a+="\\/*$":""!==t&&"/"!==t&&(a+="(?:(?=\\/|$))"),[new RegExp(a,e?void 0:"i"),i]}(t.path,t.caseSensitive,t.end),a=e.match(n);if(!a)return null;let o=a[0],r=o.replace(/(.)\/+$/,"$1"),s=a.slice(1);return{params:i.reduce(((t,e,n)=>{let{paramName:i,isOptional:a}=e;if("*"===i){let t=s[n]||"";r=o.slice(0,o.length-t.length).replace(/(.)\/+$/,"$1")}const l=s[n];return t[i]=a&&!l?void 0:(l||"").replace(/%2F/g,"/"),t}),{}),pathname:o,pathnameBase:r,pattern:t}}function L(t){try{return t.split("/").map((t=>decodeURIComponent(t).replace(/\//g,"%2F"))).join("/")}catch(e){return f(!1,'The URL path "'+t+'" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding ('+e+")."),t}}function P(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=e.endsWith("/")?e.length-1:e.length,i=t.charAt(n);return i&&"/"!==i?null:t.slice(n)||"/"}function M(t,e,n,i){return"Cannot include a '"+t+"' character in a manually specified `to."+e+"` field ["+JSON.stringify(i)+"]. Please separate it out to the `to."+n+'` field. Alternatively you may provide the full path as a string in and the router will parse it for you.'}function G(t,e){let n=function(t){return t.filter(((t,e)=>0===e||t.route.path&&t.route.path.length>0))}(t);return e?n.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)):n.map((t=>t.pathnameBase))}function F(t,e,n,i){let a;void 0===i&&(i=!1),"string"==typeof t?a=b(t):(a=d({},t),_(!a.pathname||!a.pathname.includes("?"),M("?","pathname","search",a)),_(!a.pathname||!a.pathname.includes("#"),M("#","pathname","hash",a)),_(!a.search||!a.search.includes("#"),M("#","search","hash",a)));let o,r=""===t||""===a.pathname,s=r?"/":a.pathname;if(null==s)o=n;else{let t=e.length-1;if(!i&&s.startsWith("..")){let e=s.split("/");for(;".."===e[0];)e.shift(),t-=1;a.pathname=e.join("/")}o=t>=0?e[t]:"/"}let l=function(t,e){void 0===e&&(e="/");let{pathname:n,search:i="",hash:a=""}="string"==typeof t?b(t):t,o=n?n.startsWith("/")?n:function(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(n,e):e;return{pathname:o,search:W(i),hash:K(a)}}(a,o),m=s&&"/"!==s&&s.endsWith("/"),c=(r||"."===s)&&n.endsWith("/");return l.pathname.endsWith("/")||!m&&!c||(l.pathname+="/"),l}const H=t=>t.join("/").replace(/\/\/+/g,"/"),B=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),W=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",K=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";Error;const z=["post","put","patch","delete"],$=(new Set(z),["get",...z]);function Y(){return Y=Object.assign?Object.assign.bind():function(t){for(var e=1;e{i.current=!0})),t.useCallback((function(t,a){void 0===a&&(a={}),i.current&&("number"==typeof t?e.navigate(t):e.navigate(t,Y({fromRouteId:n},a)))}),[e,n])}():function(){tt()||_(!1);let e=t.useContext(J),{basename:n,future:i,navigator:a}=t.useContext(V),{matches:o}=t.useContext(Z),{pathname:r}=et(),s=JSON.stringify(G(o,i.v7_relativeSplatPath)),l=t.useRef(!1);return nt((()=>{l.current=!0})),t.useCallback((function(t,i){if(void 0===i&&(i={}),!l.current)return;if("number"==typeof t)return void a.go(t);let o=F(t,JSON.parse(s),r,"path"===i.relative);null==e&&"/"!==n&&(o.pathname="/"===o.pathname?n:H([n,o.pathname])),(i.replace?a.replace:a.push)(o,i.state,i)}),[n,a,s,r,e])}()}function at(e,n){let{relative:i}=void 0===n?{}:n,{future:a}=t.useContext(V),{matches:o}=t.useContext(Z),{pathname:r}=et(),s=JSON.stringify(G(o,a.v7_relativeSplatPath));return t.useMemo((()=>F(e,JSON.parse(s),r,"path"===i)),[e,s,r,i])}function ot(e,n,i,a){tt()||_(!1);let{navigator:o}=t.useContext(V),{matches:r}=t.useContext(Z),s=r[r.length-1],l=s?s.params:{},m=(s&&s.pathname,s?s.pathnameBase:"/");s&&s.route;let c,u=et();if(n){var g;let t="string"==typeof n?b(n):n;"/"===m||(null==(g=t.pathname)?void 0:g.startsWith(m))||_(!1),c=t}else c=u;let d=c.pathname||"/",h=d;if("/"!==m){let t=m.replace(/^\//,"").split("/");h="/"+d.replace(/^\//,"").split("/").slice(t.length).join("/")}let f=v(e,{pathname:h}),k=function(e,n,i,a){var o;if(void 0===n&&(n=[]),void 0===i&&(i=null),void 0===a&&(a=null),null==e){var r;if(null==(r=i)||!r.errors)return null;e=i.matches}let s=e,l=null==(o=i)?void 0:o.errors;if(null!=l){let t=s.findIndex((t=>t.route.id&&void 0!==(null==l?void 0:l[t.route.id])));t>=0||_(!1),s=s.slice(0,Math.min(s.length,t+1))}let m=!1,c=-1;if(i&&a&&a.v7_partialHydration)for(let t=0;t=0?s.slice(0,c+1):[s[0]];break}}}return s.reduceRight(((e,a,o)=>{let r,u=!1,g=null,d=null;var p;i&&(r=l&&a.route.id?l[a.route.id]:void 0,g=a.route.errorElement||st,m&&(c<0&&0===o?(dt[p="route-fallback"]||(dt[p]=!0),u=!0,d=null):c===o&&(u=!0,d=a.route.hydrateFallbackElement||null)));let h=n.concat(s.slice(0,o+1)),_=()=>{let n;return n=r?g:u?d:a.route.Component?t.createElement(a.route.Component,null):a.route.element?a.route.element:e,t.createElement(mt,{match:a,routeContext:{outlet:e,matches:h,isDataRoute:null!=i},children:n})};return i&&(a.route.ErrorBoundary||a.route.errorElement||0===o)?t.createElement(lt,{location:i.location,revalidation:i.revalidation,component:g,error:r,children:_(),routeContext:{outlet:null,matches:h,isDataRoute:!0}}):_()}),null)}(f&&f.map((t=>Object.assign({},t,{params:Object.assign({},l,t.params),pathname:H([m,o.encodeLocation?o.encodeLocation(t.pathname).pathname:t.pathname]),pathnameBase:"/"===t.pathnameBase?m:H([m,o.encodeLocation?o.encodeLocation(t.pathnameBase).pathname:t.pathnameBase])}))),r,i,a);return n&&k?t.createElement(X.Provider,{value:{location:Y({pathname:"/",search:"",hash:"",state:null,key:"default"},c),navigationType:p.Pop}},k):k}function rt(){let e=function(){var e;let n=t.useContext(Q),i=function(e){let n=t.useContext(q);return n||_(!1),n}(ut.UseRouteError),a=gt(ut.UseRouteError);return void 0!==n?n:null==(e=i.errors)?void 0:e[a]}(),n=function(t){return null!=t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"boolean"==typeof t.internal&&"data"in t}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),i=e instanceof Error?e.stack:null,a={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return t.createElement(t.Fragment,null,t.createElement("h2",null,"Unexpected Application Error!"),t.createElement("h3",{style:{fontStyle:"italic"}},n),i?t.createElement("pre",{style:a},i):null,null)}const st=t.createElement(rt,null);class lt extends t.Component{constructor(t){super(t),this.state={location:t.location,revalidation:t.revalidation,error:t.error}}static getDerivedStateFromError(t){return{error:t}}static getDerivedStateFromProps(t,e){return e.location!==t.location||"idle"!==e.revalidation&&"idle"===t.revalidation?{error:t.error,location:t.location,revalidation:t.revalidation}:{error:void 0!==t.error?t.error:e.error,location:e.location,revalidation:t.revalidation||e.revalidation}}componentDidCatch(t,e){console.error("React Router caught the following error during render",t,e)}render(){return void 0!==this.state.error?t.createElement(Z.Provider,{value:this.props.routeContext},t.createElement(Q.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function mt(e){let{routeContext:n,match:i,children:a}=e,o=t.useContext(J);return o&&o.static&&o.staticContext&&(i.route.errorElement||i.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=i.route.id),t.createElement(Z.Provider,{value:n},a)}var ct=function(t){return t.UseBlocker="useBlocker",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t}(ct||{}),ut=function(t){return t.UseBlocker="useBlocker",t.UseLoaderData="useLoaderData",t.UseActionData="useActionData",t.UseRouteError="useRouteError",t.UseNavigation="useNavigation",t.UseRouteLoaderData="useRouteLoaderData",t.UseMatches="useMatches",t.UseRevalidator="useRevalidator",t.UseNavigateStable="useNavigate",t.UseRouteId="useRouteId",t}(ut||{});function gt(e){let n=function(e){let n=t.useContext(Z);return n||_(!1),n}(),i=n.matches[n.matches.length-1];return i.route.id||_(!1),i.route.id}const dt={};function pt(e){let{to:n,replace:i,state:a,relative:o}=e;tt()||_(!1);let{future:r,static:s}=t.useContext(V),{matches:l}=t.useContext(Z),{pathname:m}=et(),c=it(),u=F(n,G(l,r.v7_relativeSplatPath),m,"path"===o),g=JSON.stringify(u);return t.useEffect((()=>c(JSON.parse(g),{replace:i,state:a,relative:o})),[c,g,o,i,a]),null}function ht(t){_(!1)}function _t(e){let{basename:n="/",children:i=null,location:a,navigationType:o=p.Pop,navigator:r,static:s=!1,future:l}=e;tt()&&_(!1);let m=n.replace(/^\/*/,"/"),c=t.useMemo((()=>({basename:m,navigator:r,static:s,future:Y({v7_relativeSplatPath:!1},l)})),[m,l,r,s]);"string"==typeof a&&(a=b(a));let{pathname:u="/",search:g="",hash:d="",state:h=null,key:f="default"}=a,k=t.useMemo((()=>{let t=P(u,m);return null==t?null:{location:{pathname:t,search:g,hash:d,state:h,key:f},navigationType:o}}),[m,u,g,d,h,f,o]);return null==k?null:t.createElement(V.Provider,{value:c},t.createElement(X.Provider,{children:i,value:k}))}function ft(t){let{children:e,location:n}=t;return ot(kt(e),n)}function kt(e,n){void 0===n&&(n=[]);let i=[];return t.Children.forEach(e,((e,a)=>{if(!t.isValidElement(e))return;let o=[...n,a];if(e.type===t.Fragment)return void i.push.apply(i,kt(e.props.children,o));e.type!==ht&&_(!1),e.props.index&&e.props.children&&_(!1);let r={id:e.props.id||o.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(r.children=kt(e.props.children,o)),i.push(r)})),i}t.startTransition,new Promise((()=>{})),t.Component;const Et=window.ReactDOM;var St=n.n(Et);function bt(){return bt=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);const vt=["onClick","relative","reloadDocument","replace","state","target","to","preventScrollReset","unstable_viewTransition"],xt=["aria-current","caseSensitive","className","end","style","to","unstable_viewTransition","children"];try{window.__reactRouterVersion="6"}catch(t){}const Nt=t.createContext({isTransitioning:!1});new Map;const wt=t.startTransition;function Tt(e){let{basename:n,children:i,future:a,window:o}=e,r=t.useRef();null==r.current&&(r.current=function(t){return void 0===t&&(t={}),function(t,e,n,i){void 0===i&&(i={});let{window:a=document.defaultView,v5Compat:o=!1}=i,r=a.history,s=p.Pop,l=null,m=c();function c(){return(r.state||{idx:null}).idx}function u(){s=p.Pop;let t=c(),e=null==t?null:t-m;m=t,l&&l({action:s,location:f.location,delta:e})}function g(t){let e="null"!==a.location.origin?a.location.origin:a.location.href,n="string"==typeof t?t:S(t);return n=n.replace(/ $/,"%20"),_(e,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,e)}null==m&&(m=0,r.replaceState(d({},r.state,{idx:m}),""));let f={get action(){return s},get location(){return t(a,r)},listen(t){if(l)throw new Error("A history only accepts one active listener");return a.addEventListener(h,u),l=t,()=>{a.removeEventListener(h,u),l=null}},createHref:t=>e(a,t),createURL:g,encodeLocation(t){let e=g(t);return{pathname:e.pathname,search:e.search,hash:e.hash}},push:function(t,e){s=p.Push;let i=E(f.location,t,e);n&&n(i,t),m=c()+1;let u=k(i,m),g=f.createHref(i);try{r.pushState(u,"",g)}catch(t){if(t instanceof DOMException&&"DataCloneError"===t.name)throw t;a.location.assign(g)}o&&l&&l({action:s,location:f.location,delta:1})},replace:function(t,e){s=p.Replace;let i=E(f.location,t,e);n&&n(i,t),m=c();let a=k(i,m),u=f.createHref(i);r.replaceState(a,"",u),o&&l&&l({action:s,location:f.location,delta:0})},go:t=>r.go(t)};return f}((function(t,e){let{pathname:n="/",search:i="",hash:a=""}=b(t.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),E("",{pathname:n,search:i,hash:a},e.state&&e.state.usr||null,e.state&&e.state.key||"default")}),(function(t,e){let n=t.document.querySelector("base"),i="";if(n&&n.getAttribute("href")){let e=t.location.href,n=e.indexOf("#");i=-1===n?e:e.slice(0,n)}return i+"#"+("string"==typeof e?e:S(e))}),(function(t,e){f("/"===t.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(e)+")")}),t)}({window:o,v5Compat:!0}));let s=r.current,[l,m]=t.useState({action:s.action,location:s.location}),{v7_startTransition:c}=a||{},u=t.useCallback((t=>{c&&wt?wt((()=>m(t))):m(t)}),[m,c]);return t.useLayoutEffect((()=>s.listen(u)),[s,u]),t.createElement(_t,{basename:n,children:i,location:l.location,navigationType:l.action,navigator:s,future:a})}Et.flushSync,t.useId;const Ct="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement,Dt=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Ut=t.forwardRef((function(e,n){let i,{onClick:a,relative:o,reloadDocument:r,replace:s,state:l,target:m,to:c,preventScrollReset:u,unstable_viewTransition:g}=e,d=yt(e,vt),{basename:p}=t.useContext(V),h=!1;if("string"==typeof c&&Dt.test(c)&&(i=c,Ct))try{let t=new URL(window.location.href),e=c.startsWith("//")?new URL(t.protocol+c):new URL(c),n=P(e.pathname,p);e.origin===t.origin&&null!=n?c=n+e.search+e.hash:h=!0}catch(t){}let f=function(e,n){let{relative:i}=void 0===n?{}:n;tt()||_(!1);let{basename:a,navigator:o}=t.useContext(V),{hash:r,pathname:s,search:l}=at(e,{relative:i}),m=s;return"/"!==a&&(m="/"===s?a:H([a,s])),o.createHref({pathname:m,search:l,hash:r})}(c,{relative:o}),k=function(e,n){let{target:i,replace:a,state:o,preventScrollReset:r,relative:s,unstable_viewTransition:l}=void 0===n?{}:n,m=it(),c=et(),u=at(e,{relative:s});return t.useCallback((t=>{if(function(t,e){return!(0!==t.button||e&&"_self"!==e||function(t){return!!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}(t))}(t,i)){t.preventDefault();let n=void 0!==a?a:S(c)===S(u);m(e,{replace:n,state:o,preventScrollReset:r,relative:s,unstable_viewTransition:l})}}),[c,m,u,a,o,i,e,r,s,l])}(c,{replace:s,state:l,target:m,preventScrollReset:u,relative:o,unstable_viewTransition:g});return t.createElement("a",bt({},d,{href:i||f,onClick:h||r?a:function(t){a&&a(t),t.defaultPrevented||k(t)},ref:n,target:m}))})),At=t.forwardRef((function(e,n){let{"aria-current":i="page",caseSensitive:a=!1,className:o="",end:r=!1,style:s,to:l,unstable_viewTransition:m,children:c}=e,u=yt(e,xt),g=at(l,{relative:u.relative}),d=et(),p=t.useContext(q),{navigator:h,basename:f}=t.useContext(V),k=null!=p&&function(e,n){void 0===n&&(n={});let i=t.useContext(Nt);null==i&&_(!1);let{basename:a}=function(e){let n=t.useContext(J);return n||_(!1),n}(Ot.useViewTransitionState),o=at(e,{relative:n.relative});if(!i.isTransitioning)return!1;let r=P(i.currentLocation.pathname,a)||i.currentLocation.pathname,s=P(i.nextLocation.pathname,a)||i.nextLocation.pathname;return null!=R(o.pathname,s)||null!=R(o.pathname,r)}(g)&&!0===m,E=h.encodeLocation?h.encodeLocation(g).pathname:g.pathname,S=d.pathname,b=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;a||(S=S.toLowerCase(),b=b?b.toLowerCase():null,E=E.toLowerCase()),b&&f&&(b=P(b,f)||b);const y="/"!==E&&E.endsWith("/")?E.length-1:E.length;let v,x=S===E||!r&&S.startsWith(E)&&"/"===S.charAt(y),N=null!=b&&(b===E||!r&&b.startsWith(E)&&"/"===b.charAt(E.length)),w={isActive:x,isPending:N,isTransitioning:k},T=x?i:void 0;v="function"==typeof o?o(w):[o,x?"active":null,N?"pending":null,k?"transitioning":null].filter(Boolean).join(" ");let C="function"==typeof s?s(w):s;return t.createElement(Ut,bt({},u,{"aria-current":T,className:v,ref:n,style:C,to:l,unstable_viewTransition:m}),"function"==typeof c?c(w):c)}));var Ot,jt;(function(t){t.UseScrollRestoration="useScrollRestoration",t.UseSubmit="useSubmit",t.UseSubmitFetcher="useSubmitFetcher",t.UseFetcher="useFetcher",t.useViewTransitionState="useViewTransitionState"})(Ot||(Ot={})),function(t){t.UseFetcher="useFetcher",t.UseFetchers="useFetchers",t.UseScrollRestoration="useScrollRestoration"}(jt||(jt={}));const It=({title:e})=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("header",{className:"gtmkit-px-8 gtmkit-py-6 gtmkit-sticky"},(0,t.createElement)("div",{className:"gtmkit-flex gtmkit-items-center gtmkit-justify-between"},(0,t.createElement)("h1",{className:"gtmkit-flex gtmkit-items-center gtmkit-font-medium gtmkit-text-3xl"},(0,t.createElement)("svg",{className:"gtmkit-mr-8",height:"44",viewBox:"0 0 160 54",width:"128",xmlns:"http://www.w3.org/2000/svg"},(0,t.createElement)("rect",{fill:"#888",height:"54",rx:"4.265",width:"160"}),(0,t.createElement)("path",{d:"m88.659 7.002h-49.266c-2.915 0-5.378-.184-9.23 2.596l-18.743 12.752c-4.549 3.292-4.571 6.001 0 9.302l18.743 12.751c3.652 2.646 6.299 2.597 9.23 2.597h15.686 33.58c2.931-.057 5.394-1.784 5.34-3.923v-32.21c-.012-2.134-2.409-3.865-5.34-3.865z",fill:"#3969bb",transform:"matrix(-1 0 0 -1 101.999867 53.999547)"}),(0,t.createElement)("g",{fill:"#fff",transform:"matrix(1.465202 0 0 1.465202 -4.582436 -7.553126)"},(0,t.createElement)("path",{d:"m18.316 23.086h4.632v6.052c-.75.245-1.459.415-2.121.514-.663.098-1.341.148-2.033.148-1.764 0-3.106-.517-4.035-1.554-.929-1.034-1.395-2.519-1.395-4.457 0-1.886.538-3.356 1.617-4.41 1.078-1.054 2.573-1.579 4.481-1.579 1.2 0 2.357.239 3.469.718l-.823 1.979c-.85-.425-1.737-.637-2.657-.637-1.071 0-1.932.358-2.572 1.077-.645.718-.968 1.685-.968 2.899 0 1.267.26 2.233.78 2.904.516.667 1.271.999 2.262.999.517 0 1.041-.052 1.572-.158v-2.435h-2.209zm11.912 6.555h-2.474v-9.614h-3.173v-2.06h8.816v2.06h-3.169zm9.908 0-2.811-9.158h-.072c.103 1.863.154 3.105.154 3.728v5.43h-2.213v-11.674h3.368l2.764 8.927h.048l2.934-8.927h3.369v11.674h-2.308v-5.525c0-.261 0-.561.009-.903.009-.341.048-1.246.112-2.716h-.074l-3.011 9.144z"}),(0,t.createElement)("path",{d:"m88.883 31.898h-3.811l-4.147-6.67-1.417 1.018v5.652h-3.357v-15.83h3.357v7.242l1.318-1.861 4.293-5.381h3.724l-5.523 7.006zm1.589-15.233c0-1.075.6-1.614 1.8-1.614 1.199 0 1.798.539 1.798 1.614 0 .512-.148.91-.45 1.196-.297.284-.749.429-1.348.429-1.2 0-1.8-.543-1.8-1.625zm3.449 15.233h-3.302v-12.104h3.302zm8.563-2.413c.578 0 1.271-.128 2.077-.38v2.456c-.82.37-1.831.552-3.031.552-1.324 0-2.28-.333-2.885-1.001-.602-.667-.902-1.668-.902-3.003v-5.835h-1.585v-1.399l1.823-1.103.949-2.557h2.115v2.579h3.388v2.48h-3.388v5.835c0 .467.129.815.393 1.041.264.222.614.335 1.046.335z"}))),e)))),Rt=({to:e,title:n})=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)(At,{to:e,className:({isActive:t})=>"gtmkit-border-b-4 gtmkit-border-white gtmkit-text-color-grey gtmkit-font-semibold gtmkit-pt-5 gtmkit-pb-[18px] hover:gtmkit-border-color-grey "+(t?"gtmkit-text-color-heading gtmkit-border-b-color-primary ":"")},n)),Lt=({NavList:e})=>(0,t.createElement)("nav",{className:"gtmkit-flex gtmkit-flex-wrap gtmkit-items-center gtmkit-px-8 gtmkit-border-y gtmkit-bg-white gtmkit-border-color-border gtmkit-text-[15px] gtmkit-space-x-9"},e.map((function(e){return(0,t.createElement)(Rt,{key:e.to,to:e.to,title:e.title})})));function Pt(){return Pt=Object.assign?Object.assign.bind():function(t){for(var e=1;e=0||(a[n]=t[n]);return a}function Gt(t,e){return Gt=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},Gt(t,e)}function Ft(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,Gt(t,e)}function Ht(t,e){return t.replace(new RegExp("(^|\\s)"+e+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}const Bt=e().createContext(null);var Wt=function(t){return t.scrollTop},Kt="unmounted",zt="exited",$t="entering",Yt="entered",Jt="exiting",qt=function(t){function n(e,n){var i;i=t.call(this,e,n)||this;var a,o=n&&!n.isMounting?e.enter:e.appear;return i.appearStatus=null,e.in?o?(a=zt,i.appearStatus=$t):a=Yt:a=e.unmountOnExit||e.mountOnEnter?Kt:zt,i.state={status:a},i.nextCallback=null,i}Ft(n,t),n.getDerivedStateFromProps=function(t,e){return t.in&&e.status===Kt?{status:zt}:null};var i=n.prototype;return i.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},i.componentDidUpdate=function(t){var e=null;if(t!==this.props){var n=this.state.status;this.props.in?n!==$t&&n!==Yt&&(e=$t):n!==$t&&n!==Yt||(e=Jt)}this.updateStatus(!1,e)},i.componentWillUnmount=function(){this.cancelNextCallback()},i.getTimeouts=function(){var t,e,n,i=this.props.timeout;return t=e=n=i,null!=i&&"number"!=typeof i&&(t=i.exit,e=i.enter,n=void 0!==i.appear?i.appear:e),{exit:t,enter:e,appear:n}},i.updateStatus=function(t,e){if(void 0===t&&(t=!1),null!==e)if(this.cancelNextCallback(),e===$t){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:St().findDOMNode(this);n&&Wt(n)}this.performEnter(t)}else this.performExit();else this.props.unmountOnExit&&this.state.status===zt&&this.setState({status:Kt})},i.performEnter=function(t){var e=this,n=this.props.enter,i=this.context?this.context.isMounting:t,a=this.props.nodeRef?[i]:[St().findDOMNode(this),i],o=a[0],r=a[1],s=this.getTimeouts(),l=i?s.appear:s.enter;t||n?(this.props.onEnter(o,r),this.safeSetState({status:$t},(function(){e.props.onEntering(o,r),e.onTransitionEnd(l,(function(){e.safeSetState({status:Yt},(function(){e.props.onEntered(o,r)}))}))}))):this.safeSetState({status:Yt},(function(){e.props.onEntered(o)}))},i.performExit=function(){var t=this,e=this.props.exit,n=this.getTimeouts(),i=this.props.nodeRef?void 0:St().findDOMNode(this);e?(this.props.onExit(i),this.safeSetState({status:Jt},(function(){t.props.onExiting(i),t.onTransitionEnd(n.exit,(function(){t.safeSetState({status:zt},(function(){t.props.onExited(i)}))}))}))):this.safeSetState({status:zt},(function(){t.props.onExited(i)}))},i.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},i.safeSetState=function(t,e){e=this.setNextCallback(e),this.setState(t,e)},i.setNextCallback=function(t){var e=this,n=!0;return this.nextCallback=function(i){n&&(n=!1,e.nextCallback=null,t(i))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},i.onTransitionEnd=function(t,e){this.setNextCallback(e);var n=this.props.nodeRef?this.props.nodeRef.current:St().findDOMNode(this),i=null==t&&!this.props.addEndListener;if(n&&!i){if(this.props.addEndListener){var a=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],o=a[0],r=a[1];this.props.addEndListener(o,r)}null!=t&&setTimeout(this.nextCallback,t)}else setTimeout(this.nextCallback,0)},i.render=function(){var t=this.state.status;if(t===Kt)return null;var n=this.props,i=n.children,a=(n.in,n.mountOnEnter,n.unmountOnExit,n.appear,n.enter,n.exit,n.timeout,n.addEndListener,n.onEnter,n.onEntering,n.onEntered,n.onExit,n.onExiting,n.onExited,n.nodeRef,Mt(n,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return e().createElement(Bt.Provider,{value:null},"function"==typeof i?i(t,a):e().cloneElement(e().Children.only(i),a))},n}(e().Component);function Vt(){}qt.contextType=Bt,qt.propTypes={},qt.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:Vt,onEntering:Vt,onEntered:Vt,onExit:Vt,onExiting:Vt,onExited:Vt},qt.UNMOUNTED=Kt,qt.EXITED=zt,qt.ENTERING=$t,qt.ENTERED=Yt,qt.EXITING=Jt;const Xt=qt;var Zt=function(t,e){return t&&e&&e.split(" ").forEach((function(e){return i=e,void((n=t).classList?n.classList.remove(i):"string"==typeof n.className?n.className=Ht(n.className,i):n.setAttribute("class",Ht(n.className&&n.className.baseVal||"",i)));var n,i}))},Qt=function(t){function n(){for(var e,n=arguments.length,i=new Array(n),a=0;a{const{useUpdateSettings:r,useIsPending:s,useCanSave:l}=(0,a.useContext)(u);return(0,t.createElement)(o.Button,{className:n,onClick:()=>r(),variant:"primary",disabled:s||!l},l?(0,i.__)(e,"gtm-kit"):(0,i.__)("Saved","gtm-kit"),s?(0,t.createElement)(o.Spinner,null):"")},ne=()=>{const{useCanSave:e}=(0,a.useContext)(u);return(0,t.createElement)(te,{in:e,timeout:500,classNames:"slide",unmountOnExit:!0},(0,t.createElement)("footer",{className:"gtmkit-fixed gtmkit-bottom-0 gtmkit-w-full gtmkit-z-10 gtmkit-bg-color-grey gtmkit-text-white gtmkit-p-8"},(0,t.createElement)(ee,null)))},ie=({subject:e})=>{const n=!0===e||"on"===e,a=!0===n?"gtmkit-bg-color-success":"gtmkit-bg-color-button-disabled";return(0,t.createElement)("div",{className:"gtmkit-text-xs gtmkit-text-white gtmkit-font-bold gtmkit-rounded-full gtmkit-py gtmkit-px-2 gtmkit-h-5 gtmkit-leading-5 gtmkit-uppercase "+a},n?(0,i.__)("Active","gtm-kit"):(0,i.__)("Inactive","gtm-kit"))},ae=(0,a.forwardRef)((({children:e,className:n="",...i},a)=>(0,t.createElement)("div",{...i,className:"gtmkit-flex gtmkit-flex-col gtmkit-min-h-[128px] gtmkit-bg-white gtmkit-border gtmkit-border-color-border gtmkit-mb-6 gtmkit-py-4 gtmkit-px-5 gtmkit-rounded gtmkit-group gtmkit-w-full "+n,ref:a},e)));ae.Header=({as:e="h3",title:n="",children:i,className:a="",...o})=>(0,t.createElement)("div",{...o,className:"gtmkit-flex gtmkit-justify-between gtmkit-items-center gtmkit-mb-5 "+a},(0,t.createElement)(e,{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading"},n),i),ae.Content=({as:e="div",children:n,className:i="gtmkit-flex-auto",...a})=>(0,t.createElement)(e,{...a,className:i},n),ae.Button=({url:e,destination:n,newTab:i=!1,text:a,group:r="",...s})=>{const l=it();return(0,t.createElement)("div",{...s,className:"gtmkit-mt-4 gtmkit-mb-0.5"},(0,t.createElement)(o.Button,{variant:"primary",className:"gtmkit-rounded !gtmkit-py-4 !gtmkit-px-8 gtmkit-w-full sm:gtmkit-w-auto gtmkit-min-w-[225px]",onClick:()=>{n&&e&&!1===i?window.gtmkitSettings.current_poage===r?l(n,{replace:!0}):window.location.href=e+"#"+n:e?i?window.open(e):window.location.href=e:l(n,{replace:!0})}},(0,t.createElement)("span",{className:"gtmkit-mx-auto gtmkit-text-sm gtmkit-font-bold"},a)))};const oe=ae,re=({title:e,data:n,className:o=""})=>{const{useSettings:r}=(0,a.useContext)(u);return(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8 gtmkit-mt-6"},e),(0,t.createElement)("div",{className:"lg:gtmkit-grid lg:gtmkit-grid-cols-2 xl:gtmkit-grid-cols-3 gtmkit-justify-between gtmkit-gap-6 gtmkit-border-b gtmkit-border-color-border gtmkit-pb-6 gtmkit-min-h-[175px] "+o},n.map(((e,n)=>!1===e.featured?null:(0,t.createElement)(oe,{key:n},(0,t.createElement)(oe.Header,{title:e.title},e.pill?(0,t.createElement)(ie,{subject:r[e.group][e.option]}):null),(0,t.createElement)(oe.Content,null,e.text.map(((e,n)=>(0,t.createElement)("p",{key:n},e)))),(0,t.createElement)(oe.Button,{url:e.link.url,destination:e.link.destination,text:e.link.text?e.link.text:(0,i.__)("Read article","gtm-kit"),newTab:e.link.external,group:e.group}))))))},se=t=>((t,e,n)=>{const i=(t,n)=>({...n,title:t.title,to:t.path,group:t.group||n.group,option:t.option||n.option,text:[t.description],link:{...n.link,url:window.gtmkitSettings[e+"Url"],destination:"/"+t.path}});return"templates"===e?Object.keys(t).map((e=>i(t[e][0],n))):Object.keys(t).map((e=>i(t[e],n)))})(window.gtmkitSettings[t],t,function(t){switch(t){case"integrations":return{pill:!0,group:"integrations",option:null,link:{internal:!0,text:(0,i.__)("Setup Integration","gtm-kit")}};case"templates":return{pill:!1,group:null,option:null,link:{internal:!0,text:(0,i.__)("Get Template","gtm-kit")}};default:return{pill:!1,group:null,option:null,link:{internal:!0,text:(0,i.__)("Read More","gtm-kit")}}}}(t));var le=n(967),me=n.n(le);const ce=({count:e,important:n})=>(0,t.createElement)(t.Fragment,null,e>0&&(0,t.createElement)("div",{className:me()("gtmkit-ml-2 gtmkit-text-xs gtmkit-text-white gtmkit-font-bold gtmkit-rounded-full gtmkit-py-px gtmkit-px-2 gtmkit-h-5 gtmkit-leading-[1.125rem] gtmkit-uppercase",{"gtmkit-bg-color-error":n},{"gtmkit-bg-color-success":!n})},e)),ue=()=>{const{useSettings:e,useNotifications:n}=(0,a.useContext)(u),[o,r]=(0,a.useState)(window.gtmkitSettings.tutorials),s=(Boolean(e.general.sgtm_domain&&e.general.sgtm_domain.trim()),n.metrics);return(0,a.useEffect)((()=>{r((t=>[...t,{title:(0,i.__)("See all tutorials","gtm-kit"),text:[(0,i.__)("See all our tutorials and get the most out of GTM Kit","gtm-kit")],link:{external:!0,url:"https://gtmkit.com/documentation/#utm_source=gtmkit-plugin&utm_medium=software&utm_term=documentation&utm_content=dashboard-tutorials",text:(0,i.__)("Read articles","gtm-kit")},featured:!0}]))}),[]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8"},(0,i.__)("General","gtm-kit")),(0,t.createElement)("div",{className:"lg:gtmkit-grid lg:gtmkit-grid-cols-2 xl:gtmkit-grid-cols-3 lg:gtmkit-justify-between gtmkit-gap-6 gtmkit-border-b gtmkit-border-color-border gtmkit-pb-6 gtmkit-min-h-[175px]"},(0,t.createElement)(oe,null,(0,t.createElement)(oe.Header,{title:"Google Tag Manager Container"},(0,t.createElement)(ie,{subject:e.general.gtm_id&&e.general.container_active})),(0,t.createElement)(oe.Content,null,e.general.gtm_id&&e.general.container_active?(0,t.createElement)("p",null,(0,i.__)("Container ID:","gtm-kit")," ",e&&e.general.gtm_id):(0,t.createElement)("p",null,(0,i.__)("The container is not active but the datalayer is generated.","gtm-kit"))),(0,t.createElement)(oe.Button,{destination:"/container",text:(0,i.__)("Edit container","gtm-kit")})),(0,t.createElement)(oe,null,(0,t.createElement)(oe.Header,{title:(0,i.__)("Notifications","gtm-kit"),className:"!gtmkit-justify-start"},(0,t.createElement)(ce,{count:s.total,important:s.problem>0})),(0,t.createElement)(oe.Content,null,s.total?(0,t.createElement)(t.Fragment,null,s.problem?(0,t.createElement)("p",null,(0,i.__)("There are some problems that require your attention.","gtm-kit")):(0,t.createElement)("p",null,(0,i.__)("There are some notifications that may require your attention.","gtm-kit"))):(0,t.createElement)("p",null,(0,i.__)("No notifications at the moment.","gtm-kit"))),(0,t.createElement)(oe.Button,{destination:"/misc",text:(0,i.__)("See all notifications","gtm-kit")})),(0,t.createElement)(oe,null,(0,t.createElement)(oe.Header,{title:(0,i.__)("Help improve GTM Kit","gtm-kit")},(0,t.createElement)(ie,{subject:e.general.analytics_active})),(0,t.createElement)(oe.Content,null,(0,t.createElement)("p",null,(0,i.__)("Share anonymous data with the development team to help improve GTM Kit.","gtm-kit"))),(0,t.createElement)(oe.Button,{destination:"/misc",text:(0,i.__)("Share anonymous data","gtm-kit")}))),(0,t.createElement)(re,{title:(0,i.__)("Tutorials","gtm-kit"),data:o}),(0,t.createElement)(re,{title:(0,i.__)("Integrations","gtm-kit"),data:se("integrations")}))},ge=({title:e,placeholder:n,help:i,className:a="gtmkit-settings-field-wrap gtmkit-py-4 gtmkit-max-w-md",optionGroup:r="general",optionName:s,isDisabled:l,useSettings:m,useUpdateStateSettings:c})=>(0,t.createElement)(o.TextControl,{label:e,placeholder:n,help:i,className:a,value:m[r][s],onChange:t=>c(r,s,t),disabled:l}),de=({title:e,label:n,optionGroup:i="general",optionName:a,disabled:r=!1,useSettings:s,useUpdateStateSettings:l})=>(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"gtmkit-settings-field-wrap gtmkit-py-4"},(0,t.createElement)(o.BaseControl,{label:e},(0,t.createElement)(o.ToggleControl,{label:n,checked:!r&&s[i][a],onChange:()=>{l(i,a,!(s&&s[i][a]))},disabled:r})))),pe=({title:e,options:n,help:i,className:a="gtmkit-settings-field-wrap gtmkit-py-4",optionGroup:r="general",optionName:s,disabled:l,useSettings:m,useUpdateStateSettings:c})=>(0,t.createElement)(o.RadioControl,{label:e,options:n,help:i,className:a,selected:parseInt(m[r][s]),onChange:t=>c(r,s,t),disabled:l}),he=({title:e,help:n,items:i=[],optionGroup:r="general",optionName:s,disabled:l=!1,useSettings:m,useUpdateStateSettings:c})=>{const u=Array.isArray(m[r][s])?m[r][s]:[],[g,d]=(0,a.useState)(u);return(0,a.useEffect)((()=>{const t=Array.isArray(m[r][s])?m[r][s]:[];d(t)}),[m]),(0,t.createElement)(t.Fragment,null,(0,t.createElement)("div",{className:"gtmkit-settings-field-wrap gtmkit-py-4"},(0,t.createElement)(o.BaseControl,{label:e,help:n},i.map((e=>(0,t.createElement)(o.CheckboxControl,{key:e.role,label:e.name,disabled:l,checked:g.includes(e.role),onChange:t=>((t,e)=>{d((n=>{let i;return i=t?[...n,e]:n.filter((t=>t!==e)),c(r,s,i),i}))})(t,e.role)}))))))},_e=(0,a.forwardRef)((({children:e,className:n="",disabled:i=!1,...a},o)=>(0,t.createElement)("div",{...a,className:"gtmkit-mb-12 gtmkit-border gtmkit-bg-white gtmkit-w-3/4 gtmkit-border-color-grey gtmkit-rounded "+n+(i?"gtmkit-opacity-60":""),ref:o},e)));_e.Header=({as:e="h3",title:n="",children:i,className:a="",...o})=>(0,t.createElement)(e,{...o,className:"gtmkit-font-bold gtmkit-text-lg gtmkit-px-8 gtmkit-py-4 gtmkit-border-b gtmkit-border-color-grey gtmkit-flex gtmkit-items-center "+a},n,i),_e.Content=({as:e="div",children:n,className:i="",...a})=>(0,t.createElement)(e,{...a,className:"gtmkit-px-8 gtmkit-py-6 "+i},n);const fe=_e;var ke=n(893);const Ee=()=>{const{useSettings:e,useUpdateStateSettings:n,useUserRoles:o}=(0,a.useContext)(u),r=!(e.general.sgtm_domain&&e.general.sgtm_domain.trim()&&e.general.sgtm_container_identifier&&e.general.sgtm_container_identifier.trim()),s=et();return(0,t.useEffect)((()=>{const t=new URLSearchParams(s.search).get("focus");if(t){const e=document.getElementById(t);e&&e.scrollIntoView()}}),[s]),(0,ke.jsxs)(ke.Fragment,{children:[(0,ke.jsx)("h2",{className:"gtmkit-text-2xl gtmkit-font-bold gtmkit-text-color-heading gtmkit-mb-8",children:(0,i.__)("Google Tag Manager container","gtm-kit")}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("General Container Settings","gtm-kit")}),(0,ke.jsxs)(fe.Content,{children:[(0,ke.jsx)("p",{className:"gtmkit-mb-4",children:(0,i.__)("To start collecting data with Google Tag manager you must register the Container ID of your Google Tag Manager container.","gtm-kit")}),(0,ke.jsx)(ge,{title:(0,i.__)("GTM Container ID:","gtm-kit"),optionName:"gtm_id",placeholder:(0,i.__)("Enter GTM Container ID","gtm-kit"),useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(de,{title:(0,i.__)("Inject Container Code","gtm-kit"),label:(0,i.__)("Setting this to Off will remove the Google Tag Manager container code but the data layer will remain.","gtm-kit"),optionName:"container_active",useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(de,{title:(0,i.__)("Just the container","gtm-kit"),label:(0,i.__)("Setting this to On will reduce the functionality to just the GTM container code. No additional data will be pushed to the datalayer regardless of any other settings.","gtm-kit"),optionName:"just_the_container",useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(ge,{title:(0,i.__)("dataLayer variable name:","gtm-kit"),optionName:"datalayer_name",placeholder:"dataLayer",help:(0,i.__)("The default name of the data layer object is dataLayer. If you prefer to use a different name for your data layer, you may do so.","gtm-kit"),useSettings:e,useUpdateStateSettings:n})]})]}),(0,ke.jsx)("div",{id:"sgtm"}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("Server-side Tagging (sGTM)","gtm-kit")}),(0,ke.jsxs)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4",children:[(0,ke.jsxs)(fe.Content,{children:[(0,ke.jsx)(ge,{title:(0,i.__)("sGTM Container Domain:","gtm-kit"),optionName:"sgtm_domain",placeholder:(0,i.__)("Enter domain","gtm-kit"),help:(0,i.__)("Enter your custom domain name if you are using a custom server side GTM container for tracking.","gtm-kit"),useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(ge,{title:(0,i.__)("sGTM container identifier:","gtm-kit"),optionName:"sgtm_container_identifier",placeholder:(0,i.__)("Enter loader name","gtm-kit"),help:(0,i.__)("Only use if you are using a custom loader.","gtm-kit"),useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(de,{title:(0,i.__)("Cookie Keeper (for Stape users only)","gtm-kit"),label:(0,i.__)("Prolong cookie lifetime in Safari and other browsers with ITP. This only works if you use Stape sGTM hosting and have set up the Cookie Keeper power up.","gtm-kit"),optionName:"sgtm_cookie_keeper",disabled:r,useSettings:e,useUpdateStateSettings:n})]}),(0,ke.jsx)("div",{className:"gtmkit-px-8 gtmkit-py-6",children:(0,ke.jsxs)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3",children:[(0,ke.jsx)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold",children:(0,i.__)("Google Tag Manager Server-side Tagging","gtm-kit")}),(0,ke.jsxs)("p",{className:"gtmkit-mb-4",children:[(0,i.__)("Server-side tagging is a silver bullet that gives you improved data accuracy, performance, privacy, and flexibility.","gtm-kit")," ",(0,ke.jsx)("a",{href:"https://gtmkit.com/guides/google-tag-manager-server-side-tagging/#utm_source=gtmkit-plugin&utm_medium=software&utm_term=sgtm&utm_content=dashboard-container",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer",children:(0,i.__)("Learn more","gtm-kit")})]}),(0,ke.jsx)("h4",{className:"gtmkit-pt-4 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold",children:(0,i.__)("Hosting server-side GTM containers","gtm-kit")}),(0,ke.jsx)("p",{className:"gtmkit-mb-4",children:(0,i.__)("Setting up server-side tracking can be challenging and costly but there is an easy and cheap solution.","gtm-kit")}),(0,ke.jsxs)("p",{className:"gtmkit-mb-4",children:[(0,i.__)("Stape.io is a solution for hosting server-side Google Tag Manager containers, offering a simplified approach that demands less technical expertise than solutions like Google Cloud Platform.","gtm-kit")," ",(0,i.__)("Additionally, it provides valuable add-ons for enhanced functionality.","gtm-kit")]}),(0,ke.jsx)("p",{className:"gtmkit-mb-4",children:(0,ke.jsx)("a",{href:"https://jump.gtmkit.com/link/1-AC1E5",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer",children:(0,i.__)("Learn more about Stape.io","gtm-kit")})})]})})]})]}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("Page Speed Optimization","gtm-kit")}),(0,ke.jsxs)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4",children:[(0,ke.jsx)(fe.Content,{children:(0,ke.jsx)(de,{title:(0,i.__)("load_delayed_js event","gtm-kit"),label:(0,i.__)("Setting this to On will push the event 'load_delayed_js' on page load.","gtm-kit"),optionName:"load_js_event",useSettings:e,useUpdateStateSettings:n})}),(0,ke.jsx)("div",{className:"gtmkit-px-8 gtmkit-py-6",children:(0,ke.jsxs)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3",children:[(0,ke.jsx)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold",children:(0,i.__)("Delay JavaScript execution","gtm-kit")}),(0,ke.jsxs)("p",{className:"gtmkit-mb-4",children:[(0,i.__)("Page optimization plugins can delay the 'load_delayed_js' event and this can be used to delay the triggering og tags in Google Tag Manager.","gtm-kit")," ",(0,ke.jsx)("a",{href:"https://gtmkit.com/guides/delay-javascript-execution-in-gtm/#utm_source=gtmkit-plugin&utm_medium=software&utm_term=delay-js&utm_content=dashboard-container",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer",children:(0,i.__)("Learn more","gtm-kit")})]})]})})]})]}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("Google Tag Manager Environment","gtm-kit")}),(0,ke.jsxs)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4",children:[(0,ke.jsxs)(fe.Content,{children:[(0,ke.jsx)(ge,{title:(0,i.__)("gtm_auth:","gtm-kit"),optionName:"gtm_auth",placeholder:(0,i.__)("Enter gtm_auth code","gtm-kit"),help:(0,i.__)("Enter the gtm_auth code for your GTM environment.","gtm-kit"),useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(ge,{title:(0,i.__)("gtm_preview:","gtm-kit"),optionName:"gtm_preview",placeholder:(0,i.__)("Enter gtm_preview code","gtm-kit"),help:(0,i.__)("Enter the gtm_preview code for your GTM environment.","gtm-kit"),useSettings:e,useUpdateStateSettings:n})]}),(0,ke.jsx)("div",{className:"gtmkit-px-8 gtmkit-py-6",children:(0,ke.jsxs)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3",children:[(0,ke.jsx)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold",children:(0,i.__)("Environments","gtm-kit")}),(0,ke.jsxs)("p",{className:"gtmkit-mb-4",children:[(0,i.__)("In Google Tag Manager you can define different environments like Live, Dev and QA.","gtm-kit")," ",(0,i.__)('To use a specific environment in GTM Kit you must enter the "gtm_auth" and "gtm_preview" codes for that environment.',"gtm-kit")," ",(0,i.__)("If left empty the default environment will be used.","gtm-kit")]}),(0,ke.jsx)("h4",{className:"gtmkit-pt-4 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold",children:(0,i.__)("Override settings in wp-config.php","gtm-kit")}),(0,ke.jsxs)("p",{className:"gtmkit-mb-4",children:[(0,i.__)("You can override the values by using constants in wp-config.php, which is a very useful for setting the value in your development and staging environments.","gtm-kit")," ",(0,ke.jsx)("a",{href:"https://gtmkit.com/documentation/settings-actions-and-filters-for-developers/#utm_source=gtmkit-plugin&utm_medium=software&utm_term=container-settings&utm_content=dashboard-container",className:"gtmkit-text-color-primary gtmkit-font-semibold hover:gtmkit-underline",target:"_blank",rel:"noreferrer",children:(0,i.__)("Learn more","gtm-kit")})]})]})})]})]}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("Exclude User Roles","gtm-kit")}),(0,ke.jsxs)("div",{className:"gtmkit-grid gtmkit-grid-cols-2 gtmkit-gap-4",children:[(0,ke.jsx)(fe.Content,{children:(0,ke.jsx)(he,{title:(0,i.__)("Exclude user roles","gtm-kit"),help:(0,i.__)("Select the roles that you want to exclude from tracking.","gtm-kit"),items:o,optionName:"exclude_user_roles",useSettings:e,useUpdateStateSettings:n})}),(0,ke.jsx)("div",{className:"gtmkit-px-8 gtmkit-py-6",children:(0,ke.jsxs)("div",{className:"gtmkit-border-2 gtmkit-px-4 gtmkit-mt-3",children:[(0,ke.jsx)("h4",{className:"gtmkit-pt-3 gtmkit-mb-4 gtmkit-text-lg gtmkit-font-bold gtmkit-text-red-600",children:(0,i.__)("Warning!","gtm-kit")}),(0,ke.jsx)("p",{className:"gtmkit-mb-4",children:(0,i.__)("Excluding user roles is not compatible with all full-page cache solutions. Some full-page cache solutions may cache the page identically for all users, regardless of their user role. This could result in users being excluded who should not be.","gtm-kit")}),(0,ke.jsx)("p",{className:"gtmkit-mb-4",children:(0,i.__)("Please ensure thorough and proper testing of this.","gtm-kit")})]})})]})]}),(0,ke.jsxs)(fe,{children:[(0,ke.jsx)(fe.Header,{title:(0,i.__)("Container Code Implementation","gtm-kit")}),(0,ke.jsxs)(fe.Content,{children:[(0,ke.jsx)(pe,{title:(0,i.__)("Container code implementation:","gtm-kit"),options:[{label:(0,i.__)("Standard implementation as recommended by Google (no delay)","gtm-kit"),value:0},{label:(0,i.__)("Load container when the browser is idle (requestIdleCallback)","gtm-kit"),value:1}],help:(0,i.__)("Depending on how you use Google Tag Manager you can delay the loading of the container script until the browser is idle.","gtm-kit"),optionName:"script_implementation",useSettings:e,useUpdateStateSettings:n}),(0,ke.jsx)(pe,{title:(0,i.__)("Container code noscript implementation:","gtm-kit"),options:[{label:(0,i.__)("Just after the opening tag","gtm-kit"),value:0},{label:(0,i.__)("Footer of the page (not recommended by Google)","gtm-kit"),value:1},{label:(0,i.__)("Custom (insert function in your template)","gtm-kit"),value:2},{label:(0,i.__)("Disable