@moveo-ai/web-client 0.108.0 → 0.109.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +164 -69
- package/dist/63.min.js +2 -0
- package/dist/{329.min.js.LICENSE.txt → 63.min.js.LICENSE.txt} +1 -1
- package/dist/752.min.js +2 -0
- package/dist/{147.min.js.LICENSE.txt → 752.min.js.LICENSE.txt} +1 -1
- package/dist/882.min.js +1 -1
- package/dist/882.min.js.LICENSE.txt +1 -1
- package/dist/929.min.js +1 -1
- package/dist/929.min.js.LICENSE.txt +1 -1
- package/dist/audio-client.min.js +1 -1
- package/dist/audio-client.min.js.LICENSE.txt +20 -10
- package/dist/iframe.min.js +1 -1
- package/dist/iframe.min.js.LICENSE.txt +24 -27
- package/dist/index.html +1 -7
- package/dist/preview/index.html +16 -14
- package/dist/preview-telnyx/index.html +79 -0
- package/dist/preview.css.min.js +1 -1
- package/dist/preview.css.min.js.LICENSE.txt +1 -1
- package/dist/telnyx-client.min.js +1 -1
- package/dist/telnyx-client.min.js.LICENSE.txt +20 -10
- package/dist/web-client.min.js +1 -1
- package/dist/web-client.min.js.LICENSE.txt +1 -1
- package/dist/webrtc-client.min.js +1 -1
- package/dist/webrtc-client.min.js.LICENSE.txt +20 -10
- package/package.json +108 -99
- package/web-client.d.ts +152 -0
- package/dist/147.min.js +0 -2
- package/dist/147.min.js.map +0 -1
- package/dist/329.min.js +0 -2
- package/dist/329.min.js.map +0 -1
- package/dist/882.min.js.map +0 -1
- package/dist/929.min.js.map +0 -1
- package/dist/954.min.js +0 -2
- package/dist/954.min.js.LICENSE.txt +0 -6
- package/dist/954.min.js.map +0 -1
- package/dist/audio-client.min.js.map +0 -1
- package/dist/iframe.min.js.map +0 -1
- package/dist/iframe.v2.min.js +0 -2
- package/dist/iframe.v2.min.js.LICENSE.txt +0 -63
- package/dist/iframe.v2.min.js.map +0 -1
- package/dist/preview.css.min.js.map +0 -1
- package/dist/telnyx-client.min.js.map +0 -1
- package/dist/web-client.min.js.map +0 -1
- package/dist/webrtc-client.min.js.map +0 -1
package/dist/iframe.v2.min.js
DELETED
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
/*! For license information please see iframe.v2.min.js.LICENSE.txt */
|
|
2
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("MoveoAI",[],t):"object"==typeof exports?exports.MoveoAI=t():e.MoveoAI=t()}(this,function(){return function(){var e,t,r,n,o={2733:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,'/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-spacing-x:0;--tw-border-spacing-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-950:oklch(26.2% .051 172.552);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-normal:0em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-background:#1b66d6;--color-brand-foreground:#fff;--color-background:var(--color-white);--color-bg-muted:var(--color-slate-100);--color-bg-warning-soft:var(--color-amber-50);--color-bg-destructive-soft:var(--color-red-100);--color-bg-muted-40:#f1f5f966;--color-foreground:var(--color-slate-950);--color-foreground-muted:var(--color-slate-500);--color-surface-card:var(--color-white);--color-surface-card-foreground:var(--color-slate-950);--color-surface-popover-foreground:var(--color-slate-950);--color-surface-button-primary:var(--color-blue-700);--color-surface-button-secondary:var(--color-slate-100);--color-surface-button-secondary-hover:var(--color-slate-50);--color-surface-button-destructive:var(--color-red-200);--color-stroke:var(--color-slate-200);--color-border:var(--color-slate-200);--color-ring:var(--color-slate-500);--color-text-primary-foreground:var(--color-white);--color-text-secondary-foreground:var(--color-slate-900);--color-element-primary-foreground:var(--color-white);--color-highlight-background:var(--color-slate-100);--color-focus-ring:var(--color-slate-500);--color-accent:var(--color-brand-background);--color-primary:var(--color-accent);--color-destructive:var(--color-red-700);--color-successful:var(--color-emerald-500);--color-warning:var(--color-amber-600);--color-options-background:var(--color-white);--color-options-foreground:var(--color-accent);--color-options-border:var(--color-accent);--color-swimmlane-background:var(--color-surface-button-secondary);--color-swimmlane-foreground:var(--color-text-secondary-foreground);--color-carousel-card-background:var(--color-white);--color-carousel-card-foreground:var(--color-slate-900);--color-carousel-card-border:var(--color-slate-200);--color-chat-background:var(--color-background);--color-rating-background:var(--color-accent);--color-send-icon:var(--color-accent);--color-link:var(--color-accent);--font-size-brain-message:1rem}:root{--background:0 0% 100%;--foreground:222 6% 17%;--muted:0 0% 98%;--muted-foreground:220 3% 45%;--card:0 0% 100%;--card-foreground:222 6% 17%;--popover:0 0% 100%;--popover-foreground:222 6% 17%;--border:222 31% 27%;--input:222 31% 27%;--primary:215 78% 45%;--primary-foreground:0 0% 100%;--secondary:0 0% 98%;--secondary-foreground:222 6% 17%;--accent:0 0% 98%;--accent-foreground:222 6% 17%;--destructive:0 100% 53%;--destructive-foreground:0 61% 48%;--ring:215 78% 45%;--radius:.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}[data-registry=plate].dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%;--brand:213.3 93.9% 67.8%;--highlight:48 96% 53%}[data-registry=plate]{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:.5rem;--brand:217.2 91.2% 59.8%;--highlight:47.9 95.8% 53.1%}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentColor}::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::-moz-placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.dark{--color-background:var(--color-slate-950);--color-bg-muted:var(--color-slate-800);--color-bg-success-soft:var(--color-emerald-950);--color-bg-warning-soft:var(--color-amber-900);--color-bg-destructive-soft:var(--color-red-900);--color-bg-info-soft:var(--color-blue-900);--color-bg-muted-40:#1e293b66;--color-bg-muted-50:#1e293b80;--color-bg-accent-50:#3b82f680;--color-foreground:var(--color-slate-50);--color-foreground-muted:var(--color-slate-400);--color-muted-foreground:var(--color-slate-500);--color-surface-card:var(--color-slate-950);--color-surface-hover-lighten:#ffffff1a;--color-surface-hover-darken:#00000014;--color-surface-card-foreground:var(--color-slate-50);--color-surface-popover:var(--color-slate-950);--color-surface-popover-foreground:var(--color-slate-50);--color-surface-button-primary:var(--color-blue-500);--color-surface-button-primary-hover:var(--color-blue-400);--color-surface-button-secondary:var(--color-slate-800);--color-surface-button-secondary-hover:var(--color-slate-700);--color-surface-button-destructive:var(--color-red-800);--color-stroke:var(--color-slate-700);--color-stroke-muted-40:#1e293b66;--color-stroke-input:var(--color-slate-700);--color-stroke-destructive:var(--color-red-900);--color-border:var(--color-slate-700);--color-ring:var(--color-slate-400);--color-text-primary-foreground:var(--color-slate-900);--color-text-success-firm:var(--color-emerald-700);--color-text-secondary-foreground:var(--color-slate-50);--color-element-primary-foreground:var(--color-slate-900);--color-element-secondary-foreground:var(--color-slate-50);--color-highlight-background:var(--color-slate-800);--color-highlight-foreground:var(--color-slate-50);--color-focus-ring:var(--color-slate-400);--color-accent:var(--color-blue-500);--color-informational:var(--color-blue-500);--color-destructive:var(--color-red-500);--color-successful:var(--color-emerald-600);--color-warning:var(--color-amber-500);--color-ai:var(--color-purple-600);--color-options-background:var(--color-slate-800);--color-options-foreground:var(--color-accent);--color-options-border:var(--color-accent);--color-swimmlane-background:var(--color-surface-button-secondary);--color-swimmlane-foreground:var(--color-text-secondary-foreground);--color-carousel-card-background:var(--color-slate-800);--color-carousel-card-foreground:var(--color-slate-50);--color-carousel-card-border:var(--color-slate-700);--color-chat-background:var(--color-background)}body{background-color:var(--color-background);color:var(--color-foreground);font-family:var(--default-font-family,"Inter", sans-serif)}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}*{border-color:var(--color-border);outline-color:#62748e80}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}body{background-color:var(--color-background);color:var(--color-foreground)}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-\\[-4px\\]{inset:-4px}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-3{top:calc(var(--spacing) * -3)}.-top-14{top:calc(var(--spacing) * -14)}.-top-\\[28px\\]{top:-28px}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-\\[50\\%\\]{top:50%}.-right-0\\.5{right:calc(var(--spacing) * -.5)}.-right-2{right:calc(var(--spacing) * -2)}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.right-auto{right:auto}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-1{bottom:calc(var(--spacing) * 1)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-16{bottom:calc(var(--spacing) * 16)}.bottom-\\[calc\\(100\\%\\+40px\\)\\]{bottom:calc(100% + 40px)}.bottom-full{bottom:100%}.-left-2{left:calc(var(--spacing) * -2)}.left-0{left:calc(var(--spacing) * 0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-1100{z-index:1100}.clear-both{clear:both}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.m-2{margin:calc(var(--spacing) * 2)}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-3{margin-inline:calc(var(--spacing) * 3)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-8{margin-inline:calc(var(--spacing) * 8)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.-mt-4{margin-top:calc(var(--spacing) * -4)}.mt-0{margin-top:calc(var(--spacing) * 0)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-\\[var\\(--moveo-new-header-height\\)\\]{margin-top:var(--moveo-new-header-height)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-9{margin-bottom:calc(var(--spacing) * 9)}.mb-20{margin-bottom:calc(var(--spacing) * 20)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.-ml-4{margin-left:calc(var(--spacing) * -4)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-5{margin-left:calc(var(--spacing) * 5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-full{width:100%;height:100%}.h-\\(--moveo-chat-height\\){height:var(--moveo-chat-height)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-40{height:calc(var(--spacing) * 40)}.h-45{height:calc(var(--spacing) * 45)}.h-96{height:calc(var(--spacing) * 96)}.h-\\[18px\\]{height:18px}.h-\\[28px\\]{height:28px}.h-\\[42px\\]{height:42px}.h-\\[44px\\]{height:44px}.h-\\[72px\\]{height:72px}.h-\\[78vh\\]{height:78vh}.h-\\[82px\\]{height:82px}.h-\\[222px\\]{height:222px}.h-\\[254px\\]{height:254px}.h-\\[282px\\]{height:282px}.h-\\[386px\\]{height:386px}.h-\\[calc\\(100\\%-44px\\)\\]{height:calc(100% - 44px)}.h-\\[var\\(--moveo-chat-height\\)\\]{height:var(--moveo-chat-height)}.h-\\[var\\(--moveo-modal-tall-height\\)\\]{height:var(--moveo-modal-tall-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-18{max-height:calc(var(--spacing) * 18)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-50{max-height:calc(var(--spacing) * 50)}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[88px\\]{max-height:88px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[calc\\(100\\%-68px\\)\\]{max-height:calc(100% - 68px)}.max-h-\\[calc\\(100vh-16px\\)\\]{max-height:calc(100vh - 16px)}.max-h-\\[calc\\(100vh-80px\\)\\]{max-height:calc(100vh - 80px)}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-\\[calc\\(100\\%-44px\\)\\]{min-height:calc(100% - 44px)}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-\\(--moveo-expanded-chat-width\\){width:var(--moveo-expanded-chat-width)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3xs{width:var(--container-3xs)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:calc(var(--spacing) * 12)}.w-32{width:calc(var(--spacing) * 32)}.w-72{width:calc(var(--spacing) * 72)}.w-\\[2px\\]{width:2px}.w-\\[18px\\]{width:18px}.w-\\[28px\\]{width:28px}.w-\\[42px\\]{width:42px}.w-\\[328px\\]{width:328px}.w-\\[calc\\(100\\%\\+48px\\)\\]{width:calc(100% + 48px)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-\\[calc\\(100\\%-40px\\)\\]{width:calc(100% - 40px)}.w-\\[var\\(--moveo-chat-width\\)\\]{width:var(--moveo-chat-width)}.w-\\[var\\(--moveo-expanded-chat-width\\)\\]{width:var(--moveo-expanded-chat-width)}.w-\\[var\\(--moveo-modal-tall-width\\)\\]{width:var(--moveo-modal-tall-width)}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-max{width:-moz-max-content;width:max-content}.w-sm{width:var(--container-sm)}.w-xs{width:var(--container-xs)}.max-w-2xl{max-width:var(--container-2xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-18{max-width:calc(var(--spacing) * 18)}.max-w-\\[18rem\\]{max-width:18rem}.max-w-\\[200px\\]{max-width:200px}.max-w-fit{max-width:-moz-fit-content;max-width:fit-content}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-7{min-width:calc(var(--spacing) * 7)}.min-w-20{min-width:calc(var(--spacing) * 20)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[156px\\]{min-width:156px}.min-w-\\[260px\\]{min-width:260px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.min-w-auto{min-width:auto}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\\[130px\\]{flex-basis:130px}.basis-\\[336px\\]{flex-basis:336px}.basis-\\[400px\\]{flex-basis:400px}.basis-full{flex-basis:100%}.origin-\\(--radix-popover-content-transform-origin\\){transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-center{transform-origin:50%}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-6{--tw-translate-x:calc(var(--spacing) * -6);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-12{--tw-translate-x:calc(var(--spacing) * -12);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-0\\.5{--tw-translate-y:calc(var(--spacing) * -.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-2{--tw-translate-y:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[fadeIn_0\\.3s_forwards\\]{animation:.3s forwards fadeIn}.animate-\\[slide-in-up_0\\.2s_ease-out\\]{animation:.2s ease-out slide-in-up}.animate-\\[typing_1\\.2s_ease-in-out_infinite\\]{animation:1.2s ease-in-out infinite typing}.animate-fade-in{animation:1s ease-out fade-in}.animate-fade-out{animation:1s ease-out forwards fade-out}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.list-none{list-style-type:none}.appearance-none{-webkit-appearance:none;-moz-appearance:none;appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[36px_16px_36px\\]{grid-template-columns:36px 16px 36px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing) * 0)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-\\[2px\\]{gap:2px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\(--moveo-border-radius-base\\){border-radius:var(--moveo-border-radius-base)}.rounded-\\(--moveo-new-border-radius-base\\){border-radius:var(--moveo-new-border-radius-base)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--moveo-border-radius-base\\)\\]{border-radius:var(--moveo-border-radius-base)}.rounded-\\[var\\(--moveo-new-border-radius-base\\)\\]{border-radius:var(--moveo-new-border-radius-base)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.rounded-l-lg{border-top-left-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-none{--tw-border-style:none;border-style:none}.border-border{border-color:var(--color-border)}.border-carousel-card-border{border-color:var(--color-carousel-card-border)}.border-emerald-200\\/60{border-color:#a4f4cf99}@supports (color:color-mix(in lab, red, red)){.border-emerald-200\\/60{border-color:color-mix(in oklab, var(--color-emerald-200) 60%, transparent)}}.border-emerald-500\\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\\/20{border-color:color-mix(in oklab, var(--color-emerald-500) 20%, transparent)}}.border-focus-ring{border-color:var(--color-focus-ring)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-700{border-color:var(--color-gray-700)}.border-input{border-color:hsl(var(--input))}.border-muted-foreground\\/20{border-color:hsl(var(--muted-foreground))}@supports (color:color-mix(in lab, red, red)){.border-muted-foreground\\/20{border-color:color-mix(in oklab, hsl(var(--muted-foreground)) 20%, transparent)}}.border-options-border{border-color:var(--color-options-border)}.border-primary{border-color:var(--color-primary)}.border-rose-200\\/60{border-color:#ffccd399}@supports (color:color-mix(in lab, red, red)){.border-rose-200\\/60{border-color:color-mix(in oklab, var(--color-rose-200) 60%, transparent)}}.border-sky-200\\/60{border-color:#b8e6fe99}@supports (color:color-mix(in lab, red, red)){.border-sky-200\\/60{border-color:color-mix(in oklab, var(--color-sky-200) 60%, transparent)}}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\\/80{border-color:#e2e8f0cc}@supports (color:color-mix(in lab, red, red)){.border-slate-200\\/80{border-color:color-mix(in oklab, var(--color-slate-200) 80%, transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-t-rose-400\\/60{border-top-color:#ff667f99}@supports (color:color-mix(in lab, red, red)){.border-t-rose-400\\/60{border-top-color:color-mix(in oklab, var(--color-rose-400) 60%, transparent)}}.border-t-sky-400\\/60{border-top-color:#00bcfe99}@supports (color:color-mix(in lab, red, red)){.border-t-sky-400\\/60{border-top-color:color-mix(in oklab, var(--color-sky-400) 60%, transparent)}}.border-t-sky-500\\/60{border-top-color:#00a5ef99}@supports (color:color-mix(in lab, red, red)){.border-t-sky-500\\/60{border-top-color:color-mix(in oklab, var(--color-sky-500) 60%, transparent)}}.border-t-transparent{border-top-color:#0000}.border-r-rose-300\\/30{border-right-color:#ffa2ae4d}@supports (color:color-mix(in lab, red, red)){.border-r-rose-300\\/30{border-right-color:color-mix(in oklab, var(--color-rose-300) 30%, transparent)}}.border-r-sky-300\\/30{border-right-color:#77d4ff4d}@supports (color:color-mix(in lab, red, red)){.border-r-sky-300\\/30{border-right-color:color-mix(in oklab, var(--color-sky-300) 30%, transparent)}}.border-r-sky-400\\/30{border-right-color:#00bcfe4d}@supports (color:color-mix(in lab, red, red)){.border-r-sky-400\\/30{border-right-color:color-mix(in oklab, var(--color-sky-400) 30%, transparent)}}.border-b-transparent{border-bottom-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\\(--color-launcher-background\\,var\\(--color-accent\\)\\){background-color:var(--color-launcher-background,var(--color-accent))}.bg-\\(--color-opening-message-background\\,var\\(--color-accent\\)\\){background-color:var(--color-opening-message-background,var(--color-accent))}.bg-\\(--color-rating-background\\){background-color:var(--color-rating-background)}.bg-\\[var\\(--background\\)\\]{background-color:var(--background)}.bg-\\[var\\(--moveo-header-background\\)\\]{background-color:var(--moveo-header-background)}.bg-\\[var\\(--moveo-header-background\\,var\\(--color-accent\\)\\)\\]{background-color:var(--moveo-header-background,var(--color-accent))}.bg-\\[var\\(--nbg-bg\\)\\]{background-color:var(--nbg-bg)}.bg-\\[var\\(--text-03\\)\\]{background-color:var(--text-03)}.bg-accent{background-color:var(--color-accent)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-100\\/90{background-color:#fef3c6e6}@supports (color:color-mix(in lab, red, red)){.bg-amber-100\\/90{background-color:color-mix(in oklab, var(--color-amber-100) 90%, transparent)}}.bg-background{background-color:var(--color-background)}.bg-background\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-background\\/80{background-color:color-mix(in oklab, var(--color-background) 80%, transparent)}}.bg-bg-destructive-soft{background-color:var(--color-bg-destructive-soft)}.bg-bg-muted{background-color:var(--color-bg-muted)}.bg-bg-warning-soft{background-color:var(--color-bg-warning-soft)}.bg-black{background-color:var(--color-black)}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab, red, red)){.bg-black\\/40{background-color:color-mix(in oklab, var(--color-black) 40%, transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-border{background-color:var(--color-border)}.bg-carousel-card{background-color:var(--color-carousel-card-background)}.bg-chat-background{background-color:var(--color-chat-background)}.bg-emerald-50\\/80{background-color:#ecfdf5cc}@supports (color:color-mix(in lab, red, red)){.bg-emerald-50\\/80{background-color:color-mix(in oklab, var(--color-emerald-50) 80%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-500{background-color:var(--color-green-500)}.bg-highlight-background{background-color:var(--color-highlight-background)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground{background-color:hsl(var(--muted-foreground))}.bg-options{background-color:var(--color-options-background)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:var(--color-primary)}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-50\\/80{background-color:#fff1f2cc}@supports (color:color-mix(in lab, red, red)){.bg-rose-50\\/80{background-color:color-mix(in oklab, var(--color-rose-50) 80%, transparent)}}.bg-sky-50\\/80{background-color:#f0f9ffcc}@supports (color:color-mix(in lab, red, red)){.bg-sky-50\\/80{background-color:color-mix(in oklab, var(--color-sky-50) 80%, transparent)}}.bg-sky-100{background-color:var(--color-sky-100)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-surface-button-secondary{background-color:var(--color-surface-button-secondary)}.bg-surface-card{background-color:var(--color-surface-card)}.bg-swimmlane-background{background-color:var(--color-swimmlane-background)}.bg-transparent{background-color:#0000}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\\/80{background-color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\\/90{background-color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-accent{--tw-gradient-from:var(--color-accent);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-emerald-600{--tw-gradient-to:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-contain{background-size:contain}.bg-right{background-position:100%}.bg-no-repeat{background-repeat:no-repeat}.fill-\\(--color-launcher-background\\,var\\(--color-accent\\)\\){fill:var(--color-launcher-background,var(--color-accent))}.fill-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){fill:var(--color-launcher-foreground,var(--color-background))}.fill-sky-600{fill:var(--color-sky-600)}.fill-white{fill:var(--color-white)}.stroke-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){stroke:var(--color-launcher-foreground,var(--color-background))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\\.5{padding-block:calc(var(--spacing) * 3.5)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-\\[var\\(--moveo-new-header-height\\)\\]{padding-top:var(--moveo-new-header-height)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-14{padding-bottom:calc(var(--spacing) * 14)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pb-32{padding-bottom:calc(var(--spacing) * 32)}.pb-\\[40px\\]{padding-bottom:40px}.pl-0{padding-left:calc(var(--spacing) * 0)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.8rem\\]{font-size:.8rem}.text-\\[0\\.65rem\\]{font-size:.65rem}.text-\\[10px\\]{font-size:10px}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-8{--tw-leading:calc(var(--spacing) * 8);line-height:calc(var(--spacing) * 8)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.25em\\]{--tw-tracking:.25em;letter-spacing:.25em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-wrap{text-wrap:wrap}.break-words,.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.text-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){color:var(--color-launcher-foreground,var(--color-background))}.text-\\(--color-link\\){color:var(--color-link)}.text-\\(--color-opening-message-foreground\\,var\\(--color-text-primary-foreground\\)\\){color:var(--color-opening-message-foreground,var(--color-text-primary-foreground))}.text-\\(--color-send-icon\\){color:var(--color-send-icon)}.text-\\[var\\(--color-link\\)\\]{color:var(--color-link)}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-accent\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-accent))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-element-primary-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-element-primary-foreground))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-foreground))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-text-primary-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-text-primary-foreground))}.text-\\[var\\(--moveo-header-text-color\\,white\\)\\]{color:var(--moveo-header-text-color,white)}.text-accent{color:var(--color-accent)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-carousel-card-foreground{color:var(--color-carousel-card-foreground)}.text-carousel-card-foreground\\/70{color:#0f172bb3}@supports (color:color-mix(in lab, red, red)){.text-carousel-card-foreground\\/70{color:color-mix(in oklab, var(--color-carousel-card-foreground) 70%, transparent)}}.text-current{color:currentColor}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-foreground{color:var(--color-foreground)}.text-foreground-muted{color:var(--color-foreground-muted)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-options-foreground{color:var(--color-options-foreground)}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-rose-500{color:var(--color-rose-500)}.text-rose-600{color:var(--color-rose-600)}.text-sky-500{color:var(--color-sky-500)}.text-sky-600{color:var(--color-sky-600)}.text-sky-700{color:var(--color-sky-700)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-surface-button-primary{color:var(--color-surface-button-primary)}.text-surface-card-foreground{color:var(--color-surface-card-foreground)}.text-surface-popover-foreground{color:var(--color-surface-popover-foreground)}.text-swimmlane-foreground{color:var(--color-swimmlane-foreground)}.text-text-primary-foreground{color:var(--color-text-primary-foreground)}.text-text-secondary-foreground{color:var(--color-text-secondary-foreground)}.text-warning{color:var(--color-warning)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow-\\[0_2px_8px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(14\\,165\\,233\\,0\\.12\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#0ea5e91f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(16\\,185\\,129\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#10b98126);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(244\\,63\\,94\\,0\\.12\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#f43f5e1f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_4px_14px_rgba\\(16\\,185\\,129\\,0\\.25\\)\\]{--tw-shadow:0 4px 14px var(--tw-shadow-color,#10b98140);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[var\\(--moveo-shadow-bubble\\)\\]{--tw-shadow:var(--moveo-shadow-bubble);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-amber-200\\/70{--tw-shadow-color:#fee685b3}@supports (color:color-mix(in lab, red, red)){.shadow-amber-200\\/70{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-amber-200) 70%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-amber-300{--tw-ring-color:var(--color-amber-300)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{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,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-\\[20px\\]{--tw-backdrop-blur:blur(20px);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-saturate-150{--tw-backdrop-saturate:saturate(150%);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.delay-500{transition-delay:.5s}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-2000{--tw-duration:2s;transition-duration:2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-transform{will-change:transform}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.\\[animation-delay\\:0\\.2s\\]{animation-delay:.2s}.\\[animation-delay\\:0\\.4s\\]{animation-delay:.4s}.\\[animation-delay\\:0s\\]{animation-delay:0s}.\\[animation-fill-mode\\:forwards\\]{animation-fill-mode:forwards}.\\[scrollbar-color\\:rgba\\(0\\,0\\,0\\,0\\.15\\)_transparent\\]{scrollbar-color:#00000026 transparent}.\\[scrollbar-width\\:thin\\]{scrollbar-width:thin}@media (hover:hover){.group-hover\\:opacity-0:is(:where(.group):hover *){opacity:0}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.selection\\:bg-primary ::-moz-selection{background-color:var(--color-primary)}.selection\\:bg-primary ::selection{background-color:var(--color-primary)}.selection\\:bg-primary::-moz-selection{background-color:var(--color-primary)}.selection\\:bg-primary::selection{background-color:var(--color-primary)}.selection\\:text-primary-foreground ::-moz-selection{color:hsl(var(--primary-foreground))}.selection\\:text-primary-foreground ::selection{color:hsl(var(--primary-foreground))}.selection\\:text-primary-foreground::-moz-selection{color:hsl(var(--primary-foreground))}.selection\\:text-primary-foreground::selection{color:hsl(var(--primary-foreground))}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\\:text-foreground-muted::-moz-placeholder{color:var(--color-foreground-muted)}.placeholder\\:text-foreground-muted::placeholder{color:var(--color-foreground-muted)}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-\\[1\\.05\\]:hover{scale:1.05}.hover\\:border-red-500\\/20:hover{border-color:#fb2c3633}@supports (color:color-mix(in lab, red, red)){.hover\\:border-red-500\\/20:hover{border-color:color-mix(in oklab, var(--color-red-500) 20%, transparent)}}.hover\\:bg-accent\\/90:hover{background-color:#1b66d6e6}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/90:hover{background-color:color-mix(in oklab, var(--color-accent) 90%, transparent)}}.hover\\:bg-amber-200:hover{background-color:var(--color-amber-200)}.hover\\:bg-bg-muted:hover{background-color:var(--color-bg-muted)}.hover\\:bg-gray-700\\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-gray-700\\/50:hover{background-color:color-mix(in oklab, var(--color-gray-700) 50%, transparent)}}.hover\\:bg-highlight-background:hover{background-color:var(--color-highlight-background)}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/70:hover{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/70:hover{background-color:color-mix(in oklab, hsl(var(--muted)) 70%, transparent)}}.hover\\:bg-options\\!:hover{background-color:var(--color-options-background)!important}.hover\\:bg-rose-100:hover{background-color:var(--color-rose-100)}.hover\\:bg-sky-200:hover{background-color:var(--color-sky-200)}.hover\\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\\:bg-surface-button-destructive:hover{background-color:var(--color-surface-button-destructive)}.hover\\:bg-surface-button-secondary-hover:hover{background-color:var(--color-surface-button-secondary-hover)}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.hover\\:bg-gradient-to-br:hover{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.hover\\:from-red-500:hover{--tw-gradient-from:var(--color-red-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:to-red-600:hover{--tw-gradient-to:var(--color-red-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:text-\\[var\\(--color-accent\\)\\]:hover{color:var(--color-accent)}.hover\\:text-foreground:hover{color:var(--color-foreground)}.hover\\:text-surface-button-primary:hover{color:var(--color-surface-button-primary)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-\\[0_6px_20px_rgba\\(16\\,185\\,129\\,0\\.35\\)\\]:hover{--tw-shadow:0 6px 20px var(--tw-shadow-color,#10b98159);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-\\[0_6px_20px_rgba\\(239\\,68\\,68\\,0\\.35\\)\\]:hover{--tw-shadow:0 6px 20px var(--tw-shadow-color,#ef444459);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:brightness-\\[0\\.92\\]:hover{--tw-brightness:brightness(.92);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,)}.hover\\:backdrop-blur-sm:hover{--tw-backdrop-blur:blur(var(--blur-sm));backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}.focus\\:bg-bg-muted:focus{background-color:var(--color-bg-muted)}.focus\\:text-foreground:focus{color:var(--color-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--color-ring)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-amber-400:focus-visible{--tw-ring-color:var(--color-amber-400)}.focus-visible\\:ring-bg-destructive-soft:focus-visible{--tw-ring-color:var(--color-bg-destructive-soft)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:#62748e80}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.focus-visible\\:ring-sky-400:focus-visible{--tw-ring-color:var(--color-sky-400)}.focus-visible\\:ring-slate-400:focus-visible{--tw-ring-color:var(--color-slate-400)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-white:focus-visible{--tw-ring-offset-color:var(--color-white)}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--color-destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:#bf000f33}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[placeholder\\]\\:text-sm[data-placeholder]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[placeholder\\]\\:leading-5[data-placeholder]{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.data-\\[placeholder\\]\\:font-normal[data-placeholder]{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.data-\\[placeholder\\]\\:text-foreground-muted[data-placeholder]{color:var(--color-foreground-muted)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}.data-\\[state\\=checked\\]\\:border-primary[data-state=checked]{border-color:var(--color-primary)}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}@media (min-width:40rem){.sm\\:block{display:block}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:text-left{text-align:left}.sm\\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.sm\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media (min-width:48rem){.md\\:max-h-\\[70vh\\]{max-height:70vh}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:items-start{align-items:flex-start}.md\\:px-12{padding-inline:calc(var(--spacing) * 12)}.md\\:pb-16{padding-bottom:calc(var(--spacing) * 16)}.md\\:text-left{text-align:left}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media (min-width:64rem){.lg\\:gap-16{gap:calc(var(--spacing) * 16)}}.dark\\:border-emerald-500\\/30:is(.dark *){border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-emerald-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.dark\\:border-focus-ring:is(.dark *){border-color:var(--color-focus-ring)}.dark\\:border-input:is(.dark *){border-color:hsl(var(--input))}.dark\\:border-rose-500\\/30:is(.dark *){border-color:#ff23574d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-rose-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-rose-500) 30%, transparent)}}.dark\\:border-sky-500\\/30:is(.dark *){border-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-sky-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.dark\\:border-slate-700\\/50:is(.dark *){border-color:#31415880}@supports (color:color-mix(in lab, red, red)){.dark\\:border-slate-700\\/50:is(.dark *){border-color:color-mix(in oklab, var(--color-slate-700) 50%, transparent)}}.dark\\:border-stroke:is(.dark *){border-color:var(--color-stroke)}.dark\\:bg-amber-500\\/15:is(.dark *){background-color:#f99c0026}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-amber-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.dark\\:bg-amber-500\\/20:is(.dark *){background-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-amber-500\\/20:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.dark\\:bg-emerald-500\\/15:is(.dark *){background-color:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-emerald-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, hsl(var(--input)) 30%, transparent)}}.dark\\:bg-rose-500\\/15:is(.dark *){background-color:#ff235726}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-rose-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-rose-500) 15%, transparent)}}.dark\\:bg-sky-500\\/15:is(.dark *){background-color:#00a5ef26}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-sky-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-sky-500) 15%, transparent)}}.dark\\:bg-sky-500\\/20:is(.dark *){background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-sky-500\\/20:is(.dark *){background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.dark\\:bg-slate-700\\/50:is(.dark *){background-color:#31415880}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-slate-700\\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-slate-700) 50%, transparent)}}.dark\\:bg-slate-900\\/80:is(.dark *){background-color:#0f172bcc}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-slate-900\\/80:is(.dark *){background-color:color-mix(in oklab, var(--color-slate-900) 80%, transparent)}}.dark\\:from-accent:is(.dark *){--tw-gradient-from:var(--color-accent);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:from-emerald-600:is(.dark *){--tw-gradient-from:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:to-emerald-700:is(.dark *){--tw-gradient-to:var(--color-emerald-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:to-slate-950:is(.dark *){--tw-gradient-to:var(--color-slate-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:fill-sky-300:is(.dark *){fill:var(--color-sky-300)}.dark\\:text-amber-200:is(.dark *){color:var(--color-amber-200)}.dark\\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\\:text-emerald-300:is(.dark *){color:var(--color-emerald-300)}.dark\\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\\:text-foreground:is(.dark *){color:var(--color-foreground)}.dark\\:text-rose-300:is(.dark *){color:var(--color-rose-300)}.dark\\:text-rose-400:is(.dark *){color:var(--color-rose-400)}.dark\\:text-sky-300:is(.dark *){color:var(--color-sky-300)}.dark\\:text-sky-400:is(.dark *){color:var(--color-sky-400)}.dark\\:text-slate-100:is(.dark *){color:var(--color-slate-100)}.dark\\:text-slate-200:is(.dark *){color:var(--color-slate-200)}.dark\\:text-slate-300:is(.dark *){color:var(--color-slate-300)}.dark\\:text-slate-400:is(.dark *){color:var(--color-slate-400)}.dark\\:text-text-primary-foreground:is(.dark *){color:var(--color-text-primary-foreground)}.dark\\:shadow-xl:is(.dark *){--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dark\\:shadow-slate-950\\/30:is(.dark *){--tw-shadow-color:#0206184d}@supports (color:color-mix(in lab, red, red)){.dark\\:shadow-slate-950\\/30:is(.dark *){--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-slate-950) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.dark\\:ring-amber-400\\/40:is(.dark *){--tw-ring-color:#fcbb0066}@supports (color:color-mix(in lab, red, red)){.dark\\:ring-amber-400\\/40:is(.dark *){--tw-ring-color:color-mix(in oklab, var(--color-amber-400) 40%, transparent)}}@media (hover:hover){.dark\\:hover\\:bg-amber-500\\/30:is(.dark *):hover{background-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-amber-500\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.dark\\:hover\\:bg-rose-500\\/25:is(.dark *):hover{background-color:#ff235740}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-rose-500\\/25:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-rose-500) 25%, transparent)}}.dark\\:hover\\:bg-sky-500\\/30:is(.dark *):hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-sky-500\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.dark\\:hover\\:bg-slate-700:is(.dark *):hover{background-color:var(--color-slate-700)}.dark\\:hover\\:from-red-600:is(.dark *):hover{--tw-gradient-from:var(--color-red-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:hover\\:to-red-700:is(.dark *):hover{--tw-gradient-to:var(--color-red-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}}.dark\\:focus-visible\\:ring-offset-slate-950:is(.dark *):focus-visible{--tw-ring-offset-color:var(--color-slate-950)}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:#bf000f66}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\\:data-\\[state\\=checked\\]\\:bg-primary:is(.dark *)[data-state=checked]{background-color:var(--color-primary)}.\\[\\&_a\\]\\:cursor-pointer a{cursor:pointer}.\\[\\&_a\\]\\:text-accent a{color:var(--color-accent)}.\\[\\&_a\\:hover\\]\\:underline a:hover{text-decoration-line:underline}.\\[\\&_a\\>\\*\\]\\:pointer-events-none a>*{pointer-events:none}.\\[\\&_p\\]\\:max-w-md p{max-width:var(--container-md)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\]\\:h-6 svg{height:calc(var(--spacing) * 6)}.\\[\\&_svg\\]\\:w-6 svg{width:calc(var(--spacing) * 6)}.\\[\\&_svg\\]\\:flex-shrink-0 svg,.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\'size-\\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\'text-\\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:hsl(var(--muted-foreground))}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:calc(var(--spacing) * 6);margin-bottom:calc(var(--spacing) * 2);--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--color-foreground)}.markdown h1{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.markdown h2{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.markdown h3{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.markdown h4{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.markdown h5{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.markdown h6{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.markdown ul{padding-left:calc(var(--spacing) * 5);list-style-type:disc}.markdown ol{padding-left:calc(var(--spacing) * 5);list-style-type:decimal}.markdown ul,.markdown ol{margin-block:calc(var(--spacing) * 4);color:var(--color-foreground)}.markdown li{margin-block:calc(var(--spacing) * 2)}.markdown pre{margin-block:calc(var(--spacing) * 4);border-radius:var(--radius-lg);background-color:var(--color-bg-muted);padding:calc(var(--spacing) * 4);overflow-x:auto}.markdown code{background-color:var(--color-bg-muted-40);padding-inline:calc(var(--spacing) * 1);padding-block:calc(var(--spacing) * .5);font-family:var(--font-mono);border-radius:.25rem;font-size:85%}.markdown pre code{padding:calc(var(--spacing) * 0);background-color:#0000}.markdown blockquote{margin-block:calc(var(--spacing) * 4);border-left-style:var(--tw-border-style);border-left-width:4px;border-color:var(--color-stroke);padding-inline:calc(var(--spacing) * 4);color:var(--color-foreground-muted)}.markdown a{color:var(--color-link);text-decoration-line:underline}.markdown a:hover{color:var(--color-link)}.markdown a *{pointer-events:none}.markdown em{font-style:italic}.markdown strong{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.markdown hr{margin-block:calc(var(--spacing) * 6);height:calc(var(--spacing) * 1);border-style:var(--tw-border-style);background-color:var(--color-stroke);padding:calc(var(--spacing) * 0);border-width:0}.markdown>:has(>table),.markdown:has(>table){max-width:100%;display:block;overflow-x:auto}.markdown table{margin-block:calc(var(--spacing) * 4);border-collapse:collapse;--tw-border-spacing-x:calc(var(--spacing) * 0);--tw-border-spacing-y:calc(var(--spacing) * 0);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);width:-moz-max-content;width:max-content;min-width:100%;display:table}.markdown thead{display:table-header-group}.markdown tbody{display:table-row-group}.markdown tr{display:table-row}.markdown p{overflow-wrap:break-word;white-space:normal}.markdown th,.markdown td{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-stroke);padding:calc(var(--spacing) * 2);overflow-wrap:break-word;white-space:normal;display:table-cell}.markdown th{background-color:var(--color-bg-muted);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.markdown tr:nth-child(2n){background-color:var(--color-bg-muted-40)}@keyframes typing{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes slide-in-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}[contenteditable][data-placeholder]:empty:before{content:attr(data-placeholder);color:var(--color-foreground-muted);pointer-events:none}::-webkit-scrollbar-track{background-color:#0000;box-shadow:inset 0 0 6px #0000004d}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}0%{opacity:0}to{opacity:1}}\n',"",{version:3,sources:["webpack://./src/index.css"],names:[],mappings:"AAAA,gEAAgE;AAChE,kBAAkB,kIAAoI,4BAA4B,kBAAkB,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,mBAAmB,CAAC,mBAAmB,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,8BAA8B,CAAC,wBAAwB,CAAC,uBAAuB,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,+BAA+B,CAAC,8BAA8B,CAAC,8BAA8B,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,2BAA2B,CAAC,+BAA+B,CAAC,4BAA4B,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,6BAA6B,CAAC,gCAAgC,CAAC,uBAAuB,CAAC,0BAA0B,CAAC,2BAA2B,CAAC,iCAAiC,CAAC,wBAAwB,CAAC,iBAAiB,CAAC,uBAAuB,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,uBAAuB,CAAC,mBAAmB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,kBAAkB,CAAC,wBAAwB,CAAC,8BAA8B,CAAC,2BAA2B,CAAC,6BAA6B,CAAC,0BAA0B,CAAC,gCAAgC,CAAC,8BAA8B,CAAC,+BAA+B,CAAC,gCAAgC,CAAC,4BAA4B,CAAC,6BAA6B,CAAC,8BAA8B,CAAC,2BAA2B,CAAC,qBAAqB,CAAC,iBAAiB,CAAC,cAAc,CAAC,cAAc,CAAC,cAAc,CAAC,uBAAuB,CAAC,uBAAuB,CAAC,CAAC,CAAC,aAAa,YAAY,8HAA8H,CAAC,8GAA8G,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,2CAA2C,CAAC,4CAA4C,CAAC,4CAA4C,CAAC,6CAA6C,CAAC,6CAA6C,CAAC,2CAA2C,CAAC,6CAA6C,CAAC,6CAA6C,CAAC,6CAA6C,CAAC,uCAAuC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,wCAAwC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,uCAAuC,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,4CAA4C,CAAC,wCAAwC,CAAC,uCAAuC,CAAC,yCAAyC,CAAC,uCAAuC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,0CAA0C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,2CAA2C,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,yCAAyC,CAAC,0CAA0C,CAAC,0CAA0C,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,oCAAoC,CAAC,iBAAiB,CAAC,wCAAwC,CAAC,gBAAgB,CAAC,sCAAsC,CAAC,kBAAkB,CAAC,yCAAyC,CAAC,iBAAiB,CAAC,wCAAwC,CAAC,iBAAiB,CAAC,qCAAqC,CAAC,kBAAkB,CAAC,wCAAwC,CAAC,eAAe,CAAC,yBAAyB,CAAC,wBAAwB,CAAC,wBAAwB,CAAC,0BAA0B,CAAC,qBAAqB,CAAC,sBAAsB,CAAC,sBAAsB,CAAC,oBAAoB,CAAC,kBAAkB,CAAC,mBAAmB,CAAC,iBAAiB,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,oCAAoC,CAAC,wCAAwC,CAAC,sCAAsC,CAAC,aAAa,CAAC,cAAc,CAAC,kCAAkC,CAAC,+DAA+D,CAAC,sCAAsC,CAAC,2CAA2C,CAAC,gCAAgC,CAAC,6BAA6B,CAAC,qCAAqC,CAAC,uCAAuC,CAAC,6CAA6C,CAAC,gDAAgD,CAAC,6BAA6B,CAAC,yCAAyC,CAAC,+CAA+C,CAAC,uCAAuC,CAAC,sDAAsD,CAAC,yDAAyD,CAAC,oDAAoD,CAAC,uDAAuD,CAAC,4DAA4D,CAAC,uDAAuD,CAAC,qCAAqC,CAAC,qCAAqC,CAAC,mCAAmC,CAAC,kDAAkD,CAAC,wDAAwD,CAAC,qDAAqD,CAAC,mDAAmD,CAAC,yCAAyC,CAAC,4CAA4C,CAAC,mCAAmC,CAAC,wCAAwC,CAAC,2CAA2C,CAAC,sCAAsC,CAAC,6CAA6C,CAAC,8CAA8C,CAAC,0CAA0C,CAAC,kEAAkE,CAAC,mEAAmE,CAAC,mDAAmD,CAAC,uDAAuD,CAAC,mDAAmD,CAAC,+CAA+C,CAAC,6CAA6C,CAAC,qCAAqC,CAAC,gCAAgC,CAAC,8BAA8B,CAAC,MAAM,sBAAsB,CAAC,uBAAuB,CAAC,gBAAgB,CAAC,6BAA6B,CAAC,gBAAgB,CAAC,4BAA4B,CAAC,mBAAmB,CAAC,+BAA+B,CAAC,oBAAoB,CAAC,mBAAmB,CAAC,qBAAqB,CAAC,8BAA8B,CAAC,oBAAoB,CAAC,iCAAiC,CAAC,iBAAiB,CAAC,8BAA8B,CAAC,wBAAwB,CAAC,kCAAkC,CAAC,kBAAkB,CAAC,cAAc,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,2BAA2B,sBAAsB,CAAC,qBAAqB,CAAC,gBAAgB,CAAC,0BAA0B,CAAC,mBAAmB,CAAC,6BAA6B,CAAC,kBAAkB,CAAC,4BAA4B,CAAC,sBAAsB,CAAC,+BAA+B,CAAC,kBAAkB,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,4BAA4B,CAAC,2BAA2B,CAAC,iCAAiC,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,iBAAiB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,yBAAyB,CAAC,sBAAsB,CAAC,sBAAsB,sBAAsB,CAAC,sBAAsB,CAAC,gBAAgB,CAAC,2BAA2B,CAAC,mBAAmB,CAAC,8BAA8B,CAAC,iBAAiB,CAAC,6BAA6B,CAAC,sBAAsB,CAAC,8BAA8B,CAAC,kBAAkB,CAAC,6BAA6B,CAAC,mBAAmB,CAAC,2BAA2B,CAAC,2BAA2B,CAAC,iCAAiC,CAAC,mBAAmB,CAAC,kBAAkB,CAAC,gBAAgB,CAAC,oBAAoB,CAAC,qBAAqB,CAAC,qBAAqB,CAAC,oBAAoB,CAAC,oBAAoB,CAAC,cAAc,CAAC,yBAAyB,CAAC,4BAA4B,CAAC,CAAC,YAAY,4BAA4B,qBAAqB,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,uBAAuB,qBAAqB,CAAC,cAAc,CAAC,QAAQ,CAAC,SAAS,CAAC,WAAW,6BAA6B,CAAC,eAAU,CAAV,aAAU,CAAV,UAAU,CAAC,eAAe,CAAC,yJAAyJ,CAAC,iEAAiE,CAAC,qEAAqE,CAAC,uCAAuC,CAAC,GAAG,QAAQ,CAAC,aAAa,CAAC,oBAAoB,CAAC,oBAAoB,wCAAwC,CAAC,gCAAgC,CAAC,kBAAkB,iBAAiB,CAAC,mBAAmB,CAAC,EAAE,aAAa,CAAC,+BAA+B,CAAC,+BAA+B,CAAC,+BAA+B,CAAC,uBAAuB,CAAC,SAAS,kBAAkB,CAAC,kBAAkB,8IAA8I,CAAC,sEAAsE,CAAC,0EAA0E,CAAC,aAAa,CAAC,MAAM,aAAa,CAAC,QAAQ,uBAAuB,CAAC,aAAa,CAAC,aAAa,CAAC,iBAAiB,CAAC,IAAI,aAAa,CAAC,IAAI,SAAS,CAAC,MAAM,aAAa,CAAC,oBAAoB,CAAC,wBAAwB,CAAC,gBAAgB,YAAY,CAAC,SAAS,uBAAuB,CAAC,QAAQ,iBAAiB,CAAC,WAAW,eAAe,CAAC,+CAA+C,qBAAqB,CAAC,aAAa,CAAC,UAAU,cAAc,CAAC,WAAW,CAAC,sCAAsC,YAAY,CAAC,6BAA6B,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,aAAa,CAAC,SAAS,CAAC,sBAAsB,CAAC,eAAe,CAAC,uBAAuB,YAAY,CAAC,6BAA6B,CAAC,+BAA+B,CAAC,sBAAsB,CAAC,aAAa,CAAC,SAAS,CAAC,sBAAsB,CAAC,eAAe,CAAC,8CAA8C,kBAAkB,CAAC,qDAAqD,yBAAyB,CAAC,uBAAuB,qBAAqB,CAAC,mBAAc,SAAS,CAAvB,cAAc,SAAS,CAAC,uFAAyF,mBAAc,kBAAkB,CAAhC,cAAc,kBAAkB,CAAC,8CAA8C,mBAAc,wDAAwD,CAAtE,cAAc,wDAAwD,CAAC,CAAC,CAAC,SAAS,eAAe,CAAC,4BAA4B,uBAAuB,CAAC,8BAA8B,cAAc,CAAC,kBAAkB,CAAC,wBAAwB,mBAAmB,CAAC,uCAAuC,SAAS,CAAC,wBAAwB,eAAe,CAAC,mCAAmC,eAAe,CAAC,oCAAoC,eAAe,CAAC,kCAAkC,eAAe,CAAC,mCAAmC,eAAe,CAAC,qCAAqC,eAAe,CAAC,qCAAqC,eAAe,CAAC,0CAA0C,eAAe,CAAC,uCAAuC,eAAe,CAAC,oCAAoC,aAAa,CAAC,iBAAiB,eAAe,CAAC,6DAA6D,yBAAgB,CAAhB,sBAAgB,CAAhB,iBAAiB,CAAC,uBAAuB,yBAAgB,CAAhB,sBAAgB,CAAhB,iBAAiB,CAAC,4BAA4B,WAAW,CAAC,4BAA4B,WAAW,CAAC,2CAA2C,sBAAsB,CAAC,MAAM,yCAAyC,CAAC,uCAAuC,CAAC,gDAAgD,CAAC,8CAA8C,CAAC,gDAAgD,CAAC,0CAA0C,CAAC,6BAA6B,CAAC,6BAA6B,CAAC,8BAA8B,CAAC,wCAAwC,CAAC,+CAA+C,CAAC,+CAA+C,CAAC,2CAA2C,CAAC,uCAAuC,CAAC,sCAAsC,CAAC,qDAAqD,CAAC,8CAA8C,CAAC,wDAAwD,CAAC,oDAAoD,CAAC,0DAA0D,CAAC,uDAAuD,CAAC,6DAA6D,CAAC,uDAAuD,CAAC,qCAAqC,CAAC,iCAAiC,CAAC,2CAA2C,CAAC,+CAA+C,CAAC,qCAAqC,CAAC,mCAAmC,CAAC,sDAAsD,CAAC,kDAAkD,CAAC,uDAAuD,CAAC,yDAAyD,CAAC,0DAA0D,CAAC,mDAAmD,CAAC,kDAAkD,CAAC,yCAAyC,CAAC,oCAAoC,CAAC,2CAA2C,CAAC,wCAAwC,CAAC,2CAA2C,CAAC,sCAAsC,CAAC,kCAAkC,CAAC,iDAAiD,CAAC,8CAA8C,CAAC,0CAA0C,CAAC,kEAAkE,CAAC,mEAAmE,CAAC,uDAAuD,CAAC,sDAAsD,CAAC,mDAAmD,CAAC,+CAA+C,CAAC,KAAK,wCAAwC,CAAC,6BAA6B,CAAC,0DAA0D,CAAC,4BAA4B,+CAA+C,CAAC,uBAAuB,+CAA+C,CAAC,EAAE,gCAAgC,CAAC,uBAAuB,CAAC,8CAA8C,EAAE,qEAAqE,CAAC,CAAC,KAAK,wCAAwC,CAAC,6BAA6B,CAAC,CAAC,iBAAiB,CAAC,iBAAiB,qBAAqB,mBAAmB,CAAC,qBAAqB,mBAAmB,CAAC,WAAW,iBAAiB,CAAC,SAAS,kBAAkB,CAAC,SAAS,oBAAoB,CAAC,kBAAkB,CAAC,cAAc,CAAC,SAAS,CAAC,UAAU,CAAC,WAAW,CAAC,SAAS,CAAC,iBAAiB,CAAC,eAAe,CAAC,UAAU,iBAAiB,CAAC,OAAO,cAAc,CAAC,UAAU,iBAAiB,CAAC,QAAQ,eAAe,CAAC,QAAQ,eAAe,CAAC,SAAS,8BAA8B,CAAC,gBAAgB,UAAU,CAAC,WAAW,qCAAqC,CAAC,OAAO,iCAAiC,CAAC,KAAK,+BAA+B,CAAC,QAAQ,6BAA6B,CAAC,SAAS,8BAA8B,CAAC,eAAe,SAAS,CAAC,OAAO,4BAA4B,CAAC,UAAU,OAAO,CAAC,OAAO,4BAA4B,CAAC,cAAc,OAAO,CAAC,aAAa,gCAAgC,CAAC,UAAU,+BAA+B,CAAC,SAAS,8BAA8B,CAAC,SAAS,8BAA8B,CAAC,SAAS,8BAA8B,CAAC,YAAY,UAAU,CAAC,WAAW,gCAAgC,CAAC,UAAU,+BAA+B,CAAC,UAAU,+BAA+B,CAAC,UAAU,+BAA+B,CAAC,UAAU,+BAA+B,CAAC,WAAW,gCAAgC,CAAC,gCAAgC,wBAAwB,CAAC,aAAa,WAAW,CAAC,SAAS,8BAA8B,CAAC,QAAQ,6BAA6B,CAAC,WAAW,QAAQ,CAAC,QAAQ,6BAA6B,CAAC,QAAQ,6BAA6B,CAAC,eAAe,QAAQ,CAAC,KAAK,SAAS,CAAC,KAAK,SAAS,CAAC,MAAM,UAAU,CAAC,MAAM,UAAU,CAAC,MAAM,UAAU,CAAC,QAAQ,YAAY,CAAC,YAAY,UAAU,CAAC,WAAW,UAAU,CAAC,yBAAyB,WAAW,eAAe,CAAC,CAAC,yBAAyB,WAAW,eAAe,CAAC,CAAC,yBAAyB,WAAW,eAAe,CAAC,CAAC,yBAAyB,WAAW,eAAe,CAAC,CAAC,yBAAyB,WAAW,eAAe,CAAC,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,OAAO,uCAAuC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,SAAS,kBAAkB,CAAC,MAAM,qCAAqC,CAAC,OAAO,oCAAoC,CAAC,MAAM,mCAAmC,CAAC,MAAM,mCAAmC,CAAC,SAAS,qCAAqC,CAAC,MAAM,mCAAmC,CAAC,MAAM,mCAAmC,CAAC,MAAM,mCAAmC,CAAC,MAAM,mCAAmC,CAAC,MAAM,mCAAmC,CAAC,yCAAyC,yCAAyC,CAAC,SAAS,eAAe,CAAC,MAAM,qCAAqC,CAAC,SAAS,iBAAiB,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,SAAS,wCAAwC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,OAAO,uCAAuC,CAAC,OAAO,qCAAqC,CAAC,OAAO,qCAAqC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,SAAS,gBAAgB,CAAC,YAAY,qBAAqB,CAAC,aAAa,sBAAsB,CAAC,cAAc,oBAAoB,CAAC,2BAA2B,CAAC,mBAAmB,CAAC,eAAe,CAAC,OAAO,aAAa,CAAC,UAAU,gBAAgB,CAAC,MAAM,YAAY,CAAC,MAAM,YAAY,CAAC,QAAQ,YAAY,CAAC,QAAQ,cAAc,CAAC,cAAc,oBAAoB,CAAC,aAAa,mBAAmB,CAAC,OAAO,aAAa,CAAC,WAAW,gCAAgC,CAAC,iCAAiC,CAAC,QAAQ,8BAA8B,CAAC,+BAA+B,CAAC,QAAQ,8BAA8B,CAAC,+BAA+B,CAAC,WAAW,UAAU,CAAC,WAAW,CAAC,2BAA2B,+BAA+B,CAAC,QAAQ,iCAAiC,CAAC,QAAQ,iCAAiC,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,KAAK,+BAA+B,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,MAAM,gCAAgC,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,YAAY,WAAW,CAAC,aAAa,YAAY,CAAC,aAAa,YAAY,CAAC,aAAa,YAAY,CAAC,aAAa,YAAY,CAAC,0BAA0B,wBAAwB,CAAC,kCAAkC,+BAA+B,CAAC,wCAAwC,qCAAqC,CAAC,4CAA4C,yCAAyC,CAAC,QAAQ,WAAW,CAAC,OAAO,uBAAiB,CAAjB,kBAAkB,CAAC,QAAQ,WAAW,CAAC,MAAM,UAAU,CAAC,mDAAmD,uDAAuD,CAAC,UAAU,oCAAoC,CAAC,UAAU,oCAAoC,CAAC,UAAU,oCAAoC,CAAC,gBAAgB,eAAe,CAAC,gBAAgB,eAAe,CAAC,iBAAiB,gBAAgB,CAAC,8BAA8B,4BAA4B,CAAC,8BAA8B,6BAA6B,CAAC,8BAA8B,6BAA6B,CAAC,YAAY,eAAe,CAAC,cAAc,gBAAgB,CAAC,SAAS,mCAAmC,CAAC,SAAS,mCAAmC,CAAC,UAAU,oCAAoC,CAAC,8BAA8B,4BAA4B,CAAC,YAAY,eAAe,CAAC,cAAc,gBAAgB,CAAC,mCAAmC,sCAAsC,CAAC,QAAQ,gCAAgC,CAAC,QAAQ,gCAAgC,CAAC,KAAK,8BAA8B,CAAC,OAAO,0BAA0B,CAAC,KAAK,8BAA8B,CAAC,KAAK,8BAA8B,CAAC,KAAK,8BAA8B,CAAC,KAAK,8BAA8B,CAAC,KAAK,8BAA8B,CAAC,KAAK,8BAA8B,CAAC,MAAM,+BAA+B,CAAC,MAAM,+BAA+B,CAAC,MAAM,+BAA+B,CAAC,MAAM,+BAA+B,CAAC,MAAM,+BAA+B,CAAC,WAAW,SAAS,CAAC,YAAY,UAAU,CAAC,YAAY,UAAU,CAAC,YAAY,UAAU,CAAC,aAAa,WAAW,CAAC,2BAA2B,uBAAuB,CAAC,0BAA0B,uBAAuB,CAAC,0BAA0B,uBAAuB,CAAC,iCAAiC,6BAA6B,CAAC,0CAA0C,sCAAsC,CAAC,uCAAuC,mCAAmC,CAAC,QAAQ,UAAU,CAAC,OAAO,sBAAgB,CAAhB,iBAAiB,CAAC,QAAQ,UAAU,CAAC,OAAO,sBAAgB,CAAhB,iBAAiB,CAAC,MAAM,yBAAyB,CAAC,MAAM,yBAAyB,CAAC,WAAW,8BAA8B,CAAC,WAAW,8BAA8B,CAAC,UAAU,mCAAmC,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,WAAW,0BAAoB,CAApB,qBAAqB,CAAC,YAAY,cAAc,CAAC,UAAU,6BAA6B,CAAC,UAAU,6BAA6B,CAAC,UAAU,6BAA6B,CAAC,SAAS,kCAAkC,CAAC,SAAS,kCAAkC,CAAC,UAAU,mCAAmC,CAAC,gBAAgB,cAAc,CAAC,iBAAiB,eAAe,CAAC,iBAAiB,eAAe,CAAC,+CAA+C,2CAA2C,CAAC,YAAY,cAAc,CAAC,WAAW,0BAAoB,CAApB,qBAAqB,CAAC,QAAQ,MAAM,CAAC,eAAe,aAAa,CAAC,QAAQ,aAAa,CAAC,UAAU,aAAa,CAAC,iBAAiB,WAAW,CAAC,QAAQ,WAAW,CAAC,iBAAiB,gBAAgB,CAAC,iBAAiB,gBAAgB,CAAC,iBAAiB,gBAAgB,CAAC,YAAY,eAAe,CAAC,qDAAqD,8DAA8D,CAAC,oDAAoD,6DAA6D,CAAC,eAAe,oBAAoB,CAAC,mBAAmB,8CAA8C,CAAC,qDAAqD,CAAC,gBAAgB,0CAA0C,CAAC,qDAAqD,CAAC,iBAAiB,2CAA2C,CAAC,qDAAqD,CAAC,eAAe,yCAAyC,CAAC,qDAAqD,CAAC,uBAAuB,qBAAqB,CAAC,qDAAqD,CAAC,mBAAmB,2CAA2C,CAAC,qDAAqD,CAAC,mBAAmB,8CAA8C,CAAC,qDAAqD,CAAC,eAAe,yCAAyC,CAAC,qDAAqD,CAAC,eAAe,yCAAyC,CAAC,qDAAqD,CAAC,eAAe,yCAAyC,CAAC,qDAAqD,CAAC,uBAAuB,qBAAqB,CAAC,qDAAqD,CAAC,WAAW,yGAAyG,CAAC,mCAAmC,6BAA6B,CAAC,wCAAwC,kCAAkC,CAAC,+CAA+C,0CAA0C,CAAC,iBAAiB,6BAA6B,CAAC,kBAAkB,uCAAuC,CAAC,cAAc,6BAA6B,CAAC,gBAAgB,cAAc,CAAC,gBAAgB,cAAc,CAAC,YAAY,iBAAiB,CAAC,QAAQ,WAAW,CAAC,aAAa,4CAA4C,CAAC,WAAW,oBAAoB,CAAC,iBAAiB,uBAAc,CAAd,oBAAc,CAAd,eAAe,CAAC,aAAa,6CAA6C,CAAC,aAAa,6CAA6C,CAAC,8BAA8B,oCAAoC,CAAC,UAAU,qBAAqB,CAAC,kBAAkB,6BAA6B,CAAC,WAAW,cAAc,CAAC,cAAc,kBAAkB,CAAC,WAAW,oBAAoB,CAAC,aAAa,sBAAsB,CAAC,eAAe,mBAAmB,CAAC,iBAAiB,6BAA6B,CAAC,gBAAgB,sBAAsB,CAAC,aAAa,wBAAwB,CAAC,OAAO,4BAA4B,CAAC,OAAO,4BAA4B,CAAC,UAAU,8BAA8B,CAAC,OAAO,4BAA4B,CAAC,OAAO,4BAA4B,CAAC,OAAO,4BAA4B,CAAC,QAAQ,6BAA6B,CAAC,aAAa,OAAO,CAAC,qCAAqC,sBAAsB,CAAC,6EAA6E,CAAC,qFAAqF,CAAC,qCAAqC,sBAAsB,CAAC,6EAA6E,CAAC,qFAAqF,CAAC,qCAAqC,sBAAsB,CAAC,8EAA8E,CAAC,sFAAsF,CAAC,YAAY,qBAAqB,CAAC,UAAU,sBAAsB,CAAC,kBAAkB,CAAC,eAAe,CAAC,eAAe,aAAa,CAAC,iBAAiB,eAAe,CAAC,mBAAmB,iBAAiB,CAAC,iBAAiB,eAAe,CAAC,SAAS,oBAAoB,CAAC,wCAAwC,6CAA6C,CAAC,4CAA4C,iDAAiD,CAAC,aAAa,+BAA+B,CAAC,iBAAiB,iBAAiB,CAAC,qBAAqB,qBAAqB,CAAC,+CAA+C,6CAA6C,CAAC,mDAAmD,iDAAiD,CAAC,cAAc,0BAA0B,CAAC,YAAY,8BAA8B,CAAC,YAAY,8BAA8B,CAAC,cAAc,eAAe,CAAC,YAAY,8BAA8B,CAAC,YAAY,8BAA8B,CAAC,cAAc,uCAAuC,CAAC,wCAAwC,CAAC,cAAc,uCAAuC,CAAC,0CAA0C,CAAC,cAAc,wCAAwC,CAAC,2CAA2C,CAAC,QAAQ,mCAAmC,CAAC,gBAAgB,CAAC,UAAU,mCAAmC,CAAC,cAAc,CAAC,UAAU,mCAAmC,CAAC,gBAAgB,CAAC,UAAU,uCAAuC,CAAC,oBAAoB,CAAC,YAAY,uCAAuC,CAAC,oBAAoB,CAAC,UAAU,0CAA0C,CAAC,uBAAuB,CAAC,UAAU,wCAAwC,CAAC,qBAAqB,CAAC,eAAe,wBAAwB,CAAC,mBAAmB,CAAC,aAAa,sBAAsB,CAAC,iBAAiB,CAAC,eAAe,gCAAgC,CAAC,6BAA6B,8CAA8C,CAAC,wBAAwB,sBAAsB,CAAC,8CAA8C,wBAAwB,2EAA2E,CAAC,CAAC,wBAAwB,sBAAsB,CAAC,8CAA8C,wBAAwB,2EAA2E,CAAC,CAAC,mBAAmB,oCAAoC,CAAC,iBAAiB,kCAAkC,CAAC,iBAAiB,kCAAkC,CAAC,cAAc,8BAA8B,CAAC,6BAA6B,yCAAyC,CAAC,8CAA8C,6BAA6B,+EAA+E,CAAC,CAAC,uBAAuB,wCAAwC,CAAC,gBAAgB,iCAAiC,CAAC,qBAAqB,sBAAsB,CAAC,8CAA8C,qBAAqB,wEAAwE,CAAC,CAAC,oBAAoB,sBAAsB,CAAC,8CAA8C,oBAAoB,uEAAuE,CAAC,CAAC,kBAAkB,mCAAmC,CAAC,sBAAsB,sBAAsB,CAAC,8CAA8C,sBAAsB,yEAAyE,CAAC,CAAC,oBAAoB,kBAAkB,CAAC,cAAc,+BAA+B,CAAC,uBAAuB,0BAA0B,CAAC,8CAA8C,uBAAuB,4EAA4E,CAAC,CAAC,sBAAsB,0BAA0B,CAAC,8CAA8C,sBAAsB,2EAA2E,CAAC,CAAC,sBAAsB,0BAA0B,CAAC,8CAA8C,sBAAsB,2EAA2E,CAAC,CAAC,sBAAsB,sBAAsB,CAAC,uBAAuB,4BAA4B,CAAC,8CAA8C,uBAAuB,8EAA8E,CAAC,CAAC,sBAAsB,4BAA4B,CAAC,8CAA8C,sBAAsB,6EAA6E,CAAC,CAAC,sBAAsB,4BAA4B,CAAC,8CAA8C,sBAAsB,6EAA6E,CAAC,CAAC,sBAAsB,yBAAyB,CAAC,sBAAsB,uBAAuB,CAAC,2DAA2D,qEAAqE,CAAC,kEAAkE,4EAA4E,CAAC,kCAAkC,+CAA+C,CAAC,4BAA4B,kCAAkC,CAAC,yCAAyC,+CAA+C,CAAC,gEAAgE,mEAAmE,CAAC,wBAAwB,8BAA8B,CAAC,yBAAyB,+BAA+B,CAAC,WAAW,oCAAoC,CAAC,cAAc,uCAAuC,CAAC,kBAAkB,0BAA0B,CAAC,8CAA8C,kBAAkB,6EAA6E,CAAC,CAAC,eAAe,wCAAwC,CAAC,mBAAmB,sBAAsB,CAAC,8CAA8C,mBAAmB,8EAA8E,CAAC,CAAC,wBAAwB,iDAAiD,CAAC,aAAa,sCAAsC,CAAC,oBAAoB,6CAA6C,CAAC,UAAU,mCAAmC,CAAC,cAAc,sBAAsB,CAAC,8CAA8C,cAAc,yEAAyE,CAAC,CAAC,cAAc,0BAA0B,CAAC,8CAA8C,cAAc,yEAAyE,CAAC,CAAC,WAAW,oCAAoC,CAAC,kBAAkB,sDAAsD,CAAC,oBAAoB,6CAA6C,CAAC,mBAAmB,0BAA0B,CAAC,8CAA8C,mBAAmB,8EAA8E,CAAC,CAAC,gBAAgB,yCAAyC,CAAC,aAAa,sCAAsC,CAAC,cAAc,uCAAuC,CAAC,yBAAyB,kDAAkD,CAAC,UAAU,kCAAkC,CAAC,qBAAqB,6CAA6C,CAAC,YAAY,gDAAgD,CAAC,YAAY,oCAAoC,CAAC,YAAY,qCAAqC,CAAC,YAAY,qCAAqC,CAAC,YAAY,qCAAqC,CAAC,gBAAgB,0BAA0B,CAAC,8CAA8C,gBAAgB,2EAA2E,CAAC,CAAC,eAAe,0BAA0B,CAAC,8CAA8C,eAAe,0EAA0E,CAAC,CAAC,YAAY,qCAAqC,CAAC,cAAc,uCAAuC,CAAC,cAAc,uCAAuC,CAAC,6BAA6B,sDAAsD,CAAC,iBAAiB,0CAA0C,CAAC,yBAAyB,kDAAkD,CAAC,gBAAgB,sBAAsB,CAAC,cAAc,sBAAsB,CAAC,8CAA8C,cAAc,yEAAyE,CAAC,CAAC,cAAc,0BAA0B,CAAC,8CAA8C,cAAc,yEAAyE,CAAC,CAAC,kBAAkB,yCAAyC,CAAC,0DAA0D,CAAC,mBAAmB,+CAA+C,CAAC,0DAA0D,CAAC,aAAa,sCAAsC,CAAC,4LAA4L,CAAC,kBAAkB,2CAA2C,CAAC,4LAA4L,CAAC,gBAAgB,yCAAyC,CAAC,4LAA4L,CAAC,UAAU,mCAAmC,CAAC,4LAA4L,CAAC,YAAY,uBAAuB,CAAC,UAAU,wBAAwB,CAAC,cAAc,2BAA2B,CAAC,6DAA6D,yDAAyD,CAAC,iEAAiE,6DAA6D,CAAC,cAAc,yBAAyB,CAAC,YAAY,uBAAuB,CAAC,mEAAmE,+DAA+D,CAAC,gBAAgB,qBAAiB,CAAjB,kBAAkB,CAAC,cAAc,mBAAe,CAAf,gBAAgB,CAAC,KAAK,gCAAgC,CAAC,QAAQ,iCAAiC,CAAC,KAAK,gCAAgC,CAAC,QAAQ,kCAAkC,CAAC,KAAK,gCAAgC,CAAC,KAAK,gCAAgC,CAAC,KAAK,gCAAgC,CAAC,KAAK,gCAAgC,CAAC,MAAM,WAAW,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,sCAAsC,CAAC,SAAS,wCAAwC,CAAC,MAAM,sCAAsC,CAAC,SAAS,wCAAwC,CAAC,MAAM,sCAAsC,CAAC,SAAS,wCAAwC,CAAC,OAAO,uCAAuC,CAAC,SAAS,sCAAsC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,MAAM,oCAAoC,CAAC,yCAAyC,0CAA0C,CAAC,MAAM,sCAAsC,CAAC,MAAM,sCAAsC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,MAAM,uCAAuC,CAAC,OAAO,wCAAwC,CAAC,OAAO,wCAAwC,CAAC,OAAO,wCAAwC,CAAC,OAAO,wCAAwC,CAAC,aAAa,mBAAmB,CAAC,MAAM,qCAAqC,CAAC,MAAM,qCAAqC,CAAC,MAAM,qCAAqC,CAAC,MAAM,qCAAqC,CAAC,MAAM,qCAAqC,CAAC,MAAM,qCAAqC,CAAC,aAAa,iBAAiB,CAAC,WAAW,eAAe,CAAC,cAAc,qBAAqB,CAAC,WAAW,4BAA4B,CAAC,WAAW,4BAA4B,CAAC,UAAU,yBAAyB,CAAC,0DAA0D,CAAC,UAAU,yBAAyB,CAAC,0DAA0D,CAAC,WAAW,0BAA0B,CAAC,2DAA2D,CAAC,SAAS,wBAAwB,CAAC,yDAAyD,CAAC,SAAS,wBAAwB,CAAC,yDAAyD,CAAC,SAAS,wBAAwB,CAAC,yDAAyD,CAAC,kBAAkB,eAAe,CAAC,mBAAmB,gBAAgB,CAAC,eAAe,cAAc,CAAC,WAAW,qCAAqC,CAAC,oCAAoC,CAAC,WAAW,qCAAqC,CAAC,oCAAoC,CAAC,WAAW,qCAAqC,CAAC,oCAAoC,CAAC,WAAW,qCAAqC,CAAC,oCAAoC,CAAC,WAAW,qCAAqC,CAAC,oCAAoC,CAAC,cAAc,cAAc,CAAC,aAAa,CAAC,eAAe,iCAAiC,CAAC,gCAAgC,CAAC,aAAa,0CAA0C,CAAC,qCAAqC,CAAC,aAAa,0CAA0C,CAAC,qCAAqC,CAAC,eAAe,4CAA4C,CAAC,uCAAuC,CAAC,sBAAsB,mBAAmB,CAAC,oBAAoB,CAAC,iBAAiB,oCAAoC,CAAC,qCAAqC,CAAC,gBAAgB,mCAAmC,CAAC,oCAAoC,CAAC,iBAAiB,oCAAoC,CAAC,qCAAqC,CAAC,WAAW,cAAc,CAAC,8BAA8B,wBAAwB,CAAC,eAAe,sBAAsB,CAAC,mBAAmB,kBAAkB,CAAC,mBAAmB,kBAAkB,CAAC,qBAAqB,oBAAoB,CAAC,iEAAiE,8DAA8D,CAAC,uBAAuB,uBAAuB,CAAC,qFAAqF,kFAAkF,CAAC,4BAA4B,4BAA4B,CAAC,8BAA8B,uBAAuB,CAAC,kEAAkE,wDAAwD,CAAC,sFAAsF,4EAA4E,CAAC,sEAAsE,4DAA4D,CAAC,mFAAmF,yEAAyE,CAAC,kDAAkD,0CAA0C,CAAC,aAAa,yBAAyB,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,+BAA+B,2CAA2C,CAAC,mCAAmC,eAAe,CAAC,8CAA8C,mCAAmC,iFAAiF,CAAC,CAAC,cAAc,kBAAkB,CAAC,kBAAkB,8BAA8B,CAAC,6BAA6B,wCAAwC,CAAC,kBAAkB,8BAA8B,CAAC,kBAAkB,8BAA8B,CAAC,iBAAiB,6BAA6B,CAAC,uBAAuB,mCAAmC,CAAC,eAAe,2BAA2B,CAAC,eAAe,2BAA2B,CAAC,uBAAuB,kCAAkC,CAAC,yBAAyB,qCAAqC,CAAC,yBAAyB,oCAAoC,CAAC,yBAAyB,oCAAoC,CAAC,eAAe,2BAA2B,CAAC,eAAe,2BAA2B,CAAC,cAAc,0BAA0B,CAAC,cAAc,0BAA0B,CAAC,cAAc,0BAA0B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,gBAAgB,4BAA4B,CAAC,6BAA6B,yCAAyC,CAAC,8BAA8B,0CAA0C,CAAC,iCAAiC,6CAA6C,CAAC,2BAA2B,uCAAuC,CAAC,8BAA8B,0CAA0C,CAAC,gCAAgC,4CAA4C,CAAC,cAAc,0BAA0B,CAAC,YAAY,wBAAwB,CAAC,YAAY,yBAAyB,CAAC,WAAW,wBAAwB,CAAC,WAAW,wBAAwB,CAAC,QAAQ,iBAAiB,CAAC,cAAc,iCAAiC,CAAC,cAAc,yBAAyB,CAAC,WAAW,8BAA8B,CAAC,aAAa,kCAAkC,CAAC,iCAAiC,CAAC,WAAW,SAAS,CAAC,YAAY,UAAU,CAAC,YAAY,UAAU,CAAC,YAAY,UAAU,CAAC,aAAa,SAAS,CAAC,6CAA6C,sDAAsD,CAAC,qIAAqI,CAAC,kDAAkD,sDAAsD,CAAC,qIAAqI,CAAC,kDAAkD,sDAAsD,CAAC,qIAAqI,CAAC,iDAAiD,sDAAsD,CAAC,qIAAqI,CAAC,mDAAmD,uDAAuD,CAAC,qIAAqI,CAAC,yCAAyC,sCAAsC,CAAC,qIAAqI,CAAC,WAAW,8GAA8G,CAAC,qIAAqI,CAAC,WAAW,4GAA4G,CAAC,qIAAqI,CAAC,WAAW,yGAAyG,CAAC,qIAAqI,CAAC,WAAW,+GAA+G,CAAC,qIAAqI,CAAC,WAAW,wDAAwD,CAAC,qIAAqI,CAAC,cAAc,sHAAsH,CAAC,qIAAqI,CAAC,sBAAsB,2BAA2B,CAAC,8CAA8C,sBAAsB,uIAAuI,CAAC,CAAC,gBAAgB,sCAAsC,CAAC,wBAAwB,8CAA8C,CAAC,gBAAgB,uBAAuB,CAAC,kBAAkB,CAAC,8BAA8B,gBAAgB,kBAAkB,CAAC,uBAAuB,CAAC,CAAC,SAAS,qCAAqC,CAAC,iBAAiB,CAAC,QAAQ,yLAAyL,CAAC,eAAe,4BAA4B,CAAyR,+QAA+Q,CAAC,wBAAwB,6BAA6B,CAAyR,+QAA+Q,CAAC,kBAAkB,uCAAuC,CAAyR,+QAA+Q,CAAC,uBAAuB,qCAAqC,CAAyR,+QAA+Q,CAAC,YAAY,0RAAkT,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,kCAAkC,oCAAoC,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,sBAAsB,yBAAyB,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,gBAAgB,uBAAuB,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,mBAAmB,6JAA6J,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,oBAAoB,2BAA2B,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,mBAAmB,8BAA8B,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,sBAAsB,oDAAoD,CAAC,mFAAmF,CAAC,yEAAyE,CAAC,iBAAiB,wBAAwB,CAAC,WAAW,oBAAoB,CAAC,cAAc,iBAAiB,CAAC,uBAAuB,CAAC,cAAc,kBAAkB,CAAC,wBAAwB,CAAC,cAAc,iBAAiB,CAAC,uBAAuB,CAAC,cAAc,kBAAkB,CAAC,wBAAwB,CAAC,cAAc,iBAAiB,CAAC,uBAAuB,CAAC,cAAc,iBAAiB,CAAC,uBAAuB,CAAC,eAAe,gBAAgB,CAAC,sBAAsB,CAAC,aAAa,4BAA4B,CAAC,6CAA6C,CAAC,UAAU,yBAAyB,CAAC,0CAA0C,CAAC,uBAAuB,qBAAqB,CAAC,cAAc,uBAAuB,CAAC,kBAAkB,CAAC,aAAa,wBAAwB,CAAC,qBAAe,CAAf,gBAAgB,CAAC,4BAA4B,mBAAmB,CAAC,4BAA4B,mBAAmB,CAAC,yBAAyB,kBAAkB,CAAC,mCAAmC,4BAA4B,CAAC,yDAAyD,qCAAqC,CAAC,2BAA2B,oBAAoB,CAAC,qBAAqB,mDAAmD,SAAS,CAAC,qDAAqD,SAAS,CAAC,CAAC,wCAAmC,qCAAqC,CAAxE,mCAAmC,qCAAqC,CAAC,uCAAkC,qCAAqC,CAAvE,kCAAkC,qCAAqC,CAAC,qDAAgD,oCAAoC,CAApF,gDAAgD,oCAAoC,CAAC,oDAA+C,oCAAoC,CAAnF,+CAA+C,oCAAoC,CAAC,yCAAyC,mBAAmB,CAAC,iCAAiC,+BAA+B,CAAC,sCAAsC,mCAAmC,CAAC,cAAc,CAAC,4CAA4C,sBAAsB,CAAC,qCAAqC,wBAAwB,CAAC,yDAAyD,CAAC,yCAAyC,0CAA0C,CAAC,qCAAqC,CAAC,6CAA6C,6BAA6B,CAAC,sDAAiD,mCAAmC,CAApF,iDAAiD,mCAAmC,CAAC,qBAAqB,wBAAwB,iBAAiB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,yCAAyC,CAAC,wBAAwB,iBAAiB,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,yCAAyC,CAAC,8BAA8B,UAAU,CAAC,iCAAiC,sBAAsB,CAAC,8CAA8C,iCAAiC,uEAAuE,CAAC,CAAC,4BAA4B,0BAA0B,CAAC,8CAA8C,4BAA4B,0EAA0E,CAAC,CAAC,2BAA2B,uCAAuC,CAAC,0BAA0B,sCAAsC,CAAC,8BAA8B,0BAA0B,CAAC,8CAA8C,8BAA8B,4EAA4E,CAAC,CAAC,sCAAsC,kDAAkD,CAAC,kDAAkD,kCAAkC,CAAC,8CAA8C,2BAA2B,wEAAwE,CAAC,CAAC,2BAA2B,0DAA0D,CAAC,0BAA0B,sCAAsC,CAAC,yBAAyB,qCAAqC,CAAC,2BAA2B,uCAAuC,CAAC,4CAA4C,wDAAwD,CAAC,gDAAgD,4DAA4D,CAAC,2BAA2B,0BAA0B,CAAC,8CAA8C,2BAA2B,yEAAyE,CAAC,CAAC,gCAAgC,+CAA+C,CAAC,0DAA0D,CAAC,2BAA2B,uCAAuC,CAAC,4LAA4L,CAAC,yBAAyB,qCAAqC,CAAC,4LAA4L,CAAC,6CAA6C,yBAAyB,CAAC,8BAA8B,6BAA6B,CAAC,0CAA0C,yCAAyC,CAAC,yBAAyB,wBAAwB,CAAC,wBAAwB,8BAA8B,CAAC,gEAAgE,uDAAuD,CAAC,qIAAqI,CAAC,+DAA+D,uDAAuD,CAAC,qIAAqI,CAAC,wBAAwB,8GAA8G,CAAC,qIAAqI,CAAC,wBAAwB,4GAA4G,CAAC,qIAAqI,CAAC,wBAAwB,yGAAyG,CAAC,qIAAqI,CAAC,mCAAmC,+BAA+B,CAAC,yLAAyL,CAAC,+BAA+B,uCAAuC,CAAyR,+QAA+Q,CAAC,CAAC,0BAA0B,sCAAsC,CAAC,8BAA8B,6BAA6B,CAAC,0CAA0C,8BAA8B,CAAC,qCAAqC,sHAAsH,CAAC,qIAAqI,CAAC,2CAA2C,sHAAsH,CAAC,qIAAqI,CAAC,6CAA6C,sCAAsC,CAAC,uDAAuD,gDAAgD,CAAC,wCAAwC,iCAAiC,CAAC,4CAA4C,yBAAyB,CAAC,8CAA8C,4CAA4C,uEAAuE,CAAC,CAAC,2CAA2C,oCAAoC,CAAC,6CAA6C,sCAAsC,CAAC,4CAA4C,0BAA0B,CAAC,2GAA2G,CAAC,4CAA4C,0BAA0B,CAAC,2GAA2G,CAAC,gDAAgD,yCAAyC,CAAC,wCAAwC,qCAAqC,CAAC,iBAAiB,CAAC,2CAA2C,uBAAuB,CAAC,kBAAkB,CAAC,yBAAyB,gBAAgB,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,yCAAyC,CAAC,gCAAgC,SAAS,CAAC,wCAAwC,mBAAmB,CAAC,uCAAuC,kBAAkB,CAAC,+BAA+B,UAAU,CAAC,qDAAqD,qCAAqC,CAAC,uDAAuD,yBAAyB,CAAC,8CAA8C,uDAAuD,8EAA8E,CAAC,CAAC,uDAAuD,mBAAmB,CAAC,8CAA8C,UAAU,CAAC,iDAAiD,wBAAwB,CAAC,yDAAyD,CAAC,mDAAmD,qCAAqC,CAAC,oCAAoC,CAAC,qDAAqD,0CAA0C,CAAC,qCAAqC,CAAC,+DAA+D,mCAAmC,CAAC,wDAAwD,yCAAyC,CAAC,qDAAqD,CAAC,qDAAqD,0CAA0C,CAAC,qDAAqD,CAAC,sDAAsD,yCAAyC,CAAC,qDAAqD,CAAC,mDAAmD,0CAA0C,CAAC,qDAAqD,CAAC,8EAA8E,oBAAoB,CAAC,2BAA2B,CAAC,mBAAmB,CAAC,eAAe,CAAC,sEAAsE,YAAY,CAAC,8EAA8E,kBAAkB,CAAC,uEAAuE,4BAA4B,CAAC,6DAA6D,iCAAiC,CAAC,yDAAyD,qCAAqC,CAAC,sEAAsE,oCAAoC,CAAC,yBAAyB,WAAW,aAAa,CAAC,cAAc,kBAAkB,CAAC,iBAAiB,wBAAwB,CAAC,eAAe,eAAe,CAAC,cAAc,yBAAyB,CAAC,0DAA0D,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,CAAC,yBAAyB,oBAAoB,eAAe,CAAC,cAAc,kBAAkB,CAAC,kBAAkB,kBAAkB,CAAC,iBAAiB,sBAAsB,CAAC,WAAW,wCAAwC,CAAC,WAAW,wCAAwC,CAAC,eAAe,eAAe,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,CAAC,yBAAyB,YAAY,6BAA6B,CAAC,CAAC,0CAA0C,sBAAsB,CAAC,8CAA8C,0CAA0C,2EAA2E,CAAC,CAAC,qCAAqC,oCAAoC,CAAC,gCAAgC,8BAA8B,CAAC,uCAAuC,sBAAsB,CAAC,8CAA8C,uCAAuC,wEAAwE,CAAC,CAAC,sCAAsC,sBAAsB,CAAC,8CAA8C,sCAAsC,uEAAuE,CAAC,CAAC,wCAAwC,sBAAsB,CAAC,8CAA8C,wCAAwC,yEAAyE,CAAC,CAAC,iCAAiC,gCAAgC,CAAC,oCAAoC,0BAA0B,CAAC,8CAA8C,oCAAoC,6EAA6E,CAAC,CAAC,oCAAoC,0BAA0B,CAAC,8CAA8C,oCAAoC,6EAA6E,CAAC,CAAC,sCAAsC,0BAA0B,CAAC,8CAA8C,sCAAsC,+EAA+E,CAAC,CAAC,gCAAgC,kCAAkC,CAAC,8CAA8C,gCAAgC,wEAAwE,CAAC,CAAC,mCAAmC,0BAA0B,CAAC,8CAA8C,mCAAmC,4EAA4E,CAAC,CAAC,kCAAkC,0BAA0B,CAAC,8CAA8C,kCAAkC,2EAA2E,CAAC,CAAC,kCAAkC,0BAA0B,CAAC,8CAA8C,kCAAkC,2EAA2E,CAAC,CAAC,oCAAoC,0BAA0B,CAAC,8CAA8C,oCAAoC,6EAA6E,CAAC,CAAC,oCAAoC,0BAA0B,CAAC,8CAA8C,oCAAoC,6EAA6E,CAAC,CAAC,+BAA+B,sCAAsC,CAAC,4LAA4L,CAAC,oCAAoC,2CAA2C,CAAC,4LAA4L,CAAC,kCAAkC,yCAAyC,CAAC,4LAA4L,CAAC,gCAAgC,uCAAuC,CAAC,4LAA4L,CAAC,gCAAgC,yBAAyB,CAAC,kCAAkC,4BAA4B,CAAC,kCAAkC,4BAA4B,CAAC,oCAAoC,8BAA8B,CAAC,oCAAoC,8BAA8B,CAAC,mCAAmC,6BAA6B,CAAC,iCAAiC,2BAA2B,CAAC,iCAAiC,2BAA2B,CAAC,gCAAgC,0BAA0B,CAAC,gCAAgC,0BAA0B,CAAC,kCAAkC,4BAA4B,CAAC,kCAAkC,4BAA4B,CAAC,kCAAkC,4BAA4B,CAAC,kCAAkC,4BAA4B,CAAC,gDAAgD,0CAA0C,CAAC,6BAA6B,+GAA+G,CAAC,qIAAqI,CAAC,wCAAwC,2BAA2B,CAAC,8CAA8C,wCAAwC,uIAAuI,CAAC,CAAC,sCAAsC,yBAAyB,CAAC,8CAA8C,sCAAsC,4EAA4E,CAAC,CAAC,qBAAqB,iDAAiD,0BAA0B,CAAC,8CAA8C,iDAAiD,6EAA6E,CAAC,CAAC,gDAAgD,0BAA0B,CAAC,8CAA8C,gDAAgD,4EAA4E,CAAC,CAAC,+CAA+C,0BAA0B,CAAC,8CAA8C,+CAA+C,2EAA2E,CAAC,CAAC,6CAA6C,uCAAuC,CAAC,6CAA6C,uCAAuC,CAAC,4LAA4L,CAAC,2CAA2C,qCAAqC,CAAC,4LAA4L,CAAC,CAAC,sEAAsE,6CAA6C,CAAC,yEAAyE,yBAAyB,CAAC,8CAA8C,yEAAyE,8EAA8E,CAAC,CAAC,2EAA2E,qCAAqC,CAAC,4BAA4B,cAAc,CAAC,yBAAyB,yBAAyB,CAAC,oCAAoC,8BAA8B,CAAC,uCAAuC,mBAAmB,CAAC,sBAAsB,6BAA6B,CAAC,qCAAqC,mBAAmB,CAAC,wBAAwB,8BAA8B,CAAC,+BAA+B,CAAC,qBAAqB,+BAA+B,CAAC,qBAAqB,8BAA8B,CAAC,yDAAyD,aAAa,CAAC,2EAA2E,8BAA8B,CAAC,+BAA+B,CAAC,0FAA0F,kCAAkC,CAAC,qDAAqD,YAAY,CAAC,6DAA6D,kBAAkB,CAAC,sDAAsD,4BAA4B,CAAC,CAAC,8EAA8E,mCAAmC,CAAC,sCAAsC,CAAC,iCAAiC,CAAC,gCAAgC,CAAC,4CAA4C,CAAC,uCAAuC,CAAC,6BAA6B,CAAC,aAAa,yBAAyB,CAAC,0DAA0D,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,aAAa,0BAA0B,CAAC,2DAA2D,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,aAAa,wBAAwB,CAAC,yDAAyD,CAAC,aAAa,qCAAqC,CAAC,oBAAoB,CAAC,aAAa,qCAAqC,CAAC,uBAAuB,CAAC,0BAA0B,qCAAqC,CAAC,6BAA6B,CAAC,aAAa,qCAAqC,CAAC,cAAc,qCAAqC,CAAC,8BAA8B,CAAC,sCAAsC,CAAC,gCAAgC,CAAC,eAAe,CAAC,eAAe,yCAAyC,CAAC,uCAAuC,CAAC,uCAAuC,CAAC,4BAA4B,CAAC,oBAAoB,CAAC,aAAa,CAAC,mBAAmB,gCAAgC,CAAC,sBAAsB,CAAC,qBAAqB,qCAAqC,CAAC,wCAAwC,CAAC,qBAAqB,CAAC,gCAAgC,CAAC,uCAAuC,CAAC,mCAAmC,CAAC,YAAY,uBAAuB,CAAC,8BAA8B,CAAC,kBAAkB,uBAAuB,CAAC,cAAc,mBAAmB,CAAC,aAAa,iBAAiB,CAAC,iBAAiB,4CAA4C,CAAC,uCAAuC,CAAC,aAAa,qCAAqC,CAAC,+BAA+B,CAAC,mCAAmC,CAAC,oCAAoC,CAAC,gCAAgC,CAAC,cAAc,CAAC,6CAA6C,cAAc,CAAC,aAAa,CAAC,eAAe,CAAC,gBAAgB,qCAAqC,CAAC,wBAAwB,CAAC,8CAA8C,CAAC,8CAA8C,CAAC,oEAAoE,CAAC,sBAAiB,CAAjB,iBAAiB,CAAC,cAAc,CAAC,aAAa,CAAC,gBAAgB,0BAA0B,CAAC,gBAAgB,uBAAuB,CAAC,aAAa,iBAAiB,CAAC,YAAY,wBAAwB,CAAC,kBAAkB,CAAC,0BAA0B,mCAAmC,CAAC,gBAAgB,CAAC,gCAAgC,CAAC,gCAAgC,CAAC,wBAAwB,CAAC,kBAAkB,CAAC,kBAAkB,CAAC,aAAa,sCAAsC,CAAC,4CAA4C,CAAC,uCAAuC,CAAC,2BAA2B,yCAAyC,CAAC,kBAAkB,MAAM,uBAAuB,CAAC,IAAI,0BAA0B,CAAC,CAAC,uBAAuB,GAAG,SAAS,CAAC,0BAA0B,CAAC,GAAG,SAAS,CAAC,uBAAuB,CAAC,CAAC,iDAAiD,8BAA8B,CAAC,mCAAmC,CAAC,mBAAmB,CAAC,0BAA0B,sBAAsB,CAAC,kCAAkC,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,sBAAsB,UAAU,CAAC,cAAc,CAAC,sBAAsB,UAAU,CAAC,cAAc,CAAC,+BAA+B,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,+BAA+B,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,4BAA4B,UAAU,CAAC,cAAc,CAAC,mBAAmB,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,6BAA6B,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,4BAA4B,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,2BAA2B,gBAAgB,CAAC,cAAc,CAAC,mBAAmB,CAAC,8BAA8B,UAAU,CAAC,cAAc,CAAC,kCAAkC,UAAU,CAAC,cAAc,CAAC,sCAAsC,4BAA4B,CAAC,cAAc,CAAC,gBAAgB,CAAC,qCAAqC,4BAA4B,CAAC,cAAc,CAAC,iBAAiB,CAAC,oCAAoC,4BAA4B,CAAC,cAAc,CAAC,kBAAkB,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,sBAAsB,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,4BAA4B,UAAU,CAAC,cAAc,CAAC,4BAA4B,qBAAqB,CAAC,cAAc,CAAC,kBAAkB,CAAC,4BAA4B,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,kCAAkC,UAAU,CAAC,cAAc,CAAC,kCAAkC,qBAAqB,CAAC,cAAc,CAAC,kBAAkB,CAAC,0BAA0B,UAAU,CAAC,cAAc,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,gCAAgC,UAAU,CAAC,cAAc,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,0BAA0B,UAAU,CAAC,cAAc,CAAC,iCAAiC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,kBAAkB,CAAC,kCAAkC,UAAU,CAAC,cAAc,CAAC,uBAAuB,CAAC,6BAA6B,UAAU,CAAC,cAAc,CAAC,mBAAmB,CAAC,oBAAoB,UAAU,CAAC,cAAc,CAAC,0BAA0B,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,yBAAyB,UAAU,CAAC,cAAc,CAAC,0BAA0B,UAAU,CAAC,cAAc,CAAC,sBAAsB,UAAU,CAAC,cAAc,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,qBAAqB,UAAU,CAAC,cAAc,CAAC,2BAA2B,UAAU,CAAC,cAAc,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,iCAAiC,qBAAqB,CAAC,cAAc,CAAC,kBAAkB,CAAC,gCAAgC,UAAU,CAAC,cAAc,CAAC,6BAA6B,UAAU,CAAC,cAAc,CAAC,mCAAmC,UAAU,CAAC,cAAc,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,kCAAkC,UAAU,CAAC,cAAc,CAAC,mCAAmC,UAAU,CAAC,cAAc,CAAC,+BAA+B,UAAU,CAAC,cAAc,CAAC,gCAAgC,UAAU,CAAC,cAAc,CAAC,iCAAiC,UAAU,CAAC,cAAc,CAAC,8BAA8B,UAAU,CAAC,cAAc,CAAC,wBAAwB,UAAU,CAAC,cAAc,CAAC,oBAAoB,UAAU,CAAC,cAAc,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,uBAAuB,UAAU,CAAC,cAAc,CAAC,eAAe,CAAC,gCAAgC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,gCAAgC,iBAAiB,CAAC,cAAc,CAAC,eAAe,CAAC,gBAAgB,GAAG,wBAAwB,CAAC,CAAC,mBAAmB,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,CAAC,oBAAoB,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC,GAAG,SAAS,CAAC",sourcesContent:['/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */\n@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-gradient-position:initial;--tw-gradient-from:#0000;--tw-gradient-via:#0000;--tw-gradient-to:#0000;--tw-gradient-stops:initial;--tw-gradient-via-stops:initial;--tw-gradient-from-position:0%;--tw-gradient-via-position:50%;--tw-gradient-to-position:100%;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-backdrop-blur:initial;--tw-backdrop-brightness:initial;--tw-backdrop-contrast:initial;--tw-backdrop-grayscale:initial;--tw-backdrop-hue-rotate:initial;--tw-backdrop-invert:initial;--tw-backdrop-opacity:initial;--tw-backdrop-saturate:initial;--tw-backdrop-sepia:initial;--tw-duration:initial;--tw-ease:initial;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-border-spacing-x:0;--tw-border-spacing-y:0}}}@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-100:oklch(93.6% .032 17.717);--color-red-200:oklch(88.5% .062 18.334);--color-red-500:oklch(63.7% .237 25.331);--color-red-600:oklch(57.7% .245 27.325);--color-red-700:oklch(50.5% .213 27.518);--color-red-800:oklch(44.4% .177 26.899);--color-red-900:oklch(39.6% .141 25.723);--color-amber-50:oklch(98.7% .022 95.277);--color-amber-100:oklch(96.2% .059 95.617);--color-amber-200:oklch(92.4% .12 95.746);--color-amber-300:oklch(87.9% .169 91.605);--color-amber-400:oklch(82.8% .189 84.429);--color-amber-500:oklch(76.9% .188 70.08);--color-amber-600:oklch(66.6% .179 58.318);--color-amber-700:oklch(55.5% .163 48.998);--color-amber-800:oklch(47.3% .137 46.201);--color-amber-900:oklch(41.4% .112 45.904);--color-green-500:oklch(72.3% .219 149.579);--color-emerald-50:oklch(97.9% .021 166.113);--color-emerald-200:oklch(90.5% .093 164.15);--color-emerald-300:oklch(84.5% .143 164.978);--color-emerald-400:oklch(76.5% .177 163.223);--color-emerald-500:oklch(69.6% .17 162.48);--color-emerald-600:oklch(59.6% .145 163.225);--color-emerald-700:oklch(50.8% .118 165.612);--color-emerald-950:oklch(26.2% .051 172.552);--color-sky-50:oklch(97.7% .013 236.62);--color-sky-100:oklch(95.1% .026 236.824);--color-sky-200:oklch(90.1% .058 230.902);--color-sky-300:oklch(82.8% .111 230.318);--color-sky-400:oklch(74.6% .16 232.661);--color-sky-500:oklch(68.5% .169 237.323);--color-sky-600:oklch(58.8% .158 241.966);--color-sky-700:oklch(50% .134 242.749);--color-blue-100:oklch(93.2% .032 255.585);--color-blue-400:oklch(70.7% .165 254.624);--color-blue-500:oklch(62.3% .214 259.815);--color-blue-600:oklch(54.6% .245 262.881);--color-blue-700:oklch(48.8% .243 264.376);--color-blue-900:oklch(37.9% .146 265.522);--color-purple-600:oklch(55.8% .288 302.321);--color-rose-50:oklch(96.9% .015 12.422);--color-rose-100:oklch(94.1% .03 12.58);--color-rose-200:oklch(89.2% .058 10.001);--color-rose-300:oklch(81% .117 11.638);--color-rose-400:oklch(71.2% .194 13.428);--color-rose-500:oklch(64.5% .246 16.439);--color-rose-600:oklch(58.6% .253 17.585);--color-slate-50:oklch(98.4% .003 247.858);--color-slate-100:oklch(96.8% .007 247.896);--color-slate-200:oklch(92.9% .013 255.508);--color-slate-300:oklch(86.9% .022 252.894);--color-slate-400:oklch(70.4% .04 256.788);--color-slate-500:oklch(55.4% .046 257.417);--color-slate-600:oklch(44.6% .043 257.281);--color-slate-700:oklch(37.2% .044 257.287);--color-slate-800:oklch(27.9% .041 260.031);--color-slate-900:oklch(20.8% .042 265.755);--color-slate-950:oklch(12.9% .042 264.695);--color-gray-200:oklch(92.8% .006 264.531);--color-gray-500:oklch(55.1% .027 264.364);--color-gray-600:oklch(44.6% .03 256.802);--color-gray-700:oklch(37.3% .034 259.733);--color-gray-800:oklch(27.8% .033 256.848);--color-black:#000;--color-white:#fff;--spacing:.25rem;--container-3xs:16rem;--container-xs:20rem;--container-sm:24rem;--container-md:28rem;--container-2xl:42rem;--container-6xl:72rem;--text-xs:.75rem;--text-xs--line-height:calc(1 / .75);--text-sm:.875rem;--text-sm--line-height:calc(1.25 / .875);--text-base:1rem;--text-base--line-height:calc(1.5 / 1);--text-lg:1.125rem;--text-lg--line-height:calc(1.75 / 1.125);--text-xl:1.25rem;--text-xl--line-height:calc(1.75 / 1.25);--text-2xl:1.5rem;--text-2xl--line-height:calc(2 / 1.5);--text-4xl:2.25rem;--text-4xl--line-height:calc(2.5 / 2.25);--text-5xl:3rem;--text-5xl--line-height:1;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--tracking-normal:0em;--tracking-wider:.05em;--tracking-widest:.1em;--leading-tight:1.25;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--ease-out:cubic-bezier(0, 0, .2, 1);--ease-in-out:cubic-bezier(.4, 0, .2, 1);--animate-spin:spin 1s linear infinite;--blur-sm:8px;--blur-md:12px;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4, 0, .2, 1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--color-brand-background:#1b66d6;--color-brand-foreground:#fff;--color-background:var(--color-white);--color-bg-muted:var(--color-slate-100);--color-bg-warning-soft:var(--color-amber-50);--color-bg-destructive-soft:var(--color-red-100);--color-bg-muted-40:#f1f5f966;--color-foreground:var(--color-slate-950);--color-foreground-muted:var(--color-slate-500);--color-surface-card:var(--color-white);--color-surface-card-foreground:var(--color-slate-950);--color-surface-popover-foreground:var(--color-slate-950);--color-surface-button-primary:var(--color-blue-700);--color-surface-button-secondary:var(--color-slate-100);--color-surface-button-secondary-hover:var(--color-slate-50);--color-surface-button-destructive:var(--color-red-200);--color-stroke:var(--color-slate-200);--color-border:var(--color-slate-200);--color-ring:var(--color-slate-500);--color-text-primary-foreground:var(--color-white);--color-text-secondary-foreground:var(--color-slate-900);--color-element-primary-foreground:var(--color-white);--color-highlight-background:var(--color-slate-100);--color-focus-ring:var(--color-slate-500);--color-accent:var(--color-brand-background);--color-primary:var(--color-accent);--color-destructive:var(--color-red-700);--color-successful:var(--color-emerald-500);--color-warning:var(--color-amber-600);--color-options-background:var(--color-white);--color-options-foreground:var(--color-accent);--color-options-border:var(--color-accent);--color-swimmlane-background:var(--color-surface-button-secondary);--color-swimmlane-foreground:var(--color-text-secondary-foreground);--color-carousel-card-background:var(--color-white);--color-carousel-card-foreground:var(--color-slate-900);--color-carousel-card-border:var(--color-slate-200);--color-chat-background:var(--color-background);--color-rating-background:var(--color-accent);--color-send-icon:var(--color-accent);--color-link:var(--color-accent);--font-size-brain-message:1rem}:root{--background:0 0% 100%;--foreground:222 6% 17%;--muted:0 0% 98%;--muted-foreground:220 3% 45%;--card:0 0% 100%;--card-foreground:222 6% 17%;--popover:0 0% 100%;--popover-foreground:222 6% 17%;--border:222 31% 27%;--input:222 31% 27%;--primary:215 78% 45%;--primary-foreground:0 0% 100%;--secondary:0 0% 98%;--secondary-foreground:222 6% 17%;--accent:0 0% 98%;--accent-foreground:222 6% 17%;--destructive:0 100% 53%;--destructive-foreground:0 61% 48%;--ring:215 78% 45%;--radius:.5rem;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%}[data-registry=plate].dark{--background:0 0% 3.9%;--foreground:0 0% 98%;--card:0 0% 3.9%;--card-foreground:0 0% 98%;--popover:0 0% 3.9%;--popover-foreground:0 0% 98%;--primary:0 0% 98%;--primary-foreground:0 0% 9%;--secondary:0 0% 14.9%;--secondary-foreground:0 0% 98%;--muted:0 0% 14.9%;--muted-foreground:0 0% 63.9%;--accent:0 0% 14.9%;--accent-foreground:0 0% 98%;--destructive:0 62.8% 30.6%;--destructive-foreground:0 0% 98%;--border:0 0% 14.9%;--input:0 0% 14.9%;--ring:0 0% 83.1%;--chart-1:220 70% 50%;--chart-2:160 60% 45%;--chart-3:30 80% 55%;--chart-4:280 65% 60%;--chart-5:340 75% 55%;--brand:213.3 93.9% 67.8%;--highlight:48 96% 53%}[data-registry=plate]{--background:0 0% 100%;--foreground:0 0% 3.9%;--card:0 0% 100%;--card-foreground:0 0% 3.9%;--popover:0 0% 100%;--popover-foreground:0 0% 3.9%;--primary:0 0% 9%;--primary-foreground:0 0% 98%;--secondary:0 0% 96.1%;--secondary-foreground:0 0% 9%;--muted:0 0% 96.1%;--muted-foreground:0 0% 45.1%;--accent:0 0% 96.1%;--accent-foreground:0 0% 9%;--destructive:0 84.2% 60.2%;--destructive-foreground:0 0% 98%;--border:0 0% 89.8%;--input:0 0% 89.8%;--ring:0 0% 3.9%;--chart-1:12 76% 61%;--chart-2:173 58% 39%;--chart-3:197 37% 24%;--chart-4:43 74% 66%;--chart-5:27 87% 67%;--radius:.5rem;--brand:217.2 91.2% 59.8%;--highlight:47.9 95.8% 53.1%}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}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;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}.dark{--color-background:var(--color-slate-950);--color-bg-muted:var(--color-slate-800);--color-bg-success-soft:var(--color-emerald-950);--color-bg-warning-soft:var(--color-amber-900);--color-bg-destructive-soft:var(--color-red-900);--color-bg-info-soft:var(--color-blue-900);--color-bg-muted-40:#1e293b66;--color-bg-muted-50:#1e293b80;--color-bg-accent-50:#3b82f680;--color-foreground:var(--color-slate-50);--color-foreground-muted:var(--color-slate-400);--color-muted-foreground:var(--color-slate-500);--color-surface-card:var(--color-slate-950);--color-surface-hover-lighten:#ffffff1a;--color-surface-hover-darken:#00000014;--color-surface-card-foreground:var(--color-slate-50);--color-surface-popover:var(--color-slate-950);--color-surface-popover-foreground:var(--color-slate-50);--color-surface-button-primary:var(--color-blue-500);--color-surface-button-primary-hover:var(--color-blue-400);--color-surface-button-secondary:var(--color-slate-800);--color-surface-button-secondary-hover:var(--color-slate-700);--color-surface-button-destructive:var(--color-red-800);--color-stroke:var(--color-slate-700);--color-stroke-muted-40:#1e293b66;--color-stroke-input:var(--color-slate-700);--color-stroke-destructive:var(--color-red-900);--color-border:var(--color-slate-700);--color-ring:var(--color-slate-400);--color-text-primary-foreground:var(--color-slate-900);--color-text-success-firm:var(--color-emerald-700);--color-text-secondary-foreground:var(--color-slate-50);--color-element-primary-foreground:var(--color-slate-900);--color-element-secondary-foreground:var(--color-slate-50);--color-highlight-background:var(--color-slate-800);--color-highlight-foreground:var(--color-slate-50);--color-focus-ring:var(--color-slate-400);--color-accent:var(--color-blue-500);--color-informational:var(--color-blue-500);--color-destructive:var(--color-red-500);--color-successful:var(--color-emerald-600);--color-warning:var(--color-amber-500);--color-ai:var(--color-purple-600);--color-options-background:var(--color-slate-800);--color-options-foreground:var(--color-accent);--color-options-border:var(--color-accent);--color-swimmlane-background:var(--color-surface-button-secondary);--color-swimmlane-foreground:var(--color-text-secondary-foreground);--color-carousel-card-background:var(--color-slate-800);--color-carousel-card-foreground:var(--color-slate-50);--color-carousel-card-border:var(--color-slate-700);--color-chat-background:var(--color-background)}body{background-color:var(--color-background);color:var(--color-foreground);font-family:var(--default-font-family,"Inter", sans-serif)}*,:after,:before,::backdrop{border-color:var(--color-gray-200,currentColor)}::file-selector-button{border-color:var(--color-gray-200,currentColor)}*{border-color:var(--color-border);outline-color:#62748e80}@supports (color:color-mix(in lab, red, red)){*{outline-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}body{background-color:var(--color-background);color:var(--color-foreground)}}@layer components;@layer utilities{.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.invisible{visibility:hidden}.visible{visibility:visible}.sr-only{clip-path:inset(50%);white-space:nowrap;border-width:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.absolute{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.inset-0{inset:calc(var(--spacing) * 0)}.inset-\\[-4px\\]{inset:-4px}.inset-x-0{inset-inline:calc(var(--spacing) * 0)}.start{inset-inline-start:var(--spacing)}.end{inset-inline-end:var(--spacing)}.-top-3{top:calc(var(--spacing) * -3)}.-top-14{top:calc(var(--spacing) * -14)}.-top-\\[28px\\]{top:-28px}.top-0{top:calc(var(--spacing) * 0)}.top-1\\/2{top:50%}.top-3{top:calc(var(--spacing) * 3)}.top-\\[50\\%\\]{top:50%}.-right-0\\.5{right:calc(var(--spacing) * -.5)}.-right-2{right:calc(var(--spacing) * -2)}.right-0{right:calc(var(--spacing) * 0)}.right-3{right:calc(var(--spacing) * 3)}.right-4{right:calc(var(--spacing) * 4)}.right-auto{right:auto}.-bottom-3{bottom:calc(var(--spacing) * -3)}.bottom-0{bottom:calc(var(--spacing) * 0)}.bottom-1{bottom:calc(var(--spacing) * 1)}.bottom-2{bottom:calc(var(--spacing) * 2)}.bottom-3{bottom:calc(var(--spacing) * 3)}.bottom-16{bottom:calc(var(--spacing) * 16)}.bottom-\\[calc\\(100\\%\\+40px\\)\\]{bottom:calc(100% + 40px)}.bottom-full{bottom:100%}.-left-2{left:calc(var(--spacing) * -2)}.left-0{left:calc(var(--spacing) * 0)}.left-1\\/2{left:50%}.left-2{left:calc(var(--spacing) * 2)}.left-4{left:calc(var(--spacing) * 4)}.left-\\[50\\%\\]{left:50%}.z-0{z-index:0}.z-1{z-index:1}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-1100{z-index:1100}.clear-both{clear:both}.container{width:100%}@media (min-width:40rem){.container{max-width:40rem}}@media (min-width:48rem){.container{max-width:48rem}}@media (min-width:64rem){.container{max-width:64rem}}@media (min-width:80rem){.container{max-width:80rem}}@media (min-width:96rem){.container{max-width:96rem}}.m-0{margin:calc(var(--spacing) * 0)}.m-2{margin:calc(var(--spacing) * 2)}.-mx-1{margin-inline:calc(var(--spacing) * -1)}.mx-3{margin-inline:calc(var(--spacing) * 3)}.mx-5{margin-inline:calc(var(--spacing) * 5)}.mx-8{margin-inline:calc(var(--spacing) * 8)}.mx-auto{margin-inline:auto}.my-1{margin-block:calc(var(--spacing) * 1)}.-mt-4{margin-top:calc(var(--spacing) * -4)}.mt-0{margin-top:calc(var(--spacing) * 0)}.mt-1{margin-top:calc(var(--spacing) * 1)}.mt-1\\.5{margin-top:calc(var(--spacing) * 1.5)}.mt-2{margin-top:calc(var(--spacing) * 2)}.mt-3{margin-top:calc(var(--spacing) * 3)}.mt-4{margin-top:calc(var(--spacing) * 4)}.mt-6{margin-top:calc(var(--spacing) * 6)}.mt-8{margin-top:calc(var(--spacing) * 8)}.mt-\\[var\\(--moveo-new-header-height\\)\\]{margin-top:var(--moveo-new-header-height)}.mt-auto{margin-top:auto}.mr-2{margin-right:calc(var(--spacing) * 2)}.mr-auto{margin-right:auto}.mb-0{margin-bottom:calc(var(--spacing) * 0)}.mb-1{margin-bottom:calc(var(--spacing) * 1)}.mb-1\\.5{margin-bottom:calc(var(--spacing) * 1.5)}.mb-2{margin-bottom:calc(var(--spacing) * 2)}.mb-3{margin-bottom:calc(var(--spacing) * 3)}.mb-4{margin-bottom:calc(var(--spacing) * 4)}.mb-5{margin-bottom:calc(var(--spacing) * 5)}.mb-6{margin-bottom:calc(var(--spacing) * 6)}.mb-9{margin-bottom:calc(var(--spacing) * 9)}.mb-20{margin-bottom:calc(var(--spacing) * 20)}.-ml-1{margin-left:calc(var(--spacing) * -1)}.-ml-4{margin-left:calc(var(--spacing) * -4)}.ml-0{margin-left:calc(var(--spacing) * 0)}.ml-1{margin-left:calc(var(--spacing) * 1)}.ml-2{margin-left:calc(var(--spacing) * 2)}.ml-5{margin-left:calc(var(--spacing) * 5)}.ml-6{margin-left:calc(var(--spacing) * 6)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.box-content{box-sizing:content-box}.line-clamp-2{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.block{display:block}.contents{display:contents}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-3\\.5{width:calc(var(--spacing) * 3.5);height:calc(var(--spacing) * 3.5)}.size-4{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.size-8{width:calc(var(--spacing) * 8);height:calc(var(--spacing) * 8)}.size-full{width:100%;height:100%}.h-\\(--moveo-chat-height\\){height:var(--moveo-chat-height)}.h-1\\.5{height:calc(var(--spacing) * 1.5)}.h-2\\.5{height:calc(var(--spacing) * 2.5)}.h-3{height:calc(var(--spacing) * 3)}.h-4{height:calc(var(--spacing) * 4)}.h-5{height:calc(var(--spacing) * 5)}.h-6{height:calc(var(--spacing) * 6)}.h-7{height:calc(var(--spacing) * 7)}.h-8{height:calc(var(--spacing) * 8)}.h-9{height:calc(var(--spacing) * 9)}.h-10{height:calc(var(--spacing) * 10)}.h-11{height:calc(var(--spacing) * 11)}.h-12{height:calc(var(--spacing) * 12)}.h-14{height:calc(var(--spacing) * 14)}.h-40{height:calc(var(--spacing) * 40)}.h-45{height:calc(var(--spacing) * 45)}.h-96{height:calc(var(--spacing) * 96)}.h-\\[18px\\]{height:18px}.h-\\[28px\\]{height:28px}.h-\\[42px\\]{height:42px}.h-\\[44px\\]{height:44px}.h-\\[72px\\]{height:72px}.h-\\[78vh\\]{height:78vh}.h-\\[82px\\]{height:82px}.h-\\[222px\\]{height:222px}.h-\\[254px\\]{height:254px}.h-\\[282px\\]{height:282px}.h-\\[386px\\]{height:386px}.h-\\[calc\\(100\\%-44px\\)\\]{height:calc(100% - 44px)}.h-\\[var\\(--moveo-chat-height\\)\\]{height:var(--moveo-chat-height)}.h-\\[var\\(--moveo-modal-tall-height\\)\\]{height:var(--moveo-modal-tall-height)}.h-\\[var\\(--radix-select-trigger-height\\)\\]{height:var(--radix-select-trigger-height)}.h-auto{height:auto}.h-fit{height:fit-content}.h-full{height:100%}.h-px{height:1px}.max-h-\\(--radix-select-content-available-height\\){max-height:var(--radix-select-content-available-height)}.max-h-18{max-height:calc(var(--spacing) * 18)}.max-h-40{max-height:calc(var(--spacing) * 40)}.max-h-50{max-height:calc(var(--spacing) * 50)}.max-h-\\[60vh\\]{max-height:60vh}.max-h-\\[88px\\]{max-height:88px}.max-h-\\[400px\\]{max-height:400px}.max-h-\\[calc\\(100\\%-68px\\)\\]{max-height:calc(100% - 68px)}.max-h-\\[calc\\(100vh-16px\\)\\]{max-height:calc(100vh - 16px)}.max-h-\\[calc\\(100vh-80px\\)\\]{max-height:calc(100vh - 80px)}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-6{min-height:calc(var(--spacing) * 6)}.min-h-8{min-height:calc(var(--spacing) * 8)}.min-h-24{min-height:calc(var(--spacing) * 24)}.min-h-\\[calc\\(100\\%-44px\\)\\]{min-height:calc(100% - 44px)}.min-h-full{min-height:100%}.min-h-screen{min-height:100vh}.w-\\(--moveo-expanded-chat-width\\){width:var(--moveo-expanded-chat-width)}.w-1\\.5{width:calc(var(--spacing) * 1.5)}.w-2\\.5{width:calc(var(--spacing) * 2.5)}.w-3{width:calc(var(--spacing) * 3)}.w-3xs{width:var(--container-3xs)}.w-4{width:calc(var(--spacing) * 4)}.w-5{width:calc(var(--spacing) * 5)}.w-6{width:calc(var(--spacing) * 6)}.w-7{width:calc(var(--spacing) * 7)}.w-8{width:calc(var(--spacing) * 8)}.w-9{width:calc(var(--spacing) * 9)}.w-10{width:calc(var(--spacing) * 10)}.w-11{width:calc(var(--spacing) * 11)}.w-12{width:calc(var(--spacing) * 12)}.w-32{width:calc(var(--spacing) * 32)}.w-72{width:calc(var(--spacing) * 72)}.w-\\[2px\\]{width:2px}.w-\\[18px\\]{width:18px}.w-\\[28px\\]{width:28px}.w-\\[42px\\]{width:42px}.w-\\[328px\\]{width:328px}.w-\\[calc\\(100\\%\\+48px\\)\\]{width:calc(100% + 48px)}.w-\\[calc\\(100\\%-24px\\)\\]{width:calc(100% - 24px)}.w-\\[calc\\(100\\%-40px\\)\\]{width:calc(100% - 40px)}.w-\\[var\\(--moveo-chat-width\\)\\]{width:var(--moveo-chat-width)}.w-\\[var\\(--moveo-expanded-chat-width\\)\\]{width:var(--moveo-expanded-chat-width)}.w-\\[var\\(--moveo-modal-tall-width\\)\\]{width:var(--moveo-modal-tall-width)}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-max{width:max-content}.w-sm{width:var(--container-sm)}.w-xs{width:var(--container-xs)}.max-w-2xl{max-width:var(--container-2xl)}.max-w-6xl{max-width:var(--container-6xl)}.max-w-18{max-width:calc(var(--spacing) * 18)}.max-w-\\[18rem\\]{max-width:18rem}.max-w-\\[200px\\]{max-width:200px}.max-w-fit{max-width:fit-content}.max-w-full{max-width:100%}.max-w-md{max-width:var(--container-md)}.max-w-sm{max-width:var(--container-sm)}.max-w-xs{max-width:var(--container-xs)}.min-w-0{min-width:calc(var(--spacing) * 0)}.min-w-7{min-width:calc(var(--spacing) * 7)}.min-w-20{min-width:calc(var(--spacing) * 20)}.min-w-\\[8rem\\]{min-width:8rem}.min-w-\\[156px\\]{min-width:156px}.min-w-\\[260px\\]{min-width:260px}.min-w-\\[var\\(--radix-select-trigger-width\\)\\]{min-width:var(--radix-select-trigger-width)}.min-w-auto{min-width:auto}.min-w-fit{min-width:fit-content}.flex-1{flex:1}.flex-shrink-0{flex-shrink:0}.shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow,.grow{flex-grow:1}.grow-0{flex-grow:0}.basis-\\[130px\\]{flex-basis:130px}.basis-\\[336px\\]{flex-basis:336px}.basis-\\[400px\\]{flex-basis:400px}.basis-full{flex-basis:100%}.origin-\\(--radix-popover-content-transform-origin\\){transform-origin:var(--radix-popover-content-transform-origin)}.origin-\\(--radix-select-content-transform-origin\\){transform-origin:var(--radix-select-content-transform-origin)}.origin-center{transform-origin:50%}.-translate-x-1\\/2{--tw-translate-x:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-6{--tw-translate-x:calc(var(--spacing) * -6);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-x-12{--tw-translate-x:calc(var(--spacing) * -12);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-6{--tw-translate-x:calc(var(--spacing) * 6);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-x-\\[-50\\%\\]{--tw-translate-x:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-0\\.5{--tw-translate-y:calc(var(--spacing) * -.5);translate:var(--tw-translate-x) var(--tw-translate-y)}.-translate-y-1\\/2{--tw-translate-y:calc(calc(1 / 2 * 100%) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-0{--tw-translate-y:calc(var(--spacing) * 0);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-2{--tw-translate-y:calc(var(--spacing) * 2);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-4{--tw-translate-y:calc(var(--spacing) * 4);translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[-50\\%\\]{--tw-translate-y:-50%;translate:var(--tw-translate-x) var(--tw-translate-y)}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-\\[fadeIn_0\\.3s_forwards\\]{animation:.3s forwards fadeIn}.animate-\\[slide-in-up_0\\.2s_ease-out\\]{animation:.2s ease-out slide-in-up}.animate-\\[typing_1\\.2s_ease-in-out_infinite\\]{animation:1.2s ease-in-out infinite typing}.animate-fade-in{animation:1s ease-out fade-in}.animate-fade-out{animation:1s ease-out forwards fade-out}.animate-spin{animation:var(--animate-spin)}.cursor-default{cursor:default}.cursor-pointer{cursor:pointer}.touch-none{touch-action:none}.resize{resize:both}.scroll-my-1{scroll-margin-block:calc(var(--spacing) * 1)}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.grid-cols-5{grid-template-columns:repeat(5,minmax(0,1fr))}.grid-cols-\\[36px_16px_36px\\]{grid-template-columns:36px 16px 36px}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.items-stretch{align-items:stretch}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-0{gap:calc(var(--spacing) * 0)}.gap-1{gap:calc(var(--spacing) * 1)}.gap-1\\.5{gap:calc(var(--spacing) * 1.5)}.gap-2{gap:calc(var(--spacing) * 2)}.gap-3{gap:calc(var(--spacing) * 3)}.gap-4{gap:calc(var(--spacing) * 4)}.gap-12{gap:calc(var(--spacing) * 12)}.gap-\\[2px\\]{gap:2px}:where(.space-y-2>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 2) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-y-6>:not(:last-child)){--tw-space-y-reverse:0;margin-block-start:calc(calc(var(--spacing) * 6) * var(--tw-space-y-reverse));margin-block-end:calc(calc(var(--spacing) * 6) * calc(1 - var(--tw-space-y-reverse)))}:where(.space-x-2>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-start:calc(calc(var(--spacing) * 2) * var(--tw-space-x-reverse));margin-inline-end:calc(calc(var(--spacing) * 2) * calc(1 - var(--tw-space-x-reverse)))}.self-start{align-self:flex-start}.truncate{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-hidden{overflow-x:hidden}.overflow-y-auto{overflow-y:auto}.rounded{border-radius:.25rem}.rounded-\\(--moveo-border-radius-base\\){border-radius:var(--moveo-border-radius-base)}.rounded-\\(--moveo-new-border-radius-base\\){border-radius:var(--moveo-new-border-radius-base)}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-\\[4px\\]{border-radius:4px}.rounded-\\[inherit\\]{border-radius:inherit}.rounded-\\[var\\(--moveo-border-radius-base\\)\\]{border-radius:var(--moveo-border-radius-base)}.rounded-\\[var\\(--moveo-new-border-radius-base\\)\\]{border-radius:var(--moveo-new-border-radius-base)}.rounded-full{border-radius:3.40282e38px}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-none{border-radius:0}.rounded-sm{border-radius:var(--radius-sm)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-t-xl{border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}.rounded-l-lg{border-top-left-radius:var(--radius-lg);border-bottom-left-radius:var(--radius-lg)}.rounded-r-lg{border-top-right-radius:var(--radius-lg);border-bottom-right-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-0{border-style:var(--tw-border-style);border-width:0}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-t{border-top-style:var(--tw-border-style);border-top-width:1px}.border-t-2{border-top-style:var(--tw-border-style);border-top-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-l{border-left-style:var(--tw-border-style);border-left-width:1px}.border-dotted{--tw-border-style:dotted;border-style:dotted}.border-none{--tw-border-style:none;border-style:none}.border-border{border-color:var(--color-border)}.border-carousel-card-border{border-color:var(--color-carousel-card-border)}.border-emerald-200\\/60{border-color:#a4f4cf99}@supports (color:color-mix(in lab, red, red)){.border-emerald-200\\/60{border-color:color-mix(in oklab, var(--color-emerald-200) 60%, transparent)}}.border-emerald-500\\/20{border-color:#00bb7f33}@supports (color:color-mix(in lab, red, red)){.border-emerald-500\\/20{border-color:color-mix(in oklab, var(--color-emerald-500) 20%, transparent)}}.border-focus-ring{border-color:var(--color-focus-ring)}.border-gray-200{border-color:var(--color-gray-200)}.border-gray-700{border-color:var(--color-gray-700)}.border-input{border-color:hsl(var(--input))}.border-muted-foreground\\/20{border-color:hsl(var(--muted-foreground))}@supports (color:color-mix(in lab, red, red)){.border-muted-foreground\\/20{border-color:color-mix(in oklab, hsl(var(--muted-foreground)) 20%, transparent)}}.border-options-border{border-color:var(--color-options-border)}.border-primary{border-color:var(--color-primary)}.border-rose-200\\/60{border-color:#ffccd399}@supports (color:color-mix(in lab, red, red)){.border-rose-200\\/60{border-color:color-mix(in oklab, var(--color-rose-200) 60%, transparent)}}.border-sky-200\\/60{border-color:#b8e6fe99}@supports (color:color-mix(in lab, red, red)){.border-sky-200\\/60{border-color:color-mix(in oklab, var(--color-sky-200) 60%, transparent)}}.border-slate-200{border-color:var(--color-slate-200)}.border-slate-200\\/80{border-color:#e2e8f0cc}@supports (color:color-mix(in lab, red, red)){.border-slate-200\\/80{border-color:color-mix(in oklab, var(--color-slate-200) 80%, transparent)}}.border-transparent{border-color:#0000}.border-white{border-color:var(--color-white)}.border-t-rose-400\\/60{border-top-color:#ff667f99}@supports (color:color-mix(in lab, red, red)){.border-t-rose-400\\/60{border-top-color:color-mix(in oklab, var(--color-rose-400) 60%, transparent)}}.border-t-sky-400\\/60{border-top-color:#00bcfe99}@supports (color:color-mix(in lab, red, red)){.border-t-sky-400\\/60{border-top-color:color-mix(in oklab, var(--color-sky-400) 60%, transparent)}}.border-t-sky-500\\/60{border-top-color:#00a5ef99}@supports (color:color-mix(in lab, red, red)){.border-t-sky-500\\/60{border-top-color:color-mix(in oklab, var(--color-sky-500) 60%, transparent)}}.border-t-transparent{border-top-color:#0000}.border-r-rose-300\\/30{border-right-color:#ffa2ae4d}@supports (color:color-mix(in lab, red, red)){.border-r-rose-300\\/30{border-right-color:color-mix(in oklab, var(--color-rose-300) 30%, transparent)}}.border-r-sky-300\\/30{border-right-color:#77d4ff4d}@supports (color:color-mix(in lab, red, red)){.border-r-sky-300\\/30{border-right-color:color-mix(in oklab, var(--color-sky-300) 30%, transparent)}}.border-r-sky-400\\/30{border-right-color:#00bcfe4d}@supports (color:color-mix(in lab, red, red)){.border-r-sky-400\\/30{border-right-color:color-mix(in oklab, var(--color-sky-400) 30%, transparent)}}.border-b-transparent{border-bottom-color:#0000}.border-l-transparent{border-left-color:#0000}.bg-\\(--color-launcher-background\\,var\\(--color-accent\\)\\){background-color:var(--color-launcher-background,var(--color-accent))}.bg-\\(--color-opening-message-background\\,var\\(--color-accent\\)\\){background-color:var(--color-opening-message-background,var(--color-accent))}.bg-\\(--color-rating-background\\){background-color:var(--color-rating-background)}.bg-\\[var\\(--background\\)\\]{background-color:var(--background)}.bg-\\[var\\(--moveo-header-background\\)\\]{background-color:var(--moveo-header-background)}.bg-\\[var\\(--moveo-header-background\\,var\\(--color-accent\\)\\)\\]{background-color:var(--moveo-header-background,var(--color-accent))}.bg-\\[var\\(--nbg-bg\\)\\]{background-color:var(--nbg-bg)}.bg-\\[var\\(--text-03\\)\\]{background-color:var(--text-03)}.bg-accent{background-color:var(--color-accent)}.bg-amber-100{background-color:var(--color-amber-100)}.bg-amber-100\\/90{background-color:#fef3c6e6}@supports (color:color-mix(in lab, red, red)){.bg-amber-100\\/90{background-color:color-mix(in oklab, var(--color-amber-100) 90%, transparent)}}.bg-background{background-color:var(--color-background)}.bg-background\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-background\\/80{background-color:color-mix(in oklab, var(--color-background) 80%, transparent)}}.bg-bg-destructive-soft{background-color:var(--color-bg-destructive-soft)}.bg-bg-muted{background-color:var(--color-bg-muted)}.bg-bg-warning-soft{background-color:var(--color-bg-warning-soft)}.bg-black{background-color:var(--color-black)}.bg-black\\/40{background-color:#0006}@supports (color:color-mix(in lab, red, red)){.bg-black\\/40{background-color:color-mix(in oklab, var(--color-black) 40%, transparent)}}.bg-black\\/50{background-color:#00000080}@supports (color:color-mix(in lab, red, red)){.bg-black\\/50{background-color:color-mix(in oklab, var(--color-black) 50%, transparent)}}.bg-border{background-color:var(--color-border)}.bg-carousel-card{background-color:var(--color-carousel-card-background)}.bg-chat-background{background-color:var(--color-chat-background)}.bg-emerald-50\\/80{background-color:#ecfdf5cc}@supports (color:color-mix(in lab, red, red)){.bg-emerald-50\\/80{background-color:color-mix(in oklab, var(--color-emerald-50) 80%, transparent)}}.bg-emerald-500{background-color:var(--color-emerald-500)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-green-500{background-color:var(--color-green-500)}.bg-highlight-background{background-color:var(--color-highlight-background)}.bg-muted{background-color:hsl(var(--muted))}.bg-muted-foreground{background-color:hsl(var(--muted-foreground))}.bg-options{background-color:var(--color-options-background)}.bg-popover{background-color:hsl(var(--popover))}.bg-primary{background-color:var(--color-primary)}.bg-red-500{background-color:var(--color-red-500)}.bg-rose-50{background-color:var(--color-rose-50)}.bg-rose-50\\/80{background-color:#fff1f2cc}@supports (color:color-mix(in lab, red, red)){.bg-rose-50\\/80{background-color:color-mix(in oklab, var(--color-rose-50) 80%, transparent)}}.bg-sky-50\\/80{background-color:#f0f9ffcc}@supports (color:color-mix(in lab, red, red)){.bg-sky-50\\/80{background-color:color-mix(in oklab, var(--color-sky-50) 80%, transparent)}}.bg-sky-100{background-color:var(--color-sky-100)}.bg-slate-100{background-color:var(--color-slate-100)}.bg-slate-400{background-color:var(--color-slate-400)}.bg-surface-button-secondary{background-color:var(--color-surface-button-secondary)}.bg-surface-card{background-color:var(--color-surface-card)}.bg-swimmlane-background{background-color:var(--color-swimmlane-background)}.bg-transparent{background-color:#0000}.bg-white\\/80{background-color:#fffc}@supports (color:color-mix(in lab, red, red)){.bg-white\\/80{background-color:color-mix(in oklab, var(--color-white) 80%, transparent)}}.bg-white\\/90{background-color:#ffffffe6}@supports (color:color-mix(in lab, red, red)){.bg-white\\/90{background-color:color-mix(in oklab, var(--color-white) 90%, transparent)}}.bg-gradient-to-b{--tw-gradient-position:to bottom in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.bg-gradient-to-br{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.from-accent{--tw-gradient-from:var(--color-accent);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.from-emerald-500{--tw-gradient-from:var(--color-emerald-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-emerald-600{--tw-gradient-to:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.to-white{--tw-gradient-to:var(--color-white);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.bg-contain{background-size:contain}.bg-right{background-position:100%}.bg-no-repeat{background-repeat:no-repeat}.fill-\\(--color-launcher-background\\,var\\(--color-accent\\)\\){fill:var(--color-launcher-background,var(--color-accent))}.fill-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){fill:var(--color-launcher-foreground,var(--color-background))}.fill-sky-600{fill:var(--color-sky-600)}.fill-white{fill:var(--color-white)}.stroke-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){stroke:var(--color-launcher-foreground,var(--color-background))}.object-contain{object-fit:contain}.object-cover{object-fit:cover}.p-0{padding:calc(var(--spacing) * 0)}.p-0\\.5{padding:calc(var(--spacing) * .5)}.p-1{padding:calc(var(--spacing) * 1)}.p-1\\.5{padding:calc(var(--spacing) * 1.5)}.p-2{padding:calc(var(--spacing) * 2)}.p-3{padding:calc(var(--spacing) * 3)}.p-4{padding:calc(var(--spacing) * 4)}.p-6{padding:calc(var(--spacing) * 6)}.p-px{padding:1px}.px-1{padding-inline:calc(var(--spacing) * 1)}.px-2{padding-inline:calc(var(--spacing) * 2)}.px-3{padding-inline:calc(var(--spacing) * 3)}.px-4{padding-inline:calc(var(--spacing) * 4)}.px-5{padding-inline:calc(var(--spacing) * 5)}.px-6{padding-inline:calc(var(--spacing) * 6)}.py-1{padding-block:calc(var(--spacing) * 1)}.py-1\\.5{padding-block:calc(var(--spacing) * 1.5)}.py-2{padding-block:calc(var(--spacing) * 2)}.py-2\\.5{padding-block:calc(var(--spacing) * 2.5)}.py-3{padding-block:calc(var(--spacing) * 3)}.py-3\\.5{padding-block:calc(var(--spacing) * 3.5)}.py-16{padding-block:calc(var(--spacing) * 16)}.pt-1\\.5{padding-top:calc(var(--spacing) * 1.5)}.pt-2{padding-top:calc(var(--spacing) * 2)}.pt-3{padding-top:calc(var(--spacing) * 3)}.pt-4{padding-top:calc(var(--spacing) * 4)}.pt-\\[var\\(--moveo-new-header-height\\)\\]{padding-top:var(--moveo-new-header-height)}.pr-2{padding-right:calc(var(--spacing) * 2)}.pr-4{padding-right:calc(var(--spacing) * 4)}.pb-2{padding-bottom:calc(var(--spacing) * 2)}.pb-4{padding-bottom:calc(var(--spacing) * 4)}.pb-6{padding-bottom:calc(var(--spacing) * 6)}.pb-10{padding-bottom:calc(var(--spacing) * 10)}.pb-14{padding-bottom:calc(var(--spacing) * 14)}.pb-24{padding-bottom:calc(var(--spacing) * 24)}.pb-32{padding-bottom:calc(var(--spacing) * 32)}.pb-\\[40px\\]{padding-bottom:40px}.pl-0{padding-left:calc(var(--spacing) * 0)}.pl-1{padding-left:calc(var(--spacing) * 1)}.pl-2{padding-left:calc(var(--spacing) * 2)}.pl-3{padding-left:calc(var(--spacing) * 3)}.pl-4{padding-left:calc(var(--spacing) * 4)}.pl-8{padding-left:calc(var(--spacing) * 8)}.text-center{text-align:center}.text-left{text-align:left}.align-middle{vertical-align:middle}.font-mono{font-family:var(--font-mono)}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-4xl{font-size:var(--text-4xl);line-height:var(--tw-leading,var(--text-4xl--line-height))}.text-base{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[0\\.8rem\\]{font-size:.8rem}.text-\\[0\\.65rem\\]{font-size:.65rem}.text-\\[10px\\]{font-size:10px}.leading-4{--tw-leading:calc(var(--spacing) * 4);line-height:calc(var(--spacing) * 4)}.leading-5{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.leading-6{--tw-leading:calc(var(--spacing) * 6);line-height:calc(var(--spacing) * 6)}.leading-7{--tw-leading:calc(var(--spacing) * 7);line-height:calc(var(--spacing) * 7)}.leading-8{--tw-leading:calc(var(--spacing) * 8);line-height:calc(var(--spacing) * 8)}.leading-none{--tw-leading:1;line-height:1}.leading-tight{--tw-leading:var(--leading-tight);line-height:var(--leading-tight)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-\\[0\\.25em\\]{--tw-tracking:.25em;letter-spacing:.25em}.tracking-normal{--tw-tracking:var(--tracking-normal);letter-spacing:var(--tracking-normal)}.tracking-wider{--tw-tracking:var(--tracking-wider);letter-spacing:var(--tracking-wider)}.tracking-widest{--tw-tracking:var(--tracking-widest);letter-spacing:var(--tracking-widest)}.text-wrap{text-wrap:wrap}.break-words,.wrap-break-word{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.text-\\(--color-launcher-foreground\\,var\\(--color-background\\)\\){color:var(--color-launcher-foreground,var(--color-background))}.text-\\(--color-link\\){color:var(--color-link)}.text-\\(--color-opening-message-foreground\\,var\\(--color-text-primary-foreground\\)\\){color:var(--color-opening-message-foreground,var(--color-text-primary-foreground))}.text-\\(--color-send-icon\\){color:var(--color-send-icon)}.text-\\[var\\(--color-link\\)\\]{color:var(--color-link)}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-accent\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-accent))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-element-primary-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-element-primary-foreground))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-foreground))}.text-\\[var\\(--moveo-header-text-color\\,var\\(--color-text-primary-foreground\\)\\)\\]{color:var(--moveo-header-text-color,var(--color-text-primary-foreground))}.text-\\[var\\(--moveo-header-text-color\\,white\\)\\]{color:var(--moveo-header-text-color,white)}.text-accent{color:var(--color-accent)}.text-amber-600{color:var(--color-amber-600)}.text-amber-700{color:var(--color-amber-700)}.text-amber-800{color:var(--color-amber-800)}.text-carousel-card-foreground{color:var(--color-carousel-card-foreground)}.text-carousel-card-foreground\\/70{color:#0f172bb3}@supports (color:color-mix(in lab, red, red)){.text-carousel-card-foreground\\/70{color:color-mix(in oklab, var(--color-carousel-card-foreground) 70%, transparent)}}.text-current{color:currentColor}.text-destructive{color:var(--color-destructive)}.text-destructive-foreground{color:hsl(var(--destructive-foreground))}.text-emerald-500{color:var(--color-emerald-500)}.text-emerald-600{color:var(--color-emerald-600)}.text-foreground{color:var(--color-foreground)}.text-foreground-muted{color:var(--color-foreground-muted)}.text-gray-600{color:var(--color-gray-600)}.text-gray-800{color:var(--color-gray-800)}.text-muted-foreground{color:hsl(var(--muted-foreground))}.text-options-foreground{color:var(--color-options-foreground)}.text-popover-foreground{color:hsl(var(--popover-foreground))}.text-primary-foreground{color:hsl(var(--primary-foreground))}.text-rose-500{color:var(--color-rose-500)}.text-rose-600{color:var(--color-rose-600)}.text-sky-500{color:var(--color-sky-500)}.text-sky-600{color:var(--color-sky-600)}.text-sky-700{color:var(--color-sky-700)}.text-slate-400{color:var(--color-slate-400)}.text-slate-500{color:var(--color-slate-500)}.text-slate-600{color:var(--color-slate-600)}.text-slate-700{color:var(--color-slate-700)}.text-slate-800{color:var(--color-slate-800)}.text-slate-900{color:var(--color-slate-900)}.text-surface-button-primary{color:var(--color-surface-button-primary)}.text-surface-card-foreground{color:var(--color-surface-card-foreground)}.text-surface-popover-foreground{color:var(--color-surface-popover-foreground)}.text-swimmlane-foreground{color:var(--color-swimmlane-foreground)}.text-text-primary-foreground{color:var(--color-text-primary-foreground)}.text-text-secondary-foreground{color:var(--color-text-secondary-foreground)}.text-warning{color:var(--color-warning)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.italic{font-style:italic}.line-through{text-decoration-line:line-through}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.opacity-0{opacity:0}.opacity-30{opacity:.3}.opacity-50{opacity:.5}.opacity-80{opacity:.8}.opacity-100{opacity:1}.shadow-\\[0_2px_8px_rgba\\(0\\,0\\,0\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#00000026);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(14\\,165\\,233\\,0\\.12\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#0ea5e91f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(16\\,185\\,129\\,0\\.15\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#10b98126);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_2px_8px_rgba\\(244\\,63\\,94\\,0\\.12\\)\\]{--tw-shadow:0 2px 8px var(--tw-shadow-color,#f43f5e1f);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[0_4px_14px_rgba\\(16\\,185\\,129\\,0\\.25\\)\\]{--tw-shadow:0 4px 14px var(--tw-shadow-color,#10b98140);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-\\[var\\(--moveo-shadow-bubble\\)\\]{--tw-shadow:var(--moveo-shadow-bubble);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-md{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xl{--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-xs{--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.shadow-amber-200\\/70{--tw-shadow-color:#fee685b3}@supports (color:color-mix(in lab, red, red)){.shadow-amber-200\\/70{--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-amber-200) 70%, transparent) var(--tw-shadow-alpha), transparent)}}.ring-amber-300{--tw-ring-color:var(--color-amber-300)}.ring-offset-background{--tw-ring-offset-color:var(--color-background)}.outline-hidden{--tw-outline-style:none;outline-style:none}@media (forced-colors:active){.outline-hidden{outline-offset:2px;outline:2px solid #0000}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.filter{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,)}.backdrop-blur{--tw-backdrop-blur:blur(8px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-\\[20px\\]{--tw-backdrop-blur:blur(20px);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-blur-md{--tw-backdrop-blur:blur(var(--blur-md));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.backdrop-saturate-150{--tw-backdrop-saturate:saturate(150%);-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}.transition{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[color\\,box-shadow\\]{transition-property:color,box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-\\[width\\]{transition-property:width;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-all{transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-colors{transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-opacity{transition-property:opacity;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-shadow{transition-property:box-shadow;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-transform{transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function));transition-duration:var(--tw-duration,var(--default-transition-duration))}.transition-none{transition-property:none}.delay-500{transition-delay:.5s}.duration-100{--tw-duration:.1s;transition-duration:.1s}.duration-150{--tw-duration:.15s;transition-duration:.15s}.duration-200{--tw-duration:.2s;transition-duration:.2s}.duration-250{--tw-duration:.25s;transition-duration:.25s}.duration-300{--tw-duration:.3s;transition-duration:.3s}.duration-500{--tw-duration:.5s;transition-duration:.5s}.duration-2000{--tw-duration:2s;transition-duration:2s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.will-change-transform{will-change:transform}.outline-none{--tw-outline-style:none;outline-style:none}.select-none{-webkit-user-select:none;user-select:none}.\\[animation-delay\\:0\\.2s\\]{animation-delay:.2s}.\\[animation-delay\\:0\\.4s\\]{animation-delay:.4s}.\\[animation-delay\\:0s\\]{animation-delay:0s}.\\[animation-fill-mode\\:forwards\\]{animation-fill-mode:forwards}.\\[scrollbar-color\\:rgba\\(0\\,0\\,0\\,0\\.15\\)_transparent\\]{scrollbar-color:#00000026 transparent}.\\[scrollbar-width\\:thin\\]{scrollbar-width:thin}@media (hover:hover){.group-hover\\:opacity-0:is(:where(.group):hover *){opacity:0}.group-hover\\:opacity-100:is(:where(.group):hover *){opacity:1}}.selection\\:bg-primary ::selection{background-color:var(--color-primary)}.selection\\:bg-primary::selection{background-color:var(--color-primary)}.selection\\:text-primary-foreground ::selection{color:hsl(var(--primary-foreground))}.selection\\:text-primary-foreground::selection{color:hsl(var(--primary-foreground))}.file\\:inline-flex::file-selector-button{display:inline-flex}.file\\:h-7::file-selector-button{height:calc(var(--spacing) * 7)}.file\\:border-0::file-selector-button{border-style:var(--tw-border-style);border-width:0}.file\\:bg-transparent::file-selector-button{background-color:#0000}.file\\:text-sm::file-selector-button{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.file\\:font-medium::file-selector-button{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.file\\:text-foreground::file-selector-button{color:var(--color-foreground)}.placeholder\\:text-foreground-muted::placeholder{color:var(--color-foreground-muted)}@media (hover:hover){.hover\\:scale-105:hover{--tw-scale-x:105%;--tw-scale-y:105%;--tw-scale-z:105%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-110:hover{--tw-scale-x:110%;--tw-scale-y:110%;--tw-scale-z:110%;scale:var(--tw-scale-x) var(--tw-scale-y)}.hover\\:scale-\\[1\\.05\\]:hover{scale:1.05}.hover\\:border-red-500\\/20:hover{border-color:#fb2c3633}@supports (color:color-mix(in lab, red, red)){.hover\\:border-red-500\\/20:hover{border-color:color-mix(in oklab, var(--color-red-500) 20%, transparent)}}.hover\\:bg-accent\\/90:hover{background-color:#1b66d6e6}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-accent\\/90:hover{background-color:color-mix(in oklab, var(--color-accent) 90%, transparent)}}.hover\\:bg-amber-200:hover{background-color:var(--color-amber-200)}.hover\\:bg-bg-muted:hover{background-color:var(--color-bg-muted)}.hover\\:bg-gray-700\\/50:hover{background-color:#36415380}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-gray-700\\/50:hover{background-color:color-mix(in oklab, var(--color-gray-700) 50%, transparent)}}.hover\\:bg-highlight-background:hover{background-color:var(--color-highlight-background)}.hover\\:bg-muted:hover,.hover\\:bg-muted\\/70:hover{background-color:hsl(var(--muted))}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-muted\\/70:hover{background-color:color-mix(in oklab, hsl(var(--muted)) 70%, transparent)}}.hover\\:bg-options\\!:hover{background-color:var(--color-options-background)!important}.hover\\:bg-rose-100:hover{background-color:var(--color-rose-100)}.hover\\:bg-sky-200:hover{background-color:var(--color-sky-200)}.hover\\:bg-slate-200:hover{background-color:var(--color-slate-200)}.hover\\:bg-surface-button-destructive:hover{background-color:var(--color-surface-button-destructive)}.hover\\:bg-surface-button-secondary-hover:hover{background-color:var(--color-surface-button-secondary-hover)}.hover\\:bg-white\\/10:hover{background-color:#ffffff1a}@supports (color:color-mix(in lab, red, red)){.hover\\:bg-white\\/10:hover{background-color:color-mix(in oklab, var(--color-white) 10%, transparent)}}.hover\\:bg-gradient-to-br:hover{--tw-gradient-position:to bottom right in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}.hover\\:from-red-500:hover{--tw-gradient-from:var(--color-red-500);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:to-red-600:hover{--tw-gradient-to:var(--color-red-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.hover\\:text-\\[var\\(--color-accent\\)\\]:hover{color:var(--color-accent)}.hover\\:text-foreground:hover{color:var(--color-foreground)}.hover\\:text-surface-button-primary:hover{color:var(--color-surface-button-primary)}.hover\\:text-white:hover{color:var(--color-white)}.hover\\:underline:hover{text-decoration-line:underline}.hover\\:shadow-\\[0_6px_20px_rgba\\(16\\,185\\,129\\,0\\.35\\)\\]:hover{--tw-shadow:0 6px 20px var(--tw-shadow-color,#10b98159);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-\\[0_6px_20px_rgba\\(239\\,68\\,68\\,0\\.35\\)\\]:hover{--tw-shadow:0 6px 20px var(--tw-shadow-color,#ef444459);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-lg:hover{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,#0000001a), 0 4px 6px -4px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-md:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a), 0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:shadow-sm:hover{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a), 0 1px 2px -1px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.hover\\:brightness-\\[0\\.92\\]:hover{--tw-brightness:brightness(.92);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,)}.hover\\:backdrop-blur-sm:hover{--tw-backdrop-blur:blur(var(--blur-sm));-webkit-backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);backdrop-filter:var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,)}}.focus\\:bg-bg-muted:focus{background-color:var(--color-bg-muted)}.focus\\:text-foreground:focus{color:var(--color-foreground)}.focus-visible\\:border-ring:focus-visible{border-color:var(--color-ring)}.focus-visible\\:ring-2:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-\\[3px\\]:focus-visible{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.focus-visible\\:ring-amber-400:focus-visible{--tw-ring-color:var(--color-amber-400)}.focus-visible\\:ring-bg-destructive-soft:focus-visible{--tw-ring-color:var(--color-bg-destructive-soft)}.focus-visible\\:ring-ring:focus-visible{--tw-ring-color:var(--color-ring)}.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:#62748e80}@supports (color:color-mix(in lab, red, red)){.focus-visible\\:ring-ring\\/50:focus-visible{--tw-ring-color:color-mix(in oklab, var(--color-ring) 50%, transparent)}}.focus-visible\\:ring-sky-400:focus-visible{--tw-ring-color:var(--color-sky-400)}.focus-visible\\:ring-slate-400:focus-visible{--tw-ring-color:var(--color-slate-400)}.focus-visible\\:ring-offset-1:focus-visible{--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-2:focus-visible{--tw-ring-offset-width:2px;--tw-ring-offset-shadow:var(--tw-ring-inset,) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)}.focus-visible\\:ring-offset-white:focus-visible{--tw-ring-offset-color:var(--color-white)}.focus-visible\\:outline-1:focus-visible{outline-style:var(--tw-outline-style);outline-width:1px}.focus-visible\\:outline-none:focus-visible{--tw-outline-style:none;outline-style:none}.active\\:scale-95:active{--tw-scale-x:95%;--tw-scale-y:95%;--tw-scale-z:95%;scale:var(--tw-scale-x) var(--tw-scale-y)}.active\\:scale-\\[0\\.98\\]:active{scale:.98}.disabled\\:pointer-events-none:disabled{pointer-events:none}.disabled\\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\\:opacity-50:disabled{opacity:.5}.aria-invalid\\:border-destructive[aria-invalid=true]{border-color:var(--color-destructive)}.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:#bf000f33}@supports (color:color-mix(in lab, red, red)){.aria-invalid\\:ring-destructive\\/20[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 20%, transparent)}}.data-\\[disabled\\]\\:pointer-events-none[data-disabled]{pointer-events:none}.data-\\[disabled\\]\\:opacity-50[data-disabled]{opacity:.5}.data-\\[placeholder\\]\\:text-sm[data-placeholder]{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.data-\\[placeholder\\]\\:leading-5[data-placeholder]{--tw-leading:calc(var(--spacing) * 5);line-height:calc(var(--spacing) * 5)}.data-\\[placeholder\\]\\:font-normal[data-placeholder]{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.data-\\[placeholder\\]\\:text-foreground-muted[data-placeholder]{color:var(--color-foreground-muted)}.data-\\[side\\=bottom\\]\\:translate-y-1[data-side=bottom]{--tw-translate-y:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=left\\]\\:-translate-x-1[data-side=left]{--tw-translate-x:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=right\\]\\:translate-x-1[data-side=right]{--tw-translate-x:calc(var(--spacing) * 1);translate:var(--tw-translate-x) var(--tw-translate-y)}.data-\\[side\\=top\\]\\:-translate-y-1[data-side=top]{--tw-translate-y:calc(var(--spacing) * -1);translate:var(--tw-translate-x) var(--tw-translate-y)}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:line-clamp-1>*)[data-slot=select-value]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:flex>*)[data-slot=select-value]{display:flex}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:items-center>*)[data-slot=select-value]{align-items:center}:is(.\\*\\:data-\\[slot\\=select-value\\]\\:gap-2>*)[data-slot=select-value]{gap:calc(var(--spacing) * 2)}.data-\\[state\\=checked\\]\\:border-primary[data-state=checked]{border-color:var(--color-primary)}.data-\\[state\\=checked\\]\\:bg-primary[data-state=checked]{background-color:var(--color-primary)}.data-\\[state\\=checked\\]\\:text-primary-foreground[data-state=checked]{color:hsl(var(--primary-foreground))}@media (min-width:40rem){.sm\\:block{display:block}.sm\\:flex-row{flex-direction:row}.sm\\:justify-end{justify-content:flex-end}.sm\\:text-left{text-align:left}.sm\\:text-5xl{font-size:var(--text-5xl);line-height:var(--tw-leading,var(--text-5xl--line-height))}.sm\\:text-xl{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}@media (min-width:48rem){.md\\:max-h-\\[70vh\\]{max-height:70vh}.md\\:flex-row{flex-direction:row}.md\\:items-center{align-items:center}.md\\:items-start{align-items:flex-start}.md\\:px-12{padding-inline:calc(var(--spacing) * 12)}.md\\:pb-16{padding-bottom:calc(var(--spacing) * 16)}.md\\:text-left{text-align:left}.md\\:text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}}@media (min-width:64rem){.lg\\:gap-16{gap:calc(var(--spacing) * 16)}}.dark\\:border-emerald-500\\/30:is(.dark *){border-color:#00bb7f4d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-emerald-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-emerald-500) 30%, transparent)}}.dark\\:border-focus-ring:is(.dark *){border-color:var(--color-focus-ring)}.dark\\:border-input:is(.dark *){border-color:hsl(var(--input))}.dark\\:border-rose-500\\/30:is(.dark *){border-color:#ff23574d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-rose-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-rose-500) 30%, transparent)}}.dark\\:border-sky-500\\/30:is(.dark *){border-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.dark\\:border-sky-500\\/30:is(.dark *){border-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.dark\\:border-slate-700\\/50:is(.dark *){border-color:#31415880}@supports (color:color-mix(in lab, red, red)){.dark\\:border-slate-700\\/50:is(.dark *){border-color:color-mix(in oklab, var(--color-slate-700) 50%, transparent)}}.dark\\:border-stroke:is(.dark *){border-color:var(--color-stroke)}.dark\\:bg-amber-500\\/15:is(.dark *){background-color:#f99c0026}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-amber-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-500) 15%, transparent)}}.dark\\:bg-amber-500\\/20:is(.dark *){background-color:#f99c0033}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-amber-500\\/20:is(.dark *){background-color:color-mix(in oklab, var(--color-amber-500) 20%, transparent)}}.dark\\:bg-emerald-500\\/15:is(.dark *){background-color:#00bb7f26}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-emerald-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-emerald-500) 15%, transparent)}}.dark\\:bg-input\\/30:is(.dark *){background-color:hsl(var(--input))}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-input\\/30:is(.dark *){background-color:color-mix(in oklab, hsl(var(--input)) 30%, transparent)}}.dark\\:bg-rose-500\\/15:is(.dark *){background-color:#ff235726}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-rose-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-rose-500) 15%, transparent)}}.dark\\:bg-sky-500\\/15:is(.dark *){background-color:#00a5ef26}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-sky-500\\/15:is(.dark *){background-color:color-mix(in oklab, var(--color-sky-500) 15%, transparent)}}.dark\\:bg-sky-500\\/20:is(.dark *){background-color:#00a5ef33}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-sky-500\\/20:is(.dark *){background-color:color-mix(in oklab, var(--color-sky-500) 20%, transparent)}}.dark\\:bg-slate-700\\/50:is(.dark *){background-color:#31415880}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-slate-700\\/50:is(.dark *){background-color:color-mix(in oklab, var(--color-slate-700) 50%, transparent)}}.dark\\:bg-slate-900\\/80:is(.dark *){background-color:#0f172bcc}@supports (color:color-mix(in lab, red, red)){.dark\\:bg-slate-900\\/80:is(.dark *){background-color:color-mix(in oklab, var(--color-slate-900) 80%, transparent)}}.dark\\:from-accent:is(.dark *){--tw-gradient-from:var(--color-accent);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:from-emerald-600:is(.dark *){--tw-gradient-from:var(--color-emerald-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:to-emerald-700:is(.dark *){--tw-gradient-to:var(--color-emerald-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:to-slate-950:is(.dark *){--tw-gradient-to:var(--color-slate-950);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:fill-sky-300:is(.dark *){fill:var(--color-sky-300)}.dark\\:text-amber-200:is(.dark *){color:var(--color-amber-200)}.dark\\:text-amber-300:is(.dark *){color:var(--color-amber-300)}.dark\\:text-emerald-300:is(.dark *){color:var(--color-emerald-300)}.dark\\:text-emerald-400:is(.dark *){color:var(--color-emerald-400)}.dark\\:text-foreground:is(.dark *){color:var(--color-foreground)}.dark\\:text-rose-300:is(.dark *){color:var(--color-rose-300)}.dark\\:text-rose-400:is(.dark *){color:var(--color-rose-400)}.dark\\:text-sky-300:is(.dark *){color:var(--color-sky-300)}.dark\\:text-sky-400:is(.dark *){color:var(--color-sky-400)}.dark\\:text-slate-100:is(.dark *){color:var(--color-slate-100)}.dark\\:text-slate-200:is(.dark *){color:var(--color-slate-200)}.dark\\:text-slate-300:is(.dark *){color:var(--color-slate-300)}.dark\\:text-slate-400:is(.dark *){color:var(--color-slate-400)}.dark\\:text-text-primary-foreground:is(.dark *){color:var(--color-text-primary-foreground)}.dark\\:shadow-xl:is(.dark *){--tw-shadow:0 20px 25px -5px var(--tw-shadow-color,#0000001a), 0 8px 10px -6px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow)}.dark\\:shadow-slate-950\\/30:is(.dark *){--tw-shadow-color:#0206184d}@supports (color:color-mix(in lab, red, red)){.dark\\:shadow-slate-950\\/30:is(.dark *){--tw-shadow-color:color-mix(in oklab, color-mix(in oklab, var(--color-slate-950) 30%, transparent) var(--tw-shadow-alpha), transparent)}}.dark\\:ring-amber-400\\/40:is(.dark *){--tw-ring-color:#fcbb0066}@supports (color:color-mix(in lab, red, red)){.dark\\:ring-amber-400\\/40:is(.dark *){--tw-ring-color:color-mix(in oklab, var(--color-amber-400) 40%, transparent)}}@media (hover:hover){.dark\\:hover\\:bg-amber-500\\/30:is(.dark *):hover{background-color:#f99c004d}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-amber-500\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-amber-500) 30%, transparent)}}.dark\\:hover\\:bg-rose-500\\/25:is(.dark *):hover{background-color:#ff235740}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-rose-500\\/25:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-rose-500) 25%, transparent)}}.dark\\:hover\\:bg-sky-500\\/30:is(.dark *):hover{background-color:#00a5ef4d}@supports (color:color-mix(in lab, red, red)){.dark\\:hover\\:bg-sky-500\\/30:is(.dark *):hover{background-color:color-mix(in oklab, var(--color-sky-500) 30%, transparent)}}.dark\\:hover\\:bg-slate-700:is(.dark *):hover{background-color:var(--color-slate-700)}.dark\\:hover\\:from-red-600:is(.dark *):hover{--tw-gradient-from:var(--color-red-600);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}.dark\\:hover\\:to-red-700:is(.dark *):hover{--tw-gradient-to:var(--color-red-700);--tw-gradient-stops:var(--tw-gradient-via-stops,var(--tw-gradient-position), var(--tw-gradient-from) var(--tw-gradient-from-position), var(--tw-gradient-to) var(--tw-gradient-to-position))}}.dark\\:focus-visible\\:ring-offset-slate-950:is(.dark *):focus-visible{--tw-ring-offset-color:var(--color-slate-950)}.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:#bf000f66}@supports (color:color-mix(in lab, red, red)){.dark\\:aria-invalid\\:ring-destructive\\/40:is(.dark *)[aria-invalid=true]{--tw-ring-color:color-mix(in oklab, var(--color-destructive) 40%, transparent)}}.dark\\:data-\\[state\\=checked\\]\\:bg-primary:is(.dark *)[data-state=checked]{background-color:var(--color-primary)}.\\[\\&_a\\]\\:cursor-pointer a{cursor:pointer}.\\[\\&_a\\]\\:text-accent a{color:var(--color-accent)}.\\[\\&_a\\:hover\\]\\:underline a:hover{text-decoration-line:underline}.\\[\\&_a\\>\\*\\]\\:pointer-events-none a>*{pointer-events:none}.\\[\\&_p\\]\\:max-w-md p{max-width:var(--container-md)}.\\[\\&_svg\\]\\:pointer-events-none svg{pointer-events:none}.\\[\\&_svg\\]\\:size-4 svg{width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\]\\:h-6 svg{height:calc(var(--spacing) * 6)}.\\[\\&_svg\\]\\:w-6 svg{width:calc(var(--spacing) * 6)}.\\[\\&_svg\\]\\:flex-shrink-0 svg,.\\[\\&_svg\\]\\:shrink-0 svg{flex-shrink:0}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\'size-\\\'\\]\\)\\]\\:size-4 svg:not([class*=size-]){width:calc(var(--spacing) * 4);height:calc(var(--spacing) * 4)}.\\[\\&_svg\\:not\\(\\[class\\*\\=\\\'text-\\\'\\]\\)\\]\\:text-muted-foreground svg:not([class*=text-]){color:hsl(var(--muted-foreground))}:is(.\\*\\:\\[span\\]\\:last\\:flex>*):is(span):last-child{display:flex}:is(.\\*\\:\\[span\\]\\:last\\:items-center>*):is(span):last-child{align-items:center}:is(.\\*\\:\\[span\\]\\:last\\:gap-2>*):is(span):last-child{gap:calc(var(--spacing) * 2)}}.markdown h1,.markdown h2,.markdown h3,.markdown h4,.markdown h5,.markdown h6{margin-top:calc(var(--spacing) * 6);margin-bottom:calc(var(--spacing) * 2);--tw-leading:var(--leading-tight);line-height:var(--leading-tight);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold);color:var(--color-foreground)}.markdown h1{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.markdown h2{font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}.markdown h3{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.markdown h4{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.markdown h5{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.markdown h6{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.markdown ul{padding-left:calc(var(--spacing) * 5);list-style-type:disc}.markdown ol{padding-left:calc(var(--spacing) * 5);list-style-type:decimal}.markdown ul,.markdown ol{margin-block:calc(var(--spacing) * 4);color:var(--color-foreground)}.markdown li{margin-block:calc(var(--spacing) * 2)}.markdown pre{margin-block:calc(var(--spacing) * 4);border-radius:var(--radius-lg);background-color:var(--color-bg-muted);padding:calc(var(--spacing) * 4);overflow-x:auto}.markdown code{background-color:var(--color-bg-muted-40);padding-inline:calc(var(--spacing) * 1);padding-block:calc(var(--spacing) * .5);font-family:var(--font-mono);border-radius:.25rem;font-size:85%}.markdown pre code{padding:calc(var(--spacing) * 0);background-color:#0000}.markdown blockquote{margin-block:calc(var(--spacing) * 4);border-left-style:var(--tw-border-style);border-left-width:4px;border-color:var(--color-stroke);padding-inline:calc(var(--spacing) * 4);color:var(--color-foreground-muted)}.markdown a{color:var(--color-link);text-decoration-line:underline}.markdown a:hover{color:var(--color-link)}.markdown a *{pointer-events:none}.markdown em{font-style:italic}.markdown strong{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.markdown hr{margin-block:calc(var(--spacing) * 6);height:calc(var(--spacing) * 1);border-style:var(--tw-border-style);background-color:var(--color-stroke);padding:calc(var(--spacing) * 0);border-width:0}.markdown>:has(>table),.markdown:has(>table){max-width:100%;display:block;overflow-x:auto}.markdown table{margin-block:calc(var(--spacing) * 4);border-collapse:collapse;--tw-border-spacing-x:calc(var(--spacing) * 0);--tw-border-spacing-y:calc(var(--spacing) * 0);border-spacing:var(--tw-border-spacing-x) var(--tw-border-spacing-y);width:max-content;min-width:100%;display:table}.markdown thead{display:table-header-group}.markdown tbody{display:table-row-group}.markdown tr{display:table-row}.markdown p{overflow-wrap:break-word;white-space:normal}.markdown th,.markdown td{border-style:var(--tw-border-style);border-width:1px;border-color:var(--color-stroke);padding:calc(var(--spacing) * 2);overflow-wrap:break-word;white-space:normal;display:table-cell}.markdown th{background-color:var(--color-bg-muted);--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.markdown tr:nth-child(2n){background-color:var(--color-bg-muted-40)}@keyframes typing{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}@keyframes slide-in-up{0%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}[contenteditable][data-placeholder]:empty:before{content:attr(data-placeholder);color:var(--color-foreground-muted);pointer-events:none}::-webkit-scrollbar-track{background-color:#0000;box-shadow:inset 0 0 6px #0000004d}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-gradient-position{syntax:"*";inherits:false}@property --tw-gradient-from{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-via{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-to{syntax:"<color>";inherits:false;initial-value:#0000}@property --tw-gradient-stops{syntax:"*";inherits:false}@property --tw-gradient-via-stops{syntax:"*";inherits:false}@property --tw-gradient-from-position{syntax:"<length-percentage>";inherits:false;initial-value:0%}@property --tw-gradient-via-position{syntax:"<length-percentage>";inherits:false;initial-value:50%}@property --tw-gradient-to-position{syntax:"<length-percentage>";inherits:false;initial-value:100%}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-backdrop-blur{syntax:"*";inherits:false}@property --tw-backdrop-brightness{syntax:"*";inherits:false}@property --tw-backdrop-contrast{syntax:"*";inherits:false}@property --tw-backdrop-grayscale{syntax:"*";inherits:false}@property --tw-backdrop-hue-rotate{syntax:"*";inherits:false}@property --tw-backdrop-invert{syntax:"*";inherits:false}@property --tw-backdrop-opacity{syntax:"*";inherits:false}@property --tw-backdrop-saturate{syntax:"*";inherits:false}@property --tw-backdrop-sepia{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-border-spacing-x{syntax:"<length>";inherits:false;initial-value:0}@property --tw-border-spacing-y{syntax:"<length>";inherits:false;initial-value:0}@keyframes spin{to{transform:rotate(360deg)}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes fade-out{0%{opacity:1}to{opacity:0}0%{opacity:0}to{opacity:1}}'],sourceRoot:""}]),t.A=i},754:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,"@keyframes CJjCKm1wtjoIhZIVxN1W{0%{opacity:0}100%{opacity:1}}.lS5bGe032Is83SoQNGZZ{z-index:var(--moveo-z-index, 1100);isolation:isolate;background-color:var(--moveo-chat-background)}.lS5bGe032Is83SoQNGZZ .VB4avNIUBWoPeMemk2uH.SrsLwZ1ZP1bakLbA0LQH{position:fixed;inset:0;overflow:hidden;animation:exD309yl7wvofADfV_Il .3s forwards}@keyframes exD309yl7wvofADfV_Il{from{background-color:rgba(0,0,0,0)}to{background-color:rgba(0,0,0,.4)}}.lS5bGe032Is83SoQNGZZ.xL2Aww7pwL9JSVJxIQUd{height:100%;width:100%}.lS5bGe032Is83SoQNGZZ.xL2Aww7pwL9JSVJxIQUd .VB4avNIUBWoPeMemk2uH{height:100%}.lS5bGe032Is83SoQNGZZ.tvO3QwmntTEIt0eDc2GY{height:var(--moveo-container-fullpage-height);width:var(--moveo-container-fullpage-width)}.h7K8cOn2cR9axUsyxZ5k{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2}.oDfDDDIyvt4hXTZ4SUJo{--moveo-background-color:#05043a;--moveo-background-color-hover:rgba(27,102,214,.062745098);--moveo-accent-color:#000;--moveo-ui-background-01:#202629;--moveo-ui-background-02:#000;--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#1d1d1d;--moveo-ui-background-05:#212121;--moveo-chat-background:#000;--moveo-icon-attention:#282828;--moveo-icon-warning:#1a1a1a;--moveo-text-01:#fff;--moveo-text-02:#8893a8;--moveo-text-03:#000;--moveo-text-04:#fff;--moveo-text-05:#989898;--moveo-ui-03:#202629;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#1e2224;--moveo-review-input-background:#1e2224;--moveo-interactive-02:#4f5563;--moveo-hover-02:#7f889c}","",{version:3,sources:["webpack://./src/styles/mixings.scss","webpack://./src/components/AppContainer/AppContainer.module.scss","webpack://./src/styles/theme.scss"],names:[],mappings:"AAUA,gCACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCbJ,sBACE,kCAAA,CACA,iBAAA,CACA,6CAAA,CAEA,iEACE,cAAA,CACA,OAAA,CACA,eAAA,CACA,2CAAA,CAGF,gCACE,KACE,8BAAA,CAGF,GACE,+BAAA,CAAA,CAIJ,2CACE,WAAA,CACA,UAAA,CAEA,iEACE,WAAA,CAIJ,2CACE,6CAAA,CACA,2CAAA,CAIJ,sBDtCI,gCE2Bc,CF3Bd,sCE2Bc,CF3Bd,yBE2Bc,CF3Bd,6BE2Bc,CF3Bd,oHE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,4BE2Bc,CF3Bd,8BE2Bc,CF3Bd,4BE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,oBE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,qBE2Bc,CF3Bd,4BE2Bc,CF3Bd,4BE2Bc,CF3Bd,6BE2Bc,CF3Bd,uCE2Bc,CF3Bd,8BE2Bc,CF3Bd,wBE2Bc,CDelB,sBD1CI,gCEoDa,CFpDb,0DEoDa,CFpDb,yBEoDa,CFpDb,gCEoDa,CFpDb,6BEoDa,CFpDb,gCEoDa,CFpDb,gCEoDa,CFpDb,gCEoDa,CFpDb,4BEoDa,CFpDb,8BEoDa,CFpDb,4BEoDa,CFpDb,oBEoDa,CFpDb,uBEoDa,CFpDb,oBEoDa,CFpDb,oBEoDa,CFpDb,uBEoDa,CFpDb,qBEoDa,CFpDb,4BEoDa,CFpDb,4BEoDa,CFpDb,6BEoDa,CFpDb,uCEoDa,CFpDb,8BEoDa,CFpDb,wBEoDa",sourcesContent:["@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n\n@mixin fade-in($val) {\n animation: fadein $val;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n","@use '../../styles/mixings' as *;\n@use '../../styles/theme' as *;\n\n.container {\n z-index: var(--moveo-z-index, 1100);\n isolation: isolate;\n background-color: var($ui-chat-background);\n\n .focusTrap.open {\n position: fixed;\n inset: 0;\n overflow: hidden;\n animation: myanimation 0.3s forwards;\n }\n\n @keyframes myanimation {\n from {\n background-color: rgb(0 0 0 / 0%);\n }\n\n to {\n background-color: rgb(0 0 0 / 40%);\n }\n }\n\n &.embed {\n height: 100%;\n width: 100%;\n\n .focusTrap {\n height: 100%;\n }\n }\n\n &.fullpage {\n height: var(--moveo-container-fullpage-height);\n width: var(--moveo-container-fullpage-width);\n }\n}\n\n.light {\n @include spread-map($theme-map-light);\n}\n\n.dark {\n @include spread-map($theme-map-dark);\n}\n","$text-01: --moveo-text-01;\n$text-02: --moveo-text-02;\n$text-03: --moveo-text-03;\n$text-04: --moveo-text-04;\n$text-05: --moveo-text-05;\n$text-success: --moveo-text-success;\n$text-failure: --moveo-text-failure;\n$text-primary: --moveo-background-color;\n$text-primary-hover: --moveo-background-color-hover;\n$text-secondary: --moveo-accent-color;\n$ui-background-01: --moveo-ui-background-01;\n$ui-background-02: --moveo-ui-background-02;\n$ui-background-03: --moveo-ui-background-03;\n$ui-background-04: --moveo-ui-background-04;\n$ui-background-05: --moveo-ui-background-05;\n\n// This variable name should never change\n$ui-chat-background: --moveo-chat-background;\n$ui-header-background: --moveo-header-background;\n$ui-03: --moveo-ui-03;\n$z-index: --moveo-z-index;\n$review-number: --moveo-review-number;\n$review-input-background: --moveo-review-input-background;\n$interactive-02: --moveo-interactive-02;\n$hover-02: --moveo-hover-02;\n$icon-attention: --moveo-icon-attention;\n$icon-warning: --moveo-icon-warning;\n\n// Default theme\n$theme-map-light: (\n $text-primary: #1b66d6,\n $text-primary-hover: #1c46b7,\n $text-secondary: #fff,\n $ui-background-01: #fff,\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\n $ui-background-03: #e8e8e8,\n $ui-background-04: #fdf7f2,\n $ui-background-05: #fff6f5,\n $ui-chat-background: #fff,\n $icon-attention: #d86a05,\n $icon-warning: #d82c0d,\n $text-01: #000,\n $text-02: #8893a8,\n $text-03: #fff,\n $text-04: #555,\n $text-05: #989898,\n $ui-03: #d6e3f8,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #f9f9f9,\n $review-input-background: #fafafa,\n $interactive-02: #e1e1e1,\n $hover-02: #c2c2c2,\n);\n$theme-map-dark: (\n $text-primary: #05043a,\n $text-primary-hover: #1b66d610,\n $text-secondary: #000,\n $ui-background-01: #202629,\n $ui-background-02: #000,\n $ui-background-03: #e8e8e8,\n $ui-background-04: #1d1d1d,\n $ui-background-05: #212121,\n $ui-chat-background: #000,\n $icon-attention: #282828,\n $icon-warning: #1a1a1a,\n $text-01: #fff,\n $text-02: #8893a8,\n $text-03: #000,\n $text-04: #fff,\n $text-05: #989898,\n $ui-03: #202629,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #1e2224,\n $review-input-background: #1e2224,\n $interactive-02: #4f5563,\n $hover-02: #7f889c,\n);\n"],sourceRoot:""}]),i.locals={container:"lS5bGe032Is83SoQNGZZ",focusTrap:"VB4avNIUBWoPeMemk2uH",open:"SrsLwZ1ZP1bakLbA0LQH",myanimation:"exD309yl7wvofADfV_Il",embed:"xL2Aww7pwL9JSVJxIQUd",fullpage:"tvO3QwmntTEIt0eDc2GY",light:"h7K8cOn2cR9axUsyxZ5k",dark:"oDfDDDIyvt4hXTZ4SUJo",fadein:"CJjCKm1wtjoIhZIVxN1W"},t.A=i},7860:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,".D2Sve1kppWa8j7hbZyjt{cursor:pointer;display:block}@media(max-height: 550px){.D2Sve1kppWa8j7hbZyjt.vpXdC2eEDfVoGloLb40H{display:none}}.vlkZTwjDbfnPVE8W6NU2 circle,.vlkZTwjDbfnPVE8W6NU2 rect{fill:var(--moveo-background-color)}.vlkZTwjDbfnPVE8W6NU2:hover circle,.vlkZTwjDbfnPVE8W6NU2:hover rect{filter:brightness(85%)}.vlkZTwjDbfnPVE8W6NU2 path{fill:var(--moveo-accent-color)}.vlkZTwjDbfnPVE8W6NU2.C8WKnf2xImM_qnnEg1kV path{fill:var(--moveo-text-01)}.EOqZK_A6pdwwFMftFnZP{fill:var(--moveo-background-color)}.EOqZK_A6pdwwFMftFnZP path:nth-child(2){fill:var(--moveo-accent-color)}.EOqZK_A6pdwwFMftFnZP:hover path:nth-child(1){filter:brightness(85%)}.EOqZK_A6pdwwFMftFnZP.C8WKnf2xImM_qnnEg1kV path:nth-child(2){fill:var(--moveo-text-01)}","",{version:3,sources:["webpack://./src/components/Icons/Bubble.module.scss","webpack://./src/styles/breakpoints.scss"],names:[],mappings:"AAGA,sBACE,cAAA,CACA,aAAA,CCGA,0BAAA,2CDCI,YAAA,CAAA,CAMJ,wDAEE,kCAAA,CAIA,oEAEE,sBAAA,CAIJ,2BACE,8BAAA,CAGF,gDACE,yBAAA,CAIJ,sBACE,kCAAA,CAEA,wCACE,8BAAA,CAGF,8CACE,sBAAA,CAGF,6DACE,yBAAA",sourcesContent:["@use '../../styles/breakpoints' as *;\n@use '../../styles/theme' as *;\n\n.icon {\n cursor: pointer;\n display: block;\n\n @include phone {\n &.hidden {\n display: none;\n }\n }\n}\n\n.openIcon {\n circle,\n rect {\n fill: var($text-primary);\n }\n\n &:hover {\n circle,\n rect {\n filter: brightness(85%);\n }\n }\n\n path {\n fill: var($text-secondary);\n }\n\n &.dark path {\n fill: var($text-01);\n }\n}\n\n.closeIcon {\n fill: var($text-primary);\n\n path:nth-child(2) {\n fill: var($text-secondary);\n }\n\n &:hover path:nth-child(1) {\n filter: brightness(85%);\n }\n\n &.dark path:nth-child(2) {\n fill: var($text-01);\n }\n}\n","@use './spacing' as *;\n\n$breakpoint-phone: 650px;\n$breakpoint-phone-height: 550px;\n$breakpoint-tablet: 1100px;\n$breakpoint-desktop: 1500px;\n\n@mixin phone {\n @media (max-height: #{$breakpoint-phone-height}) {\n @content;\n }\n}\n\n@mixin tablet {\n @media (max-width: #{$breakpoint-tablet}) {\n @content;\n }\n}\n\n@mixin desktop {\n @media (max-width: #{$breakpoint-desktop}) {\n @content;\n }\n}\n"],sourceRoot:""}]),i.locals={icon:"D2Sve1kppWa8j7hbZyjt",hidden:"vpXdC2eEDfVoGloLb40H",openIcon:"vlkZTwjDbfnPVE8W6NU2",dark:"C8WKnf2xImM_qnnEg1kV",closeIcon:"EOqZK_A6pdwwFMftFnZP"},t.A=i},2741:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,".tc0T2DvsFpST1zmMaGZN{display:inline-block;border:3px solid rgba(0,0,0,.3);border-radius:50%;border-top-color:var(--moveo-background-color);animation:OoWUnbicjaRmYnAcxzju 1s ease-in-out infinite}.tc0T2DvsFpST1zmMaGZN.vANDaWaxQaa12Khyug25{border-top-color:var(--moveo-ui-background-03)}.tc0T2DvsFpST1zmMaGZN.S8KYHOdHrWJQ8QShgGdC{width:.625rem;height:.625rem}.tc0T2DvsFpST1zmMaGZN.GYcStWLg5eUvh9D5h57b{width:1rem;height:1rem}@keyframes OoWUnbicjaRmYnAcxzju{to{transform:rotate(360deg)}}@keyframes OoWUnbicjaRmYnAcxzju{to{transform:rotate(360deg)}}","",{version:3,sources:["webpack://./src/components/Icons/LoadingIcon.module.scss","webpack://./src/styles/spacing.scss"],names:[],mappings:"AAGA,sBACE,oBAAA,CACA,+BAAA,CACA,iBAAA,CACA,8CAAA,CACA,sDAAA,CAEA,2CACE,8CAAA,CAGF,2CACE,aCIO,CDHP,cCGO,CAAA,2CDCP,UCJO,CDKP,WCLO,CDQT,gCACE,GACE,wBAAA,CAAA,CAIJ,gCACE,GACE,wBAAA,CAAA",sourcesContent:["@use '../../styles/spacing' as *;\n@use '../../styles/theme' as *;\n\n.loading {\n display: inline-block;\n border: 3px solid rgb(0 0 0 / 30%);\n border-radius: 50%;\n border-top-color: var($text-primary);\n animation: spin 1s ease-in-out infinite;\n\n &.light {\n border-top-color: var($ui-background-03);\n }\n\n &.small {\n width: $space-10;\n height: $space-10;\n }\n\n &.medium {\n width: $space-16;\n height: $space-16;\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes spin {\n to {\n transform: rotate(360deg);\n }\n }\n}\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n"],sourceRoot:""}]),i.locals={loading:"tc0T2DvsFpST1zmMaGZN",spin:"OoWUnbicjaRmYnAcxzju",light:"vANDaWaxQaa12Khyug25",small:"S8KYHOdHrWJQ8QShgGdC",medium:"GYcStWLg5eUvh9D5h57b"},t.A=i},6496:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,".OGmGK0CkFfiQ4j6zPrWl{display:flex;flex-direction:column;gap:.5rem;align-items:center;position:absolute;bottom:100%;left:50%;transform:translateX(-50%);width:calc(var(--moveo-chat-width) - 8%)}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD{height:2.5rem;display:inline-flex;align-items:center;justify-content:center;border-radius:.5rem;gap:.5rem;width:100%;animation:XXY9rlaqaBVGv5yxqygU 1s}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD.xt0IfpXoI8_RPMVOVlHX{background-color:var(--moveo-ui-background-04);color:var(--moveo-text-04)}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD.Xfgc9XGzCvCAKZVZR3ML{background-color:var(--moveo-ui-background-05);color:var(--moveo-text-04)}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD.IzIF0q4XgcBDYvkP6SsA{animation:sBHXjAnON2N9Cr4ZIP8k 1s forwards}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD .VR8RtYmlwuyV4EZbKMtA{position:absolute;top:2px;right:2px;cursor:pointer}.OGmGK0CkFfiQ4j6zPrWl .Hfu2i0J2WoxIyWnh79DD .VR8RtYmlwuyV4EZbKMtA svg{border-radius:50%;background-color:var(--moveo-text-05);padding:.125rem}@keyframes XXY9rlaqaBVGv5yxqygU{from{opacity:0}to{opacity:1}}@keyframes sBHXjAnON2N9Cr4ZIP8k{from{opacity:1}to{opacity:0}}","",{version:3,sources:["webpack://./src/components/Toast/Toast.module.scss","webpack://./src/styles/spacing.scss"],names:[],mappings:"AAIA,sBACE,YAAA,CACA,qBAAA,CACA,SCaQ,CDZR,kBAAA,CACA,iBAAA,CACA,WAAA,CACA,QAAA,CACA,0BAAA,CACA,wCAAA,CAEA,4CACE,aCRO,CDSP,mBAAA,CACA,kBAAA,CACA,sBAAA,CACA,mBAAA,CACA,SCDM,CDEN,UAAA,CACA,iCAAA,CAEA,iEACE,8CAAA,CACA,0BAAA,CAGF,iEACE,8CAAA,CACA,0BAAA,CAGF,iEACE,0CAAA,CAGF,kEACE,iBAAA,CACA,OAAA,CACA,SAAA,CACA,cAAA,CAEA,sEACE,iBAAA,CACA,qCAAA,CACA,eCzBE,CD+BV,gCACE,KACE,SAAA,CAGF,GACE,SAAA,CAAA,CAIJ,gCACE,KACE,SAAA,CAGF,GACE,SAAA,CAAA",sourcesContent:["@use '../../styles/spacing' as *;\n@use '../../styles/fonts' as *;\n@use '../../styles/theme' as *;\n\n.toastsWrapper {\n display: flex;\n flex-direction: column;\n gap: $space-8;\n align-items: center;\n position: absolute;\n bottom: 100%;\n left: 50%;\n transform: translateX(-50%);\n width: calc(var(--moveo-chat-width) - 8%);\n\n .toast {\n height: $space-40;\n display: inline-flex;\n align-items: center;\n justify-content: center;\n border-radius: $space-8;\n gap: $space-8;\n width: 100%;\n animation: toast-fade-in 1s;\n\n &.attention {\n background-color: var(--moveo-ui-background-04);\n color: var(--moveo-text-04);\n }\n\n &.warning {\n background-color: var(--moveo-ui-background-05);\n color: var(--moveo-text-04);\n }\n\n &.fadeOut {\n animation: toast-fade-out 1s forwards;\n }\n\n .close {\n position: absolute;\n top: 2px;\n right: 2px;\n cursor: pointer;\n\n svg {\n border-radius: 50%;\n background-color: var(--moveo-text-05);\n padding: $space-2;\n }\n }\n }\n}\n\n@keyframes toast-fade-in {\n from {\n opacity: 0;\n }\n\n to {\n opacity: 1;\n }\n}\n\n@keyframes toast-fade-out {\n from {\n opacity: 1;\n }\n\n to {\n opacity: 0;\n }\n}\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n"],sourceRoot:""}]),i.locals={toastsWrapper:"OGmGK0CkFfiQ4j6zPrWl",toast:"Hfu2i0J2WoxIyWnh79DD","toast-fade-in":"XXY9rlaqaBVGv5yxqygU",attention:"xt0IfpXoI8_RPMVOVlHX",warning:"Xfgc9XGzCvCAKZVZR3ML",fadeOut:"IzIF0q4XgcBDYvkP6SsA","toast-fade-out":"sBHXjAnON2N9Cr4ZIP8k",close:"VR8RtYmlwuyV4EZbKMtA"},t.A=i},42:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,"@keyframes KiNWQvCYGDDVrDVdggvU{0%{opacity:0}100%{opacity:1}}.J20M6rVbLLr1rNGuuEsZ{padding-bottom:.75rem}.J20M6rVbLLr1rNGuuEsZ.UNAWWLKkhy1DEES20Jvr{padding-top:.75rem}.J20M6rVbLLr1rNGuuEsZ.TDo6aDPeEa71Avuvop6H{width:var(--moveo-message-max-width);height:8rem}.J20M6rVbLLr1rNGuuEsZ .tVWRvsJgbX3N1Lg_Qslu{width:100%;height:8rem;display:flex;align-items:center;justify-content:center}.J20M6rVbLLr1rNGuuEsZ .EpOEps_ot1Y3Ry1xOxqm{color:var(--moveo-accent-color);vertical-align:middle}","",{version:3,sources:["webpack://./src/styles/mixings.scss","webpack://./src/newComponents/ChatEvent/ChatEvent.module.scss","webpack://./src/styles/spacing.scss"],names:[],mappings:"AAUA,gCACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCVJ,sBACE,qBCWS,CDTT,2CACE,kBCQO,CDLT,2CACE,oCAAA,CACA,WCfQ,CDkBV,4CACE,UAAA,CACA,WCpBQ,CDqBR,YAAA,CACA,kBAAA,CACA,sBAAA,CAGF,4CACE,+BAAA,CACA,qBAAA",sourcesContent:["@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n\n@mixin fade-in($val) {\n animation: fadein $val;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n","@use '../../styles/fonts' as *;\n@use '../../styles/spacing' as *;\n@use '../../styles/theme' as *;\n@use '../../styles/breakpoints' as *;\n@use '../../styles/mixings' as *;\n\n.attachment {\n padding-bottom: $space-12;\n\n &.hasText {\n padding-top: $space-12;\n }\n\n &.isDownloading {\n width: var(--moveo-message-max-width);\n height: $space-128;\n }\n\n .placeholder {\n width: 100%;\n height: $space-128;\n display: flex;\n align-items: center;\n justify-content: center;\n }\n\n .link {\n color: var(--moveo-accent-color);\n vertical-align: middle;\n }\n}\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n"],sourceRoot:""}]),i.locals={attachment:"J20M6rVbLLr1rNGuuEsZ",hasText:"UNAWWLKkhy1DEES20Jvr",isDownloading:"TDo6aDPeEa71Avuvop6H",placeholder:"tVWRvsJgbX3N1Lg_Qslu",link:"EpOEps_ot1Y3Ry1xOxqm",fadein:"KiNWQvCYGDDVrDVdggvU"},t.A=i},206:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,".AWyq6jgqXEtASHD6XvYK{display:flex;align-items:flex-end;padding:1rem .75rem 2rem .75rem;background-color:var(--moveo-chat-background);position:relative;flex-direction:column;transition:height 8s linear}.AWyq6jgqXEtASHD6XvYK [contenteditable=true]:empty::before{content:attr(data-placeholder);pointer-events:none;display:block}.AWyq6jgqXEtASHD6XvYK.DOpGkDCGEt80yPWkDeV8 [contenteditable=true]:empty::before{color:var(--moveo-text-01)}.AWyq6jgqXEtASHD6XvYK.DOpGkDCGEt80yPWkDeV8 .KPUu3MAvqPvj3ZzEQ2z4{color:var(--moveo-text-01)}.AWyq6jgqXEtASHD6XvYK.xJ6Ys56gvat29r43w7FI{padding:1rem .75rem}.AWyq6jgqXEtASHD6XvYK.vTKBGH_oZoRJUyOWOMXL{background-color:var(--nbg-bg);padding-top:0}.nITS9WMMZs1wSRqi3bLn{position:absolute;left:50%;transform:translateX(-50%);bottom:.5rem}","",{version:3,sources:["webpack://./src/newComponents/ChatFooter/ChatFooter.module.scss","webpack://./src/styles/spacing.scss"],names:[],mappings:"AAKA,sBACE,YAAA,CACA,oBAAA,CACA,+BAAA,CACA,6CAAA,CACA,iBAAA,CACA,qBAAA,CACA,2BAAA,CAEA,2DACE,8BAAA,CACA,mBAAA,CACA,aAAA,CAIA,gFACE,0BAAA,CAGF,iEACE,0BAAA,CAIJ,2CACE,mBAAA,CAGF,2CACE,8BAAA,CACA,aAAA,CAIJ,sBACE,iBAAA,CACA,QAAA,CACA,0BAAA,CACA,YCxBQ",sourcesContent:["@use '../../styles/fonts' as *;\n@use '../../styles/spacing' as *;\n@use '../../styles/breakpoints' as *;\n@use '../../styles/theme' as *;\n\n.container {\n display: flex;\n align-items: flex-end;\n padding: $space-16 $space-12 $space-32 $space-12;\n background-color: var($ui-chat-background);\n position: relative;\n flex-direction: column;\n transition: height 8s linear;\n\n [contenteditable='true']:empty::before {\n content: attr(data-placeholder);\n pointer-events: none;\n display: block; /* For Firefox */\n }\n\n &.dark {\n [contenteditable='true']:empty::before {\n color: var($text-01);\n }\n\n .input {\n color: var($text-01);\n }\n }\n\n &.hidePoweredBy {\n padding: $space-16 $space-12;\n }\n\n &.isNbg {\n background-color: var(--nbg-bg);\n padding-top: 0;\n }\n}\n\n.poweredBy {\n position: absolute;\n left: 50%;\n transform: translateX(-50%);\n bottom: $space-8;\n}\n","$space-128: 8rem;\n$space-80: 5rem;\n$space-72: 4.5rem;\n$space-64: 4rem;\n$space-60: 3.75rem;\n$space-52: 3.25rem;\n$space-48: 3rem;\n$space-44: 2.75rem;\n$space-40: 2.5rem;\n$space-36: 2.25rem;\n$space-32: 2rem;\n$space-26: 1.75rem;\n$space-24: 1.5rem;\n$space-22: 1.375rem;\n$space-20: 1.25rem;\n$space-18: 1.125rem;\n$space-16: 1rem;\n$space-14: 0.875rem;\n$space-12: 0.75rem;\n$space-10: 0.625rem;\n$space-8: 0.5rem;\n$space-6: 0.4rem;\n$space-4: 0.25rem;\n$space-2: 0.125rem;\n"],sourceRoot:""}]),i.locals={container:"AWyq6jgqXEtASHD6XvYK",dark:"DOpGkDCGEt80yPWkDeV8",input:"KPUu3MAvqPvj3ZzEQ2z4",hidePoweredBy:"xJ6Ys56gvat29r43w7FI",isNbg:"vTKBGH_oZoRJUyOWOMXL",poweredBy:"nITS9WMMZs1wSRqi3bLn"},t.A=i},7057:function(e,t,r){"use strict";var n=r(5516),o=r.n(n),a=r(1364),i=r.n(a)()(o());i.push([e.id,"@keyframes fadein{0%{opacity:0}100%{opacity:1}}.light-theme{--moveo-background-color:#1b66d6;--moveo-background-color-hover:#1c46b7;--moveo-accent-color:#fff;--moveo-ui-background-01:#fff;--moveo-ui-background-02:linear-gradient(0deg, rgba(227, 243, 255, 0.1607843137) 2.25%, rgba(227, 243, 255, 0) 100%);--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#fdf7f2;--moveo-ui-background-05:#fff6f5;--moveo-chat-background:#fff;--moveo-icon-attention:#d86a05;--moveo-icon-warning:#d82c0d;--moveo-text-01:#000;--moveo-text-02:#8893a8;--moveo-text-03:#fff;--moveo-text-04:#555;--moveo-text-05:#989898;--moveo-ui-03:#d6e3f8;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#f9f9f9;--moveo-review-input-background:#fafafa;--moveo-interactive-02:#e1e1e1;--moveo-hover-02:#c2c2c2}.dark-theme{--moveo-background-color:#05043a;--moveo-background-color-hover:rgba(27,102,214,.062745098);--moveo-accent-color:#000;--moveo-ui-background-01:#202629;--moveo-ui-background-02:#000;--moveo-ui-background-03:#e8e8e8;--moveo-ui-background-04:#1d1d1d;--moveo-ui-background-05:#212121;--moveo-chat-background:#000;--moveo-icon-attention:#282828;--moveo-icon-warning:#1a1a1a;--moveo-text-01:#fff;--moveo-text-02:#8893a8;--moveo-text-03:#000;--moveo-text-04:#fff;--moveo-text-05:#989898;--moveo-ui-03:#202629;--moveo-text-success:#21d184;--moveo-text-failure:#da0000;--moveo-review-number:#1e2224;--moveo-review-input-background:#1e2224;--moveo-interactive-02:#4f5563;--moveo-hover-02:#7f889c}","",{version:3,sources:["webpack://./src/styles/mixings.scss","webpack://./src/newComponents/AppContainer/AppContainer.scss","webpack://./src/styles/theme.scss"],names:[],mappings:"AAUA,kBACE,GACE,SAAA,CAGF,KACE,SAAA,CAAA,CCXJ,aDHI,gCE2Bc,CF3Bd,sCE2Bc,CF3Bd,yBE2Bc,CF3Bd,6BE2Bc,CF3Bd,oHE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,gCE2Bc,CF3Bd,4BE2Bc,CF3Bd,8BE2Bc,CF3Bd,4BE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,oBE2Bc,CF3Bd,oBE2Bc,CF3Bd,uBE2Bc,CF3Bd,qBE2Bc,CF3Bd,4BE2Bc,CF3Bd,4BE2Bc,CF3Bd,6BE2Bc,CF3Bd,uCE2Bc,CF3Bd,8BE2Bc,CF3Bd,wBE2Bc,CDpBlB,YDPI,gCEoDa,CFpDb,0DEoDa,CFpDb,yBEoDa,CFpDb,gCEoDa,CFpDb,6BEoDa,CFpDb,gCEoDa,CFpDb,gCEoDa,CFpDb,gCEoDa,CFpDb,4BEoDa,CFpDb,8BEoDa,CFpDb,4BEoDa,CFpDb,oBEoDa,CFpDb,uBEoDa,CFpDb,oBEoDa,CFpDb,oBEoDa,CFpDb,uBEoDa,CFpDb,qBEoDa,CFpDb,4BEoDa,CFpDb,4BEoDa,CFpDb,6BEoDa,CFpDb,uCEoDa,CFpDb,8BEoDa,CFpDb,wBEoDa",sourcesContent:["@mixin spread-map($map: ()) {\n @each $key, $value in $map {\n #{$key}: $value;\n }\n}\n\n@mixin fade-in($val) {\n animation: fadein $val;\n}\n\n@keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n}\n","@use '../../styles/theme' as *;\n@use '../../styles/mixings' as *;\n\n// These classes are used to provide theme variables to old components\n// when they're used within the new component architecture\n.light-theme {\n @include spread-map($theme-map-light);\n}\n\n.dark-theme {\n @include spread-map($theme-map-dark);\n}\n","$text-01: --moveo-text-01;\n$text-02: --moveo-text-02;\n$text-03: --moveo-text-03;\n$text-04: --moveo-text-04;\n$text-05: --moveo-text-05;\n$text-success: --moveo-text-success;\n$text-failure: --moveo-text-failure;\n$text-primary: --moveo-background-color;\n$text-primary-hover: --moveo-background-color-hover;\n$text-secondary: --moveo-accent-color;\n$ui-background-01: --moveo-ui-background-01;\n$ui-background-02: --moveo-ui-background-02;\n$ui-background-03: --moveo-ui-background-03;\n$ui-background-04: --moveo-ui-background-04;\n$ui-background-05: --moveo-ui-background-05;\n\n// This variable name should never change\n$ui-chat-background: --moveo-chat-background;\n$ui-header-background: --moveo-header-background;\n$ui-03: --moveo-ui-03;\n$z-index: --moveo-z-index;\n$review-number: --moveo-review-number;\n$review-input-background: --moveo-review-input-background;\n$interactive-02: --moveo-interactive-02;\n$hover-02: --moveo-hover-02;\n$icon-attention: --moveo-icon-attention;\n$icon-warning: --moveo-icon-warning;\n\n// Default theme\n$theme-map-light: (\n $text-primary: #1b66d6,\n $text-primary-hover: #1c46b7,\n $text-secondary: #fff,\n $ui-background-01: #fff,\n $ui-background-02: linear-gradient(0deg, #e3f3ff29 2.25%, #e3f3ff00 100%),\n $ui-background-03: #e8e8e8,\n $ui-background-04: #fdf7f2,\n $ui-background-05: #fff6f5,\n $ui-chat-background: #fff,\n $icon-attention: #d86a05,\n $icon-warning: #d82c0d,\n $text-01: #000,\n $text-02: #8893a8,\n $text-03: #fff,\n $text-04: #555,\n $text-05: #989898,\n $ui-03: #d6e3f8,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #f9f9f9,\n $review-input-background: #fafafa,\n $interactive-02: #e1e1e1,\n $hover-02: #c2c2c2,\n);\n$theme-map-dark: (\n $text-primary: #05043a,\n $text-primary-hover: #1b66d610,\n $text-secondary: #000,\n $ui-background-01: #202629,\n $ui-background-02: #000,\n $ui-background-03: #e8e8e8,\n $ui-background-04: #1d1d1d,\n $ui-background-05: #212121,\n $ui-chat-background: #000,\n $icon-attention: #282828,\n $icon-warning: #1a1a1a,\n $text-01: #fff,\n $text-02: #8893a8,\n $text-03: #000,\n $text-04: #fff,\n $text-05: #989898,\n $ui-03: #202629,\n $text-success: #21d184,\n $text-failure: #da0000,\n $review-number: #1e2224,\n $review-input-background: #1e2224,\n $interactive-02: #4f5563,\n $hover-02: #7f889c,\n);\n"],sourceRoot:""}]),t.A=i},3927:function(e){e.exports=function(){"use strict";function e(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function t(e,t){return e(t={exports:{}},t.exports),t.exports}var r=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TLDs=void 0,t.TLDs="(AAA|AARP|ABB|ABBOTT|ABBVIE|ABC|ABLE|ABOGADO|ABUDHABI|AC|ACADEMY|ACCENTURE|ACCOUNTANT|ACCOUNTANTS|ACO|ACTOR|AD|ADS|ADULT|AE|AEG|AERO|AETNA|AF|AFL|AFRICA|AG|AGAKHAN|AGENCY|AI|AIG|AIRBUS|AIRFORCE|AIRTEL|AKDN|AL|ALIBABA|ALIPAY|ALLFINANZ|ALLSTATE|ALLY|ALSACE|ALSTOM|AM|AMAZON|AMERICANEXPRESS|AMERICANFAMILY|AMEX|AMFAM|AMICA|AMSTERDAM|ANALYTICS|ANDROID|ANQUAN|ANZ|AO|AOL|APARTMENTS|APP|APPLE|AQ|AQUARELLE|AR|ARAB|ARAMCO|ARCHI|ARMY|ARPA|ART|ARTE|AS|ASDA|ASIA|ASSOCIATES|AT|ATHLETA|ATTORNEY|AU|AUCTION|AUDI|AUDIBLE|AUDIO|AUSPOST|AUTHOR|AUTO|AUTOS|AW|AWS|AX|AXA|AZ|AZURE|BA|BABY|BAIDU|BANAMEX|BAND|BANK|BAR|BARCELONA|BARCLAYCARD|BARCLAYS|BAREFOOT|BARGAINS|BASEBALL|BASKETBALL|BAUHAUS|BAYERN|BB|BBC|BBT|BBVA|BCG|BCN|BD|BE|BEATS|BEAUTY|BEER|BENTLEY|BERLIN|BEST|BESTBUY|BET|BF|BG|BH|BHARTI|BI|BIBLE|BID|BIKE|BING|BINGO|BIO|BIZ|BJ|BLACK|BLACKFRIDAY|BLOCKBUSTER|BLOG|BLOOMBERG|BLUE|BM|BMS|BMW|BN|BNPPARIBAS|BO|BOATS|BOEHRINGER|BOFA|BOM|BOND|BOO|BOOK|BOOKING|BOSCH|BOSTIK|BOSTON|BOT|BOUTIQUE|BOX|BR|BRADESCO|BRIDGESTONE|BROADWAY|BROKER|BROTHER|BRUSSELS|BS|BT|BUILD|BUILDERS|BUSINESS|BUY|BUZZ|BV|BW|BY|BZ|BZH|CA|CAB|CAFE|CAL|CALL|CALVINKLEIN|CAM|CAMERA|CAMP|CANON|CAPETOWN|CAPITAL|CAPITALONE|CAR|CARAVAN|CARDS|CARE|CAREER|CAREERS|CARS|CASA|CASE|CASH|CASINO|CAT|CATERING|CATHOLIC|CBA|CBN|CBRE|CC|CD|CENTER|CEO|CERN|CF|CFA|CFD|CG|CH|CHANEL|CHANNEL|CHARITY|CHASE|CHAT|CHEAP|CHINTAI|CHRISTMAS|CHROME|CHURCH|CI|CIPRIANI|CIRCLE|CISCO|CITADEL|CITI|CITIC|CITY|CK|CL|CLAIMS|CLEANING|CLICK|CLINIC|CLINIQUE|CLOTHING|CLOUD|CLUB|CLUBMED|CM|CN|CO|COACH|CODES|COFFEE|COLLEGE|COLOGNE|COM|COMMBANK|COMMUNITY|COMPANY|COMPARE|COMPUTER|COMSEC|CONDOS|CONSTRUCTION|CONSULTING|CONTACT|CONTRACTORS|COOKING|COOL|COOP|CORSICA|COUNTRY|COUPON|COUPONS|COURSES|CPA|CR|CREDIT|CREDITCARD|CREDITUNION|CRICKET|CROWN|CRS|CRUISE|CRUISES|CU|CUISINELLA|CV|CW|CX|CY|CYMRU|CYOU|CZ|DABUR|DAD|DANCE|DATA|DATE|DATING|DATSUN|DAY|DCLK|DDS|DE|DEAL|DEALER|DEALS|DEGREE|DELIVERY|DELL|DELOITTE|DELTA|DEMOCRAT|DENTAL|DENTIST|DESI|DESIGN|DEV|DHL|DIAMONDS|DIET|DIGITAL|DIRECT|DIRECTORY|DISCOUNT|DISCOVER|DISH|DIY|DJ|DK|DM|DNP|DO|DOCS|DOCTOR|DOG|DOMAINS|DOT|DOWNLOAD|DRIVE|DTV|DUBAI|DUNLOP|DUPONT|DURBAN|DVAG|DVR|DZ|EARTH|EAT|EC|ECO|EDEKA|EDU|EDUCATION|EE|EG|EMAIL|EMERCK|ENERGY|ENGINEER|ENGINEERING|ENTERPRISES|EPSON|EQUIPMENT|ER|ERICSSON|ERNI|ES|ESQ|ESTATE|ET|EU|EUROVISION|EUS|EVENTS|EXCHANGE|EXPERT|EXPOSED|EXPRESS|EXTRASPACE|FAGE|FAIL|FAIRWINDS|FAITH|FAMILY|FAN|FANS|FARM|FARMERS|FASHION|FAST|FEDEX|FEEDBACK|FERRARI|FERRERO|FI|FIDELITY|FIDO|FILM|FINAL|FINANCE|FINANCIAL|FIRE|FIRESTONE|FIRMDALE|FISH|FISHING|FIT|FITNESS|FJ|FK|FLICKR|FLIGHTS|FLIR|FLORIST|FLOWERS|FLY|FM|FO|FOO|FOOD|FOOTBALL|FORD|FOREX|FORSALE|FORUM|FOUNDATION|FOX|FR|FREE|FRESENIUS|FRL|FROGANS|FRONTIER|FTR|FUJITSU|FUN|FUND|FURNITURE|FUTBOL|FYI|GA|GAL|GALLERY|GALLO|GALLUP|GAME|GAMES|GAP|GARDEN|GAY|GB|GBIZ|GD|GDN|GE|GEA|GENT|GENTING|GEORGE|GF|GG|GGEE|GH|GI|GIFT|GIFTS|GIVES|GIVING|GL|GLASS|GLE|GLOBAL|GLOBO|GM|GMAIL|GMBH|GMO|GMX|GN|GODADDY|GOLD|GOLDPOINT|GOLF|GOO|GOODYEAR|GOOG|GOOGLE|GOP|GOT|GOV|GP|GQ|GR|GRAINGER|GRAPHICS|GRATIS|GREEN|GRIPE|GROCERY|GROUP|GS|GT|GU|GUCCI|GUGE|GUIDE|GUITARS|GURU|GW|GY|HAIR|HAMBURG|HANGOUT|HAUS|HBO|HDFC|HDFCBANK|HEALTH|HEALTHCARE|HELP|HELSINKI|HERE|HERMES|HIPHOP|HISAMITSU|HITACHI|HIV|HK|HKT|HM|HN|HOCKEY|HOLDINGS|HOLIDAY|HOMEDEPOT|HOMEGOODS|HOMES|HOMESENSE|HONDA|HORSE|HOSPITAL|HOST|HOSTING|HOT|HOTELS|HOTMAIL|HOUSE|HOW|HR|HSBC|HT|HU|HUGHES|HYATT|HYUNDAI|IBM|ICBC|ICE|ICU|ID|IE|IEEE|IFM|IKANO|IL|IM|IMAMAT|IMDB|IMMO|IMMOBILIEN|IN|INC|INDUSTRIES|INFINITI|INFO|ING|INK|INSTITUTE|INSURANCE|INSURE|INT|INTERNATIONAL|INTUIT|INVESTMENTS|IO|IPIRANGA|IQ|IR|IRISH|IS|ISMAILI|IST|ISTANBUL|IT|ITAU|ITV|JAGUAR|JAVA|JCB|JE|JEEP|JETZT|JEWELRY|JIO|JLL|JM|JMP|JNJ|JO|JOBS|JOBURG|JOT|JOY|JP|JPMORGAN|JPRS|JUEGOS|JUNIPER|KAUFEN|KDDI|KE|KERRYHOTELS|KERRYLOGISTICS|KERRYPROPERTIES|KFH|KG|KH|KI|KIA|KIDS|KIM|KINDLE|KITCHEN|KIWI|KM|KN|KOELN|KOMATSU|KOSHER|KP|KPMG|KPN|KR|KRD|KRED|KUOKGROUP|KW|KY|KYOTO|KZ|LA|LACAIXA|LAMBORGHINI|LAMER|LANCASTER|LAND|LANDROVER|LANXESS|LASALLE|LAT|LATINO|LATROBE|LAW|LAWYER|LB|LC|LDS|LEASE|LECLERC|LEFRAK|LEGAL|LEGO|LEXUS|LGBT|LI|LIDL|LIFE|LIFEINSURANCE|LIFESTYLE|LIGHTING|LIKE|LILLY|LIMITED|LIMO|LINCOLN|LINK|LIPSY|LIVE|LIVING|LK|LLC|LLP|LOAN|LOANS|LOCKER|LOCUS|LOL|LONDON|LOTTE|LOTTO|LOVE|LPL|LPLFINANCIAL|LR|LS|LT|LTD|LTDA|LU|LUNDBECK|LUXE|LUXURY|LV|LY|MA|MADRID|MAIF|MAISON|MAKEUP|MAN|MANAGEMENT|MANGO|MAP|MARKET|MARKETING|MARKETS|MARRIOTT|MARSHALLS|MATTEL|MBA|MC|MCKINSEY|MD|ME|MED|MEDIA|MEET|MELBOURNE|MEME|MEMORIAL|MEN|MENU|MERCKMSD|MG|MH|MIAMI|MICROSOFT|MIL|MINI|MINT|MIT|MITSUBISHI|MK|ML|MLB|MLS|MM|MMA|MN|MO|MOBI|MOBILE|MODA|MOE|MOI|MOM|MONASH|MONEY|MONSTER|MORMON|MORTGAGE|MOSCOW|MOTO|MOTORCYCLES|MOV|MOVIE|MP|MQ|MR|MS|MSD|MT|MTN|MTR|MU|MUSEUM|MUSIC|MV|MW|MX|MY|MZ|NA|NAB|NAGOYA|NAME|NATURA|NAVY|NBA|NC|NE|NEC|NET|NETBANK|NETFLIX|NETWORK|NEUSTAR|NEW|NEWS|NEXT|NEXTDIRECT|NEXUS|NF|NFL|NG|NGO|NHK|NI|NICO|NIKE|NIKON|NINJA|NISSAN|NISSAY|NL|NO|NOKIA|NORTON|NOW|NOWRUZ|NOWTV|NP|NR|NRA|NRW|NTT|NU|NYC|NZ|OBI|OBSERVER|OFFICE|OKINAWA|OLAYAN|OLAYANGROUP|OLLO|OM|OMEGA|ONE|ONG|ONL|ONLINE|OOO|OPEN|ORACLE|ORANGE|ORG|ORGANIC|ORIGINS|OSAKA|OTSUKA|OTT|OVH|PA|PAGE|PANASONIC|PARIS|PARS|PARTNERS|PARTS|PARTY|PAY|PCCW|PE|PET|PF|PFIZER|PG|PH|PHARMACY|PHD|PHILIPS|PHONE|PHOTO|PHOTOGRAPHY|PHOTOS|PHYSIO|PICS|PICTET|PICTURES|PID|PIN|PING|PINK|PIONEER|PIZZA|PK|PL|PLACE|PLAY|PLAYSTATION|PLUMBING|PLUS|PM|PN|PNC|POHL|POKER|POLITIE|PORN|POST|PR|PRAMERICA|PRAXI|PRESS|PRIME|PRO|PROD|PRODUCTIONS|PROF|PROGRESSIVE|PROMO|PROPERTIES|PROPERTY|PROTECTION|PRU|PRUDENTIAL|PS|PT|PUB|PW|PWC|PY|QA|QPON|QUEBEC|QUEST|RACING|RADIO|RE|READ|REALESTATE|REALTOR|REALTY|RECIPES|RED|REDSTONE|REDUMBRELLA|REHAB|REISE|REISEN|REIT|RELIANCE|REN|RENT|RENTALS|REPAIR|REPORT|REPUBLICAN|REST|RESTAURANT|REVIEW|REVIEWS|REXROTH|RICH|RICHARDLI|RICOH|RIL|RIO|RIP|RO|ROCKS|RODEO|ROGERS|ROOM|RS|RSVP|RU|RUGBY|RUHR|RUN|RW|RWE|RYUKYU|SA|SAARLAND|SAFE|SAFETY|SAKURA|SALE|SALON|SAMSCLUB|SAMSUNG|SANDVIK|SANDVIKCOROMANT|SANOFI|SAP|SARL|SAS|SAVE|SAXO|SB|SBI|SBS|SC|SCB|SCHAEFFLER|SCHMIDT|SCHOLARSHIPS|SCHOOL|SCHULE|SCHWARZ|SCIENCE|SCOT|SD|SE|SEARCH|SEAT|SECURE|SECURITY|SEEK|SELECT|SENER|SERVICES|SEVEN|SEW|SEX|SEXY|SFR|SG|SH|SHANGRILA|SHARP|SHAW|SHELL|SHIA|SHIKSHA|SHOES|SHOP|SHOPPING|SHOUJI|SHOW|SI|SILK|SINA|SINGLES|SITE|SJ|SK|SKI|SKIN|SKY|SKYPE|SL|SLING|SM|SMART|SMILE|SN|SNCF|SO|SOCCER|SOCIAL|SOFTBANK|SOFTWARE|SOHU|SOLAR|SOLUTIONS|SONG|SONY|SOY|SPA|SPACE|SPORT|SPOT|SR|SRL|SS|ST|STADA|STAPLES|STAR|STATEBANK|STATEFARM|STC|STCGROUP|STOCKHOLM|STORAGE|STORE|STREAM|STUDIO|STUDY|STYLE|SU|SUCKS|SUPPLIES|SUPPLY|SUPPORT|SURF|SURGERY|SUZUKI|SV|SWATCH|SWISS|SX|SY|SYDNEY|SYSTEMS|SZ|TAB|TAIPEI|TALK|TAOBAO|TARGET|TATAMOTORS|TATAR|TATTOO|TAX|TAXI|TC|TCI|TD|TDK|TEAM|TECH|TECHNOLOGY|TEL|TEMASEK|TENNIS|TEVA|TF|TG|TH|THD|THEATER|THEATRE|TIAA|TICKETS|TIENDA|TIPS|TIRES|TIROL|TJ|TJMAXX|TJX|TK|TKMAXX|TL|TM|TMALL|TN|TO|TODAY|TOKYO|TOOLS|TOP|TORAY|TOSHIBA|TOTAL|TOURS|TOWN|TOYOTA|TOYS|TR|TRADE|TRADING|TRAINING|TRAVEL|TRAVELERS|TRAVELERSINSURANCE|TRUST|TRV|TT|TUBE|TUI|TUNES|TUSHU|TV|TVS|TW|TZ|UA|UBANK|UBS|UG|UK|UNICOM|UNIVERSITY|UNO|UOL|UPS|US|UY|UZ|VA|VACATIONS|VANA|VANGUARD|VC|VE|VEGAS|VENTURES|VERISIGN|VERSICHERUNG|VET|VG|VI|VIAJES|VIDEO|VIG|VIKING|VILLAS|VIN|VIP|VIRGIN|VISA|VISION|VIVA|VIVO|VLAANDEREN|VN|VODKA|VOLVO|VOTE|VOTING|VOTO|VOYAGE|VU|WALES|WALMART|WALTER|WANG|WANGGOU|WATCH|WATCHES|WEATHER|WEATHERCHANNEL|WEBCAM|WEBER|WEBSITE|WED|WEDDING|WEIBO|WEIR|WF|WHOSWHO|WIEN|WIKI|WILLIAMHILL|WIN|WINDOWS|WINE|WINNERS|WME|WOLTERSKLUWER|WOODSIDE|WORK|WORKS|WORLD|WOW|WS|WTC|WTF|XBOX|XEROX|XIHUAN|XIN|XN--11B4C3D|XN--1CK2E1B|XN--1QQW23A|XN--2SCRJ9C|XN--30RR7Y|XN--3BST00M|XN--3DS443G|XN--3E0B707E|XN--3HCRJ9C|XN--3PXU8K|XN--42C2D9A|XN--45BR5CYL|XN--45BRJ9C|XN--45Q11C|XN--4DBRK0CE|XN--4GBRIM|XN--54B7FTA0CC|XN--55QW42G|XN--55QX5D|XN--5SU34J936BGSG|XN--5TZM5G|XN--6FRZ82G|XN--6QQ986B3XL|XN--80ADXHKS|XN--80AO21A|XN--80AQECDR1A|XN--80ASEHDB|XN--80ASWG|XN--8Y0A063A|XN--90A3AC|XN--90AE|XN--90AIS|XN--9DBQ2A|XN--9ET52U|XN--9KRT00A|XN--B4W605FERD|XN--BCK1B9A5DRE4C|XN--C1AVG|XN--C2BR7G|XN--CCK2B3B|XN--CCKWCXETD|XN--CG4BKI|XN--CLCHC0EA0B2G2A9GCD|XN--CZR694B|XN--CZRS0T|XN--CZRU2D|XN--D1ACJ3B|XN--D1ALF|XN--E1A4C|XN--ECKVDTC9D|XN--EFVY88H|XN--FCT429K|XN--FHBEI|XN--FIQ228C5HS|XN--FIQ64B|XN--FIQS8S|XN--FIQZ9S|XN--FJQ720A|XN--FLW351E|XN--FPCRJ9C3D|XN--FZC2C9E2C|XN--FZYS8D69UVGM|XN--G2XX48C|XN--GCKR3F0F|XN--GECRJ9C|XN--GK3AT1E|XN--H2BREG3EVE|XN--H2BRJ9C|XN--H2BRJ9C8C|XN--HXT814E|XN--I1B6B1A6A2E|XN--IMR513N|XN--IO0A7I|XN--J1AEF|XN--J1AMH|XN--J6W193G|XN--JLQ480N2RG|XN--JVR189M|XN--KCRX77D1X4A|XN--KPRW13D|XN--KPRY57D|XN--KPUT3I|XN--L1ACC|XN--LGBBAT1AD8J|XN--MGB9AWBF|XN--MGBA3A3EJT|XN--MGBA3A4F16A|XN--MGBA7C0BBN0A|XN--MGBAAM7A8H|XN--MGBAB2BD|XN--MGBAH1A3HJKRD|XN--MGBAI9AZGQP6J|XN--MGBAYH7GPA|XN--MGBBH1A|XN--MGBBH1A71E|XN--MGBC0A9AZCG|XN--MGBCA7DZDO|XN--MGBCPQ6GPA1A|XN--MGBERP4A5D4AR|XN--MGBGU82A|XN--MGBI4ECEXP|XN--MGBPL2FH|XN--MGBT3DHD|XN--MGBTX2B|XN--MGBX4CD0AB|XN--MIX891F|XN--MK1BU44C|XN--MXTQ1M|XN--NGBC5AZD|XN--NGBE9E0A|XN--NGBRX|XN--NODE|XN--NQV7F|XN--NQV7FS00EMA|XN--NYQY26A|XN--O3CW4H|XN--OGBPF8FL|XN--OTU796D|XN--P1ACF|XN--P1AI|XN--PGBS0DH|XN--PSSY2U|XN--Q7CE6A|XN--Q9JYB4C|XN--QCKA1PMC|XN--QXA6A|XN--QXAM|XN--RHQV96G|XN--ROVU88B|XN--RVC1E0AM3E|XN--S9BRJ9C|XN--SES554G|XN--T60B56A|XN--TCKWE|XN--TIQ49XQYJ|XN--UNUP4Y|XN--VERMGENSBERATER-CTB|XN--VERMGENSBERATUNG-PWB|XN--VHQUV|XN--VUQ861B|XN--W4R85EL8FHU5DNRA|XN--W4RS40L|XN--WGBH1C|XN--WGBL6A|XN--XHQ521B|XN--XKC2AL3HYE2A|XN--XKC2DL3A5EE0H|XN--Y9A3AQ|XN--YFRO4I67O|XN--YGBI2AMMX|XN--ZFR164B|XXX|XYZ|YACHTS|YAHOO|YAMAXUN|YANDEX|YE|YODOBASHI|YOGA|YOKOHAMA|YOU|YOUTUBE|YT|YUN|ZA|ZAPPOS|ZARA|ZERO|ZIP|ZM|ZONE|ZUERICH|ZW|TEST)"});e(r),r.TLDs;var n=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.TLDs=t.nonLatinAlphabetRanges=t.htmlAttributes=t.parenthesis=t.closingParenthesis=t.openingParenthesis=void 0,t.openingParenthesis="([\"'{",t.closingParenthesis=")]\"'}",t.parenthesis=t.openingParenthesis.split("").map(function(e,r){return"".concat(e).concat(t.closingParenthesis.charAt(r))}),t.htmlAttributes=["src","data","href","cite","formaction","icon","manifest","poster","codebase","background","profile","usemap","itemtype","action","longdesc","classid","archive"],t.nonLatinAlphabetRanges="\\u0041-\\u005A\\u0061-\\u007A\\u00AA\\u00B5\\u00BA\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0\\u08A2-\\u08AC\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097F\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C33\\u0C35-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191C\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2183\\u2184\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005\\u3006\\u3031-\\u3035\\u303B\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA697\\uA6A0-\\uA6E5\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA793\\uA7A0-\\uA7AA\\uA7F8-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA80-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC",t.TLDs=r.TLDs});e(n),n.TLDs,n.nonLatinAlphabetRanges,n.htmlAttributes,n.parenthesis,n.closingParenthesis,n.openingParenthesis;var o=t(function(e,t){function r(e,t,r){return"function"==typeof r?r(e,t):r}Object.defineProperty(t,"__esModule",{value:!0}),t.transform=void 0,t.transform=function(e,t){var n="",o=1/0,a={},i=!1;if(t&&t.specialTransform)for(var s=0;s<t.specialTransform.length;s++){var l=t.specialTransform[s];if(l.test.test(e.string))return l.transform(e.string,e)}return t&&t.exclude&&r(e.string,e,t.exclude)?e.string:(t&&t.protocol&&(n=r(e.string,e,t.protocol)),e.protocol?n="":n||(n=e.isEmail?"mailto:":e.isFile?"file:///":"http://"),t&&t.truncate&&(o=r(e.string,e,t.truncate)),t&&t.middleTruncation&&(i=r(e.string,e,t.middleTruncation)),t&&t.attributes&&(a=r(e.string,e,t.attributes)),"<a ".concat(Object.keys(a).map(function(e){return!0===a[e]?e:"".concat(e,'="').concat(a[e],'" ')}).join(" "),'href="').concat(n).concat(e.string,'">').concat(e.string.length>o?i?e.string.substring(0,Math.floor(o/2))+"…"+e.string.substring(e.string.length-Math.ceil(o/2),e.string.length):e.string.substring(0,o)+"…":e.string,"</a>"))}});e(o),o.transform;var a=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.iidxes=t.urlRegex=t.fileRegex=t.emailRegex=t.ipRegex=t.finalRegex=t.final2=t.final1=t.file=t.url=t.email=void 0;var r="(?:(?:(?:[a-z\\d]|[a-z\\d][\\w\\-]*[a-z\\d]))\\.)+(xn--[a-z\\d]{2,}|[a-z]{2,})(?=[^.]|\\b)",o="((?:/|\\?)(?:([".concat("\\w\\-.~\\!$&*+,;=:@%'\"\\[\\]()?#").concat(n.nonLatinAlphabetRanges,"\\/](?:[\\w\\-~+=#&\\/").concat(n.nonLatinAlphabetRanges,"]|\\b)+)*)+)"),a="((?:(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?)\\.){3}(?:25[0-5]|2[0-4]\\d|[01]?\\d\\d?))",i="(ht{2}ps?:|ftps?:)\\/\\/",s="(".concat(i,")\\S+\\b"),l="(((".concat(i,")?(").concat(r,"|").concat(a,")(?=\\b|_)").concat("(:(\\d{1,5}))?",")|(?:").concat(s,"))");t.email="\\b(mailto:)?".concat("([\\w!#$%&'*+=?^`{|}~-]+(?:\\.[\\w!#$%&'*+=?^`{|}~-]+)*)","@(").concat(r,"|").concat(a,")"),t.url="(".concat(l,")").concat(o,"?"),t.file="(file:\\/\\/\\/)(?:[a-z]+:(?:\\/|\\\\)+)?([\\w.]+(?:[\\/\\\\]?)+)+",t.final1="(?<=\\b|_)((".concat(t.email,")|(").concat(t.file,")|(").concat(t.url,"))(\\b)?"),t.final2="((\\b)(".concat(t.email,")|(\\b)(").concat(t.file,")|(\\b)(").concat(t.url,"))(\\b)?"),t.finalRegex=new RegExp(t.final2,"gi");try{t.finalRegex=new RegExp(t.final1,"gi")}catch(e){t.finalRegex=new RegExp(t.final2,"gi")}t.ipRegex=new RegExp("^(".concat(a,"|").concat("\\[(?:(?:[a-f\\d:]+:+)+[a-f\\d]+)\\]",")$"),"i"),t.emailRegex=new RegExp("^(".concat(t.email,")$"),"i"),t.fileRegex=new RegExp("^(".concat(t.file,")$"),"i"),t.urlRegex=new RegExp("^(".concat(t.url,")$"),"i");t.iidxes={isFile:8,file:{fileName:10,protocol:9},isEmail:2,email:{protocol:3,local:4,host:5},isURL:11,url:{TLD:[18,6],protocol:[15,22],host:[17],ipv4:19,byProtocol:13,port:21,protocolWithDomain:12,path:24}}});e(a),a.iidxes,a.urlRegex,a.fileRegex,a.emailRegex,a.ipRegex,a.finalRegex,a.final2,a.final1,a.file,a.url,a.email;var i=t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.isInsideAnchorTag=t.isInsideAttribute=t.maximumAttrLength=t.checkParenthesis=void 0,t.checkParenthesis=function(e,t,r,n){return n===t&&(r.split(e).length-r.split(t).length===1||e===t&&r.split(e).length%2==0||void 0)},t.maximumAttrLength=n.htmlAttributes.sort(function(e,t){return t.length-e.length})[0].length,t.isInsideAttribute=function(e){return/\s[a-z0-9-]+=('|")$/i.test(e)||/: ?url\(('|")?$/i.test(e)},t.isInsideAnchorTag=function(e,t,r){for(var n=e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"),o=new RegExp("(?=(<a))(?!([\\s\\S]*)(<\\/a>)(".concat(n,"))[\\s\\S]*?(").concat(n,")(?!\"|')"),"gi"),a=null;null!==(a=o.exec(t));)if(a.index+a[0].length===r)return!0;return!1}});return e(i),i.isInsideAnchorTag,i.isInsideAttribute,i.maximumAttrLength,i.checkParenthesis,e(t(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=new RegExp("^(".concat(n.TLDs,")$"),"i"),s=function(e,t){void 0===t&&(t=!0);for(var o=[],s=null,l=function(){var l=s.index,c=l+s[0].length,u=s[0],d=s[a.iidxes.url.protocol[0]]||s[a.iidxes.url.protocol[1]]||s[a.iidxes.url.protocol[2]];if(n.closingParenthesis.indexOf(e.charAt(c))>-1&&n.parenthesis.forEach(function(t){var r=t.charAt(0),n=t.charAt(1);(0,i.checkParenthesis)(r,n,u,e.charAt(c))&&(u+=e.charAt(c),c++)}),t){if(-1!==['""',"''","()"].indexOf(e.charAt(l-1)+e.charAt(c))&&(0,i.isInsideAttribute)(e.substring(l-i.maximumAttrLength-15,l)))return"continue";if(e.substring(c,e.length).indexOf("</a>")>-1&&e.substring(0,l).indexOf("<a")>-1&&(0,i.isInsideAnchorTag)(u,e,c))return"continue"}var p=s[a.iidxes.url.TLD[0]]||s[a.iidxes.url.TLD[1]];if(p&&!d&&!s[a.iidxes.email.protocol]&&!p.startsWith("xn--")&&!r.test(p))return"continue";if(s[a.iidxes.isURL]){var f=s[a.iidxes.url.host[0]]||s[a.iidxes.url.host[1]]||s[a.iidxes.url.host[2]],g=(u.match(/(?:[^\/:]|])((?:\/[^?#\s]+)+)/)||[])[1],h=(u.match(/(?:\?)([^#]+)\b/)||[])[1],m=(u.match(/(?:#)(.+)\b/)||[])[1],A=void 0===f?(u.match(/\/\/\[((?:(?:[a-f\d:]+:+)+[a-f\d]+))\]/)||[])[1]:void 0;o.push({start:l,end:c,string:u,isURL:!0,protocol:d,port:s[a.iidxes.url.port],ipv4:s[a.iidxes.url.ipv4],ipv6:A,host:A?"["+A+"]":f,confirmedByProtocol:!!d,path:g||void 0,query:h,fragment:m,reason:"url"})}else if(s[a.iidxes.isFile]){var v=u.substr(8);o.push({start:l,end:c,string:u,isFile:!0,protocol:s[a.iidxes.file.protocol],filename:s[a.iidxes.file.fileName],filePath:v,fileDirectory:v.substr(0,v.length-s[a.iidxes.file.fileName].length),reason:"file"})}else s[a.iidxes.isEmail]?o.push({start:l,end:c,string:u,isEmail:!0,local:s[a.iidxes.email.local],protocol:s[a.iidxes.email.protocol],host:s[a.iidxes.email.host],reason:"email"}):o.push({start:l,end:c,string:u,reason:"unknown"})};null!==(s=a.finalRegex.exec(e));)l();return o},l=function(e){var t="string"==typeof e?{input:e,options:void 0,extensions:void 0}:e,r=t.input,n=t.options,a=t.extensions;if(a)for(var i=0;i<a.length;i++){var l=a[i];r=r.replace(l.test,l.transform)}var c=s(r,(n||{}).skipHTML),u="";for(i=0;i<c.length;i++)u=(u||(0===i?r.substring(0,c[i].start):""))+(0,o.transform)(c[i],n)+(c[i+1]?r.substring(c[i].end,c[i+1].start):r.substring(c[i].end));return u||r};l.list=s,l.validate={ip:function(e){return a.ipRegex.test(e)},email:function(e){return a.emailRegex.test(e)},file:function(e){return a.fileRegex.test(e)},url:function(e){return a.urlRegex.test(e)||a.ipRegex.test(e)}},t.default=l}))}()},8513:function(e,t){"use strict";t.__esModule=!0,t.default=function(e,t){if(e&&t){var r=Array.isArray(t)?t:t.split(",");if(0===r.length)return!0;var n=e.name||"",o=(e.type||"").toLowerCase(),a=o.replace(/\/.*$/,"");return r.some(function(e){var t=e.trim().toLowerCase();return"."===t.charAt(0)?n.toLowerCase().endsWith(t):t.endsWith("/*")?a===t.replace(/\/.*$/,""):o===t})}return!0}},7886:function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18),o=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":case"NT 5.1":return"XP";case"NT 5.0":return"2000";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});t.push(0);var r=t[0],n=t[1];if(10===r)switch(n){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}switch(r){case 11:return"Big Sur";case 12:return"Monterey";case 13:return"Ventura";case 14:return"Sonoma";case 15:return"Sequoia";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map(function(e){return parseInt(e,10)||0});if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var o=e.getVersionPrecision(t),a=e.getVersionPrecision(r),i=Math.max(o,a),s=0,l=e.map([t,r],function(t){var r=i-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),function(e){return new Array(20-e.length).join("0")+e}).reverse()});for(n&&(s=i-Math.min(o,a)),i-=1;i>=s;){if(l[0][i]>l[1][i])return 1;if(l[0][i]===l[1][i]){if(i===s)return 0;i-=1}else if(l[0][i]<l[1][i])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var o=e[r];if(t(o,r))return o}},e.assign=function(e){for(var t,r,n=e,o=arguments.length,a=new Array(o>1?o-1:0),i=1;i<o;i++)a[i-1]=arguments[i];if(Object.assign)return Object.assign.apply(Object,[e].concat(a));var s=function(){var e=a[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach(function(t){n[t]=e[t]})};for(t=0,r=a.length;t<r;t+=1)s();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||""},e}();t.default=o,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={AmazonBot:"amazonbot","Amazon Silk":"amazon_silk","Android Browser":"android",BaiduSpider:"baiduspider",Bada:"bada",BingCrawler:"bingcrawler",Brave:"brave",BlackBerry:"blackberry","ChatGPT-User":"chatgpt_user",Chrome:"chrome",ClaudeBot:"claudebot",Chromium:"chromium",Diffbot:"diffbot",DuckDuckBot:"duckduckbot",DuckDuckGo:"duckduckgo",Electron:"electron",Epiphany:"epiphany",FacebookExternalHit:"facebookexternalhit",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot",GPTBot:"gptbot","Internet Explorer":"ie",InternetArchiveCrawler:"internetarchivecrawler","K-Meleon":"k_meleon",LibreWolf:"librewolf",Linespider:"linespider",Maxthon:"maxthon","Meta-ExternalAds":"meta_externalads","Meta-ExternalAgent":"meta_externalagent","Meta-ExternalFetcher":"meta_externalfetcher","Meta-WebIndexer":"meta_webindexer","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver","OAI-SearchBot":"oai_searchbot",Omgilibot:"omgilibot",Opera:"opera","Opera Coast":"opera_coast","Pale Moon":"pale_moon",PerplexityBot:"perplexitybot","Perplexity-User":"perplexity_user",PhantomJS:"phantomjs",PingdomBot:"pingdombot",Puffin:"puffin",QQ:"qq",QQLite:"qqlite",QupZilla:"qupzilla",Roku:"roku",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SlackBot:"slackbot",SeaMonkey:"seamonkey",Sleipnir:"sleipnir","Sogou Browser":"sogou",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat",YahooSlurp:"yahooslurp","Yandex Browser":"yandex",YandexBot:"yandexbot",YouBot:"youbot"},t.BROWSER_MAP={amazonbot:"AmazonBot",amazon_silk:"Amazon Silk",android:"Android Browser",baiduspider:"BaiduSpider",bada:"Bada",bingcrawler:"BingCrawler",blackberry:"BlackBerry",brave:"Brave",chatgpt_user:"ChatGPT-User",chrome:"Chrome",claudebot:"ClaudeBot",chromium:"Chromium",diffbot:"Diffbot",duckduckbot:"DuckDuckBot",duckduckgo:"DuckDuckGo",edge:"Microsoft Edge",electron:"Electron",epiphany:"Epiphany",facebookexternalhit:"FacebookExternalHit",firefox:"Firefox",focus:"Focus",generic:"Generic",google_search:"Google Search",googlebot:"Googlebot",gptbot:"GPTBot",ie:"Internet Explorer",internetarchivecrawler:"InternetArchiveCrawler",k_meleon:"K-Meleon",librewolf:"LibreWolf",linespider:"Linespider",maxthon:"Maxthon",meta_externalads:"Meta-ExternalAds",meta_externalagent:"Meta-ExternalAgent",meta_externalfetcher:"Meta-ExternalFetcher",meta_webindexer:"Meta-WebIndexer",mz:"MZ Browser",naver:"NAVER Whale Browser",oai_searchbot:"OAI-SearchBot",omgilibot:"Omgilibot",opera:"Opera",opera_coast:"Opera Coast",pale_moon:"Pale Moon",perplexitybot:"PerplexityBot",perplexity_user:"Perplexity-User",phantomjs:"PhantomJS",pingdombot:"PingdomBot",puffin:"Puffin",qq:"QQ Browser",qqlite:"QQ Browser Lite",qupzilla:"QupZilla",roku:"Roku",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",slackbot:"SlackBot",sleipnir:"Sleipnir",sogou:"Sogou Browser",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yahooslurp:"YahooSlurp",yandex:"Yandex Browser",yandexbot:"YandexBot",youbot:"YouBot"},t.PLATFORMS_MAP={bot:"bot",desktop:"desktop",mobile:"mobile",tablet:"tablet",tv:"tv"},t.OS_MAP={Android:"Android",Bada:"Bada",BlackBerry:"BlackBerry",ChromeOS:"Chrome OS",HarmonyOS:"HarmonyOS",iOS:"iOS",Linux:"Linux",MacOS:"macOS",PlayStation4:"PlayStation 4",Roku:"Roku",Tizen:"Tizen",WebOS:"WebOS",Windows:"Windows",WindowsPhone:"Windows Phone"},t.ENGINE_MAP={Blink:"Blink",EdgeHTML:"EdgeHTML",Gecko:"Gecko",Presto:"Presto",Trident:"Trident",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(91))&&n.__esModule?n:{default:n},a=r(18);function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var s=function(){function e(){}var t,r;return e.getParser=function(e,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=null),"string"!=typeof e)throw new Error("UserAgent should be a string");return new o.default(e,t,r)},e.parse=function(e,t){return void 0===t&&(t=null),new o.default(e,t).getResult()},t=e,r=[{key:"BROWSER_MAP",get:function(){return a.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return a.ENGINE_MAP}},{key:"OS_MAP",get:function(){return a.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return a.PLATFORMS_MAP}}],null&&i(t.prototype,null),r&&i(t,r),e}();t.default=s,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=l(r(92)),o=l(r(93)),a=l(r(94)),i=l(r(95)),s=l(r(17));function l(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t,r){if(void 0===t&&(t=!1),void 0===r&&(r=null),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e;var n=!1;"boolean"==typeof t?(n=t,this._hints=r):this._hints=null!=t&&"object"==typeof t?t:null,this.parsedResult={},!0!==n&&this.parse()}var t=e.prototype;return t.getHints=function(){return this._hints},t.hasBrand=function(e){if(!this._hints||!Array.isArray(this._hints.brands))return!1;var t=e.toLowerCase();return this._hints.brands.some(function(e){return e.brand&&e.brand.toLowerCase()===t})},t.getBrandVersion=function(e){if(this._hints&&Array.isArray(this._hints.brands)){var t=e.toLowerCase(),r=this._hints.brands.find(function(e){return e.brand&&e.brand.toLowerCase()===t});return r?r.version:void 0}},t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=s.default.find(n.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.browser=t.describe(this.getUA(),this)),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=s.default.find(o.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=s.default.find(a.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=s.default.find(i.default,function(t){if("function"==typeof t.test)return t.test(e);if(Array.isArray(t.test))return t.test.some(function(t){return e.test(t)});throw new Error("Browser's test function is not valid")});return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return s.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,o={},a=0;if(Object.keys(e).forEach(function(t){var i=e[t];"string"==typeof i?(o[t]=i,a+=1):"object"==typeof i&&(r[t]=i,n+=1)}),n>0){var i=Object.keys(r),l=s.default.find(i,function(e){return t.isOS(e)});if(l){var c=this.satisfies(r[l]);if(void 0!==c)return c}var u=s.default.find(i,function(e){return t.isPlatform(e)});if(u){var d=this.satisfies(r[u]);if(void 0!==d)return d}}if(a>0){var p=Object.keys(o),f=s.default.find(p,function(e){return t.isBrowser(e,!0)});if(void 0!==f)return this.compareVersion(o[f])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),o=s.default.getBrowserTypeByAlias(n);return t&&o&&(n=o.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,o=this.getBrowserVersion();if("string"==typeof o)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(s.default.compareVersions(o,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some(function(e){return t.is(e)})},e}();t.default=c,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},a=/version\/(\d+(\.?_?\d+)+)/i,i=[{test:[/gptbot/i],describe:function(e){var t={name:"GPTBot"},r=o.default.getFirstMatch(/gptbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/chatgpt-user/i],describe:function(e){var t={name:"ChatGPT-User"},r=o.default.getFirstMatch(/chatgpt-user\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/oai-searchbot/i],describe:function(e){var t={name:"OAI-SearchBot"},r=o.default.getFirstMatch(/oai-searchbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(e){var t={name:"ClaudeBot"},r=o.default.getFirstMatch(/(?:claudebot|claude-web|claude-user|claude-searchbot)\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(e){var t={name:"Omgilibot"},r=o.default.getFirstMatch(/(?:omgilibot|webzio-extended)\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/diffbot/i],describe:function(e){var t={name:"Diffbot"},r=o.default.getFirstMatch(/diffbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/perplexitybot/i],describe:function(e){var t={name:"PerplexityBot"},r=o.default.getFirstMatch(/perplexitybot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/perplexity-user/i],describe:function(e){var t={name:"Perplexity-User"},r=o.default.getFirstMatch(/perplexity-user\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/youbot/i],describe:function(e){var t={name:"YouBot"},r=o.default.getFirstMatch(/youbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-webindexer/i],describe:function(e){var t={name:"Meta-WebIndexer"},r=o.default.getFirstMatch(/meta-webindexer\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalads/i],describe:function(e){var t={name:"Meta-ExternalAds"},r=o.default.getFirstMatch(/meta-externalads\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalagent/i],describe:function(e){var t={name:"Meta-ExternalAgent"},r=o.default.getFirstMatch(/meta-externalagent\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/meta-externalfetcher/i],describe:function(e){var t={name:"Meta-ExternalFetcher"},r=o.default.getFirstMatch(/meta-externalfetcher\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=o.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/linespider/i],describe:function(e){var t={name:"Linespider"},r=o.default.getFirstMatch(/(?:linespider)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/amazonbot/i],describe:function(e){var t={name:"AmazonBot"},r=o.default.getFirstMatch(/amazonbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/bingbot/i],describe:function(e){var t={name:"BingCrawler"},r=o.default.getFirstMatch(/bingbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/baiduspider/i],describe:function(e){var t={name:"BaiduSpider"},r=o.default.getFirstMatch(/baiduspider\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/duckduckbot/i],describe:function(e){var t={name:"DuckDuckBot"},r=o.default.getFirstMatch(/duckduckbot\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/ia_archiver/i],describe:function(e){var t={name:"InternetArchiveCrawler"},r=o.default.getFirstMatch(/ia_archiver\/(\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{name:"FacebookExternalHit"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(e){var t={name:"SlackBot"},r=o.default.getFirstMatch(/(?:slackbot|slack-imgproxy)(?:-[-\w]+)?[\s/](\d+(\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/yahoo!?[\s/]*slurp/i],describe:function(){return{name:"YahooSlurp"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{name:"YandexBot"}}},{test:[/pingdom/i],describe:function(){return{name:"PingdomBot"}}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=o.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/PaleMoon/i],describe:function(e){var t={name:"Pale Moon"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:PaleMoon)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=o.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=o.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=o.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=o.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=o.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=o.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=o.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=o.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=o.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=o.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=o.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=o.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=o.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=o.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=o.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=o.default.getFirstMatch(a,e)||o.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=o.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=o.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=o.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/librewolf/i],describe:function(e){var t={name:"LibreWolf"},r=o.default.getFirstMatch(/(?:librewolf)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=o.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=o.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sogoumobilebrowser/i,/metasr/i,/se 2\.[x]/i],describe:function(e){var t={name:"Sogou Browser"},r=o.default.getFirstMatch(/(?:sogoumobilebrowser)[\s/](\d+(\.?_?\d+)+)/i,e),n=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e),a=o.default.getFirstMatch(/se ([\d.]+)x/i,e),i=r||n||a;return i&&(t.version=i),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=o.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return!!e.hasBrand("DuckDuckGo")||e.test(/\sDdg\/[\d.]+$/i)},describe:function(e,t){var r={name:"DuckDuckGo"};if(t){var n=t.getBrandVersion("DuckDuckGo");if(n)return r.version=n,r}var a=o.default.getFirstMatch(/\sDdg\/([\d.]+)$/i,e);return a&&(r.version=a),r}},{test:function(e){return e.hasBrand("Brave")},describe:function(e,t){var r={name:"Brave"};if(t){var n=t.getBrandVersion("Brave");if(n)return r.version=n,r}return r}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=o.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=o.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=o.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=o.default.getFirstMatch(a,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:o.default.getFirstMatch(t,e),version:o.default.getSecondMatch(t,e)}}}];t.default=i,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},a=r(18),i=[{test:[/Roku\/DVP/],describe:function(e){var t=o.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:a.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=o.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=o.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=o.default.getWindowsVersionName(t);return{name:a.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:a.OS_MAP.iOS},r=o.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=o.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=o.default.getMacOSVersionName(t),n={name:a.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=o.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:a.OS_MAP.iOS,version:t}}},{test:[/OpenHarmony/i],describe:function(e){var t=o.default.getFirstMatch(/OpenHarmony\s+(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.HarmonyOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=o.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=o.default.getAndroidVersionName(t),n={name:a.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=o.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:a.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=o.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||o.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||o.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:a.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=o.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=o.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:a.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:a.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=o.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:a.OS_MAP.PlayStation4,version:t}}}];t.default=i,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},a=r(18),i=[{test:[/googlebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Google"}}},{test:[/linespider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Line"}}},{test:[/amazonbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Amazon"}}},{test:[/gptbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/chatgpt-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/oai-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"OpenAI"}}},{test:[/baiduspider/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Baidu"}}},{test:[/bingbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Bing"}}},{test:[/duckduckbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"DuckDuckGo"}}},{test:[/claudebot/i,/claude-web/i,/claude-user/i,/claude-searchbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Anthropic"}}},{test:[/omgilibot/i,/webzio-extended/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Webz.io"}}},{test:[/diffbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Diffbot"}}},{test:[/perplexitybot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/perplexity-user/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Perplexity AI"}}},{test:[/youbot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"You.com"}}},{test:[/ia_archiver/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Internet Archive"}}},{test:[/meta-webindexer/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalads/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalagent/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/meta-externalfetcher/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/facebookexternalhit/i,/facebookcatalog/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Meta"}}},{test:[/slackbot/i,/slack-imgProxy/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Slack"}}},{test:[/yahoo/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yahoo"}}},{test:[/yandexbot/i,/yandexmobilebot/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Yandex"}}},{test:[/pingdom/i],describe:function(){return{type:a.PLATFORMS_MAP.bot,vendor:"Pingdom"}}},{test:[/huawei/i],describe:function(e){var t=o.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:a.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=o.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:a.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/Nokia/i],describe:function(e){var t=o.default.getFirstMatch(/Nokia\s+([0-9]+(\.[0-9]+)?)/i,e),r={type:a.PLATFORMS_MAP.mobile,vendor:"Nokia"};return t&&(r.model=t),r}},{test:[/[^-]mobi/i],describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:a.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:a.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.mobile}}},{test:[/smart-?tv|smarttv/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:[/netcast/i],describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:a.PLATFORMS_MAP.tv}}}];t.default=i,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,o=(n=r(17))&&n.__esModule?n:{default:n},a=r(18),i=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:a.ENGINE_MAP.Blink};var t=o.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:a.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:a.ENGINE_MAP.Trident},r=o.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:a.ENGINE_MAP.Presto},r=o.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:a.ENGINE_MAP.Gecko},r=o.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:a.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:a.ENGINE_MAP.WebKit},r=o.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=i,e.exports=t.default}})},1364:function(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var r="",n=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),n&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),n&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r}).join("")},t.i=function(e,r,n,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(n)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);n&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),r&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=r):u[2]=r),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},5516:function(e){"use strict";e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var n=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),o="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(n),a="/*# ".concat(o," */");return[t].concat([a]).join("\n")}return[t].join("\n")}},1931:function(e,t,r){t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;const r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,o=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),t.splice(o,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"undefined"!=typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){if("undefined"!=typeof window&&window.process&&("renderer"===window.process.type||window.process.__nwjs))return!0;if("undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))return!1;let e;return"undefined"!=typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"undefined"!=typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"undefined"!=typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/)},t.storage=function(){try{return localStorage}catch(e){}}(),t.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(4582)(t);const{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},4582:function(e,t,r){e.exports=function(e){function t(e){let r,o,a,i=null;function s(...e){if(!s.enabled)return;const n=s,o=Number(new Date),a=o-(r||o);n.diff=a,n.prev=r,n.curr=o,r=o,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,o)=>{if("%%"===r)return"%";i++;const a=t.formatters[o];if("function"==typeof a){const t=e[i];r=a.call(n,t),e.splice(i,1),i--}return r}),t.formatArgs.call(n,e),(n.log||t.log).apply(n,e)}return s.namespace=e,s.useColors=t.useColors(),s.color=t.selectColor(e),s.extend=n,s.destroy=t.destroy,Object.defineProperty(s,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==i?i:(o!==t.namespaces&&(o=t.namespaces,a=t.enabled(e)),a),set:e=>{i=e}}),"function"==typeof t.init&&t.init(s),s}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function o(e,t){let r=0,n=0,o=-1,a=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(o=n,a=r,n++):(r++,n++);else{if(-1===o)return!1;n=o+1,a++,r=a}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){const e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){t.save(e),t.namespaces=e,t.names=[],t.skips=[];const r=("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean);for(const e of r)"-"===e[0]?t.skips.push(e.slice(1)):t.names.push(e)},t.enabled=function(e){for(const r of t.skips)if(o(e,r))return!1;for(const r of t.names)if(o(e,r))return!0;return!1},t.humanize=r(6151),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},845:function(e,t,r){var n;e=r.nmd(e),function(){var o=(e&&e.exports,"object"==typeof r.g&&r.g);o.global!==o&&o.window;var a=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,i=/[\x01-\x7F]/g,s=/[\x01-\t\x0B\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,l=/<\u20D2|=\u20E5|>\u20D2|\u205F\u200A|\u219D\u0338|\u2202\u0338|\u2220\u20D2|\u2229\uFE00|\u222A\uFE00|\u223C\u20D2|\u223D\u0331|\u223E\u0333|\u2242\u0338|\u224B\u0338|\u224D\u20D2|\u224E\u0338|\u224F\u0338|\u2250\u0338|\u2261\u20E5|\u2264\u20D2|\u2265\u20D2|\u2266\u0338|\u2267\u0338|\u2268\uFE00|\u2269\uFE00|\u226A\u0338|\u226A\u20D2|\u226B\u0338|\u226B\u20D2|\u227F\u0338|\u2282\u20D2|\u2283\u20D2|\u228A\uFE00|\u228B\uFE00|\u228F\u0338|\u2290\u0338|\u2293\uFE00|\u2294\uFE00|\u22B4\u20D2|\u22B5\u20D2|\u22D8\u0338|\u22D9\u0338|\u22DA\uFE00|\u22DB\uFE00|\u22F5\u0338|\u22F9\u0338|\u2933\u0338|\u29CF\u0338|\u29D0\u0338|\u2A6D\u0338|\u2A70\u0338|\u2A7D\u0338|\u2A7E\u0338|\u2AA1\u0338|\u2AA2\u0338|\u2AAC\uFE00|\u2AAD\uFE00|\u2AAF\u0338|\u2AB0\u0338|\u2AC5\u0338|\u2AC6\u0338|\u2ACB\uFE00|\u2ACC\uFE00|\u2AFD\u20E5|[\xA0-\u0113\u0116-\u0122\u0124-\u012B\u012E-\u014D\u0150-\u017E\u0192\u01B5\u01F5\u0237\u02C6\u02C7\u02D8-\u02DD\u0311\u0391-\u03A1\u03A3-\u03A9\u03B1-\u03C9\u03D1\u03D2\u03D5\u03D6\u03DC\u03DD\u03F0\u03F1\u03F5\u03F6\u0401-\u040C\u040E-\u044F\u0451-\u045C\u045E\u045F\u2002-\u2005\u2007-\u2010\u2013-\u2016\u2018-\u201A\u201C-\u201E\u2020-\u2022\u2025\u2026\u2030-\u2035\u2039\u203A\u203E\u2041\u2043\u2044\u204F\u2057\u205F-\u2063\u20AC\u20DB\u20DC\u2102\u2105\u210A-\u2113\u2115-\u211E\u2122\u2124\u2127-\u2129\u212C\u212D\u212F-\u2131\u2133-\u2138\u2145-\u2148\u2153-\u215E\u2190-\u219B\u219D-\u21A7\u21A9-\u21AE\u21B0-\u21B3\u21B5-\u21B7\u21BA-\u21DB\u21DD\u21E4\u21E5\u21F5\u21FD-\u2205\u2207-\u2209\u220B\u220C\u220F-\u2214\u2216-\u2218\u221A\u221D-\u2238\u223A-\u2257\u2259\u225A\u225C\u225F-\u2262\u2264-\u228B\u228D-\u229B\u229D-\u22A5\u22A7-\u22B0\u22B2-\u22BB\u22BD-\u22DB\u22DE-\u22E3\u22E6-\u22F7\u22F9-\u22FE\u2305\u2306\u2308-\u2310\u2312\u2313\u2315\u2316\u231C-\u231F\u2322\u2323\u232D\u232E\u2336\u233D\u233F\u237C\u23B0\u23B1\u23B4-\u23B6\u23DC-\u23DF\u23E2\u23E7\u2423\u24C8\u2500\u2502\u250C\u2510\u2514\u2518\u251C\u2524\u252C\u2534\u253C\u2550-\u256C\u2580\u2584\u2588\u2591-\u2593\u25A1\u25AA\u25AB\u25AD\u25AE\u25B1\u25B3-\u25B5\u25B8\u25B9\u25BD-\u25BF\u25C2\u25C3\u25CA\u25CB\u25EC\u25EF\u25F8-\u25FC\u2605\u2606\u260E\u2640\u2642\u2660\u2663\u2665\u2666\u266A\u266D-\u266F\u2713\u2717\u2720\u2736\u2758\u2772\u2773\u27C8\u27C9\u27E6-\u27ED\u27F5-\u27FA\u27FC\u27FF\u2902-\u2905\u290C-\u2913\u2916\u2919-\u2920\u2923-\u292A\u2933\u2935-\u2939\u293C\u293D\u2945\u2948-\u294B\u294E-\u2976\u2978\u2979\u297B-\u297F\u2985\u2986\u298B-\u2996\u299A\u299C\u299D\u29A4-\u29B7\u29B9\u29BB\u29BC\u29BE-\u29C5\u29C9\u29CD-\u29D0\u29DC-\u29DE\u29E3-\u29E5\u29EB\u29F4\u29F6\u2A00-\u2A02\u2A04\u2A06\u2A0C\u2A0D\u2A10-\u2A17\u2A22-\u2A27\u2A29\u2A2A\u2A2D-\u2A31\u2A33-\u2A3C\u2A3F\u2A40\u2A42-\u2A4D\u2A50\u2A53-\u2A58\u2A5A-\u2A5D\u2A5F\u2A66\u2A6A\u2A6D-\u2A75\u2A77-\u2A9A\u2A9D-\u2AA2\u2AA4-\u2AB0\u2AB3-\u2AC8\u2ACB\u2ACC\u2ACF-\u2ADB\u2AE4\u2AE6-\u2AE9\u2AEB-\u2AF3\u2AFD\uFB00-\uFB04]|\uD835[\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDCCF\uDD04\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDD6B]/g,c={"":"shy","":"zwnj","":"zwj","":"lrm","":"ic","":"it","":"af","":"rlm","":"ZeroWidthSpace","":"NoBreak","̑":"DownBreve","⃛":"tdot","⃜":"DotDot","\t":"Tab","\n":"NewLine"," ":"puncsp"," ":"MediumSpace"," ":"thinsp"," ":"hairsp"," ":"emsp13"," ":"ensp"," ":"emsp14"," ":"emsp"," ":"numsp"," ":"nbsp"," ":"ThickSpace","‾":"oline",_:"lowbar","‐":"dash","–":"ndash","—":"mdash","―":"horbar",",":"comma",";":"semi","⁏":"bsemi",":":"colon","⩴":"Colone","!":"excl","¡":"iexcl","?":"quest","¿":"iquest",".":"period","‥":"nldr","…":"mldr","·":"middot","'":"apos","‘":"lsquo","’":"rsquo","‚":"sbquo","‹":"lsaquo","›":"rsaquo",'"':"quot","“":"ldquo","”":"rdquo","„":"bdquo","«":"laquo","»":"raquo","(":"lpar",")":"rpar","[":"lsqb","]":"rsqb","{":"lcub","}":"rcub","⌈":"lceil","⌉":"rceil","⌊":"lfloor","⌋":"rfloor","⦅":"lopar","⦆":"ropar","⦋":"lbrke","⦌":"rbrke","⦍":"lbrkslu","⦎":"rbrksld","⦏":"lbrksld","⦐":"rbrkslu","⦑":"langd","⦒":"rangd","⦓":"lparlt","⦔":"rpargt","⦕":"gtlPar","⦖":"ltrPar","⟦":"lobrk","⟧":"robrk","⟨":"lang","⟩":"rang","⟪":"Lang","⟫":"Rang","⟬":"loang","⟭":"roang","❲":"lbbrk","❳":"rbbrk","‖":"Vert","§":"sect","¶":"para","@":"commat","*":"ast","/":"sol",undefined:null,"&":"amp","#":"num","%":"percnt","‰":"permil","‱":"pertenk","†":"dagger","‡":"Dagger","•":"bull","⁃":"hybull","′":"prime","″":"Prime","‴":"tprime","⁗":"qprime","‵":"bprime","⁁":"caret","`":"grave","´":"acute","˜":"tilde","^":"Hat","¯":"macr","˘":"breve","˙":"dot","¨":"die","˚":"ring","˝":"dblac","¸":"cedil","˛":"ogon","ˆ":"circ","ˇ":"caron","°":"deg","©":"copy","®":"reg","℗":"copysr","℘":"wp","℞":"rx","℧":"mho","℩":"iiota","←":"larr","↚":"nlarr","→":"rarr","↛":"nrarr","↑":"uarr","↓":"darr","↔":"harr","↮":"nharr","↕":"varr","↖":"nwarr","↗":"nearr","↘":"searr","↙":"swarr","↝":"rarrw","↝̸":"nrarrw","↞":"Larr","↟":"Uarr","↠":"Rarr","↡":"Darr","↢":"larrtl","↣":"rarrtl","↤":"mapstoleft","↥":"mapstoup","↦":"map","↧":"mapstodown","↩":"larrhk","↪":"rarrhk","↫":"larrlp","↬":"rarrlp","↭":"harrw","↰":"lsh","↱":"rsh","↲":"ldsh","↳":"rdsh","↵":"crarr","↶":"cularr","↷":"curarr","↺":"olarr","↻":"orarr","↼":"lharu","↽":"lhard","↾":"uharr","↿":"uharl","⇀":"rharu","⇁":"rhard","⇂":"dharr","⇃":"dharl","⇄":"rlarr","⇅":"udarr","⇆":"lrarr","⇇":"llarr","⇈":"uuarr","⇉":"rrarr","⇊":"ddarr","⇋":"lrhar","⇌":"rlhar","⇐":"lArr","⇍":"nlArr","⇑":"uArr","⇒":"rArr","⇏":"nrArr","⇓":"dArr","⇔":"iff","⇎":"nhArr","⇕":"vArr","⇖":"nwArr","⇗":"neArr","⇘":"seArr","⇙":"swArr","⇚":"lAarr","⇛":"rAarr","⇝":"zigrarr","⇤":"larrb","⇥":"rarrb","⇵":"duarr","⇽":"loarr","⇾":"roarr","⇿":"hoarr","∀":"forall","∁":"comp","∂":"part","∂̸":"npart","∃":"exist","∄":"nexist","∅":"empty","∇":"Del","∈":"in","∉":"notin","∋":"ni","∌":"notni","϶":"bepsi","∏":"prod","∐":"coprod","∑":"sum","+":"plus","±":"pm","÷":"div","×":"times","<":"lt","≮":"nlt","<⃒":"nvlt","=":"equals","≠":"ne","=⃥":"bne","⩵":"Equal",">":"gt","≯":"ngt",">⃒":"nvgt","¬":"not","|":"vert","¦":"brvbar","−":"minus","∓":"mp","∔":"plusdo","⁄":"frasl","∖":"setmn","∗":"lowast","∘":"compfn","√":"Sqrt","∝":"prop","∞":"infin","∟":"angrt","∠":"ang","∠⃒":"nang","∡":"angmsd","∢":"angsph","∣":"mid","∤":"nmid","∥":"par","∦":"npar","∧":"and","∨":"or","∩":"cap","∩︀":"caps","∪":"cup","∪︀":"cups","∫":"int","∬":"Int","∭":"tint","⨌":"qint","∮":"oint","∯":"Conint","∰":"Cconint","∱":"cwint","∲":"cwconint","∳":"awconint","∴":"there4","∵":"becaus","∶":"ratio","∷":"Colon","∸":"minusd","∺":"mDDot","∻":"homtht","∼":"sim","≁":"nsim","∼⃒":"nvsim","∽":"bsim","∽̱":"race","∾":"ac","∾̳":"acE","∿":"acd","≀":"wr","≂":"esim","≂̸":"nesim","≃":"sime","≄":"nsime","≅":"cong","≇":"ncong","≆":"simne","≈":"ap","≉":"nap","≊":"ape","≋":"apid","≋̸":"napid","≌":"bcong","≍":"CupCap","≭":"NotCupCap","≍⃒":"nvap","≎":"bump","≎̸":"nbump","≏":"bumpe","≏̸":"nbumpe","≐":"doteq","≐̸":"nedot","≑":"eDot","≒":"efDot","≓":"erDot","≔":"colone","≕":"ecolon","≖":"ecir","≗":"cire","≙":"wedgeq","≚":"veeeq","≜":"trie","≟":"equest","≡":"equiv","≢":"nequiv","≡⃥":"bnequiv","≤":"le","≰":"nle","≤⃒":"nvle","≥":"ge","≱":"nge","≥⃒":"nvge","≦":"lE","≦̸":"nlE","≧":"gE","≧̸":"ngE","≨︀":"lvnE","≨":"lnE","≩":"gnE","≩︀":"gvnE","≪":"ll","≪̸":"nLtv","≪⃒":"nLt","≫":"gg","≫̸":"nGtv","≫⃒":"nGt","≬":"twixt","≲":"lsim","≴":"nlsim","≳":"gsim","≵":"ngsim","≶":"lg","≸":"ntlg","≷":"gl","≹":"ntgl","≺":"pr","⊀":"npr","≻":"sc","⊁":"nsc","≼":"prcue","⋠":"nprcue","≽":"sccue","⋡":"nsccue","≾":"prsim","≿":"scsim","≿̸":"NotSucceedsTilde","⊂":"sub","⊄":"nsub","⊂⃒":"vnsub","⊃":"sup","⊅":"nsup","⊃⃒":"vnsup","⊆":"sube","⊈":"nsube","⊇":"supe","⊉":"nsupe","⊊︀":"vsubne","⊊":"subne","⊋︀":"vsupne","⊋":"supne","⊍":"cupdot","⊎":"uplus","⊏":"sqsub","⊏̸":"NotSquareSubset","⊐":"sqsup","⊐̸":"NotSquareSuperset","⊑":"sqsube","⋢":"nsqsube","⊒":"sqsupe","⋣":"nsqsupe","⊓":"sqcap","⊓︀":"sqcaps","⊔":"sqcup","⊔︀":"sqcups","⊕":"oplus","⊖":"ominus","⊗":"otimes","⊘":"osol","⊙":"odot","⊚":"ocir","⊛":"oast","⊝":"odash","⊞":"plusb","⊟":"minusb","⊠":"timesb","⊡":"sdotb","⊢":"vdash","⊬":"nvdash","⊣":"dashv","⊤":"top","⊥":"bot","⊧":"models","⊨":"vDash","⊭":"nvDash","⊩":"Vdash","⊮":"nVdash","⊪":"Vvdash","⊫":"VDash","⊯":"nVDash","⊰":"prurel","⊲":"vltri","⋪":"nltri","⊳":"vrtri","⋫":"nrtri","⊴":"ltrie","⋬":"nltrie","⊴⃒":"nvltrie","⊵":"rtrie","⋭":"nrtrie","⊵⃒":"nvrtrie","⊶":"origof","⊷":"imof","⊸":"mumap","⊹":"hercon","⊺":"intcal","⊻":"veebar","⊽":"barvee","⊾":"angrtvb","⊿":"lrtri","⋀":"Wedge","⋁":"Vee","⋂":"xcap","⋃":"xcup","⋄":"diam","⋅":"sdot","⋆":"Star","⋇":"divonx","⋈":"bowtie","⋉":"ltimes","⋊":"rtimes","⋋":"lthree","⋌":"rthree","⋍":"bsime","⋎":"cuvee","⋏":"cuwed","⋐":"Sub","⋑":"Sup","⋒":"Cap","⋓":"Cup","⋔":"fork","⋕":"epar","⋖":"ltdot","⋗":"gtdot","⋘":"Ll","⋘̸":"nLl","⋙":"Gg","⋙̸":"nGg","⋚︀":"lesg","⋚":"leg","⋛":"gel","⋛︀":"gesl","⋞":"cuepr","⋟":"cuesc","⋦":"lnsim","⋧":"gnsim","⋨":"prnsim","⋩":"scnsim","⋮":"vellip","⋯":"ctdot","⋰":"utdot","⋱":"dtdot","⋲":"disin","⋳":"isinsv","⋴":"isins","⋵":"isindot","⋵̸":"notindot","⋶":"notinvc","⋷":"notinvb","⋹":"isinE","⋹̸":"notinE","⋺":"nisd","⋻":"xnis","⋼":"nis","⋽":"notnivc","⋾":"notnivb","⌅":"barwed","⌆":"Barwed","⌌":"drcrop","⌍":"dlcrop","⌎":"urcrop","⌏":"ulcrop","⌐":"bnot","⌒":"profline","⌓":"profsurf","⌕":"telrec","⌖":"target","⌜":"ulcorn","⌝":"urcorn","⌞":"dlcorn","⌟":"drcorn","⌢":"frown","⌣":"smile","⌭":"cylcty","⌮":"profalar","⌶":"topbot","⌽":"ovbar","⌿":"solbar","⍼":"angzarr","⎰":"lmoust","⎱":"rmoust","⎴":"tbrk","⎵":"bbrk","⎶":"bbrktbrk","⏜":"OverParenthesis","⏝":"UnderParenthesis","⏞":"OverBrace","⏟":"UnderBrace","⏢":"trpezium","⏧":"elinters","␣":"blank","─":"boxh","│":"boxv","┌":"boxdr","┐":"boxdl","└":"boxur","┘":"boxul","├":"boxvr","┤":"boxvl","┬":"boxhd","┴":"boxhu","┼":"boxvh","═":"boxH","║":"boxV","╒":"boxdR","╓":"boxDr","╔":"boxDR","╕":"boxdL","╖":"boxDl","╗":"boxDL","╘":"boxuR","╙":"boxUr","╚":"boxUR","╛":"boxuL","╜":"boxUl","╝":"boxUL","╞":"boxvR","╟":"boxVr","╠":"boxVR","╡":"boxvL","╢":"boxVl","╣":"boxVL","╤":"boxHd","╥":"boxhD","╦":"boxHD","╧":"boxHu","╨":"boxhU","╩":"boxHU","╪":"boxvH","╫":"boxVh","╬":"boxVH","▀":"uhblk","▄":"lhblk","█":"block","░":"blk14","▒":"blk12","▓":"blk34","□":"squ","▪":"squf","▫":"EmptyVerySmallSquare","▭":"rect","▮":"marker","▱":"fltns","△":"xutri","▴":"utrif","▵":"utri","▸":"rtrif","▹":"rtri","▽":"xdtri","▾":"dtrif","▿":"dtri","◂":"ltrif","◃":"ltri","◊":"loz","○":"cir","◬":"tridot","◯":"xcirc","◸":"ultri","◹":"urtri","◺":"lltri","◻":"EmptySmallSquare","◼":"FilledSmallSquare","★":"starf","☆":"star","☎":"phone","♀":"female","♂":"male","♠":"spades","♣":"clubs","♥":"hearts","♦":"diams","♪":"sung","✓":"check","✗":"cross","✠":"malt","✶":"sext","❘":"VerticalSeparator","⟈":"bsolhsub","⟉":"suphsol","⟵":"xlarr","⟶":"xrarr","⟷":"xharr","⟸":"xlArr","⟹":"xrArr","⟺":"xhArr","⟼":"xmap","⟿":"dzigrarr","⤂":"nvlArr","⤃":"nvrArr","⤄":"nvHarr","⤅":"Map","⤌":"lbarr","⤍":"rbarr","⤎":"lBarr","⤏":"rBarr","⤐":"RBarr","⤑":"DDotrahd","⤒":"UpArrowBar","⤓":"DownArrowBar","⤖":"Rarrtl","⤙":"latail","⤚":"ratail","⤛":"lAtail","⤜":"rAtail","⤝":"larrfs","⤞":"rarrfs","⤟":"larrbfs","⤠":"rarrbfs","⤣":"nwarhk","⤤":"nearhk","⤥":"searhk","⤦":"swarhk","⤧":"nwnear","⤨":"toea","⤩":"tosa","⤪":"swnwar","⤳":"rarrc","⤳̸":"nrarrc","⤵":"cudarrr","⤶":"ldca","⤷":"rdca","⤸":"cudarrl","⤹":"larrpl","⤼":"curarrm","⤽":"cularrp","⥅":"rarrpl","⥈":"harrcir","⥉":"Uarrocir","⥊":"lurdshar","⥋":"ldrushar","⥎":"LeftRightVector","⥏":"RightUpDownVector","⥐":"DownLeftRightVector","⥑":"LeftUpDownVector","⥒":"LeftVectorBar","⥓":"RightVectorBar","⥔":"RightUpVectorBar","⥕":"RightDownVectorBar","⥖":"DownLeftVectorBar","⥗":"DownRightVectorBar","⥘":"LeftUpVectorBar","⥙":"LeftDownVectorBar","⥚":"LeftTeeVector","⥛":"RightTeeVector","⥜":"RightUpTeeVector","⥝":"RightDownTeeVector","⥞":"DownLeftTeeVector","⥟":"DownRightTeeVector","⥠":"LeftUpTeeVector","⥡":"LeftDownTeeVector","⥢":"lHar","⥣":"uHar","⥤":"rHar","⥥":"dHar","⥦":"luruhar","⥧":"ldrdhar","⥨":"ruluhar","⥩":"rdldhar","⥪":"lharul","⥫":"llhard","⥬":"rharul","⥭":"lrhard","⥮":"udhar","⥯":"duhar","⥰":"RoundImplies","⥱":"erarr","⥲":"simrarr","⥳":"larrsim","⥴":"rarrsim","⥵":"rarrap","⥶":"ltlarr","⥸":"gtrarr","⥹":"subrarr","⥻":"suplarr","⥼":"lfisht","⥽":"rfisht","⥾":"ufisht","⥿":"dfisht","⦚":"vzigzag","⦜":"vangrt","⦝":"angrtvbd","⦤":"ange","⦥":"range","⦦":"dwangle","⦧":"uwangle","⦨":"angmsdaa","⦩":"angmsdab","⦪":"angmsdac","⦫":"angmsdad","⦬":"angmsdae","⦭":"angmsdaf","⦮":"angmsdag","⦯":"angmsdah","⦰":"bemptyv","⦱":"demptyv","⦲":"cemptyv","⦳":"raemptyv","⦴":"laemptyv","⦵":"ohbar","⦶":"omid","⦷":"opar","⦹":"operp","⦻":"olcross","⦼":"odsold","⦾":"olcir","⦿":"ofcir","⧀":"olt","⧁":"ogt","⧂":"cirscir","⧃":"cirE","⧄":"solb","⧅":"bsolb","⧉":"boxbox","⧍":"trisb","⧎":"rtriltri","⧏":"LeftTriangleBar","⧏̸":"NotLeftTriangleBar","⧐":"RightTriangleBar","⧐̸":"NotRightTriangleBar","⧜":"iinfin","⧝":"infintie","⧞":"nvinfin","⧣":"eparsl","⧤":"smeparsl","⧥":"eqvparsl","⧫":"lozf","⧴":"RuleDelayed","⧶":"dsol","⨀":"xodot","⨁":"xoplus","⨂":"xotime","⨄":"xuplus","⨆":"xsqcup","⨍":"fpartint","⨐":"cirfnint","⨑":"awint","⨒":"rppolint","⨓":"scpolint","⨔":"npolint","⨕":"pointint","⨖":"quatint","⨗":"intlarhk","⨢":"pluscir","⨣":"plusacir","⨤":"simplus","⨥":"plusdu","⨦":"plussim","⨧":"plustwo","⨩":"mcomma","⨪":"minusdu","⨭":"loplus","⨮":"roplus","⨯":"Cross","⨰":"timesd","⨱":"timesbar","⨳":"smashp","⨴":"lotimes","⨵":"rotimes","⨶":"otimesas","⨷":"Otimes","⨸":"odiv","⨹":"triplus","⨺":"triminus","⨻":"tritime","⨼":"iprod","⨿":"amalg","⩀":"capdot","⩂":"ncup","⩃":"ncap","⩄":"capand","⩅":"cupor","⩆":"cupcap","⩇":"capcup","⩈":"cupbrcap","⩉":"capbrcup","⩊":"cupcup","⩋":"capcap","⩌":"ccups","⩍":"ccaps","⩐":"ccupssm","⩓":"And","⩔":"Or","⩕":"andand","⩖":"oror","⩗":"orslope","⩘":"andslope","⩚":"andv","⩛":"orv","⩜":"andd","⩝":"ord","⩟":"wedbar","⩦":"sdote","⩪":"simdot","⩭":"congdot","⩭̸":"ncongdot","⩮":"easter","⩯":"apacir","⩰":"apE","⩰̸":"napE","⩱":"eplus","⩲":"pluse","⩳":"Esim","⩷":"eDDot","⩸":"equivDD","⩹":"ltcir","⩺":"gtcir","⩻":"ltquest","⩼":"gtquest","⩽":"les","⩽̸":"nles","⩾":"ges","⩾̸":"nges","⩿":"lesdot","⪀":"gesdot","⪁":"lesdoto","⪂":"gesdoto","⪃":"lesdotor","⪄":"gesdotol","⪅":"lap","⪆":"gap","⪇":"lne","⪈":"gne","⪉":"lnap","⪊":"gnap","⪋":"lEg","⪌":"gEl","⪍":"lsime","⪎":"gsime","⪏":"lsimg","⪐":"gsiml","⪑":"lgE","⪒":"glE","⪓":"lesges","⪔":"gesles","⪕":"els","⪖":"egs","⪗":"elsdot","⪘":"egsdot","⪙":"el","⪚":"eg","⪝":"siml","⪞":"simg","⪟":"simlE","⪠":"simgE","⪡":"LessLess","⪡̸":"NotNestedLessLess","⪢":"GreaterGreater","⪢̸":"NotNestedGreaterGreater","⪤":"glj","⪥":"gla","⪦":"ltcc","⪧":"gtcc","⪨":"lescc","⪩":"gescc","⪪":"smt","⪫":"lat","⪬":"smte","⪬︀":"smtes","⪭":"late","⪭︀":"lates","⪮":"bumpE","⪯":"pre","⪯̸":"npre","⪰":"sce","⪰̸":"nsce","⪳":"prE","⪴":"scE","⪵":"prnE","⪶":"scnE","⪷":"prap","⪸":"scap","⪹":"prnap","⪺":"scnap","⪻":"Pr","⪼":"Sc","⪽":"subdot","⪾":"supdot","⪿":"subplus","⫀":"supplus","⫁":"submult","⫂":"supmult","⫃":"subedot","⫄":"supedot","⫅":"subE","⫅̸":"nsubE","⫆":"supE","⫆̸":"nsupE","⫇":"subsim","⫈":"supsim","⫋︀":"vsubnE","⫋":"subnE","⫌︀":"vsupnE","⫌":"supnE","⫏":"csub","⫐":"csup","⫑":"csube","⫒":"csupe","⫓":"subsup","⫔":"supsub","⫕":"subsub","⫖":"supsup","⫗":"suphsub","⫘":"supdsub","⫙":"forkv","⫚":"topfork","⫛":"mlcp","⫤":"Dashv","⫦":"Vdashl","⫧":"Barv","⫨":"vBar","⫩":"vBarv","⫫":"Vbar","⫬":"Not","⫭":"bNot","⫮":"rnmid","⫯":"cirmid","⫰":"midcir","⫱":"topcir","⫲":"nhpar","⫳":"parsim","⫽":"parsl","⫽⃥":"nparsl","♭":"flat","♮":"natur","♯":"sharp","¤":"curren","¢":"cent",$:"dollar","£":"pound","¥":"yen","€":"euro","¹":"sup1","½":"half","⅓":"frac13","¼":"frac14","⅕":"frac15","⅙":"frac16","⅛":"frac18","²":"sup2","⅔":"frac23","⅖":"frac25","³":"sup3","¾":"frac34","⅗":"frac35","⅜":"frac38","⅘":"frac45","⅚":"frac56","⅝":"frac58","⅞":"frac78","𝒶":"ascr","𝕒":"aopf","𝔞":"afr","𝔸":"Aopf","𝔄":"Afr","𝒜":"Ascr","ª":"ordf","á":"aacute","Á":"Aacute","à":"agrave","À":"Agrave","ă":"abreve","Ă":"Abreve","â":"acirc","Â":"Acirc","å":"aring","Å":"angst","ä":"auml","Ä":"Auml","ã":"atilde","Ã":"Atilde","ą":"aogon","Ą":"Aogon","ā":"amacr","Ā":"Amacr","æ":"aelig","Æ":"AElig","𝒷":"bscr","𝕓":"bopf","𝔟":"bfr","𝔹":"Bopf","ℬ":"Bscr","𝔅":"Bfr","𝔠":"cfr","𝒸":"cscr","𝕔":"copf","ℭ":"Cfr","𝒞":"Cscr","ℂ":"Copf","ć":"cacute","Ć":"Cacute","ĉ":"ccirc","Ĉ":"Ccirc","č":"ccaron","Č":"Ccaron","ċ":"cdot","Ċ":"Cdot","ç":"ccedil","Ç":"Ccedil","℅":"incare","𝔡":"dfr","ⅆ":"dd","𝕕":"dopf","𝒹":"dscr","𝒟":"Dscr","𝔇":"Dfr","ⅅ":"DD","𝔻":"Dopf","ď":"dcaron","Ď":"Dcaron","đ":"dstrok","Đ":"Dstrok","ð":"eth","Ð":"ETH","ⅇ":"ee","ℯ":"escr","𝔢":"efr","𝕖":"eopf","ℰ":"Escr","𝔈":"Efr","𝔼":"Eopf","é":"eacute","É":"Eacute","è":"egrave","È":"Egrave","ê":"ecirc","Ê":"Ecirc","ě":"ecaron","Ě":"Ecaron","ë":"euml","Ë":"Euml","ė":"edot","Ė":"Edot","ę":"eogon","Ę":"Eogon","ē":"emacr","Ē":"Emacr","𝔣":"ffr","𝕗":"fopf","𝒻":"fscr","𝔉":"Ffr","𝔽":"Fopf","ℱ":"Fscr","ff":"fflig","ffi":"ffilig","ffl":"ffllig","fi":"filig",fj:"fjlig","fl":"fllig","ƒ":"fnof","ℊ":"gscr","𝕘":"gopf","𝔤":"gfr","𝒢":"Gscr","𝔾":"Gopf","𝔊":"Gfr","ǵ":"gacute","ğ":"gbreve","Ğ":"Gbreve","ĝ":"gcirc","Ĝ":"Gcirc","ġ":"gdot","Ġ":"Gdot","Ģ":"Gcedil","𝔥":"hfr","ℎ":"planckh","𝒽":"hscr","𝕙":"hopf","ℋ":"Hscr","ℌ":"Hfr","ℍ":"Hopf","ĥ":"hcirc","Ĥ":"Hcirc","ℏ":"hbar","ħ":"hstrok","Ħ":"Hstrok","𝕚":"iopf","𝔦":"ifr","𝒾":"iscr","ⅈ":"ii","𝕀":"Iopf","ℐ":"Iscr","ℑ":"Im","í":"iacute","Í":"Iacute","ì":"igrave","Ì":"Igrave","î":"icirc","Î":"Icirc","ï":"iuml","Ï":"Iuml","ĩ":"itilde","Ĩ":"Itilde","İ":"Idot","į":"iogon","Į":"Iogon","ī":"imacr","Ī":"Imacr","ij":"ijlig","IJ":"IJlig","ı":"imath","𝒿":"jscr","𝕛":"jopf","𝔧":"jfr","𝒥":"Jscr","𝔍":"Jfr","𝕁":"Jopf","ĵ":"jcirc","Ĵ":"Jcirc","ȷ":"jmath","𝕜":"kopf","𝓀":"kscr","𝔨":"kfr","𝒦":"Kscr","𝕂":"Kopf","𝔎":"Kfr","ķ":"kcedil","Ķ":"Kcedil","𝔩":"lfr","𝓁":"lscr","ℓ":"ell","𝕝":"lopf","ℒ":"Lscr","𝔏":"Lfr","𝕃":"Lopf","ĺ":"lacute","Ĺ":"Lacute","ľ":"lcaron","Ľ":"Lcaron","ļ":"lcedil","Ļ":"Lcedil","ł":"lstrok","Ł":"Lstrok","ŀ":"lmidot","Ŀ":"Lmidot","𝔪":"mfr","𝕞":"mopf","𝓂":"mscr","𝔐":"Mfr","𝕄":"Mopf","ℳ":"Mscr","𝔫":"nfr","𝕟":"nopf","𝓃":"nscr","ℕ":"Nopf","𝒩":"Nscr","𝔑":"Nfr","ń":"nacute","Ń":"Nacute","ň":"ncaron","Ň":"Ncaron","ñ":"ntilde","Ñ":"Ntilde","ņ":"ncedil","Ņ":"Ncedil","№":"numero","ŋ":"eng","Ŋ":"ENG","𝕠":"oopf","𝔬":"ofr","ℴ":"oscr","𝒪":"Oscr","𝔒":"Ofr","𝕆":"Oopf","º":"ordm","ó":"oacute","Ó":"Oacute","ò":"ograve","Ò":"Ograve","ô":"ocirc","Ô":"Ocirc","ö":"ouml","Ö":"Ouml","ő":"odblac","Ő":"Odblac","õ":"otilde","Õ":"Otilde","ø":"oslash","Ø":"Oslash","ō":"omacr","Ō":"Omacr","œ":"oelig","Œ":"OElig","𝔭":"pfr","𝓅":"pscr","𝕡":"popf","ℙ":"Popf","𝔓":"Pfr","𝒫":"Pscr","𝕢":"qopf","𝔮":"qfr","𝓆":"qscr","𝒬":"Qscr","𝔔":"Qfr","ℚ":"Qopf","ĸ":"kgreen","𝔯":"rfr","𝕣":"ropf","𝓇":"rscr","ℛ":"Rscr","ℜ":"Re","ℝ":"Ropf","ŕ":"racute","Ŕ":"Racute","ř":"rcaron","Ř":"Rcaron","ŗ":"rcedil","Ŗ":"Rcedil","𝕤":"sopf","𝓈":"sscr","𝔰":"sfr","𝕊":"Sopf","𝔖":"Sfr","𝒮":"Sscr","Ⓢ":"oS","ś":"sacute","Ś":"Sacute","ŝ":"scirc","Ŝ":"Scirc","š":"scaron","Š":"Scaron","ş":"scedil","Ş":"Scedil","ß":"szlig","𝔱":"tfr","𝓉":"tscr","𝕥":"topf","𝒯":"Tscr","𝔗":"Tfr","𝕋":"Topf","ť":"tcaron","Ť":"Tcaron","ţ":"tcedil","Ţ":"Tcedil","™":"trade","ŧ":"tstrok","Ŧ":"Tstrok","𝓊":"uscr","𝕦":"uopf","𝔲":"ufr","𝕌":"Uopf","𝔘":"Ufr","𝒰":"Uscr","ú":"uacute","Ú":"Uacute","ù":"ugrave","Ù":"Ugrave","ŭ":"ubreve","Ŭ":"Ubreve","û":"ucirc","Û":"Ucirc","ů":"uring","Ů":"Uring","ü":"uuml","Ü":"Uuml","ű":"udblac","Ű":"Udblac","ũ":"utilde","Ũ":"Utilde","ų":"uogon","Ų":"Uogon","ū":"umacr","Ū":"Umacr","𝔳":"vfr","𝕧":"vopf","𝓋":"vscr","𝔙":"Vfr","𝕍":"Vopf","𝒱":"Vscr","𝕨":"wopf","𝓌":"wscr","𝔴":"wfr","𝒲":"Wscr","𝕎":"Wopf","𝔚":"Wfr","ŵ":"wcirc","Ŵ":"Wcirc","𝔵":"xfr","𝓍":"xscr","𝕩":"xopf","𝕏":"Xopf","𝔛":"Xfr","𝒳":"Xscr","𝔶":"yfr","𝓎":"yscr","𝕪":"yopf","𝒴":"Yscr","𝔜":"Yfr","𝕐":"Yopf","ý":"yacute","Ý":"Yacute","ŷ":"ycirc","Ŷ":"Ycirc","ÿ":"yuml","Ÿ":"Yuml","𝓏":"zscr","𝔷":"zfr","𝕫":"zopf","ℨ":"Zfr","ℤ":"Zopf","𝒵":"Zscr","ź":"zacute","Ź":"Zacute","ž":"zcaron","Ž":"Zcaron","ż":"zdot","Ż":"Zdot","Ƶ":"imped","þ":"thorn","Þ":"THORN","ʼn":"napos","α":"alpha","Α":"Alpha","β":"beta","Β":"Beta","γ":"gamma","Γ":"Gamma","δ":"delta","Δ":"Delta","ε":"epsi","ϵ":"epsiv","Ε":"Epsilon","ϝ":"gammad","Ϝ":"Gammad","ζ":"zeta","Ζ":"Zeta","η":"eta","Η":"Eta","θ":"theta","ϑ":"thetav","Θ":"Theta","ι":"iota","Ι":"Iota","κ":"kappa","ϰ":"kappav","Κ":"Kappa","λ":"lambda","Λ":"Lambda","μ":"mu","µ":"micro","Μ":"Mu","ν":"nu","Ν":"Nu","ξ":"xi","Ξ":"Xi","ο":"omicron","Ο":"Omicron","π":"pi","ϖ":"piv","Π":"Pi","ρ":"rho","ϱ":"rhov","Ρ":"Rho","σ":"sigma","Σ":"Sigma","ς":"sigmaf","τ":"tau","Τ":"Tau","υ":"upsi","Υ":"Upsilon","ϒ":"Upsi","φ":"phi","ϕ":"phiv","Φ":"Phi","χ":"chi","Χ":"Chi","ψ":"psi","Ψ":"Psi","ω":"omega","Ω":"ohm","а":"acy","А":"Acy","б":"bcy","Б":"Bcy","в":"vcy","В":"Vcy","г":"gcy","Г":"Gcy","ѓ":"gjcy","Ѓ":"GJcy","д":"dcy","Д":"Dcy","ђ":"djcy","Ђ":"DJcy","е":"iecy","Е":"IEcy","ё":"iocy","Ё":"IOcy","є":"jukcy","Є":"Jukcy","ж":"zhcy","Ж":"ZHcy","з":"zcy","З":"Zcy","ѕ":"dscy","Ѕ":"DScy","и":"icy","И":"Icy","і":"iukcy","І":"Iukcy","ї":"yicy","Ї":"YIcy","й":"jcy","Й":"Jcy","ј":"jsercy","Ј":"Jsercy","к":"kcy","К":"Kcy","ќ":"kjcy","Ќ":"KJcy","л":"lcy","Л":"Lcy","љ":"ljcy","Љ":"LJcy","м":"mcy","М":"Mcy","н":"ncy","Н":"Ncy","њ":"njcy","Њ":"NJcy","о":"ocy","О":"Ocy","п":"pcy","П":"Pcy","р":"rcy","Р":"Rcy","с":"scy","С":"Scy","т":"tcy","Т":"Tcy","ћ":"tshcy","Ћ":"TSHcy","у":"ucy","У":"Ucy","ў":"ubrcy","Ў":"Ubrcy","ф":"fcy","Ф":"Fcy","х":"khcy","Х":"KHcy","ц":"tscy","Ц":"TScy","ч":"chcy","Ч":"CHcy","џ":"dzcy","Џ":"DZcy","ш":"shcy","Ш":"SHcy","щ":"shchcy","Щ":"SHCHcy","ъ":"hardcy","Ъ":"HARDcy","ы":"ycy","Ы":"Ycy","ь":"softcy","Ь":"SOFTcy","э":"ecy","Э":"Ecy","ю":"yucy","Ю":"YUcy","я":"yacy","Я":"YAcy","ℵ":"aleph","ℶ":"beth","ℷ":"gimel","ℸ":"daleth"},u=/["&'<>`]/g,d={'"':""","&":"&","'":"'","<":"<",">":">","`":"`"},p=/&#(?:[xX][^a-fA-F0-9]|[^0-9xX])/,f=/[\0-\x08\x0B\x0E-\x1F\x7F-\x9F\uFDD0-\uFDEF\uFFFE\uFFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDFFE\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,g=/&(CounterClockwiseContourIntegral|DoubleLongLeftRightArrow|ClockwiseContourIntegral|NotNestedGreaterGreater|NotSquareSupersetEqual|DiacriticalDoubleAcute|NotRightTriangleEqual|NotSucceedsSlantEqual|NotPrecedesSlantEqual|CloseCurlyDoubleQuote|NegativeVeryThinSpace|DoubleContourIntegral|FilledVerySmallSquare|CapitalDifferentialD|OpenCurlyDoubleQuote|EmptyVerySmallSquare|NestedGreaterGreater|DoubleLongRightArrow|NotLeftTriangleEqual|NotGreaterSlantEqual|ReverseUpEquilibrium|DoubleLeftRightArrow|NotSquareSubsetEqual|NotDoubleVerticalBar|RightArrowLeftArrow|NotGreaterFullEqual|NotRightTriangleBar|SquareSupersetEqual|DownLeftRightVector|DoubleLongLeftArrow|leftrightsquigarrow|LeftArrowRightArrow|NegativeMediumSpace|blacktriangleright|RightDownVectorBar|PrecedesSlantEqual|RightDoubleBracket|SucceedsSlantEqual|NotLeftTriangleBar|RightTriangleEqual|SquareIntersection|RightDownTeeVector|ReverseEquilibrium|NegativeThickSpace|longleftrightarrow|Longleftrightarrow|LongLeftRightArrow|DownRightTeeVector|DownRightVectorBar|GreaterSlantEqual|SquareSubsetEqual|LeftDownVectorBar|LeftDoubleBracket|VerticalSeparator|rightleftharpoons|NotGreaterGreater|NotSquareSuperset|blacktriangleleft|blacktriangledown|NegativeThinSpace|LeftDownTeeVector|NotLessSlantEqual|leftrightharpoons|DoubleUpDownArrow|DoubleVerticalBar|LeftTriangleEqual|FilledSmallSquare|twoheadrightarrow|NotNestedLessLess|DownLeftTeeVector|DownLeftVectorBar|RightAngleBracket|NotTildeFullEqual|NotReverseElement|RightUpDownVector|DiacriticalTilde|NotSucceedsTilde|circlearrowright|NotPrecedesEqual|rightharpoondown|DoubleRightArrow|NotSucceedsEqual|NonBreakingSpace|NotRightTriangle|LessEqualGreater|RightUpTeeVector|LeftAngleBracket|GreaterFullEqual|DownArrowUpArrow|RightUpVectorBar|twoheadleftarrow|GreaterEqualLess|downharpoonright|RightTriangleBar|ntrianglerighteq|NotSupersetEqual|LeftUpDownVector|DiacriticalAcute|rightrightarrows|vartriangleright|UpArrowDownArrow|DiacriticalGrave|UnderParenthesis|EmptySmallSquare|LeftUpVectorBar|leftrightarrows|DownRightVector|downharpoonleft|trianglerighteq|ShortRightArrow|OverParenthesis|DoubleLeftArrow|DoubleDownArrow|NotSquareSubset|bigtriangledown|ntrianglelefteq|UpperRightArrow|curvearrowright|vartriangleleft|NotLeftTriangle|nleftrightarrow|LowerRightArrow|NotHumpDownHump|NotGreaterTilde|rightthreetimes|LeftUpTeeVector|NotGreaterEqual|straightepsilon|LeftTriangleBar|rightsquigarrow|ContourIntegral|rightleftarrows|CloseCurlyQuote|RightDownVector|LeftRightVector|nLeftrightarrow|leftharpoondown|circlearrowleft|SquareSuperset|OpenCurlyQuote|hookrightarrow|HorizontalLine|DiacriticalDot|NotLessGreater|ntriangleright|DoubleRightTee|InvisibleComma|InvisibleTimes|LowerLeftArrow|DownLeftVector|NotSubsetEqual|curvearrowleft|trianglelefteq|NotVerticalBar|TildeFullEqual|downdownarrows|NotGreaterLess|RightTeeVector|ZeroWidthSpace|looparrowright|LongRightArrow|doublebarwedge|ShortLeftArrow|ShortDownArrow|RightVectorBar|GreaterGreater|ReverseElement|rightharpoonup|LessSlantEqual|leftthreetimes|upharpoonright|rightarrowtail|LeftDownVector|Longrightarrow|NestedLessLess|UpperLeftArrow|nshortparallel|leftleftarrows|leftrightarrow|Leftrightarrow|LeftRightArrow|longrightarrow|upharpoonleft|RightArrowBar|ApplyFunction|LeftTeeVector|leftarrowtail|NotEqualTilde|varsubsetneqq|varsupsetneqq|RightTeeArrow|SucceedsEqual|SucceedsTilde|LeftVectorBar|SupersetEqual|hookleftarrow|DifferentialD|VerticalTilde|VeryThinSpace|blacktriangle|bigtriangleup|LessFullEqual|divideontimes|leftharpoonup|UpEquilibrium|ntriangleleft|RightTriangle|measuredangle|shortparallel|longleftarrow|Longleftarrow|LongLeftArrow|DoubleLeftTee|Poincareplane|PrecedesEqual|triangleright|DoubleUpArrow|RightUpVector|fallingdotseq|looparrowleft|PrecedesTilde|NotTildeEqual|NotTildeTilde|smallsetminus|Proportional|triangleleft|triangledown|UnderBracket|NotHumpEqual|exponentiale|ExponentialE|NotLessTilde|HilbertSpace|RightCeiling|blacklozenge|varsupsetneq|HumpDownHump|GreaterEqual|VerticalLine|LeftTeeArrow|NotLessEqual|DownTeeArrow|LeftTriangle|varsubsetneq|Intersection|NotCongruent|DownArrowBar|LeftUpVector|LeftArrowBar|risingdotseq|GreaterTilde|RoundImplies|SquareSubset|ShortUpArrow|NotSuperset|quaternions|precnapprox|backepsilon|preccurlyeq|OverBracket|blacksquare|MediumSpace|VerticalBar|circledcirc|circleddash|CircleMinus|CircleTimes|LessGreater|curlyeqprec|curlyeqsucc|diamondsuit|UpDownArrow|Updownarrow|RuleDelayed|Rrightarrow|updownarrow|RightVector|nRightarrow|nrightarrow|eqslantless|LeftCeiling|Equilibrium|SmallCircle|expectation|NotSucceeds|thickapprox|GreaterLess|SquareUnion|NotPrecedes|NotLessLess|straightphi|succnapprox|succcurlyeq|SubsetEqual|sqsupseteq|Proportion|Laplacetrf|ImaginaryI|supsetneqq|NotGreater|gtreqqless|NotElement|ThickSpace|TildeEqual|TildeTilde|Fouriertrf|rmoustache|EqualTilde|eqslantgtr|UnderBrace|LeftVector|UpArrowBar|nLeftarrow|nsubseteqq|subsetneqq|nsupseteqq|nleftarrow|succapprox|lessapprox|UpTeeArrow|upuparrows|curlywedge|lesseqqgtr|varepsilon|varnothing|RightFloor|complement|CirclePlus|sqsubseteq|Lleftarrow|circledast|RightArrow|Rightarrow|rightarrow|lmoustache|Bernoullis|precapprox|mapstoleft|mapstodown|longmapsto|dotsquare|downarrow|DoubleDot|nsubseteq|supsetneq|leftarrow|nsupseteq|subsetneq|ThinSpace|ngeqslant|subseteqq|HumpEqual|NotSubset|triangleq|NotCupCap|lesseqgtr|heartsuit|TripleDot|Leftarrow|Coproduct|Congruent|varpropto|complexes|gvertneqq|LeftArrow|LessTilde|supseteqq|MinusPlus|CircleDot|nleqslant|NotExists|gtreqless|nparallel|UnionPlus|LeftFloor|checkmark|CenterDot|centerdot|Mellintrf|gtrapprox|bigotimes|OverBrace|spadesuit|therefore|pitchfork|rationals|PlusMinus|Backslash|Therefore|DownBreve|backsimeq|backprime|DownArrow|nshortmid|Downarrow|lvertneqq|eqvparsl|imagline|imagpart|infintie|integers|Integral|intercal|LessLess|Uarrocir|intlarhk|sqsupset|angmsdaf|sqsubset|llcorner|vartheta|cupbrcap|lnapprox|Superset|SuchThat|succnsim|succneqq|angmsdag|biguplus|curlyvee|trpezium|Succeeds|NotTilde|bigwedge|angmsdah|angrtvbd|triminus|cwconint|fpartint|lrcorner|smeparsl|subseteq|urcorner|lurdshar|laemptyv|DDotrahd|approxeq|ldrushar|awconint|mapstoup|backcong|shortmid|triangle|geqslant|gesdotol|timesbar|circledR|circledS|setminus|multimap|naturals|scpolint|ncongdot|RightTee|boxminus|gnapprox|boxtimes|andslope|thicksim|angmsdaa|varsigma|cirfnint|rtriltri|angmsdab|rppolint|angmsdac|barwedge|drbkarow|clubsuit|thetasym|bsolhsub|capbrcup|dzigrarr|doteqdot|DotEqual|dotminus|UnderBar|NotEqual|realpart|otimesas|ulcorner|hksearow|hkswarow|parallel|PartialD|elinters|emptyset|plusacir|bbrktbrk|angmsdad|pointint|bigoplus|angmsdae|Precedes|bigsqcup|varkappa|notindot|supseteq|precneqq|precnsim|profalar|profline|profsurf|leqslant|lesdotor|raemptyv|subplus|notnivb|notnivc|subrarr|zigrarr|vzigzag|submult|subedot|Element|between|cirscir|larrbfs|larrsim|lotimes|lbrksld|lbrkslu|lozenge|ldrdhar|dbkarow|bigcirc|epsilon|simrarr|simplus|ltquest|Epsilon|luruhar|gtquest|maltese|npolint|eqcolon|npreceq|bigodot|ddagger|gtrless|bnequiv|harrcir|ddotseq|equivDD|backsim|demptyv|nsqsube|nsqsupe|Upsilon|nsubset|upsilon|minusdu|nsucceq|swarrow|nsupset|coloneq|searrow|boxplus|napprox|natural|asympeq|alefsym|congdot|nearrow|bigstar|diamond|supplus|tritime|LeftTee|nvinfin|triplus|NewLine|nvltrie|nvrtrie|nwarrow|nexists|Diamond|ruluhar|Implies|supmult|angzarr|suplarr|suphsub|questeq|because|digamma|Because|olcross|bemptyv|omicron|Omicron|rotimes|NoBreak|intprod|angrtvb|orderof|uwangle|suphsol|lesdoto|orslope|DownTee|realine|cudarrl|rdldhar|OverBar|supedot|lessdot|supdsub|topfork|succsim|rbrkslu|rbrksld|pertenk|cudarrr|isindot|planckh|lessgtr|pluscir|gesdoto|plussim|plustwo|lesssim|cularrp|rarrsim|Cayleys|notinva|notinvb|notinvc|UpArrow|Uparrow|uparrow|NotLess|dwangle|precsim|Product|curarrm|Cconint|dotplus|rarrbfs|ccupssm|Cedilla|cemptyv|notniva|quatint|frac35|frac38|frac45|frac56|frac58|frac78|tridot|xoplus|gacute|gammad|Gammad|lfisht|lfloor|bigcup|sqsupe|gbreve|Gbreve|lharul|sqsube|sqcups|Gcedil|apacir|llhard|lmidot|Lmidot|lmoust|andand|sqcaps|approx|Abreve|spades|circeq|tprime|divide|topcir|Assign|topbot|gesdot|divonx|xuplus|timesd|gesles|atilde|solbar|SOFTcy|loplus|timesb|lowast|lowbar|dlcorn|dlcrop|softcy|dollar|lparlt|thksim|lrhard|Atilde|lsaquo|smashp|bigvee|thinsp|wreath|bkarow|lsquor|lstrok|Lstrok|lthree|ltimes|ltlarr|DotDot|simdot|ltrPar|weierp|xsqcup|angmsd|sigmav|sigmaf|zeetrf|Zcaron|zcaron|mapsto|vsupne|thetav|cirmid|marker|mcomma|Zacute|vsubnE|there4|gtlPar|vsubne|bottom|gtrarr|SHCHcy|shchcy|midast|midcir|middot|minusb|minusd|gtrdot|bowtie|sfrown|mnplus|models|colone|seswar|Colone|mstpos|searhk|gtrsim|nacute|Nacute|boxbox|telrec|hairsp|Tcedil|nbumpe|scnsim|ncaron|Ncaron|ncedil|Ncedil|hamilt|Scedil|nearhk|hardcy|HARDcy|tcedil|Tcaron|commat|nequiv|nesear|tcaron|target|hearts|nexist|varrho|scedil|Scaron|scaron|hellip|Sacute|sacute|hercon|swnwar|compfn|rtimes|rthree|rsquor|rsaquo|zacute|wedgeq|homtht|barvee|barwed|Barwed|rpargt|horbar|conint|swarhk|roplus|nltrie|hslash|hstrok|Hstrok|rmoust|Conint|bprime|hybull|hyphen|iacute|Iacute|supsup|supsub|supsim|varphi|coprod|brvbar|agrave|Supset|supset|igrave|Igrave|notinE|Agrave|iiiint|iinfin|copysr|wedbar|Verbar|vangrt|becaus|incare|verbar|inodot|bullet|drcorn|intcal|drcrop|cularr|vellip|Utilde|bumpeq|cupcap|dstrok|Dstrok|CupCap|cupcup|cupdot|eacute|Eacute|supdot|iquest|easter|ecaron|Ecaron|ecolon|isinsv|utilde|itilde|Itilde|curarr|succeq|Bumpeq|cacute|ulcrop|nparsl|Cacute|nprcue|egrave|Egrave|nrarrc|nrarrw|subsup|subsub|nrtrie|jsercy|nsccue|Jsercy|kappav|kcedil|Kcedil|subsim|ulcorn|nsimeq|egsdot|veebar|kgreen|capand|elsdot|Subset|subset|curren|aacute|lacute|Lacute|emptyv|ntilde|Ntilde|lagran|lambda|Lambda|capcap|Ugrave|langle|subdot|emsp13|numero|emsp14|nvdash|nvDash|nVdash|nVDash|ugrave|ufisht|nvHarr|larrfs|nvlArr|larrhk|larrlp|larrpl|nvrArr|Udblac|nwarhk|larrtl|nwnear|oacute|Oacute|latail|lAtail|sstarf|lbrace|odblac|Odblac|lbrack|udblac|odsold|eparsl|lcaron|Lcaron|ograve|Ograve|lcedil|Lcedil|Aacute|ssmile|ssetmn|squarf|ldquor|capcup|ominus|cylcty|rharul|eqcirc|dagger|rfloor|rfisht|Dagger|daleth|equals|origof|capdot|equest|dcaron|Dcaron|rdquor|oslash|Oslash|otilde|Otilde|otimes|Otimes|urcrop|Ubreve|ubreve|Yacute|Uacute|uacute|Rcedil|rcedil|urcorn|parsim|Rcaron|Vdashl|rcaron|Tstrok|percnt|period|permil|Exists|yacute|rbrack|rbrace|phmmat|ccaron|Ccaron|planck|ccedil|plankv|tstrok|female|plusdo|plusdu|ffilig|plusmn|ffllig|Ccedil|rAtail|dfisht|bernou|ratail|Rarrtl|rarrtl|angsph|rarrpl|rarrlp|rarrhk|xwedge|xotime|forall|ForAll|Vvdash|vsupnE|preceq|bigcap|frac12|frac13|frac14|primes|rarrfs|prnsim|frac15|Square|frac16|square|lesdot|frac18|frac23|propto|prurel|rarrap|rangle|puncsp|frac25|Racute|qprime|racute|lesges|frac34|abreve|AElig|eqsim|utdot|setmn|urtri|Equal|Uring|seArr|uring|searr|dashv|Dashv|mumap|nabla|iogon|Iogon|sdote|sdotb|scsim|napid|napos|equiv|natur|Acirc|dblac|erarr|nbump|iprod|erDot|ucirc|awint|esdot|angrt|ncong|isinE|scnap|Scirc|scirc|ndash|isins|Ubrcy|nearr|neArr|isinv|nedot|ubrcy|acute|Ycirc|iukcy|Iukcy|xutri|nesim|caret|jcirc|Jcirc|caron|twixt|ddarr|sccue|exist|jmath|sbquo|ngeqq|angst|ccaps|lceil|ngsim|UpTee|delta|Delta|rtrif|nharr|nhArr|nhpar|rtrie|jukcy|Jukcy|kappa|rsquo|Kappa|nlarr|nlArr|TSHcy|rrarr|aogon|Aogon|fflig|xrarr|tshcy|ccirc|nleqq|filig|upsih|nless|dharl|nlsim|fjlig|ropar|nltri|dharr|robrk|roarr|fllig|fltns|roang|rnmid|subnE|subne|lAarr|trisb|Ccirc|acirc|ccups|blank|VDash|forkv|Vdash|langd|cedil|blk12|blk14|laquo|strns|diams|notin|vDash|larrb|blk34|block|disin|uplus|vdash|vBarv|aelig|starf|Wedge|check|xrArr|lates|lbarr|lBarr|notni|lbbrk|bcong|frasl|lbrke|frown|vrtri|vprop|vnsup|gamma|Gamma|wedge|xodot|bdquo|srarr|doteq|ldquo|boxdl|boxdL|gcirc|Gcirc|boxDl|boxDL|boxdr|boxdR|boxDr|TRADE|trade|rlhar|boxDR|vnsub|npart|vltri|rlarr|boxhd|boxhD|nprec|gescc|nrarr|nrArr|boxHd|boxHD|boxhu|boxhU|nrtri|boxHu|clubs|boxHU|times|colon|Colon|gimel|xlArr|Tilde|nsime|tilde|nsmid|nspar|THORN|thorn|xlarr|nsube|nsubE|thkap|xhArr|comma|nsucc|boxul|boxuL|nsupe|nsupE|gneqq|gnsim|boxUl|boxUL|grave|boxur|boxuR|boxUr|boxUR|lescc|angle|bepsi|boxvh|varpi|boxvH|numsp|Theta|gsime|gsiml|theta|boxVh|boxVH|boxvl|gtcir|gtdot|boxvL|boxVl|boxVL|crarr|cross|Cross|nvsim|boxvr|nwarr|nwArr|sqsup|dtdot|Uogon|lhard|lharu|dtrif|ocirc|Ocirc|lhblk|duarr|odash|sqsub|Hacek|sqcup|llarr|duhar|oelig|OElig|ofcir|boxvR|uogon|lltri|boxVr|csube|uuarr|ohbar|csupe|ctdot|olarr|olcir|harrw|oline|sqcap|omacr|Omacr|omega|Omega|boxVR|aleph|lneqq|lnsim|loang|loarr|rharu|lobrk|hcirc|operp|oplus|rhard|Hcirc|orarr|Union|order|ecirc|Ecirc|cuepr|szlig|cuesc|breve|reals|eDDot|Breve|hoarr|lopar|utrif|rdquo|Umacr|umacr|efDot|swArr|ultri|alpha|rceil|ovbar|swarr|Wcirc|wcirc|smtes|smile|bsemi|lrarr|aring|parsl|lrhar|bsime|uhblk|lrtri|cupor|Aring|uharr|uharl|slarr|rbrke|bsolb|lsime|rbbrk|RBarr|lsimg|phone|rBarr|rbarr|icirc|lsquo|Icirc|emacr|Emacr|ratio|simne|plusb|simlE|simgE|simeq|pluse|ltcir|ltdot|empty|xharr|xdtri|iexcl|Alpha|ltrie|rarrw|pound|ltrif|xcirc|bumpe|prcue|bumpE|asymp|amacr|cuvee|Sigma|sigma|iiint|udhar|iiota|ijlig|IJlig|supnE|imacr|Imacr|prime|Prime|image|prnap|eogon|Eogon|rarrc|mdash|mDDot|cuwed|imath|supne|imped|Amacr|udarr|prsim|micro|rarrb|cwint|raquo|infin|eplus|range|rangd|Ucirc|radic|minus|amalg|veeeq|rAarr|epsiv|ycirc|quest|sharp|quot|zwnj|Qscr|race|qscr|Qopf|qopf|qint|rang|Rang|Zscr|zscr|Zopf|zopf|rarr|rArr|Rarr|Pscr|pscr|prop|prod|prnE|prec|ZHcy|zhcy|prap|Zeta|zeta|Popf|popf|Zdot|plus|zdot|Yuml|yuml|phiv|YUcy|yucy|Yscr|yscr|perp|Yopf|yopf|part|para|YIcy|Ouml|rcub|yicy|YAcy|rdca|ouml|osol|Oscr|rdsh|yacy|real|oscr|xvee|andd|rect|andv|Xscr|oror|ordm|ordf|xscr|ange|aopf|Aopf|rHar|Xopf|opar|Oopf|xopf|xnis|rhov|oopf|omid|xmap|oint|apid|apos|ogon|ascr|Ascr|odot|odiv|xcup|xcap|ocir|oast|nvlt|nvle|nvgt|nvge|nvap|Wscr|wscr|auml|ntlg|ntgl|nsup|nsub|nsim|Nscr|nscr|nsce|Wopf|ring|npre|wopf|npar|Auml|Barv|bbrk|Nopf|nopf|nmid|nLtv|beta|ropf|Ropf|Beta|beth|nles|rpar|nleq|bnot|bNot|nldr|NJcy|rscr|Rscr|Vscr|vscr|rsqb|njcy|bopf|nisd|Bopf|rtri|Vopf|nGtv|ngtr|vopf|boxh|boxH|boxv|nges|ngeq|boxV|bscr|scap|Bscr|bsim|Vert|vert|bsol|bull|bump|caps|cdot|ncup|scnE|ncap|nbsp|napE|Cdot|cent|sdot|Vbar|nang|vBar|chcy|Mscr|mscr|sect|semi|CHcy|Mopf|mopf|sext|circ|cire|mldr|mlcp|cirE|comp|shcy|SHcy|vArr|varr|cong|copf|Copf|copy|COPY|malt|male|macr|lvnE|cscr|ltri|sime|ltcc|simg|Cscr|siml|csub|Uuml|lsqb|lsim|uuml|csup|Lscr|lscr|utri|smid|lpar|cups|smte|lozf|darr|Lopf|Uscr|solb|lopf|sopf|Sopf|lneq|uscr|spar|dArr|lnap|Darr|dash|Sqrt|LJcy|ljcy|lHar|dHar|Upsi|upsi|diam|lesg|djcy|DJcy|leqq|dopf|Dopf|dscr|Dscr|dscy|ldsh|ldca|squf|DScy|sscr|Sscr|dsol|lcub|late|star|Star|Uopf|Larr|lArr|larr|uopf|dtri|dzcy|sube|subE|Lang|lang|Kscr|kscr|Kopf|kopf|KJcy|kjcy|KHcy|khcy|DZcy|ecir|edot|eDot|Jscr|jscr|succ|Jopf|jopf|Edot|uHar|emsp|ensp|Iuml|iuml|eopf|isin|Iscr|iscr|Eopf|epar|sung|epsi|escr|sup1|sup2|sup3|Iota|iota|supe|supE|Iopf|iopf|IOcy|iocy|Escr|esim|Esim|imof|Uarr|QUOT|uArr|uarr|euml|IEcy|iecy|Idot|Euml|euro|excl|Hscr|hscr|Hopf|hopf|TScy|tscy|Tscr|hbar|tscr|flat|tbrk|fnof|hArr|harr|half|fopf|Fopf|tdot|gvnE|fork|trie|gtcc|fscr|Fscr|gdot|gsim|Gscr|gscr|Gopf|gopf|gneq|Gdot|tosa|gnap|Topf|topf|geqq|toea|GJcy|gjcy|tint|gesl|mid|Sfr|ggg|top|ges|gla|glE|glj|geq|gne|gEl|gel|gnE|Gcy|gcy|gap|Tfr|tfr|Tcy|tcy|Hat|Tau|Ffr|tau|Tab|hfr|Hfr|ffr|Fcy|fcy|icy|Icy|iff|ETH|eth|ifr|Ifr|Eta|eta|int|Int|Sup|sup|ucy|Ucy|Sum|sum|jcy|ENG|ufr|Ufr|eng|Jcy|jfr|els|ell|egs|Efr|efr|Jfr|uml|kcy|Kcy|Ecy|ecy|kfr|Kfr|lap|Sub|sub|lat|lcy|Lcy|leg|Dot|dot|lEg|leq|les|squ|div|die|lfr|Lfr|lgE|Dfr|dfr|Del|deg|Dcy|dcy|lne|lnE|sol|loz|smt|Cup|lrm|cup|lsh|Lsh|sim|shy|map|Map|mcy|Mcy|mfr|Mfr|mho|gfr|Gfr|sfr|cir|Chi|chi|nap|Cfr|vcy|Vcy|cfr|Scy|scy|ncy|Ncy|vee|Vee|Cap|cap|nfr|scE|sce|Nfr|nge|ngE|nGg|vfr|Vfr|ngt|bot|nGt|nis|niv|Rsh|rsh|nle|nlE|bne|Bfr|bfr|nLl|nlt|nLt|Bcy|bcy|not|Not|rlm|wfr|Wfr|npr|nsc|num|ocy|ast|Ocy|ofr|xfr|Xfr|Ofr|ogt|ohm|apE|olt|Rho|ape|rho|Rfr|rfr|ord|REG|ang|reg|orv|And|and|AMP|Rcy|amp|Afr|ycy|Ycy|yen|yfr|Yfr|rcy|par|pcy|Pcy|pfr|Pfr|phi|Phi|afr|Acy|acy|zcy|Zcy|piv|acE|acd|zfr|Zfr|pre|prE|psi|Psi|qfr|Qfr|zwj|Or|ge|Gg|gt|gg|el|oS|lt|Lt|LT|Re|lg|gl|eg|ne|Im|it|le|DD|wp|wr|nu|Nu|dd|lE|Sc|sc|pi|Pi|ee|af|ll|Ll|rx|gE|xi|pm|Xi|ic|pr|Pr|in|ni|mp|mu|ac|Mu|or|ap|Gt|GT|ii);|&(Aacute|Agrave|Atilde|Ccedil|Eacute|Egrave|Iacute|Igrave|Ntilde|Oacute|Ograve|Oslash|Otilde|Uacute|Ugrave|Yacute|aacute|agrave|atilde|brvbar|ccedil|curren|divide|eacute|egrave|frac12|frac14|frac34|iacute|igrave|iquest|middot|ntilde|oacute|ograve|oslash|otilde|plusmn|uacute|ugrave|yacute|AElig|Acirc|Aring|Ecirc|Icirc|Ocirc|THORN|Ucirc|acirc|acute|aelig|aring|cedil|ecirc|icirc|iexcl|laquo|micro|ocirc|pound|raquo|szlig|thorn|times|ucirc|Auml|COPY|Euml|Iuml|Ouml|QUOT|Uuml|auml|cent|copy|euml|iuml|macr|nbsp|ordf|ordm|ouml|para|quot|sect|sup1|sup2|sup3|uuml|yuml|AMP|ETH|REG|amp|deg|eth|not|reg|shy|uml|yen|GT|LT|gt|lt)(?!;)([=a-zA-Z0-9]?)|&#([0-9]+)(;?)|&#[xX]([a-fA-F0-9]+)(;?)|&([0-9a-zA-Z]+)/g,h={aacute:"á",Aacute:"Á",abreve:"ă",Abreve:"Ă",ac:"∾",acd:"∿",acE:"∾̳",acirc:"â",Acirc:"Â",acute:"´",acy:"а",Acy:"А",aelig:"æ",AElig:"Æ",af:"",afr:"𝔞",Afr:"𝔄",agrave:"à",Agrave:"À",alefsym:"ℵ",aleph:"ℵ",alpha:"α",Alpha:"Α",amacr:"ā",Amacr:"Ā",amalg:"⨿",amp:"&",AMP:"&",and:"∧",And:"⩓",andand:"⩕",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsd:"∡",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",aogon:"ą",Aogon:"Ą",aopf:"𝕒",Aopf:"𝔸",ap:"≈",apacir:"⩯",ape:"≊",apE:"⩰",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",aring:"å",Aring:"Å",ascr:"𝒶",Ascr:"𝒜",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",bcy:"б",Bcy:"Б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",beta:"β",Beta:"Β",beth:"ℶ",between:"≬",bfr:"𝔟",Bfr:"𝔅",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bnot:"⌐",bNot:"⫭",bopf:"𝕓",Bopf:"𝔹",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxhD:"╥",boxHd:"╤",boxHD:"╦",boxhu:"┴",boxhU:"╨",boxHu:"╧",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsol:"\\",bsolb:"⧅",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpe:"≏",bumpE:"⪮",bumpeq:"≏",Bumpeq:"≎",cacute:"ć",Cacute:"Ć",cap:"∩",Cap:"⋒",capand:"⩄",capbrcup:"⩉",capcap:"⩋",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",ccaron:"č",Ccaron:"Č",ccedil:"ç",Ccedil:"Ç",ccirc:"ĉ",Ccirc:"Ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",cdot:"ċ",Cdot:"Ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",chcy:"ч",CHcy:"Ч",check:"✓",checkmark:"✓",chi:"χ",Chi:"Χ",cir:"○",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cire:"≗",cirE:"⧃",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",colone:"≔",Colone:"⩴",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",cscr:"𝒸",Cscr:"𝒞",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cup:"∪",Cup:"⋓",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",dArr:"⇓",Darr:"↡",dash:"‐",dashv:"⊣",Dashv:"⫤",dbkarow:"⤏",dblac:"˝",dcaron:"ď",Dcaron:"Ď",dcy:"д",Dcy:"Д",dd:"ⅆ",DD:"ⅅ",ddagger:"‡",ddarr:"⇊",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",delta:"δ",Delta:"Δ",demptyv:"⦱",dfisht:"⥿",dfr:"𝔡",Dfr:"𝔇",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",djcy:"ђ",DJcy:"Ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",dopf:"𝕕",Dopf:"𝔻",dot:"˙",Dot:"¨",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",downarrow:"↓",Downarrow:"⇓",DownArrow:"↓",DownArrowBar:"⤓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVector:"↽",DownLeftVectorBar:"⥖",DownRightTeeVector:"⥟",DownRightVector:"⇁",DownRightVectorBar:"⥗",DownTee:"⊤",DownTeeArrow:"↧",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",dscr:"𝒹",Dscr:"𝒟",dscy:"ѕ",DScy:"Ѕ",dsol:"⧶",dstrok:"đ",Dstrok:"Đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",dzcy:"џ",DZcy:"Џ",dzigrarr:"⟿",eacute:"é",Eacute:"É",easter:"⩮",ecaron:"ě",Ecaron:"Ě",ecir:"≖",ecirc:"ê",Ecirc:"Ê",ecolon:"≕",ecy:"э",Ecy:"Э",eDDot:"⩷",edot:"ė",eDot:"≑",Edot:"Ė",ee:"ⅇ",efDot:"≒",efr:"𝔢",Efr:"𝔈",eg:"⪚",egrave:"è",Egrave:"È",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",emacr:"ē",Emacr:"Ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp:" ",emsp13:" ",emsp14:" ",eng:"ŋ",ENG:"Ŋ",ensp:" ",eogon:"ę",Eogon:"Ę",eopf:"𝕖",Eopf:"𝔼",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",epsilon:"ε",Epsilon:"Ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",esim:"≂",Esim:"⩳",eta:"η",Eta:"Η",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",fcy:"ф",Fcy:"Ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",ffr:"𝔣",Ffr:"𝔉",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",fopf:"𝕗",Fopf:"𝔽",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",gamma:"γ",Gamma:"Γ",gammad:"ϝ",Gammad:"Ϝ",gap:"⪆",gbreve:"ğ",Gbreve:"Ğ",Gcedil:"Ģ",gcirc:"ĝ",Gcirc:"Ĝ",gcy:"г",Gcy:"Г",gdot:"ġ",Gdot:"Ġ",ge:"≥",gE:"≧",gel:"⋛",gEl:"⪌",geq:"≥",geqq:"≧",geqslant:"⩾",ges:"⩾",gescc:"⪩",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",gfr:"𝔤",Gfr:"𝔊",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",gjcy:"ѓ",GJcy:"Ѓ",gl:"≷",gla:"⪥",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",gopf:"𝕘",Gopf:"𝔾",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",gscr:"ℊ",Gscr:"𝒢",gsim:"≳",gsime:"⪎",gsiml:"⪐",gt:">",Gt:"≫",GT:">",gtcc:"⪧",gtcir:"⩺",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",hardcy:"ъ",HARDcy:"Ъ",harr:"↔",hArr:"⇔",harrcir:"⥈",harrw:"↭",Hat:"^",hbar:"ℏ",hcirc:"ĥ",Hcirc:"Ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",hstrok:"ħ",Hstrok:"Ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",iacute:"í",Iacute:"Í",ic:"",icirc:"î",Icirc:"Î",icy:"и",Icy:"И",Idot:"İ",iecy:"е",IEcy:"Е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",igrave:"ì",Igrave:"Ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",ijlig:"ij",IJlig:"IJ",Im:"ℑ",imacr:"ī",Imacr:"Ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",imof:"⊷",imped:"Ƶ",Implies:"⇒",in:"∈",incare:"℅",infin:"∞",infintie:"⧝",inodot:"ı",int:"∫",Int:"∬",intcal:"⊺",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",iocy:"ё",IOcy:"Ё",iogon:"į",Iogon:"Į",iopf:"𝕚",Iopf:"𝕀",iota:"ι",Iota:"Ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",itilde:"ĩ",Itilde:"Ĩ",iukcy:"і",Iukcy:"І",iuml:"ï",Iuml:"Ï",jcirc:"ĵ",Jcirc:"Ĵ",jcy:"й",Jcy:"Й",jfr:"𝔧",Jfr:"𝔍",jmath:"ȷ",jopf:"𝕛",Jopf:"𝕁",jscr:"𝒿",Jscr:"𝒥",jsercy:"ј",Jsercy:"Ј",jukcy:"є",Jukcy:"Є",kappa:"κ",Kappa:"Κ",kappav:"ϰ",kcedil:"ķ",Kcedil:"Ķ",kcy:"к",Kcy:"К",kfr:"𝔨",Kfr:"𝔎",kgreen:"ĸ",khcy:"х",KHcy:"Х",kjcy:"ќ",KJcy:"Ќ",kopf:"𝕜",Kopf:"𝕂",kscr:"𝓀",Kscr:"𝒦",lAarr:"⇚",lacute:"ĺ",Lacute:"Ĺ",laemptyv:"⦴",lagran:"ℒ",lambda:"λ",Lambda:"Λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larr:"←",lArr:"⇐",Larr:"↞",larrb:"⇤",larrbfs:"⤟",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",lat:"⪫",latail:"⤙",lAtail:"⤛",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",lcaron:"ľ",Lcaron:"Ľ",lcedil:"ļ",Lcedil:"Ļ",lceil:"⌈",lcub:"{",lcy:"л",Lcy:"Л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",leftarrow:"←",Leftarrow:"⇐",LeftArrow:"←",LeftArrowBar:"⇤",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVector:"⇃",LeftDownVectorBar:"⥙",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",Leftrightarrow:"⇔",LeftRightArrow:"↔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTee:"⊣",LeftTeeArrow:"↤",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangle:"⊲",LeftTriangleBar:"⧏",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVector:"↿",LeftUpVectorBar:"⥘",LeftVector:"↼",LeftVectorBar:"⥒",leg:"⋚",lEg:"⪋",leq:"≤",leqq:"≦",leqslant:"⩽",les:"⩽",lescc:"⪨",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",lfr:"𝔩",Lfr:"𝔏",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",ljcy:"љ",LJcy:"Љ",ll:"≪",Ll:"⋘",llarr:"⇇",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",lmidot:"ŀ",Lmidot:"Ŀ",lmoust:"⎰",lmoustache:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",Longleftarrow:"⟸",LongLeftArrow:"⟵",longleftrightarrow:"⟷",Longleftrightarrow:"⟺",LongLeftRightArrow:"⟷",longmapsto:"⟼",longrightarrow:"⟶",Longrightarrow:"⟹",LongRightArrow:"⟶",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",lopf:"𝕝",Lopf:"𝕃",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",lstrok:"ł",Lstrok:"Ł",lt:"<",Lt:"≪",LT:"<",ltcc:"⪦",ltcir:"⩹",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",map:"↦",Map:"⤅",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",mcy:"м",Mcy:"М",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",mfr:"𝔪",Mfr:"𝔐",mho:"℧",micro:"µ",mid:"∣",midast:"*",midcir:"⫰",middot:"·",minus:"−",minusb:"⊟",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",mopf:"𝕞",Mopf:"𝕄",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",mu:"μ",Mu:"Μ",multimap:"⊸",mumap:"⊸",nabla:"∇",nacute:"ń",Nacute:"Ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natur:"♮",natural:"♮",naturals:"ℕ",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",ncaron:"ň",Ncaron:"Ň",ncedil:"ņ",Ncedil:"Ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",ncy:"н",Ncy:"Н",ndash:"–",ne:"≠",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:"\n",nexist:"∄",nexists:"∄",nfr:"𝔫",Nfr:"𝔑",nge:"≱",ngE:"≧̸",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",ngt:"≯",nGt:"≫⃒",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",njcy:"њ",NJcy:"Њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nle:"≰",nlE:"≦̸",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nlt:"≮",nLt:"≪⃒",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",not:"¬",Not:"⫬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangle:"⋪",NotLeftTriangleBar:"⧏̸",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangle:"⋫",NotRightTriangleBar:"⧐̸",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",npar:"∦",nparallel:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",npre:"⪯̸",nprec:"⊀",npreceq:"⪯̸",nrarr:"↛",nrArr:"⇏",nrarrc:"⤳̸",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",nscr:"𝓃",Nscr:"𝒩",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsube:"⊈",nsubE:"⫅̸",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupe:"⊉",nsupE:"⫆̸",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",ntilde:"ñ",Ntilde:"Ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",nu:"ν",Nu:"Ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",oacute:"ó",Oacute:"Ó",oast:"⊛",ocir:"⊚",ocirc:"ô",Ocirc:"Ô",ocy:"о",Ocy:"О",odash:"⊝",odblac:"ő",Odblac:"Ő",odiv:"⨸",odot:"⊙",odsold:"⦼",oelig:"œ",OElig:"Œ",ofcir:"⦿",ofr:"𝔬",Ofr:"𝔒",ogon:"˛",ograve:"ò",Ograve:"Ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",omacr:"ō",Omacr:"Ō",omega:"ω",Omega:"Ω",omicron:"ο",Omicron:"Ο",omid:"⦶",ominus:"⊖",oopf:"𝕠",Oopf:"𝕆",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",or:"∨",Or:"⩔",orarr:"↻",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",oscr:"ℴ",Oscr:"𝒪",oslash:"ø",Oslash:"Ø",osol:"⊘",otilde:"õ",Otilde:"Õ",otimes:"⊗",Otimes:"⨷",otimesas:"⨶",ouml:"ö",Ouml:"Ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",par:"∥",para:"¶",parallel:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",pcy:"п",Pcy:"П",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",pfr:"𝔭",Pfr:"𝔓",phi:"φ",Phi:"Φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",pi:"π",Pi:"Π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plus:"+",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",pr:"≺",Pr:"⪻",prap:"⪷",prcue:"≼",pre:"⪯",prE:"⪳",prec:"≺",precapprox:"⪷",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportion:"∷",Proportional:"∝",propto:"∝",prsim:"≾",prurel:"⊰",pscr:"𝓅",Pscr:"𝒫",psi:"ψ",Psi:"Ψ",puncsp:" ",qfr:"𝔮",Qfr:"𝔔",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",qscr:"𝓆",Qscr:"𝒬",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",racute:"ŕ",Racute:"Ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarr:"→",rArr:"⇒",Rarr:"↠",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",rarrtl:"↣",Rarrtl:"⤖",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",rcaron:"ř",Rcaron:"Ř",rcedil:"ŗ",Rcedil:"Ŗ",rceil:"⌉",rcub:"}",rcy:"р",Rcy:"Р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",Re:"ℜ",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",rho:"ρ",Rho:"Ρ",rhov:"ϱ",RightAngleBracket:"⟩",rightarrow:"→",Rightarrow:"⇒",RightArrow:"→",RightArrowBar:"⇥",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVector:"⇂",RightDownVectorBar:"⥕",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTee:"⊢",RightTeeArrow:"↦",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangle:"⊳",RightTriangleBar:"⧐",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVector:"↾",RightUpVectorBar:"⥔",RightVector:"⇀",RightVectorBar:"⥓",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoust:"⎱",rmoustache:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",sacute:"ś",Sacute:"Ś",sbquo:"‚",sc:"≻",Sc:"⪼",scap:"⪸",scaron:"š",Scaron:"Š",sccue:"≽",sce:"⪰",scE:"⪴",scedil:"ş",Scedil:"Ş",scirc:"ŝ",Scirc:"Ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",scy:"с",Scy:"С",sdot:"⋅",sdotb:"⊡",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",sfr:"𝔰",Sfr:"𝔖",sfrown:"⌢",sharp:"♯",shchcy:"щ",SHCHcy:"Щ",shcy:"ш",SHcy:"Ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",sigma:"σ",Sigma:"Σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",softcy:"ь",SOFTcy:"Ь",sol:"/",solb:"⧄",solbar:"⌿",sopf:"𝕤",Sopf:"𝕊",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",squ:"□",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squf:"▪",srarr:"→",sscr:"𝓈",Sscr:"𝒮",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",star:"☆",Star:"⋆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",sube:"⊆",subE:"⫅",subedot:"⫃",submult:"⫁",subne:"⊊",subnE:"⫋",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succ:"≻",succapprox:"⪸",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup:"⊃",Sup:"⋑",sup1:"¹",sup2:"²",sup3:"³",supdot:"⪾",supdsub:"⫘",supe:"⊇",supE:"⫆",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supne:"⊋",supnE:"⫌",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:"\t",target:"⌖",tau:"τ",Tau:"Τ",tbrk:"⎴",tcaron:"ť",Tcaron:"Ť",tcedil:"ţ",Tcedil:"Ţ",tcy:"т",Tcy:"Т",tdot:"⃛",telrec:"⌕",tfr:"𝔱",Tfr:"𝔗",there4:"∴",therefore:"∴",Therefore:"∴",theta:"θ",Theta:"Θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",thinsp:" ",ThinSpace:" ",thkap:"≈",thksim:"∼",thorn:"þ",THORN:"Þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",times:"×",timesb:"⊠",timesbar:"⨱",timesd:"⨰",tint:"∭",toea:"⤨",top:"⊤",topbot:"⌶",topcir:"⫱",topf:"𝕥",Topf:"𝕋",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",tscr:"𝓉",Tscr:"𝒯",tscy:"ц",TScy:"Ц",tshcy:"ћ",TSHcy:"Ћ",tstrok:"ŧ",Tstrok:"Ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",uacute:"ú",Uacute:"Ú",uarr:"↑",uArr:"⇑",Uarr:"↟",Uarrocir:"⥉",ubrcy:"ў",Ubrcy:"Ў",ubreve:"ŭ",Ubreve:"Ŭ",ucirc:"û",Ucirc:"Û",ucy:"у",Ucy:"У",udarr:"⇅",udblac:"ű",Udblac:"Ű",udhar:"⥮",ufisht:"⥾",ufr:"𝔲",Ufr:"𝔘",ugrave:"ù",Ugrave:"Ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",umacr:"ū",Umacr:"Ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",uogon:"ų",Uogon:"Ų",uopf:"𝕦",Uopf:"𝕌",uparrow:"↑",Uparrow:"⇑",UpArrow:"↑",UpArrowBar:"⤒",UpArrowDownArrow:"⇅",updownarrow:"↕",Updownarrow:"⇕",UpDownArrow:"↕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",upsilon:"υ",Upsilon:"Υ",UpTee:"⊥",UpTeeArrow:"↥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",uring:"ů",Uring:"Ů",urtri:"◹",uscr:"𝓊",Uscr:"𝒰",utdot:"⋰",utilde:"ũ",Utilde:"Ũ",utri:"▵",utrif:"▴",uuarr:"⇈",uuml:"ü",Uuml:"Ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",vcy:"в",Vcy:"В",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",vee:"∨",Vee:"⋁",veebar:"⊻",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",vfr:"𝔳",Vfr:"𝔙",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",vopf:"𝕧",Vopf:"𝕍",vprop:"∝",vrtri:"⊳",vscr:"𝓋",Vscr:"𝒱",vsubne:"⊊︀",vsubnE:"⫋︀",vsupne:"⊋︀",vsupnE:"⫌︀",Vvdash:"⊪",vzigzag:"⦚",wcirc:"ŵ",Wcirc:"Ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",wfr:"𝔴",Wfr:"𝔚",wopf:"𝕨",Wopf:"𝕎",wp:"℘",wr:"≀",wreath:"≀",wscr:"𝓌",Wscr:"𝒲",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",xfr:"𝔵",Xfr:"𝔛",xharr:"⟷",xhArr:"⟺",xi:"ξ",Xi:"Ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",xopf:"𝕩",Xopf:"𝕏",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",xscr:"𝓍",Xscr:"𝒳",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",yacute:"ý",Yacute:"Ý",yacy:"я",YAcy:"Я",ycirc:"ŷ",Ycirc:"Ŷ",ycy:"ы",Ycy:"Ы",yen:"¥",yfr:"𝔶",Yfr:"𝔜",yicy:"ї",YIcy:"Ї",yopf:"𝕪",Yopf:"𝕐",yscr:"𝓎",Yscr:"𝒴",yucy:"ю",YUcy:"Ю",yuml:"ÿ",Yuml:"Ÿ",zacute:"ź",Zacute:"Ź",zcaron:"ž",Zcaron:"Ž",zcy:"з",Zcy:"З",zdot:"ż",Zdot:"Ż",zeetrf:"ℨ",ZeroWidthSpace:"",zeta:"ζ",Zeta:"Ζ",zfr:"𝔷",Zfr:"ℨ",zhcy:"ж",ZHcy:"Ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",zscr:"𝓏",Zscr:"𝒵",zwj:"",zwnj:""},m={aacute:"á",Aacute:"Á",acirc:"â",Acirc:"Â",acute:"´",aelig:"æ",AElig:"Æ",agrave:"à",Agrave:"À",amp:"&",AMP:"&",aring:"å",Aring:"Å",atilde:"ã",Atilde:"Ã",auml:"ä",Auml:"Ä",brvbar:"¦",ccedil:"ç",Ccedil:"Ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",eacute:"é",Eacute:"É",ecirc:"ê",Ecirc:"Ê",egrave:"è",Egrave:"È",eth:"ð",ETH:"Ð",euml:"ë",Euml:"Ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",iacute:"í",Iacute:"Í",icirc:"î",Icirc:"Î",iexcl:"¡",igrave:"ì",Igrave:"Ì",iquest:"¿",iuml:"ï",Iuml:"Ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",ntilde:"ñ",Ntilde:"Ñ",oacute:"ó",Oacute:"Ó",ocirc:"ô",Ocirc:"Ô",ograve:"ò",Ograve:"Ò",ordf:"ª",ordm:"º",oslash:"ø",Oslash:"Ø",otilde:"õ",Otilde:"Õ",ouml:"ö",Ouml:"Ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",thorn:"þ",THORN:"Þ",times:"×",uacute:"ú",Uacute:"Ú",ucirc:"û",Ucirc:"Û",ugrave:"ù",Ugrave:"Ù",uml:"¨",uuml:"ü",Uuml:"Ü",yacute:"ý",Yacute:"Ý",yen:"¥",yuml:"ÿ"},A={0:"�",128:"€",130:"‚",131:"ƒ",132:"„",133:"…",134:"†",135:"‡",136:"ˆ",137:"‰",138:"Š",139:"‹",140:"Œ",142:"Ž",145:"‘",146:"’",147:"“",148:"”",149:"•",150:"–",151:"—",152:"˜",153:"™",154:"š",155:"›",156:"œ",158:"ž",159:"Ÿ"},v=[1,2,3,4,5,6,7,8,11,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,64976,64977,64978,64979,64980,64981,64982,64983,64984,64985,64986,64987,64988,64989,64990,64991,64992,64993,64994,64995,64996,64997,64998,64999,65e3,65001,65002,65003,65004,65005,65006,65007,65534,65535,131070,131071,196606,196607,262142,262143,327678,327679,393214,393215,458750,458751,524286,524287,589822,589823,655358,655359,720894,720895,786430,786431,851966,851967,917502,917503,983038,983039,1048574,1048575,1114110,1114111],b=String.fromCharCode,C={}.hasOwnProperty,w=function(e,t){return C.call(e,t)},y=function(e,t){if(!e)return t;var r,n={};for(r in t)n[r]=w(e,r)?e[r]:t[r];return n},x=function(e,t){var r="";return e>=55296&&e<=57343||e>1114111?(t&&E("character reference outside the permissible Unicode range"),"�"):w(A,e)?(t&&E("disallowed character reference"),A[e]):(t&&function(e,t){for(var r=-1,n=e.length;++r<n;)if(e[r]==t)return!0;return!1}(v,e)&&E("disallowed character reference"),e>65535&&(r+=b((e-=65536)>>>10&1023|55296),e=56320|1023&e),r+=b(e))},k=function(e){return"&#x"+e.toString(16).toUpperCase()+";"},B=function(e){return"&#"+e+";"},E=function(e){throw Error("Parse error: "+e)},S=function(e,t){(t=y(t,S.options)).strict&&f.test(e)&&E("forbidden code point");var r=t.encodeEverything,n=t.useNamedReferences,o=t.allowUnsafeSymbols,d=t.decimal?B:k,p=function(e){return d(e.charCodeAt(0))};return r?(e=e.replace(i,function(e){return n&&w(c,e)?"&"+c[e]+";":p(e)}),n&&(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒").replace(/fj/g,"fj")),n&&(e=e.replace(l,function(e){return"&"+c[e]+";"}))):n?(o||(e=e.replace(u,function(e){return"&"+c[e]+";"})),e=(e=e.replace(/>\u20D2/g,">⃒").replace(/<\u20D2/g,"<⃒")).replace(l,function(e){return"&"+c[e]+";"})):o||(e=e.replace(u,p)),e.replace(a,function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return d(1024*(t-55296)+r-56320+65536)}).replace(s,p)};S.options={allowUnsafeSymbols:!1,encodeEverything:!1,strict:!1,useNamedReferences:!1,decimal:!1};var _=function(e,t){var r=(t=y(t,_.options)).strict;return r&&p.test(e)&&E("malformed character reference"),e.replace(g,function(e,n,o,a,i,s,l,c,u){var d,p,f,g,A,v;return n?h[A=n]:o?(A=o,(v=a)&&t.isAttributeValue?(r&&"="==v&&E("`&` did not start a character reference"),e):(r&&E("named character reference was not terminated by a semicolon"),m[A]+(v||""))):i?(f=i,p=s,r&&!p&&E("character reference was not terminated by a semicolon"),d=parseInt(f,10),x(d,r)):l?(g=l,p=c,r&&!p&&E("character reference was not terminated by a semicolon"),d=parseInt(g,16),x(d,r)):(r&&E("named character reference was not terminated by a semicolon"),e)})};_.options={isAttributeValue:!1,strict:!1};var O={version:"1.2.0",encode:S,decode:_,escape:function(e){return e.replace(u,function(e){return d[e]})},unescape:_};void 0===(n=function(){return O}.call(t,r,t,e))||(e.exports=n)}()},6151:function(e){var t=1e3,r=60*t,n=60*r,o=24*n,a=7*o;function i(e,t,r,n){var o=t>=1.5*r;return Math.round(e/r)+" "+n+(o?"s":"")}e.exports=function(e,s){s=s||{};var l,c,u=typeof e;if("string"===u&&e.length>0)return function(e){if(!((e=String(e)).length>100)){var i=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(i){var s=parseFloat(i[1]);switch((i[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*s;case"weeks":case"week":case"w":return s*a;case"days":case"day":case"d":return s*o;case"hours":case"hour":case"hrs":case"hr":case"h":return s*n;case"minutes":case"minute":case"mins":case"min":case"m":return s*r;case"seconds":case"second":case"secs":case"sec":case"s":return s*t;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return s;default:return}}}}(e);if("number"===u&&isFinite(e))return s.long?(l=e,(c=Math.abs(l))>=o?i(l,c,o,"day"):c>=n?i(l,c,n,"hour"):c>=r?i(l,c,r,"minute"):c>=t?i(l,c,t,"second"):l+" ms"):function(e){var a=Math.abs(e);return a>=o?Math.round(e/o)+"d":a>=n?Math.round(e/n)+"h":a>=r?Math.round(e/r)+"m":a>=t?Math.round(e/t)+"s":e+"ms"}(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},628:function(e,t,r){"use strict";var n=r(4067);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,r,o,a,i){if(i!==n){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var r={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return r.PropTypes=r,r}},5826:function(e,t,r){e.exports=r(628)()},4067:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},7045:function(e,t,r){"use strict";var n=r(7810),o=r(2328);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r<arguments.length;r++)t+="&args[]="+encodeURIComponent(arguments[r]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)i.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},g={};function h(e,t,r,n,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=n,this.attributeNamespace=o,this.mustUseProperty=r,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){m[e]=new h(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];m[t]=new h(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){m[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){m[e]=new h(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){m[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){m[e]=new h(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){m[e]=new h(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){m[e]=new h(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){m[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)});var A=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function b(e,t,r,n){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:n||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,r,n){if(null==t||function(e,t,r,n){if(null!==r&&0===r.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!n&&(null!==r?!r.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,r,n))return!0;if(n)return!1;if(null!==r)switch(r.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,r,o,n)&&(r=null),n||null===o?function(e){return!!d.call(g,e)||!d.call(f,e)&&(p.test(e)?g[e]=!0:(f[e]=!0,!1))}(t)&&(null===r?e.removeAttribute(t):e.setAttribute(t,""+r)):o.mustUseProperty?e[o.propertyName]=null===r?3!==o.type&&"":r:(t=o.attributeName,n=o.attributeNamespace,null===r?e.removeAttribute(t):(r=3===(o=o.type)||4===o&&!0===r?"":""+r,n?e.setAttributeNS(n,t,r):e.setAttribute(t,r))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(A,v);m[t]=new h(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(A,v);m[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(A,v);m[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)}),m.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){m[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=Symbol.for("react.element"),y=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),B=Symbol.for("react.profiler"),E=Symbol.for("react.provider"),S=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),N=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var T=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var j=Symbol.iterator;function L(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=j&&e[j]||e["@@iterator"])?e:null}var F,M=Object.assign;function P(e){if(void 0===F)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);F=t&&t[1]||""}return"\n"+F+e}var I=!1;function q(e,t){if(!e||I)return"";I=!0;var r=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var n=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){n=e}e.call(t.prototype)}else{try{throw Error()}catch(e){n=e}e()}}catch(t){if(t&&n&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=n.stack.split("\n"),i=o.length-1,s=a.length-1;1<=i&&0<=s&&o[i]!==a[s];)s--;for(;1<=i&&0<=s;i--,s--)if(o[i]!==a[s]){if(1!==i||1!==s)do{if(i--,0>--s||o[i]!==a[s]){var l="\n"+o[i].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=i&&0<=s);break}}}finally{I=!1,Error.prepareStackTrace=r}return(e=e?e.displayName||e.name:"")?P(e):""}function z(e){switch(e.tag){case 5:return P(e.type);case 16:return P("Lazy");case 13:return P("Suspense");case 19:return P("SuspenseList");case 0:case 2:case 15:return q(e.type,!1);case 11:return q(e.type.render,!1);case 1:return q(e.type,!0);default:return""}}function U(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case y:return"Portal";case B:return"Profiler";case k:return"StrictMode";case O:return"Suspense";case D:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case S:return(e.displayName||"Context")+".Consumer";case E:return(e._context.displayName||"Context")+".Provider";case _:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case N:return null!==(t=e.displayName||null)?t:U(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return U(e(t))}catch(e){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return U(t);case 8:return t===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function V(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function H(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",r=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),n=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==r&&"function"==typeof r.get&&"function"==typeof r.set){var o=r.get,a=r.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){n=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:r.enumerable}),{getValue:function(){return n},setValue:function(e){n=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function G(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var r=t.getValue(),n="";return e&&(n=W(e)?e.checked?"true":"false":e.value),(e=n)!==r&&(t.setValue(e),!0)}function K(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var r=t.checked;return M({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=r?r:e._wrapperState.initialChecked})}function X(e,t){var r=null==t.defaultValue?"":t.defaultValue,n=null!=t.checked?t.checked:t.defaultChecked;r=V(null!=t.value?t.value:r),e._wrapperState={initialChecked:n,initialValue:r,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){Q(e,t);var r=V(t.value),n=t.type;if(null!=r)"number"===n?(0===r&&""===e.value||e.value!=r)&&(e.value=""+r):e.value!==""+r&&(e.value=""+r);else if("submit"===n||"reset"===n)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,r):t.hasOwnProperty("defaultValue")&&ee(e,t.type,V(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,r){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var n=t.type;if(!("submit"!==n&&"reset"!==n||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,r||t===e.value||(e.value=t),e.defaultValue=t}""!==(r=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==r&&(e.name=r)}function ee(e,t,r){"number"===t&&K(e.ownerDocument)===e||(null==r?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+r&&(e.defaultValue=""+r))}var te=Array.isArray;function re(e,t,r,n){if(e=e.options,t){t={};for(var o=0;o<r.length;o++)t["$"+r[o]]=!0;for(r=0;r<e.length;r++)o=t.hasOwnProperty("$"+e[r].value),e[r].selected!==o&&(e[r].selected=o),o&&n&&(e[r].defaultSelected=!0)}else{for(r=""+V(r),t=null,o=0;o<e.length;o++){if(e[o].value===r)return e[o].selected=!0,void(n&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function ne(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return M({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var r=t.value;if(null==r){if(r=t.children,t=t.defaultValue,null!=r){if(null!=t)throw Error(a(92));if(te(r)){if(1<r.length)throw Error(a(93));r=r[0]}t=r}null==t&&(t=""),r=t}e._wrapperState={initialValue:V(r)}}function ae(e,t){var r=V(t.value),n=V(t.defaultValue);null!=r&&((r=""+r)!==e.value&&(e.value=r),null==t.defaultValue&&e.defaultValue!==r&&(e.defaultValue=r)),null!=n&&(e.defaultValue=""+n)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,r,n){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function pe(e,t){if(t){var r=e.firstChild;if(r&&r===e.lastChild&&3===r.nodeType)return void(r.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ge=["Webkit","ms","Moz","O"];function he(e,t,r){return null==t||"boolean"==typeof t||""===t?"":r||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function me(e,t){for(var r in e=e.style,t)if(t.hasOwnProperty(r)){var n=0===r.indexOf("--"),o=he(r,t[r],n);"float"===r&&(r="cssFloat"),n?e.setProperty(r,o):e[r]=o}}Object.keys(fe).forEach(function(e){ge.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]})});var Ae=M({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ve(e,t){if(t){if(Ae[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function we(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ye=null,xe=null,ke=null;function Be(e){if(e=Co(e)){if("function"!=typeof ye)throw Error(a(280));var t=e.stateNode;t&&(t=yo(t),ye(e.stateNode,e.type,t))}}function Ee(e){xe?ke?ke.push(e):ke=[e]:xe=e}function Se(){if(xe){var e=xe,t=ke;if(ke=xe=null,Be(e),t)for(e=0;e<t.length;e++)Be(t[e])}}function _e(e,t){return e(t)}function Oe(){}var De=!1;function Ne(e,t,r){if(De)return e(t,r);De=!0;try{return _e(e,t,r)}finally{De=!1,(null!==xe||null!==ke)&&(Oe(),Se())}}function Re(e,t){var r=e.stateNode;if(null===r)return null;var n=yo(r);if(null===n)return null;r=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(n=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!n;break e;default:e=!1}if(e)return null;if(r&&"function"!=typeof r)throw Error(a(231,t,typeof r));return r}var Te=!1;if(u)try{var je={};Object.defineProperty(je,"passive",{get:function(){Te=!0}}),window.addEventListener("test",je,je),window.removeEventListener("test",je,je)}catch(ue){Te=!1}function Le(e,t,r,n,o,a,i,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(r,c)}catch(e){this.onError(e)}}var Fe=!1,Me=null,Pe=!1,Ie=null,qe={onError:function(e){Fe=!0,Me=e}};function ze(e,t,r,n,o,a,i,s,l){Fe=!1,Me=null,Le.apply(qe,arguments)}function Ue(e){var t=e,r=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(r=t.return),e=t.return}while(e)}return 3===t.tag?r:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Ve(e){if(Ue(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ue(e)))throw Error(a(188));return t!==e?null:e}for(var r=e,n=t;;){var o=r.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(n=o.return)){r=n;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===r)return Ve(o),e;if(i===n)return Ve(o),t;i=i.sibling}throw Error(a(188))}if(r.return!==n.return)r=o,n=i;else{for(var s=!1,l=o.child;l;){if(l===r){s=!0,r=o,n=i;break}if(l===n){s=!0,n=o,r=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===r){s=!0,r=i,n=o;break}if(l===n){s=!0,n=i,r=o;break}l=l.sibling}if(!s)throw Error(a(189))}}if(r.alternate!==n)throw Error(a(190))}if(3!==r.tag)throw Error(a(188));return r.stateNode.current===r?e:t}(e))?He(e):null}function He(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=He(e);if(null!==t)return t;e=e.sibling}return null}var Ge=o.unstable_scheduleCallback,Ke=o.unstable_cancelCallback,Ye=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Qe=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,rt=o.unstable_LowPriority,nt=o.unstable_IdlePriority,ot=null,at=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function pt(e,t){var r=e.pendingLanes;if(0===r)return 0;var n=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&r;if(0!==i){var s=i&~o;0!==s?n=dt(s):0!==(a&=i)&&(n=dt(a))}else 0!==(i=r&~o)?n=dt(i):0!==a&&(n=dt(a));if(0===n)return 0;if(0!==t&&t!==n&&0===(t&o)&&((o=n&-n)>=(a=t&-t)||16===o&&4194240&a))return t;if(4&n&&(n|=16&r),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=n;0<t;)o=1<<(r=31-it(t)),n|=e[r],t&=~o;return n}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function gt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function mt(e){for(var t=[],r=0;31>r;r++)t.push(e);return t}function At(e,t,r){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=r}function vt(e,t){var r=e.entangledLanes|=t;for(e=e.entanglements;r;){var n=31-it(r),o=1<<n;o&t|e[n]&t&&(e[n]|=t),r&=~o}}var bt=0;function Ct(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var wt,yt,xt,kt,Bt,Et=!1,St=[],_t=null,Ot=null,Dt=null,Nt=new Map,Rt=new Map,Tt=[],jt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Lt(e,t){switch(e){case"focusin":case"focusout":_t=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Dt=null;break;case"pointerover":case"pointerout":Nt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Ft(e,t,r,n,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:r,eventSystemFlags:n,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=Co(t))&&yt(t),e):(e.eventSystemFlags|=n,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Mt(e){var t=bo(e.target);if(null!==t){var r=Ue(t);if(null!==r)if(13===(t=r.tag)){if(null!==(t=$e(r)))return e.blockedOn=t,void Bt(e.priority,function(){xt(r)})}else if(3===t&&r.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===r.tag?r.stateNode.containerInfo:null)}e.blockedOn=null}function Pt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var r=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==r)return null!==(t=Co(r))&&yt(t),e.blockedOn=r,!1;var n=new(r=e.nativeEvent).constructor(r.type,r);Ce=n,r.target.dispatchEvent(n),Ce=null,t.shift()}return!0}function It(e,t,r){Pt(e)&&r.delete(t)}function qt(){Et=!1,null!==_t&&Pt(_t)&&(_t=null),null!==Ot&&Pt(Ot)&&(Ot=null),null!==Dt&&Pt(Dt)&&(Dt=null),Nt.forEach(It),Rt.forEach(It)}function zt(e,t){e.blockedOn===t&&(e.blockedOn=null,Et||(Et=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,qt)))}function Ut(e){function t(t){return zt(t,e)}if(0<St.length){zt(St[0],e);for(var r=1;r<St.length;r++){var n=St[r];n.blockedOn===e&&(n.blockedOn=null)}}for(null!==_t&&zt(_t,e),null!==Ot&&zt(Ot,e),null!==Dt&&zt(Dt,e),Nt.forEach(t),Rt.forEach(t),r=0;r<Tt.length;r++)(n=Tt[r]).blockedOn===e&&(n.blockedOn=null);for(;0<Tt.length&&null===(r=Tt[0]).blockedOn;)Mt(r),null===r.blockedOn&&Tt.shift()}var $t=C.ReactCurrentBatchConfig,Vt=!0;function Wt(e,t,r,n){var o=bt,a=$t.transition;$t.transition=null;try{bt=1,Gt(e,t,r,n)}finally{bt=o,$t.transition=a}}function Ht(e,t,r,n){var o=bt,a=$t.transition;$t.transition=null;try{bt=4,Gt(e,t,r,n)}finally{bt=o,$t.transition=a}}function Gt(e,t,r,n){if(Vt){var o=Yt(e,t,r,n);if(null===o)Vn(e,t,n,Kt,r),Lt(e,n);else if(function(e,t,r,n,o){switch(t){case"focusin":return _t=Ft(_t,e,t,r,n,o),!0;case"dragenter":return Ot=Ft(Ot,e,t,r,n,o),!0;case"mouseover":return Dt=Ft(Dt,e,t,r,n,o),!0;case"pointerover":var a=o.pointerId;return Nt.set(a,Ft(Nt.get(a)||null,e,t,r,n,o)),!0;case"gotpointercapture":return a=o.pointerId,Rt.set(a,Ft(Rt.get(a)||null,e,t,r,n,o)),!0}return!1}(o,e,t,r,n))n.stopPropagation();else if(Lt(e,n),4&t&&-1<jt.indexOf(e)){for(;null!==o;){var a=Co(o);if(null!==a&&wt(a),null===(a=Yt(e,t,r,n))&&Vn(e,t,n,Kt,r),a===o)break;o=a}null!==o&&n.stopPropagation()}else Vn(e,t,n,null,r)}}var Kt=null;function Yt(e,t,r,n){if(Kt=null,null!==(e=bo(e=we(n))))if(null===(t=Ue(e)))e=null;else if(13===(r=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===r){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Kt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case rt:return 16;case nt:return 536870912;default:return 16}default:return 16}}var Qt=null,Zt=null,Jt=null;function er(){if(Jt)return Jt;var e,t,r=Zt,n=r.length,o="value"in Qt?Qt.value:Qt.textContent,a=o.length;for(e=0;e<n&&r[e]===o[e];e++);var i=n-e;for(t=1;t<=i&&r[n-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tr(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rr(){return!0}function nr(){return!1}function or(e){function t(t,r,n,o,a){for(var i in this._reactName=t,this._targetInst=n,this.type=r,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?rr:nr,this.isPropagationStopped=nr,this}return M(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rr)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rr)},persist:function(){},isPersistent:rr}),t}var ar,ir,sr,lr={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cr=or(lr),ur=M({},lr,{view:0,detail:0}),dr=or(ur),pr=M({},ur,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:kr,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==sr&&(sr&&"mousemove"===e.type?(ar=e.screenX-sr.screenX,ir=e.screenY-sr.screenY):ir=ar=0,sr=e),ar)},movementY:function(e){return"movementY"in e?e.movementY:ir}}),fr=or(pr),gr=or(M({},pr,{dataTransfer:0})),hr=or(M({},ur,{relatedTarget:0})),mr=or(M({},lr,{animationName:0,elapsedTime:0,pseudoElement:0})),Ar=M({},lr,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),vr=or(Ar),br=or(M({},lr,{data:0})),Cr={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wr={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},yr={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function xr(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=yr[e])&&!!t[e]}function kr(){return xr}var Br=M({},ur,{key:function(e){if(e.key){var t=Cr[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tr(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wr[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:kr,charCode:function(e){return"keypress"===e.type?tr(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tr(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Er=or(Br),Sr=or(M({},pr,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),_r=or(M({},ur,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:kr})),Or=or(M({},lr,{propertyName:0,elapsedTime:0,pseudoElement:0})),Dr=M({},pr,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nr=or(Dr),Rr=[9,13,27,32],Tr=u&&"CompositionEvent"in window,jr=null;u&&"documentMode"in document&&(jr=document.documentMode);var Lr=u&&"TextEvent"in window&&!jr,Fr=u&&(!Tr||jr&&8<jr&&11>=jr),Mr=String.fromCharCode(32),Pr=!1;function Ir(e,t){switch(e){case"keyup":return-1!==Rr.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qr(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var zr=!1,Ur={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function $r(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Ur[e.type]:"textarea"===t}function Vr(e,t,r,n){Ee(n),0<(t=Hn(t,"onChange")).length&&(r=new cr("onChange","change",null,r,n),e.push({event:r,listeners:t}))}var Wr=null,Hr=null;function Gr(e){Pn(e,0)}function Kr(e){if(G(wo(e)))return e}function Yr(e,t){if("change"===e)return t}var Xr=!1;if(u){var Qr;if(u){var Zr="oninput"in document;if(!Zr){var Jr=document.createElement("div");Jr.setAttribute("oninput","return;"),Zr="function"==typeof Jr.oninput}Qr=Zr}else Qr=!1;Xr=Qr&&(!document.documentMode||9<document.documentMode)}function en(){Wr&&(Wr.detachEvent("onpropertychange",tn),Hr=Wr=null)}function tn(e){if("value"===e.propertyName&&Kr(Hr)){var t=[];Vr(t,Hr,e,we(e)),Ne(Gr,t)}}function rn(e,t,r){"focusin"===e?(en(),Hr=r,(Wr=t).attachEvent("onpropertychange",tn)):"focusout"===e&&en()}function nn(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Kr(Hr)}function on(e,t){if("click"===e)return Kr(t)}function an(e,t){if("input"===e||"change"===e)return Kr(t)}var sn="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function ln(e,t){if(sn(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var r=Object.keys(e),n=Object.keys(t);if(r.length!==n.length)return!1;for(n=0;n<r.length;n++){var o=r[n];if(!d.call(t,o)||!sn(e[o],t[o]))return!1}return!0}function cn(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function un(e,t){var r,n=cn(e);for(e=0;n;){if(3===n.nodeType){if(r=e+n.textContent.length,e<=t&&r>=t)return{node:n,offset:t-e};e=r}e:{for(;n;){if(n.nextSibling){n=n.nextSibling;break e}n=n.parentNode}n=void 0}n=cn(n)}}function dn(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dn(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pn(){for(var e=window,t=K();t instanceof e.HTMLIFrameElement;){try{var r="string"==typeof t.contentWindow.location.href}catch(e){r=!1}if(!r)break;t=K((e=t.contentWindow).document)}return t}function fn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function gn(e){var t=pn(),r=e.focusedElem,n=e.selectionRange;if(t!==r&&r&&r.ownerDocument&&dn(r.ownerDocument.documentElement,r)){if(null!==n&&fn(r))if(t=n.start,void 0===(e=n.end)&&(e=t),"selectionStart"in r)r.selectionStart=t,r.selectionEnd=Math.min(e,r.value.length);else if((e=(t=r.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=r.textContent.length,a=Math.min(n.start,o);n=void 0===n.end?a:Math.min(n.end,o),!e.extend&&a>n&&(o=n,n=a,a=o),o=un(r,a);var i=un(r,n);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>n?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=r;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof r.focus&&r.focus(),r=0;r<t.length;r++)(e=t[r]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var hn=u&&"documentMode"in document&&11>=document.documentMode,mn=null,An=null,vn=null,bn=!1;function Cn(e,t,r){var n=r.window===r?r.document:9===r.nodeType?r:r.ownerDocument;bn||null==mn||mn!==K(n)||(n="selectionStart"in(n=mn)&&fn(n)?{start:n.selectionStart,end:n.selectionEnd}:{anchorNode:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset},vn&&ln(vn,n)||(vn=n,0<(n=Hn(An,"onSelect")).length&&(t=new cr("onSelect","select",null,t,r),e.push({event:t,listeners:n}),t.target=mn)))}function wn(e,t){var r={};return r[e.toLowerCase()]=t.toLowerCase(),r["Webkit"+e]="webkit"+t,r["Moz"+e]="moz"+t,r}var yn={animationend:wn("Animation","AnimationEnd"),animationiteration:wn("Animation","AnimationIteration"),animationstart:wn("Animation","AnimationStart"),transitionend:wn("Transition","TransitionEnd")},xn={},kn={};function Bn(e){if(xn[e])return xn[e];if(!yn[e])return e;var t,r=yn[e];for(t in r)if(r.hasOwnProperty(t)&&t in kn)return xn[e]=r[t];return e}u&&(kn=document.createElement("div").style,"AnimationEvent"in window||(delete yn.animationend.animation,delete yn.animationiteration.animation,delete yn.animationstart.animation),"TransitionEvent"in window||delete yn.transitionend.transition);var En=Bn("animationend"),Sn=Bn("animationiteration"),_n=Bn("animationstart"),On=Bn("transitionend"),Dn=new Map,Nn="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Rn(e,t){Dn.set(e,t),l(t,[e])}for(var Tn=0;Tn<Nn.length;Tn++){var jn=Nn[Tn];Rn(jn.toLowerCase(),"on"+(jn[0].toUpperCase()+jn.slice(1)))}Rn(En,"onAnimationEnd"),Rn(Sn,"onAnimationIteration"),Rn(_n,"onAnimationStart"),Rn("dblclick","onDoubleClick"),Rn("focusin","onFocus"),Rn("focusout","onBlur"),Rn(On,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ln="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Fn=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ln));function Mn(e,t,r){var n=e.type||"unknown-event";e.currentTarget=r,function(e,t,r,n,o,i,s,l,c){if(ze.apply(this,arguments),Fe){if(!Fe)throw Error(a(198));var u=Me;Fe=!1,Me=null,Pe||(Pe=!0,Ie=u)}}(n,t,void 0,e),e.currentTarget=null}function Pn(e,t){t=!!(4&t);for(var r=0;r<e.length;r++){var n=e[r],o=n.event;n=n.listeners;e:{var a=void 0;if(t)for(var i=n.length-1;0<=i;i--){var s=n[i],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&o.isPropagationStopped())break e;Mn(o,s,c),a=l}else for(i=0;i<n.length;i++){if(l=(s=n[i]).instance,c=s.currentTarget,s=s.listener,l!==a&&o.isPropagationStopped())break e;Mn(o,s,c),a=l}}}if(Pe)throw e=Ie,Pe=!1,Ie=null,e}function In(e,t){var r=t[mo];void 0===r&&(r=t[mo]=new Set);var n=e+"__bubble";r.has(n)||($n(t,e,2,!1),r.add(n))}function qn(e,t,r){var n=0;t&&(n|=4),$n(r,e,n,t)}var zn="_reactListening"+Math.random().toString(36).slice(2);function Un(e){if(!e[zn]){e[zn]=!0,i.forEach(function(t){"selectionchange"!==t&&(Fn.has(t)||qn(t,!1,e),qn(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[zn]||(t[zn]=!0,qn("selectionchange",!1,t))}}function $n(e,t,r,n){switch(Xt(t)){case 1:var o=Wt;break;case 4:o=Ht;break;default:o=Gt}r=o.bind(null,t,r,e),o=void 0,!Te||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),n?void 0!==o?e.addEventListener(t,r,{capture:!0,passive:o}):e.addEventListener(t,r,!0):void 0!==o?e.addEventListener(t,r,{passive:o}):e.addEventListener(t,r,!1)}function Vn(e,t,r,n,o){var a=n;if(!(1&t||2&t||null===n))e:for(;;){if(null===n)return;var i=n.tag;if(3===i||4===i){var s=n.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===i)for(i=n.return;null!==i;){var l=i.tag;if((3===l||4===l)&&((l=i.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;i=i.return}for(;null!==s;){if(null===(i=bo(s)))return;if(5===(l=i.tag)||6===l){n=a=i;continue e}s=s.parentNode}}n=n.return}Ne(function(){var n=a,o=we(r),i=[];e:{var s=Dn.get(e);if(void 0!==s){var l=cr,c=e;switch(e){case"keypress":if(0===tr(r))break e;case"keydown":case"keyup":l=Er;break;case"focusin":c="focus",l=hr;break;case"focusout":c="blur",l=hr;break;case"beforeblur":case"afterblur":l=hr;break;case"click":if(2===r.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=fr;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=gr;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=_r;break;case En:case Sn:case _n:l=mr;break;case On:l=Or;break;case"scroll":l=dr;break;case"wheel":l=Nr;break;case"copy":case"cut":case"paste":l=vr;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Sr}var u=!!(4&t),d=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var f,g=n;null!==g;){var h=(f=g).stateNode;if(5===f.tag&&null!==h&&(f=h,null!==p&&null!=(h=Re(g,p))&&u.push(Wn(g,h,f))),d)break;g=g.return}0<u.length&&(s=new l(s,c,null,r,o),i.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||r===Ce||!(c=r.relatedTarget||r.fromElement)||!bo(c)&&!c[ho])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=n,null!==(c=(c=r.relatedTarget||r.toElement)?bo(c):null)&&(c!==(d=Ue(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=n),l!==c)){if(u=fr,h="onMouseLeave",p="onMouseEnter",g="mouse","pointerout"!==e&&"pointerover"!==e||(u=Sr,h="onPointerLeave",p="onPointerEnter",g="pointer"),d=null==l?s:wo(l),f=null==c?s:wo(c),(s=new u(h,g+"leave",l,r,o)).target=d,s.relatedTarget=f,h=null,bo(o)===n&&((u=new u(p,g+"enter",c,r,o)).target=f,u.relatedTarget=d,h=u),d=h,l&&c)e:{for(p=c,g=0,f=u=l;f;f=Gn(f))g++;for(f=0,h=p;h;h=Gn(h))f++;for(;0<g-f;)u=Gn(u),g--;for(;0<f-g;)p=Gn(p),f--;for(;g--;){if(u===p||null!==p&&u===p.alternate)break e;u=Gn(u),p=Gn(p)}u=null}else u=null;null!==l&&Kn(i,s,l,u,!1),null!==c&&null!==d&&Kn(i,d,c,u,!0)}if("select"===(l=(s=n?wo(n):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Yr;else if($r(s))if(Xr)m=an;else{m=nn;var A=rn}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=on);switch(m&&(m=m(e,n))?Vr(i,m,r,o):(A&&A(e,s,n),"focusout"===e&&(A=s._wrapperState)&&A.controlled&&"number"===s.type&&ee(s,"number",s.value)),A=n?wo(n):window,e){case"focusin":($r(A)||"true"===A.contentEditable)&&(mn=A,An=n,vn=null);break;case"focusout":vn=An=mn=null;break;case"mousedown":bn=!0;break;case"contextmenu":case"mouseup":case"dragend":bn=!1,Cn(i,r,o);break;case"selectionchange":if(hn)break;case"keydown":case"keyup":Cn(i,r,o)}var v;if(Tr)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else zr?Ir(e,r)&&(b="onCompositionEnd"):"keydown"===e&&229===r.keyCode&&(b="onCompositionStart");b&&(Fr&&"ko"!==r.locale&&(zr||"onCompositionStart"!==b?"onCompositionEnd"===b&&zr&&(v=er()):(Zt="value"in(Qt=o)?Qt.value:Qt.textContent,zr=!0)),0<(A=Hn(n,b)).length&&(b=new br(b,e,null,r,o),i.push({event:b,listeners:A}),(v||null!==(v=qr(r)))&&(b.data=v))),(v=Lr?function(e,t){switch(e){case"compositionend":return qr(t);case"keypress":return 32!==t.which?null:(Pr=!0,Mr);case"textInput":return(e=t.data)===Mr&&Pr?null:e;default:return null}}(e,r):function(e,t){if(zr)return"compositionend"===e||!Tr&&Ir(e,t)?(e=er(),Jt=Zt=Qt=null,zr=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fr&&"ko"!==t.locale?null:t.data}}(e,r))&&0<(n=Hn(n,"onBeforeInput")).length&&(o=new br("onBeforeInput","beforeinput",null,r,o),i.push({event:o,listeners:n}),o.data=v)}Pn(i,t)})}function Wn(e,t,r){return{instance:e,listener:t,currentTarget:r}}function Hn(e,t){for(var r=t+"Capture",n=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,r))&&n.unshift(Wn(e,a,o)),null!=(a=Re(e,t))&&n.push(Wn(e,a,o))),e=e.return}return n}function Gn(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kn(e,t,r,n,o){for(var a=t._reactName,i=[];null!==r&&r!==n;){var s=r,l=s.alternate,c=s.stateNode;if(null!==l&&l===n)break;5===s.tag&&null!==c&&(s=c,o?null!=(l=Re(r,a))&&i.unshift(Wn(r,l,s)):o||null!=(l=Re(r,a))&&i.push(Wn(r,l,s))),r=r.return}0!==i.length&&e.push({event:t,listeners:i})}var Yn=/\r\n?/g,Xn=/\u0000|\uFFFD/g;function Qn(e){return("string"==typeof e?e:""+e).replace(Yn,"\n").replace(Xn,"")}function Zn(e,t,r){if(t=Qn(t),Qn(e)!==t&&r)throw Error(a(425))}function Jn(){}var eo=null,to=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var no="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,ao="function"==typeof Promise?Promise:void 0,io="function"==typeof queueMicrotask?queueMicrotask:void 0!==ao?function(e){return ao.resolve(null).then(e).catch(so)}:no;function so(e){setTimeout(function(){throw e})}function lo(e,t){var r=t,n=0;do{var o=r.nextSibling;if(e.removeChild(r),o&&8===o.nodeType)if("/$"===(r=o.data)){if(0===n)return e.removeChild(o),void Ut(t);n--}else"$"!==r&&"$?"!==r&&"$!"!==r||n++;r=o}while(r);Ut(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function uo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var r=e.data;if("$"===r||"$!"===r||"$?"===r){if(0===t)return e;t--}else"/$"===r&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),fo="__reactFiber$"+po,go="__reactProps$"+po,ho="__reactContainer$"+po,mo="__reactEvents$"+po,Ao="__reactListeners$"+po,vo="__reactHandles$"+po;function bo(e){var t=e[fo];if(t)return t;for(var r=e.parentNode;r;){if(t=r[ho]||r[fo]){if(r=t.alternate,null!==t.child||null!==r&&null!==r.child)for(e=uo(e);null!==e;){if(r=e[fo])return r;e=uo(e)}return t}r=(e=r).parentNode}return null}function Co(e){return!(e=e[fo]||e[ho])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function wo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function yo(e){return e[go]||null}var xo=[],ko=-1;function Bo(e){return{current:e}}function Eo(e){0>ko||(e.current=xo[ko],xo[ko]=null,ko--)}function So(e,t){ko++,xo[ko]=e.current,e.current=t}var _o={},Oo=Bo(_o),Do=Bo(!1),No=_o;function Ro(e,t){var r=e.type.contextTypes;if(!r)return _o;var n=e.stateNode;if(n&&n.__reactInternalMemoizedUnmaskedChildContext===t)return n.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in r)a[o]=t[o];return n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function To(e){return null!=e.childContextTypes}function jo(){Eo(Do),Eo(Oo)}function Lo(e,t,r){if(Oo.current!==_o)throw Error(a(168));So(Oo,t),So(Do,r)}function Fo(e,t,r){var n=e.stateNode;if(t=t.childContextTypes,"function"!=typeof n.getChildContext)return r;for(var o in n=n.getChildContext())if(!(o in t))throw Error(a(108,$(e)||"Unknown",o));return M({},r,n)}function Mo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||_o,No=Oo.current,So(Oo,e),So(Do,Do.current),!0}function Po(e,t,r){var n=e.stateNode;if(!n)throw Error(a(169));r?(e=Fo(e,t,No),n.__reactInternalMemoizedMergedChildContext=e,Eo(Do),Eo(Oo),So(Oo,e)):Eo(Do),So(Do,r)}var Io=null,qo=!1,zo=!1;function Uo(e){null===Io?Io=[e]:Io.push(e)}function $o(){if(!zo&&null!==Io){zo=!0;var e=0,t=bt;try{var r=Io;for(bt=1;e<r.length;e++){var n=r[e];do{n=n(!0)}while(null!==n)}Io=null,qo=!1}catch(t){throw null!==Io&&(Io=Io.slice(e+1)),Ge(Je,$o),t}finally{bt=t,zo=!1}}return null}var Vo=[],Wo=0,Ho=null,Go=0,Ko=[],Yo=0,Xo=null,Qo=1,Zo="";function Jo(e,t){Vo[Wo++]=Go,Vo[Wo++]=Ho,Ho=e,Go=t}function ea(e,t,r){Ko[Yo++]=Qo,Ko[Yo++]=Zo,Ko[Yo++]=Xo,Xo=e;var n=Qo;e=Zo;var o=32-it(n)-1;n&=~(1<<o),r+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(n&(1<<i)-1).toString(32),n>>=i,o-=i,Qo=1<<32-it(t)+o|r<<o|n,Zo=a+e}else Qo=1<<a|r<<o|n,Zo=e}function ta(e){null!==e.return&&(Jo(e,1),ea(e,1,0))}function ra(e){for(;e===Ho;)Ho=Vo[--Wo],Vo[Wo]=null,Go=Vo[--Wo],Vo[Wo]=null;for(;e===Xo;)Xo=Ko[--Yo],Ko[Yo]=null,Zo=Ko[--Yo],Ko[Yo]=null,Qo=Ko[--Yo],Ko[Yo]=null}var na=null,oa=null,aa=!1,ia=null;function sa(e,t){var r=Nc(5,null,null,0);r.elementType="DELETED",r.stateNode=t,r.return=e,null===(t=e.deletions)?(e.deletions=[r],e.flags|=16):t.push(r)}function la(e,t){switch(e.tag){case 5:var r=e.type;return null!==(t=1!==t.nodeType||r.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,oa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,oa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(r=null!==Xo?{id:Qo,overflow:Zo}:null,e.memoizedState={dehydrated:t,treeContext:r,retryLane:1073741824},(r=Nc(18,null,null,0)).stateNode=t,r.return=e,e.child=r,na=e,oa=null,!0);default:return!1}}function ca(e){return!(!(1&e.mode)||128&e.flags)}function ua(e){if(aa){var t=oa;if(t){var r=t;if(!la(e,t)){if(ca(e))throw Error(a(418));t=co(r.nextSibling);var n=na;t&&la(e,t)?sa(n,r):(e.flags=-4097&e.flags|2,aa=!1,na=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,aa=!1,na=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function pa(e){if(e!==na)return!1;if(!aa)return da(e),aa=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=oa)){if(ca(e))throw fa(),Error(a(418));for(;t;)sa(e,t),t=co(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var r=e.data;if("/$"===r){if(0===t){oa=co(e.nextSibling);break e}t--}else"$"!==r&&"$!"!==r&&"$?"!==r||t++}e=e.nextSibling}oa=null}}else oa=na?co(e.stateNode.nextSibling):null;return!0}function fa(){for(var e=oa;e;)e=co(e.nextSibling)}function ga(){oa=na=null,aa=!1}function ha(e){null===ia?ia=[e]:ia.push(e)}var ma=C.ReactCurrentBatchConfig;function Aa(e,t,r){if(null!==(e=r.ref)&&"function"!=typeof e&&"object"!=typeof e){if(r._owner){if(r=r._owner){if(1!==r.tag)throw Error(a(309));var n=r.stateNode}if(!n)throw Error(a(147,e));var o=n,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!r._owner)throw Error(a(290,e))}return e}function va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ba(e){return(0,e._init)(e._payload)}function Ca(e){function t(t,r){if(e){var n=t.deletions;null===n?(t.deletions=[r],t.flags|=16):n.push(r)}}function r(r,n){if(!e)return null;for(;null!==n;)t(r,n),n=n.sibling;return null}function n(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Tc(e,t)).index=0,e.sibling=null,e}function i(t,r,n){return t.index=n,e?null!==(n=t.alternate)?(n=n.index)<r?(t.flags|=2,r):n:(t.flags|=2,r):(t.flags|=1048576,r)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,r,n){return null===t||6!==t.tag?((t=Mc(r,e.mode,n)).return=e,t):((t=o(t,r)).return=e,t)}function c(e,t,r,n){var a=r.type;return a===x?d(e,t,r.props.children,n,r.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===R&&ba(a)===t.type)?((n=o(t,r.props)).ref=Aa(e,t,r),n.return=e,n):((n=jc(r.type,r.key,r.props,null,e.mode,n)).ref=Aa(e,t,r),n.return=e,n)}function u(e,t,r,n){return null===t||4!==t.tag||t.stateNode.containerInfo!==r.containerInfo||t.stateNode.implementation!==r.implementation?((t=Pc(r,e.mode,n)).return=e,t):((t=o(t,r.children||[])).return=e,t)}function d(e,t,r,n,a){return null===t||7!==t.tag?((t=Lc(r,e.mode,n,a)).return=e,t):((t=o(t,r)).return=e,t)}function p(e,t,r){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Mc(""+t,e.mode,r)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(r=jc(t.type,t.key,t.props,null,e.mode,r)).ref=Aa(e,null,t),r.return=e,r;case y:return(t=Pc(t,e.mode,r)).return=e,t;case R:return p(e,(0,t._init)(t._payload),r)}if(te(t)||L(t))return(t=Lc(t,e.mode,r,null)).return=e,t;va(e,t)}return null}function f(e,t,r,n){var o=null!==t?t.key:null;if("string"==typeof r&&""!==r||"number"==typeof r)return null!==o?null:l(e,t,""+r,n);if("object"==typeof r&&null!==r){switch(r.$$typeof){case w:return r.key===o?c(e,t,r,n):null;case y:return r.key===o?u(e,t,r,n):null;case R:return f(e,t,(o=r._init)(r._payload),n)}if(te(r)||L(r))return null!==o?null:d(e,t,r,n,null);va(e,r)}return null}function g(e,t,r,n,o){if("string"==typeof n&&""!==n||"number"==typeof n)return l(t,e=e.get(r)||null,""+n,o);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return c(t,e=e.get(null===n.key?r:n.key)||null,n,o);case y:return u(t,e=e.get(null===n.key?r:n.key)||null,n,o);case R:return g(e,t,r,(0,n._init)(n._payload),o)}if(te(n)||L(n))return d(t,e=e.get(r)||null,n,o,null);va(t,n)}return null}function h(o,a,s,l){for(var c=null,u=null,d=a,h=a=0,m=null;null!==d&&h<s.length;h++){d.index>h?(m=d,d=null):m=d.sibling;var A=f(o,d,s[h],l);if(null===A){null===d&&(d=m);break}e&&d&&null===A.alternate&&t(o,d),a=i(A,a,h),null===u?c=A:u.sibling=A,u=A,d=m}if(h===s.length)return r(o,d),aa&&Jo(o,h),c;if(null===d){for(;h<s.length;h++)null!==(d=p(o,s[h],l))&&(a=i(d,a,h),null===u?c=d:u.sibling=d,u=d);return aa&&Jo(o,h),c}for(d=n(o,d);h<s.length;h++)null!==(m=g(d,o,h,s[h],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?h:m.key),a=i(m,a,h),null===u?c=m:u.sibling=m,u=m);return e&&d.forEach(function(e){return t(o,e)}),aa&&Jo(o,h),c}function m(o,s,l,c){var u=L(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,h=s,m=s=0,A=null,v=l.next();null!==h&&!v.done;m++,v=l.next()){h.index>m?(A=h,h=null):A=h.sibling;var b=f(o,h,v.value,c);if(null===b){null===h&&(h=A);break}e&&h&&null===b.alternate&&t(o,h),s=i(b,s,m),null===d?u=b:d.sibling=b,d=b,h=A}if(v.done)return r(o,h),aa&&Jo(o,m),u;if(null===h){for(;!v.done;m++,v=l.next())null!==(v=p(o,v.value,c))&&(s=i(v,s,m),null===d?u=v:d.sibling=v,d=v);return aa&&Jo(o,m),u}for(h=n(o,h);!v.done;m++,v=l.next())null!==(v=g(h,o,m,v.value,c))&&(e&&null!==v.alternate&&h.delete(null===v.key?m:v.key),s=i(v,s,m),null===d?u=v:d.sibling=v,d=v);return e&&h.forEach(function(e){return t(o,e)}),aa&&Jo(o,m),u}return function e(n,a,i,l){if("object"==typeof i&&null!==i&&i.type===x&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case w:e:{for(var c=i.key,u=a;null!==u;){if(u.key===c){if((c=i.type)===x){if(7===u.tag){r(n,u.sibling),(a=o(u,i.props.children)).return=n,n=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===R&&ba(c)===u.type){r(n,u.sibling),(a=o(u,i.props)).ref=Aa(n,u,i),a.return=n,n=a;break e}r(n,u);break}t(n,u),u=u.sibling}i.type===x?((a=Lc(i.props.children,n.mode,l,i.key)).return=n,n=a):((l=jc(i.type,i.key,i.props,null,n.mode,l)).ref=Aa(n,a,i),l.return=n,n=l)}return s(n);case y:e:{for(u=i.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){r(n,a.sibling),(a=o(a,i.children||[])).return=n,n=a;break e}r(n,a);break}t(n,a),a=a.sibling}(a=Pc(i,n.mode,l)).return=n,n=a}return s(n);case R:return e(n,a,(u=i._init)(i._payload),l)}if(te(i))return h(n,a,i,l);if(L(i))return m(n,a,i,l);va(n,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(r(n,a.sibling),(a=o(a,i)).return=n,n=a):(r(n,a),(a=Mc(i,n.mode,l)).return=n,n=a),s(n)):r(n,a)}}var wa=Ca(!0),ya=Ca(!1),xa=Bo(null),ka=null,Ba=null,Ea=null;function Sa(){Ea=Ba=ka=null}function _a(e){var t=xa.current;Eo(xa),e._currentValue=t}function Oa(e,t,r){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==n&&(n.childLanes|=t)):null!==n&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===r)break;e=e.return}}function Da(e,t){ka=e,Ea=Ba=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Na(e){var t=e._currentValue;if(Ea!==e)if(e={context:e,memoizedValue:t,next:null},null===Ba){if(null===ka)throw Error(a(308));Ba=e,ka.dependencies={lanes:0,firstContext:e}}else Ba=Ba.next=e;return t}var Ra=null;function Ta(e){null===Ra?Ra=[e]:Ra.push(e)}function ja(e,t,r,n){var o=t.interleaved;return null===o?(r.next=r,Ta(t)):(r.next=o.next,o.next=r),t.interleaved=r,La(e,n)}function La(e,t){e.lanes|=t;var r=e.alternate;for(null!==r&&(r.lanes|=t),r=e,e=e.return;null!==e;)e.childLanes|=t,null!==(r=e.alternate)&&(r.childLanes|=t),r=e,e=e.return;return 3===r.tag?r.stateNode:null}var Fa=!1;function Ma(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Pa(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ia(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function qa(e,t,r){var n=e.updateQueue;if(null===n)return null;if(n=n.shared,2&_l){var o=n.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),n.pending=t,La(e,r)}return null===(o=n.interleaved)?(t.next=t,Ta(n)):(t.next=o.next,o.next=t),n.interleaved=t,La(e,r)}function za(e,t,r){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&r)){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}function Ua(e,t){var r=e.updateQueue,n=e.alternate;if(null!==n&&r===(n=n.updateQueue)){var o=null,a=null;if(null!==(r=r.firstBaseUpdate)){do{var i={eventTime:r.eventTime,lane:r.lane,tag:r.tag,payload:r.payload,callback:r.callback,next:null};null===a?o=a=i:a=a.next=i,r=r.next}while(null!==r);null===a?o=a=t:a=a.next=t}else o=a=t;return r={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:n.shared,effects:n.effects},void(e.updateQueue=r)}null===(e=r.lastBaseUpdate)?r.firstBaseUpdate=t:e.next=t,r.lastBaseUpdate=t}function $a(e,t,r,n){var o=e.updateQueue;Fa=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,c=l.next;l.next=null,null===i?a=c:i.next=c,i=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==i&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==a){var d=o.baseState;for(i=0,u=c=l=null,s=a;;){var p=s.lane,f=s.eventTime;if((n&p)===p){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var g=e,h=s;switch(p=t,f=r,h.tag){case 1:if("function"==typeof(g=h.payload)){d=g.call(f,d,p);break e}d=g;break e;case 3:g.flags=-65537&g.flags|128;case 0:if(null==(p="function"==typeof(g=h.payload)?g.call(f,d,p):g))break e;d=M({},d,p);break e;case 2:Fa=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(p=o.effects)?o.effects=[s]:p.push(s))}else f={eventTime:f,lane:p,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,i|=p;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(p=s).next,p.next=null,o.lastBaseUpdate=p,o.shared.pending=null}}if(null===u&&(l=d),o.baseState=l,o.firstBaseUpdate=c,o.lastBaseUpdate=u,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);Fl|=i,e.lanes=i,e.memoizedState=d}}function Va(e,t,r){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var n=e[t],o=n.callback;if(null!==o){if(n.callback=null,n=r,"function"!=typeof o)throw Error(a(191,o));o.call(n)}}}var Wa={},Ha=Bo(Wa),Ga=Bo(Wa),Ka=Bo(Wa);function Ya(e){if(e===Wa)throw Error(a(174));return e}function Xa(e,t){switch(So(Ka,t),So(Ga,e),So(Ha,Wa),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Eo(Ha),So(Ha,t)}function Qa(){Eo(Ha),Eo(Ga),Eo(Ka)}function Za(e){Ya(Ka.current);var t=Ya(Ha.current),r=le(t,e.type);t!==r&&(So(Ga,e),So(Ha,r))}function Ja(e){Ga.current===e&&(Eo(Ha),Eo(Ga))}var ei=Bo(0);function ti(e){for(var t=e;null!==t;){if(13===t.tag){var r=t.memoizedState;if(null!==r&&(null===(r=r.dehydrated)||"$?"===r.data||"$!"===r.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ri=[];function ni(){for(var e=0;e<ri.length;e++)ri[e]._workInProgressVersionPrimary=null;ri.length=0}var oi=C.ReactCurrentDispatcher,ai=C.ReactCurrentBatchConfig,ii=0,si=null,li=null,ci=null,ui=!1,di=!1,pi=0,fi=0;function gi(){throw Error(a(321))}function hi(e,t){if(null===t)return!1;for(var r=0;r<t.length&&r<e.length;r++)if(!sn(e[r],t[r]))return!1;return!0}function mi(e,t,r,n,o,i){if(ii=i,si=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,oi.current=null===e||null===e.memoizedState?Ji:es,e=r(n,o),di){i=0;do{if(di=!1,pi=0,25<=i)throw Error(a(301));i+=1,ci=li=null,t.updateQueue=null,oi.current=ts,e=r(n,o)}while(di)}if(oi.current=Zi,t=null!==li&&null!==li.next,ii=0,ci=li=si=null,ui=!1,t)throw Error(a(300));return e}function Ai(){var e=0!==pi;return pi=0,e}function vi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===ci?si.memoizedState=ci=e:ci=ci.next=e,ci}function bi(){if(null===li){var e=si.alternate;e=null!==e?e.memoizedState:null}else e=li.next;var t=null===ci?si.memoizedState:ci.next;if(null!==t)ci=t,li=e;else{if(null===e)throw Error(a(310));e={memoizedState:(li=e).memoizedState,baseState:li.baseState,baseQueue:li.baseQueue,queue:li.queue,next:null},null===ci?si.memoizedState=ci=e:ci=ci.next=e}return ci}function Ci(e,t){return"function"==typeof t?t(e):t}function wi(e){var t=bi(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=li,o=n.baseQueue,i=r.pending;if(null!==i){if(null!==o){var s=o.next;o.next=i.next,i.next=s}n.baseQueue=o=i,r.pending=null}if(null!==o){i=o.next,n=n.baseState;var l=s=null,c=null,u=i;do{var d=u.lane;if((ii&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),n=u.hasEagerState?u.eagerState:e(n,u.action);else{var p={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=p,s=n):c=c.next=p,si.lanes|=d,Fl|=d}u=u.next}while(null!==u&&u!==i);null===c?s=n:c.next=l,sn(n,t.memoizedState)||(bs=!0),t.memoizedState=n,t.baseState=s,t.baseQueue=c,r.lastRenderedState=n}if(null!==(e=r.interleaved)){o=e;do{i=o.lane,si.lanes|=i,Fl|=i,o=o.next}while(o!==e)}else null===o&&(r.lanes=0);return[t.memoizedState,r.dispatch]}function yi(e){var t=bi(),r=t.queue;if(null===r)throw Error(a(311));r.lastRenderedReducer=e;var n=r.dispatch,o=r.pending,i=t.memoizedState;if(null!==o){r.pending=null;var s=o=o.next;do{i=e(i,s.action),s=s.next}while(s!==o);sn(i,t.memoizedState)||(bs=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),r.lastRenderedState=i}return[i,n]}function xi(){}function ki(e,t){var r=si,n=bi(),o=t(),i=!sn(n.memoizedState,o);if(i&&(n.memoizedState=o,bs=!0),n=n.queue,Fi(Si.bind(null,r,n,e),[e]),n.getSnapshot!==t||i||null!==ci&&1&ci.memoizedState.tag){if(r.flags|=2048,Ni(9,Ei.bind(null,r,n,o,t),void 0,null),null===Ol)throw Error(a(349));30&ii||Bi(r,t,o)}return o}function Bi(e,t,r){e.flags|=16384,e={getSnapshot:t,value:r},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.stores=[e]):null===(r=t.stores)?t.stores=[e]:r.push(e)}function Ei(e,t,r,n){t.value=r,t.getSnapshot=n,_i(t)&&Oi(e)}function Si(e,t,r){return r(function(){_i(t)&&Oi(e)})}function _i(e){var t=e.getSnapshot;e=e.value;try{var r=t();return!sn(e,r)}catch(e){return!0}}function Oi(e){var t=La(e,1);null!==t&&rc(t,e,1,-1)}function Di(e){var t=vi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ci,lastRenderedState:e},t.queue=e,e=e.dispatch=Ki.bind(null,si,e),[t.memoizedState,e]}function Ni(e,t,r,n){return e={tag:e,create:t,destroy:r,deps:n,next:null},null===(t=si.updateQueue)?(t={lastEffect:null,stores:null},si.updateQueue=t,t.lastEffect=e.next=e):null===(r=t.lastEffect)?t.lastEffect=e.next=e:(n=r.next,r.next=e,e.next=n,t.lastEffect=e),e}function Ri(){return bi().memoizedState}function Ti(e,t,r,n){var o=vi();si.flags|=e,o.memoizedState=Ni(1|t,r,void 0,void 0===n?null:n)}function ji(e,t,r,n){var o=bi();n=void 0===n?null:n;var a=void 0;if(null!==li){var i=li.memoizedState;if(a=i.destroy,null!==n&&hi(n,i.deps))return void(o.memoizedState=Ni(t,r,a,n))}si.flags|=e,o.memoizedState=Ni(1|t,r,a,n)}function Li(e,t){return Ti(8390656,8,e,t)}function Fi(e,t){return ji(2048,8,e,t)}function Mi(e,t){return ji(4,2,e,t)}function Pi(e,t){return ji(4,4,e,t)}function Ii(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function qi(e,t,r){return r=null!=r?r.concat([e]):null,ji(4,4,Ii.bind(null,t,e),r)}function zi(){}function Ui(e,t){var r=bi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&hi(t,n[1])?n[0]:(r.memoizedState=[e,t],e)}function $i(e,t){var r=bi();t=void 0===t?null:t;var n=r.memoizedState;return null!==n&&null!==t&&hi(t,n[1])?n[0]:(e=e(),r.memoizedState=[e,t],e)}function Vi(e,t,r){return 21&ii?(sn(r,t)||(r=ht(),si.lanes|=r,Fl|=r,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=r)}function Wi(e,t){var r=bt;bt=0!==r&&4>r?r:4,e(!0);var n=ai.transition;ai.transition={};try{e(!1),t()}finally{bt=r,ai.transition=n}}function Hi(){return bi().memoizedState}function Gi(e,t,r){var n=tc(e);r={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null},Yi(e)?Xi(t,r):null!==(r=ja(e,t,r,n))&&(rc(r,e,n,ec()),Qi(r,t,n))}function Ki(e,t,r){var n=tc(e),o={lane:n,action:r,hasEagerState:!1,eagerState:null,next:null};if(Yi(e))Xi(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,s=a(i,r);if(o.hasEagerState=!0,o.eagerState=s,sn(s,i)){var l=t.interleaved;return null===l?(o.next=o,Ta(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(r=ja(e,t,o,n))&&(rc(r,e,n,o=ec()),Qi(r,t,n))}}function Yi(e){var t=e.alternate;return e===si||null!==t&&t===si}function Xi(e,t){di=ui=!0;var r=e.pending;null===r?t.next=t:(t.next=r.next,r.next=t),e.pending=t}function Qi(e,t,r){if(4194240&r){var n=t.lanes;r|=n&=e.pendingLanes,t.lanes=r,vt(e,r)}}var Zi={readContext:Na,useCallback:gi,useContext:gi,useEffect:gi,useImperativeHandle:gi,useInsertionEffect:gi,useLayoutEffect:gi,useMemo:gi,useReducer:gi,useRef:gi,useState:gi,useDebugValue:gi,useDeferredValue:gi,useTransition:gi,useMutableSource:gi,useSyncExternalStore:gi,useId:gi,unstable_isNewReconciler:!1},Ji={readContext:Na,useCallback:function(e,t){return vi().memoizedState=[e,void 0===t?null:t],e},useContext:Na,useEffect:Li,useImperativeHandle:function(e,t,r){return r=null!=r?r.concat([e]):null,Ti(4194308,4,Ii.bind(null,t,e),r)},useLayoutEffect:function(e,t){return Ti(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ti(4,2,e,t)},useMemo:function(e,t){var r=vi();return t=void 0===t?null:t,e=e(),r.memoizedState=[e,t],e},useReducer:function(e,t,r){var n=vi();return t=void 0!==r?r(t):t,n.memoizedState=n.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},n.queue=e,e=e.dispatch=Gi.bind(null,si,e),[n.memoizedState,e]},useRef:function(e){return e={current:e},vi().memoizedState=e},useState:Di,useDebugValue:zi,useDeferredValue:function(e){return vi().memoizedState=e},useTransition:function(){var e=Di(!1),t=e[0];return e=Wi.bind(null,e[1]),vi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,r){var n=si,o=vi();if(aa){if(void 0===r)throw Error(a(407));r=r()}else{if(r=t(),null===Ol)throw Error(a(349));30&ii||Bi(n,t,r)}o.memoizedState=r;var i={value:r,getSnapshot:t};return o.queue=i,Li(Si.bind(null,n,i,e),[e]),n.flags|=2048,Ni(9,Ei.bind(null,n,i,r,t),void 0,null),r},useId:function(){var e=vi(),t=Ol.identifierPrefix;if(aa){var r=Zo;t=":"+t+"R"+(r=(Qo&~(1<<32-it(Qo)-1)).toString(32)+r),0<(r=pi++)&&(t+="H"+r.toString(32)),t+=":"}else t=":"+t+"r"+(r=fi++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Na,useCallback:Ui,useContext:Na,useEffect:Fi,useImperativeHandle:qi,useInsertionEffect:Mi,useLayoutEffect:Pi,useMemo:$i,useReducer:wi,useRef:Ri,useState:function(){return wi(Ci)},useDebugValue:zi,useDeferredValue:function(e){return Vi(bi(),li.memoizedState,e)},useTransition:function(){return[wi(Ci)[0],bi().memoizedState]},useMutableSource:xi,useSyncExternalStore:ki,useId:Hi,unstable_isNewReconciler:!1},ts={readContext:Na,useCallback:Ui,useContext:Na,useEffect:Fi,useImperativeHandle:qi,useInsertionEffect:Mi,useLayoutEffect:Pi,useMemo:$i,useReducer:yi,useRef:Ri,useState:function(){return yi(Ci)},useDebugValue:zi,useDeferredValue:function(e){var t=bi();return null===li?t.memoizedState=e:Vi(t,li.memoizedState,e)},useTransition:function(){return[yi(Ci)[0],bi().memoizedState]},useMutableSource:xi,useSyncExternalStore:ki,useId:Hi,unstable_isNewReconciler:!1};function rs(e,t){if(e&&e.defaultProps){for(var r in t=M({},t),e=e.defaultProps)void 0===t[r]&&(t[r]=e[r]);return t}return t}function ns(e,t,r,n){r=null==(r=r(n,t=e.memoizedState))?t:M({},t,r),e.memoizedState=r,0===e.lanes&&(e.updateQueue.baseState=r)}var os={isMounted:function(e){return!!(e=e._reactInternals)&&Ue(e)===e},enqueueSetState:function(e,t,r){e=e._reactInternals;var n=ec(),o=tc(e),a=Ia(n,o);a.payload=t,null!=r&&(a.callback=r),null!==(t=qa(e,a,o))&&(rc(t,e,o,n),za(t,e,o))},enqueueReplaceState:function(e,t,r){e=e._reactInternals;var n=ec(),o=tc(e),a=Ia(n,o);a.tag=1,a.payload=t,null!=r&&(a.callback=r),null!==(t=qa(e,a,o))&&(rc(t,e,o,n),za(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var r=ec(),n=tc(e),o=Ia(r,n);o.tag=2,null!=t&&(o.callback=t),null!==(t=qa(e,o,n))&&(rc(t,e,n,r),za(t,e,n))}};function as(e,t,r,n,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(n,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&ln(r,n)&&ln(o,a))}function is(e,t,r){var n=!1,o=_o,a=t.contextType;return"object"==typeof a&&null!==a?a=Na(a):(o=To(t)?No:Oo.current,a=(n=null!=(n=t.contextTypes))?Ro(e,o):_o),t=new t(r,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=os,e.stateNode=t,t._reactInternals=e,n&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function ss(e,t,r,n){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(r,n),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(r,n),t.state!==e&&os.enqueueReplaceState(t,t.state,null)}function ls(e,t,r,n){var o=e.stateNode;o.props=r,o.state=e.memoizedState,o.refs={},Ma(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Na(a):(a=To(t)?No:Oo.current,o.context=Ro(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(ns(e,t,a,r),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&os.enqueueReplaceState(o,o.state,null),$a(e,r,o,n),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var r="",n=t;do{r+=z(n),n=n.return}while(n);var o=r}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function us(e,t,r){return{value:e,source:null,stack:null!=r?r:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var ps="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,r){(r=Ia(-1,r)).tag=3,r.payload={element:null};var n=t.value;return r.callback=function(){Vl||(Vl=!0,Wl=n),ds(0,t)},r}function gs(e,t,r){(r=Ia(-1,r)).tag=3;var n=e.type.getDerivedStateFromError;if("function"==typeof n){var o=t.value;r.payload=function(){return n(o)},r.callback=function(){ds(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(r.callback=function(){ds(0,t),"function"!=typeof n&&(null===Hl?Hl=new Set([this]):Hl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),r}function hs(e,t,r){var n=e.pingCache;if(null===n){n=e.pingCache=new ps;var o=new Set;n.set(t,o)}else void 0===(o=n.get(t))&&(o=new Set,n.set(t,o));o.has(r)||(o.add(r),e=Bc.bind(null,e,t,r),t.then(e,e))}function ms(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function As(e,t,r,n,o){return 1&e.mode?(e.flags|=65536,e.lanes=o,e):(e===t?e.flags|=65536:(e.flags|=128,r.flags|=131072,r.flags&=-52805,1===r.tag&&(null===r.alternate?r.tag=17:((t=Ia(-1,1)).tag=2,qa(r,t,1))),r.lanes|=1),e)}var vs=C.ReactCurrentOwner,bs=!1;function Cs(e,t,r,n){t.child=null===e?ya(t,null,r,n):wa(t,e.child,r,n)}function ws(e,t,r,n,o){r=r.render;var a=t.ref;return Da(t,o),n=mi(e,t,r,n,a,o),r=Ai(),null===e||bs?(aa&&r&&ta(t),t.flags|=1,Cs(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vs(e,t,o))}function ys(e,t,r,n,o){if(null===e){var a=r.type;return"function"!=typeof a||Rc(a)||void 0!==a.defaultProps||null!==r.compare||void 0!==r.defaultProps?((e=jc(r.type,null,n,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,xs(e,t,a,n,o))}if(a=e.child,0===(e.lanes&o)){var i=a.memoizedProps;if((r=null!==(r=r.compare)?r:ln)(i,n)&&e.ref===t.ref)return Vs(e,t,o)}return t.flags|=1,(e=Tc(a,n)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,r,n,o){if(null!==e){var a=e.memoizedProps;if(ln(a,n)&&e.ref===t.ref){if(bs=!1,t.pendingProps=n=a,0===(e.lanes&o))return t.lanes=e.lanes,Vs(e,t,o);131072&e.flags&&(bs=!0)}}return Es(e,t,r,n,o)}function ks(e,t,r){var n=t.pendingProps,o=n.children,a=null!==e?e.memoizedState:null;if("hidden"===n.mode)if(1&t.mode){if(!(1073741824&r))return e=null!==a?a.baseLanes|r:r,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,So(Tl,Rl),Rl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},n=null!==a?a.baseLanes:r,So(Tl,Rl),Rl|=n}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},So(Tl,Rl),Rl|=r;else null!==a?(n=a.baseLanes|r,t.memoizedState=null):n=r,So(Tl,Rl),Rl|=n;return Cs(e,t,o,r),t.child}function Bs(e,t){var r=t.ref;(null===e&&null!==r||null!==e&&e.ref!==r)&&(t.flags|=512,t.flags|=2097152)}function Es(e,t,r,n,o){var a=To(r)?No:Oo.current;return a=Ro(t,a),Da(t,o),r=mi(e,t,r,n,a,o),n=Ai(),null===e||bs?(aa&&n&&ta(t),t.flags|=1,Cs(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Vs(e,t,o))}function Ss(e,t,r,n,o){if(To(r)){var a=!0;Mo(t)}else a=!1;if(Da(t,o),null===t.stateNode)$s(e,t),is(t,r,n),ls(t,r,n,o),n=!0;else if(null===e){var i=t.stateNode,s=t.memoizedProps;i.props=s;var l=i.context,c=r.contextType;c="object"==typeof c&&null!==c?Na(c):Ro(t,c=To(r)?No:Oo.current);var u=r.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof i.getSnapshotBeforeUpdate;d||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==n||l!==c)&&ss(t,i,n,c),Fa=!1;var p=t.memoizedState;i.state=p,$a(t,n,i,o),l=t.memoizedState,s!==n||p!==l||Do.current||Fa?("function"==typeof u&&(ns(t,r,u,n),l=t.memoizedState),(s=Fa||as(t,r,s,n,p,l,c))?(d||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=l),i.props=n,i.state=l,i.context=c,n=s):("function"==typeof i.componentDidMount&&(t.flags|=4194308),n=!1)}else{i=t.stateNode,Pa(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:rs(t.type,s),i.props=c,d=t.pendingProps,p=i.context,l="object"==typeof(l=r.contextType)&&null!==l?Na(l):Ro(t,l=To(r)?No:Oo.current);var f=r.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(s!==d||p!==l)&&ss(t,i,n,l),Fa=!1,p=t.memoizedState,i.state=p,$a(t,n,i,o);var g=t.memoizedState;s!==d||p!==g||Do.current||Fa?("function"==typeof f&&(ns(t,r,f,n),g=t.memoizedState),(c=Fa||as(t,r,c,n,p,g,l)||!1)?(u||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(n,g,l),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(n,g,l)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),i.props=n,i.state=g,i.context=l,n=c):("function"!=typeof i.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=1024),n=!1)}return _s(e,t,r,n,a,o)}function _s(e,t,r,n,o,a){Bs(e,t);var i=!!(128&t.flags);if(!n&&!i)return o&&Po(t,r,!1),Vs(e,t,a);n=t.stateNode,vs.current=t;var s=i&&"function"!=typeof r.getDerivedStateFromError?null:n.render();return t.flags|=1,null!==e&&i?(t.child=wa(t,e.child,null,a),t.child=wa(t,null,s,a)):Cs(e,t,s,a),t.memoizedState=n.state,o&&Po(t,r,!0),t.child}function Os(e){var t=e.stateNode;t.pendingContext?Lo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Lo(0,t.context,!1),Xa(e,t.containerInfo)}function Ds(e,t,r,n,o){return ga(),ha(o),t.flags|=256,Cs(e,t,r,n),t.child}var Ns,Rs,Ts,js,Ls={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function Ms(e,t,r){var n,o=t.pendingProps,i=ei.current,s=!1,l=!!(128&t.flags);if((n=l)||(n=(null===e||null!==e.memoizedState)&&!!(2&i)),n?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),So(ei,1&i),null===e)return ua(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},1&o||null===s?s=Fc(l,o,0,null):(s.childLanes=0,s.pendingProps=l),e=Lc(e,o,r,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(r),t.memoizedState=Ls,e):Ps(t,l));if(null!==(i=e.memoizedState)&&null!==(n=i.dehydrated))return function(e,t,r,n,o,i,s){if(r)return 256&t.flags?(t.flags&=-257,Is(e,t,s,n=us(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=n.fallback,o=t.mode,n=Fc({mode:"visible",children:n.children},o,0,null),(i=Lc(i,o,s,null)).flags|=2,n.return=t,i.return=t,n.sibling=i,t.child=n,1&t.mode&&wa(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Ls,i);if(!(1&t.mode))return Is(e,t,s,null);if("$!"===o.data){if(n=o.nextSibling&&o.nextSibling.dataset)var l=n.dgst;return n=l,Is(e,t,s,n=us(i=Error(a(419)),n,void 0))}if(l=0!==(s&e.childLanes),bs||l){if(null!==(n=Ol)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!==(o&(n.suspendedLanes|s))?0:o)&&o!==i.retryLane&&(i.retryLane=o,La(e,o),rc(n,e,o,-1))}return hc(),Is(e,t,s,n=us(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Sc.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,oa=co(o.nextSibling),na=t,aa=!0,ia=null,null!==e&&(Ko[Yo++]=Qo,Ko[Yo++]=Zo,Ko[Yo++]=Xo,Qo=e.id,Zo=e.overflow,Xo=t),(t=Ps(t,n.children)).flags|=4096,t)}(e,t,l,o,n,i,r);if(s){s=o.fallback,l=t.mode,n=(i=e.child).sibling;var c={mode:"hidden",children:o.children};return 1&l||t.child===i?(o=Tc(i,c)).subtreeFlags=14680064&i.subtreeFlags:((o=t.child).childLanes=0,o.pendingProps=c,t.deletions=null),null!==n?s=Tc(n,s):(s=Lc(s,l,r,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(r):{baseLanes:l.baseLanes|r,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~r,t.memoizedState=Ls,o}return e=(s=e.child).sibling,o=Tc(s,{mode:"visible",children:o.children}),!(1&t.mode)&&(o.lanes=r),o.return=t,o.sibling=null,null!==e&&(null===(r=t.deletions)?(t.deletions=[e],t.flags|=16):r.push(e)),t.child=o,t.memoizedState=null,o}function Ps(e,t){return(t=Fc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Is(e,t,r,n){return null!==n&&ha(n),wa(t,e.child,null,r),(e=Ps(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function qs(e,t,r){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),Oa(e.return,t,r)}function zs(e,t,r,n,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:r,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=n,a.tail=r,a.tailMode=o)}function Us(e,t,r){var n=t.pendingProps,o=n.revealOrder,a=n.tail;if(Cs(e,t,n.children,r),2&(n=ei.current))n=1&n|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,r,t);else if(19===e.tag)qs(e,r,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}n&=1}if(So(ei,n),1&t.mode)switch(o){case"forwards":for(r=t.child,o=null;null!==r;)null!==(e=r.alternate)&&null===ti(e)&&(o=r),r=r.sibling;null===(r=o)?(o=t.child,t.child=null):(o=r.sibling,r.sibling=null),zs(t,!1,o,r,a);break;case"backwards":for(r=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ti(e)){t.child=o;break}e=o.sibling,o.sibling=r,r=o,o=e}zs(t,!0,r,null,a);break;case"together":zs(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function $s(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Vs(e,t,r){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0===(r&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(r=Tc(e=t.child,e.pendingProps),t.child=r,r.return=t;null!==e.sibling;)e=e.sibling,(r=r.sibling=Tc(e,e.pendingProps)).return=t;r.sibling=null}return t.child}function Ws(e,t){if(!aa)switch(e.tailMode){case"hidden":t=e.tail;for(var r=null;null!==t;)null!==t.alternate&&(r=t),t=t.sibling;null===r?e.tail=null:r.sibling=null;break;case"collapsed":r=e.tail;for(var n=null;null!==r;)null!==r.alternate&&(n=r),r=r.sibling;null===n?t||null===e.tail?e.tail=null:e.tail.sibling=null:n.sibling=null}}function Hs(e){var t=null!==e.alternate&&e.alternate.child===e.child,r=0,n=0;if(t)for(var o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=14680064&o.subtreeFlags,n|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)r|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=r,t}function Gs(e,t,r){var n=t.pendingProps;switch(ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Hs(t),null;case 1:case 17:return To(t.type)&&jo(),Hs(t),null;case 3:return n=t.stateNode,Qa(),Eo(Do),Eo(Oo),ni(),n.pendingContext&&(n.context=n.pendingContext,n.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==ia&&(ic(ia),ia=null))),Rs(e,t),Hs(t),null;case 5:Ja(t);var o=Ya(Ka.current);if(r=t.type,null!==e&&null!=t.stateNode)Ts(e,t,r,n,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!n){if(null===t.stateNode)throw Error(a(166));return Hs(t),null}if(e=Ya(Ha.current),pa(t)){n=t.stateNode,r=t.type;var i=t.memoizedProps;switch(n[fo]=t,n[go]=i,e=!!(1&t.mode),r){case"dialog":In("cancel",n),In("close",n);break;case"iframe":case"object":case"embed":In("load",n);break;case"video":case"audio":for(o=0;o<Ln.length;o++)In(Ln[o],n);break;case"source":In("error",n);break;case"img":case"image":case"link":In("error",n),In("load",n);break;case"details":In("toggle",n);break;case"input":X(n,i),In("invalid",n);break;case"select":n._wrapperState={wasMultiple:!!i.multiple},In("invalid",n);break;case"textarea":oe(n,i),In("invalid",n)}for(var l in ve(r,i),o=null,i)if(i.hasOwnProperty(l)){var c=i[l];"children"===l?"string"==typeof c?n.textContent!==c&&(!0!==i.suppressHydrationWarning&&Zn(n.textContent,c,e),o=["children",c]):"number"==typeof c&&n.textContent!==""+c&&(!0!==i.suppressHydrationWarning&&Zn(n.textContent,c,e),o=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&In("scroll",n)}switch(r){case"input":H(n),J(n,i,!0);break;case"textarea":H(n),ie(n);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(n.onclick=Jn)}n=o,t.updateQueue=n,null!==n&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(r)),"http://www.w3.org/1999/xhtml"===e?"script"===r?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof n.is?e=l.createElement(r,{is:n.is}):(e=l.createElement(r),"select"===r&&(l=e,n.multiple?l.multiple=!0:n.size&&(l.size=n.size))):e=l.createElementNS(e,r),e[fo]=t,e[go]=n,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(r,n),r){case"dialog":In("cancel",e),In("close",e),o=n;break;case"iframe":case"object":case"embed":In("load",e),o=n;break;case"video":case"audio":for(o=0;o<Ln.length;o++)In(Ln[o],e);o=n;break;case"source":In("error",e),o=n;break;case"img":case"image":case"link":In("error",e),In("load",e),o=n;break;case"details":In("toggle",e),o=n;break;case"input":X(e,n),o=Y(e,n),In("invalid",e);break;case"option":default:o=n;break;case"select":e._wrapperState={wasMultiple:!!n.multiple},o=M({},n,{value:void 0}),In("invalid",e);break;case"textarea":oe(e,n),o=ne(e,n),In("invalid",e)}for(i in ve(r,o),c=o)if(c.hasOwnProperty(i)){var u=c[i];"style"===i?me(e,u):"dangerouslySetInnerHTML"===i?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===i?"string"==typeof u?("textarea"!==r||""!==u)&&pe(e,u):"number"==typeof u&&pe(e,""+u):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(s.hasOwnProperty(i)?null!=u&&"onScroll"===i&&In("scroll",e):null!=u&&b(e,i,u,l))}switch(r){case"input":H(e),J(e,n,!1);break;case"textarea":H(e),ie(e);break;case"option":null!=n.value&&e.setAttribute("value",""+V(n.value));break;case"select":e.multiple=!!n.multiple,null!=(i=n.value)?re(e,!!n.multiple,i,!1):null!=n.defaultValue&&re(e,!!n.multiple,n.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Jn)}switch(r){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}}n&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Hs(t),null;case 6:if(e&&null!=t.stateNode)js(e,t,e.memoizedProps,n);else{if("string"!=typeof n&&null===t.stateNode)throw Error(a(166));if(r=Ya(Ka.current),Ya(Ha.current),pa(t)){if(n=t.stateNode,r=t.memoizedProps,n[fo]=t,(i=n.nodeValue!==r)&&null!==(e=na))switch(e.tag){case 3:Zn(n.nodeValue,r,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Zn(n.nodeValue,r,!!(1&e.mode))}i&&(t.flags|=4)}else(n=(9===r.nodeType?r:r.ownerDocument).createTextNode(n))[fo]=t,t.stateNode=n}return Hs(t),null;case 13:if(Eo(ei),n=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(aa&&null!==oa&&1&t.mode&&!(128&t.flags))fa(),ga(),t.flags|=98560,i=!1;else if(i=pa(t),null!==n&&null!==n.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[fo]=t}else ga(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Hs(t),i=!1}else null!==ia&&(ic(ia),ia=null),i=!0;if(!i)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=r,t):((n=null!==n)!=(null!==e&&null!==e.memoizedState)&&n&&(t.child.flags|=8192,1&t.mode&&(null===e||1&ei.current?0===jl&&(jl=3):hc())),null!==t.updateQueue&&(t.flags|=4),Hs(t),null);case 4:return Qa(),Rs(e,t),null===e&&Un(t.stateNode.containerInfo),Hs(t),null;case 10:return _a(t.type._context),Hs(t),null;case 19:if(Eo(ei),null===(i=t.memoizedState))return Hs(t),null;if(n=!!(128&t.flags),null===(l=i.rendering))if(n)Ws(i,!1);else{if(0!==jl||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=ti(e))){for(t.flags|=128,Ws(i,!1),null!==(n=l.updateQueue)&&(t.updateQueue=n,t.flags|=4),t.subtreeFlags=0,n=r,r=t.child;null!==r;)e=n,(i=r).flags&=14680066,null===(l=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=l.childLanes,i.lanes=l.lanes,i.child=l.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=l.memoizedProps,i.memoizedState=l.memoizedState,i.updateQueue=l.updateQueue,i.type=l.type,e=l.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),r=r.sibling;return So(ei,1&ei.current|2),t.child}e=e.sibling}null!==i.tail&&Qe()>Ul&&(t.flags|=128,n=!0,Ws(i,!1),t.lanes=4194304)}else{if(!n)if(null!==(e=ti(l))){if(t.flags|=128,n=!0,null!==(r=e.updateQueue)&&(t.updateQueue=r,t.flags|=4),Ws(i,!0),null===i.tail&&"hidden"===i.tailMode&&!l.alternate&&!aa)return Hs(t),null}else 2*Qe()-i.renderingStartTime>Ul&&1073741824!==r&&(t.flags|=128,n=!0,Ws(i,!1),t.lanes=4194304);i.isBackwards?(l.sibling=t.child,t.child=l):(null!==(r=i.last)?r.sibling=l:t.child=l,i.last=l)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Qe(),t.sibling=null,r=ei.current,So(ei,n?1&r|2:1&r),t):(Hs(t),null);case 22:case 23:return dc(),n=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==n&&(t.flags|=8192),n&&1&t.mode?!!(1073741824&Rl)&&(Hs(t),6&t.subtreeFlags&&(t.flags|=8192)):Hs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Ks(e,t){switch(ra(t),t.tag){case 1:return To(t.type)&&jo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qa(),Eo(Do),Eo(Oo),ni(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Ja(t),null;case 13:if(Eo(ei),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ga()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Eo(ei),null;case 4:return Qa(),null;case 10:return _a(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ns=function(e,t){for(var r=t.child;null!==r;){if(5===r.tag||6===r.tag)e.appendChild(r.stateNode);else if(4!==r.tag&&null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;r=r.return}r.sibling.return=r.return,r=r.sibling}},Rs=function(){},Ts=function(e,t,r,n){var o=e.memoizedProps;if(o!==n){e=t.stateNode,Ya(Ha.current);var a,i=null;switch(r){case"input":o=Y(e,o),n=Y(e,n),i=[];break;case"select":o=M({},o,{value:void 0}),n=M({},n,{value:void 0}),i=[];break;case"textarea":o=ne(e,o),n=ne(e,n),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof n.onClick&&(e.onclick=Jn)}for(u in ve(r,n),r=null,o)if(!n.hasOwnProperty(u)&&o.hasOwnProperty(u)&&null!=o[u])if("style"===u){var l=o[u];for(a in l)l.hasOwnProperty(a)&&(r||(r={}),r[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?i||(i=[]):(i=i||[]).push(u,null));for(u in n){var c=n[u];if(l=null!=o?o[u]:void 0,n.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(r||(r={}),r[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(r||(r={}),r[a]=c[a])}else r||(i||(i=[]),i.push(u,r)),r=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(i=i||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(i=i||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&In("scroll",e),i||l===c||(i=[])):(i=i||[]).push(u,c))}r&&(i=i||[]).push("style",r);var u=i;(t.updateQueue=u)&&(t.flags|=4)}},js=function(e,t,r,n){r!==n&&(t.flags|=4)};var Ys=!1,Xs=!1,Qs="function"==typeof WeakSet?WeakSet:Set,Zs=null;function Js(e,t){var r=e.ref;if(null!==r)if("function"==typeof r)try{r(null)}catch(r){kc(e,t,r)}else r.current=null}function el(e,t,r){try{r()}catch(r){kc(e,t,r)}}var tl=!1;function rl(e,t,r){var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var o=n=n.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&el(t,r,a)}o=o.next}while(o!==n)}}function nl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var r=t=t.next;do{if((r.tag&e)===e){var n=r.create;r.destroy=n()}r=r.next}while(r!==t)}}function ol(e){var t=e.ref;if(null!==t){var r=e.stateNode;e.tag,e=r,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[fo],delete t[go],delete t[mo],delete t[Ao],delete t[vo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function il(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||il(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?8===r.nodeType?r.parentNode.insertBefore(e,t):r.insertBefore(e,t):(8===r.nodeType?(t=r.parentNode).insertBefore(e,r):(t=r).appendChild(e),null!=(r=r._reactRootContainer)||null!==t.onclick||(t.onclick=Jn));else if(4!==n&&null!==(e=e.child))for(ll(e,t,r),e=e.sibling;null!==e;)ll(e,t,r),e=e.sibling}function cl(e,t,r){var n=e.tag;if(5===n||6===n)e=e.stateNode,t?r.insertBefore(e,t):r.appendChild(e);else if(4!==n&&null!==(e=e.child))for(cl(e,t,r),e=e.sibling;null!==e;)cl(e,t,r),e=e.sibling}var ul=null,dl=!1;function pl(e,t,r){for(r=r.child;null!==r;)fl(e,t,r),r=r.sibling}function fl(e,t,r){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,r)}catch(e){}switch(r.tag){case 5:Xs||Js(r,t);case 6:var n=ul,o=dl;ul=null,pl(e,t,r),dl=o,null!==(ul=n)&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?e.parentNode.removeChild(r):e.removeChild(r)):ul.removeChild(r.stateNode));break;case 18:null!==ul&&(dl?(e=ul,r=r.stateNode,8===e.nodeType?lo(e.parentNode,r):1===e.nodeType&&lo(e,r),Ut(e)):lo(ul,r.stateNode));break;case 4:n=ul,o=dl,ul=r.stateNode.containerInfo,dl=!0,pl(e,t,r),ul=n,dl=o;break;case 0:case 11:case 14:case 15:if(!Xs&&null!==(n=r.updateQueue)&&null!==(n=n.lastEffect)){o=n=n.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(2&a||4&a)&&el(r,t,i),o=o.next}while(o!==n)}pl(e,t,r);break;case 1:if(!Xs&&(Js(r,t),"function"==typeof(n=r.stateNode).componentWillUnmount))try{n.props=r.memoizedProps,n.state=r.memoizedState,n.componentWillUnmount()}catch(e){kc(r,t,e)}pl(e,t,r);break;case 21:pl(e,t,r);break;case 22:1&r.mode?(Xs=(n=Xs)||null!==r.memoizedState,pl(e,t,r),Xs=n):pl(e,t,r);break;default:pl(e,t,r)}}function gl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var r=e.stateNode;null===r&&(r=e.stateNode=new Qs),t.forEach(function(t){var n=_c.bind(null,e,t);r.has(t)||(r.add(t),t.then(n,n))})}}function hl(e,t){var r=t.deletions;if(null!==r)for(var n=0;n<r.length;n++){var o=r[n];try{var i=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(a(160));fl(i,s,o),ul=null,dl=!1;var c=o.alternate;null!==c&&(c.return=null),o.return=null}catch(e){kc(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)ml(t,e),t=t.sibling}function ml(e,t){var r=e.alternate,n=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(hl(t,e),Al(e),4&n){try{rl(3,e,e.return),nl(3,e)}catch(t){kc(e,e.return,t)}try{rl(5,e,e.return)}catch(t){kc(e,e.return,t)}}break;case 1:hl(t,e),Al(e),512&n&&null!==r&&Js(r,r.return);break;case 5:if(hl(t,e),Al(e),512&n&&null!==r&&Js(r,r.return),32&e.flags){var o=e.stateNode;try{pe(o,"")}catch(t){kc(e,e.return,t)}}if(4&n&&null!=(o=e.stateNode)){var i=e.memoizedProps,s=null!==r?r.memoizedProps:i,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===i.type&&null!=i.name&&Q(o,i),be(l,s);var u=be(l,i);for(s=0;s<c.length;s+=2){var d=c[s],p=c[s+1];"style"===d?me(o,p):"dangerouslySetInnerHTML"===d?de(o,p):"children"===d?pe(o,p):b(o,d,p,u)}switch(l){case"input":Z(o,i);break;case"textarea":ae(o,i);break;case"select":var f=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var g=i.value;null!=g?re(o,!!i.multiple,g,!1):f!==!!i.multiple&&(null!=i.defaultValue?re(o,!!i.multiple,i.defaultValue,!0):re(o,!!i.multiple,i.multiple?[]:"",!1))}o[go]=i}catch(t){kc(e,e.return,t)}}break;case 6:if(hl(t,e),Al(e),4&n){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){kc(e,e.return,t)}}break;case 3:if(hl(t,e),Al(e),4&n&&null!==r&&r.memoizedState.isDehydrated)try{Ut(t.containerInfo)}catch(t){kc(e,e.return,t)}break;case 4:default:hl(t,e),Al(e);break;case 13:hl(t,e),Al(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(zl=Qe())),4&n&&gl(e);break;case 22:if(d=null!==r&&null!==r.memoizedState,1&e.mode?(Xs=(u=Xs)||d,hl(t,e),Xs=u):hl(t,e),Al(e),8192&n){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Zs=e,d=e.child;null!==d;){for(p=Zs=d;null!==Zs;){switch(g=(f=Zs).child,f.tag){case 0:case 11:case 14:case 15:rl(4,f,f.return);break;case 1:Js(f,f.return);var h=f.stateNode;if("function"==typeof h.componentWillUnmount){n=f,r=f.return;try{t=n,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){kc(n,r,e)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){wl(p);continue}}null!==g?(g.return=f,Zs=g):wl(p)}d=d.sibling}e:for(d=null,p=e;;){if(5===p.tag){if(null===d){d=p;try{o=p.stateNode,u?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(l=p.stateNode,s=null!=(c=p.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=he("display",s))}catch(t){kc(e,e.return,t)}}}else if(6===p.tag){if(null===d)try{p.stateNode.nodeValue=u?"":p.memoizedProps}catch(t){kc(e,e.return,t)}}else if((22!==p.tag&&23!==p.tag||null===p.memoizedState||p===e)&&null!==p.child){p.child.return=p,p=p.child;continue}if(p===e)break e;for(;null===p.sibling;){if(null===p.return||p.return===e)break e;d===p&&(d=null),p=p.return}d===p&&(d=null),p.sibling.return=p.return,p=p.sibling}}break;case 19:hl(t,e),Al(e),4&n&&gl(e);case 21:}}function Al(e){var t=e.flags;if(2&t){try{e:{for(var r=e.return;null!==r;){if(il(r)){var n=r;break e}r=r.return}throw Error(a(160))}switch(n.tag){case 5:var o=n.stateNode;32&n.flags&&(pe(o,""),n.flags&=-33),cl(e,sl(e),o);break;case 3:case 4:var i=n.stateNode.containerInfo;ll(e,sl(e),i);break;default:throw Error(a(161))}}catch(t){kc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function vl(e,t,r){Zs=e,bl(e,t,r)}function bl(e,t,r){for(var n=!!(1&e.mode);null!==Zs;){var o=Zs,a=o.child;if(22===o.tag&&n){var i=null!==o.memoizedState||Ys;if(!i){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Xs;s=Ys;var c=Xs;if(Ys=i,(Xs=l)&&!c)for(Zs=o;null!==Zs;)l=(i=Zs).child,22===i.tag&&null!==i.memoizedState?yl(o):null!==l?(l.return=i,Zs=l):yl(o);for(;null!==a;)Zs=a,bl(a,t,r),a=a.sibling;Zs=o,Ys=s,Xs=c}Cl(e)}else 8772&o.subtreeFlags&&null!==a?(a.return=o,Zs=a):Cl(e)}}function Cl(e){for(;null!==Zs;){var t=Zs;if(8772&t.flags){var r=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Xs||nl(5,t);break;case 1:var n=t.stateNode;if(4&t.flags&&!Xs)if(null===r)n.componentDidMount();else{var o=t.elementType===t.type?r.memoizedProps:rs(t.type,r.memoizedProps);n.componentDidUpdate(o,r.memoizedState,n.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&Va(t,i,n);break;case 3:var s=t.updateQueue;if(null!==s){if(r=null,null!==t.child)switch(t.child.tag){case 5:case 1:r=t.child.stateNode}Va(t,s,r)}break;case 5:var l=t.stateNode;if(null===r&&4&t.flags){r=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&r.focus();break;case"img":c.src&&(r.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var p=d.dehydrated;null!==p&&Ut(p)}}}break;default:throw Error(a(163))}Xs||512&t.flags&&ol(t)}catch(e){kc(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(r=t.sibling)){r.return=t.return,Zs=r;break}Zs=t.return}}function wl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var r=t.sibling;if(null!==r){r.return=t.return,Zs=r;break}Zs=t.return}}function yl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var r=t.return;try{nl(4,t)}catch(e){kc(t,r,e)}break;case 1:var n=t.stateNode;if("function"==typeof n.componentDidMount){var o=t.return;try{n.componentDidMount()}catch(e){kc(t,o,e)}}var a=t.return;try{ol(t)}catch(e){kc(t,a,e)}break;case 5:var i=t.return;try{ol(t)}catch(e){kc(t,i,e)}}}catch(e){kc(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var xl,kl=Math.ceil,Bl=C.ReactCurrentDispatcher,El=C.ReactCurrentOwner,Sl=C.ReactCurrentBatchConfig,_l=0,Ol=null,Dl=null,Nl=0,Rl=0,Tl=Bo(0),jl=0,Ll=null,Fl=0,Ml=0,Pl=0,Il=null,ql=null,zl=0,Ul=1/0,$l=null,Vl=!1,Wl=null,Hl=null,Gl=!1,Kl=null,Yl=0,Xl=0,Ql=null,Zl=-1,Jl=0;function ec(){return 6&_l?Qe():-1!==Zl?Zl:Zl=Qe()}function tc(e){return 1&e.mode?2&_l&&0!==Nl?Nl&-Nl:null!==ma.transition?(0===Jl&&(Jl=ht()),Jl):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type):1}function rc(e,t,r,n){if(50<Xl)throw Xl=0,Ql=null,Error(a(185));At(e,r,n),2&_l&&e===Ol||(e===Ol&&(!(2&_l)&&(Ml|=r),4===jl&&sc(e,Nl)),nc(e,n),1===r&&0===_l&&!(1&t.mode)&&(Ul=Qe()+500,qo&&$o()))}function nc(e,t){var r=e.callbackNode;!function(e,t){for(var r=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),s=1<<i,l=o[i];-1===l?0!==(s&r)&&0===(s&n)||(o[i]=ft(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var n=pt(e,e===Ol?Nl:0);if(0===n)null!==r&&Ke(r),e.callbackNode=null,e.callbackPriority=0;else if(t=n&-n,e.callbackPriority!==t){if(null!=r&&Ke(r),1===t)0===e.tag?function(e){qo=!0,Uo(e)}(lc.bind(null,e)):Uo(lc.bind(null,e)),io(function(){!(6&_l)&&$o()}),r=null;else{switch(Ct(n)){case 1:r=Je;break;case 4:r=et;break;case 16:default:r=tt;break;case 536870912:r=nt}r=Oc(r,oc.bind(null,e))}e.callbackPriority=t,e.callbackNode=r}}function oc(e,t){if(Zl=-1,Jl=0,6&_l)throw Error(a(327));var r=e.callbackNode;if(yc()&&e.callbackNode!==r)return null;var n=pt(e,e===Ol?Nl:0);if(0===n)return null;if(30&n||0!==(n&e.expiredLanes)||t)t=mc(e,n);else{t=n;var o=_l;_l|=2;var i=gc();for(Ol===e&&Nl===t||($l=null,Ul=Qe()+500,pc(e,t));;)try{vc();break}catch(t){fc(e,t)}Sa(),Bl.current=i,_l=o,null!==Dl?t=0:(Ol=null,Nl=0,t=jl)}if(0!==t){if(2===t&&0!==(o=gt(e))&&(n=o,t=ac(e,o)),1===t)throw r=Ll,pc(e,0),sc(e,n),nc(e,Qe()),r;if(6===t)sc(e,n);else{if(o=e.current.alternate,!(30&n||function(e){for(var t=e;;){if(16384&t.flags){var r=t.updateQueue;if(null!==r&&null!==(r=r.stores))for(var n=0;n<r.length;n++){var o=r[n],a=o.getSnapshot;o=o.value;try{if(!sn(a(),o))return!1}catch(e){return!1}}}if(r=t.child,16384&t.subtreeFlags&&null!==r)r.return=t,t=r;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)||(t=mc(e,n),2===t&&(i=gt(e),0!==i&&(n=i,t=ac(e,i))),1!==t)))throw r=Ll,pc(e,0),sc(e,n),nc(e,Qe()),r;switch(e.finishedWork=o,e.finishedLanes=n,t){case 0:case 1:throw Error(a(345));case 2:case 5:wc(e,ql,$l);break;case 3:if(sc(e,n),(130023424&n)===n&&10<(t=zl+500-Qe())){if(0!==pt(e,0))break;if(((o=e.suspendedLanes)&n)!==n){ec(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=no(wc.bind(null,e,ql,$l),t);break}wc(e,ql,$l);break;case 4:if(sc(e,n),(4194240&n)===n)break;for(t=e.eventTimes,o=-1;0<n;){var s=31-it(n);i=1<<s,(s=t[s])>o&&(o=s),n&=~i}if(n=o,10<(n=(120>(n=Qe()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*kl(n/1960))-n)){e.timeoutHandle=no(wc.bind(null,e,ql,$l),n);break}wc(e,ql,$l);break;default:throw Error(a(329))}}}return nc(e,Qe()),e.callbackNode===r?oc.bind(null,e):null}function ac(e,t){var r=Il;return e.current.memoizedState.isDehydrated&&(pc(e,t).flags|=256),2!==(e=mc(e,t))&&(t=ql,ql=r,null!==t&&ic(t)),e}function ic(e){null===ql?ql=e:ql.push.apply(ql,e)}function sc(e,t){for(t&=~Pl,t&=~Ml,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var r=31-it(t),n=1<<r;e[r]=-1,t&=~n}}function lc(e){if(6&_l)throw Error(a(327));yc();var t=pt(e,0);if(!(1&t))return nc(e,Qe()),null;var r=mc(e,t);if(0!==e.tag&&2===r){var n=gt(e);0!==n&&(t=n,r=ac(e,n))}if(1===r)throw r=Ll,pc(e,0),sc(e,t),nc(e,Qe()),r;if(6===r)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,wc(e,ql,$l),nc(e,Qe()),null}function cc(e,t){var r=_l;_l|=1;try{return e(t)}finally{0===(_l=r)&&(Ul=Qe()+500,qo&&$o())}}function uc(e){null!==Kl&&0===Kl.tag&&!(6&_l)&&yc();var t=_l;_l|=1;var r=Sl.transition,n=bt;try{if(Sl.transition=null,bt=1,e)return e()}finally{bt=n,Sl.transition=r,!(6&(_l=t))&&$o()}}function dc(){Rl=Tl.current,Eo(Tl)}function pc(e,t){e.finishedWork=null,e.finishedLanes=0;var r=e.timeoutHandle;if(-1!==r&&(e.timeoutHandle=-1,oo(r)),null!==Dl)for(r=Dl.return;null!==r;){var n=r;switch(ra(n),n.tag){case 1:null!=(n=n.type.childContextTypes)&&jo();break;case 3:Qa(),Eo(Do),Eo(Oo),ni();break;case 5:Ja(n);break;case 4:Qa();break;case 13:case 19:Eo(ei);break;case 10:_a(n.type._context);break;case 22:case 23:dc()}r=r.return}if(Ol=e,Dl=e=Tc(e.current,null),Nl=Rl=t,jl=0,Ll=null,Pl=Ml=Fl=0,ql=Il=null,null!==Ra){for(t=0;t<Ra.length;t++)if(null!==(n=(r=Ra[t]).interleaved)){r.interleaved=null;var o=n.next,a=r.pending;if(null!==a){var i=a.next;a.next=o,n.next=i}r.pending=n}Ra=null}return e}function fc(e,t){for(;;){var r=Dl;try{if(Sa(),oi.current=Zi,ui){for(var n=si.memoizedState;null!==n;){var o=n.queue;null!==o&&(o.pending=null),n=n.next}ui=!1}if(ii=0,ci=li=si=null,di=!1,pi=0,El.current=null,null===r||null===r.return){jl=1,Ll=t,Dl=null;break}e:{var i=e,s=r.return,l=r,c=t;if(t=Nl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,p=d.tag;if(!(1&d.mode||0!==p&&11!==p&&15!==p)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var g=ms(s);if(null!==g){g.flags&=-257,As(g,s,l,0,t),1&g.mode&&hs(i,u,t),c=u;var h=(t=g).updateQueue;if(null===h){var m=new Set;m.add(c),t.updateQueue=m}else h.add(c);break e}if(!(1&t)){hs(i,u,t),hc();break e}c=Error(a(426))}else if(aa&&1&l.mode){var A=ms(s);if(null!==A){!(65536&A.flags)&&(A.flags|=256),As(A,s,l,0,t),ha(cs(c,l));break e}}i=c=cs(c,l),4!==jl&&(jl=2),null===Il?Il=[i]:Il.push(i),i=s;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,Ua(i,fs(0,c,t));break e;case 1:l=c;var v=i.type,b=i.stateNode;if(!(128&i.flags||"function"!=typeof v.getDerivedStateFromError&&(null===b||"function"!=typeof b.componentDidCatch||null!==Hl&&Hl.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,Ua(i,gs(i,l,t));break e}}i=i.return}while(null!==i)}Cc(r)}catch(e){t=e,Dl===r&&null!==r&&(Dl=r=r.return);continue}break}}function gc(){var e=Bl.current;return Bl.current=Zi,null===e?Zi:e}function hc(){0!==jl&&3!==jl&&2!==jl||(jl=4),null===Ol||!(268435455&Fl)&&!(268435455&Ml)||sc(Ol,Nl)}function mc(e,t){var r=_l;_l|=2;var n=gc();for(Ol===e&&Nl===t||($l=null,pc(e,t));;)try{Ac();break}catch(t){fc(e,t)}if(Sa(),_l=r,Bl.current=n,null!==Dl)throw Error(a(261));return Ol=null,Nl=0,jl}function Ac(){for(;null!==Dl;)bc(Dl)}function vc(){for(;null!==Dl&&!Ye();)bc(Dl)}function bc(e){var t=xl(e.alternate,e,Rl);e.memoizedProps=e.pendingProps,null===t?Cc(e):Dl=t,El.current=null}function Cc(e){var t=e;do{var r=t.alternate;if(e=t.return,32768&t.flags){if(null!==(r=Ks(r,t)))return r.flags&=32767,void(Dl=r);if(null===e)return jl=6,void(Dl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(r=Gs(r,t,Rl)))return void(Dl=r);if(null!==(t=t.sibling))return void(Dl=t);Dl=t=e}while(null!==t);0===jl&&(jl=5)}function wc(e,t,r){var n=bt,o=Sl.transition;try{Sl.transition=null,bt=1,function(e,t,r,n){do{yc()}while(null!==Kl);if(6&_l)throw Error(a(327));r=e.finishedWork;var o=e.finishedLanes;if(null===r)return null;if(e.finishedWork=null,e.finishedLanes=0,r===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=r.lanes|r.childLanes;if(function(e,t){var r=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var n=e.eventTimes;for(e=e.expirationTimes;0<r;){var o=31-it(r),a=1<<o;t[o]=0,n[o]=-1,e[o]=-1,r&=~a}}(e,i),e===Ol&&(Dl=Ol=null,Nl=0),!(2064&r.subtreeFlags)&&!(2064&r.flags)||Gl||(Gl=!0,Oc(tt,function(){return yc(),null})),i=!!(15990&r.flags),15990&r.subtreeFlags||i){i=Sl.transition,Sl.transition=null;var s=bt;bt=1;var l=_l;_l|=4,El.current=null,function(e,t){if(eo=Vt,fn(e=pn())){if("selectionStart"in e)var r={start:e.selectionStart,end:e.selectionEnd};else e:{var n=(r=(r=e.ownerDocument)&&r.defaultView||window).getSelection&&r.getSelection();if(n&&0!==n.rangeCount){r=n.anchorNode;var o=n.anchorOffset,i=n.focusNode;n=n.focusOffset;try{r.nodeType,i.nodeType}catch(e){r=null;break e}var s=0,l=-1,c=-1,u=0,d=0,p=e,f=null;t:for(;;){for(var g;p!==r||0!==o&&3!==p.nodeType||(l=s+o),p!==i||0!==n&&3!==p.nodeType||(c=s+n),3===p.nodeType&&(s+=p.nodeValue.length),null!==(g=p.firstChild);)f=p,p=g;for(;;){if(p===e)break t;if(f===r&&++u===o&&(l=s),f===i&&++d===n&&(c=s),null!==(g=p.nextSibling))break;f=(p=f).parentNode}p=g}r=-1===l||-1===c?null:{start:l,end:c}}else r=null}r=r||{start:0,end:0}}else r=null;for(to={focusedElem:e,selectionRange:r},Vt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var h=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var m=h.memoizedProps,A=h.memoizedState,v=t.stateNode,b=v.getSnapshotBeforeUpdate(t.elementType===t.type?m:rs(t.type,m),A);v.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var C=t.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(a(163))}}catch(e){kc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}h=tl,tl=!1}(e,r),ml(r,e),gn(to),Vt=!!eo,to=eo=null,e.current=r,vl(r,e,o),Xe(),_l=l,bt=s,Sl.transition=i}else e.current=r;if(Gl&&(Gl=!1,Kl=e,Yl=o),0===(i=e.pendingLanes)&&(Hl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,!(128&~e.current.flags))}catch(e){}}(r.stateNode),nc(e,Qe()),null!==t)for(n=e.onRecoverableError,r=0;r<t.length;r++)n((o=t[r]).value,{componentStack:o.stack,digest:o.digest});if(Vl)throw Vl=!1,e=Wl,Wl=null,e;!!(1&Yl)&&0!==e.tag&&yc(),1&(i=e.pendingLanes)?e===Ql?Xl++:(Xl=0,Ql=e):Xl=0,$o()}(e,t,r,n)}finally{Sl.transition=o,bt=n}return null}function yc(){if(null!==Kl){var e=Ct(Yl),t=Sl.transition,r=bt;try{if(Sl.transition=null,bt=16>e?16:e,null===Kl)var n=!1;else{if(e=Kl,Kl=null,Yl=0,6&_l)throw Error(a(331));var o=_l;for(_l|=4,Zs=e.current;null!==Zs;){var i=Zs,s=i.child;if(16&Zs.flags){var l=i.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Zs=u;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:rl(8,d,i)}var p=d.child;if(null!==p)p.return=d,Zs=p;else for(;null!==Zs;){var f=(d=Zs).sibling,g=d.return;if(al(d),d===u){Zs=null;break}if(null!==f){f.return=g,Zs=f;break}Zs=g}}}var h=i.alternate;if(null!==h){var m=h.child;if(null!==m){h.child=null;do{var A=m.sibling;m.sibling=null,m=A}while(null!==m)}}Zs=i}}if(2064&i.subtreeFlags&&null!==s)s.return=i,Zs=s;else e:for(;null!==Zs;){if(2048&(i=Zs).flags)switch(i.tag){case 0:case 11:case 15:rl(9,i,i.return)}var v=i.sibling;if(null!==v){v.return=i.return,Zs=v;break e}Zs=i.return}}var b=e.current;for(Zs=b;null!==Zs;){var C=(s=Zs).child;if(2064&s.subtreeFlags&&null!==C)C.return=s,Zs=C;else e:for(s=b;null!==Zs;){if(2048&(l=Zs).flags)try{switch(l.tag){case 0:case 11:case 15:nl(9,l)}}catch(e){kc(l,l.return,e)}if(l===s){Zs=null;break e}var w=l.sibling;if(null!==w){w.return=l.return,Zs=w;break e}Zs=l.return}}if(_l=o,$o(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}n=!0}return n}finally{bt=r,Sl.transition=t}}return!1}function xc(e,t,r){e=qa(e,t=fs(0,t=cs(r,t),1),1),t=ec(),null!==e&&(At(e,1,t),nc(e,t))}function kc(e,t,r){if(3===e.tag)xc(e,e,r);else for(;null!==t;){if(3===t.tag){xc(t,e,r);break}if(1===t.tag){var n=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof n.componentDidCatch&&(null===Hl||!Hl.has(n))){t=qa(t,e=gs(t,e=cs(r,e),1),1),e=ec(),null!==t&&(At(t,1,e),nc(t,e));break}}t=t.return}}function Bc(e,t,r){var n=e.pingCache;null!==n&&n.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&r,Ol===e&&(Nl&r)===r&&(4===jl||3===jl&&(130023424&Nl)===Nl&&500>Qe()-zl?pc(e,0):Pl|=r),nc(e,t)}function Ec(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var r=ec();null!==(e=La(e,t))&&(At(e,t,r),nc(e,r))}function Sc(e){var t=e.memoizedState,r=0;null!==t&&(r=t.retryLane),Ec(e,r)}function _c(e,t){var r=0;switch(e.tag){case 13:var n=e.stateNode,o=e.memoizedState;null!==o&&(r=o.retryLane);break;case 19:n=e.stateNode;break;default:throw Error(a(314))}null!==n&&n.delete(t),Ec(e,r)}function Oc(e,t){return Ge(e,t)}function Dc(e,t,r,n){this.tag=e,this.key=r,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nc(e,t,r,n){return new Dc(e,t,r,n)}function Rc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Tc(e,t){var r=e.alternate;return null===r?((r=Nc(e.tag,t,e.key,e.mode)).elementType=e.elementType,r.type=e.type,r.stateNode=e.stateNode,r.alternate=e,e.alternate=r):(r.pendingProps=t,r.type=e.type,r.flags=0,r.subtreeFlags=0,r.deletions=null),r.flags=14680064&e.flags,r.childLanes=e.childLanes,r.lanes=e.lanes,r.child=e.child,r.memoizedProps=e.memoizedProps,r.memoizedState=e.memoizedState,r.updateQueue=e.updateQueue,t=e.dependencies,r.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},r.sibling=e.sibling,r.index=e.index,r.ref=e.ref,r}function jc(e,t,r,n,o,i){var s=2;if(n=e,"function"==typeof e)Rc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Lc(r.children,o,i,t);case k:s=8,o|=8;break;case B:return(e=Nc(12,r,t,2|o)).elementType=B,e.lanes=i,e;case O:return(e=Nc(13,r,t,o)).elementType=O,e.lanes=i,e;case D:return(e=Nc(19,r,t,o)).elementType=D,e.lanes=i,e;case T:return Fc(r,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case E:s=10;break e;case S:s=9;break e;case _:s=11;break e;case N:s=14;break e;case R:s=16,n=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Nc(s,r,t,o)).elementType=e,t.type=n,t.lanes=i,t}function Lc(e,t,r,n){return(e=Nc(7,e,n,t)).lanes=r,e}function Fc(e,t,r,n){return(e=Nc(22,e,n,t)).elementType=T,e.lanes=r,e.stateNode={isHidden:!1},e}function Mc(e,t,r){return(e=Nc(6,e,null,t)).lanes=r,e}function Pc(e,t,r){return(t=Nc(4,null!==e.children?e.children:[],e.key,t)).lanes=r,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Ic(e,t,r,n,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=n,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qc(e,t,r,n,o,a,i,s,l){return e=new Ic(e,t,r,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Nc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:n,isDehydrated:r,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ma(a),e}function zc(e){if(!e)return _o;e:{if(Ue(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(To(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var r=e.type;if(To(r))return Fo(e,r,t)}return t}function Uc(e,t,r,n,o,a,i,s,l){return(e=qc(r,n,!0,e,0,a,0,s,l)).context=zc(null),r=e.current,(a=Ia(n=ec(),o=tc(r))).callback=null!=t?t:null,qa(r,a,o),e.current.lanes=o,At(e,o,n),nc(e,n),e}function $c(e,t,r,n){var o=t.current,a=ec(),i=tc(o);return r=zc(r),null===t.context?t.context=r:t.pendingContext=r,(t=Ia(a,i)).payload={element:e},null!==(n=void 0===n?null:n)&&(t.callback=n),null!==(e=qa(o,t,i))&&(rc(e,o,i,a),za(e,o,i)),i}function Vc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var r=e.retryLane;e.retryLane=0!==r&&r<t?r:t}}function Hc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}xl=function(e,t,r){if(null!==e)if(e.memoizedProps!==t.pendingProps||Do.current)bs=!0;else{if(0===(e.lanes&r)&&!(128&t.flags))return bs=!1,function(e,t,r){switch(t.tag){case 3:Os(t),ga();break;case 5:Za(t);break;case 1:To(t.type)&&Mo(t);break;case 4:Xa(t,t.stateNode.containerInfo);break;case 10:var n=t.type._context,o=t.memoizedProps.value;So(xa,n._currentValue),n._currentValue=o;break;case 13:if(null!==(n=t.memoizedState))return null!==n.dehydrated?(So(ei,1&ei.current),t.flags|=128,null):0!==(r&t.child.childLanes)?Ms(e,t,r):(So(ei,1&ei.current),null!==(e=Vs(e,t,r))?e.sibling:null);So(ei,1&ei.current);break;case 19:if(n=0!==(r&t.childLanes),128&e.flags){if(n)return Us(e,t,r);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),So(ei,ei.current),n)break;return null;case 22:case 23:return t.lanes=0,ks(e,t,r)}return Vs(e,t,r)}(e,t,r);bs=!!(131072&e.flags)}else bs=!1,aa&&1048576&t.flags&&ea(t,Go,t.index);switch(t.lanes=0,t.tag){case 2:var n=t.type;$s(e,t),e=t.pendingProps;var o=Ro(t,Oo.current);Da(t,r),o=mi(null,t,n,e,o,r);var i=Ai();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,To(n)?(i=!0,Mo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ma(t),o.updater=os,t.stateNode=o,o._reactInternals=t,ls(t,n,e,r),t=_s(null,t,n,!0,i,r)):(t.tag=0,aa&&i&&ta(t),Cs(null,t,o,r),t=t.child),t;case 16:n=t.elementType;e:{switch($s(e,t),e=t.pendingProps,n=(o=n._init)(n._payload),t.type=n,o=t.tag=function(e){if("function"==typeof e)return Rc(e)?1:0;if(null!=e){if((e=e.$$typeof)===_)return 11;if(e===N)return 14}return 2}(n),e=rs(n,e),o){case 0:t=Es(null,t,n,e,r);break e;case 1:t=Ss(null,t,n,e,r);break e;case 11:t=ws(null,t,n,e,r);break e;case 14:t=ys(null,t,n,rs(n.type,e),r);break e}throw Error(a(306,n,""))}return t;case 0:return n=t.type,o=t.pendingProps,Es(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 1:return n=t.type,o=t.pendingProps,Ss(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 3:e:{if(Os(t),null===e)throw Error(a(387));n=t.pendingProps,o=(i=t.memoizedState).element,Pa(e,t),$a(t,n,null,r);var s=t.memoizedState;if(n=s.element,i.isDehydrated){if(i={element:n,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Ds(e,t,n,r,o=cs(Error(a(423)),t));break e}if(n!==o){t=Ds(e,t,n,r,o=cs(Error(a(424)),t));break e}for(oa=co(t.stateNode.containerInfo.firstChild),na=t,aa=!0,ia=null,r=ya(t,null,n,r),t.child=r;r;)r.flags=-3&r.flags|4096,r=r.sibling}else{if(ga(),n===o){t=Vs(e,t,r);break e}Cs(e,t,n,r)}t=t.child}return t;case 5:return Za(t),null===e&&ua(t),n=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,s=o.children,ro(n,o)?s=null:null!==i&&ro(n,i)&&(t.flags|=32),Bs(e,t),Cs(e,t,s,r),t.child;case 6:return null===e&&ua(t),null;case 13:return Ms(e,t,r);case 4:return Xa(t,t.stateNode.containerInfo),n=t.pendingProps,null===e?t.child=wa(t,null,n,r):Cs(e,t,n,r),t.child;case 11:return n=t.type,o=t.pendingProps,ws(e,t,n,o=t.elementType===n?o:rs(n,o),r);case 7:return Cs(e,t,t.pendingProps,r),t.child;case 8:case 12:return Cs(e,t,t.pendingProps.children,r),t.child;case 10:e:{if(n=t.type._context,o=t.pendingProps,i=t.memoizedProps,s=o.value,So(xa,n._currentValue),n._currentValue=s,null!==i)if(sn(i.value,s)){if(i.children===o.children&&!Do.current){t=Vs(e,t,r);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var l=i.dependencies;if(null!==l){s=i.child;for(var c=l.firstContext;null!==c;){if(c.context===n){if(1===i.tag){(c=Ia(-1,r&-r)).tag=2;var u=i.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}i.lanes|=r,null!==(c=i.alternate)&&(c.lanes|=r),Oa(i.return,r,t),l.lanes|=r;break}c=c.next}}else if(10===i.tag)s=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(s=i.return))throw Error(a(341));s.lanes|=r,null!==(l=s.alternate)&&(l.lanes|=r),Oa(s,r,t),s=i.sibling}else s=i.child;if(null!==s)s.return=i;else for(s=i;null!==s;){if(s===t){s=null;break}if(null!==(i=s.sibling)){i.return=s.return,s=i;break}s=s.return}i=s}Cs(e,t,o.children,r),t=t.child}return t;case 9:return o=t.type,n=t.pendingProps.children,Da(t,r),n=n(o=Na(o)),t.flags|=1,Cs(e,t,n,r),t.child;case 14:return o=rs(n=t.type,t.pendingProps),ys(e,t,n,o=rs(n.type,o),r);case 15:return xs(e,t,t.type,t.pendingProps,r);case 17:return n=t.type,o=t.pendingProps,o=t.elementType===n?o:rs(n,o),$s(e,t),t.tag=1,To(n)?(e=!0,Mo(t)):e=!1,Da(t,r),is(t,n,o),ls(t,n,o,r),_s(null,t,n,!0,e,r);case 19:return Us(e,t,r);case 22:return ks(e,t,r)}throw Error(a(156,t.tag))};var Gc="function"==typeof reportError?reportError:function(e){console.error(e)};function Kc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Xc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zc(){}function Jc(e,t,r,n,o){var a=r._reactRootContainer;if(a){var i=a;if("function"==typeof o){var s=o;o=function(){var e=Vc(i);s.call(e)}}$c(t,i,e,o)}else i=function(e,t,r,n,o){if(o){if("function"==typeof n){var a=n;n=function(){var e=Vc(i);a.call(e)}}var i=Uc(t,n,e,0,null,!1,0,"",Zc);return e._reactRootContainer=i,e[ho]=i.current,Un(8===e.nodeType?e.parentNode:e),uc(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof n){var s=n;n=function(){var e=Vc(l);s.call(e)}}var l=qc(e,0,!1,null,0,!1,0,"",Zc);return e._reactRootContainer=l,e[ho]=l.current,Un(8===e.nodeType?e.parentNode:e),uc(function(){$c(t,l,r,n)}),l}(r,t,e,o,n);return Vc(i)}Yc.prototype.render=Kc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));$c(e,t,null,null)},Yc.prototype.unmount=Kc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc(function(){$c(null,e,null,null)}),t[ho]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=kt();e={blockedOn:null,target:e,priority:t};for(var r=0;r<Tt.length&&0!==t&&t<Tt[r].priority;r++);Tt.splice(r,0,e),0===r&&Mt(e)}},wt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var r=dt(t.pendingLanes);0!==r&&(vt(t,1|r),nc(t,Qe()),!(6&_l)&&(Ul=Qe()+500,$o()))}break;case 13:uc(function(){var t=La(e,1);if(null!==t){var r=ec();rc(t,e,1,r)}}),Hc(e,1)}},yt=function(e){if(13===e.tag){var t=La(e,134217728);null!==t&&rc(t,e,134217728,ec()),Hc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),r=La(e,t);null!==r&&rc(r,e,t,ec()),Hc(e,t)}},kt=function(){return bt},Bt=function(e,t){var r=bt;try{return bt=e,t()}finally{bt=r}},ye=function(e,t,r){switch(t){case"input":if(Z(e,r),t=r.name,"radio"===r.type&&null!=t){for(r=e;r.parentNode;)r=r.parentNode;for(r=r.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<r.length;t++){var n=r[t];if(n!==e&&n.form===e.form){var o=yo(n);if(!o)throw Error(a(90));G(n),Z(n,o)}}}break;case"textarea":ae(e,r);break;case"select":null!=(t=r.value)&&re(e,!!r.multiple,t,!1)}},_e=cc,Oe=uc;var eu={usingClientEntryPoint:!1,Events:[Co,wo,yo,Ee,Se,cc]},tu={findFiberByHostInstance:bo,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},ru={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var nu=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!nu.isDisabled&&nu.supportsFiber)try{ot=nu.inject(ru),at=nu}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Xc(t))throw Error(a(200));return function(e,t,r){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:y,key:null==n?null:""+n,children:e,containerInfo:t,implementation:r}}(e,t,null,r)},t.createRoot=function(e,t){if(!Xc(e))throw Error(a(299));var r=!1,n="",o=Gc;return null!=t&&(!0===t.unstable_strictMode&&(r=!0),void 0!==t.identifierPrefix&&(n=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=qc(e,1,!1,null,0,r,0,n,o),e[ho]=t.current,Un(8===e.nodeType?e.parentNode:e),new Kc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,r){if(!Qc(t))throw Error(a(200));return Jc(null,e,t,!0,r)},t.hydrateRoot=function(e,t,r){if(!Xc(e))throw Error(a(405));var n=null!=r&&r.hydratedSources||null,o=!1,i="",s=Gc;if(null!=r&&(!0===r.unstable_strictMode&&(o=!0),void 0!==r.identifierPrefix&&(i=r.identifierPrefix),void 0!==r.onRecoverableError&&(s=r.onRecoverableError)),t=Uc(t,null,e,1,null!=r?r:null,o,0,i,s),e[ho]=t.current,Un(e),n)for(e=0;e<n.length;e++)o=(o=(r=n[e])._getVersion)(r._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[r,o]:t.mutableSourceEagerHydrationData.push(r,o);return new Yc(t)},t.render=function(e,t,r){if(!Qc(t))throw Error(a(200));return Jc(null,e,t,!1,r)},t.unmountComponentAtNode=function(e){if(!Qc(e))throw Error(a(40));return!!e._reactRootContainer&&(uc(function(){Jc(null,null,e,!1,function(){e._reactRootContainer=null,e[ho]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,r,n){if(!Qc(r))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return Jc(e,t,r,!1,n)},t.version="18.3.1-next-f1338f8080-20240426"},4140:function(e,t,r){"use strict";var n=r(2483);t.H=n.createRoot,n.hydrateRoot},2483:function(e,t,r){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=r(7045)},3394:function(e,t,r){"use strict";var n=r(7810),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,s=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,r){var n,a={},c=null,u=null;for(n in void 0!==r&&(c=""+r),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)i.call(t,n)&&!l.hasOwnProperty(n)&&(a[n]=t[n]);if(e&&e.defaultProps)for(n in t=e.defaultProps)void 0===a[n]&&(a[n]=t[n]);return{$$typeof:o,type:e,key:c,ref:u,props:a,_owner:s.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},5677:function(e,t){"use strict";var r=Symbol.for("react.element"),n=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),f=Symbol.iterator,g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,m={};function A(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}function v(){}function b(e,t,r){this.props=e,this.context=t,this.refs=m,this.updater=r||g}A.prototype.isReactComponent={},A.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},A.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},v.prototype=A.prototype;var C=b.prototype=new v;C.constructor=b,h(C,A.prototype),C.isPureReactComponent=!0;var w=Array.isArray,y=Object.prototype.hasOwnProperty,x={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function B(e,t,n){var o,a={},i=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(i=""+t.key),t)y.call(t,o)&&!k.hasOwnProperty(o)&&(a[o]=t[o]);var l=arguments.length-2;if(1===l)a.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===a[o]&&(a[o]=l[o]);return{$$typeof:r,type:e,key:i,ref:s,props:a,_owner:x.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var S=/\/+/g;function _(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function O(e,t,o,a,i){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case n:l=!0}}if(l)return i=i(l=e),e=""===a?"."+_(l,0):a,w(i)?(o="",null!=e&&(o=e.replace(S,"$&/")+"/"),O(i,t,o,"",function(e){return e})):null!=i&&(E(i)&&(i=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||l&&l.key===i.key?"":(""+i.key).replace(S,"$&/")+"/")+e)),t.push(i)),1;if(l=0,a=""===a?".":a+":",w(e))for(var c=0;c<e.length;c++){var u=a+_(s=e[c],c);l+=O(s,t,o,u,i)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=O(s=s.value,t,o,u=a+_(s,c++),i);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function D(e,t,r){if(null==e)return e;var n=[],o=0;return O(e,n,"","",function(e){return t.call(r,e,o++)}),n}function N(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},T={transition:null},j={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:T,ReactCurrentOwner:x};function L(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:D,forEach:function(e,t,r){D(e,function(){t.apply(this,arguments)},r)},count:function(e){var t=0;return D(e,function(){t++}),t},toArray:function(e){return D(e,function(e){return e})||[]},only:function(e){if(!E(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=A,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=j,t.act=L,t.cloneElement=function(e,t,n){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),a=e.key,i=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,s=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)y.call(t,c)&&!k.hasOwnProperty(c)&&(o[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)o.children=n;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];o.children=l}return{$$typeof:r,type:e.type,key:a,ref:i,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=B,t.createFactory=function(e){var t=B.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:p,_payload:{_status:-1,_result:e},_init:N}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=T.transition;T.transition={};try{e()}finally{T.transition=t}},t.unstable_act=L,t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,r){return R.current.useImperativeHandle(e,t,r)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,r){return R.current.useReducer(e,t,r)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,r){return R.current.useSyncExternalStore(e,t,r)},t.useTransition=function(){return R.current.useTransition()},t.version="18.3.1"},7810:function(e,t,r){"use strict";e.exports=r(5677)},4922:function(e,t,r){"use strict";e.exports=r(3394)},1613:function(e,t){"use strict";function r(e,t){var r=e.length;e.push(t);e:for(;0<r;){var n=r-1>>>1,o=e[n];if(!(0<a(o,t)))break e;e[n]=t,e[r]=o,r=n}}function n(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],r=e.pop();if(r!==t){e[0]=r;e:for(var n=0,o=e.length,i=o>>>1;n<i;){var s=2*(n+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,r))c<o&&0>a(u,l)?(e[n]=u,e[c]=r,n=c):(e[n]=l,e[s]=r,n=s);else{if(!(c<o&&0>a(u,r)))break e;e[n]=u,e[c]=r,n=c}}}return t}function a(e,t){var r=e.sortIndex-t.sortIndex;return 0!==r?r:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,p=null,f=3,g=!1,h=!1,m=!1,A="function"==typeof setTimeout?setTimeout:null,v="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var t=n(u);null!==t;){if(null===t.callback)o(u);else{if(!(t.startTime<=e))break;o(u),t.sortIndex=t.expirationTime,r(c,t)}t=n(u)}}function w(e){if(m=!1,C(e),!h)if(null!==n(c))h=!0,T(y);else{var t=n(u);null!==t&&j(w,t.startTime-e)}}function y(e,r){h=!1,m&&(m=!1,v(E),E=-1),g=!0;var a=f;try{for(C(r),p=n(c);null!==p&&(!(p.expirationTime>r)||e&&!O());){var i=p.callback;if("function"==typeof i){p.callback=null,f=p.priorityLevel;var s=i(p.expirationTime<=r);r=t.unstable_now(),"function"==typeof s?p.callback=s:p===n(c)&&o(c),C(r)}else o(c);p=n(c)}if(null!==p)var l=!0;else{var d=n(u);null!==d&&j(w,d.startTime-r),l=!1}return l}finally{p=null,f=a,g=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,k=!1,B=null,E=-1,S=5,_=-1;function O(){return!(t.unstable_now()-_<S)}function D(){if(null!==B){var e=t.unstable_now();_=e;var r=!0;try{r=B(!0,e)}finally{r?x():(k=!1,B=null)}}else k=!1}if("function"==typeof b)x=function(){b(D)};else if("undefined"!=typeof MessageChannel){var N=new MessageChannel,R=N.port2;N.port1.onmessage=D,x=function(){R.postMessage(null)}}else x=function(){A(D,0)};function T(e){B=e,k||(k=!0,x())}function j(e,r){E=A(function(){e(t.unstable_now())},r)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||g||(h=!0,T(y))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):S=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return n(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var r=f;f=t;try{return e()}finally{f=r}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var r=f;f=e;try{return t()}finally{f=r}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>i?(e.sortIndex=a,r(u,e),null===n(c)&&e===n(u)&&(m?(v(E),E=-1):m=!0,j(w,a-i))):(e.sortIndex=s,r(c,e),h||g||(h=!0,T(y))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=f;return function(){var r=f;f=t;try{return e.apply(this,arguments)}finally{f=r}}}},2328:function(e,t,r){"use strict";e.exports=r(1613)},4903:function(e){"use strict";e.exports=function(e,t){if(0!=t&&(t>1||-1>t))throw new Error('Color Shader Error: unable shade accurately "'+e+'" by "'+t+'" amount. The amount must be less than 1.0 and greater than -1.0.');var r=void 0;switch(e.length){case 3:e+=e,r=parseInt(e,16);break;case 4:e=e.slice(1),e+=e,r=parseInt(e,16);break;case 7:r=parseInt(e.slice(1),16);break;default:r=parseInt(e,16)}var n=t<0?0:255,o=t<0?-1*t:t,a=r>>16,i=r>>8&255,s=255&r;return"#"+(16777216+65536*(Math.round((n-a)*o)+a)+256*(Math.round((n-i)*o)+i)+(Math.round((n-s)*o)+s)).toString(16).slice(1)}},6186:function(e){"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var a={},i=[],s=0;s<e.length;s++){var l=e[s],c=n.base?l[0]+n.base:l[0],u=a[c]||0,d="".concat(c," ").concat(u);a[c]=u+1;var p=r(d),f={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(f);else{var g=o(f,n);n.byIndex=s,t.splice(s,0,{identifier:d,updater:g,references:1})}i.push(d)}return i}function o(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;r.update(e=t)}else r.remove()}}e.exports=function(e,o){var a=n(e=e||[],o=o||{});return function(e){e=e||[];for(var i=0;i<a.length;i++){var s=r(a[i]);t[s].references--}for(var l=n(e,o),c=0;c<a.length;c++){var u=r(a[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}a=l}}},7433:function(e){"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},8990:function(e){"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},8626:function(e,t,r){"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},2155:function(e){"use strict";e.exports=function(e){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n="";r.supports&&(n+="@supports (".concat(r.supports,") {")),r.media&&(n+="@media ".concat(r.media," {"));var o=void 0!==r.layer;o&&(n+="@layer".concat(r.layer.length>0?" ".concat(r.layer):""," {")),n+=r.css,o&&(n+="}"),r.media&&(n+="}"),r.supports&&(n+="}");var a=r.sourceMap;a&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a))))," */")),t.styleTagTransform(n,e,t.options)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},9827:function(e){"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},3121:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},9122:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var r=arguments[t];r&&(e=i(e,a(r)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var r in e)n.call(e,r)&&e[r]&&(t=i(t,r));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(r=function(){return o}.apply(t,[]))||(e.exports=r)}()}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={id:e,loaded:!1,exports:{}};return o[e].call(r.exports,r,r.exports,i),r.loaded=!0,r.exports}i.m=o,i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(r,n){if(1&n&&(r=this(r)),8&n)return r;if("object"==typeof r&&r){if(4&n&&r.__esModule)return r;if(16&n&&"function"==typeof r.then)return r}var o=Object.create(null);i.r(o);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&n&&r;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(function(e){a[e]=function(){return r[e]}});return a.default=function(){return r},i.d(o,a),o},i.d=function(e,t){for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=function(e){return Promise.all(Object.keys(i.f).reduce(function(t,r){return i.f[r](e,t),t},[]))},i.u=function(e){return e+".min.js"},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r={},n="MoveoAI:",i.l=function(e,t,o,a){if(r[e])r[e].push(t);else{var s,l;if(void 0!==o)for(var c=document.getElementsByTagName("script"),u=0;u<c.length;u++){var d=c[u];if(d.getAttribute("src")==e||d.getAttribute("data-webpack")==n+o){s=d;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",i.nc&&s.setAttribute("nonce",i.nc),s.setAttribute("data-webpack",n+o),s.src=e),r[e]=[t];var p=function(t,n){s.onerror=s.onload=null,clearTimeout(f);var o=r[e];if(delete r[e],s.parentNode&&s.parentNode.removeChild(s),o&&o.forEach(function(e){return e(n)}),t)return t(n)},f=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),l&&document.head.appendChild(s)}},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){var e={323:0};i.f.j=function(t,r){var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(function(r,o){n=e[t]=[r,o]});r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,function(r){if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}},"chunk-"+t,t)}};var t=function(t,r){var n,o,a=r[0],s=r[1],l=r[2],c=0;if(a.some(function(t){return 0!==e[t]})){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);l&&l(i)}for(t&&t(r);c<a.length;c++)o=a[c],i.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=this.webpackChunkMoveoAI=this.webpackChunkMoveoAI||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))}(),i.nc=void 0;var s={};return function(){"use strict";i.r(s),i.d(s,{init:function(){return eO}});var e={};i.r(e),i.d(e,{Decoder:function(){return jh},Encoder:function(){return Th},PacketType:function(){return Rh},isPacketValid:function(){return Ph},protocol:function(){return Nh}});var t=i(4922),r=i(1931),n=i.n(r),o=i(7810),a=i.t(o,2);function l(e){return"init"in e}function c(e){return"function"==typeof e.write}function u(e){return"v"in e||"e"in e}function d(e){if("e"in e)throw e.e;if(!("v"in e))throw new Error("[Bug] atom state is not initialized");return e.v}function p(e){return"function"==typeof(null==e?void 0:e.then)}function f(e,t,r){if(!r.p.has(e)){r.p.add(e);const n=()=>r.p.delete(e);t.then(n,n)}}function g(e,t,r){const n=r.get(e),o=null==n?void 0:n.t,a=t.p;if(!(null==o?void 0:o.size))return a;if(!a.size)return o;const i=new Set(o);for(const e of a)i.add(e);return i}const h=(e,t,r,...n)=>r.read(...n),m=(e,t,r,...n)=>r.write(...n),A=(e,t,r)=>r.INTERNAL_onInit(t),v=(e,t,r,n)=>{var o;return null==(o=r.onMount)?void 0:o.call(r,n)},b=(e,t,r)=>{var n;const o=e[0];let a=o.get(r);if(!a){const i=e[6],s=e[9];a={d:new Map,p:new Set,n:0},o.set(r,a),null==(n=i.i)||n.call(i,r),function(e){return!!e.INTERNAL_onInit}(r)&&s(e,t,r)}return a},C=(e,t)=>{var r;const n=e[1],o=e[3],a=e[4],i=e[5],s=e[6],l=e[13];if(!(s.f||o.size||a.size||i.size))return;const c=[],u=e=>{try{e()}catch(e){c.push(e)}};do{s.f&&u(s.f);const c=new Set;for(const e of o){const t=null==(r=n.get(e))?void 0:r.l;if(t)for(const e of t)c.add(e)}o.clear();for(const e of i)c.add(e);i.clear();for(const e of a)c.add(e);a.clear();for(const e of c)u(e);o.size&&l(e,t)}while(o.size||i.size||a.size);if(c.length)throw new AggregateError(c)},w=(e,t)=>{const r=e[1],n=e[2],o=e[3],a=e[11],i=e[14],s=e[17];if(!o.size)return;const l=[],c=[],u=new WeakSet,d=new WeakSet,p=[],f=[];for(const r of o)p.push(r),f.push(a(e,t,r));for(;p.length;){const o=p.length-1,i=p[o],s=f[o];if(d.has(i))p.pop(),f.pop();else if(u.has(i)){if(n.get(i)===s.n)l.push(i),c.push(s);else if(n.has(i))throw new Error("[Bug] invalidated atom exists");d.add(i),p.pop(),f.pop()}else{u.add(i);for(const n of g(i,s,r))u.has(n)||(p.push(n),f.push(a(e,t,n)))}}for(let r=l.length-1;r>=0;--r){const a=l[r],u=c[r];let d=!1;for(const e of u.d.keys())if(e!==a&&o.has(e)){d=!0;break}d&&(n.set(a,u.n),i(e,t,a),s(e,t,a)),n.delete(a)}},y=new WeakSet,x=(e,t,r)=>{var n,o;const a=e[1],i=e[2],s=e[3],g=e[6],h=e[7],m=e[11],A=e[12],v=e[13],b=e[14],C=e[16],w=e[17],x=e[20],k=e[26],B=e[28],E=m(e,t,r),S=B[0];if(u(E)){if(a.has(r)&&i.get(r)!==E.n||E.m===S)return E.m=S,E;let n=!1;for(const[r,o]of E.d)if(b(e,t,r).n!==o){n=!0;break}if(!n)return E.m=S,E}let _=!0;const O=new Set(E.d.keys()),D=()=>{for(const e of O)E.d.delete(e)},N=()=>{if(a.has(r)){const n=!s.size;w(e,t,r),n&&(v(e,t),A(e,t))}},R=n=>{var o;if(n===r){const r=m(e,t,n);if(!u(r)){if(!l(n))throw new Error("no atom init");x(e,t,n,n.init)}return d(r)}const i=b(e,t,n);try{return d(i)}finally{O.delete(n),E.d.set(n,i.n),p(E.v)&&f(r,E.v,i),a.has(r)&&(null==(o=a.get(n))||o.t.add(r)),_||N()}};let T,j;const L={get signal(){return T||(T=new AbortController),T.signal},get setSelf(){return console.warn("[DEPRECATED] setSelf is deprecated and will be removed in v3."),c(r)||console.warn("setSelf function cannot be used with read-only atom"),!j&&c(r)&&(j=(...n)=>{if(_&&console.warn("setSelf function cannot be called in sync"),!_)try{return C(e,t,r,n)}finally{v(e,t),A(e,t)}}),j}},F=E.n,M=i.get(r)===F;try{y.delete(t);const o=h(e,t,r,R,L);if(y.has(t)&&console.warn("Detected store mutation during atom read. This is not supported."),x(e,t,r,o),p(o)){k(e,t,o,()=>null==T?void 0:T.abort());const r=()=>{D(),N()};o.then(r,r)}else D();return null==(n=g.r)||n.call(g,r),E.m=S,E}catch(e){return delete E.v,E.e=e,++E.n,E.m=S,E}finally{_=!1,E.n!==F&&M&&(i.set(r,E.n),s.add(r),null==(o=g.c)||o.call(g,r))}},k=(e,t,r)=>{const n=e[1],o=e[2],a=e[11],i=[r];for(;i.length;){const r=i.pop(),s=a(e,t,r);for(const l of g(r,s,n)){const r=a(e,t,l);o.get(l)!==r.n&&(o.set(l,r.n),i.push(l))}}},B=(e,t,r,n)=>{const o=e[3],a=e[6],i=e[8],s=e[11],c=e[12],u=e[13],p=e[14],f=e[15],g=e[16],h=e[17],m=e[20],A=e[28];let v=!0;const b=r=>d(p(e,t,r)),C=(n,...i)=>{var d;const p=s(e,t,n);try{if(n===r){if(!l(n))throw new Error("atom not writable");y.add(t);const r=p.n,s=i[0];return m(e,t,n,s),h(e,t,n),void(r!==p.n&&(++A[0],o.add(n),f(e,t,n),null==(d=a.c)||d.call(a,n)))}return g(e,t,n,i)}finally{v||(u(e,t),c(e,t))}};try{return i(e,t,r,b,C,...n)}finally{v=!1}},E=(e,t,r)=>{var n;const o=e[1],a=e[3],i=e[6],s=e[11],l=e[15],c=e[18],u=e[19],d=s(e,t,r),p=o.get(r);if(p&&d.d.size>0){for(const[o,u]of d.d)if(!p.d.has(o)){const d=s(e,t,o);c(e,t,o).t.add(r),p.d.add(o),u!==d.n&&(a.add(o),l(e,t,o),null==(n=i.c)||n.call(i,o))}for(const n of p.d)if(!d.d.has(n)){p.d.delete(n);const o=u(e,t,n);null==o||o.t.delete(r)}}},S=(e,t,r)=>{var n;const o=e[1],a=e[4],i=e[6],s=e[10],l=e[11],u=e[12],d=e[13],p=e[14],f=e[16],g=e[18],h=l(e,t,r);let m=o.get(r);if(!m){p(e,t,r);for(const n of h.d.keys())g(e,t,n).t.add(r);if(m={l:new Set,d:new Set(h.d.keys()),t:new Set},o.set(r,m),c(r)&&function(e){return!!e.onMount}(r)){const n=()=>{let n=!0;const o=(...o)=>{try{return f(e,t,r,o)}finally{n||(d(e,t),u(e,t))}};try{const a=s(e,t,r,o);a&&(m.u=()=>{n=!0;try{a()}finally{n=!1}})}finally{n=!1}};a.add(n)}null==(n=i.m)||n.call(i,r)}return m},_=(e,t,r)=>{var n,o;const a=e[1],i=e[5],s=e[6],l=e[11],c=e[19],u=l(e,t,r);let d=a.get(r);if(!d||d.l.size)return d;let p=!1;for(const e of d.t)if(null==(n=a.get(e))?void 0:n.d.has(r)){p=!0;break}if(p)return d;d.u&&i.add(d.u),d=void 0,a.delete(r);for(const n of u.d.keys()){const o=c(e,t,n);null==o||o.t.delete(r)}null==(o=s.u)||o.call(s,r)},O=(e,t,r,n)=>{const o=e[11],a=e[27],i=o(e,t,r),s="v"in i,l=i.v;if(p(n))for(const a of i.d.keys())f(r,n,o(e,t,a));i.v=n,delete i.e,s&&Object.is(l,i.v)||(++i.n,p(l)&&a(e,t,l))},D=(e,t,r)=>d((0,e[14])(e,t,r)),N=(e,t,r,...n)=>{const o=e[3],a=e[12],i=e[13],s=e[16],l=o.size;try{return s(e,t,r,n)}finally{o.size!==l&&(i(e,t),a(e,t))}},R=(e,t,r,n)=>{const o=e[12],a=e[18],i=e[19],s=a(e,t,r).l;return s.add(n),o(e,t),()=>{s.delete(n),i(e,t,r),o(e,t)}},T=(e,t,r,n)=>{const o=e[25];let a=o.get(r);if(!a){a=new Set,o.set(r,a);const e=()=>o.delete(r);r.then(e,e)}a.add(n)},j=(e,t,r)=>{const n=e[25].get(r);null==n||n.forEach(e=>e())},L=new WeakMap;let F,M=0;function P(e,t){const r="atom"+ ++M,n={toString(){return this.debugLabel?r+":"+this.debugLabel:r}};return"function"==typeof e?n.read=e:(n.init=e,n.read=I,n.write=q),t&&(n.write=t),n}function I(e){return e(this)}function q(e,t,r){return t(this,"function"==typeof r?r(e(this)):r)}function z(){return function(...e){const t={get(e){return n(r,t,e)},set(e,...n){return o(r,t,e,...n)},sub(e,n){return a(r,t,e,n)}},r=[new WeakMap,new WeakMap,new WeakMap,new Set,new Set,new Set,{},h,m,A,v,b,C,w,x,k,B,E,S,_,O,D,N,R,void 0,new WeakMap,T,j,[0]].map((t,r)=>e[r]||t);L.set(t,Object.freeze(r));const n=r[21],o=r[22],a=r[23];return t}()}const U=(0,o.createContext)(void 0);function $(e){const t=(0,o.useContext)(U);return(null==e?void 0:e.store)||t||(F||(F=z(),globalThis.__JOTAI_DEFAULT_STORE__||(globalThis.__JOTAI_DEFAULT_STORE__=F),globalThis.__JOTAI_DEFAULT_STORE__!==F&&console.warn("Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044")),F)}function V({children:e,store:t}){const r=(0,o.useRef)(null);return t?(0,o.createElement)(U.Provider,{value:t},e):(null===r.current&&(r.current=z()),(0,o.createElement)(U.Provider,{value:r.current},e))}const W=e=>"function"==typeof(null==e?void 0:e.then),H=e=>{e.status||(e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}))},G=o.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(H(e),e)}),K=new WeakMap,Y=(e,t,r)=>{const n=function(e){const t=L.get(e);if(!t)throw new Error("Store must be created by buildStore to read its building blocks");const r=t[24];return r?r(t,e):t}(e),o=n[26];let a=K.get(t);return a||(a=new Promise((i,s)=>{let l=t;const c=e=>t=>{l===e&&i(t)},u=e=>t=>{l===e&&s(t)},d=()=>{try{const t=r();W(t)?(K.set(t,a),l=t,t.then(c(t),u(t)),o(n,e,t,d)):i(t)}catch(e){s(e)}};t.then(c(t),u(t)),o(n,e,t,d)}),K.set(t,a)),a};function X(e,t){const{delay:r,unstable_promiseStatus:n=!o.use}=t||{},a=$(t),[[i,s,l],c]=(0,o.useReducer)(t=>{const r=a.get(e);return Object.is(t[0],r)&&t[1]===a&&t[2]===e?t:[r,a,e]},void 0,()=>[a.get(e),a,e]);let u=i;if(s===a&&l===e||(c(),u=a.get(e)),(0,o.useEffect)(()=>{const t=a.sub(e,()=>{if(n)try{const t=a.get(e);W(t)&&H(Y(a,t,()=>a.get(e)))}catch(e){}if("number"==typeof r)return console.warn("[DEPRECATED] delay option is deprecated and will be removed in v3.\n\nMigration guide:\n\nCreate a custom hook like the following.\n\nfunction useAtomValueWithDelay<Value>(\n atom: Atom<Value>,\n options: { delay: number },\n): Value {\n const { delay } = options\n const store = useStore(options)\n const [value, setValue] = useState(() => store.get(atom))\n useEffect(() => {\n const unsub = store.sub(atom, () => {\n setTimeout(() => setValue(store.get(atom)), delay)\n })\n return unsub\n }, [store, atom, delay])\n return value\n}\n"),void setTimeout(c,r);c()});return c(),t},[a,e,r,n]),(0,o.useDebugValue)(u),W(u)){const t=Y(a,u,()=>a.get(e));return n&&H(t),G(t)}return u}function Q(e,t){const r=$(t);return(0,o.useCallback)((...t)=>{if(!("write"in e))throw new Error("not writable atom");return r.set(e,...t)},[r,e])}function Z(e,t){return[X(e,t),Q(e,t)]}var J=i(4140);const ee=n()("moveo:error-boundary");class te extends o.Component{constructor(){super(...arguments),this.state={hasError:!1}}static getDerivedStateFromError(e){return{hasError:!0}}componentDidCatch(e,t){ee("Uncaught error:",e,t)}render(){return this.state.hasError?null:this.props.children}}var re=i(3121),ne=i.n(re),oe=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function ae(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},r=e.match(/<\/?([^\s]+?)[/\s>]/);if(r&&(t.name=r[1],(ne()[r[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var n=e.indexOf("--\x3e");return{type:"comment",comment:-1!==n?e.slice(4,n):""}}for(var o=new RegExp(oe),a=null;null!==(a=o.exec(e));)if(a[0].trim())if(a[1]){var i=a[1].trim(),s=[i,""];i.indexOf("=")>-1&&(s=i.split("=")),t.attrs[s[0]]=s[1],o.lastIndex--}else a[2]&&(t.attrs[a[2]]=a[3].trim().substring(1,a[3].length-1));return t}var ie=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,se=/^\s*$/,le=Object.create(null);function ce(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var r in e)t.push(r+'="'+e[r]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(ce,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var ue={parse:function(e,t){t||(t={}),t.components||(t.components=le);var r,n=[],o=[],a=-1,i=!1;if(0!==e.indexOf("<")){var s=e.indexOf("<");n.push({type:"text",content:-1===s?e:e.substring(0,s)})}return e.replace(ie,function(s,l){if(i){if(s!=="</"+r.name+">")return;i=!1}var c,u="/"!==s.charAt(1),d=s.startsWith("\x3c!--"),p=l+s.length,f=e.charAt(p);if(d){var g=ae(s);return a<0?(n.push(g),n):((c=o[a]).children.push(g),n)}if(u&&(a++,"tag"===(r=ae(s)).type&&t.components[r.name]&&(r.type="component",i=!0),r.voidElement||i||!f||"<"===f||r.children.push({type:"text",content:e.slice(p,e.indexOf("<",p))}),0===a&&n.push(r),(c=o[a-1])&&c.children.push(r),o[a]=r),(!u||r.voidElement)&&(a>-1&&(r.voidElement||r.name===s.slice(2,-1))&&(a--,r=-1===a?n:o[a]),!i&&"<"!==f&&f)){c=-1===a?n:o[a].children;var h=e.indexOf("<",p),m=e.slice(p,-1===h?void 0:h);se.test(m)&&(m=" "),(h>-1&&a+c.length>=0||" "!==m)&&c.push({type:"text",content:m})}}),n},stringify:function(e){return e.reduce(function(e,t){return e+ce("",t)},"")}},de=ue;const pe=(e,t,r,n)=>{const o=[r,{code:t,...n||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);ve(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},fe={},ge=(e,t,r,n)=>{ve(r)&&fe[r]||(ve(r)&&(fe[r]=new Date),pe(e,t,r,n))},he=(e,t)=>()=>{if(e.isInitialized)t();else{const r=()=>{setTimeout(()=>{e.off("initialized",r)},0),t()};e.on("initialized",r)}},me=(e,t,r)=>{e.loadNamespaces(t,he(e,r))},Ae=(e,t,r,n)=>{if(ve(r)&&(r=[r]),e.options.preload&&e.options.preload.indexOf(t)>-1)return me(e,r,n);r.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,he(e,n))},ve=e=>"string"==typeof e,be=e=>"object"==typeof e&&null!==e,Ce=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,we={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ye=e=>we[e];let xe={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:e=>e.replace(Ce,ye)};const ke=()=>xe;let Be;const Ee=()=>Be,Se=(e,t)=>{if(!e)return!1;const r=e.props?.children??e.children;return t?r.length>0:!!r},_e=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?Oe(t):t},Oe=e=>Array.isArray(e)?e:[e],De=(e,t,r,n)=>{if(!e)return"";let a="";const i=Oe(e),s=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return i.forEach((e,i)=>{if(ve(e))a+=`${e}`;else{if((0,o.isValidElement)(e)){const{props:o,type:l}=e,c=Object.keys(o).length,u=s.indexOf(l)>-1,d=o.children;if(!d&&u&&!c)return void(a+=`<${l}/>`);if(!d&&(!u||c)||o.i18nIsDynamicList)return void(a+=`<${i}></${i}>`);if(u&&1===c&&ve(d))return void(a+=`<${l}>${d}</${l}>`);const p=De(d,t,r,n);return void(a+=`<${i}>${p}</${i}>`)}if(null!==e){if(be(e)){const{format:t,...o}=e,i=Object.keys(o);if(1===i.length){const e=t?`${i[0]}, ${t}`:i[0];return void(a+=`{{${e}}}`)}return void pe(r,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:n,child:e})}pe(r,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:n,child:e})}else pe(r,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:n})}}),a},Ne=(e,t,r)=>{const n=e.key||t,a=(0,o.cloneElement)(e,{key:n});return!a.props||!a.props.children||r.indexOf(`${t}/>`)<0&&r.indexOf(`${t} />`)<0?a:(0,o.createElement)(function(){return(0,o.createElement)(o.Fragment,null,a)},{key:n})};function Re({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:i={},values:s,defaults:l,components:c,ns:u,i18n:d,t:p,shouldUnescape:f,...g}){const h=d||Ee();if(!h)return ge(h,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:n}),e;const m=p||h.t.bind(h)||(e=>e),A={...ke(),...h.options?.react};let v=u||m.ns||h.options?.defaultNS;v=ve(v)?[v]:v||["translation"];const b=De(e,A,h,n),C=l||b||A.transEmptyNodeValue||n,{hashTransKey:w}=A,y=n||(w?w(b||C):b||C);h.options?.interpolation?.defaultVariables&&(s=s&&Object.keys(s).length>0?{...s,...h.options.interpolation.defaultVariables}:{...h.options.interpolation.defaultVariables});const x=s||void 0!==t&&!h.options?.interpolation?.alwaysFormat||!e?i.interpolation:{interpolation:{...i.interpolation,prefix:"#$?",suffix:"?$#"}},k={...i,context:a||i.context,count:t,...s,...x,defaultValue:C,ns:v},B=y?m(y,k):C,E=((e,t,r,n)=>e?Array.isArray(e)?((e,t)=>e.map((e,r)=>Ne(e,r,t)))(e,t):be(e)?((e,t)=>{const r={};return Object.keys(e).forEach(n=>{Object.assign(r,{[n]:Ne(e[n],n,t)})}),r})(e,t):(ge(r,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:n}),null):null)(c,B,h,n);let S=E||e,_=null;var O;be(O=E)&&!Array.isArray(O)&&Object.keys(O).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0)&&(_=E,S=e);const D=((e,t,r,n,a,i,s)=>{if(""===r)return[];const l=a.transKeepBasicHtmlNodesFor||[],c=r&&new RegExp(l.map(e=>`<${e}`).join("|")).test(r);if(!(e||t||c||s))return[r];const u=t??{},d=e=>{Oe(e).forEach(e=>{ve(e)||(Se(e)?d(_e(e)):be(e)&&!(0,o.isValidElement)(e)&&Object.assign(u,e))})};d(e);const p=de.parse(`<0>${r}</0>`),f={...u,...i},g=(e,t,r)=>{const n=_e(e),a=m(n,t.children,r);return(e=>Array.isArray(e)&&e.every(o.isValidElement))(n)&&0===a.length||e.props?.i18nIsDynamicList?n:a},h=(e,t,r,n,a)=>{e.dummy?(e.children=t,r.push((0,o.cloneElement)(e,{key:n},a?void 0:t))):r.push(...o.Children.map([e],e=>{const r={...e.props};return delete r.i18nIsDynamicList,(0,o.createElement)(e.type,{...r,key:n,ref:e.props.ref??e.ref},a?null:t)}))},m=(e,r,i)=>{const u=Oe(e);return Oe(r).reduce((e,r,d)=>{const p=r.children?.[0]?.content&&n.services.interpolator.interpolate(r.children[0].content,f,n.language);if("tag"===r.type){let s=u[parseInt(r.name,10)];!s&&t&&(s=t[r.name]),1!==i.length||s||(s=i[0][r.name]),s||(s={});const A=0!==Object.keys(r.attrs).length?((e,t)=>{const r={...t};return r.props=Object.assign(e.props,t.props),r})({props:r.attrs},s):s,v=(0,o.isValidElement)(A),b=v&&Se(r,!0)&&!r.voidElement,C=c&&be(A)&&A.dummy&&!v,w=be(t)&&Object.hasOwnProperty.call(t,r.name);if(ve(A)){const t=n.services.interpolator.interpolate(A,f,n.language);e.push(t)}else if(Se(A)||b){const t=g(A,r,i);h(A,t,e,d)}else if(C){const t=m(u,r.children,i);h(A,t,e,d)}else if(Number.isNaN(parseFloat(r.name)))if(w){const t=g(A,r,i);h(A,t,e,d,r.voidElement)}else if(a.transSupportBasicHtmlNodes&&l.indexOf(r.name)>-1)if(r.voidElement)e.push((0,o.createElement)(r.name,{key:`${r.name}-${d}`}));else{const t=m(u,r.children,i);e.push((0,o.createElement)(r.name,{key:`${r.name}-${d}`},t))}else if(r.voidElement)e.push(`<${r.name} />`);else{const t=m(u,r.children,i);e.push(`<${r.name}>${t}</${r.name}>`)}else if(be(A)&&!v){const t=r.children[0]?p:null;t&&e.push(t)}else h(A,p,e,d,1!==r.children.length||!p)}else if("text"===r.type){const t=a.transWrapTextNodes,i=s?a.unescape(n.services.interpolator.interpolate(r.content,f,n.language)):n.services.interpolator.interpolate(r.content,f,n.language);t?e.push((0,o.createElement)(t,{key:`${r.name}-${d}`},i)):e.push(i)}return e},[])},A=m([{dummy:!0,children:e||[]}],p,Oe(e||[]));return _e(A[0])})(S,_,B,h,A,k,f),N=r??A.defaultTransParent;return N?(0,o.createElement)(N,g,D):D}const Te={type:"3rdParty",init(e){((e={})=>{xe={...xe,...e}})(e.options.react),(e=>{Be=e})(e)}},je=(0,o.createContext)();class Le{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}function Fe({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:i={},values:s,defaults:l,components:c,ns:u,i18n:d,t:p,shouldUnescape:f,...g}){const{i18n:h,defaultNS:m}=(0,o.useContext)(je)||{},A=d||h||Ee(),v=p||A?.t.bind(A);return Re({children:e,count:t,parent:r,i18nKey:n,context:a,tOptions:i,values:s,defaults:l,components:c,ns:u||v?.ns||m||A?.options?.defaultNS,i18n:A,t:p,shouldUnescape:f,...g})}const Me=(e,t,r,n)=>e.getFixedT(t,r,n),Pe=(e,t={})=>{const{i18n:r}=t,{i18n:n,defaultNS:a}=(0,o.useContext)(je)||{},i=r||n||Ee();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Le),!i){ge(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const e=(e,t)=>ve(t)?t:be(t)&&ve(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,t=[e,{},!1];return t.t=e,t.i18n={},t.ready=!1,t}i.options.react?.wait&&ge(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const s={...ke(),...i.options.react,...t},{useSuspense:l,keyPrefix:c}=s;let u=e||a||i.options?.defaultNS;u=ve(u)?[u]:u||["translation"],i.reportNamespaces.addUsedNamespaces?.(u);const d=(i.isInitialized||i.initializedStoreOnce)&&u.every(e=>((e,t,r={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:r.lng,precheck:(t,n)=>{if(r.bindI18n&&r.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!n(t.isLanguageChangingTo,e))return!1}}):(ge(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,i,s)),p=((e,t,r,n)=>(0,o.useCallback)(Me(e,t,r,n),[e,t,r,n]))(i,t.lng||null,"fallback"===s.nsMode?u:u[0],c),f=()=>p,g=()=>Me(i,t.lng||null,"fallback"===s.nsMode?u:u[0],c),[h,m]=(0,o.useState)(f);let A=u.join();t.lng&&(A=`${t.lng}${A}`);const v=((e,t)=>{const r=(0,o.useRef)();return(0,o.useEffect)(()=>{r.current=e},[e,t]),r.current})(A),b=(0,o.useRef)(!0);(0,o.useEffect)(()=>{const{bindI18n:e,bindI18nStore:r}=s;b.current=!0,d||l||(t.lng?Ae(i,t.lng,u,()=>{b.current&&m(g)}):me(i,u,()=>{b.current&&m(g)})),d&&v&&v!==A&&b.current&&m(g);const n=()=>{b.current&&m(g)};return e&&i?.on(e,n),r&&i?.store.on(r,n),()=>{b.current=!1,i&&e&&e?.split(" ").forEach(e=>i.off(e,n)),r&&i&&r.split(" ").forEach(e=>i.store.off(e,n))}},[i,A]),(0,o.useEffect)(()=>{b.current&&d&&m(f)},[i,c,d]);const C=[h,i,d];if(C.t=h,C.i18n=i,C.ready=d,d)return C;if(!d&&!l)return C;throw new Promise(e=>{t.lng?Ae(i,t.lng,u,()=>e()):me(i,u,()=>e())})},Ie=e=>{if("object"==typeof e&&null!==e){if("function"==typeof Object.getPrototypeOf){const t=Object.getPrototypeOf(e);return t===Object.prototype||null===t}return"[object Object]"===Object.prototype.toString.call(e)}return!1},qe=(...e)=>e.reduce((e,t)=>{if(void 0===t)return e;if(Array.isArray(t))throw new TypeError("Arguments provided to ts-deepmerge must be objects, not arrays.");return Object.keys(t).forEach(r=>{["__proto__","constructor","prototype"].includes(r)||(Array.isArray(e[r])&&Array.isArray(t[r])?e[r]=qe.options.mergeArrays?qe.options.uniqueArrayItems?Array.from(new Set(e[r].concat(t[r]))):[...e[r],...t[r]]:t[r]:Ie(e[r])&&Ie(t[r])?e[r]=qe(e[r],t[r]):!Ie(e[r])&&Ie(t[r])?e[r]=qe(t[r],void 0):e[r]=void 0===t[r]?qe.options.allowUndefinedOverrides?t[r]:e[r]:t[r])}),e},{}),ze={allowUndefinedOverrides:!0,mergeArrays:!0,uniqueArrayItems:!0};qe.options=ze,qe.withOptions=(e,...t)=>{qe.options=Object.assign(Object.assign({},ze),e);const r=qe(...t);return qe.options=ze,r};const Ue={en:"English",el:"Ελληνικά",es:"Español",pt:"Português","pt-br":"Português brasileiro",it:"Italiano",fr:"Français",da:"Dansk",de:"Deutsch",ro:"Română",bg:"Български",cs:"Čeština",pl:"Polski",id:"Bahasa Indonesia",me:"Montenegrin",nl:"Nederlands","nl-be":"Nederlands (België)",sr:"Српски",sv:"Svenska",ru:"Русский",sq:"Shqip",ar:"العربية",ja:"日本語",zh:"中文",tr:"Türkçe",tl:"Tagalog"},$e="#1B66D6",Ve="#ffffff",We=Object.freeze({"bab4875e-0411-4ae1-9e98-19ea236d369b":"nbg","0ffdaef8-4ce9-4188-9fdd-4644e5062cf2":"alpha","0e614713-2e6b-4af2-8e9e-21c2a4617981":"fiserv"}),He=400,Ge="local-storage",Ke="storage",Ye="72px",Xe="672px",Qe="60px",Ze=2e3,Je=e=>/[\u0600-\u06FF]/.test(e)?"rtl":"ltr",et={"application/pdf":[".pdf"],"text/plain":[".txt",".csv"],"application/msword":[".doc",".docx"],"application/vnd.ms-excel":[".xls",".xlsx"],"application/vnd.ms-powerpoint":[".ppt",".pptx"],"image/jpeg":[".jpg",".jpeg"],"image/png":[".png"],"image/gif":[".gif"]},tt=e=>"string"==typeof e,rt=()=>{let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=e,r.reject=t,r},nt=e=>null==e?"":""+e,ot=/###/g,at=e=>e&&e.indexOf("###")>-1?e.replace(ot,"."):e,it=e=>!e||tt(e),st=(e,t,r)=>{const n=tt(t)?t.split("."):t;let o=0;for(;o<n.length-1;){if(it(e))return{};const t=at(n[o]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++o}return it(e)?{}:{obj:e,k:at(n[o])}},lt=(e,t,r)=>{const{obj:n,k:o}=st(e,t,Object);if(void 0!==n||1===t.length)return void(n[o]=r);let a=t[t.length-1],i=t.slice(0,t.length-1),s=st(e,i,Object);for(;void 0===s.obj&&i.length;)a=`${i[i.length-1]}.${a}`,i=i.slice(0,i.length-1),s=st(e,i,Object),s?.obj&&void 0!==s.obj[`${s.k}.${a}`]&&(s.obj=void 0);s.obj[`${s.k}.${a}`]=r},ct=(e,t)=>{const{obj:r,k:n}=st(e,t);if(r&&Object.prototype.hasOwnProperty.call(r,n))return r[n]},ut=(e,t,r)=>{for(const n in t)"__proto__"!==n&&"constructor"!==n&&(n in e?tt(e[n])||e[n]instanceof String||tt(t[n])||t[n]instanceof String?r&&(e[n]=t[n]):ut(e[n],t[n],r):e[n]=t[n]);return e},dt=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var pt={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const ft=e=>tt(e)?e.replace(/[&<>"'\/]/g,e=>pt[e]):e,gt=[" ",",","?","!",";"],ht=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const r=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,r),this.regExpQueue.push(e),r}}(20),mt=(e,t,r=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const n=t.split(r);let o=e;for(let e=0;e<n.length;){if(!o||"object"!=typeof o)return;let t,a="";for(let i=e;i<n.length;++i)if(i!==e&&(a+=r),a+=n[i],t=o[a],void 0!==t){if(["string","number","boolean"].indexOf(typeof t)>-1&&i<n.length-1)continue;e+=i-e+1;break}o=t}return o},At=e=>e?.replace(/_/g,"-"),vt={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class bt{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||vt,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,r,n){return n&&!this.debug?null:(tt(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new bt(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new bt(this.logger,e)}}var Ct=new bt;class wt{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const r=this.observers[e].get(t)||0;this.observers[e].set(t,r+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){this.observers[e]&&Array.from(this.observers[e].entries()).forEach(([e,r])=>{for(let n=0;n<r;n++)e(...t)}),this.observers["*"]&&Array.from(this.observers["*"].entries()).forEach(([r,n])=>{for(let o=0;o<n;o++)r.apply(r,[e,...t])})}}class yt extends wt{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,r,n={}){const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,a=void 0!==n.ignoreJSONStructure?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let i;e.indexOf(".")>-1?i=e.split("."):(i=[e,t],r&&(Array.isArray(r)?i.push(...r):tt(r)&&o?i.push(...r.split(o)):i.push(r)));const s=ct(this.data,i);return!s&&!t&&!r&&e.indexOf(".")>-1&&(e=i[0],t=i[1],r=i.slice(2).join(".")),!s&&a&&tt(r)?mt(this.data?.[e]?.[t],r,o):s}addResource(e,t,r,n,o={silent:!1}){const a=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let i=[e,t];r&&(i=i.concat(a?r.split(a):r)),e.indexOf(".")>-1&&(i=e.split("."),n=t,t=i[1]),this.addNamespaces(t),lt(this.data,i,n),o.silent||this.emit("added",e,t,r,n)}addResources(e,t,r,n={silent:!1}){for(const n in r)(tt(r[n])||Array.isArray(r[n]))&&this.addResource(e,t,n,r[n],{silent:!0});n.silent||this.emit("added",e,t,r)}addResourceBundle(e,t,r,n,o,a={silent:!1,skipCopy:!1}){let i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),n=r,r=t,t=i[1]),this.addNamespaces(t);let s=ct(this.data,i)||{};a.skipCopy||(r=JSON.parse(JSON.stringify(r))),n?ut(s,r,o):s={...s,...r},lt(this.data,i,s),a.silent||this.emit("added",e,t,r)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var xt={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,r,n,o){return e.forEach(e=>{t=this.processors[e]?.process(t,r,n,o)??t}),t}};const kt=Symbol("i18next/PATH_KEY");function Bt(e,t){const{[kt]:r}=e(function(){const e=[],t=Object.create(null);let r;return t.get=(n,o)=>(r?.revoke?.(),o===kt?e:(e.push(o),r=Proxy.revocable(n,t),r.proxy)),Proxy.revocable(Object.create(null),t).proxy}()),n=t?.keySeparator??".",o=t?.nsSeparator??":";if(r.length>1&&o){const e=t?.ns;if((e?Array.isArray(e)?e:[e]:[]).includes(r[0]))return`${r[0]}${o}${r.slice(1).join(n)}`}return r.join(n)}const Et={},St=e=>!tt(e)&&"boolean"!=typeof e&&"number"!=typeof e;class _t extends wt{constructor(e,t={}){super(),((e,t,r)=>{["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{t[e]&&(r[e]=t[e])})})(0,e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=Ct.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const r={...t};if(null==e)return!1;const n=this.resolve(e,r);if(void 0===n?.res)return!1;const o=St(n.res);return!1!==r.returnObjects||!o}extractFromKey(e,t){let r=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const n=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let o=t.ns||this.options.defaultNS||[];const a=r&&e.indexOf(r)>-1,i=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,r)=>{t=t||"",r=r||"";const n=gt.filter(e=>t.indexOf(e)<0&&r.indexOf(e)<0);if(0===n.length)return!0;const o=ht.getRegExp(`(${n.map(e=>"?"===e?"\\?":e).join("|")})`);let a=!o.test(e);if(!a){const t=e.indexOf(r);t>0&&!o.test(e.substring(0,t))&&(a=!0)}return a})(e,r,n));if(a&&!i){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:tt(o)?[o]:o};const a=e.split(r);(r!==n||r===n&&this.options.ns.indexOf(a[0])>-1)&&(o=a.shift()),e=a.join(n)}return{key:e,namespaces:tt(o)?[o]:o}}translate(e,t,r){let n="object"==typeof t?{...t}:t;if("object"!=typeof n&&this.options.overloadTranslationOptionHandler&&(n=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof n&&(n={...n}),n||(n={}),null==e)return"";"function"==typeof e&&(e=Bt(e,{...this.options,...n})),Array.isArray(e)||(e=[String(e)]),e=e.map(e=>"function"==typeof e?Bt(e,{...this.options,...n}):String(e));const o=void 0!==n.returnDetails?n.returnDetails:this.options.returnDetails,a=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator,{key:i,namespaces:s}=this.extractFromKey(e[e.length-1],n),l=s[s.length-1];let c=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===c&&(c=":");const u=n.lng||this.language,d=n.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===u?.toLowerCase())return d?o?{res:`${l}${c}${i}`,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:`${l}${c}${i}`:o?{res:i,usedKey:i,exactUsedKey:i,usedLng:u,usedNS:l,usedParams:this.getUsedParamsDetails(n)}:i;const p=this.resolve(e,n);let f=p?.res;const g=p?.usedKey||i,h=p?.exactUsedKey||i,m=void 0!==n.joinArrays?n.joinArrays:this.options.joinArrays,A=!this.i18nFormat||this.i18nFormat.handleAsObject,v=void 0!==n.count&&!tt(n.count),b=_t.hasDefaultValue(n),C=v?this.pluralResolver.getSuffix(u,n.count,n):"",w=n.ordinal&&v?this.pluralResolver.getSuffix(u,n.count,{ordinal:!1}):"",y=v&&!n.ordinal&&0===n.count,x=y&&n[`defaultValue${this.options.pluralSeparator}zero`]||n[`defaultValue${C}`]||n[`defaultValue${w}`]||n.defaultValue;let k=f;A&&!f&&b&&(k=x);const B=St(k),E=Object.prototype.toString.apply(k);if(!(A&&k&&B&&["[object Number]","[object Function]","[object RegExp]"].indexOf(E)<0)||tt(m)&&Array.isArray(k))if(A&&tt(m)&&Array.isArray(f))f=f.join(m),f&&(f=this.extendTranslation(f,e,n,r));else{let t=!1,o=!1;!this.isValidLookup(f)&&b&&(t=!0,f=x),this.isValidLookup(f)||(o=!0,f=i);const s=(n.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&o?void 0:f,d=b&&x!==f&&this.options.updateMissing;if(o||t||d){if(this.logger.log(d?"updateKey":"missingKey",u,l,i,d?x:f),a){const e=this.resolve(i,{...n,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,n.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(n.lng||this.language):e.push(n.lng||this.language);const r=(e,t,r)=>{const o=b&&r!==f?r:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,l,t,o,d,n):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,l,t,o,d,n),this.emit("missingKey",e,l,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&v?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,n);y&&n[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{r([e],i+t,n[`defaultValue${t}`]||x)})}):r(e,i,x))}f=this.extendTranslation(f,e,n,p,r),o&&f===i&&this.options.appendNamespaceToMissingKey&&(f=`${l}${c}${i}`),(o||t)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${l}${c}${i}`:i,t?f:void 0,n))}else{if(!n.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,k,{...n,ns:s}):`key '${i} (${this.language})' returned an object instead of string.`;return o?(p.res=e,p.usedParams=this.getUsedParamsDetails(n),p):e}if(a){const e=Array.isArray(k),t=e?[]:{},r=e?h:g;for(const e in k)if(Object.prototype.hasOwnProperty.call(k,e)){const o=`${r}${a}${e}`;t[e]=b&&!f?this.translate(o,{...n,defaultValue:St(x)?x[e]:void 0,joinArrays:!1,ns:s}):this.translate(o,{...n,joinArrays:!1,ns:s}),t[e]===o&&(t[e]=k[e])}f=t}}return o?(p.res=f,p.usedParams=this.getUsedParamsDetails(n),p):f}extendTranslation(e,t,r,n,o){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const a=tt(e)&&(void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let i;if(a){const t=e.match(this.interpolator.nestingRegexp);i=t&&t.length}let s=r.replace&&!tt(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),e=this.interpolator.interpolate(e,s,r.lng||this.language||n.usedLng,r),a){const t=e.match(this.interpolator.nestingRegexp);i<(t&&t.length)&&(r.nest=!1)}!r.lng&&n&&n.res&&(r.lng=this.language||n.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>o?.[0]!==e[0]||r.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}const a=r.postProcess||this.options.postProcess,i=tt(a)?[a]:a;return null!=e&&i?.length&&!1!==r.applyPostProcessor&&(e=xt.handle(i,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...n,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,t={}){let r,n,o,a,i;return tt(e)&&(e=[e]),Array.isArray(e)&&(e=e.map(e=>"function"==typeof e?Bt(e,{...this.options,...t}):e)),e.forEach(e=>{if(this.isValidLookup(r))return;const s=this.extractFromKey(e,t),l=s.key;n=l;let c=s.namespaces;this.options.fallbackNS&&(c=c.concat(this.options.fallbackNS));const u=void 0!==t.count&&!tt(t.count),d=u&&!t.ordinal&&0===t.count,p=void 0!==t.context&&(tt(t.context)||"number"==typeof t.context)&&""!==t.context,f=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);c.forEach(e=>{this.isValidLookup(r)||(i=e,Et[`${f[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(i)||(Et[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${n}" for languages "${f.join(", ")}" won't get resolved as namespace "${i}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(n=>{if(this.isValidLookup(r))return;a=n;const i=[l];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(i,l,n,e,t);else{let e;u&&(e=this.pluralResolver.getSuffix(n,t.count,t));const r=`${this.options.pluralSeparator}zero`,o=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(u&&(t.ordinal&&0===e.indexOf(o)&&i.push(l+e.replace(o,this.options.pluralSeparator)),i.push(l+e),d&&i.push(l+r)),p){const n=`${l}${this.options.contextSeparator||"_"}${t.context}`;i.push(n),u&&(t.ordinal&&0===e.indexOf(o)&&i.push(n+e.replace(o,this.options.pluralSeparator)),i.push(n+e),d&&i.push(n+r))}}let s;for(;s=i.pop();)this.isValidLookup(r)||(o=s,r=this.getResource(n,e,s,t))}))})}),{res:r,usedKey:n,exactUsedKey:o,usedLng:a,usedNS:i}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,r,n={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,r,n):this.resourceStore.getResource(e,t,r,n)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!tt(e.replace);let n=r?e.replace:e;if(r&&void 0!==e.count&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!r){n={...n};for(const e of t)delete n[e]}return n}static hasDefaultValue(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&"defaultValue"===t.substring(0,12)&&void 0!==e[t])return!0;return!1}}class Ot{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=Ct.create("languageUtils")}getScriptPartFromCode(e){if(!(e=At(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=At(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(tt(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(e){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const r=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(r)||(t=r)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const r=this.getScriptPartFromCode(e);if(this.isSupportedCode(r))return t=r;const n=this.getLanguagePartFromCode(e);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(e=>e===n?e:e.indexOf("-")<0&&n.indexOf("-")<0?void 0:e.indexOf("-")>0&&n.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===n||0===e.indexOf(n)&&n.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),tt(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let r=e[t];return r||(r=e[this.getScriptPartFromCode(t)]),r||(r=e[this.formatLanguageCode(t)]),r||(r=e[this.getLanguagePartFromCode(t)]),r||(r=e.default),r||[]}toResolveHierarchy(e,t){const r=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),n=[],o=e=>{e&&(this.isSupportedCode(e)?n.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return tt(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&o(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&o(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&o(this.getLanguagePartFromCode(e))):tt(e)&&o(this.formatLanguageCode(e)),r.forEach(e=>{n.indexOf(e)<0&&o(this.formatLanguageCode(e))}),n}}const Dt={zero:0,one:1,two:2,few:3,many:4,other:5},Nt={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Rt{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=Ct.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const r=At("dev"===e?"en":e),n=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:r,type:n});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let a;try{a=new Intl.PluralRules(r,{type:n})}catch(r){if("undefined"==typeof Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),Nt;if(!e.match(/-|_/))return Nt;const n=this.languageUtils.getLanguagePartFromCode(e);a=this.getRule(n,t)}return this.pluralRulesCache[o]=a,a}needsPlural(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,r={}){return this.getSuffixes(e,r).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let r=this.getRule(e,t);return r||(r=this.getRule("dev",t)),r?r.resolvedOptions().pluralCategories.sort((e,t)=>Dt[e]-Dt[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,r={}){const n=this.getRule(e,r);return n?`${this.options.prepend}${r.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,r))}}const Tt=(e,t,r,n=".",o=!0)=>{let a=((e,t,r)=>{const n=ct(e,r);return void 0!==n?n:ct(t,r)})(e,t,r);return!a&&o&&tt(r)&&(a=mt(e,r,n),void 0===a&&(a=mt(t,r,n))),a},jt=e=>e.replace(/\$/g,"$$$$");class Lt{constructor(e={}){this.logger=Ct.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:r,useRawValueToEscape:n,prefix:o,prefixEscaped:a,suffix:i,suffixEscaped:s,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:d,nestingPrefixEscaped:p,nestingSuffix:f,nestingSuffixEscaped:g,nestingOptionsSeparator:h,maxReplaces:m,alwaysFormat:A}=e.interpolation;this.escape=void 0!==t?t:ft,this.escapeValue=void 0===r||r,this.useRawValueToEscape=void 0!==n&&n,this.prefix=o?dt(o):a||"{{",this.suffix=i?dt(i):s||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=d?dt(d):p||dt("$t("),this.nestingSuffix=f?dt(f):g||dt(")"),this.nestingOptionsSeparator=h||",",this.maxReplaces=m||1e3,this.alwaysFormat=void 0!==A&&A,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,r,n){let o,a,i;const s=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},l=e=>{if(e.indexOf(this.formatSeparator)<0){const o=Tt(t,s,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,r,{...n,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),a=o.shift().trim(),i=o.join(this.formatSeparator).trim();return this.format(Tt(t,s,a,this.options.keySeparator,this.options.ignoreJSONStructure),i,r,{...n,...t,interpolationkey:a})};this.resetRegExp();const c=n?.missingInterpolationHandler||this.options.missingInterpolationHandler,u=void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>jt(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?jt(this.escape(e)):jt(e)}].forEach(t=>{for(i=0;o=t.regex.exec(e);){const r=o[1].trim();if(a=l(r),void 0===a)if("function"==typeof c){const t=c(e,o,n);a=tt(t)?t:""}else if(n&&Object.prototype.hasOwnProperty.call(n,r))a="";else{if(u){a=o[0];continue}this.logger.warn(`missed to pass in variable ${r} for interpolating ${e}`),a=""}else tt(a)||this.useRawValueToEscape||(a=nt(a));const s=t.safeValue(a);if(e=e.replace(o[0],s),u?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=o[0].length):t.regex.lastIndex=0,i++,i>=this.maxReplaces)break}}),e}nest(e,t,r={}){let n,o,a;const i=(e,t)=>{const r=this.nestingOptionsSeparator;if(e.indexOf(r)<0)return e;const n=e.split(new RegExp(`${dt(r)}[ ]*{`));let o=`{${n[1]}`;e=n[0],o=this.interpolate(o,a);const i=o.match(/'/g),s=o.match(/"/g);((i?.length??0)%2==0&&!s||(s?.length??0)%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a={...t,...a})}catch(t){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,t),`${e}${r}${o}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;n=this.nestingRegexp.exec(e);){let s=[];a={...r},a=a.replace&&!tt(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const l=/{.*}/.test(n[1])?n[1].lastIndexOf("}")+1:n[1].indexOf(this.formatSeparator);if(-1!==l&&(s=n[1].slice(l).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),n[1]=n[1].slice(0,l)),o=t(i.call(this,n[1].trim(),a),a),o&&n[0]===e&&!tt(o))return o;tt(o)||(o=nt(o)),o||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),o=""),s.length&&(o=s.reduce((e,t)=>this.format(e,t,r.lng,{...r,interpolationkey:n[1].trim()}),o.trim())),e=e.replace(n[0],o),this.regexp.lastIndex=0}return e}}const Ft=e=>{const t={};return(r,n,o)=>{let a=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(a={...a,[o.interpolationkey]:void 0});const i=n+JSON.stringify(a);let s=t[i];return s||(s=e(At(n),o),t[i]=s),s(r)}},Mt=e=>(t,r,n)=>e(At(r),n)(t);class Pt{constructor(e={}){this.logger=Ct.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const r=t.cacheInBuiltFormats?Ft:Mt;this.formats={number:r((e,t)=>{const r=new Intl.NumberFormat(e,{...t});return e=>r.format(e)}),currency:r((e,t)=>{const r=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>r.format(e)}),datetime:r((e,t)=>{const r=new Intl.DateTimeFormat(e,{...t});return e=>r.format(e)}),relativetime:r((e,t)=>{const r=new Intl.RelativeTimeFormat(e,{...t});return e=>r.format(e,t.range||"day")}),list:r((e,t)=>{const r=new Intl.ListFormat(e,{...t});return e=>r.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=Ft(t)}format(e,t,r,n={}){const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:a}=(e=>{let t=e.toLowerCase().trim();const r={};if(e.indexOf("(")>-1){const n=e.split("(");t=n[0].toLowerCase().trim();const o=n[1].substring(0,n[1].length-1);"currency"===t&&o.indexOf(":")<0?r.currency||(r.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?r.range||(r.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...n]=e.split(":"),o=n.join(":").trim().replace(/^'+|'+$/g,""),a=t.trim();r[a]||(r[a]=o),"false"===o&&(r[a]=!1),"true"===o&&(r[a]=!0),isNaN(o)||(r[a]=parseInt(o,10))}})}return{formatName:t,formatOptions:r}})(t);if(this.formats[o]){let t=e;try{const i=n?.formatParams?.[n.interpolationkey]||{},s=i.locale||i.lng||n.locale||n.lng||r;t=this.formats[o](e,s,{...a,...n,...i})}catch(e){this.logger.warn(e)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class It extends wt{constructor(e,t,r,n={}){super(),this.backend=e,this.store=t,this.services=r,this.languageUtils=r.languageUtils,this.options=n,this.logger=Ct.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(r,n.backend,n)}queueLoad(e,t,r,n){const o={},a={},i={},s={};return e.forEach(e=>{let n=!0;t.forEach(t=>{const i=`${e}|${t}`;!r.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===a[i]&&(a[i]=!0):(this.state[i]=1,n=!1,void 0===a[i]&&(a[i]=!0),void 0===o[i]&&(o[i]=!0),void 0===s[t]&&(s[t]=!0)))}),n||(i[e]=!0)}),(Object.keys(o).length||Object.keys(a).length)&&this.queue.push({pending:a,pendingCount:Object.keys(a).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(o),pending:Object.keys(a),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(s)}}loaded(e,t,r){const n=e.split("|"),o=n[0],a=n[1];t&&this.emit("failedLoading",o,a,t),!t&&r&&this.store.addResourceBundle(o,a,r,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&r&&(this.state[e]=0);const i={};this.queue.forEach(r=>{((e,t,r)=>{const{obj:n,k:o}=st(e,t,Object);n[o]=n[o]||[],n[o].push(r)})(r.loaded,[o],a),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(r,e),t&&r.errors.push(t),0!==r.pendingCount||r.done||(Object.keys(r.loaded).forEach(e=>{i[e]||(i[e]={});const t=r.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),r.done=!0,r.errors.length?r.callback(r.errors):r.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,r,n=0,o=this.retryTimeout,a){if(!e.length)return a(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:r,tried:n,wait:o,callback:a});this.readingCalls++;const i=(i,s)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&s&&n<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,r,n+1,2*o,a)},o):a(i,s)},s=this.backend[r].bind(this.backend);if(2!==s.length)return s(e,t,i);try{const r=s(e,t);r&&"function"==typeof r.then?r.then(e=>i(null,e)).catch(i):i(null,r)}catch(e){i(e)}}prepareLoading(e,t,r={},n){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),n&&n();tt(e)&&(e=this.languageUtils.toResolveHierarchy(e)),tt(t)&&(t=[t]);const o=this.queueLoad(e,t,r,n);if(!o.toLoad.length)return o.pending.length||n(),null;o.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,r){this.prepareLoading(e,t,{},r)}reload(e,t,r){this.prepareLoading(e,t,{reload:!0},r)}loadOne(e,t=""){const r=e.split("|"),n=r[0],o=r[1];this.read(n,o,"read",void 0,void 0,(r,a)=>{r&&this.logger.warn(`${t}loading namespace ${o} for language ${n} failed`,r),!r&&a&&this.logger.log(`${t}loaded namespace ${o} for language ${n}`,a),this.loaded(e,r,a)})}saveMissing(e,t,r,n,o,a={},i=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=r&&""!==r){if(this.backend?.create){const s={...a,isUpdate:o},l=this.backend.create.bind(this.backend);if(l.length<6)try{let o;o=5===l.length?l(e,t,r,n,s):l(e,t,r,n),o&&"function"==typeof o.then?o.then(e=>i(null,e)).catch(i):i(null,o)}catch(e){i(e)}else l(e,t,r,n,i,s)}e&&e[0]&&this.store.addResource(e[0],t,r,n)}}else this.logger.warn(`did not save key "${r}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const qt=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),tt(e[1])&&(t.defaultValue=e[1]),tt(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const r=e[3]||e[2];Object.keys(r).forEach(e=>{t[e]=r[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),zt=e=>(tt(e.ns)&&(e.ns=[e.ns]),tt(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),tt(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),Ut=()=>{},$t="__i18next_supportNoticeShown";class Vt extends wt{constructor(e={},t){var r;if(super(),this.options=zt(e),this.services={},this.logger=Ct,this.modules={external:[]},r=this,Object.getOwnPropertyNames(Object.getPrototypeOf(r)).forEach(e=>{"function"==typeof r[e]&&(r[e]=r[e].bind(r))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(tt(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const r=qt();var n;this.options={...r,...this.options,...zt(e)},this.options.interpolation={...r.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=r.overloadTranslationOptionHandler),!1===this.options.showSupportNotice||(n=this,n?.modules?.backend?.name?.indexOf("Locize")>0||n?.modules?.backend?.constructor?.name?.indexOf("Locize")>0||n?.options?.backend?.backends&&n.options.backend.backends.some(e=>e?.name?.indexOf("Locize")>0||e?.constructor?.name?.indexOf("Locize")>0)||n?.options?.backend?.projectId||n?.options?.backend?.backendOptions&&n.options.backend.backendOptions.some(e=>e?.projectId))||"undefined"!=typeof globalThis&&globalThis[$t]||("undefined"!=typeof console&&void 0!==console.info&&console.info("🌐 i18next is made possible by our own product, Locize — consider powering your project with managed localization (AI, CDN, integrations): https://locize.com 💙"),"undefined"!=typeof globalThis&&(globalThis[$t]=!0));const o=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?Ct.init(o(this.modules.logger),this.options):Ct.init(null,this.options),e=this.modules.formatter?this.modules.formatter:Pt;const t=new Ot(this.options);this.store=new yt(this.options.resources,this.options);const n=this.services;n.logger=Ct,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new Rt(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==r.interpolation.format||(n.formatter=o(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new Lt(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new It(o(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=o(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=o(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new _t(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=Ut),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const a=rt(),i=()=>{const e=(e,r)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),a.resolve(r),t(e,r)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?i():setTimeout(i,0),a}loadResources(e,t=Ut){let r=t;const n=tt(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===n?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();const e=[],t=t=>{t&&"cimode"!==t&&this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};n?t(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e)),this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){const n=rt();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=Ut),this.services.backendConnector.reload(e,t,e=>{n.resolve(),r(e)}),n}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&xt.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const r=rt();this.emit("languageChanging",e);const n=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},o=(o,a)=>{a?this.isLanguageChangingTo===e&&(n(a),this.translator.changeLanguage(a),this.isLanguageChangingTo=void 0,this.emit("languageChanged",a),this.logger.log("languageChanged",a)):this.isLanguageChangingTo=void 0,r.resolve((...e)=>this.t(...e)),t&&t(o,(...e)=>this.t(...e))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const r=tt(t)?t:t&&t[0],a=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(tt(t)?[t]:t);a&&(this.language||n(a),this.translator.language||this.translator.changeLanguage(a),this.services.languageDetector?.cacheUserLanguage?.(a)),this.loadResources(a,e=>{o(e,a)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),r}getFixedT(e,t,r){const n=(e,t,...o)=>{let a;a="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(o)):{...t},a.lng=a.lng||n.lng,a.lngs=a.lngs||n.lngs,a.ns=a.ns||n.ns,""!==a.keyPrefix&&(a.keyPrefix=a.keyPrefix||r||n.keyPrefix);const i=this.options.keySeparator||".";let s;return a.keyPrefix&&Array.isArray(e)?s=e.map(e=>("function"==typeof e&&(e=Bt(e,{...this.options,...t})),`${a.keyPrefix}${i}${e}`)):("function"==typeof e&&(e=Bt(e,{...this.options,...t})),s=a.keyPrefix?`${a.keyPrefix}${i}${e}`:e),this.t(s,a)};return tt(e)?n.lng=e:n.lngs=e,n.ns=t,n.keyPrefix=r,n}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const r=t.lng||this.resolvedLanguage||this.languages[0],n=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===r.toLowerCase())return!0;const a=(e,t)=>{const r=this.services.backendConnector.state[`${e}|${t}`];return-1===r||0===r||2===r};if(t.precheck){const e=t.precheck(this,a);if(void 0!==e)return e}return!(!this.hasResourceBundle(r,e)&&this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages)&&(!a(r,e)||n&&!a(o,e)))}loadNamespaces(e,t){const r=rt();return this.options.ns?(tt(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}loadLanguages(e,t){const r=rt();tt(e)&&(e=[e]);const n=this.options.preload||[],o=e.filter(e=>n.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return o.length?(this.options.preload=n.concat(o),this.loadResources(e=>{r.resolve(),t&&t(e)}),r):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(e){}const t=this.services?.languageUtils||new Ot(qt());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const r=new Vt(e,t);return r.createInstance=Vt.createInstance,r}cloneInstance(e={},t=Ut){const r=e.forkResourceStore;r&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},o=new Vt(n);if(void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e)),["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},r){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((r,n)=>(r[n]={...e[t][n]},r),e[t]),e),{});o.store=new yt(e,n),o.services.resourceStore=o.store}if(e.interpolation){const t={...qt().interpolation,...this.options.interpolation,...e.interpolation},r={...n,interpolation:t};o.services.interpolator=new Lt(r)}return o.translator=new _t(o.services,n),o.translator.on("*",(e,...t)=>{o.emit(e,...t)}),o.init(n,t),o.translator.options=n,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const Wt=Vt.createInstance();Wt.createInstance,Wt.dir,Wt.init,Wt.loadResources,Wt.reloadResources,Wt.use,Wt.changeLanguage,Wt.getFixedT,Wt.t,Wt.exists,Wt.setDefaultNamespace,Wt.hasLoadedNamespace,Wt.loadNamespaces,Wt.loadLanguages;var Ht="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,Gt="object"==typeof self&&self&&self.Object===Object&&self,Kt=Ht||Gt||Function("return this")(),Yt=Kt.Symbol,Xt=Array.isArray,Qt=Object.prototype,Zt=Qt.hasOwnProperty,Jt=Qt.toString,er=Yt?Yt.toStringTag:void 0,tr=Object.prototype.toString,rr=Yt?Yt.toStringTag:void 0,nr=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":rr&&rr in Object(e)?function(e){var t=Zt.call(e,er),r=e[er];try{e[er]=void 0;var n=!0}catch(e){}var o=Jt.call(e);return n&&(t?e[er]=r:delete e[er]),o}(e):function(e){return tr.call(e)}(e)},or=function(e){return null!=e&&"object"==typeof e},ar=function(e){return"symbol"==typeof e||or(e)&&"[object Symbol]"==nr(e)},ir=Yt?Yt.prototype:void 0,sr=ir?ir.toString:void 0,lr=function e(t){if("string"==typeof t)return t;if(Xt(t))return function(e,t){for(var r=-1,n=null==e?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}(t,e)+"";if(ar(t))return sr?sr.call(t):"";var r=t+"";return"0"==r&&1/t==-1/0?"-0":r},cr=function(e){return null==e?"":lr(e)},ur=function(e,t,r){var n=e.length;return r=void 0===r?n:r,!t&&r>=n?e:function(e,t,r){var n=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(r=r>o?o:r)<0&&(r+=o),o=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(o);++n<o;)a[n]=e[n+t];return a}(e,t,r)},dr=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),pr=function(e){return dr.test(e)},fr="\\ud800-\\udfff",gr="["+fr+"]",hr="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",mr="\\ud83c[\\udffb-\\udfff]",Ar="[^"+fr+"]",vr="(?:\\ud83c[\\udde6-\\uddff]){2}",br="[\\ud800-\\udbff][\\udc00-\\udfff]",Cr="(?:"+hr+"|"+mr+")?",wr="[\\ufe0e\\ufe0f]?",yr=wr+Cr+"(?:\\u200d(?:"+[Ar,vr,br].join("|")+")"+wr+Cr+")*",xr="(?:"+[Ar+hr+"?",hr,vr,br,gr].join("|")+")",kr=RegExp(mr+"(?="+mr+")|"+xr+yr,"g"),Br=function(e){return pr(e)?function(e){return e.match(kr)||[]}(e):function(e){return e.split("")}(e)},Er=function(e){e=cr(e);var t=pr(e)?Br(e):void 0,r=t?t[0]:e.charAt(0),n=t?ur(t,1).join(""):e.slice(1);return r.toUpperCase()+n};const Sr=new Uint8Array(16),_r=[];for(let e=0;e<256;++e)_r.push((e+256).toString(16).slice(1));var Or=function(e,t,r){return t||e||!crypto.randomUUID?function(e,t,r){const n=(e=e||{}).random??e.rng?.()??crypto.getRandomValues(Sr);if(n.length<16)throw new Error("Random bytes length must be >= 16");if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){if((r=r||0)<0||r+16>t.length)throw new RangeError(`UUID byte range ${r}:${r+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[r+e]=n[e];return t}return function(e,t=0){return(_r[e[t+0]]+_r[e[t+1]]+_r[e[t+2]]+_r[e[t+3]]+"-"+_r[e[t+4]]+_r[e[t+5]]+"-"+_r[e[t+6]]+_r[e[t+7]]+"-"+_r[e[t+8]]+_r[e[t+9]]+"-"+_r[e[t+10]]+_r[e[t+11]]+_r[e[t+12]]+_r[e[t+13]]+_r[e[t+14]]+_r[e[t+15]]).toLowerCase()}(n)}(e,t,r):crypto.randomUUID()};const Dr={CHANNELS_HOST:"https://channels-ws.moveo.ai",BRAIN_AVATAR:"https://res.cloudinary.com/moveo-ai/image/upload/v1637720224/avatars/images_wgdkxm.jpg",TEST_INTEGRATION_ID:"fake-integration-id"},Nr=()=>Dr,Rr=(()=>{const e="___moveo___";try{return localStorage.setItem(e,e),localStorage.removeItem(e),"localStorage"}catch(t){try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),"sessionStorage"}catch(e){return null}}})(),Tr={},jr=(e,t)=>{if(Rr)return window[Rr].setItem(e,t);Tr[e]=t},Lr=e=>Rr?window[Rr].getItem(e):Tr[e]||null,Fr=e=>{if(Rr)return window[Rr].removeItem(e);delete Tr[e]},Mr=e=>`moveo_${e}_voice_bucket`;function Pr({default:e,key:t}){const r=P(e);return r.debugLabel=t,r}function Ir({get:e,key:t}){const r=P(t=>e({get:t}));return r.debugLabel=t,r}function qr({get:e,key:t,set:r}){return function(){let n=null;const o=new Map,a=new Set;function i(a){let l;if(l=o.get(a),void 0!==l){if(!n?.(l[1],a))return l[0];i.remove(a)}const c=(n=>{const o=r?P(t=>e(n)({get:t}),(e,t,o)=>r(n)({get:e,set:t},o)):P(t=>e(n)({get:t}));return o.debugLabel=`${t}__${String(n)}`,o})(a);return o.set(a,[c,Date.now()]),s("CREATE",a,c),c}function s(e,t,r){for(const n of a)n({type:e,param:t,atom:r})}return i.unstable_listen=e=>(a.add(e),()=>{a.delete(e)}),i.getParams=()=>o.keys(),i.remove=e=>{{if(!o.has(e))return;const[t]=o.get(e);o.delete(e),s("REMOVE",e,t)}},i.setShouldRemove=e=>{if(n=e,n)for(const[e,[t,r]]of o)n(r,e)&&(o.delete(e),s("REMOVE",e,t))},i}()}var zr;!function(e){e[e.OK=0]="OK",e[e.OK_FALLBACK=1]="OK_FALLBACK"}(zr||(zr={}));var Ur,$r,Vr=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},Wr="object"==typeof exports&&exports&&!exports.nodeType&&exports,Hr=Wr&&"object"==typeof module&&module&&!module.nodeType&&module,Gr=Hr&&Hr.exports===Wr&&Ht.process,Kr=function(){try{return Hr&&Hr.require&&Hr.require("util").types||Gr&&Gr.binding&&Gr.binding("util")}catch(e){}}(),Yr=Kr&&Kr.isRegExp,Xr=Yr?(Ur=Yr,function(e){return Ur(e)}):function(e){return or(e)&&"[object RegExp]"==nr(e)},Qr=function(e){return null==e?void 0:e.length},Zr="\\ud800-\\udfff",Jr="["+Zr+"]",en="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",tn="\\ud83c[\\udffb-\\udfff]",rn="[^"+Zr+"]",nn="(?:\\ud83c[\\udde6-\\uddff]){2}",on="[\\ud800-\\udbff][\\udc00-\\udfff]",an="(?:"+en+"|"+tn+")?",sn="[\\ufe0e\\ufe0f]?",ln=sn+an+"(?:\\u200d(?:"+[rn,nn,on].join("|")+")"+sn+an+")*",cn="(?:"+[rn+en+"?",en,nn,on,Jr].join("|")+")",un=RegExp(tn+"(?="+tn+")|"+cn+ln,"g"),dn=function(e){return pr(e)?function(e){for(var t=un.lastIndex=0;un.test(e);)++t;return t}(e):Qr(e)},pn=/\s/,fn=/^\s+/,gn=function(e){return e?e.slice(0,function(e){for(var t=e.length;t--&&pn.test(e.charAt(t)););return t}(e)+1).replace(fn,""):e},hn=/^[-+]0x[0-9a-f]+$/i,mn=/^0b[01]+$/i,An=/^0o[0-7]+$/i,vn=parseInt,bn=function(e){if("number"==typeof e)return e;if(ar(e))return NaN;if(Vr(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=Vr(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=gn(e);var r=mn.test(e);return r||An.test(e)?vn(e.slice(2),r?2:8):hn.test(e)?NaN:+e},Cn=1/0,wn=function(e){var t=function(e){return e?(e=bn(e))===Cn||e===-1/0?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}(e),r=t%1;return t==t?r?t-r:t:0},yn=/\w*$/,xn=Kt["__core-js_shared__"],kn=($r=/[^.]+$/.exec(xn&&xn.keys&&xn.keys.IE_PROTO||""))?"Symbol(src)_1."+$r:"",Bn=Function.prototype.toString,En=/^\[object .+?Constructor\]$/,Sn=Function.prototype,_n=Object.prototype,On=Sn.toString,Dn=_n.hasOwnProperty,Nn=RegExp("^"+On.call(Dn).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Rn=function(e){return!(!Vr(e)||function(e){return!!kn&&kn in e}(e))&&(function(e){if(!Vr(e))return!1;var t=nr(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}(e)?Nn:En).test(function(e){if(null!=e){try{return Bn.call(e)}catch(e){}try{return e+""}catch(e){}}return""}(e))},Tn=function(e,t){var r=function(e,t){return null==e?void 0:e[t]}(e,t);return Rn(r)?r:void 0},jn=Tn(Object,"create"),Ln=Object.prototype.hasOwnProperty,Fn=Object.prototype.hasOwnProperty;function Mn(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Mn.prototype.clear=function(){this.__data__=jn?jn(null):{},this.size=0},Mn.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Mn.prototype.get=function(e){var t=this.__data__;if(jn){var r=t[e];return"__lodash_hash_undefined__"===r?void 0:r}return Ln.call(t,e)?t[e]:void 0},Mn.prototype.has=function(e){var t=this.__data__;return jn?void 0!==t[e]:Fn.call(t,e)},Mn.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=jn&&void 0===t?"__lodash_hash_undefined__":t,this};var Pn=Mn,In=function(e,t){return e===t||e!=e&&t!=t},qn=function(e,t){for(var r=e.length;r--;)if(In(e[r][0],t))return r;return-1},zn=Array.prototype.splice;function Un(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Un.prototype.clear=function(){this.__data__=[],this.size=0},Un.prototype.delete=function(e){var t=this.__data__,r=qn(t,e);return!(r<0||(r==t.length-1?t.pop():zn.call(t,r,1),--this.size,0))},Un.prototype.get=function(e){var t=this.__data__,r=qn(t,e);return r<0?void 0:t[r][1]},Un.prototype.has=function(e){return qn(this.__data__,e)>-1},Un.prototype.set=function(e,t){var r=this.__data__,n=qn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this};var $n=Un,Vn=Tn(Kt,"Map"),Wn=function(e,t){var r=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?r["string"==typeof t?"string":"hash"]:r.map};function Hn(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t<r;){var n=e[t];this.set(n[0],n[1])}}Hn.prototype.clear=function(){this.size=0,this.__data__={hash:new Pn,map:new(Vn||$n),string:new Pn}},Hn.prototype.delete=function(e){var t=Wn(this,e).delete(e);return this.size-=t?1:0,t},Hn.prototype.get=function(e){return Wn(this,e).get(e)},Hn.prototype.has=function(e){return Wn(this,e).has(e)},Hn.prototype.set=function(e,t){var r=Wn(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this};var Gn=Hn;function Kn(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new Gn;++t<r;)this.add(e[t])}Kn.prototype.add=Kn.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Kn.prototype.has=function(e){return this.__data__.has(e)};var Yn=Kn,Xn=function(e){return e!=e},Qn=function(e,t){return!(null==e||!e.length)&&function(e,t,r){return t==t?function(e,t,r){for(var n=r-1,o=e.length;++n<o;)if(e[n]===t)return n;return-1}(e,t,r):function(e,t,r,n){for(var o=e.length,a=r+(n?1:-1);n?a--:++a<o;)if(t(e[a],a,e))return a;return-1}(e,Xn,r)}(e,t,0)>-1},Zn=function(e,t,r){for(var n=-1,o=null==e?0:e.length;++n<o;)if(r(t,e[n]))return!0;return!1},Jn=function(e,t){return e.has(t)},eo=Tn(Kt,"Set"),to=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r},ro=eo&&1/to(new eo([,-0]))[1]==1/0?function(e){return new eo(e)}:function(){},no=function(e){return e&&e.length?function(e,t,r){var n=-1,o=Qn,a=e.length,i=!0,s=[],l=s;if(r)i=!1,o=Zn;else if(a>=200){var c=t?null:ro(e);if(c)return to(c);i=!1,o=Jn,l=new Yn}else l=t?[]:s;e:for(;++n<a;){var u=e[n],d=t?t(u):u;if(u=r||0!==u?u:0,i&&d==d){for(var p=l.length;p--;)if(l[p]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,r)||(l!==s&&l.push(d),s.push(u))}return s}(e):[]};const oo=e=>new Promise(t=>setTimeout(t,e)),ao=()=>Date.now(),io="Enter",so=/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)*)|((\x22)((((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(([\x01-\x08\x0b\x0c\x0e-\x1f\x7f]|\x21|[\x23-\x5b]|[\x5d-\x7e]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(\\([\x01-\x09\x0b\x0c\x0d-\x7f]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))))*(((\x20|\x09)*(\x0d\x0a))?(\x20|\x09)+)?(\x22)))@((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]))){2,}$/i,lo=e=>{if(e){const t=/^.*(youtu.be\/|v\/|u\/\w\/|embed\/|watch\?v=|\&v=|\?v=)([^#\&\?]*).*/,r=e.match(t);if(r&&11==r[2].length)return`https://www.youtube.com/embed/${r[2]}?autoplay=0`}return!1},co=(e,t)=>{var r,n;const o=null===(r=null==t?void 0:t.data)||void 0===r?void 0:r.type;return"string"==typeof o&&o.startsWith(e)?{type:o.replace(e,""),data:null===(n=t.data)||void 0===n?void 0:n.data}:null},uo=e=>{if(e){const t=new URL(e).origin;if(t.match(/localhost:|vercel.app/)||"https://web-client.dev.moveo.ai"===t||"https://web-client.moveo.ai"===t||"https://web.moveo.ai"===t||"https://web.dev.moveo.ai"===t)return!0}return!1};function po(e){return e&&"object"==typeof e&&!Array.isArray(e)}function fo(e={},t={}){const r=Object.assign({},e);return po(e)&&po(t)&&Object.keys(t).forEach(n=>{po(t[n])?n in e?r[n]=fo(e[n],t[n]):Object.assign(r,{[n]:t[n]}):Object.assign(r,{[n]:t[n]})}),r}const go=e=>{var{tags:t}=e,r=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["tags"]);if(!t)return r;const n=t.map(e=>{if("string"!=typeof e)return;let t=e.trim();return t?(t=ho(t),t=mo(t),t=t.replace(/\s+/g,"-"),function(e,t){var r=30,n="...";if(Vr(t)){var o="separator"in t?t.separator:o;r="length"in t?wn(t.length):r,n="omission"in t?lr(t.omission):n}var a=(e=cr(e)).length;if(pr(e)){var i=Br(e);a=i.length}if(r>=a)return e;var s=r-dn(n);if(s<1)return n;var l=i?ur(i,0,s).join(""):e.slice(0,s);if(void 0===o)return l+n;if(i&&(s+=l.length-s),Xr(o)){if(e.slice(s).search(o)){var c,u=l;for(o.global||(o=RegExp(o.source,cr(yn.exec(o))+"g")),o.lastIndex=0;c=o.exec(u);)var d=c.index;l=l.slice(0,void 0===d?s:d)}}else if(e.indexOf(lr(o),s)!=s){var p=l.lastIndexOf(o);p>-1&&(l=l.slice(0,p))}return l+n}(t,{length:48,omission:""})):void 0}).filter(e=>Boolean(e));return Object.assign(Object.assign({},r),{tags:no(n)})},ho=e=>{const t={"Α":"A","Β":"B","Γ":"G","Δ":"D","Ε":"E","Ζ":"Z","Η":"H","Θ":"Th","Ι":"I","Κ":"K","Λ":"L","Μ":"M","Ν":"N","Ξ":"X","Ο":"O","Π":"P","Ρ":"R","Σ":"S","Τ":"T","Υ":"Y","Φ":"F","Χ":"Ch","Ψ":"Ps","Ω":"O","α":"a","β":"b","γ":"g","δ":"d","ε":"e","ζ":"z","η":"i","θ":"th","ι":"i","κ":"k","λ":"l","μ":"m","ν":"n","ξ":"x","ο":"o","π":"p","ρ":"r","σ":"s","ς":"s","τ":"t","υ":"y","φ":"f","χ":"ch","ψ":"ps","ω":"o"};return e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").split("").map(e=>t[e]||e).join("")},mo=e=>e.normalize("NFD").replace(/[\u0300-\u036f]/g,"").replace(/[^\x00-\x7F]/g,""),Ao=e=>(null==e?void 0:e.user)?Object.assign(Object.assign({},e),{user:Object.assign(Object.assign({},e.user),{display_name:""===e.user.display_name?null:e.user.display_name})}):e,vo=e=>{var t,r;const n=null===(t=e.user)||void 0===t?void 0:t.email;if(!n||"string"!=typeof n)return e;const o=n.split(/[,; ]+/).map(e=>e.trim().toLowerCase()).filter(Boolean);return Object.assign(Object.assign({},e),{user:Object.assign(Object.assign({},e.user),{email:null!==(r=o[0])&&void 0!==r?r:n})})},bo=e=>{if(!e.user)return e;const t=["external_id","phone","user_id","contact_id"],r=Object.assign({},e.user);for(const e of t){const t=r[e];void 0!==t&&"string"!=typeof t&&(r[e]=`${t}`)}return Object.assign(Object.assign({},e),{user:r})},Co=/^\+?[0-9()-\s]{9,20}$/,wo=/^\+?[0-9]{7,18}$/,yo=(e,t)=>{const r="number"==typeof e?e:0,n="number"==typeof t?t:0;return(e=>{const t="number"==typeof e?e:0,r=Number.isFinite(t)?Math.max(0,Math.floor(t)):0,n=Math.floor(r/60),o=r%60;return`${String(n).padStart(2,"0")}:${String(o).padStart(2,"0")}`})(60*(Number.isFinite(r)?Math.max(0,r):0)+(Number.isFinite(n)?Math.max(0,n):0))},xo=e=>{var t;return!(null===(t=null==e?void 0:e.url)||void 0===t?void 0:t.includes("moveo.ai"))},ko=Pr({key:"connectionState",default:"offline"}),Bo=Pr({key:"socketIdState",default:void 0}),Eo=Pr({key:"webChatStateState",default:"idle"}),So=Ir({key:"isLoadingSelector",get:({get:e})=>{const t=e(Eo);return"synchronized"!==t&&"error"!==t}}),_o=Pr({key:"isOnlineState",default:!0}),Oo=Ir({key:"shouldReconnectSelector",get:({get:e})=>{const t=e(_o),r="offline"===e(ko),n=e(ya);return t&&r&&n}}),Do=Pr({key:"sessionState",default:{}}),No=Pr({key:"sessionIdFromStorageState",default:null}),Ro=Ir({key:"sessionIdSelector",get:({get:e})=>{const t=e(Do);return null==t?void 0:t.session_id}}),To=Ir({key:"isSessionExpiredSelector",get:({get:e})=>{const t=e(Do);return"expired"===(null==t?void 0:t.status)}}),jo=Ir({key:"isHumanChatSelector",get:({get:e})=>{const t=e(Do);return null==t?void 0:t.is_service_desk}}),Lo=Ir({key:"errorSessionSelector",get:({get:e})=>{const t=e(Do);return null==t?void 0:t.error}}),Fo=Ir({key:"contextSelector",get:({get:e})=>{const t=e(Do);return null==t?void 0:t.context}}),Mo=Ir({key:"userSelector",get:({get:e})=>{const t=e(Fo);return null==t?void 0:t.user}}),Po=Pr({key:"composeState",default:null}),Io=Pr({key:"leadersState",default:{}}),qo=Ir({key:"isLeaderSelector",get:({get:e})=>{const t=e(ii),r=e(Io),n=e(Bo),o=e(Ro);return!t||o&&n&&r[o]===n}}),zo=Ir({key:"showWelcomeFormSelector",get:({get:e})=>{var t;const{disclaimer:r,fields:n}=e(Ri),o=e(Fo);return!((null===(t=null==o?void 0:o.global)||void 0===t?void 0:t.visitor_form_completed)||!n&&!(null==r?void 0:r.enabled))}}),Uo=Ir({key:"triggerMessageSelector",get:({get:e})=>{const t=e(Ga),r=t.page_triggers;if(r)for(const e in r){const n=new RegExp(e),o=r[e].trigger_message;if(n.test(t.clientUrl)&&o)return{text:o}}return t.welcome_trigger_message?{text:t.welcome_trigger_message}:null}}),$o=Ir({key:"automaticMessageSelector",get:({get:e})=>{var t;const r=e(Uo),n=e(Ro),o=e(zo),a=e(Eo),i=null===(t=e(Li))||void 0===t?void 0:t.enabled,s=e(oa)>0;return!r||s||o||!n||"synchronized"!==a||i?null:r}}),Vo=Ir({key:"automaticMessageStorageKeySelector",get:({get:e})=>`moveo_${e(Qa)}_${e(Ro)}_message`}),Wo=Ir({key:"composeSelector",get:({get:e})=>{const t=e(Po);return"start"!==(null==t?void 0:t.action)?null:(t.author_avatar||(t.author_avatar=Nr().BRAIN_AVATAR),t)}}),Ho=Pr({key:"chatEventsState",default:[]}),Go=Pr({key:"lastBrainResponsesState",default:[]}),Ko=Ir({key:"lastBrainResponseResolveSelector",get:({get:e})=>e(Go).some(e=>"close"===e.response.type)}),Yo=Ir({key:"lastBrainResponseDefaultSurveySelector",get:({get:e})=>e(Go).some(e=>"survey"===e.response.type&&!xo(e.response))}),Xo=Ir({key:"showCompactResolved",get:({get:e})=>e(Go).some(e=>"brain_message"===e.event_type&&"survey"===e.response.type&&xo(e.response))}),Qo=Pr({key:"afterSurveyAction",default:null}),Zo=Ir({key:"chatEventsSelector",get:({get:e})=>{var t;const r=e(Ho),n=null===(t=e(Uo))||void 0===t?void 0:t.text;return r.filter((e,t)=>!n||t>0||"user_message"!==e.event_type||!(!n||n===e.text))}}),Jo=Pr({key:"brainEventsQueue",default:[]}),ea=Pr({key:"chatResetEpochState",default:0}),ta=Pr({key:"lastSentAtState",default:0}),ra=Pr({key:"lastSendAttemptAtState",default:0}),na=Ir({key:"firstQueuedMessageSelector",get:({get:e})=>e(Jo)[0]}),oa=Ir({key:"chatEventCountSelector",get:({get:e})=>e(Ho).length}),aa=Ir({key:"hasEventsSelector",get:({get:e})=>e(Ho).length>0}),ia=Ir({key:"isLastMessageReadSelector",get:({get:e})=>{const t=e(Ho).filter(e=>"agent_message"===e.event_type||"brain_message"===e.event_type).pop();return!t||"read_at"in t}}),sa=Ir({key:"hasUnreadMessagesSelector",get:({get:e})=>{const t=e(Ho).filter(e=>"agent_message"===e.event_type||"brain_message"===e.event_type).pop();return t&&!("read_at"in t)}}),la=Ir({key:"shouldDisplaySurveySelector",get:({get:e})=>{const t=e(Ho),r=e(Na)||!e(Pi),n=e(Yo);return t.filter(e=>"user_message"===e.event_type).length>=3&&!r||n}}),ca=qr({key:"isLastMessageFromBrainSelector",get:e=>({get:t})=>{var r;const n=t(Ho).filter(e=>"brain_message"===e.event_type);return(null===(r=n[n.length-1])||void 0===r?void 0:r.request_id)===e}}),ua=qr({key:"lastUserMessageSelector",get:e=>({get:t})=>{const r=t(Ho);let n=!1;for(const t of r){if(n&&"user_message"===t.event_type)return!0;t.event_id===e&&(n=!0)}return!1}}),da=Ir({key:"isTalkingToBrainSelector",get:({get:e})=>{const t=e(Ho);let r=0;return t.forEach(e=>{"member_join"===e.event_type&&"brain"===e.author_type?r+=1:"member_leave"===e.event_type&&"brain"===e.author_type&&(r-=1)}),r>0||0===t.length}}),pa=Ir({key:"assignedAgentIdSelector",get:({get:e})=>{const t=e(Ho);let r=null;return t.forEach(e=>{"member_join"===e.event_type&&"agent"===e.author_type?r=e.author_id:"member_leave"===e.event_type&&"agent"===e.author_type&&(r=null)}),r}}),fa=Ir({key:"isUnassignedSelector",get:({get:e})=>{const t=e(Ho),r=!!e(pa),n=e(da);return!r&&!n&&t.length>0}}),ga=Ir({key:"overviewSelector",get:({get:e})=>{var t,r,n,o;const a=e(Sa),i=e(fa),s=e(pa),l=null!==(n=null===(r=[...null!==(t=null==a?void 0:a.agents)&&void 0!==t?t:[]])||void 0===r?void 0:r.sort((e,t)=>"online"===e.status&&"online"!==t.status?-1:"online"!==e.status&&"online"===t.status?1:0))&&void 0!==n?n:[];return i&&a?{agents:l,queuePosition:null!==(o=a.queue_position)&&void 0!==o?o:0,waitingTime:a.wait_time_avg?a.queue_position*a.wait_time_avg:0}:s?{agents:l.filter(e=>e.agent_id===s),queuePosition:0,waitingTime:null}:{agents:[],queuePosition:0,waitingTime:null}}}),ha=Pr({key:"isWidgetOpenState",default:!1}),ma=Pr({key:"isWidgetExpandedState",default:!1}),Aa=Pr({key:"isMobileState",default:!1}),va=Pr({key:"openingMessageState",default:!1}),ba=Pr({key:"lastActivityInPageState",default:0}),Ca=Pr({key:"lastActivityInWidgetState",default:0}),wa=Pr({key:"hideWebchatState",default:!1}),ya=Ir({key:"isVisitorPresent",get:({get:e})=>{const t=e(Ca);return!t||ao()-t<18e5}}),xa=Pr({key:"chatModalState",default:null}),ka=Pr({key:"webviewModalState",default:null}),Ba=qr({key:"autoOpenWebviewSelector",get:e=>({get:t})=>{const r=t(Ho).find(t=>t.event_id===e);return r&&"brain_message"===r.event_type?(e=>{var t;if("webview"===e.type&&!0===e.auto_open&&"new_window"!==e.height)return e;if("carousel"===e.type){let r=null;for(const n of e.cards)for(const o of n.buttons)"webview"===o.type&&!0===o.auto_open&&"new_window"!==o.height&&(r={type:"webview",url:o.url,name:o.label,label:o.label,height:null!==(t=o.height)&&void 0!==t?t:"compact",trigger_node_id:o.trigger_node_id,action_id:e.action_id,auto_open:!0});return r}return null})(r.response):null}}),Ea=qr({key:"hideAutoOpenWebviewMessageSelector",get:e=>({get:t})=>{const{isFiserv:r}=t(ri);if(!r)return!1;const n=t(Ho).find(t=>t.event_id===e);if(!n||"brain_message"!==n.event_type)return!1;const o=n.response;return"webview"===o.type&&!0===o.auto_open&&"new_window"!==o.height}}),Sa=Pr({key:"sessionOverviewState",default:null}),_a=Ir({key:"availableAgentsSelector",get:({get:e})=>{var t;const r=e(Sa);return null!==(t=null==r?void 0:r.agents)&&void 0!==t?t:[]}}),Oa=Ir({key:"isMobileSelector",get:({get:e})=>e(Aa)}),Da=Pr({key:"imageLoaded",default:!1}),Na=Pr({key:"skipSurvey",default:!1}),Ra=Pr({key:"filesToUploadState",default:[]}),Ta=Ir({key:"filesToUploadLengthSelector",get:({get:e})=>e(Ra).length}),ja=qr({key:"fileContainsUploadUrlSelector",get:e=>({get:t})=>{const r=t(Ra).find(t=>t.file_id===e);return!!(null==r?void 0:r.upload_url)}}),La=qr({key:"fileHasUploadErrorSelector",get:e=>({get:t})=>{const r=t(Ra).find(t=>t.file_id===e);return!!(null==r?void 0:r.upload_error)}}),Fa=Pr({key:"isUploadingFileState",default:!1}),Ma=Ir({key:"hasFilesPendingUploadSelector",get:({get:e})=>{const t=e(Ra);return!!e(Fa)||t.length>0&&t.some(e=>!e.filename)}}),Pa=(Ir({key:"disableInputSelector",get:({get:e})=>{const t=e(Fa),r=e(da);return t||r}}),qr({key:"showMessageFeedbackSelectorSelector",get:e=>({get:t})=>{var r,n;const o=t(Jo);if(!t(gi))return!1;const a=t(Ho),i=a.findIndex(t=>t.event_id===e),s=a[i],l=(null===(r=null==s?void 0:s.collection)||void 0===r?void 0:r.response_code)===zr.OK||(null===(n=null==s?void 0:s.collection)||void 0===n?void 0:n.response_code)===zr.OK_FALLBACK;return!(o.length>0||"brain_message"!==(null==s?void 0:s.event_type)||"text"!==s.response.type||i!==a.length-1||!l||"live"!==s.source)}})),Ia=qr({key:"showExternalUrlsSelectorSelector",get:e=>({get:t})=>{const r=t(Ho),n=r.findIndex(t=>t.event_id===e),o=t(Jo),a=r[n],i=r.filter(e=>"brain_message"===e.event_type&&e.request_id===(null==a?void 0:a.request_id));return!(o.length>0||i.length>1&&i[i.length-1].event_id!==e)}}),qa=(Ir({key:"lastEventSelector",get:({get:e})=>{const t=e(Ho);return t[t.length-1]}}),qr({key:"isPreviousMessageFromSameAuthorSelector",get:e=>({get:t})=>{var r;const n=t(Ho),o=n.findIndex(t=>t.event_id===e),a=n[o-1];return(null==a?void 0:a.author_id)===(null===(r=n[o])||void 0===r?void 0:r.author_id)&&"agent_message"===a.event_type}})),za=qr({key:"isLastMemberLeftEvent",get:e=>({get:t})=>{var r;const n=t(Ho).filter(e=>"member_leave"===e.event_type);return(null===(r=n[n.length-1])||void 0===r?void 0:r.event_id)===e}}),Ua=Pr({key:"isEmailFormSubmittedState",default:!1}),$a=(Ir({key:"isEmailFormSubmittedSelector",get:({get:e})=>e(Ua)}),Pr({key:"emailState",default:""})),Va=Ir({key:"headerSelector",get:({get:e})=>{const t=e(Ga),r=e(ko),n=e(Ho),o=e(da),a=e(yi);if(o||0===n.length)return{show:!0,status:r,title:t.header_title,avatar:a};const i=e(pa),s=e(_a).find(e=>e.agent_id===i);return s?{show:!0,status:s.status,title:s.name,avatar:s.avatar}:{show:!0,status:r,title:t.header_title,avatar:a}}}),Wa=Object.freeze({accent_color:Ve,auto_open:!1,avatar:null,background_color:$e,bubble_image:null,chatWindow:{height:"650px",width:"380px"},close_session_if_empty:!1,download_conversation:!0,show_close_icon:!0,file_upload:!1,focus_trap:!1,font_family:null,header_title:"common.ai_agent",launcher:{icon_url:null,padding:null,show:!0,text:null,type:"bubble"},manual_link_handling:!1,page_triggers:null,rate_responses:!0,reverse_header_buttons:!1,show_powered_by:!0,show_reset:!1,show_survey:!0,sticky_session:!1,theme:"light",virtual_agent_name:"",visitor_information:{disclaimer:null,fields:null,headline:null},waiting_time_threshold:0,webchat_aria_label:"",welcome_message:null,welcome_screen:{enabled:!1,greeting:null,starters:null},welcome_trigger_message:null,widget_alignment:"right",widget_position:"livechat",window_size:"regular"}),Ha=Object.freeze({integrationId:"",widgetId:"",clientUrl:"",isMobile:!1,isWebviewOpen:!1}),Ga=Pr({key:"userConfigState",default:Object.assign(Object.assign({},Wa),Ha)}),Ka=Pr({key:"initialUserConfig",default:{}}),Ya=Pr({key:"cssVariableOverridesState",default:{}}),Xa=Ir({key:"initialLanguageSelector",get:({get:e})=>{const t=e(Ka);return null==t?void 0:t.language}}),Qa=Ir({key:"integrationIdSelector",get:({get:e})=>{const t=e(Ga);return null==t?void 0:t.integrationId}}),Za=Ir({key:"hostSelector",get:({get:e})=>{const t=e(Ga);return(null==t?void 0:t.host)||Nr().CHANNELS_HOST}}),Ja=Ir({key:"voiceIntegrationIdSelector",get:({get:e})=>{var t;const r=e(Ga);return null!==(t=null==r?void 0:r.voiceIntegrationId)&&void 0!==t?t:null==r?void 0:r.voice_integration_id}}),ei=Ir({key:"voiceEnabledSelector",get:({get:e})=>{var t;const r=e(Ga);return!!e(Ja)&&(n=r.integrationId,null==(o=null===(t=r.feature_flags)||void 0===t?void 0:t.voice_webchat_rollout)||!("number"!=typeof o||!Number.isFinite(o)||o<=0)&&(o>=100||(e=>{const t=Lr(Mr(e));if(null!==t&&/^\d{1,2}$/.test(t))return Number(t);const r=Math.floor(100*Math.random());return jr(Mr(e),String(r)),r})(n)<o));var n,o}}),ti=Ir({key:"versionSelector",get:({get:e})=>{const t=e(Ga);return(null==t?void 0:t.version)||"latest"}}),ri=Ir({key:"variantSelector",get:({get:e})=>{const t=e(Ga),r=null==t?void 0:t.variant,n=(null==t?void 0:t.account_id)?We[t.account_id]:void 0,o="default"===r?void 0:null!=n?n:r;return{isNbg:"nbg"===o,isAlpha:"alpha"===o,isFiserv:"fiserv"===o}}}),ni=Ir({key:"identityTokenSelector",get:({get:e})=>{const t=e(Ga);return null==t?void 0:t.identityToken}}),oi=Ir({key:"widgetIdSelector",get:({get:e})=>{const t=e(Ga);return null==t?void 0:t.widgetId}}),ai=Pr({key:"isWebviewOpenSelector",default:!1}),ii=Ir({key:"isStickySessionSelector",get:({get:e})=>{const t=e(Ga);return null!==Rr&&Boolean(null==t?void 0:t.sticky_session)}}),si=Ir({key:"backgroundColorSelector",get:({get:e})=>e(Ga).background_color}),li=Ir({key:"downloadConversationSelector",get:({get:e})=>e(Ga).download_conversation}),ci=(Ir({key:"headerTitleSelector",get:({get:e})=>{const t=e(Ga),r=e(ga);return(null==r?void 0:r.agents[0])?{title:r.agents[0].name,status:(n=r.agents[0].status,Er(cr(n).toLowerCase()))}:{title:t.header_title};var n}}),Ir({key:"accentColorSelector",get:({get:e})=>e(Ga).accent_color})),ui=(Ir({key:"windowSizeSelector",get:({get:e})=>e(Ga).window_size}),Ir({key:"showPoweredBySelector",get:({get:e})=>e(Ga).show_powered_by})),di=Ir({key:"messageListPaddingClassSelector",get:({get:e})=>{const t=e(ui),{isFiserv:r}=e(ri);return r||t?"pb-14":"pb-10"}}),pi=Ir({key:"webchatAriaLabelSelector",get:({get:e})=>e(Ga).webchat_aria_label}),fi=Ir({key:"waitingTimeThresholdSelector",get:({get:e})=>e(Ga).waiting_time_threshold}),gi=Ir({key:"rateResponsesSelector",get:({get:e})=>e(Ga).rate_responses}),hi=Ir({key:"welcomeMessageSelector",get:({get:e})=>{const t=e(Ga),r=t.page_triggers;if(r)for(const e in r){const n=new RegExp(e),o=r[e].opening_message;if(n.test(t.clientUrl)&&o)return o}return t.welcome_message?t.welcome_message:null}}),mi=Ir({key:"clientContextSelector",get:({get:e})=>{const t=e(Ga);if(!t.clientUrl)return{};const r=new URL(t.clientUrl),n=new URLSearchParams(r.search);return{client_url:t.clientUrl,ref:n.get("ref")||void 0}}}),Ai=Ir({key:"widgetPositionSelector",get:({get:e})=>e(Ga).widget_position}),vi=Ir({key:"widgetPositionState",get:({get:e})=>{const t=e(Ai);return{isEmbed:"embed"===t,isLivechat:"livechat"===t,isPopup:"popup"===t}}}),bi=Ir({key:"widgetAlignmentSelector",get:({get:e})=>e(Ga).widget_alignment}),Ci=Ir({key:"isLeftAlignedSelector",get:({get:e})=>{const t=e(bi);return"left"===t||"bottom-left"===t||"top-left"===t}}),wi=Ir({key:"isTopAlignedSelector",get:({get:e})=>{const t=e(bi);return"top-left"===t||"top-right"===t}}),yi=Ir({key:"avatarSelector",get:({get:e})=>e(Ga).avatar||Nr().BRAIN_AVATAR}),xi=Ir({key:"bubbleImageSelector",get:({get:e})=>e(Ga).bubble_image}),ki=Ir({key:"hasBubbleImageSelector",get:({get:e})=>{const t=e(xi);return Boolean(t)}}),Bi=Ir({key:"themeSelector",get:({get:e})=>e(Ga).theme}),Ei=Ir({key:"resolvedThemeSelector",get:({get:e})=>{const t=e(Bi);return"auto"===t?"undefined"!=typeof window&&window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":t}}),Si=Ir({key:"themeColorsSelector",get:({get:e})=>{var t;const r=e(Ga),n=e(Ei);return null===(t=r.theme_colors)||void 0===t?void 0:t[n]}}),_i=Ir({key:"currentThemeOverridesSelector",get:({get:e})=>e(Ya)}),Oi=(Ir({key:"reverseHeaderButtons",get:({get:e})=>{const t=e(Ga),r=e(Oa);return t.reverse_header_buttons&&r}}),Ir({key:"launcherSelector",get:({get:e})=>e(Ga).launcher||{}})),Di=Ir({key:"isCustomBackgroundSelector",get:({get:e})=>e(Ga).background_color.toLowerCase()!==$e.toLowerCase()}),Ni=Ir({key:"isCustomAccentSelector",get:({get:e})=>{const t=e(Ga);return t.accent_color.toLowerCase()!==Ve.toLowerCase()&&t.accent_color!==Ve.slice(0,4).toLowerCase()}}),Ri=Ir({key:"visitorInformationSelector",get:({get:e})=>{var t;return null!==(t=e(Ga).visitor_information)&&void 0!==t?t:{}}}),Ti=Ir({key:"focusTrapSelector",get:({get:e})=>e(Ga).focus_trap}),ji=Ir({key:"autoOpenSelector",get:({get:e})=>e(Ga).auto_open}),Li=Ir({key:"welcomeScreenSelector",get:({get:e})=>e(Ga).welcome_screen}),Fi=Ir({key:"chatWindowSizeSelector",get:({get:e})=>e(Ga).chatWindow}),Mi=(Ir({key:"showResetSelector",get:({get:e})=>e(Ga).show_reset}),Ir({key:"isTestSelector",get:({get:e})=>e(Ga).is_test})),Pi=Ir({key:"showSurveySelector",get:({get:e})=>e(Ga).show_survey}),Ii=(Ir({key:"isMfaSelector",get:({get:e})=>{const t=e(Ga);return!!(t.clientUrl?new URL(t.clientUrl).origin:"").match(/mfa.gr/)}}),Ir({key:"languageSelector",get:({get:e})=>{const t=e(Ga);return(null==t?void 0:t.language)&&t.language in Ue?t.language:null==Wt?void 0:Wt.language}})),qi=Pr({key:"temporalToastSelector",default:[]}),zi=P(null,(e,t,r)=>{const n=e(qi),o=Object.assign(Object.assign({},r),{id:Or()});t(qi,[...n,o])}),Ui=P(null,(e,t,r)=>{const n=e(qi).filter(e=>e.id!==r);t(qi,n)}),$i=Ir({key:"maxReferencesSelector",get:({get:e})=>e(Ga).external_urls_limit}),Vi=Ir({key:"canUploadFileSelector",get:({get:e})=>e(Ga).file_upload}),Wi=Ir({key:"showManualLinkHandlingSelector",get:({get:e})=>e(Ga).manual_link_handling}),Hi=Ir({key:"fontFamilySelector",get:({get:e})=>e(Ga).font_family}),Gi=Ir({key:"showCloseIconSelector",get:({get:e})=>{var t;return null===(t=e(Ga).show_close_icon)||void 0===t||t}}),Ki=Ir({key:"closeSessionIfEmptySelector",get:({get:e})=>e(Ga).close_session_if_empty}),Yi=Ir({key:"autoDisplayWelcomeMessageSelector",get:({get:e})=>e(Ga).manual_teaser_mode?null:e(hi)});var Xi,Qi,Zi,Ji,es;!function(e){e.Open="open",e.Resolved="closed",e.Expired="expired",e.Spam="spam",e.Trash="trash"}(Xi||(Xi={})),function(e){e.AnalyticsEvent="moveo-analytics-event",e.IframeLoaded="moveo-iframe-loaded",e.IframeError="moveo-iframe-error",e.WidgetLoaded="moveo-widget-loaded",e.WidgetError="moveo-widget-error",e.Opened="moveo-widget-opened",e.Closed="moveo-widget-closed",e.Resize="moveo-widget-resize",e.LocaleChanged="moveo-widget-locale-changed",e.SessionCreated="moveo-widget-session-created",e.SessionReconnected="moveo-widget-session-reconnected",e.SessionClosed="moveo-widget-session-closed",e.ConversationClosed="moveo-widget-conversation-closed",e.LinkClicked="moveo-widget-link-clicked",e.UserActivity="moveo-widget-user-activity",e.MemberLeave="moveo-widget-member-leave",e.ConversationUnreadMessages="moveo-conversation-unread-messages",e.ConversationNoUnreadMessages="moveo-conversation-no-unread-messages",e.UserWayInit="moveo-userway-init"}(Qi||(Qi={})),function(e){e.SetConfig="moveo-set-config",e.SetLocale="moveo-set-locale",e.SetCssVariables="moveo-set-css-variables",e.Open="moveo-open",e.Close="moveo-close",e.CloseConversation="moveo-close-conversation",e.SendMessage="moveo-send-message",e.ShowTeaserMessage="moveo-show-teaser-message",e.UpdateContext="moveo-update-context",e.WindowResize="moveo-resize",e.SessionActivity="session-activity",e.UserWayDisabled="userway-disabled",e.UserWayEnabled="userway-enabled",e.LinkClicked="link-clicked"}(Zi||(Zi={})),function(e){e.Expired="expired",e.Survey="survey",e.SurveyFull="survey-full",e.Closing="closing",e.Resolved="closed",e.Inactivity="inactivity"}(Ji||(Ji={})),function(e){e.MinimizeButton="minimize-btn",e.CloseButton="close-btn",e.EndSessionButton="end-btn",e.LauncherButton="launcher-btn",e.MessageInput="message-input",e.DisclaimerCheck="disclaimer-check",e.DisclaimerContainer="disclaimer-container",e.HeaderContainer="header-container",e.ImageButton="image-btn"}(es||(es={}));const ts=()=>{const{t:e}=Pe(),t=X(oi),[r,a]=Z(ai),i=X(Ti),{size:s,type:l,show:c}=X(Oi),u=X(Ai),d=X(ha),p=X(Oa),f=X(va),g=X(ki),h=X(Fi),m=(0,o.useMemo)(()=>n()(`moveo:iframe:${t}:controller`),[t]),A=e("launchers.help"),v=e("launchers.feedback"),b="v2"===X(ti)?"50px":"0px",C=(0,o.useMemo)(()=>({bubble:{width:`calc(${g?Ye:s||Qe} + 30px)`,height:`calc(${g?Ye:s||Qe} + 25px)`},help:{width:`calc(${A.length}ch + 80px)`,height:"80px"},feedback:{width:`calc(${v.length}ch + 80px)`,height:"80px"},open:{desktop:{width:`calc(${null==h?void 0:h.width} + 21px)`,height:`calc(${null==h?void 0:h.height} + 24px + ${b})`},mobile:{width:"100%",height:"100%"}}}),[v.length,A.length,null==h?void 0:h.height,null==h?void 0:h.width,g,s,b]),w=(0,o.useMemo)(()=>i||"popup"===u,[i,u]),y=(0,o.useCallback)(e=>{window.parent&&t&&(m(`Event to web-client: ${e.type}`,e),window.parent.postMessage(Object.assign(Object.assign({},e),{type:`${t}${e.type}`}),"*"))},[m,t]),x=(0,o.useCallback)(e=>{y(c?{type:Qi.Resize,data:e}:{type:Qi.Resize,data:{width:"0",height:"0"}})},[c,y]),k=(0,o.useCallback)(()=>{f||(setTimeout(()=>{y({type:Qi.Closed,data:{isFull:w||!!p}})},200),c?setTimeout(()=>{y({type:Qi.Resize,data:C[l]})},300):y({type:Qi.Resize,data:{width:"0",height:"0"}}))},[w,p,y,c,f,C,l]),B=(0,o.useCallback)(()=>{const e={isFull:w||!!p,is_mobile:p};y({type:Qi.Opened,data:e}),"popup"!==u&&y({type:Qi.Resize,data:C.open[p?"mobile":"desktop"]})},[w,p,y,C.open,u]),E=(0,o.useCallback)(e=>{const t=Object.assign(Object.assign({},C.open.desktop),{width:e?`calc(${Xe} + 20px)`:C.open.desktop.width});setTimeout(()=>{y({type:Qi.Resize,data:t})},e?0:200)},[y,C.open]),S=(0,o.useCallback)(()=>{y({type:Qi.UserWayInit})},[y]),_=(0,o.useCallback)(()=>{y({type:Qi.Resize,data:C[l]})},[y,C,l]),O=(0,o.useCallback)(()=>{a(!0),w||y({type:Qi.Opened,data:{isFull:!0,skipInstanceCallback:!0}})},[w,y,a]),D=(0,o.useCallback)(()=>{a(!1),w||p||y({type:Qi.Closed,data:{isFull:!0,skipInstanceCallback:!0}})},[w,p,y,a]),N=(0,o.useCallback)(()=>{y({type:Qi.WidgetLoaded})},[y]),R=(0,o.useCallback)(e=>{y({type:Qi.SessionCreated,data:e})},[y]),T=(0,o.useCallback)(()=>{y({type:Qi.SessionClosed})},[y]),j=(0,o.useCallback)(()=>{y({type:Qi.MemberLeave})},[y]),L=(0,o.useCallback)(()=>{y({type:Qi.ConversationClosed})},[y]),F=(0,o.useCallback)(e=>{y({type:Qi.SessionReconnected,data:e})},[y]),M=(0,o.useCallback)(()=>{y({type:Qi.ConversationNoUnreadMessages})},[y]),P=(0,o.useCallback)(()=>{y({type:Qi.ConversationUnreadMessages})},[y]),I=(0,o.useCallback)(()=>{y({type:Qi.UserActivity})},[y]),q=(0,o.useCallback)(e=>{y({type:Qi.LinkClicked,data:{url:e}})},[y]),z=(0,o.useCallback)(e=>{e&&d?y({type:Qi.Opened,data:{isFull:!0,skipInstanceCallback:!0}}):e||w||!d||r||y({type:Qi.Closed,data:{isFull:!0,skipInstanceCallback:!0}})},[w,d,y,r]);return{notifyWidgetClosed:k,notifyWidgetOpened:B,notifyWidgetLoaded:N,notifyUserWayInit:S,notifyWidgetResize:x,notifyUserActivity:I,notifyMemberLeave:j,notifyWebviewClosed:D,notifyWebviewOpened:O,notifyLocaleChanged:(0,o.useCallback)(e=>{y({type:Qi.LocaleChanged,data:e})},[y]),notifyOpeningMessageClosed:_,resizeWidget:z,notifySessionCreated:R,notifySessionClosed:T,notifySessionReconnected:F,notifyNoUnreadMessages:M,notifyUnreadMessages:P,notifyConversationClosed:L,notifyLinkClicked:q,notifyWidgetExpanded:E,sizes:C}};var rs=i(4903),ns=i.n(rs);const os={"--moveo-z-index":"1100","--moveo-shadow-message":"0 2px 2px rgba(0 0 0 4%)","--moveo-shadow-bubble":"0px 0px 10px 0px #10182824","--moveo-border-radius-base":"5px","--moveo-font-primary":"'Inter', monospace","--moveo-survey-overlay":"#8c8c8c","--moveo-header-height":"55px","--moveo-header-background":"","--moveo-header-text-color":"","--moveo-modal-tall-height":"600px","--moveo-modal-compact-min-height":"112px","--moveo-modal-phone-min-height":"54vh","--moveo-modal-tall-width":"clamp(300px, 400px, 450px)","--moveo-modal-full-height":"80vh","--moveo-modal-full-width":"80vw","--moveo-modal-full-height-phone":"60vh","--moveo-modal-header-height":"46px","--moveo-modal-background-color":"#fff","--moveo-webview-message-width":"220px","--moveo-webview-message-height":"30px","--moveo-webview-button-width":"80%","--moveo-loadingIcon-size":"1rem","--moveo-carousel-media-height":"130px","--moveo-message-max-width":"251px","--moveo-message-max-width-phone":"288px","--moveo-message-min-width":"70px","--moveo-dropdown-box-shadow":"0.3px 0.5px 0.7px hsl(0deg 0% 55% / 45%), 1.2px 1.8px 2.4px -0.8px hsl(0deg 0% 55% / 45%), 3px 4.7px 6.2px -1.7px hsl(0deg 0% 55% / 45%), 7.3px 11.6px 15.3px -2.5px hsl(0deg 0% 55% / 44%)","--moveo-dropdown-width":"223px","--moveo-survey-width":"89%","--moveo-survey-max-width":"50%","--moveo-survey-height":"80%","--moveo-font-xs":"0.625rem","--moveo-font-sm":"0.75rem","--moveo-font-md":"0.875rem","--moveo-font-lg":"1rem","--nbg-bg":"#f5f8f6","--moveo-new-header-height":"68px","--moveo-new-border-radius-base":"16px","--moveo-expanded-chat-width":Xe},as=e=>`https://fonts.googleapis.com/css2?family=${e}:wght@300;400;600;700&display=swap`,is={nbg:[{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-Bold-Italic.ttf",fontWeight:"700",fontStyle:"italic"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-Bold.ttf",fontWeight:"700",fontStyle:"normal"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-ExtraBold-Italic.ttf",fontWeight:"800",fontStyle:"italic"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-ExtraBold.ttf",fontWeight:"800",fontStyle:"normal"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-Italic.ttf",fontWeight:"400",fontStyle:"italic"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-Light-Italic.ttf",fontWeight:"300",fontStyle:"italic"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-Light.ttf",fontWeight:"300",fontStyle:"normal"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-SemiBold-Italic.ttf",fontWeight:"600",fontStyle:"italic"},{fontFamily:"Aptos",fontPath:"../public/fonts/aptos/Aptos-SemiBold.ttf",fontWeight:"600",fontStyle:"normal"}],alpha:[{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-Regular.woff",fontWeight:"400",fontStyle:"normal"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-Italic.woff",fontWeight:"400",fontStyle:"italic"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-Light.woff",fontWeight:"300",fontStyle:"normal"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-LightItalic.woff",fontWeight:"300",fontStyle:"italic"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-Medium.woff",fontWeight:"500",fontStyle:"normal"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-MediumItalic.woff",fontWeight:"500",fontStyle:"italic"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-SemiBold.woff",fontWeight:"600",fontStyle:"normal"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-SemiBoldItalic.woff",fontWeight:"600",fontStyle:"italic"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-Bold.woff",fontWeight:"700",fontStyle:"normal"},{fontFamily:"AlphaText",fontPath:"../public/fonts/alpha/AlphaText-BoldItalic.woff",fontWeight:"700",fontStyle:"italic"}],default:{fontFamily:"Inter",fontPath:as("Inter")}},ss={accent_color:"--color-accent",background_color:"--color-background",header_color:"--moveo-header-background",border_color:"--color-border",text_color_user:"--color-text-primary-foreground",text_color_agent:"--color-text-secondary-foreground",text_color_header:"--moveo-header-text-color",launcher_background:"--color-launcher-background",launcher_foreground:"--color-launcher-foreground",rating_background:"--color-rating-background",send_icon_color:"--color-send-icon",link_color:"--color-link",swimmlane_background:"--color-swimmlane-background",swimmlane_foreground:"--color-swimmlane-foreground"},ls={small:"0.875rem",medium:"1rem",large:"1.125rem"},cs={s2:{disabled:()=>window.UserWay.bigCursorDisable(),enabled:()=>window.UserWay.bigCursorEnable()},s3:{disabled:()=>window.UserWay.contrastDisable(),enabled:e=>window.UserWay.contrastEnable(parseInt(e))},s4:{disabled:()=>window.UserWay.bigTextDisable(),enabled:e=>window.UserWay.bigTextEnable(parseInt(e))},s6:{disabled:()=>window.UserWay.highlightDisable(),enabled:()=>window.UserWay.highlightToggle()},s7:{disabled:()=>window.UserWay.legibleFontsDisable(),enabled:()=>window.UserWay.legibleFontsToggle()},s10:{disabled:()=>window.UserWay.readingGuideDisable(),enabled:()=>window.UserWay.readingGuideEnable()},s12:{disabled:()=>window.UserWay.tooltipsDisable(),enabled:()=>window.UserWay.tooltipsToggle()},s13:{disabled:()=>window.UserWay.stopAnimationDisable(),enabled:()=>window.UserWay.stopAnimationToggle()},s14:{disabled:()=>window.UserWay.textSpacingDisable(),enabled:e=>{const t=document.querySelector(".message-input");null==t||t.classList.add("userway-s14-active"),window.UserWay.textSpacingEnable(parseInt(e))}},s15:{disabled:()=>window.UserWay.dyslexiaFontDisable(),enabled:()=>window.UserWay.dyslexiaFontToggle()},s16:{disabled:()=>window.UserWay.readingMaskDisable()},s17:{disabled:()=>window.UserWay.lineHeightDisable(),enabled:e=>window.UserWay.lineHeightEnable(parseInt(e))},s19:{disabled:()=>window.UserWay.textAlignDisable(),enabled:e=>window.UserWay.textAlignEnable(parseInt(e))},s23:{disabled:()=>window.UserWay.saturationDisable(),enabled:e=>window.UserWay.saturationEnable(parseInt(e))}};var us=i(9122),ds=i.n(us),ps=i(6186),fs=i.n(ps),gs=i(2155),hs=i.n(gs),ms=i(7433),As=i.n(ms),vs=i(8626),bs=i.n(vs),Cs=i(8990),ws=i.n(Cs),ys=i(9827),xs=i.n(ys),ks=i(7057),Bs={};Bs.styleTagTransform=xs(),Bs.setAttributes=bs(),Bs.insert=As().bind(null,"head"),Bs.domAPI=hs(),Bs.insertStyleElement=ws(),fs()(ks.A,Bs),ks.A&&ks.A.locals&&ks.A.locals;var Es=i(754),Ss={};Ss.styleTagTransform=xs(),Ss.setAttributes=bs(),Ss.insert=As().bind(null,"head"),Ss.domAPI=hs(),Ss.insertStyleElement=ws(),fs()(Es.A,Ss);var _s=Es.A&&Es.A.locals?Es.A.locals:void 0,Os=function(){return Kt.Date.now()},Ds=Math.max,Ns=Math.min,Rs=function(e,t,r){var n,o,a,i,s,l,c=0,u=!1,d=!1,p=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function f(t){var r=n,a=o;return n=o=void 0,c=t,i=e.apply(a,r)}function g(e){var r=e-l;return void 0===l||r>=t||r<0||d&&e-c>=a}function h(){var e=Os();if(g(e))return m(e);s=setTimeout(h,function(e){var r=t-(e-l);return d?Ns(r,a-(e-c)):r}(e))}function m(e){return s=void 0,p&&n?f(e):(n=o=void 0,i)}function A(){var e=Os(),r=g(e);if(n=arguments,o=this,l=e,r){if(void 0===s)return function(e){return c=e,s=setTimeout(h,t),u?f(e):i}(l);if(d)return clearTimeout(s),s=setTimeout(h,t),f(l)}return void 0===s&&(s=setTimeout(h,t)),i}return t=bn(t)||0,Vr(r)&&(u=!!r.leading,a=(d="maxWait"in r)?Ds(bn(r.maxWait)||0,t):a,p="trailing"in r?!!r.trailing:p),A.cancel=function(){void 0!==s&&clearTimeout(s),c=0,n=l=o=s=void 0},A.flush=function(){return void 0===s?i:m(Os())},A};function Ts(e,t,r){const n=(0,o.useRef)();(0,o.useEffect)(()=>{const o=(null==r?void 0:r.current)||window;if(!o||!o.addEventListener)return;n.current!==t&&(n.current=t);const a=e=>{(null==n?void 0:n.current)&&n.current(e)};return o.addEventListener(e,a),()=>{o.removeEventListener(e,a)}},[e,r,t])}function js(e,t){const r=(0,o.useRef)(e);(0,o.useEffect)(()=>{r.current=e},[e]),(0,o.useEffect)(()=>{if(null===t)return;const e=setInterval(()=>r.current(),t);return()=>clearInterval(e)},[t])}const Ls=e=>`moveo_${e}_last_activity`;let Fs=(e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&r[e]];return t};const Ms=(0,o.createContext)(void 0);var Ps,Is;Ms.displayName="SocketContext",function(e){e.app_error="app:error",e.app_error_invalid_payload="app:error:invalid_payload",e.context_update="session:context:update",e.context_updated="session:context:updated",e.conversation_closed="conversation:closed",e.conversation_reopen="conversation:reopen",e.conversation_reopened="conversation:reopened",e.conversation_email_send="conversation:email:send",e.conversation_email_send_success="conversation:email:send:success",e.conversation_email_send_error="conversation:email:send:error",e.member_join="conversation:member_join",e.member_leave="conversation:member_leave",e.message_brain_received="message:brain_received",e.message_compose="message:compose",e.message_delivered="message:delivered",e.message_read="message:read",e.message_received="message:received",e.message_send="message:send",e.message_send_sync="message:send:sync",e.session_files_upload_request="file:upload_url:create",e.session_files_upload_request_success="file:upload_url:created",e.session_files_upload_request_error="file:upload_url:create:error",e.session_files_download_request="file:download_url:create",e.session_files_download_request_success="file:download_url:created",e.session_files_download_request_error="file:download_url:create:error",e.session_activity="session:activity",e.session_overview="session:overview",e.session_close="session:close",e.session_close_error="session:close:error",e.session_closed="session:closed",e.session_create="session:create",e.session_create_error="session:create:error",e.session_created="session:created",e.session_expired="session:expired",e.session_history_error="session:history:sync:error",e.session_history_sync="session:history:sync",e.session_history_synced="session:history:synced",e.session_leader="session:leader",e.session_max_concurrent="session:max_concurrent",e.session_rated="session:rated",e.session_rating="session:rating",e.message_rating="message:rating",e.session_rating_error="session:rating:error",e.session_reconnect="session:reconnect",e.session_reconnect_error="session:reconnect:error",e.session_reconnect_forbidden="session:reconnect:forbidden",e.session_reconnected="session:reconnected"}(Ps||(Ps={})),function(e){e.Idle="idle",e.Create="create",e.Creating="creating",e.Reconnect="reconnect",e.Reconnecting="reconnecting",e.Synchronize="synchronize",e.Synchronizing="synchronizing",e.Synchronized="synchronized",e.Error="error",e.Init="init"}(Is||(Is={}));const qs=(e,t=!1)=>{const r=`moveo_${e}_session_id`,[a,i]=Z(No),[s,l]=Z(Eo),c=X(qo),u=X(oi),d=X(ii),p=(0,o.useCallback)(()=>{d&&i(Lr(r))},[d,r,i]),f=(0,o.useMemo)(()=>n()(`moveo:iframe:${u}:session-id`),[u]);js(p,5e3),(0,o.useEffect)(()=>{p()},[p]);const g=(0,o.useCallback)(e=>{i(e),e&&d?jr(r,e):(Fr(r),window.dispatchEvent(new StorageEvent(Ge,{key:r,url:"local"})))},[d,r,i]),h=(0,o.useCallback)(e=>{const n=e,o=n.newValue;if(d&&t&&n.key===r)if(o!==a)if(f(`handleStorageChange: webChatState: ${s}, newValue: ${o}, isLeader: ${c}`,n),"creating"!==s){if(i(o),!o)return!o&&c&&"idle"===s?(f("handleStorageChange: No new session and this is the leader, create session"),void l("create")):void f("handleStorageChange: No new session and this is not the leader, do nothing");l("reconnect")}else f("handleStorageChange: Ignore create session, a session is being created already");else f("handleStorageChange: Ignore event, sessionId did not changed")},[f,c,r,s,t,d,a,i,l]);return Ts(Ke,h),Ts(Ge,h),(0,o.useEffect)(()=>{u&&t&&f(`stickySession: ${d}`)},[f,u,d,t]),(0,o.useEffect)(()=>{u&&t&&f(`sessionId: ${a}`)},[f,a,u,t]),g},zs=e=>{var t;const r=null!==(t=(0,o.useContext)(Ms))&&void 0!==t?t:e,a=X(Qa),i=qs(a),s=X(Ka),l=X(To),c=X(Ro),u=X(Mo),d=X(oi),p=Q(Ho),{notifyUserActivity:f}=ts(),[g,h]=Z(Ga),m=X(da),[A,v]=Z(ta),b=Q(ra),C=(0,o.useRef)(0),w=(0,o.useMemo)(()=>n()(`moveo:iframe:${d}:socket-client`),[d]),y=(0,o.useCallback)(({text:e,label:t,attachments:n})=>{if((null==r?void 0:r.connected)&&c){if(b(ao()),m){const e=ao();if(e-Math.max(A,C.current)<Ze)return void w('Ignore "sendMessage()", throttled to enforce the minimum interval between messages');C.current=e,v(e)}if(r.emit(Ps.message_send,{input:{text:e,attachments:n},session_id:c,channel:"web",timestamp:ao()}),u){const r={event_id:Fs(),event_type:"user_message",author_name:u.display_name,author_avatar:u.avatar,author_id:u.user_id,created_at:ao(),text:t||e,attachments:n};p(e=>[...e,r])}}else w('Ignore "sendMessage()", socket is not connected or session_id is not set')},[w,r,c,u,p,m,A,v,b]),x=(0,o.useCallback)(e=>{const{fileId:t,originalName:n,fileType:o}=e;(null==r?void 0:r.connected)&&c?r.emit(Ps.session_files_upload_request,{file_id:t,session_id:c,original_name:n,file_type:o}):w('Ignore "requestUploadPresignedUrl()", socket is not connected or session_id is not set')},[w,c,r]),k=(0,o.useCallback)(e=>{(null==r?void 0:r.connected)&&c?r.volatile.emit(Ps.message_compose,{session_id:c,action:e,timestamp:ao()}):w('Ignore "sendCompose()", socket is not connected or session_id is not set')},[w,r,c]),B=(0,o.useCallback)(()=>{(null==r?void 0:r.connected)&&c?(l||r.emit(Ps.session_close,{session_id:c,timestamp:ao()}),i(null),h(e=>qe({},e,s))):w('Ignore "closeSession()", socket is not connected or session_id is not set')},[w,c,h,s,r,l,i]),E=(0,o.useCallback)(({rating:e,feedback:t})=>{(null==r?void 0:r.connected)&&c?r.emit(Ps.session_rating,{session_id:c,timestamp:ao(),rating:e,feedback:t||void 0}):w('Ignore "sendRating()", socket is not connected or session_id is not set')},[r,c,w]),S=(0,o.useCallback)(()=>{(null==r?void 0:r.connected)&&c?r.emit(Ps.conversation_reopen,{session_id:c}):w('Ignore "reopenConversation()", socket is not connected or session_id is not set')},[w,r,c]),_=(0,o.useCallback)(e=>{(null==r?void 0:r.connected)&&c&&!l?(setTimeout(f,0),r.volatile.emit(Ps.session_activity,{session_id:c,timestamp:e}),w("Sent visitor activity for session: %s",c)):w('Ignore "sendVisitorActivity()", socket is not connected or session_id is not set or session is expired')},[r,c,l,f,w]),O=(0,o.useCallback)(()=>{(null==r?void 0:r.connected)&&c?(r.volatile.emit(Ps.message_read,{session_id:c,timestamp:ao()}),p(e=>e.map(e=>"agent_message"===e.event_type||"brain_message"===e.event_type?Object.assign(Object.assign({},e),{read_at:e.read_at||ao()}):e))):w('Ignore "markMessagesAsRead()", socket is not connected or session_id is not set')},[w,c,r,p]),D=(0,o.useCallback)((e,t)=>{(null==r?void 0:r.connected)&&c?r.volatile.emit(Ps.message_rating,{session_id:c,timestamp:ao(),request_id:e,value:t}):w('Ignore "sendMessageFeedback()", socket is not connected or session_id is not set')},[w,c,r]),N=(0,o.useCallback)(e=>{if(!(null==r?void 0:r.connected)||!c)return void w('Ignore "updateContext()", socket is not connected or session_id is not set');const t=(e=>[Ao,vo,bo,go].reduce((e,t)=>t(e),e))(e);setTimeout(()=>{r.emit(Ps.context_update,{session_id:c,context:t,timestamp:ao()})},0)},[w,c,r]),R=(0,o.useCallback)(async()=>{var e;if(null===(e=g.visitor_information)||void 0===e?void 0:e.location)try{const e=await new Promise((e,t)=>{navigator.geolocation.getCurrentPosition(t=>e(t.coords),t)}),t={user:{location:{latitude:e.latitude,longitude:e.longitude}}};N(t)}catch(e){return void w("Location not available or the user rejected it")}},[N,g,w]);return{sendMessageFeedback:D,closeSession:B,markMessagesAsRead:O,reopenConversation:S,sendCompose:k,sendMessage:y,sendRating:E,sendVisitorActivity:_,updateContext:N,requestUploadPresignedUrl:x,updateLocation:R}},Us=()=>{const e=Q(ha),[t,r]=Z(ma),n=Q(Eo),a=X(Ai),i=X(sa),s=Q(Ga),{notifyWidgetClosed:l,notifyWidgetOpened:c,notifyNoUnreadMessages:u,notifyWidgetExpanded:d}=ts(),p=(0,o.useCallback)(()=>{i&&u(),e(!0),c(),t&&d(!0)},[i,t,u,d,c,e]),f=(0,o.useCallback)(()=>{"embed"!==a&&e(!1),s(e=>qe({},e,{auto_open:!1})),n("embed"!==a?"idle":"create"),l()},[a,l,s,e,n]),g=(0,o.useCallback)(()=>{"embed"!==a&&(s(e=>qe({},e,{auto_open:!1})),e(!1)),l()},[l,s,e,a]),h=(0,o.useCallback)(async e=>{d(e),r(e)},[d,r]);return{openWidget:p,closeWidget:f,minimizeWidget:g,toggleWidgetExpanded:h}},$s=()=>{const e=X(Qa);(()=>{const{i18n:e}=Pe(),t=X(oi),r=Q(Aa),{updateContext:a,sendMessage:i,closeSession:s}=zs(),l=Q(ba),{closeWidget:c,openWidget:u}=Us(),d=X(oa),p=Q(Ga),f=X(Li),g=X(Ro),h=Q(wa),m=Q(va),A=Q(Ya),v=n()(`moveo:iframe:${t}:controller`),b=X(ko),[C,w]=(0,o.useState)(null),{notifyLocaleChanged:y,resizeWidget:x}=ts();(0,o.useEffect)(()=>{C&&"online"===b&&g&&(a(C),queueMicrotask(()=>w(null)))},[C,a,b,g]);const k=(0,o.useCallback)(n=>{var o,a,g,b,C;const k=co(t,n);if(k)switch(v(`Event from web-client: ${k.type}`,k),k.type){case Zi.Open:u();break;case Zi.Close:c();break;case Zi.WindowResize:r(k.data.is_mobile),x(k.data.is_mobile);break;case Zi.SetLocale:v(`Set locale to ${k.data}`),Object.keys(Ue).includes(k.data)&&e.changeLanguage(k.data,e=>{e||y(k.data)});break;case Zi.UpdateContext:v("Update context with:",k.data),w(e=>e?qe(e,k.data):k.data);break;case Zi.SendMessage:d>0?i(k.data):(null==f?void 0:f.enabled)?p(e=>qe({},e,{welcome_trigger_message:k.data.text,welcome_screen:Object.assign(Object.assign({},f),{enabled:!1})})):p(e=>{var t;return qe({},e,{welcome_trigger_message:null===(t=k.data)||void 0===t?void 0:t.text})});break;case Zi.ShowTeaserMessage:{const e=null===(o=k.data)||void 0===o?void 0:o.text;e&&p(t=>qe({},t,{welcome_message:e})),m(!0);break}case Zi.SetCssVariables:{const e=k.data,t=window.document.querySelector(".appContainer")||window.document.querySelector("html");A(t=>Object.assign(Object.assign({},t),e));for(const r in e)null==t||t.style.setProperty(r,e[r]);break}case Zi.SessionActivity:"active"===k.data&&l(ao());break;case Zi.UserWayDisabled:{const{eventType:e}=k.data;window.UserWay&&(null===(g=null===(a=cs[e])||void 0===a?void 0:a.disabled)||void 0===g||g.call(a));break}case Zi.UserWayEnabled:{const{eventType:e,value:t}=k.data;window.UserWay&&t&&(null===(C=null===(b=cs[e])||void 0===b?void 0:b.enabled)||void 0===C||C.call(b,t));break}case Zi.CloseConversation:s(),h(!0);break;default:v(`Unhandle event: ${k.type}`)}},[t,v,u,c,r,x,e,y,d,f,i,p,l,s,h,m,A]);(0,o.useEffect)(()=>(window.addEventListener("message",k),()=>{window.removeEventListener("message",k)}),[k])})(),((e,t=6e5)=>{const r=Ls(e),[a,i]=Z(xa),s=X(aa),l=X(oi),c=Q(Ca),u=(0,o.useMemo)(()=>n()(`moveo:iframe:${l}:activity-tracker`),[l]),d=X(Mi),p=(0,o.useCallback)(()=>{const e=parseInt(Lr(r)||"0",10);e&&e+t<ao()&&s&&!a&&i("inactivity")},[t,r,a,s,i]);js(d?()=>{}:p,1e4);const f=function(e,t,r){var n=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return Vr(r)&&(n="leading"in r?!!r.leading:n,o="trailing"in r?!!r.trailing:o),Rs(e,t,{leading:n,maxWait:t,trailing:o})}((0,o.useCallback)(()=>{const e=ao();jr(r,""+e)},[r]),3e3),g=(0,o.useCallback)(e=>{const t=e;t.key===r&&t.newValue&&(u("Set last activity in state",t.newValue),c(parseInt(t.newValue,10)))},[u,r,c]);Ts(Ke,g),Ts(Ge,g),(0,o.useEffect)(()=>(window.addEventListener("load",f),window.addEventListener("mousemove",f),window.addEventListener("mousedown",f),window.addEventListener("touchstart",f),window.addEventListener("touchmove",f),window.addEventListener("click",f),window.addEventListener("scroll",f,!0),window.addEventListener("keydown",f),()=>{window.removeEventListener("load",f),window.removeEventListener("mousemove",f),window.removeEventListener("mousedown",f),window.removeEventListener("touchstart",f),window.removeEventListener("touchmove",f),window.removeEventListener("click",f),window.removeEventListener("scroll",f,!0),window.removeEventListener("keydown",f)}),[f])})(e),((e,t=1e4)=>{const{sendVisitorActivity:r}=zs(),n=Ls(e),a=`${n}_server_update`;js((0,o.useCallback)(()=>{const e=parseInt(Lr(n)||"0",10),o=parseInt(Lr(a)||"0",10);e&&e>o+.6*t&&(jr(a,ao().toString()),r(e))},[n,a,t,r]),t)})(e);const t=X(Bi);return(0,o.useEffect)(()=>{const e=document.documentElement;"dark"===t?e.classList.add("dark"):e.classList.remove("dark")},[t]),null};function Vs(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}function Ws(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function Hs(...e){return t=>{let r=!1;const n=e.map(e=>{const n=Ws(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){const r=n[t];"function"==typeof r?r():Ws(e[t],null)}}}}function Gs(...e){return o.useCallback(Hs(...e),e)}function Ks(e,r=[]){let n=[];const a=()=>{const t=n.map(e=>o.createContext(e));return function(r){const n=r?.[e]||t;return o.useMemo(()=>({[`__scope${e}`]:{...r,[e]:n}}),[r,n])}};return a.scopeName=e,[function(r,a){const i=o.createContext(a),s=n.length;n=[...n,a];const l=r=>{const{scope:n,children:a,...l}=r,c=n?.[e]?.[s]||i,u=o.useMemo(()=>l,Object.values(l));return(0,t.jsx)(c.Provider,{value:u,children:a})};return l.displayName=r+"Provider",[l,function(t,n){const l=n?.[e]?.[s]||i,c=o.useContext(l);if(c)return c;if(void 0!==a)return a;throw new Error(`\`${t}\` must be used within \`${r}\``)}]},Ys(a,...r)]}function Ys(...e){const t=e[0];if(1===e.length)return t;const r=()=>{const r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){const n=r.reduce((t,{useScope:r,scopeName:n})=>({...t,...r(e)[`__scope${n}`]}),{});return o.useMemo(()=>({[`__scope${t.scopeName}`]:n}),[n])}};return r.scopeName=t.scopeName,r}"undefined"==typeof window||!window.document||window.document.createElement;var Xs=globalThis?.document?o.useLayoutEffect:()=>{},Qs=a[" useId ".trim().toString()]||(()=>{}),Zs=0;function Js(e){const[t,r]=o.useState(Qs());return Xs(()=>{e||r(e=>e??String(Zs++))},[e]),e||(t?`radix-${t}`:"")}var el=a[" useInsertionEffect ".trim().toString()]||Xs;function tl({prop:e,defaultProp:t,onChange:r=()=>{},caller:n}){const[a,i,s]=function({defaultProp:e,onChange:t}){const[r,n]=o.useState(e),a=o.useRef(r),i=o.useRef(t);return el(()=>{i.current=t},[t]),o.useEffect(()=>{a.current!==r&&(i.current?.(r),a.current=r)},[r,a]),[r,n,i]}({defaultProp:t,onChange:r}),l=void 0!==e,c=l?e:a;{const t=o.useRef(void 0!==e);o.useEffect(()=>{const e=t.current;if(e!==l){const t=e?"controlled":"uncontrolled",r=l?"controlled":"uncontrolled";console.warn(`${n} is changing from ${t} to ${r}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}t.current=l},[l,n])}const u=o.useCallback(t=>{if(l){const r=function(e){return"function"==typeof e}(t)?t(e):t;r!==e&&s.current?.(r)}else i(t)},[l,e,i,s]);return[c,u]}Symbol("RADIX:SYNC_STATE");var rl=i(2483);function nl(e){const t=o.forwardRef((e,t)=>{const{children:r,...n}=e;if(o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ol=Symbol("radix.slottable");function al(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===ol}var il=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{const n=function(e){const r=nl(e),n=o.forwardRef((e,n)=>{const{children:a,...i}=e,s=o.Children.toArray(a),l=s.find(al);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}(`Primitive.${r}`),a=o.forwardRef((e,o)=>{const{asChild:a,...i}=e,s=a?n:r;return"undefined"!=typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(s,{...i,ref:o})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});function sl(e){const t=o.useRef(e);return o.useEffect(()=>{t.current=e}),o.useMemo(()=>(...e)=>t.current?.(...e),[])}var ll,cl="dismissableLayer.update",ul=o.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),dl=o.forwardRef((e,r)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:a,onPointerDownOutside:i,onFocusOutside:s,onInteractOutside:l,onDismiss:c,...u}=e,d=o.useContext(ul),[p,f]=o.useState(null),g=p?.ownerDocument??globalThis?.document,[,h]=o.useState({}),m=Gs(r,e=>f(e)),A=Array.from(d.layers),[v]=[...d.layersWithOutsidePointerEventsDisabled].slice(-1),b=A.indexOf(v),C=p?A.indexOf(p):-1,w=d.layersWithOutsidePointerEventsDisabled.size>0,y=C>=b,x=function(e,t=globalThis?.document){const r=sl(e),n=o.useRef(!1),a=o.useRef(()=>{});return o.useEffect(()=>{const e=e=>{if(e.target&&!n.current){let n=function(){fl("dismissableLayer.pointerDownOutside",r,o,{discrete:!0})};const o={originalEvent:e};"touch"===e.pointerType?(t.removeEventListener("click",a.current),a.current=n,t.addEventListener("click",a.current,{once:!0})):n()}else t.removeEventListener("click",a.current);n.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",e),t.removeEventListener("click",a.current)}},[t,r]),{onPointerDownCapture:()=>n.current=!0}}(e=>{const t=e.target,r=[...d.branches].some(e=>e.contains(t));y&&!r&&(i?.(e),l?.(e),e.defaultPrevented||c?.())},g),k=function(e,t=globalThis?.document){const r=sl(e),n=o.useRef(!1);return o.useEffect(()=>{const e=e=>{e.target&&!n.current&&fl("dismissableLayer.focusOutside",r,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,r]),{onFocusCapture:()=>n.current=!0,onBlurCapture:()=>n.current=!1}}(e=>{const t=e.target;[...d.branches].some(e=>e.contains(t))||(s?.(e),l?.(e),e.defaultPrevented||c?.())},g);return function(e,t=globalThis?.document){const r=sl(e);o.useEffect(()=>{const e=e=>{"Escape"===e.key&&r(e)};return t.addEventListener("keydown",e,{capture:!0}),()=>t.removeEventListener("keydown",e,{capture:!0})},[r,t])}(e=>{C===d.layers.size-1&&(a?.(e),!e.defaultPrevented&&c&&(e.preventDefault(),c()))},g),o.useEffect(()=>{if(p)return n&&(0===d.layersWithOutsidePointerEventsDisabled.size&&(ll=g.body.style.pointerEvents,g.body.style.pointerEvents="none"),d.layersWithOutsidePointerEventsDisabled.add(p)),d.layers.add(p),pl(),()=>{n&&1===d.layersWithOutsidePointerEventsDisabled.size&&(g.body.style.pointerEvents=ll)}},[p,g,n,d]),o.useEffect(()=>()=>{p&&(d.layers.delete(p),d.layersWithOutsidePointerEventsDisabled.delete(p),pl())},[p,d]),o.useEffect(()=>{const e=()=>h({});return document.addEventListener(cl,e),()=>document.removeEventListener(cl,e)},[]),(0,t.jsx)(il.div,{...u,ref:m,style:{pointerEvents:w?y?"auto":"none":void 0,...e.style},onFocusCapture:Vs(e.onFocusCapture,k.onFocusCapture),onBlurCapture:Vs(e.onBlurCapture,k.onBlurCapture),onPointerDownCapture:Vs(e.onPointerDownCapture,x.onPointerDownCapture)})});function pl(){const e=new CustomEvent(cl);document.dispatchEvent(e)}function fl(e,t,r,{discrete:n}){const o=r.originalEvent.target,a=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:r});t&&o.addEventListener(e,t,{once:!0}),n?function(e,t){e&&rl.flushSync(()=>e.dispatchEvent(t))}(o,a):o.dispatchEvent(a)}dl.displayName="DismissableLayer",o.forwardRef((e,r)=>{const n=o.useContext(ul),a=o.useRef(null),i=Gs(r,a);return o.useEffect(()=>{const e=a.current;if(e)return n.branches.add(e),()=>{n.branches.delete(e)}},[n.branches]),(0,t.jsx)(il.div,{...e,ref:i})}).displayName="DismissableLayerBranch";var gl="focusScope.autoFocusOnMount",hl="focusScope.autoFocusOnUnmount",ml={bubbles:!1,cancelable:!0},Al=o.forwardRef((e,r)=>{const{loop:n=!1,trapped:a=!1,onMountAutoFocus:i,onUnmountAutoFocus:s,...l}=e,[c,u]=o.useState(null),d=sl(i),p=sl(s),f=o.useRef(null),g=Gs(r,e=>u(e)),h=o.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;o.useEffect(()=>{if(a){let e=function(e){if(h.paused||!c)return;const t=e.target;c.contains(t)?f.current=t:wl(f.current,{select:!0})},t=function(e){if(h.paused||!c)return;const t=e.relatedTarget;null!==t&&(c.contains(t)||wl(f.current,{select:!0}))},r=function(e){if(document.activeElement===document.body)for(const t of e)t.removedNodes.length>0&&wl(c)};document.addEventListener("focusin",e),document.addEventListener("focusout",t);const n=new MutationObserver(r);return c&&n.observe(c,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[a,c,h.paused]),o.useEffect(()=>{if(c){yl.add(h);const e=document.activeElement;if(!c.contains(e)){const t=new CustomEvent(gl,ml);c.addEventListener(gl,d),c.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){const r=document.activeElement;for(const n of e)if(wl(n,{select:t}),document.activeElement!==r)return}(vl(c).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&wl(c))}return()=>{c.removeEventListener(gl,d),setTimeout(()=>{const t=new CustomEvent(hl,ml);c.addEventListener(hl,p),c.dispatchEvent(t),t.defaultPrevented||wl(e??document.body,{select:!0}),c.removeEventListener(hl,p),yl.remove(h)},0)}}},[c,d,p,h]);const m=o.useCallback(e=>{if(!n&&!a)return;if(h.paused)return;const t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,r=document.activeElement;if(t&&r){const t=e.currentTarget,[o,a]=function(e){const t=vl(e);return[bl(t,e),bl(t.reverse(),e)]}(t);o&&a?e.shiftKey||r!==a?e.shiftKey&&r===o&&(e.preventDefault(),n&&wl(a,{select:!0})):(e.preventDefault(),n&&wl(o,{select:!0})):r===t&&e.preventDefault()}},[n,a,h.paused]);return(0,t.jsx)(il.div,{tabIndex:-1,...l,ref:g,onKeyDown:m})});function vl(e){const t=[],r=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{const t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;r.nextNode();)t.push(r.currentNode);return t}function bl(e,t){for(const r of e)if(!Cl(r,{upTo:t}))return r}function Cl(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e;){if(void 0!==t&&e===t)return!1;if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}function wl(e,{select:t=!1}={}){if(e&&e.focus){const r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&function(e){return e instanceof HTMLInputElement&&"select"in e}(e)&&t&&e.select()}}Al.displayName="FocusScope";var yl=function(){let e=[];return{add(t){const r=e[0];t!==r&&r?.pause(),e=xl(e,t),e.unshift(t)},remove(t){e=xl(e,t),e[0]?.resume()}}}();function xl(e,t){const r=[...e],n=r.indexOf(t);return-1!==n&&r.splice(n,1),r}var kl=o.forwardRef((e,r)=>{const{container:n,...a}=e,[i,s]=o.useState(!1);Xs(()=>s(!0),[]);const l=n||i&&globalThis?.document?.body;return l?rl.createPortal((0,t.jsx)(il.div,{...a,ref:r}),l):null});kl.displayName="Portal";var Bl=e=>{const{present:t,children:r}=e,n=function(e){const[t,r]=o.useState(),n=o.useRef(null),a=o.useRef(e),i=o.useRef("none"),s=e?"mounted":"unmounted",[l,c]=function(e,t){return o.useReducer((e,r)=>t[e][r]??e,e)}(s,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return o.useEffect(()=>{const e=El(n.current);i.current="mounted"===l?e:"none"},[l]),Xs(()=>{const t=n.current,r=a.current;if(r!==e){const n=i.current,o=El(t);c(e?"MOUNT":"none"===o||"none"===t?.display?"UNMOUNT":r&&n!==o?"ANIMATION_OUT":"UNMOUNT"),a.current=e}},[e,c]),Xs(()=>{if(t){let e;const r=t.ownerDocument.defaultView??window,o=o=>{const i=El(n.current).includes(CSS.escape(o.animationName));if(o.target===t&&i&&(c("ANIMATION_END"),!a.current)){const n=t.style.animationFillMode;t.style.animationFillMode="forwards",e=r.setTimeout(()=>{"forwards"===t.style.animationFillMode&&(t.style.animationFillMode=n)})}},s=e=>{e.target===t&&(i.current=El(n.current))};return t.addEventListener("animationstart",s),t.addEventListener("animationcancel",o),t.addEventListener("animationend",o),()=>{r.clearTimeout(e),t.removeEventListener("animationstart",s),t.removeEventListener("animationcancel",o),t.removeEventListener("animationend",o)}}c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(l),ref:o.useCallback(e=>{n.current=e?getComputedStyle(e):null,r(e)},[])}}(t),a="function"==typeof r?r({present:n.isPresent}):o.Children.only(r),i=Gs(n.ref,function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(a));return"function"==typeof r||n.isPresent?o.cloneElement(a,{ref:i}):null};function El(e){return e?.animationName||"none"}Bl.displayName="Presence";var Sl=0;function _l(){o.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ol()),document.body.insertAdjacentElement("beforeend",e[1]??Ol()),Sl++,()=>{1===Sl&&document.querySelectorAll("[data-radix-focus-guard]").forEach(e=>e.remove()),Sl--}},[])}function Ol(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Dl=function(){return Dl=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},Dl.apply(this,arguments)};function Nl(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}function Rl(e,t,r,n){return new(r||(r=Promise))(function(o,a){function i(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(e){e.done?o(e.value):function(e){return e instanceof r?e:new r(function(t){t(e)})}(e.value).then(i,s)}l((n=n.apply(e,t||[])).next())})}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Tl="right-scroll-bar-position",jl="width-before-scroll-bar";function Ll(e,t){return"function"==typeof e?e(t):e&&(e.current=t),e}var Fl="undefined"!=typeof window?o.useLayoutEffect:o.useEffect,Ml=new WeakMap;function Pl(e){return e}var Il=function(e){void 0===e&&(e={});var t=function(e,t){void 0===t&&(t=Pl);var r=[],n=!1,o={read:function(){if(n)throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");return r.length?r[r.length-1]:e},useMedium:function(e){var o=t(e,n);return r.push(o),function(){r=r.filter(function(e){return e!==o})}},assignSyncMedium:function(e){for(n=!0;r.length;){var t=r;r=[],t.forEach(e)}r={push:function(t){return e(t)},filter:function(){return r}}},assignMedium:function(e){n=!0;var t=[];if(r.length){var o=r;r=[],o.forEach(e),t=r}var a=function(){var r=t;t=[],r.forEach(e)},i=function(){return Promise.resolve().then(a)};i(),r={push:function(e){t.push(e),i()},filter:function(e){return t=t.filter(e),r}}}};return o}(null);return t.options=Dl({async:!0,ssr:!1},e),t}(),ql=function(){},zl=o.forwardRef(function(e,t){var r=o.useRef(null),n=o.useState({onScrollCapture:ql,onWheelCapture:ql,onTouchMoveCapture:ql}),a=n[0],i=n[1],s=e.forwardProps,l=e.children,c=e.className,u=e.removeScrollBar,d=e.enabled,p=e.shards,f=e.sideCar,g=e.noRelative,h=e.noIsolation,m=e.inert,A=e.allowPinchZoom,v=e.as,b=void 0===v?"div":v,C=e.gapMode,w=Nl(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noRelative","noIsolation","inert","allowPinchZoom","as","gapMode"]),y=f,x=function(e,t){var r,n,a,i=(r=t||null,n=function(t){return e.forEach(function(e){return Ll(e,t)})},a=(0,o.useState)(function(){return{value:r,callback:n,facade:{get current(){return a.value},set current(e){var t=a.value;t!==e&&(a.value=e,a.callback(e,t))}}}})[0],a.callback=n,a.facade);return Fl(function(){var t=Ml.get(i);if(t){var r=new Set(t),n=new Set(e),o=i.current;r.forEach(function(e){n.has(e)||Ll(e,null)}),n.forEach(function(e){r.has(e)||Ll(e,o)})}Ml.set(i,e)},[e]),i}([r,t]),k=Dl(Dl({},w),a);return o.createElement(o.Fragment,null,d&&o.createElement(y,{sideCar:Il,removeScrollBar:u,shards:p,noRelative:g,noIsolation:h,inert:m,setCallbacks:i,allowPinchZoom:!!A,lockRef:r,gapMode:C}),s?o.cloneElement(o.Children.only(l),Dl(Dl({},k),{ref:x})):o.createElement(b,Dl({},k,{className:c,ref:x}),l))});zl.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1},zl.classNames={fullWidth:jl,zeroRight:Tl};var Ul=function(e){var t=e.sideCar,r=Nl(e,["sideCar"]);if(!t)throw new Error("Sidecar: please provide `sideCar` property to import the right car");var n=t.read();if(!n)throw new Error("Sidecar medium not found");return o.createElement(n,Dl({},r))};Ul.isSideCarExport=!0;var $l=function(){var e=0,t=null;return{add:function(r){var n,o;0==e&&(t=function(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=i.nc;return t&&e.setAttribute("nonce",t),e}())&&(o=r,(n=t).styleSheet?n.styleSheet.cssText=o:n.appendChild(document.createTextNode(o)),function(e){(document.head||document.getElementsByTagName("head")[0]).appendChild(e)}(t)),e++},remove:function(){! --e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Vl=function(){var e,t=(e=$l(),function(t,r){o.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&r])});return function(e){var r=e.styles,n=e.dynamic;return t(r,n),null}},Wl={left:0,top:0,right:0,gap:0},Hl=function(e){return parseInt(e||"",10)||0},Gl=Vl(),Kl="data-scroll-locked",Yl=function(e,t,r,n){var o=e.left,a=e.top,i=e.right,s=e.gap;return void 0===r&&(r="margin"),"\n .".concat("with-scroll-bars-hidden"," {\n overflow: hidden ").concat(n,";\n padding-right: ").concat(s,"px ").concat(n,";\n }\n body[").concat(Kl,"] {\n overflow: hidden ").concat(n,";\n overscroll-behavior: contain;\n ").concat([t&&"position: relative ".concat(n,";"),"margin"===r&&"\n padding-left: ".concat(o,"px;\n padding-top: ").concat(a,"px;\n padding-right: ").concat(i,"px;\n margin-left:0;\n margin-top:0;\n margin-right: ").concat(s,"px ").concat(n,";\n "),"padding"===r&&"padding-right: ".concat(s,"px ").concat(n,";")].filter(Boolean).join(""),"\n }\n \n .").concat(Tl," {\n right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(jl," {\n margin-right: ").concat(s,"px ").concat(n,";\n }\n \n .").concat(Tl," .").concat(Tl," {\n right: 0 ").concat(n,";\n }\n \n .").concat(jl," .").concat(jl," {\n margin-right: 0 ").concat(n,";\n }\n \n body[").concat(Kl,"] {\n ").concat("--removed-body-scroll-bar-size",": ").concat(s,"px;\n }\n")},Xl=function(){var e=parseInt(document.body.getAttribute(Kl)||"0",10);return isFinite(e)?e:0},Ql=function(e){var t=e.noRelative,r=e.noImportant,n=e.gapMode,a=void 0===n?"margin":n;o.useEffect(function(){return document.body.setAttribute(Kl,(Xl()+1).toString()),function(){var e=Xl()-1;e<=0?document.body.removeAttribute(Kl):document.body.setAttribute(Kl,e.toString())}},[]);var i=o.useMemo(function(){return function(e){if(void 0===e&&(e="margin"),"undefined"==typeof window)return Wl;var t=function(e){var t=window.getComputedStyle(document.body),r=t["padding"===e?"paddingLeft":"marginLeft"],n=t["padding"===e?"paddingTop":"marginTop"],o=t["padding"===e?"paddingRight":"marginRight"];return[Hl(r),Hl(n),Hl(o)]}(e),r=document.documentElement.clientWidth,n=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,n-r+t[2]-t[0])}}(a)},[a]);return o.createElement(Gl,{styles:Yl(i,!t,a,r?"":"!important")})},Zl=!1;if("undefined"!=typeof window)try{var Jl=Object.defineProperty({},"passive",{get:function(){return Zl=!0,!0}});window.addEventListener("test",Jl,Jl),window.removeEventListener("test",Jl,Jl)}catch(e){Zl=!1}var ec=!!Zl&&{passive:!1},tc=function(e,t){if(!(e instanceof Element))return!1;var r=window.getComputedStyle(e);return"hidden"!==r[t]&&!(r.overflowY===r.overflowX&&!function(e){return"TEXTAREA"===e.tagName}(e)&&"visible"===r[t])},rc=function(e,t){var r=t.ownerDocument,n=t;do{if("undefined"!=typeof ShadowRoot&&n instanceof ShadowRoot&&(n=n.host),nc(e,n)){var o=oc(e,n);if(o[1]>o[2])return!0}n=n.parentNode}while(n&&n!==r.body);return!1},nc=function(e,t){return"v"===e?function(e){return tc(e,"overflowY")}(t):function(e){return tc(e,"overflowX")}(t)},oc=function(e,t){return"v"===e?[(r=t).scrollTop,r.scrollHeight,r.clientHeight]:function(e){return[e.scrollLeft,e.scrollWidth,e.clientWidth]}(t);var r},ac=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ic=function(e){return[e.deltaX,e.deltaY]},sc=function(e){return e&&"current"in e?e.current:e},lc=function(e){return"\n .block-interactivity-".concat(e," {pointer-events: none;}\n .allow-interactivity-").concat(e," {pointer-events: all;}\n")},cc=0,uc=[];function dc(e){for(var t=null;null!==e;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}var pc,fc=(pc=function(e){var t=o.useRef([]),r=o.useRef([0,0]),n=o.useRef(),a=o.useState(cc++)[0],i=o.useState(Vl)[0],s=o.useRef(e);o.useEffect(function(){s.current=e},[e]),o.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(a));var t=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,a=t.length;o<a;o++)!n&&o in t||(n||(n=Array.prototype.slice.call(t,0,o)),n[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))}([e.lockRef.current],(e.shards||[]).map(sc),!0).filter(Boolean);return t.forEach(function(e){return e.classList.add("allow-interactivity-".concat(a))}),function(){document.body.classList.remove("block-interactivity-".concat(a)),t.forEach(function(e){return e.classList.remove("allow-interactivity-".concat(a))})}}},[e.inert,e.lockRef.current,e.shards]);var l=o.useCallback(function(e,t){if("touches"in e&&2===e.touches.length||"wheel"===e.type&&e.ctrlKey)return!s.current.allowPinchZoom;var o,a=ac(e),i=r.current,l="deltaX"in e?e.deltaX:i[0]-a[0],c="deltaY"in e?e.deltaY:i[1]-a[1],u=e.target,d=Math.abs(l)>Math.abs(c)?"h":"v";if("touches"in e&&"h"===d&&"range"===u.type)return!1;var p=window.getSelection(),f=p&&p.anchorNode;if(f&&(f===u||f.contains(u)))return!1;var g=rc(d,u);if(!g)return!0;if(g?o=d:(o="v"===d?"h":"v",g=rc(d,u)),!g)return!1;if(!n.current&&"changedTouches"in e&&(l||c)&&(n.current=o),!o)return!0;var h=n.current||o;return function(e,t,r,n){var o=function(e,t){return"h"===e&&"rtl"===t?-1:1}(e,window.getComputedStyle(t).direction),a=o*n,i=r.target,s=t.contains(i),l=!1,c=a>0,u=0,d=0;do{if(!i)break;var p=oc(e,i),f=p[0],g=p[1]-p[2]-o*f;(f||g)&&nc(e,i)&&(u+=g,d+=f);var h=i.parentNode;i=h&&h.nodeType===Node.DOCUMENT_FRAGMENT_NODE?h.host:h}while(!s&&i!==document.body||s&&(t.contains(i)||t===i));return(c&&(Math.abs(u)<1||!1)||!c&&(Math.abs(d)<1||!1))&&(l=!0),l}(h,t,e,"h"===h?l:c)},[]),c=o.useCallback(function(e){var r=e;if(uc.length&&uc[uc.length-1]===i){var n="deltaY"in r?ic(r):ac(r),o=t.current.filter(function(e){return e.name===r.type&&(e.target===r.target||r.target===e.shadowParent)&&function(e,t){return e[0]===t[0]&&e[1]===t[1]}(e.delta,n)})[0];if(o&&o.should)r.cancelable&&r.preventDefault();else if(!o){var a=(s.current.shards||[]).map(sc).filter(Boolean).filter(function(e){return e.contains(r.target)});(a.length>0?l(r,a[0]):!s.current.noIsolation)&&r.cancelable&&r.preventDefault()}}},[]),u=o.useCallback(function(e,r,n,o){var a={name:e,delta:r,target:n,should:o,shadowParent:dc(n)};t.current.push(a),setTimeout(function(){t.current=t.current.filter(function(e){return e!==a})},1)},[]),d=o.useCallback(function(e){r.current=ac(e),n.current=void 0},[]),p=o.useCallback(function(t){u(t.type,ic(t),t.target,l(t,e.lockRef.current))},[]),f=o.useCallback(function(t){u(t.type,ac(t),t.target,l(t,e.lockRef.current))},[]);o.useEffect(function(){return uc.push(i),e.setCallbacks({onScrollCapture:p,onWheelCapture:p,onTouchMoveCapture:f}),document.addEventListener("wheel",c,ec),document.addEventListener("touchmove",c,ec),document.addEventListener("touchstart",d,ec),function(){uc=uc.filter(function(e){return e!==i}),document.removeEventListener("wheel",c,ec),document.removeEventListener("touchmove",c,ec),document.removeEventListener("touchstart",d,ec)}},[]);var g=e.removeScrollBar,h=e.inert;return o.createElement(o.Fragment,null,h?o.createElement(i,{styles:lc(a)}):null,g?o.createElement(Ql,{noRelative:e.noRelative,gapMode:e.gapMode}):null)},Il.useMedium(pc),Ul),gc=o.forwardRef(function(e,t){return o.createElement(zl,Dl({},e,{ref:t,sideCar:fc}))});gc.classNames=zl.classNames;var hc=gc,mc=new WeakMap,Ac=new WeakMap,vc={},bc=0,Cc=function(e){return e&&(e.host||Cc(e.parentNode))},wc=function(e,t,r){void 0===r&&(r="data-aria-hidden");var n=Array.from(Array.isArray(e)?e:[e]),o=t||function(e){return"undefined"==typeof document?null:(Array.isArray(e)?e[0]:e).ownerDocument.body}(e);return o?(n.push.apply(n,Array.from(o.querySelectorAll("[aria-live], script"))),function(e,t,r,n){var o=function(e,t){return t.map(function(t){if(e.contains(t))return t;var r=Cc(t);return r&&e.contains(r)?r:(console.error("aria-hidden",t,"in not contained inside",e,". Doing nothing"),null)}).filter(function(e){return Boolean(e)})}(t,Array.isArray(e)?e:[e]);vc[r]||(vc[r]=new WeakMap);var a=vc[r],i=[],s=new Set,l=new Set(o),c=function(e){e&&!s.has(e)&&(s.add(e),c(e.parentNode))};o.forEach(c);var u=function(e){e&&!l.has(e)&&Array.prototype.forEach.call(e.children,function(e){if(s.has(e))u(e);else try{var t=e.getAttribute(n),o=null!==t&&"false"!==t,l=(mc.get(e)||0)+1,c=(a.get(e)||0)+1;mc.set(e,l),a.set(e,c),i.push(e),1===l&&o&&Ac.set(e,!0),1===c&&e.setAttribute(r,"true"),o||e.setAttribute(n,"true")}catch(t){console.error("aria-hidden: cannot operate on ",e,t)}})};return u(t),s.clear(),bc++,function(){i.forEach(function(e){var t=mc.get(e)-1,o=a.get(e)-1;mc.set(e,t),a.set(e,o),t||(Ac.has(e)||e.removeAttribute(n),Ac.delete(e)),o||e.removeAttribute(r)}),--bc||(mc=new WeakMap,mc=new WeakMap,Ac=new WeakMap,vc={})}}(n,o,r,"aria-hidden")):function(){return null}};function yc(e){const t=o.forwardRef((e,t)=>{const{children:r,...n}=e;if(o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var xc=Symbol("radix.slottable");function kc(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===xc}var Bc="Dialog",[Ec,Sc]=Ks(Bc),[_c,Oc]=Ec(Bc),Dc=e=>{const{__scopeDialog:r,children:n,open:a,defaultOpen:i,onOpenChange:s,modal:l=!0}=e,c=o.useRef(null),u=o.useRef(null),[d,p]=tl({prop:a,defaultProp:i??!1,onChange:s,caller:Bc});return(0,t.jsx)(_c,{scope:r,triggerRef:c,contentRef:u,contentId:Js(),titleId:Js(),descriptionId:Js(),open:d,onOpenChange:p,onOpenToggle:o.useCallback(()=>p(e=>!e),[p]),modal:l,children:n})};Dc.displayName=Bc;var Nc="DialogTrigger",Rc=o.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=Oc(Nc,n),i=Gs(r,a.triggerRef);return(0,t.jsx)(il.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":Yc(a.open),...o,ref:i,onClick:Vs(e.onClick,a.onOpenToggle)})});Rc.displayName=Nc;var Tc="DialogPortal",[jc,Lc]=Ec(Tc,{forceMount:void 0}),Fc=e=>{const{__scopeDialog:r,forceMount:n,children:a,container:i}=e,s=Oc(Tc,r);return(0,t.jsx)(jc,{scope:r,forceMount:n,children:o.Children.map(a,e=>(0,t.jsx)(Bl,{present:n||s.open,children:(0,t.jsx)(kl,{asChild:!0,container:i,children:e})}))})};Fc.displayName=Tc;var Mc="DialogOverlay",Pc=o.forwardRef((e,r)=>{const n=Lc(Mc,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,i=Oc(Mc,e.__scopeDialog);return i.modal?(0,t.jsx)(Bl,{present:o||i.open,children:(0,t.jsx)(qc,{...a,ref:r})}):null});Pc.displayName=Mc;var Ic=function(e){const r=yc(e),n=o.forwardRef((e,n)=>{const{children:a,...i}=e,s=o.Children.toArray(a),l=s.find(kc);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}("DialogOverlay.RemoveScroll"),qc=o.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=Oc(Mc,n);return(0,t.jsx)(hc,{as:Ic,allowPinchZoom:!0,shards:[a.contentRef],children:(0,t.jsx)(il.div,{"data-state":Yc(a.open),...o,ref:r,style:{pointerEvents:"auto",...o.style}})})}),zc="DialogContent",Uc=o.forwardRef((e,r)=>{const n=Lc(zc,e.__scopeDialog),{forceMount:o=n.forceMount,...a}=e,i=Oc(zc,e.__scopeDialog);return(0,t.jsx)(Bl,{present:o||i.open,children:i.modal?(0,t.jsx)($c,{...a,ref:r}):(0,t.jsx)(Vc,{...a,ref:r})})});Uc.displayName=zc;var $c=o.forwardRef((e,r)=>{const n=Oc(zc,e.__scopeDialog),a=o.useRef(null),i=Gs(r,n.contentRef,a);return o.useEffect(()=>{const e=a.current;if(e)return wc(e)},[]),(0,t.jsx)(Wc,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Vs(e.onCloseAutoFocus,e=>{e.preventDefault(),n.triggerRef.current?.focus()}),onPointerDownOutside:Vs(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}),onFocusOutside:Vs(e.onFocusOutside,e=>e.preventDefault())})}),Vc=o.forwardRef((e,r)=>{const n=Oc(zc,e.__scopeDialog),a=o.useRef(!1),i=o.useRef(!1);return(0,t.jsx)(Wc,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const r=t.target,o=n.triggerRef.current?.contains(r);o&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),Wc=o.forwardRef((e,r)=>{const{__scopeDialog:n,trapFocus:a,onOpenAutoFocus:i,onCloseAutoFocus:s,...l}=e,c=Oc(zc,n),u=o.useRef(null),d=Gs(r,u);return _l(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Al,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:i,onUnmountAutoFocus:s,children:(0,t.jsx)(dl,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionId,"aria-labelledby":c.titleId,"data-state":Yc(c.open),...l,ref:d,onDismiss:()=>c.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Jc,{titleId:c.titleId}),(0,t.jsx)(eu,{contentRef:u,descriptionId:c.descriptionId})]})]})}),Hc="DialogTitle";o.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=Oc(Hc,n);return(0,t.jsx)(il.h2,{id:a.titleId,...o,ref:r})}).displayName=Hc;var Gc="DialogDescription";o.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=Oc(Gc,n);return(0,t.jsx)(il.p,{id:a.descriptionId,...o,ref:r})}).displayName=Gc;var Kc="DialogClose";function Yc(e){return e?"open":"closed"}o.forwardRef((e,r)=>{const{__scopeDialog:n,...o}=e,a=Oc(Kc,n);return(0,t.jsx)(il.button,{type:"button",...o,ref:r,onClick:Vs(e.onClick,()=>a.onOpenChange(!1))})}).displayName=Kc;var Xc="DialogTitleWarning",[Qc,Zc]=function(e,r){const n=o.createContext(r),a=e=>{const{children:r,...a}=e,i=o.useMemo(()=>a,Object.values(a));return(0,t.jsx)(n.Provider,{value:i,children:r})};return a.displayName=e+"Provider",[a,function(t){const a=o.useContext(n);if(a)return a;if(void 0!==r)return r;throw new Error(`\`${t}\` must be used within \`${e}\``)}]}(Xc,{contentName:zc,titleName:Hc,docsSlug:"dialog"}),Jc=({titleId:e})=>{const t=Zc(Xc),r=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.\n\nIf you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.\n\nFor more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return o.useEffect(()=>{e&&(document.getElementById(e)||console.error(r))},[r,e]),null},eu=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Zc("DialogDescriptionWarning").contentName}}.`;return o.useEffect(()=>{const n=e.current?.getAttribute("aria-describedby");t&&n&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},tu=Dc,ru=Rc,nu=Fc,ou=Pc,au=Uc;const iu=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r}),su="-",lu=[],cu=e=>{const t=pu(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:e=>{if(e.startsWith("[")&&e.endsWith("]"))return du(e);const r=e.split(su),n=""===r[0]&&r.length>1?1:0;return uu(r,n,t)},getConflictingClassGroupIds:(e,t)=>{if(t){const t=n[e],o=r[e];return t?o?((e,t)=>{const r=new Array(e.length+t.length);for(let t=0;t<e.length;t++)r[t]=e[t];for(let n=0;n<t.length;n++)r[e.length+n]=t[n];return r})(o,t):t:o||lu}return r[e]||lu}}},uu=(e,t,r)=>{if(0===e.length-t)return r.classGroupId;const n=e[t],o=r.nextPart.get(n);if(o){const r=uu(e,t+1,o);if(r)return r}const a=r.validators;if(null===a)return;const i=0===t?e.join(su):e.slice(t).join(su),s=a.length;for(let e=0;e<s;e++){const t=a[e];if(t.validator(i))return t.classGroupId}},du=e=>-1===e.slice(1,-1).indexOf(":")?void 0:(()=>{const t=e.slice(1,-1),r=t.indexOf(":"),n=t.slice(0,r);return n?"arbitrary.."+n:void 0})(),pu=e=>{const{theme:t,classGroups:r}=e;return fu(r,t)},fu=(e,t)=>{const r=iu();for(const n in e){const o=e[n];gu(o,r,n,t)}return r},gu=(e,t,r,n)=>{const o=e.length;for(let a=0;a<o;a++){const o=e[a];hu(o,t,r,n)}},hu=(e,t,r,n)=>{"string"!=typeof e?"function"!=typeof e?vu(e,t,r,n):Au(e,t,r,n):mu(e,t,r)},mu=(e,t,r)=>{(""===e?t:bu(t,e)).classGroupId=r},Au=(e,t,r,n)=>{Cu(e)?gu(e(n),t,r,n):(null===t.validators&&(t.validators=[]),t.validators.push(((e,t)=>({classGroupId:e,validator:t}))(r,e)))},vu=(e,t,r,n)=>{const o=Object.entries(e),a=o.length;for(let e=0;e<a;e++){const[a,i]=o[e];gu(i,bu(t,a),r,n)}},bu=(e,t)=>{let r=e;const n=t.split(su),o=n.length;for(let e=0;e<o;e++){const t=n[e];let o=r.nextPart.get(t);o||(o=iu(),r.nextPart.set(t,o)),r=o}return r},Cu=e=>"isThemeGetter"in e&&!0===e.isThemeGetter,wu=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),n=Object.create(null);const o=(o,a)=>{r[o]=a,t++,t>e&&(t=0,n=r,r=Object.create(null))};return{get(e){let t=r[e];return void 0!==t?t:void 0!==(t=n[e])?(o(e,t),t):void 0},set(e,t){e in r?r[e]=t:o(e,t)}}},yu=[],xu=(e,t,r,n,o)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:n,isExternal:o}),ku=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=e=>{const t=[];let r,n=0,o=0,a=0;const i=e.length;for(let s=0;s<i;s++){const i=e[s];if(0===n&&0===o){if(":"===i){t.push(e.slice(a,s)),a=s+1;continue}if("/"===i){r=s;continue}}"["===i?n++:"]"===i?n--:"("===i?o++:")"===i&&o--}const s=0===t.length?e:e.slice(a);let l=s,c=!1;return s.endsWith("!")?(l=s.slice(0,-1),c=!0):s.startsWith("!")&&(l=s.slice(1),c=!0),xu(t,c,l,r&&r>a?r-a:void 0)};if(t){const e=t+":",r=n;n=t=>t.startsWith(e)?r(t.slice(e.length)):xu(yu,!1,t,void 0,!0)}if(r){const e=n;n=t=>r({className:t,parseClassName:e})}return n},Bu=e=>{const t=new Map;return e.orderSensitiveModifiers.forEach((e,r)=>{t.set(e,1e6+r)}),e=>{const r=[];let n=[];for(let o=0;o<e.length;o++){const a=e[o],i="["===a[0],s=t.has(a);i||s?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},Eu=/\s+/,Su=e=>{if("string"==typeof e)return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Su(e[n]))&&(r&&(r+=" "),r+=t);return r},_u=(e,...t)=>{let r,n,o,a;const i=e=>{const t=n(e);if(t)return t;const a=((e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:a}=t,i=[],s=e.trim().split(Eu);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:p,maybePostfixModifierPosition:f}=r(t);if(c){l=t+(l.length>0?" "+l:l);continue}let g=!!f,h=n(g?p.substring(0,f):p);if(!h){if(!g){l=t+(l.length>0?" "+l:l);continue}if(h=n(p),!h){l=t+(l.length>0?" "+l:l);continue}g=!1}const m=0===u.length?"":1===u.length?u[0]:a(u).join(":"),A=d?m+"!":m,v=A+h;if(i.indexOf(v)>-1)continue;i.push(v);const b=o(h,g);for(let e=0;e<b.length;++e){const t=b[e];i.push(A+t)}l=t+(l.length>0?" "+l:l)}return l})(e,r);return o(e,a),a};return a=s=>{const l=t.reduce((e,t)=>t(e),e());return r=(e=>({cache:wu(e.cacheSize),parseClassName:ku(e),sortModifiers:Bu(e),...cu(e)}))(l),n=r.cache.get,o=r.cache.set,a=i,i(s)},(...e)=>a(((...e)=>{let t,r,n=0,o="";for(;n<e.length;)(t=e[n++])&&(r=Su(t))&&(o&&(o+=" "),o+=r);return o})(...e))},Ou=[],Du=e=>{const t=t=>t[e]||Ou;return t.isThemeGetter=!0,t},Nu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ru=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Tu=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ju=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Lu=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Fu=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mu=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Pu=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Iu=e=>Tu.test(e),qu=e=>!!e&&!Number.isNaN(Number(e)),zu=e=>!!e&&Number.isInteger(Number(e)),Uu=e=>e.endsWith("%")&&qu(e.slice(0,-1)),$u=e=>ju.test(e),Vu=()=>!0,Wu=e=>Lu.test(e)&&!Fu.test(e),Hu=()=>!1,Gu=e=>Mu.test(e),Ku=e=>Pu.test(e),Yu=e=>!Qu(e)&&!ad(e),Xu=e=>fd(e,Ad,Hu),Qu=e=>Nu.test(e),Zu=e=>fd(e,vd,Wu),Ju=e=>fd(e,bd,qu),ed=e=>fd(e,wd,Vu),td=e=>fd(e,Cd,Hu),rd=e=>fd(e,hd,Hu),nd=e=>fd(e,md,Ku),od=e=>fd(e,yd,Gu),ad=e=>Ru.test(e),id=e=>gd(e,vd),sd=e=>gd(e,Cd),ld=e=>gd(e,hd),cd=e=>gd(e,Ad),ud=e=>gd(e,md),dd=e=>gd(e,yd,!0),pd=e=>gd(e,wd,!0),fd=(e,t,r)=>{const n=Nu.exec(e);return!!n&&(n[1]?t(n[1]):r(n[2]))},gd=(e,t,r=!1)=>{const n=Ru.exec(e);return!!n&&(n[1]?t(n[1]):r)},hd=e=>"position"===e||"percentage"===e,md=e=>"image"===e||"url"===e,Ad=e=>"length"===e||"size"===e||"bg-size"===e,vd=e=>"length"===e,bd=e=>"number"===e,Cd=e=>"family-name"===e,wd=e=>"number"===e||"weight"===e,yd=e=>"shadow"===e,xd=_u((Symbol.toStringTag,()=>{const e=Du("color"),t=Du("font"),r=Du("text"),n=Du("font-weight"),o=Du("tracking"),a=Du("leading"),i=Du("breakpoint"),s=Du("container"),l=Du("spacing"),c=Du("radius"),u=Du("shadow"),d=Du("inset-shadow"),p=Du("text-shadow"),f=Du("drop-shadow"),g=Du("blur"),h=Du("perspective"),m=Du("aspect"),A=Du("ease"),v=Du("animate"),b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ad,Qu],C=()=>[ad,Qu,l],w=()=>[Iu,"full","auto",...C()],y=()=>[zu,"none","subgrid",ad,Qu],x=()=>["auto",{span:["full",zu,ad,Qu]},zu,ad,Qu],k=()=>[zu,"auto",ad,Qu],B=()=>["auto","min","max","fr",ad,Qu],E=()=>["auto",...C()],S=()=>[Iu,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...C()],_=()=>[Iu,"screen","full","dvw","lvw","svw","min","max","fit",...C()],O=()=>[Iu,"screen","full","lh","dvh","lvh","svh","min","max","fit",...C()],D=()=>[e,ad,Qu],N=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ld,rd,{position:[ad,Qu]}],R=()=>["auto","cover","contain",cd,Xu,{size:[ad,Qu]}],T=()=>[Uu,id,Zu],j=()=>["","none","full",c,ad,Qu],L=()=>["",qu,id,Zu],F=()=>[qu,Uu,ld,rd],M=()=>["","none",g,ad,Qu],P=()=>["none",qu,ad,Qu],I=()=>["none",qu,ad,Qu],q=()=>[qu,ad,Qu],z=()=>[Iu,"full",...C()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[$u],breakpoint:[$u],color:[Vu],container:[$u],"drop-shadow":[$u],ease:["in","out","in-out"],font:[Yu],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[$u],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[$u],shadow:[$u],spacing:["px",qu],text:[$u],"text-shadow":[$u],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Iu,Qu,ad,m]}],container:["container"],columns:[{columns:[qu,Qu,ad,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:b()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[zu,"auto",ad,Qu]}],basis:[{basis:[Iu,"full","auto",s,...C()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[qu,Iu,"auto","initial","none",Qu]}],grow:[{grow:["",qu,ad,Qu]}],shrink:[{shrink:["",qu,ad,Qu]}],order:[{order:[zu,"first","last","none",ad,Qu]}],"grid-cols":[{"grid-cols":y()}],"col-start-end":[{col:x()}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":y()}],"row-start-end":[{row:x()}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":B()}],"auto-rows":[{"auto-rows":B()}],gap:[{gap:C()}],"gap-x":[{"gap-x":C()}],"gap-y":[{"gap-y":C()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:C()}],px:[{px:C()}],py:[{py:C()}],ps:[{ps:C()}],pe:[{pe:C()}],pbs:[{pbs:C()}],pbe:[{pbe:C()}],pt:[{pt:C()}],pr:[{pr:C()}],pb:[{pb:C()}],pl:[{pl:C()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":C()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":C()}],"space-y-reverse":["space-y-reverse"],size:[{size:S()}],"inline-size":[{inline:["auto",..._()]}],"min-inline-size":[{"min-inline":["auto",..._()]}],"max-inline-size":[{"max-inline":["none",..._()]}],"block-size":[{block:["auto",...O()]}],"min-block-size":[{"min-block":["auto",...O()]}],"max-block-size":[{"max-block":["none",...O()]}],w:[{w:[s,"screen",...S()]}],"min-w":[{"min-w":[s,"screen","none",...S()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[i]},...S()]}],h:[{h:["screen","lh",...S()]}],"min-h":[{"min-h":["screen","lh","none",...S()]}],"max-h":[{"max-h":["screen","lh",...S()]}],"font-size":[{text:["base",r,id,Zu]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,pd,ed]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Uu,Qu]}],"font-family":[{font:[sd,td,t]}],"font-features":[{"font-features":[Qu]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,ad,Qu]}],"line-clamp":[{"line-clamp":[qu,"none",ad,Ju]}],leading:[{leading:[a,...C()]}],"list-image":[{"list-image":["none",ad,Qu]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ad,Qu]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[qu,"from-font","auto",ad,Zu]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[qu,"auto",ad,Qu]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:C()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ad,Qu]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ad,Qu]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:N()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},zu,ad,Qu],radial:["",ad,Qu],conic:[zu,ad,Qu]},ud,nd]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:T()}],"gradient-via-pos":[{via:T()}],"gradient-to-pos":[{to:T()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:j()}],"rounded-s":[{"rounded-s":j()}],"rounded-e":[{"rounded-e":j()}],"rounded-t":[{"rounded-t":j()}],"rounded-r":[{"rounded-r":j()}],"rounded-b":[{"rounded-b":j()}],"rounded-l":[{"rounded-l":j()}],"rounded-ss":[{"rounded-ss":j()}],"rounded-se":[{"rounded-se":j()}],"rounded-ee":[{"rounded-ee":j()}],"rounded-es":[{"rounded-es":j()}],"rounded-tl":[{"rounded-tl":j()}],"rounded-tr":[{"rounded-tr":j()}],"rounded-br":[{"rounded-br":j()}],"rounded-bl":[{"rounded-bl":j()}],"border-w":[{border:L()}],"border-w-x":[{"border-x":L()}],"border-w-y":[{"border-y":L()}],"border-w-s":[{"border-s":L()}],"border-w-e":[{"border-e":L()}],"border-w-bs":[{"border-bs":L()}],"border-w-be":[{"border-be":L()}],"border-w-t":[{"border-t":L()}],"border-w-r":[{"border-r":L()}],"border-w-b":[{"border-b":L()}],"border-w-l":[{"border-l":L()}],"divide-x":[{"divide-x":L()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":L()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[qu,ad,Qu]}],"outline-w":[{outline:["",qu,id,Zu]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",u,dd,od]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",d,dd,od]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:L()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[qu,Zu]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":L()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",p,dd,od]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[qu,ad,Qu]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[qu]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[ad,Qu]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[qu]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:N()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ad,Qu]}],filter:[{filter:["","none",ad,Qu]}],blur:[{blur:M()}],brightness:[{brightness:[qu,ad,Qu]}],contrast:[{contrast:[qu,ad,Qu]}],"drop-shadow":[{"drop-shadow":["","none",f,dd,od]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",qu,ad,Qu]}],"hue-rotate":[{"hue-rotate":[qu,ad,Qu]}],invert:[{invert:["",qu,ad,Qu]}],saturate:[{saturate:[qu,ad,Qu]}],sepia:[{sepia:["",qu,ad,Qu]}],"backdrop-filter":[{"backdrop-filter":["","none",ad,Qu]}],"backdrop-blur":[{"backdrop-blur":M()}],"backdrop-brightness":[{"backdrop-brightness":[qu,ad,Qu]}],"backdrop-contrast":[{"backdrop-contrast":[qu,ad,Qu]}],"backdrop-grayscale":[{"backdrop-grayscale":["",qu,ad,Qu]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[qu,ad,Qu]}],"backdrop-invert":[{"backdrop-invert":["",qu,ad,Qu]}],"backdrop-opacity":[{"backdrop-opacity":[qu,ad,Qu]}],"backdrop-saturate":[{"backdrop-saturate":[qu,ad,Qu]}],"backdrop-sepia":[{"backdrop-sepia":["",qu,ad,Qu]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":C()}],"border-spacing-x":[{"border-spacing-x":C()}],"border-spacing-y":[{"border-spacing-y":C()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ad,Qu]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[qu,"initial",ad,Qu]}],ease:[{ease:["linear","initial",A,ad,Qu]}],delay:[{delay:[qu,ad,Qu]}],animate:[{animate:["none",v,ad,Qu]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ad,Qu]}],"perspective-origin":[{"perspective-origin":b()}],rotate:[{rotate:P()}],"rotate-x":[{"rotate-x":P()}],"rotate-y":[{"rotate-y":P()}],"rotate-z":[{"rotate-z":P()}],scale:[{scale:I()}],"scale-x":[{"scale-x":I()}],"scale-y":[{"scale-y":I()}],"scale-z":[{"scale-z":I()}],"scale-3d":["scale-3d"],skew:[{skew:q()}],"skew-x":[{"skew-x":q()}],"skew-y":[{"skew-y":q()}],transform:[{transform:[ad,Qu,"","none","gpu","cpu"]}],"transform-origin":[{origin:b()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ad,Qu]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":C()}],"scroll-mx":[{"scroll-mx":C()}],"scroll-my":[{"scroll-my":C()}],"scroll-ms":[{"scroll-ms":C()}],"scroll-me":[{"scroll-me":C()}],"scroll-mbs":[{"scroll-mbs":C()}],"scroll-mbe":[{"scroll-mbe":C()}],"scroll-mt":[{"scroll-mt":C()}],"scroll-mr":[{"scroll-mr":C()}],"scroll-mb":[{"scroll-mb":C()}],"scroll-ml":[{"scroll-ml":C()}],"scroll-p":[{"scroll-p":C()}],"scroll-px":[{"scroll-px":C()}],"scroll-py":[{"scroll-py":C()}],"scroll-ps":[{"scroll-ps":C()}],"scroll-pe":[{"scroll-pe":C()}],"scroll-pbs":[{"scroll-pbs":C()}],"scroll-pbe":[{"scroll-pbe":C()}],"scroll-pt":[{"scroll-pt":C()}],"scroll-pr":[{"scroll-pr":C()}],"scroll-pb":[{"scroll-pb":C()}],"scroll-pl":[{"scroll-pl":C()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ad,Qu]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[qu,id,Zu,Ju]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}));function kd(...e){return xd(ds()(e))}var Bd=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function Ed(e){var r=Bd(e,[]);return(0,t.jsx)(tu,Object.assign({"data-slot":"dialog"},r))}function Sd(e){var r=Bd(e,[]);return(0,t.jsx)(ru,Object.assign({"data-slot":"dialog-trigger"},r))}function _d(e){var r=Bd(e,[]);return(0,t.jsx)(nu,Object.assign({"data-slot":"dialog-portal"},r))}function Od(e){var{className:r}=e,n=Bd(e,["className"]);return(0,t.jsx)(ou,Object.assign({"data-slot":"dialog-overlay",className:kd("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",r)},n))}function Dd(e){var{className:r,children:n}=e,o=Bd(e,["className","children"]);return(0,t.jsxs)(_d,{"data-slot":"dialog-portal",children:[(0,t.jsx)(Od,{}),(0,t.jsx)(au,Object.assign({"data-slot":"dialog-content",className:kd("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-50 grid w-full translate-x-[-50%] translate-y-[-50%] gap-4 rounded-[var(--moveo-new-border-radius-base)] border-none bg-background p-6 shadow-lg duration-200",r)},o,{children:n}))]})}const Nd=["top","right","bottom","left"],Rd=Math.min,Td=Math.max,jd=Math.round,Ld=Math.floor,Fd=e=>({x:e,y:e}),Md={left:"right",right:"left",bottom:"top",top:"bottom"},Pd={start:"end",end:"start"};function Id(e,t,r){return Td(e,Rd(t,r))}function qd(e,t){return"function"==typeof e?e(t):e}function zd(e){return e.split("-")[0]}function Ud(e){return e.split("-")[1]}function $d(e){return"x"===e?"y":"x"}function Vd(e){return"y"===e?"height":"width"}const Wd=new Set(["top","bottom"]);function Hd(e){return Wd.has(zd(e))?"y":"x"}function Gd(e){return $d(Hd(e))}function Kd(e){return e.replace(/start|end/g,e=>Pd[e])}const Yd=["left","right"],Xd=["right","left"],Qd=["top","bottom"],Zd=["bottom","top"];function Jd(e){return e.replace(/left|right|bottom|top/g,e=>Md[e])}function ep(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function tp(e){const{x:t,y:r,width:n,height:o}=e;return{width:n,height:o,top:r,left:t,right:t+n,bottom:r+o,x:t,y:r}}function rp(e,t,r){let{reference:n,floating:o}=e;const a=Hd(t),i=Gd(t),s=Vd(i),l=zd(t),c="y"===a,u=n.x+n.width/2-o.width/2,d=n.y+n.height/2-o.height/2,p=n[s]/2-o[s]/2;let f;switch(l){case"top":f={x:u,y:n.y-o.height};break;case"bottom":f={x:u,y:n.y+n.height};break;case"right":f={x:n.x+n.width,y:d};break;case"left":f={x:n.x-o.width,y:d};break;default:f={x:n.x,y:n.y}}switch(Ud(t)){case"start":f[i]-=p*(r&&c?-1:1);break;case"end":f[i]+=p*(r&&c?-1:1)}return f}async function np(e,t){var r;void 0===t&&(t={});const{x:n,y:o,platform:a,rects:i,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:p=!1,padding:f=0}=qd(t,e),g=ep(f),h=s[p?"floating"===d?"reference":"floating":d],m=tp(await a.getClippingRect({element:null==(r=await(null==a.isElement?void 0:a.isElement(h)))||r?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),A="floating"===d?{x:n,y:o,width:i.floating.width,height:i.floating.height}:i.reference,v=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),b=await(null==a.isElement?void 0:a.isElement(v))&&await(null==a.getScale?void 0:a.getScale(v))||{x:1,y:1},C=tp(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:A,offsetParent:v,strategy:l}):A);return{top:(m.top-C.top+g.top)/b.y,bottom:(C.bottom-m.bottom+g.bottom)/b.y,left:(m.left-C.left+g.left)/b.x,right:(C.right-m.right+g.right)/b.x}}function op(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function ap(e){return Nd.some(t=>e[t]>=0)}const ip=new Set(["left","top"]);function sp(){return"undefined"!=typeof window}function lp(e){return dp(e)?(e.nodeName||"").toLowerCase():"#document"}function cp(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function up(e){var t;return null==(t=(dp(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function dp(e){return!!sp()&&(e instanceof Node||e instanceof cp(e).Node)}function pp(e){return!!sp()&&(e instanceof Element||e instanceof cp(e).Element)}function fp(e){return!!sp()&&(e instanceof HTMLElement||e instanceof cp(e).HTMLElement)}function gp(e){return!(!sp()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof cp(e).ShadowRoot)}const hp=new Set(["inline","contents"]);function mp(e){const{overflow:t,overflowX:r,overflowY:n,display:o}=_p(e);return/auto|scroll|overlay|hidden|clip/.test(t+n+r)&&!hp.has(o)}const Ap=new Set(["table","td","th"]);function vp(e){return Ap.has(lp(e))}const bp=[":popover-open",":modal"];function Cp(e){return bp.some(t=>{try{return e.matches(t)}catch(e){return!1}})}const wp=["transform","translate","scale","rotate","perspective"],yp=["transform","translate","scale","rotate","perspective","filter"],xp=["paint","layout","strict","content"];function kp(e){const t=Bp(),r=pp(e)?_p(e):e;return wp.some(e=>!!r[e]&&"none"!==r[e])||!!r.containerType&&"normal"!==r.containerType||!t&&!!r.backdropFilter&&"none"!==r.backdropFilter||!t&&!!r.filter&&"none"!==r.filter||yp.some(e=>(r.willChange||"").includes(e))||xp.some(e=>(r.contain||"").includes(e))}function Bp(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}const Ep=new Set(["html","body","#document"]);function Sp(e){return Ep.has(lp(e))}function _p(e){return cp(e).getComputedStyle(e)}function Op(e){return pp(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Dp(e){if("html"===lp(e))return e;const t=e.assignedSlot||e.parentNode||gp(e)&&e.host||up(e);return gp(t)?t.host:t}function Np(e){const t=Dp(e);return Sp(t)?e.ownerDocument?e.ownerDocument.body:e.body:fp(t)&&mp(t)?t:Np(t)}function Rp(e,t,r){var n;void 0===t&&(t=[]),void 0===r&&(r=!0);const o=Np(e),a=o===(null==(n=e.ownerDocument)?void 0:n.body),i=cp(o);if(a){const e=Tp(i);return t.concat(i,i.visualViewport||[],mp(o)?o:[],e&&r?Rp(e):[])}return t.concat(o,Rp(o,[],r))}function Tp(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function jp(e){const t=_p(e);let r=parseFloat(t.width)||0,n=parseFloat(t.height)||0;const o=fp(e),a=o?e.offsetWidth:r,i=o?e.offsetHeight:n,s=jd(r)!==a||jd(n)!==i;return s&&(r=a,n=i),{width:r,height:n,$:s}}function Lp(e){return pp(e)?e:e.contextElement}function Fp(e){const t=Lp(e);if(!fp(t))return Fd(1);const r=t.getBoundingClientRect(),{width:n,height:o,$:a}=jp(t);let i=(a?jd(r.width):r.width)/n,s=(a?jd(r.height):r.height)/o;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Mp=Fd(0);function Pp(e){const t=cp(e);return Bp()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:Mp}function Ip(e,t,r,n){void 0===t&&(t=!1),void 0===r&&(r=!1);const o=e.getBoundingClientRect(),a=Lp(e);let i=Fd(1);t&&(n?pp(n)&&(i=Fp(n)):i=Fp(e));const s=function(e,t,r){return void 0===t&&(t=!1),!(!r||t&&r!==cp(e))&&t}(a,r,n)?Pp(a):Fd(0);let l=(o.left+s.x)/i.x,c=(o.top+s.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){const e=cp(a),t=n&&pp(n)?cp(n):n;let r=e,o=Tp(r);for(;o&&n&&t!==r;){const e=Fp(o),t=o.getBoundingClientRect(),n=_p(o),a=t.left+(o.clientLeft+parseFloat(n.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(n.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=a,c+=i,r=cp(o),o=Tp(r)}}return tp({width:u,height:d,x:l,y:c})}function qp(e,t){const r=Op(e).scrollLeft;return t?t.left+r:Ip(up(e)).left+r}function zp(e,t){const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-qp(e,r),y:r.top+t.scrollTop}}const Up=new Set(["absolute","fixed"]);function $p(e,t,r){let n;if("viewport"===t)n=function(e,t){const r=cp(e),n=up(e),o=r.visualViewport;let a=n.clientWidth,i=n.clientHeight,s=0,l=0;if(o){a=o.width,i=o.height;const e=Bp();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}const c=qp(n);if(c<=0){const e=n.ownerDocument,t=e.body,r=getComputedStyle(t),o="CSS1Compat"===e.compatMode&&parseFloat(r.marginLeft)+parseFloat(r.marginRight)||0,i=Math.abs(n.clientWidth-t.clientWidth-o);i<=25&&(a-=i)}else c<=25&&(a+=c);return{width:a,height:i,x:s,y:l}}(e,r);else if("document"===t)n=function(e){const t=up(e),r=Op(e),n=e.ownerDocument.body,o=Td(t.scrollWidth,t.clientWidth,n.scrollWidth,n.clientWidth),a=Td(t.scrollHeight,t.clientHeight,n.scrollHeight,n.clientHeight);let i=-r.scrollLeft+qp(e);const s=-r.scrollTop;return"rtl"===_p(n).direction&&(i+=Td(t.clientWidth,n.clientWidth)-o),{width:o,height:a,x:i,y:s}}(up(e));else if(pp(t))n=function(e,t){const r=Ip(e,!0,"fixed"===t),n=r.top+e.clientTop,o=r.left+e.clientLeft,a=fp(e)?Fp(e):Fd(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:n*a.y}}(t,r);else{const r=Pp(e);n={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return tp(n)}function Vp(e,t){const r=Dp(e);return!(r===t||!pp(r)||Sp(r))&&("fixed"===_p(r).position||Vp(r,t))}function Wp(e,t,r){const n=fp(t),o=up(t),a="fixed"===r,i=Ip(e,!0,a,t);let s={scrollLeft:0,scrollTop:0};const l=Fd(0);function c(){l.x=qp(o)}if(n||!n&&!a)if(("body"!==lp(t)||mp(o))&&(s=Op(t)),n){const e=Ip(t,!0,a,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&c();a&&!n&&o&&c();const u=!o||n||a?Fd(0):zp(o,s);return{x:i.left+s.scrollLeft-l.x-u.x,y:i.top+s.scrollTop-l.y-u.y,width:i.width,height:i.height}}function Hp(e){return"static"===_p(e).position}function Gp(e,t){if(!fp(e)||"fixed"===_p(e).position)return null;if(t)return t(e);let r=e.offsetParent;return up(e)===r&&(r=r.ownerDocument.body),r}function Kp(e,t){const r=cp(e);if(Cp(e))return r;if(!fp(e)){let t=Dp(e);for(;t&&!Sp(t);){if(pp(t)&&!Hp(t))return t;t=Dp(t)}return r}let n=Gp(e,t);for(;n&&vp(n)&&Hp(n);)n=Gp(n,t);return n&&Sp(n)&&Hp(n)&&!kp(n)?r:n||function(e){let t=Dp(e);for(;fp(t)&&!Sp(t);){if(kp(t))return t;if(Cp(t))return null;t=Dp(t)}return null}(e)||r}const Yp={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:r,offsetParent:n,strategy:o}=e;const a="fixed"===o,i=up(n),s=!!t&&Cp(t.floating);if(n===i||s&&a)return r;let l={scrollLeft:0,scrollTop:0},c=Fd(1);const u=Fd(0),d=fp(n);if((d||!d&&!a)&&(("body"!==lp(n)||mp(i))&&(l=Op(n)),fp(n))){const e=Ip(n);c=Fp(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}const p=!i||d||a?Fd(0):zp(i,l);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-l.scrollLeft*c.x+u.x+p.x,y:r.y*c.y-l.scrollTop*c.y+u.y+p.y}},getDocumentElement:up,getClippingRect:function(e){let{element:t,boundary:r,rootBoundary:n,strategy:o}=e;const a="clippingAncestors"===r?Cp(t)?[]:function(e,t){const r=t.get(e);if(r)return r;let n=Rp(e,[],!1).filter(e=>pp(e)&&"body"!==lp(e)),o=null;const a="fixed"===_p(e).position;let i=a?Dp(e):e;for(;pp(i)&&!Sp(i);){const t=_p(i),r=kp(i);r||"fixed"!==t.position||(o=null),(a?!r&&!o:!r&&"static"===t.position&&o&&Up.has(o.position)||mp(i)&&!r&&Vp(e,i))?n=n.filter(e=>e!==i):o=t,i=Dp(i)}return t.set(e,n),n}(t,this._c):[].concat(r),i=[...a,n],s=i[0],l=i.reduce((e,r)=>{const n=$p(t,r,o);return e.top=Td(n.top,e.top),e.right=Rd(n.right,e.right),e.bottom=Rd(n.bottom,e.bottom),e.left=Td(n.left,e.left),e},$p(t,s,o));return{width:l.right-l.left,height:l.bottom-l.top,x:l.left,y:l.top}},getOffsetParent:Kp,getElementRects:async function(e){const t=this.getOffsetParent||Kp,r=this.getDimensions,n=await r(e.floating);return{reference:Wp(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:r}=jp(e);return{width:t,height:r}},getScale:Fp,isElement:pp,isRTL:function(e){return"rtl"===_p(e).direction}};function Xp(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}const Qp=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var r,n;const{x:o,y:a,placement:i,middlewareData:s}=t,l=await async function(e,t){const{placement:r,platform:n,elements:o}=e,a=await(null==n.isRTL?void 0:n.isRTL(o.floating)),i=zd(r),s=Ud(r),l="y"===Hd(r),c=ip.has(i)?-1:1,u=a&&l?-1:1,d=qd(t,e);let{mainAxis:p,crossAxis:f,alignmentAxis:g}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof g&&(f="end"===s?-1*g:g),l?{x:f*u,y:p*c}:{x:p*c,y:f*u}}(t,e);return i===(null==(r=s.offset)?void 0:r.placement)&&null!=(n=s.arrow)&&n.alignmentOffset?{}:{x:o+l.x,y:a+l.y,data:{...l,placement:i}}}}},Zp=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:r,y:n,placement:o}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:e=>{let{x:t,y:r}=e;return{x:t,y:r}}},...l}=qd(e,t),c={x:r,y:n},u=await np(t,l),d=Hd(zd(o)),p=$d(d);let f=c[p],g=c[d];if(a){const e="y"===p?"bottom":"right";f=Id(f+u["y"===p?"top":"left"],f,f-u[e])}if(i){const e="y"===d?"bottom":"right";g=Id(g+u["y"===d?"top":"left"],g,g-u[e])}const h=s.fn({...t,[p]:f,[d]:g});return{...h,data:{x:h.x-r,y:h.y-n,enabled:{[p]:a,[d]:i}}}}}},Jp=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var r,n;const{placement:o,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:p,fallbackStrategy:f="bestFit",fallbackAxisSideDirection:g="none",flipAlignment:h=!0,...m}=qd(e,t);if(null!=(r=a.arrow)&&r.alignmentOffset)return{};const A=zd(o),v=Hd(s),b=zd(s)===s,C=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=p||(b||!h?[Jd(s)]:function(e){const t=Jd(e);return[Kd(e),t,Kd(t)]}(s)),y="none"!==g;!p&&y&&w.push(...function(e,t,r,n){const o=Ud(e);let a=function(e,t,r){switch(e){case"top":case"bottom":return r?t?Xd:Yd:t?Yd:Xd;case"left":case"right":return t?Qd:Zd;default:return[]}}(zd(e),"start"===r,n);return o&&(a=a.map(e=>e+"-"+o),t&&(a=a.concat(a.map(Kd)))),a}(s,h,g,C));const x=[s,...w],k=await np(t,m),B=[];let E=(null==(n=a.flip)?void 0:n.overflows)||[];if(u&&B.push(k[A]),d){const e=function(e,t,r){void 0===r&&(r=!1);const n=Ud(e),o=Gd(e),a=Vd(o);let i="x"===o?n===(r?"end":"start")?"right":"left":"start"===n?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Jd(i)),[i,Jd(i)]}(o,i,C);B.push(k[e[0]],k[e[1]])}if(E=[...E,{placement:o,overflows:B}],!B.every(e=>e<=0)){var S,_;const e=((null==(S=a.flip)?void 0:S.index)||0)+1,t=x[e];if(t&&("alignment"!==d||v===Hd(t)||E.every(e=>Hd(e.placement)!==v||e.overflows[0]>0)))return{data:{index:e,overflows:E},reset:{placement:t}};let r=null==(_=E.filter(e=>e.overflows[0]<=0).sort((e,t)=>e.overflows[1]-t.overflows[1])[0])?void 0:_.placement;if(!r)switch(f){case"bestFit":{var O;const e=null==(O=E.filter(e=>{if(y){const t=Hd(e.placement);return t===v||"y"===t}return!0}).map(e=>[e.placement,e.overflows.filter(e=>e>0).reduce((e,t)=>e+t,0)]).sort((e,t)=>e[1]-t[1])[0])?void 0:O[0];e&&(r=e);break}case"initialPlacement":r=s}if(o!==r)return{reset:{placement:r}}}return{}}}},ef=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var r,n;const{placement:o,rects:a,platform:i,elements:s}=t,{apply:l=()=>{},...c}=qd(e,t),u=await np(t,c),d=zd(o),p=Ud(o),f="y"===Hd(o),{width:g,height:h}=a.floating;let m,A;"top"===d||"bottom"===d?(m=d,A=p===(await(null==i.isRTL?void 0:i.isRTL(s.floating))?"start":"end")?"left":"right"):(A=d,m="end"===p?"top":"bottom");const v=h-u.top-u.bottom,b=g-u.left-u.right,C=Rd(h-u[m],v),w=Rd(g-u[A],b),y=!t.middlewareData.shift;let x=C,k=w;if(null!=(r=t.middlewareData.shift)&&r.enabled.x&&(k=b),null!=(n=t.middlewareData.shift)&&n.enabled.y&&(x=v),y&&!p){const e=Td(u.left,0),t=Td(u.right,0),r=Td(u.top,0),n=Td(u.bottom,0);f?k=g-2*(0!==e||0!==t?e+t:Td(u.left,u.right)):x=h-2*(0!==r||0!==n?r+n:Td(u.top,u.bottom))}await l({...t,availableWidth:k,availableHeight:x});const B=await i.getDimensions(s.floating);return g!==B.width||h!==B.height?{reset:{rects:!0}}:{}}}},tf=function(e){return void 0===e&&(e={}),{name:"hide",options:e,async fn(t){const{rects:r}=t,{strategy:n="referenceHidden",...o}=qd(e,t);switch(n){case"referenceHidden":{const e=op(await np(t,{...o,elementContext:"reference"}),r.reference);return{data:{referenceHiddenOffsets:e,referenceHidden:ap(e)}}}case"escaped":{const e=op(await np(t,{...o,altBoundary:!0}),r.floating);return{data:{escapedOffsets:e,escaped:ap(e)}}}default:return{}}}}},rf=e=>({name:"arrow",options:e,async fn(t){const{x:r,y:n,placement:o,rects:a,platform:i,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=qd(e,t)||{};if(null==c)return{};const d=ep(u),p={x:r,y:n},f=Gd(o),g=Vd(f),h=await i.getDimensions(c),m="y"===f,A=m?"top":"left",v=m?"bottom":"right",b=m?"clientHeight":"clientWidth",C=a.reference[g]+a.reference[f]-p[f]-a.floating[g],w=p[f]-a.reference[f],y=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let x=y?y[b]:0;x&&await(null==i.isElement?void 0:i.isElement(y))||(x=s.floating[b]||a.floating[g]);const k=C/2-w/2,B=x/2-h[g]/2-1,E=Rd(d[A],B),S=Rd(d[v],B),_=E,O=x-h[g]-S,D=x/2-h[g]/2+k,N=Id(_,D,O),R=!l.arrow&&null!=Ud(o)&&D!==N&&a.reference[g]/2-(D<_?E:S)-h[g]/2<0,T=R?D<_?D-_:D-O:0;return{[f]:p[f]+T,data:{[f]:N,centerOffset:D-N-T,...R&&{alignmentOffset:T}},reset:R}}}),nf=function(e){return void 0===e&&(e={}),{options:e,fn(t){const{x:r,y:n,placement:o,rects:a,middlewareData:i}=t,{offset:s=0,mainAxis:l=!0,crossAxis:c=!0}=qd(e,t),u={x:r,y:n},d=Hd(o),p=$d(d);let f=u[p],g=u[d];const h=qd(s,t),m="number"==typeof h?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(l){const e="y"===p?"height":"width",t=a.reference[p]-a.floating[e]+m.mainAxis,r=a.reference[p]+a.reference[e]-m.mainAxis;f<t?f=t:f>r&&(f=r)}if(c){var A,v;const e="y"===p?"width":"height",t=ip.has(zd(o)),r=a.reference[d]-a.floating[e]+(t&&(null==(A=i.offset)?void 0:A[d])||0)+(t?0:m.crossAxis),n=a.reference[d]+a.reference[e]+(t?0:(null==(v=i.offset)?void 0:v[d])||0)-(t?m.crossAxis:0);g<r?g=r:g>n&&(g=n)}return{[p]:f,[d]:g}}}},of=(e,t,r)=>{const n=new Map,o={platform:Yp,...r},a={...o.platform,_c:n};return(async(e,t,r)=>{const{placement:n="bottom",strategy:o="absolute",middleware:a=[],platform:i}=r,s=a.filter(Boolean),l=await(null==i.isRTL?void 0:i.isRTL(t));let c=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=rp(c,n,l),p=n,f={},g=0;for(let r=0;r<s.length;r++){const{name:a,fn:h}=s[r],{x:m,y:A,data:v,reset:b}=await h({x:u,y:d,initialPlacement:n,placement:p,strategy:o,middlewareData:f,rects:c,platform:i,elements:{reference:e,floating:t}});u=null!=m?m:u,d=null!=A?A:d,f={...f,[a]:{...f[a],...v}},b&&g<=50&&(g++,"object"==typeof b&&(b.placement&&(p=b.placement),b.rects&&(c=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=rp(c,p,l))),r=-1)}return{x:u,y:d,placement:p,strategy:o,middlewareData:f}})(e,t,{...o,platform:a})};var af="undefined"!=typeof document?o.useLayoutEffect:function(){};function sf(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let r,n,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(r=e.length,r!==t.length)return!1;for(n=r;0!==n--;)if(!sf(e[n],t[n]))return!1;return!0}if(o=Object.keys(e),r=o.length,r!==Object.keys(t).length)return!1;for(n=r;0!==n--;)if(!{}.hasOwnProperty.call(t,o[n]))return!1;for(n=r;0!==n--;){const r=o[n];if(!("_owner"===r&&e.$$typeof||sf(e[r],t[r])))return!1}return!0}return e!=e&&t!=t}function lf(e){return"undefined"==typeof window?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function cf(e,t){const r=lf(e);return Math.round(t*r)/r}function uf(e){const t=o.useRef(e);return af(()=>{t.current=e}),t}const df=e=>({name:"arrow",options:e,fn(t){const{element:r,padding:n}="function"==typeof e?e(t):e;return r&&function(e){return{}.hasOwnProperty.call(e,"current")}(r)?null!=r.current?rf({element:r.current,padding:n}).fn(t):{}:r?rf({element:r,padding:n}).fn(t):{}}}),pf=(e,t)=>({...Qp(e),options:[e,t]}),ff=(e,t)=>({...Zp(e),options:[e,t]}),gf=(e,t)=>({...nf(e),options:[e,t]}),hf=(e,t)=>({...Jp(e),options:[e,t]}),mf=(e,t)=>({...ef(e),options:[e,t]}),Af=(e,t)=>({...tf(e),options:[e,t]}),vf=(e,t)=>({...df(e),options:[e,t]});var bf=o.forwardRef((e,r)=>{const{children:n,width:o=10,height:a=5,...i}=e;return(0,t.jsx)(il.svg,{...i,ref:r,width:o,height:a,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:(0,t.jsx)("polygon",{points:"0,0 30,0 15,10"})})});bf.displayName="Arrow";var Cf=bf;function wf(e){const[t,r]=o.useState(void 0);return Xs(()=>{if(e){r({width:e.offsetWidth,height:e.offsetHeight});const t=new ResizeObserver(t=>{if(!Array.isArray(t))return;if(!t.length)return;const n=t[0];let o,a;if("borderBoxSize"in n){const e=n.borderBoxSize,t=Array.isArray(e)?e[0]:e;o=t.inlineSize,a=t.blockSize}else o=e.offsetWidth,a=e.offsetHeight;r({width:o,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}r(void 0)},[e]),t}var yf="Popper",[xf,kf]=Ks(yf),[Bf,Ef]=xf(yf),Sf=e=>{const{__scopePopper:r,children:n}=e,[a,i]=o.useState(null);return(0,t.jsx)(Bf,{scope:r,anchor:a,onAnchorChange:i,children:n})};Sf.displayName=yf;var _f="PopperAnchor",Of=o.forwardRef((e,r)=>{const{__scopePopper:n,virtualRef:a,...i}=e,s=Ef(_f,n),l=o.useRef(null),c=Gs(r,l),u=o.useRef(null);return o.useEffect(()=>{const e=u.current;u.current=a?.current||l.current,e!==u.current&&s.onAnchorChange(u.current)}),a?null:(0,t.jsx)(il.div,{...i,ref:c})});Of.displayName=_f;var Df="PopperContent",[Nf,Rf]=xf(Df),Tf=o.forwardRef((e,r)=>{const{__scopePopper:n,side:a="bottom",sideOffset:i=0,align:s="center",alignOffset:l=0,arrowPadding:c=0,avoidCollisions:u=!0,collisionBoundary:d=[],collisionPadding:p=0,sticky:f="partial",hideWhenDetached:g=!1,updatePositionStrategy:h="optimized",onPlaced:m,...A}=e,v=Ef(Df,n),[b,C]=o.useState(null),w=Gs(r,e=>C(e)),[y,x]=o.useState(null),k=wf(y),B=k?.width??0,E=k?.height??0,S=a+("center"!==s?"-"+s:""),_="number"==typeof p?p:{top:0,right:0,bottom:0,left:0,...p},O=Array.isArray(d)?d:[d],D=O.length>0,N={padding:_,boundary:O.filter(Mf),altBoundary:D},{refs:R,floatingStyles:T,placement:j,isPositioned:L,middlewareData:F}=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:n=[],platform:a,elements:{reference:i,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,p]=o.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[f,g]=o.useState(n);sf(f,n)||g(n);const[h,m]=o.useState(null),[A,v]=o.useState(null),b=o.useCallback(e=>{e!==x.current&&(x.current=e,m(e))},[]),C=o.useCallback(e=>{e!==k.current&&(k.current=e,v(e))},[]),w=i||h,y=s||A,x=o.useRef(null),k=o.useRef(null),B=o.useRef(d),E=null!=c,S=uf(c),_=uf(a),O=uf(u),D=o.useCallback(()=>{if(!x.current||!k.current)return;const e={placement:t,strategy:r,middleware:f};_.current&&(e.platform=_.current),of(x.current,k.current,e).then(e=>{const t={...e,isPositioned:!1!==O.current};N.current&&!sf(B.current,t)&&(B.current=t,rl.flushSync(()=>{p(t)}))})},[f,t,r,_,O]);af(()=>{!1===u&&B.current.isPositioned&&(B.current.isPositioned=!1,p(e=>({...e,isPositioned:!1})))},[u]);const N=o.useRef(!1);af(()=>(N.current=!0,()=>{N.current=!1}),[]),af(()=>{if(w&&(x.current=w),y&&(k.current=y),w&&y){if(S.current)return S.current(w,y,D);D()}},[w,y,D,S,E]);const R=o.useMemo(()=>({reference:x,floating:k,setReference:b,setFloating:C}),[b,C]),T=o.useMemo(()=>({reference:w,floating:y}),[w,y]),j=o.useMemo(()=>{const e={position:r,left:0,top:0};if(!T.floating)return e;const t=cf(T.floating,d.x),n=cf(T.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...lf(T.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}},[r,l,T.floating,d.x,d.y]);return o.useMemo(()=>({...d,update:D,refs:R,elements:T,floatingStyles:j}),[d,D,R,T,j])}({strategy:"fixed",placement:S,whileElementsMounted:(...e)=>function(e,t,r,n){void 0===n&&(n={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=n,c=Lp(e),u=o||a?[...c?Rp(c):[],...Rp(t)]:[];u.forEach(e=>{o&&e.addEventListener("scroll",r,{passive:!0}),a&&e.addEventListener("resize",r)});const d=c&&s?function(e,t){let r,n=null;const o=up(e);function a(){var e;clearTimeout(r),null==(e=n)||e.disconnect(),n=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),a();const c=e.getBoundingClientRect(),{left:u,top:d,width:p,height:f}=c;if(s||t(),!p||!f)return;const g={rootMargin:-Ld(d)+"px "+-Ld(o.clientWidth-(u+p))+"px "+-Ld(o.clientHeight-(d+f))+"px "+-Ld(u)+"px",threshold:Td(0,Rd(1,l))||1};let h=!0;function m(t){const n=t[0].intersectionRatio;if(n!==l){if(!h)return i();n?i(!1,n):r=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==n||Xp(c,e.getBoundingClientRect())||i(),h=!1}try{n=new IntersectionObserver(m,{...g,root:o.ownerDocument})}catch(e){n=new IntersectionObserver(m,g)}n.observe(e)}(!0),a}(c,r):null;let p,f=-1,g=null;i&&(g=new ResizeObserver(e=>{let[n]=e;n&&n.target===c&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var e;null==(e=g)||e.observe(t)})),r()}),c&&!l&&g.observe(c),g.observe(t));let h=l?Ip(e):null;return l&&function t(){const n=Ip(e);h&&!Xp(h,n)&&r(),h=n,p=requestAnimationFrame(t)}(),r(),()=>{var e;u.forEach(e=>{o&&e.removeEventListener("scroll",r),a&&e.removeEventListener("resize",r)}),null==d||d(),null==(e=g)||e.disconnect(),g=null,l&&cancelAnimationFrame(p)}}(...e,{animationFrame:"always"===h}),elements:{reference:v.anchor},middleware:[pf({mainAxis:i+E,alignmentAxis:l}),u&&ff({mainAxis:!0,crossAxis:!1,limiter:"partial"===f?gf():void 0,...N}),u&&hf({...N}),mf({...N,apply:({elements:e,rects:t,availableWidth:r,availableHeight:n})=>{const{width:o,height:a}=t.reference,i=e.floating.style;i.setProperty("--radix-popper-available-width",`${r}px`),i.setProperty("--radix-popper-available-height",`${n}px`),i.setProperty("--radix-popper-anchor-width",`${o}px`),i.setProperty("--radix-popper-anchor-height",`${a}px`)}}),y&&vf({element:y,padding:c}),Pf({arrowWidth:B,arrowHeight:E}),g&&Af({strategy:"referenceHidden",...N})]}),[M,P]=If(j),I=sl(m);Xs(()=>{L&&I?.()},[L,I]);const q=F.arrow?.x,z=F.arrow?.y,U=0!==F.arrow?.centerOffset,[$,V]=o.useState();return Xs(()=>{b&&V(window.getComputedStyle(b).zIndex)},[b]),(0,t.jsx)("div",{ref:R.setFloating,"data-radix-popper-content-wrapper":"",style:{...T,transform:L?T.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:$,"--radix-popper-transform-origin":[F.transformOrigin?.x,F.transformOrigin?.y].join(" "),...F.hide?.referenceHidden&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:(0,t.jsx)(Nf,{scope:n,placedSide:M,onArrowChange:x,arrowX:q,arrowY:z,shouldHideArrow:U,children:(0,t.jsx)(il.div,{"data-side":M,"data-align":P,...A,ref:w,style:{...A.style,animation:L?void 0:"none"}})})})});Tf.displayName=Df;var jf="PopperArrow",Lf={top:"bottom",right:"left",bottom:"top",left:"right"},Ff=o.forwardRef(function(e,r){const{__scopePopper:n,...o}=e,a=Rf(jf,n),i=Lf[a.placedSide];return(0,t.jsx)("span",{ref:a.onArrowChange,style:{position:"absolute",left:a.arrowX,top:a.arrowY,[i]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[a.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[a.placedSide],visibility:a.shouldHideArrow?"hidden":void 0},children:(0,t.jsx)(Cf,{...o,ref:r,style:{...o.style,display:"block"}})})});function Mf(e){return null!==e}Ff.displayName=jf;var Pf=e=>({name:"transformOrigin",options:e,fn(t){const{placement:r,rects:n,middlewareData:o}=t,a=0!==o.arrow?.centerOffset,i=a?0:e.arrowWidth,s=a?0:e.arrowHeight,[l,c]=If(r),u={start:"0%",center:"50%",end:"100%"}[c],d=(o.arrow?.x??0)+i/2,p=(o.arrow?.y??0)+s/2;let f="",g="";return"bottom"===l?(f=a?u:`${d}px`,g=-s+"px"):"top"===l?(f=a?u:`${d}px`,g=`${n.floating.height+s}px`):"right"===l?(f=-s+"px",g=a?u:`${p}px`):"left"===l&&(f=`${n.floating.width+s}px`,g=a?u:`${p}px`),{data:{x:f,y:g}}}});function If(e){const[t,r="center"]=e.split("-");return[t,r]}var qf=Sf,zf=Of,Uf=Tf,$f=Ff;function Vf(e){const t=o.forwardRef((e,t)=>{const{children:r,...n}=e;if(o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Wf=Symbol("radix.slottable");function Hf(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===Wf}var Gf="Popover",[Kf,Yf]=Ks(Gf,[kf]),Xf=kf(),[Qf,Zf]=Kf(Gf),Jf=e=>{const{__scopePopover:r,children:n,open:a,defaultOpen:i,onOpenChange:s,modal:l=!1}=e,c=Xf(r),u=o.useRef(null),[d,p]=o.useState(!1),[f,g]=tl({prop:a,defaultProp:i??!1,onChange:s,caller:Gf});return(0,t.jsx)(qf,{...c,children:(0,t.jsx)(Qf,{scope:r,contentId:Js(),triggerRef:u,open:f,onOpenChange:g,onOpenToggle:o.useCallback(()=>g(e=>!e),[g]),hasCustomAnchor:d,onCustomAnchorAdd:o.useCallback(()=>p(!0),[]),onCustomAnchorRemove:o.useCallback(()=>p(!1),[]),modal:l,children:n})})};Jf.displayName=Gf;var eg="PopoverAnchor";o.forwardRef((e,r)=>{const{__scopePopover:n,...a}=e,i=Zf(eg,n),s=Xf(n),{onCustomAnchorAdd:l,onCustomAnchorRemove:c}=i;return o.useEffect(()=>(l(),()=>c()),[l,c]),(0,t.jsx)(zf,{...s,...a,ref:r})}).displayName=eg;var tg="PopoverTrigger",rg=o.forwardRef((e,r)=>{const{__scopePopover:n,...o}=e,a=Zf(tg,n),i=Xf(n),s=Gs(r,a.triggerRef),l=(0,t.jsx)(il.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.contentId,"data-state":gg(a.open),...o,ref:s,onClick:Vs(e.onClick,a.onOpenToggle)});return a.hasCustomAnchor?l:(0,t.jsx)(zf,{asChild:!0,...i,children:l})});rg.displayName=tg;var ng="PopoverPortal",[og,ag]=Kf(ng,{forceMount:void 0}),ig=e=>{const{__scopePopover:r,forceMount:n,children:o,container:a}=e,i=Zf(ng,r);return(0,t.jsx)(og,{scope:r,forceMount:n,children:(0,t.jsx)(Bl,{present:n||i.open,children:(0,t.jsx)(kl,{asChild:!0,container:a,children:o})})})};ig.displayName=ng;var sg="PopoverContent",lg=o.forwardRef((e,r)=>{const n=ag(sg,e.__scopePopover),{forceMount:o=n.forceMount,...a}=e,i=Zf(sg,e.__scopePopover);return(0,t.jsx)(Bl,{present:o||i.open,children:i.modal?(0,t.jsx)(ug,{...a,ref:r}):(0,t.jsx)(dg,{...a,ref:r})})});lg.displayName=sg;var cg=function(e){const r=Vf(e),n=o.forwardRef((e,n)=>{const{children:a,...i}=e,s=o.Children.toArray(a),l=s.find(Hf);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}("PopoverContent.RemoveScroll"),ug=o.forwardRef((e,r)=>{const n=Zf(sg,e.__scopePopover),a=o.useRef(null),i=Gs(r,a),s=o.useRef(!1);return o.useEffect(()=>{const e=a.current;if(e)return wc(e)},[]),(0,t.jsx)(hc,{as:cg,allowPinchZoom:!0,children:(0,t.jsx)(pg,{...e,ref:i,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:Vs(e.onCloseAutoFocus,e=>{e.preventDefault(),s.current||n.triggerRef.current?.focus()}),onPointerDownOutside:Vs(e.onPointerDownOutside,e=>{const t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey,n=2===t.button||r;s.current=n},{checkForDefaultPrevented:!1}),onFocusOutside:Vs(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1})})})}),dg=o.forwardRef((e,r)=>{const n=Zf(sg,e.__scopePopover),a=o.useRef(!1),i=o.useRef(!1);return(0,t.jsx)(pg,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(a.current||n.triggerRef.current?.focus(),t.preventDefault()),a.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(a.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));const r=t.target,o=n.triggerRef.current?.contains(r);o&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})}),pg=o.forwardRef((e,r)=>{const{__scopePopover:n,trapFocus:o,onOpenAutoFocus:a,onCloseAutoFocus:i,disableOutsidePointerEvents:s,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:u,onInteractOutside:d,...p}=e,f=Zf(sg,n),g=Xf(n);return _l(),(0,t.jsx)(Al,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:a,onUnmountAutoFocus:i,children:(0,t.jsx)(dl,{asChild:!0,disableOutsidePointerEvents:s,onInteractOutside:d,onEscapeKeyDown:l,onPointerDownOutside:c,onFocusOutside:u,onDismiss:()=>f.onOpenChange(!1),children:(0,t.jsx)(Uf,{"data-state":gg(f.open),role:"dialog",id:f.contentId,...g,...p,ref:r,style:{...p.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),fg="PopoverClose";function gg(e){return e?"open":"closed"}o.forwardRef((e,r)=>{const{__scopePopover:n,...o}=e,a=Zf(fg,n);return(0,t.jsx)(il.button,{type:"button",...o,ref:r,onClick:Vs(e.onClick,()=>a.onOpenChange(!1))})}).displayName=fg,o.forwardRef((e,r)=>{const{__scopePopover:n,...o}=e,a=Xf(n);return(0,t.jsx)($f,{...a,...o,ref:r})}).displayName="PopoverArrow";var hg=Jf,mg=rg,Ag=ig,vg=lg,bg=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function Cg(e){var r=bg(e,[]);return(0,t.jsx)(hg,Object.assign({"data-slot":"popover"},r))}function wg(e){var r=bg(e,[]);return(0,t.jsx)(mg,Object.assign({"data-slot":"popover-trigger"},r))}function yg(e){var{className:r,align:n="center",sideOffset:o=4}=e,a=bg(e,["className","align","sideOffset"]);return(0,t.jsx)(Ag,{children:(0,t.jsx)(vg,Object.assign({"data-slot":"popover-content",align:n,sideOffset:o,className:kd("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin) outline-hidden z-50 w-72 rounded-md bg-popover p-4 text-popover-foreground shadow-md",r)},a))})}const xg=Object.create(null);xg.open="0",xg.close="1",xg.ping="2",xg.pong="3",xg.message="4",xg.upgrade="5",xg.noop="6";const kg=Object.create(null);Object.keys(xg).forEach(e=>{kg[xg[e]]=e});const Bg={type:"error",data:"parser error"},Eg="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===Object.prototype.toString.call(Blob),Sg="function"==typeof ArrayBuffer,_g=e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer instanceof ArrayBuffer,Og=({type:e,data:t},r,n)=>Eg&&t instanceof Blob?r?n(t):Dg(t,n):Sg&&(t instanceof ArrayBuffer||_g(t))?r?n(t):Dg(new Blob([t]),n):n(xg[e]+(t||"")),Dg=(e,t)=>{const r=new FileReader;return r.onload=function(){const e=r.result.split(",")[1];t("b"+(e||""))},r.readAsDataURL(e)};function Ng(e){return e instanceof Uint8Array?e:e instanceof ArrayBuffer?new Uint8Array(e):new Uint8Array(e.buffer,e.byteOffset,e.byteLength)}let Rg;const Tg="undefined"==typeof Uint8Array?[]:new Uint8Array(256);for(let e=0;e<64;e++)Tg["ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charCodeAt(e)]=e;const jg="function"==typeof ArrayBuffer,Lg=(e,t)=>{if("string"!=typeof e)return{type:"message",data:Mg(e,t)};const r=e.charAt(0);return"b"===r?{type:"message",data:Fg(e.substring(1),t)}:kg[r]?e.length>1?{type:kg[r],data:e.substring(1)}:{type:kg[r]}:Bg},Fg=(e,t)=>{if(jg){const r=(e=>{let t,r,n,o,a,i=.75*e.length,s=e.length,l=0;"="===e[e.length-1]&&(i--,"="===e[e.length-2]&&i--);const c=new ArrayBuffer(i),u=new Uint8Array(c);for(t=0;t<s;t+=4)r=Tg[e.charCodeAt(t)],n=Tg[e.charCodeAt(t+1)],o=Tg[e.charCodeAt(t+2)],a=Tg[e.charCodeAt(t+3)],u[l++]=r<<2|n>>4,u[l++]=(15&n)<<4|o>>2,u[l++]=(3&o)<<6|63&a;return c})(e);return Mg(r,t)}return{base64:!0,data:e}},Mg=(e,t)=>"blob"===t?e instanceof Blob?e:new Blob([e]):e instanceof ArrayBuffer?e:e.buffer,Pg=String.fromCharCode(30);let Ig;function qg(e){return e.reduce((e,t)=>e+t.length,0)}function zg(e,t){if(e[0].length===t)return e.shift();const r=new Uint8Array(t);let n=0;for(let o=0;o<t;o++)r[o]=e[0][n++],n===e[0].length&&(e.shift(),n=0);return e.length&&n<e[0].length&&(e[0]=e[0].slice(n)),r}function Ug(e){if(e)return function(e){for(var t in Ug.prototype)e[t]=Ug.prototype[t];return e}(e)}Ug.prototype.on=Ug.prototype.addEventListener=function(e,t){return this._callbacks=this._callbacks||{},(this._callbacks["$"+e]=this._callbacks["$"+e]||[]).push(t),this},Ug.prototype.once=function(e,t){function r(){this.off(e,r),t.apply(this,arguments)}return r.fn=t,this.on(e,r),this},Ug.prototype.off=Ug.prototype.removeListener=Ug.prototype.removeAllListeners=Ug.prototype.removeEventListener=function(e,t){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var r,n=this._callbacks["$"+e];if(!n)return this;if(1==arguments.length)return delete this._callbacks["$"+e],this;for(var o=0;o<n.length;o++)if((r=n[o])===t||r.fn===t){n.splice(o,1);break}return 0===n.length&&delete this._callbacks["$"+e],this},Ug.prototype.emit=function(e){this._callbacks=this._callbacks||{};for(var t=new Array(arguments.length-1),r=this._callbacks["$"+e],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(r){n=0;for(var o=(r=r.slice(0)).length;n<o;++n)r[n].apply(this,t)}return this},Ug.prototype.emitReserved=Ug.prototype.emit,Ug.prototype.listeners=function(e){return this._callbacks=this._callbacks||{},this._callbacks["$"+e]||[]},Ug.prototype.hasListeners=function(e){return!!this.listeners(e).length};const $g="function"==typeof Promise&&"function"==typeof Promise.resolve?e=>Promise.resolve().then(e):(e,t)=>t(e,0),Vg="undefined"!=typeof self?self:"undefined"!=typeof window?window:Function("return this")();function Wg(e,...t){return t.reduce((t,r)=>(e.hasOwnProperty(r)&&(t[r]=e[r]),t),{})}const Hg=Vg.setTimeout,Gg=Vg.clearTimeout;function Kg(e,t){t.useNativeTimers?(e.setTimeoutFn=Hg.bind(Vg),e.clearTimeoutFn=Gg.bind(Vg)):(e.setTimeoutFn=Vg.setTimeout.bind(Vg),e.clearTimeoutFn=Vg.clearTimeout.bind(Vg))}function Yg(e){return"string"==typeof e?function(e){let t=0,r=0;for(let n=0,o=e.length;n<o;n++)t=e.charCodeAt(n),t<128?r+=1:t<2048?r+=2:t<55296||t>=57344?r+=3:(n++,r+=4);return r}(e):Math.ceil(1.33*(e.byteLength||e.size))}function Xg(){return Date.now().toString(36).substring(3)+Math.random().toString(36).substring(2,5)}class Qg extends Error{constructor(e,t,r){super(e),this.description=t,this.context=r,this.type="TransportError"}}class Zg extends Ug{constructor(e){super(),this.writable=!1,Kg(this,e),this.opts=e,this.query=e.query,this.socket=e.socket,this.supportsBinary=!e.forceBase64}onError(e,t,r){return super.emitReserved("error",new Qg(e,t,r)),this}open(){return this.readyState="opening",this.doOpen(),this}close(){return"opening"!==this.readyState&&"open"!==this.readyState||(this.doClose(),this.onClose()),this}send(e){"open"===this.readyState&&this.write(e)}onOpen(){this.readyState="open",this.writable=!0,super.emitReserved("open")}onData(e){const t=Lg(e,this.socket.binaryType);this.onPacket(t)}onPacket(e){super.emitReserved("packet",e)}onClose(e){this.readyState="closed",super.emitReserved("close",e)}pause(e){}createUri(e,t={}){return e+"://"+this._hostname()+this._port()+this.opts.path+this._query(t)}_hostname(){const e=this.opts.hostname;return-1===e.indexOf(":")?e:"["+e+"]"}_port(){return this.opts.port&&(this.opts.secure&&443!==Number(this.opts.port)||!this.opts.secure&&80!==Number(this.opts.port))?":"+this.opts.port:""}_query(e){const t=function(e){let t="";for(let r in e)e.hasOwnProperty(r)&&(t.length&&(t+="&"),t+=encodeURIComponent(r)+"="+encodeURIComponent(e[r]));return t}(e);return t.length?"?"+t:""}}class Jg extends Zg{constructor(){super(...arguments),this._polling=!1}get name(){return"polling"}doOpen(){this._poll()}pause(e){this.readyState="pausing";const t=()=>{this.readyState="paused",e()};if(this._polling||!this.writable){let e=0;this._polling&&(e++,this.once("pollComplete",function(){--e||t()})),this.writable||(e++,this.once("drain",function(){--e||t()}))}else t()}_poll(){this._polling=!0,this.doPoll(),this.emitReserved("poll")}onData(e){((e,t)=>{const r=e.split(Pg),n=[];for(let e=0;e<r.length;e++){const o=Lg(r[e],t);if(n.push(o),"error"===o.type)break}return n})(e,this.socket.binaryType).forEach(e=>{if("opening"===this.readyState&&"open"===e.type&&this.onOpen(),"close"===e.type)return this.onClose({description:"transport closed by the server"}),!1;this.onPacket(e)}),"closed"!==this.readyState&&(this._polling=!1,this.emitReserved("pollComplete"),"open"===this.readyState&&this._poll())}doClose(){const e=()=>{this.write([{type:"close"}])};"open"===this.readyState?e():this.once("open",e)}write(e){this.writable=!1,((e,t)=>{const r=e.length,n=new Array(r);let o=0;e.forEach((e,a)=>{Og(e,!1,e=>{n[a]=e,++o===r&&t(n.join(Pg))})})})(e,e=>{this.doWrite(e,()=>{this.writable=!0,this.emitReserved("drain")})})}uri(){const e=this.opts.secure?"https":"http",t=this.query||{};return!1!==this.opts.timestampRequests&&(t[this.opts.timestampParam]=Xg()),this.supportsBinary||t.sid||(t.b64=1),this.createUri(e,t)}}let eh=!1;try{eh="undefined"!=typeof XMLHttpRequest&&"withCredentials"in new XMLHttpRequest}catch(e){}const th=eh;function rh(){}class nh extends Jg{constructor(e){if(super(e),"undefined"!=typeof location){const t="https:"===location.protocol;let r=location.port;r||(r=t?"443":"80"),this.xd="undefined"!=typeof location&&e.hostname!==location.hostname||r!==e.port}}doWrite(e,t){const r=this.request({method:"POST",data:e});r.on("success",t),r.on("error",(e,t)=>{this.onError("xhr post error",e,t)})}doPoll(){const e=this.request();e.on("data",this.onData.bind(this)),e.on("error",(e,t)=>{this.onError("xhr poll error",e,t)}),this.pollXhr=e}}class oh extends Ug{constructor(e,t,r){super(),this.createRequest=e,Kg(this,r),this._opts=r,this._method=r.method||"GET",this._uri=t,this._data=void 0!==r.data?r.data:null,this._create()}_create(){var e;const t=Wg(this._opts,"agent","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","autoUnref");t.xdomain=!!this._opts.xd;const r=this._xhr=this.createRequest(t);try{r.open(this._method,this._uri,!0);try{if(this._opts.extraHeaders){r.setDisableHeaderCheck&&r.setDisableHeaderCheck(!0);for(let e in this._opts.extraHeaders)this._opts.extraHeaders.hasOwnProperty(e)&&r.setRequestHeader(e,this._opts.extraHeaders[e])}}catch(e){}if("POST"===this._method)try{r.setRequestHeader("Content-type","text/plain;charset=UTF-8")}catch(e){}try{r.setRequestHeader("Accept","*/*")}catch(e){}null===(e=this._opts.cookieJar)||void 0===e||e.addCookies(r),"withCredentials"in r&&(r.withCredentials=this._opts.withCredentials),this._opts.requestTimeout&&(r.timeout=this._opts.requestTimeout),r.onreadystatechange=()=>{var e;3===r.readyState&&(null===(e=this._opts.cookieJar)||void 0===e||e.parseCookies(r.getResponseHeader("set-cookie"))),4===r.readyState&&(200===r.status||1223===r.status?this._onLoad():this.setTimeoutFn(()=>{this._onError("number"==typeof r.status?r.status:0)},0))},r.send(this._data)}catch(e){return void this.setTimeoutFn(()=>{this._onError(e)},0)}"undefined"!=typeof document&&(this._index=oh.requestsCount++,oh.requests[this._index]=this)}_onError(e){this.emitReserved("error",e,this._xhr),this._cleanup(!0)}_cleanup(e){if(void 0!==this._xhr&&null!==this._xhr){if(this._xhr.onreadystatechange=rh,e)try{this._xhr.abort()}catch(e){}"undefined"!=typeof document&&delete oh.requests[this._index],this._xhr=null}}_onLoad(){const e=this._xhr.responseText;null!==e&&(this.emitReserved("data",e),this.emitReserved("success"),this._cleanup())}abort(){this._cleanup()}}function ah(){for(let e in oh.requests)oh.requests.hasOwnProperty(e)&&oh.requests[e].abort()}oh.requestsCount=0,oh.requests={},"undefined"!=typeof document&&("function"==typeof attachEvent?attachEvent("onunload",ah):"function"==typeof addEventListener&&addEventListener("onpagehide"in Vg?"pagehide":"unload",ah,!1));const ih=function(){const e=sh({xdomain:!1});return e&&null!==e.responseType}();function sh(e){const t=e.xdomain;try{if("undefined"!=typeof XMLHttpRequest&&(!t||th))return new XMLHttpRequest}catch(e){}if(!t)try{return new(Vg[["Active"].concat("Object").join("X")])("Microsoft.XMLHTTP")}catch(e){}}const lh="undefined"!=typeof navigator&&"string"==typeof navigator.product&&"reactnative"===navigator.product.toLowerCase();class ch extends Zg{get name(){return"websocket"}doOpen(){const e=this.uri(),t=this.opts.protocols,r=lh?{}:Wg(this.opts,"agent","perMessageDeflate","pfx","key","passphrase","cert","ca","ciphers","rejectUnauthorized","localAddress","protocolVersion","origin","maxPayload","family","checkServerIdentity");this.opts.extraHeaders&&(r.headers=this.opts.extraHeaders);try{this.ws=this.createSocket(e,t,r)}catch(e){return this.emitReserved("error",e)}this.ws.binaryType=this.socket.binaryType,this.addEventListeners()}addEventListeners(){this.ws.onopen=()=>{this.opts.autoUnref&&this.ws._socket.unref(),this.onOpen()},this.ws.onclose=e=>this.onClose({description:"websocket connection closed",context:e}),this.ws.onmessage=e=>this.onData(e.data),this.ws.onerror=e=>this.onError("websocket error",e)}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],n=t===e.length-1;Og(r,this.supportsBinary,e=>{try{this.doWrite(r,e)}catch(e){}n&&$g(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){void 0!==this.ws&&(this.ws.onerror=()=>{},this.ws.close(),this.ws=null)}uri(){const e=this.opts.secure?"wss":"ws",t=this.query||{};return this.opts.timestampRequests&&(t[this.opts.timestampParam]=Xg()),this.supportsBinary||(t.b64=1),this.createUri(e,t)}}const uh=Vg.WebSocket||Vg.MozWebSocket,dh={websocket:class extends ch{createSocket(e,t,r){return lh?new uh(e,t,r):t?new uh(e,t):new uh(e)}doWrite(e,t){this.ws.send(t)}},webtransport:class extends Zg{get name(){return"webtransport"}doOpen(){try{this._transport=new WebTransport(this.createUri("https"),this.opts.transportOptions[this.name])}catch(e){return this.emitReserved("error",e)}this._transport.closed.then(()=>{this.onClose()}).catch(e=>{this.onError("webtransport error",e)}),this._transport.ready.then(()=>{this._transport.createBidirectionalStream().then(e=>{const t=function(e,t){Ig||(Ig=new TextDecoder);const r=[];let n=0,o=-1,a=!1;return new TransformStream({transform(i,s){for(r.push(i);;){if(0===n){if(qg(r)<1)break;const e=zg(r,1);a=!(128&~e[0]),o=127&e[0],n=o<126?3:126===o?1:2}else if(1===n){if(qg(r)<2)break;const e=zg(r,2);o=new DataView(e.buffer,e.byteOffset,e.length).getUint16(0),n=3}else if(2===n){if(qg(r)<8)break;const e=zg(r,8),t=new DataView(e.buffer,e.byteOffset,e.length),a=t.getUint32(0);if(a>Math.pow(2,21)-1){s.enqueue(Bg);break}o=a*Math.pow(2,32)+t.getUint32(4),n=3}else{if(qg(r)<o)break;const e=zg(r,o);s.enqueue(Lg(a?e:Ig.decode(e),t)),n=0}if(0===o||o>e){s.enqueue(Bg);break}}}})}(Number.MAX_SAFE_INTEGER,this.socket.binaryType),r=e.readable.pipeThrough(t).getReader(),n=new TransformStream({transform(e,t){!function(e,t){Eg&&e.data instanceof Blob?e.data.arrayBuffer().then(Ng).then(t):Sg&&(e.data instanceof ArrayBuffer||_g(e.data))?t(Ng(e.data)):Og(e,!1,e=>{Rg||(Rg=new TextEncoder),t(Rg.encode(e))})}(e,r=>{const n=r.length;let o;if(n<126)o=new Uint8Array(1),new DataView(o.buffer).setUint8(0,n);else if(n<65536){o=new Uint8Array(3);const e=new DataView(o.buffer);e.setUint8(0,126),e.setUint16(1,n)}else{o=new Uint8Array(9);const e=new DataView(o.buffer);e.setUint8(0,127),e.setBigUint64(1,BigInt(n))}e.data&&"string"!=typeof e.data&&(o[0]|=128),t.enqueue(o),t.enqueue(r)})}});n.readable.pipeTo(e.writable),this._writer=n.writable.getWriter();const o=()=>{r.read().then(({done:e,value:t})=>{e||(this.onPacket(t),o())}).catch(e=>{})};o();const a={type:"open"};this.query.sid&&(a.data=`{"sid":"${this.query.sid}"}`),this._writer.write(a).then(()=>this.onOpen())})})}write(e){this.writable=!1;for(let t=0;t<e.length;t++){const r=e[t],n=t===e.length-1;this._writer.write(r).then(()=>{n&&$g(()=>{this.writable=!0,this.emitReserved("drain")},this.setTimeoutFn)})}}doClose(){var e;null===(e=this._transport)||void 0===e||e.close()}},polling:class extends nh{constructor(e){super(e);const t=e&&e.forceBase64;this.supportsBinary=ih&&!t}request(e={}){return Object.assign(e,{xd:this.xd},this.opts),new oh(sh,this.uri(),e)}}},ph=/^(?:(?![^:@\/?#]+:[^:@\/]*@)(http|https|ws|wss):\/\/)?((?:(([^:@\/?#]*)(?::([^:@\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\/?#]*)(?::(\d*))?)(((\/(?:[^?#](?![^?#\/]*\.[^?#\/.]+(?:[?#]|$)))*\/?)?([^?#\/]*))(?:\?([^#]*))?(?:#(.*))?)/,fh=["source","protocol","authority","userInfo","user","password","host","port","relative","path","directory","file","query","anchor"];function gh(e){if(e.length>8e3)throw"URI too long";const t=e,r=e.indexOf("["),n=e.indexOf("]");-1!=r&&-1!=n&&(e=e.substring(0,r)+e.substring(r,n).replace(/:/g,";")+e.substring(n,e.length));let o=ph.exec(e||""),a={},i=14;for(;i--;)a[fh[i]]=o[i]||"";return-1!=r&&-1!=n&&(a.source=t,a.host=a.host.substring(1,a.host.length-1).replace(/;/g,":"),a.authority=a.authority.replace("[","").replace("]","").replace(/;/g,":"),a.ipv6uri=!0),a.pathNames=function(e,t){const r=t.replace(/\/{2,9}/g,"/").split("/");return"/"!=t.slice(0,1)&&0!==t.length||r.splice(0,1),"/"==t.slice(-1)&&r.splice(r.length-1,1),r}(0,a.path),a.queryKey=function(e,t){const r={};return t.replace(/(?:^|&)([^&=]*)=?([^&]*)/g,function(e,t,n){t&&(r[t]=n)}),r}(0,a.query),a}const hh="function"==typeof addEventListener&&"function"==typeof removeEventListener,mh=[];hh&&addEventListener("offline",()=>{mh.forEach(e=>e())},!1);class Ah extends Ug{constructor(e,t){if(super(),this.binaryType="arraybuffer",this.writeBuffer=[],this._prevBufferLen=0,this._pingInterval=-1,this._pingTimeout=-1,this._maxPayload=-1,this._pingTimeoutTime=1/0,e&&"object"==typeof e&&(t=e,e=null),e){const r=gh(e);t.hostname=r.host,t.secure="https"===r.protocol||"wss"===r.protocol,t.port=r.port,r.query&&(t.query=r.query)}else t.host&&(t.hostname=gh(t.host).host);Kg(this,t),this.secure=null!=t.secure?t.secure:"undefined"!=typeof location&&"https:"===location.protocol,t.hostname&&!t.port&&(t.port=this.secure?"443":"80"),this.hostname=t.hostname||("undefined"!=typeof location?location.hostname:"localhost"),this.port=t.port||("undefined"!=typeof location&&location.port?location.port:this.secure?"443":"80"),this.transports=[],this._transportsByName={},t.transports.forEach(e=>{const t=e.prototype.name;this.transports.push(t),this._transportsByName[t]=e}),this.opts=Object.assign({path:"/engine.io",agent:!1,withCredentials:!1,upgrade:!0,timestampParam:"t",rememberUpgrade:!1,addTrailingSlash:!0,rejectUnauthorized:!0,perMessageDeflate:{threshold:1024},transportOptions:{},closeOnBeforeunload:!1},t),this.opts.path=this.opts.path.replace(/\/$/,"")+(this.opts.addTrailingSlash?"/":""),"string"==typeof this.opts.query&&(this.opts.query=function(e){let t={},r=e.split("&");for(let e=0,n=r.length;e<n;e++){let n=r[e].split("=");t[decodeURIComponent(n[0])]=decodeURIComponent(n[1])}return t}(this.opts.query)),hh&&(this.opts.closeOnBeforeunload&&(this._beforeunloadEventListener=()=>{this.transport&&(this.transport.removeAllListeners(),this.transport.close())},addEventListener("beforeunload",this._beforeunloadEventListener,!1)),"localhost"!==this.hostname&&(this._offlineEventListener=()=>{this._onClose("transport close",{description:"network connection lost"})},mh.push(this._offlineEventListener))),this.opts.withCredentials&&(this._cookieJar=void 0),this._open()}createTransport(e){const t=Object.assign({},this.opts.query);t.EIO=4,t.transport=e,this.id&&(t.sid=this.id);const r=Object.assign({},this.opts,{query:t,socket:this,hostname:this.hostname,secure:this.secure,port:this.port},this.opts.transportOptions[e]);return new this._transportsByName[e](r)}_open(){if(0===this.transports.length)return void this.setTimeoutFn(()=>{this.emitReserved("error","No transports available")},0);const e=this.opts.rememberUpgrade&&Ah.priorWebsocketSuccess&&-1!==this.transports.indexOf("websocket")?"websocket":this.transports[0];this.readyState="opening";const t=this.createTransport(e);t.open(),this.setTransport(t)}setTransport(e){this.transport&&this.transport.removeAllListeners(),this.transport=e,e.on("drain",this._onDrain.bind(this)).on("packet",this._onPacket.bind(this)).on("error",this._onError.bind(this)).on("close",e=>this._onClose("transport close",e))}onOpen(){this.readyState="open",Ah.priorWebsocketSuccess="websocket"===this.transport.name,this.emitReserved("open"),this.flush()}_onPacket(e){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState)switch(this.emitReserved("packet",e),this.emitReserved("heartbeat"),e.type){case"open":this.onHandshake(JSON.parse(e.data));break;case"ping":this._sendPacket("pong"),this.emitReserved("ping"),this.emitReserved("pong"),this._resetPingTimeout();break;case"error":const t=new Error("server error");t.code=e.data,this._onError(t);break;case"message":this.emitReserved("data",e.data),this.emitReserved("message",e.data)}}onHandshake(e){this.emitReserved("handshake",e),this.id=e.sid,this.transport.query.sid=e.sid,this._pingInterval=e.pingInterval,this._pingTimeout=e.pingTimeout,this._maxPayload=e.maxPayload,this.onOpen(),"closed"!==this.readyState&&this._resetPingTimeout()}_resetPingTimeout(){this.clearTimeoutFn(this._pingTimeoutTimer);const e=this._pingInterval+this._pingTimeout;this._pingTimeoutTime=Date.now()+e,this._pingTimeoutTimer=this.setTimeoutFn(()=>{this._onClose("ping timeout")},e),this.opts.autoUnref&&this._pingTimeoutTimer.unref()}_onDrain(){this.writeBuffer.splice(0,this._prevBufferLen),this._prevBufferLen=0,0===this.writeBuffer.length?this.emitReserved("drain"):this.flush()}flush(){if("closed"!==this.readyState&&this.transport.writable&&!this.upgrading&&this.writeBuffer.length){const e=this._getWritablePackets();this.transport.send(e),this._prevBufferLen=e.length,this.emitReserved("flush")}}_getWritablePackets(){if(!(this._maxPayload&&"polling"===this.transport.name&&this.writeBuffer.length>1))return this.writeBuffer;let e=1;for(let t=0;t<this.writeBuffer.length;t++){const r=this.writeBuffer[t].data;if(r&&(e+=Yg(r)),t>0&&e>this._maxPayload)return this.writeBuffer.slice(0,t);e+=2}return this.writeBuffer}_hasPingExpired(){if(!this._pingTimeoutTime)return!0;const e=Date.now()>this._pingTimeoutTime;return e&&(this._pingTimeoutTime=0,$g(()=>{this._onClose("ping timeout")},this.setTimeoutFn)),e}write(e,t,r){return this._sendPacket("message",e,t,r),this}send(e,t,r){return this._sendPacket("message",e,t,r),this}_sendPacket(e,t,r,n){if("function"==typeof t&&(n=t,t=void 0),"function"==typeof r&&(n=r,r=null),"closing"===this.readyState||"closed"===this.readyState)return;(r=r||{}).compress=!1!==r.compress;const o={type:e,data:t,options:r};this.emitReserved("packetCreate",o),this.writeBuffer.push(o),n&&this.once("flush",n),this.flush()}close(){const e=()=>{this._onClose("forced close"),this.transport.close()},t=()=>{this.off("upgrade",t),this.off("upgradeError",t),e()},r=()=>{this.once("upgrade",t),this.once("upgradeError",t)};return"opening"!==this.readyState&&"open"!==this.readyState||(this.readyState="closing",this.writeBuffer.length?this.once("drain",()=>{this.upgrading?r():e()}):this.upgrading?r():e()),this}_onError(e){if(Ah.priorWebsocketSuccess=!1,this.opts.tryAllTransports&&this.transports.length>1&&"opening"===this.readyState)return this.transports.shift(),this._open();this.emitReserved("error",e),this._onClose("transport error",e)}_onClose(e,t){if("opening"===this.readyState||"open"===this.readyState||"closing"===this.readyState){if(this.clearTimeoutFn(this._pingTimeoutTimer),this.transport.removeAllListeners("close"),this.transport.close(),this.transport.removeAllListeners(),hh&&(this._beforeunloadEventListener&&removeEventListener("beforeunload",this._beforeunloadEventListener,!1),this._offlineEventListener)){const e=mh.indexOf(this._offlineEventListener);-1!==e&&mh.splice(e,1)}this.readyState="closed",this.id=null,this.emitReserved("close",e,t),this.writeBuffer=[],this._prevBufferLen=0}}}Ah.protocol=4;class vh extends Ah{constructor(){super(...arguments),this._upgrades=[]}onOpen(){if(super.onOpen(),"open"===this.readyState&&this.opts.upgrade)for(let e=0;e<this._upgrades.length;e++)this._probe(this._upgrades[e])}_probe(e){let t=this.createTransport(e),r=!1;Ah.priorWebsocketSuccess=!1;const n=()=>{r||(t.send([{type:"ping",data:"probe"}]),t.once("packet",e=>{if(!r)if("pong"===e.type&&"probe"===e.data){if(this.upgrading=!0,this.emitReserved("upgrading",t),!t)return;Ah.priorWebsocketSuccess="websocket"===t.name,this.transport.pause(()=>{r||"closed"!==this.readyState&&(c(),this.setTransport(t),t.send([{type:"upgrade"}]),this.emitReserved("upgrade",t),t=null,this.upgrading=!1,this.flush())})}else{const e=new Error("probe error");e.transport=t.name,this.emitReserved("upgradeError",e)}}))};function o(){r||(r=!0,c(),t.close(),t=null)}const a=e=>{const r=new Error("probe error: "+e);r.transport=t.name,o(),this.emitReserved("upgradeError",r)};function i(){a("transport closed")}function s(){a("socket closed")}function l(e){t&&e.name!==t.name&&o()}const c=()=>{t.removeListener("open",n),t.removeListener("error",a),t.removeListener("close",i),this.off("close",s),this.off("upgrading",l)};t.once("open",n),t.once("error",a),t.once("close",i),this.once("close",s),this.once("upgrading",l),-1!==this._upgrades.indexOf("webtransport")&&"webtransport"!==e?this.setTimeoutFn(()=>{r||t.open()},200):t.open()}onHandshake(e){this._upgrades=this._filterUpgrades(e.upgrades),super.onHandshake(e)}_filterUpgrades(e){const t=[];for(let r=0;r<e.length;r++)~this.transports.indexOf(e[r])&&t.push(e[r]);return t}}class bh extends vh{constructor(e,t={}){const r="object"==typeof e,n=r?{...e}:{...t};(!n.transports||n.transports&&"string"==typeof n.transports[0])&&(n.transports=(n.transports||["polling","websocket","webtransport"]).map(e=>dh[e]).filter(e=>!!e)),super(r?n:e,n)}}const Ch="function"==typeof ArrayBuffer,wh=Object.prototype.toString,yh="function"==typeof Blob||"undefined"!=typeof Blob&&"[object BlobConstructor]"===wh.call(Blob),xh="function"==typeof File||"undefined"!=typeof File&&"[object FileConstructor]"===wh.call(File);function kh(e){return Ch&&(e instanceof ArrayBuffer||(e=>"function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):e.buffer instanceof ArrayBuffer)(e))||yh&&e instanceof Blob||xh&&e instanceof File}function Bh(e,t){if(!e||"object"!=typeof e)return!1;if(Array.isArray(e)){for(let t=0,r=e.length;t<r;t++)if(Bh(e[t]))return!0;return!1}if(kh(e))return!0;if(e.toJSON&&"function"==typeof e.toJSON&&1===arguments.length)return Bh(e.toJSON(),!0);for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&Bh(e[t]))return!0;return!1}function Eh(e){const t=[],r=e.data,n=e;return n.data=Sh(r,t),n.attachments=t.length,{packet:n,buffers:t}}function Sh(e,t){if(!e)return e;if(kh(e)){const r={_placeholder:!0,num:t.length};return t.push(e),r}if(Array.isArray(e)){const r=new Array(e.length);for(let n=0;n<e.length;n++)r[n]=Sh(e[n],t);return r}if("object"==typeof e&&!(e instanceof Date)){const r={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n]=Sh(e[n],t));return r}return e}function _h(e,t){return e.data=Oh(e.data,t),delete e.attachments,e}function Oh(e,t){if(!e)return e;if(e&&!0===e._placeholder){if("number"==typeof e.num&&e.num>=0&&e.num<t.length)return t[e.num];throw new Error("illegal attachments")}if(Array.isArray(e))for(let r=0;r<e.length;r++)e[r]=Oh(e[r],t);else if("object"==typeof e)for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&(e[r]=Oh(e[r],t));return e}const Dh=["connect","connect_error","disconnect","disconnecting","newListener","removeListener"],Nh=5;var Rh;!function(e){e[e.CONNECT=0]="CONNECT",e[e.DISCONNECT=1]="DISCONNECT",e[e.EVENT=2]="EVENT",e[e.ACK=3]="ACK",e[e.CONNECT_ERROR=4]="CONNECT_ERROR",e[e.BINARY_EVENT=5]="BINARY_EVENT",e[e.BINARY_ACK=6]="BINARY_ACK"}(Rh||(Rh={}));class Th{constructor(e){this.replacer=e}encode(e){return e.type!==Rh.EVENT&&e.type!==Rh.ACK||!Bh(e)?[this.encodeAsString(e)]:this.encodeAsBinary({type:e.type===Rh.EVENT?Rh.BINARY_EVENT:Rh.BINARY_ACK,nsp:e.nsp,data:e.data,id:e.id})}encodeAsString(e){let t=""+e.type;return e.type!==Rh.BINARY_EVENT&&e.type!==Rh.BINARY_ACK||(t+=e.attachments+"-"),e.nsp&&"/"!==e.nsp&&(t+=e.nsp+","),null!=e.id&&(t+=e.id),null!=e.data&&(t+=JSON.stringify(e.data,this.replacer)),t}encodeAsBinary(e){const t=Eh(e),r=this.encodeAsString(t.packet),n=t.buffers;return n.unshift(r),n}}class jh extends Ug{constructor(e){super(),this.opts=Object.assign({reviver:void 0,maxAttachments:10},"function"==typeof e?{reviver:e}:e)}add(e){let t;if("string"==typeof e){if(this.reconstructor)throw new Error("got plaintext data when reconstructing a packet");t=this.decodeString(e);const r=t.type===Rh.BINARY_EVENT;r||t.type===Rh.BINARY_ACK?(t.type=r?Rh.EVENT:Rh.ACK,this.reconstructor=new Lh(t),0===t.attachments&&super.emitReserved("decoded",t)):super.emitReserved("decoded",t)}else{if(!kh(e)&&!e.base64)throw new Error("Unknown type: "+e);if(!this.reconstructor)throw new Error("got binary data when not reconstructing a packet");t=this.reconstructor.takeBinaryData(e),t&&(this.reconstructor=null,super.emitReserved("decoded",t))}}decodeString(e){let t=0;const r={type:Number(e.charAt(0))};if(void 0===Rh[r.type])throw new Error("unknown packet type "+r.type);if(r.type===Rh.BINARY_EVENT||r.type===Rh.BINARY_ACK){const n=t+1;for(;"-"!==e.charAt(++t)&&t!=e.length;);const o=e.substring(n,t);if(o!=Number(o)||"-"!==e.charAt(t))throw new Error("Illegal attachments");const a=Number(o);if(!Fh(a)||a<0)throw new Error("Illegal attachments");if(a>this.opts.maxAttachments)throw new Error("too many attachments");r.attachments=a}if("/"===e.charAt(t+1)){const n=t+1;for(;++t&&","!==e.charAt(t)&&t!==e.length;);r.nsp=e.substring(n,t)}else r.nsp="/";const n=e.charAt(t+1);if(""!==n&&Number(n)==n){const n=t+1;for(;++t;){const r=e.charAt(t);if(null==r||Number(r)!=r){--t;break}if(t===e.length)break}r.id=Number(e.substring(n,t+1))}if(e.charAt(++t)){const n=this.tryParse(e.substr(t));if(!jh.isPayloadValid(r.type,n))throw new Error("invalid payload");r.data=n}return r}tryParse(e){try{return JSON.parse(e,this.opts.reviver)}catch(e){return!1}}static isPayloadValid(e,t){switch(e){case Rh.CONNECT:return Mh(t);case Rh.DISCONNECT:return void 0===t;case Rh.CONNECT_ERROR:return"string"==typeof t||Mh(t);case Rh.EVENT:case Rh.BINARY_EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===Dh.indexOf(t[0]));case Rh.ACK:case Rh.BINARY_ACK:return Array.isArray(t)}}destroy(){this.reconstructor&&(this.reconstructor.finishedReconstruction(),this.reconstructor=null)}}class Lh{constructor(e){this.packet=e,this.buffers=[],this.reconPack=e}takeBinaryData(e){if(this.buffers.push(e),this.buffers.length===this.reconPack.attachments){const e=_h(this.reconPack,this.buffers);return this.finishedReconstruction(),e}return null}finishedReconstruction(){this.reconPack=null,this.buffers=[]}}const Fh=Number.isInteger||function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e};function Mh(e){return"[object Object]"===Object.prototype.toString.call(e)}function Ph(e){return"string"==typeof e.nsp&&(void 0===(t=e.id)||Fh(t))&&function(e,t){switch(e){case Rh.CONNECT:return void 0===t||Mh(t);case Rh.DISCONNECT:return void 0===t;case Rh.EVENT:return Array.isArray(t)&&("number"==typeof t[0]||"string"==typeof t[0]&&-1===Dh.indexOf(t[0]));case Rh.ACK:return Array.isArray(t);case Rh.CONNECT_ERROR:return"string"==typeof t||Mh(t);default:return!1}}(e.type,e.data);var t}function Ih(e,t,r){return e.on(t,r),function(){e.off(t,r)}}const qh=Object.freeze({connect:1,connect_error:1,disconnect:1,disconnecting:1,newListener:1,removeListener:1});class zh extends Ug{constructor(e,t,r){super(),this.connected=!1,this.recovered=!1,this.receiveBuffer=[],this.sendBuffer=[],this._queue=[],this._queueSeq=0,this.ids=0,this.acks={},this.flags={},this.io=e,this.nsp=t,r&&r.auth&&(this.auth=r.auth),this._opts=Object.assign({},r),this.io._autoConnect&&this.open()}get disconnected(){return!this.connected}subEvents(){if(this.subs)return;const e=this.io;this.subs=[Ih(e,"open",this.onopen.bind(this)),Ih(e,"packet",this.onpacket.bind(this)),Ih(e,"error",this.onerror.bind(this)),Ih(e,"close",this.onclose.bind(this))]}get active(){return!!this.subs}connect(){return this.connected||(this.subEvents(),this.io._reconnecting||this.io.open(),"open"===this.io._readyState&&this.onopen()),this}open(){return this.connect()}send(...e){return e.unshift("message"),this.emit.apply(this,e),this}emit(e,...t){var r,n,o;if(qh.hasOwnProperty(e))throw new Error('"'+e.toString()+'" is a reserved event name');if(t.unshift(e),this._opts.retries&&!this.flags.fromQueue&&!this.flags.volatile)return this._addToQueue(t),this;const a={type:Rh.EVENT,data:t,options:{}};if(a.options.compress=!1!==this.flags.compress,"function"==typeof t[t.length-1]){const e=this.ids++,r=t.pop();this._registerAckCallback(e,r),a.id=e}const i=null===(n=null===(r=this.io.engine)||void 0===r?void 0:r.transport)||void 0===n?void 0:n.writable,s=this.connected&&!(null===(o=this.io.engine)||void 0===o?void 0:o._hasPingExpired());return this.flags.volatile&&!i||(s?(this.notifyOutgoingListeners(a),this.packet(a)):this.sendBuffer.push(a)),this.flags={},this}_registerAckCallback(e,t){var r;const n=null!==(r=this.flags.timeout)&&void 0!==r?r:this._opts.ackTimeout;if(void 0===n)return void(this.acks[e]=t);const o=this.io.setTimeoutFn(()=>{delete this.acks[e];for(let t=0;t<this.sendBuffer.length;t++)this.sendBuffer[t].id===e&&this.sendBuffer.splice(t,1);t.call(this,new Error("operation has timed out"))},n),a=(...e)=>{this.io.clearTimeoutFn(o),t.apply(this,e)};a.withError=!0,this.acks[e]=a}emitWithAck(e,...t){return new Promise((r,n)=>{const o=(e,t)=>e?n(e):r(t);o.withError=!0,t.push(o),this.emit(e,...t)})}_addToQueue(e){let t;"function"==typeof e[e.length-1]&&(t=e.pop());const r={id:this._queueSeq++,tryCount:0,pending:!1,args:e,flags:Object.assign({fromQueue:!0},this.flags)};e.push((e,...n)=>(this._queue[0],null!==e?r.tryCount>this._opts.retries&&(this._queue.shift(),t&&t(e)):(this._queue.shift(),t&&t(null,...n)),r.pending=!1,this._drainQueue())),this._queue.push(r),this._drainQueue()}_drainQueue(e=!1){if(!this.connected||0===this._queue.length)return;const t=this._queue[0];t.pending&&!e||(t.pending=!0,t.tryCount++,this.flags=t.flags,this.emit.apply(this,t.args))}packet(e){e.nsp=this.nsp,this.io._packet(e)}onopen(){"function"==typeof this.auth?this.auth(e=>{this._sendConnectPacket(e)}):this._sendConnectPacket(this.auth)}_sendConnectPacket(e){this.packet({type:Rh.CONNECT,data:this._pid?Object.assign({pid:this._pid,offset:this._lastOffset},e):e})}onerror(e){this.connected||this.emitReserved("connect_error",e)}onclose(e,t){this.connected=!1,delete this.id,this.emitReserved("disconnect",e,t),this._clearAcks()}_clearAcks(){Object.keys(this.acks).forEach(e=>{if(!this.sendBuffer.some(t=>String(t.id)===e)){const t=this.acks[e];delete this.acks[e],t.withError&&t.call(this,new Error("socket has been disconnected"))}})}onpacket(e){if(e.nsp===this.nsp)switch(e.type){case Rh.CONNECT:e.data&&e.data.sid?this.onconnect(e.data.sid,e.data.pid):this.emitReserved("connect_error",new Error("It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)"));break;case Rh.EVENT:case Rh.BINARY_EVENT:this.onevent(e);break;case Rh.ACK:case Rh.BINARY_ACK:this.onack(e);break;case Rh.DISCONNECT:this.ondisconnect();break;case Rh.CONNECT_ERROR:this.destroy();const t=new Error(e.data.message);t.data=e.data.data,this.emitReserved("connect_error",t)}}onevent(e){const t=e.data||[];null!=e.id&&t.push(this.ack(e.id)),this.connected?this.emitEvent(t):this.receiveBuffer.push(Object.freeze(t))}emitEvent(e){if(this._anyListeners&&this._anyListeners.length){const t=this._anyListeners.slice();for(const r of t)r.apply(this,e)}super.emit.apply(this,e),this._pid&&e.length&&"string"==typeof e[e.length-1]&&(this._lastOffset=e[e.length-1])}ack(e){const t=this;let r=!1;return function(...n){r||(r=!0,t.packet({type:Rh.ACK,id:e,data:n}))}}onack(e){const t=this.acks[e.id];"function"==typeof t&&(delete this.acks[e.id],t.withError&&e.data.unshift(null),t.apply(this,e.data))}onconnect(e,t){this.id=e,this.recovered=t&&this._pid===t,this._pid=t,this.connected=!0,this.emitBuffered(),this._drainQueue(!0),this.emitReserved("connect")}emitBuffered(){this.receiveBuffer.forEach(e=>this.emitEvent(e)),this.receiveBuffer=[],this.sendBuffer.forEach(e=>{this.notifyOutgoingListeners(e),this.packet(e)}),this.sendBuffer=[]}ondisconnect(){this.destroy(),this.onclose("io server disconnect")}destroy(){this.subs&&(this.subs.forEach(e=>e()),this.subs=void 0),this.io._destroy(this)}disconnect(){return this.connected&&this.packet({type:Rh.DISCONNECT}),this.destroy(),this.connected&&this.onclose("io client disconnect"),this}close(){return this.disconnect()}compress(e){return this.flags.compress=e,this}get volatile(){return this.flags.volatile=!0,this}timeout(e){return this.flags.timeout=e,this}onAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.push(e),this}prependAny(e){return this._anyListeners=this._anyListeners||[],this._anyListeners.unshift(e),this}offAny(e){if(!this._anyListeners)return this;if(e){const t=this._anyListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyListeners=[];return this}listenersAny(){return this._anyListeners||[]}onAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.push(e),this}prependAnyOutgoing(e){return this._anyOutgoingListeners=this._anyOutgoingListeners||[],this._anyOutgoingListeners.unshift(e),this}offAnyOutgoing(e){if(!this._anyOutgoingListeners)return this;if(e){const t=this._anyOutgoingListeners;for(let r=0;r<t.length;r++)if(e===t[r])return t.splice(r,1),this}else this._anyOutgoingListeners=[];return this}listenersAnyOutgoing(){return this._anyOutgoingListeners||[]}notifyOutgoingListeners(e){if(this._anyOutgoingListeners&&this._anyOutgoingListeners.length){const t=this._anyOutgoingListeners.slice();for(const r of t)r.apply(this,e.data)}}}function Uh(e){e=e||{},this.ms=e.min||100,this.max=e.max||1e4,this.factor=e.factor||2,this.jitter=e.jitter>0&&e.jitter<=1?e.jitter:0,this.attempts=0}Uh.prototype.duration=function(){var e=this.ms*Math.pow(this.factor,this.attempts++);if(this.jitter){var t=Math.random(),r=Math.floor(t*this.jitter*e);e=1&Math.floor(10*t)?e+r:e-r}return 0|Math.min(e,this.max)},Uh.prototype.reset=function(){this.attempts=0},Uh.prototype.setMin=function(e){this.ms=e},Uh.prototype.setMax=function(e){this.max=e},Uh.prototype.setJitter=function(e){this.jitter=e};class $h extends Ug{constructor(t,r){var n;super(),this.nsps={},this.subs=[],t&&"object"==typeof t&&(r=t,t=void 0),(r=r||{}).path=r.path||"/socket.io",this.opts=r,Kg(this,r),this.reconnection(!1!==r.reconnection),this.reconnectionAttempts(r.reconnectionAttempts||1/0),this.reconnectionDelay(r.reconnectionDelay||1e3),this.reconnectionDelayMax(r.reconnectionDelayMax||5e3),this.randomizationFactor(null!==(n=r.randomizationFactor)&&void 0!==n?n:.5),this.backoff=new Uh({min:this.reconnectionDelay(),max:this.reconnectionDelayMax(),jitter:this.randomizationFactor()}),this.timeout(null==r.timeout?2e4:r.timeout),this._readyState="closed",this.uri=t;const o=r.parser||e;this.encoder=new o.Encoder,this.decoder=new o.Decoder,this._autoConnect=!1!==r.autoConnect,this._autoConnect&&this.open()}reconnection(e){return arguments.length?(this._reconnection=!!e,e||(this.skipReconnect=!0),this):this._reconnection}reconnectionAttempts(e){return void 0===e?this._reconnectionAttempts:(this._reconnectionAttempts=e,this)}reconnectionDelay(e){var t;return void 0===e?this._reconnectionDelay:(this._reconnectionDelay=e,null===(t=this.backoff)||void 0===t||t.setMin(e),this)}randomizationFactor(e){var t;return void 0===e?this._randomizationFactor:(this._randomizationFactor=e,null===(t=this.backoff)||void 0===t||t.setJitter(e),this)}reconnectionDelayMax(e){var t;return void 0===e?this._reconnectionDelayMax:(this._reconnectionDelayMax=e,null===(t=this.backoff)||void 0===t||t.setMax(e),this)}timeout(e){return arguments.length?(this._timeout=e,this):this._timeout}maybeReconnectOnOpen(){!this._reconnecting&&this._reconnection&&0===this.backoff.attempts&&this.reconnect()}open(e){if(~this._readyState.indexOf("open"))return this;this.engine=new bh(this.uri,this.opts);const t=this.engine,r=this;this._readyState="opening",this.skipReconnect=!1;const n=Ih(t,"open",function(){r.onopen(),e&&e()}),o=t=>{this.cleanup(),this._readyState="closed",this.emitReserved("error",t),e?e(t):this.maybeReconnectOnOpen()},a=Ih(t,"error",o);if(!1!==this._timeout){const e=this._timeout,r=this.setTimeoutFn(()=>{n(),o(new Error("timeout")),t.close()},e);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}return this.subs.push(n),this.subs.push(a),this}connect(e){return this.open(e)}onopen(){this.cleanup(),this._readyState="open",this.emitReserved("open");const e=this.engine;this.subs.push(Ih(e,"ping",this.onping.bind(this)),Ih(e,"data",this.ondata.bind(this)),Ih(e,"error",this.onerror.bind(this)),Ih(e,"close",this.onclose.bind(this)),Ih(this.decoder,"decoded",this.ondecoded.bind(this)))}onping(){this.emitReserved("ping")}ondata(e){try{this.decoder.add(e)}catch(e){this.onclose("parse error",e)}}ondecoded(e){$g(()=>{this.emitReserved("packet",e)},this.setTimeoutFn)}onerror(e){this.emitReserved("error",e)}socket(e,t){let r=this.nsps[e];return r?this._autoConnect&&!r.active&&r.connect():(r=new zh(this,e,t),this.nsps[e]=r),r}_destroy(e){const t=Object.keys(this.nsps);for(const e of t)if(this.nsps[e].active)return;this._close()}_packet(e){const t=this.encoder.encode(e);for(let r=0;r<t.length;r++)this.engine.write(t[r],e.options)}cleanup(){this.subs.forEach(e=>e()),this.subs.length=0,this.decoder.destroy()}_close(){this.skipReconnect=!0,this._reconnecting=!1,this.onclose("forced close")}disconnect(){return this._close()}onclose(e,t){var r;this.cleanup(),null===(r=this.engine)||void 0===r||r.close(),this.backoff.reset(),this._readyState="closed",this.emitReserved("close",e,t),this._reconnection&&!this.skipReconnect&&this.reconnect()}reconnect(){if(this._reconnecting||this.skipReconnect)return this;const e=this;if(this.backoff.attempts>=this._reconnectionAttempts)this.backoff.reset(),this.emitReserved("reconnect_failed"),this._reconnecting=!1;else{const t=this.backoff.duration();this._reconnecting=!0;const r=this.setTimeoutFn(()=>{e.skipReconnect||(this.emitReserved("reconnect_attempt",e.backoff.attempts),e.skipReconnect||e.open(t=>{t?(e._reconnecting=!1,e.reconnect(),this.emitReserved("reconnect_error",t)):e.onreconnect()}))},t);this.opts.autoUnref&&r.unref(),this.subs.push(()=>{this.clearTimeoutFn(r)})}}onreconnect(){const e=this.backoff.attempts;this._reconnecting=!1,this.backoff.reset(),this.emitReserved("reconnect",e)}}const Vh={};function Wh(e,t){"object"==typeof e&&(t=e,e=void 0);const r=function(e,t="",r){let n=e;r=r||"undefined"!=typeof location&&location,null==e&&(e=r.protocol+"//"+r.host),"string"==typeof e&&("/"===e.charAt(0)&&(e="/"===e.charAt(1)?r.protocol+e:r.host+e),/^(https?|wss?):\/\//.test(e)||(e=void 0!==r?r.protocol+"//"+e:"https://"+e),n=gh(e)),n.port||(/^(http|ws)$/.test(n.protocol)?n.port="80":/^(http|ws)s$/.test(n.protocol)&&(n.port="443")),n.path=n.path||"/";const o=-1!==n.host.indexOf(":")?"["+n.host+"]":n.host;return n.id=n.protocol+"://"+o+":"+n.port+t,n.href=n.protocol+"://"+o+(r&&r.port===n.port?"":":"+n.port),n}(e,(t=t||{}).path||"/socket.io"),n=r.source,o=r.id,a=r.path,i=Vh[o]&&a in Vh[o].nsps;let s;return t.forceNew||t["force new connection"]||!1===t.multiplex||i?s=new $h(n,t):(Vh[o]||(Vh[o]=new $h(n,t)),s=Vh[o]),r.query&&!t.query&&(t.query=r.queryKey),s.socket(r.path,t)}Object.assign(Wh,{Manager:$h,Socket:zh,io:Wh,connect:Wh});const Hh=({size:e=14,color:r="var(--moveo-icon-attention)"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:e,height:e,fill:"none",viewBox:"0 0 16 16",children:[(0,t.jsx)("circle",{cx:"8",cy:"8",r:"7",fill:r}),(0,t.jsx)("path",{stroke:"#fff",strokeLinecap:"round",strokeWidth:"1.4",d:"M8 4.5v4.2"}),(0,t.jsx)("circle",{cx:"8",cy:"11.5",r:".7",fill:"#fff"})]}),Gh=({size:e=16,color:r="var(--moveo-icon-warning)",innerColor:n="var(--moveo-ui-background-01)"})=>(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("path",{d:"M2.08096 9.41417L6.58587 13.9191C7.36692 14.7001 8.63324 14.7001 9.41429 13.9191L13.9192 9.41417C14.7002 8.63312 14.7003 7.3668 13.9192 6.58575L9.4143 2.08084C8.63325 1.29979 7.36692 1.29979 6.58587 2.08084L2.08096 6.58575C1.29991 7.36679 1.29991 8.63312 2.08096 9.41417Z",fill:r}),(0,t.jsx)("line",{x1:"8.03325",y1:"4.7",x2:"8.03325",y2:"8.63333",stroke:n,strokeWidth:"1.4",strokeLinecap:"round"}),(0,t.jsx)("circle",{cx:"8.03325",cy:"11.3666",r:"0.7",fill:n})]});var Kh,Yh=i(6496),Xh={};Xh.styleTagTransform=xs(),Xh.setAttributes=bs(),Xh.insert=As().bind(null,"head"),Xh.domAPI=hs(),Xh.insertStyleElement=ws(),fs()(Yh.A,Xh),Yh.A&&Yh.A.locals&&Yh.A.locals,function(e){e.attention="attention",e.warning="warning"}(Kh||(Kh={})),(0,t.jsx)(Hh,{}),(0,t.jsx)(Gh,{});const Qh=Pr({key:"voiceCallActiveState",default:!1}),Zh=Pr({key:"voiceEndConfirmOpenState",default:!1}),Jh=Pr({key:"voiceBotSpeakingState",default:!1});var em=i(7886),tm=i.n(em);const rm=()=>{var e,t;const r=[navigator.language,...null!==(e=navigator.languages)&&void 0!==e?e:[]];for(const e of r){const r=null===(t=null==e?void 0:e.split(",")[0])||void 0===t?void 0:t.trim();if(r&&r.length<=32)try{return new Intl.Locale(r),r}catch(e){}}return"en"},nm=()=>{let e,t,r;try{const n=tm().parse(navigator.userAgent),{name:o,version:a}=n.browser;if(o){const t=null==a?void 0:a.split(".")[0];e=t?`${o} ${t}`:o}const{model:i,type:s,vendor:l}=n.platform,c=i||s;c&&(t=l?`${l} ${c}`:c);const{name:u,version:d}=n.os;u&&(r=d?`${u} ${d}`:u)}catch(e){}return{language:rm(),locales:navigator.languages,timezone:Intl.DateTimeFormat().resolvedOptions().timeZone,browser:e,device:t,platform:r}},om=n()("moveo:upload-file"),am=()=>{const{t:e}=Pe(),t=X(Ra),r=Q(Ra),n=Q(Fa),a=X(Ta),i=Q(zi),{requestUploadPresignedUrl:s}=zs(),l=(0,o.useCallback)(async(e,o)=>{n(!0);const a=await async function(e,t,r=3){let n=0;for(;n<r;)try{n++;const r=await fetch(e,{method:"PUT",body:t,headers:{"Content-Type":t.type}});if(!r.ok)throw new Error(`Upload failed with status ${r.status}: ${r.statusText}`);return JSON.stringify({message:"success",text:e})}catch(e){if(om(`Attempt ${n} failed:`,e),n>=r)return om("Max retries reached. Upload failed."),JSON.stringify({message:"error"});await new Promise(e=>setTimeout(e,1e3))}return JSON.stringify({message:"error"})}(o,null==e?void 0:e.original_file),s=JSON.parse(a);if("success"===(null==s?void 0:s.message))e.preview_url&&URL.revokeObjectURL(e.preview_url);else if("error"===(null==s?void 0:s.message)){i({type:Kh.warning,message:"File upload failed. Try again."});const n=t.findIndex(t=>t.file_id===e.file_id);-1!==n&&r(e=>{const t=[...e];return t[n].upload_error=!0,t})}n(!1)},[i,t,r,n]),c=(0,o.useCallback)(e=>{e.length>4&&(e.splice(4-a,e.length),i({type:Kh.attention,message:"File limit of 4 exceeded. Extra files omitted."}))},[i,a]),u=(0,o.useCallback)(e=>{const t={fileId:Or(),fileType:e.name.split(".").pop(),originalName:e.name};r(r=>[...r,{original_name:e.name,file_id:t.fileId,content_type:e.type,preview_url:URL.createObjectURL(e),upload_error:!1,original_file:e,file_type:e.name.split(".").pop()}]),s(t)},[s,r]),d=(0,o.useCallback)(({file:t,errors:r})=>{r.forEach(r=>{var n;if("file-too-large"===r.code)i({type:Kh.warning,message:e("files.too_large",{0:t.name,1:20})});else if("file-invalid-type"===r.code){const r=null===(n=t.name.split(".").pop())||void 0===n?void 0:n.toLowerCase();let o=e("files.invalid_type",{0:t.name});"jfif"===r&&(o=`${o} JFIF files are not supported.`),i({type:Kh.warning,message:o})}})},[i,e]),p=(0,o.useCallback)((e,t)=>{const r=e.filter(e=>{var r;if("jfif"===(null===(r=e.name.split(".").pop())||void 0===r?void 0:r.toLowerCase())){const r={file:e,errors:[{code:"file-invalid-type",message:`File ${e.name} has unsupported extension: .jfif`}]};return t.push(r),!1}return!0});c(r),r.forEach(u),t.length>0&&t.forEach(d)},[c,u,d]);return{handleFileUpload:l,handleExcessFiles:c,handleSelectedFiles:u,onDrop:p}},im=[Ps.app_error,Ps.app_error_invalid_payload,Ps.session_create_error,Ps.session_reconnect_forbidden,Ps.session_reconnect_error,Ps.session_history_error,Ps.session_max_concurrent],sm={provider:null,unsub:null,stateUnsub:null,prevState:null,connectPromise:null,listeners:new Map},lm=()=>{const e=X(Za),t=X(Ja),r=X(ei),[n,a]=Z(Qh),s=(0,o.useCallback)(async()=>{if(sm.provider)return sm.provider;if(!t)throw new Error("voiceIntegrationId is not configured");const[{WebRTCProvider:r},{fetchWebVoiceConfig:n,buildWebVoiceWsUrl:o}]=await Promise.all([Promise.all([i.e(954),i.e(882)]).then(i.bind(i,5882)),i.e(929).then(i.bind(i,7929))]),a=await n(e,t),s=new r(o(e,t),()=>n(e,t));return s.setConfig(a),sm.unsub=s.on("any",e=>{var t,r;null===(t=sm.listeners.get("any"))||void 0===t||t.forEach(t=>t(e)),null===(r=sm.listeners.get(e.state))||void 0===r||r.forEach(t=>t(e))}),sm.stateUnsub=s.on("state-change",({data:e})=>{sm.prevState=e}),sm.provider=s,s},[e,t]),l=(0,o.useCallback)((e,t)=>{let r=sm.listeners.get(e);return r||(r=new Set,sm.listeners.set(e,r)),r.add(t),()=>{var r;null===(r=sm.listeners.get(e))||void 0===r||r.delete(t)}},[]),c=(0,o.useCallback)((e,t)=>l(e,t),[l]),u=(0,o.useCallback)(()=>{if(!sm.connectPromise){const e=(async()=>{const e=await s();await e.connect()})();e.catch(()=>{sm.connectPromise===e&&(sm.connectPromise=null)}),sm.connectPromise=e}return sm.connectPromise},[s]),d=(0,o.useCallback)(()=>{var e;null===(e=sm.provider)||void 0===e||e.disconnect()},[]),p=(0,o.useCallback)(()=>{var e;null===(e=sm.provider)||void 0===e||e.toggleMute()},[]),f=(0,o.useCallback)(()=>{var e,t;return null!==(t=null===(e=sm.provider)||void 0===e?void 0:e.isMuted())&&void 0!==t&&t},[]),g=(0,o.useCallback)(e=>{var t;null===(t=sm.provider)||void 0===t||t.sendDigits(e)},[]),h=(0,o.useCallback)(()=>{var e,t,r;return null!==(r=null===(t=null===(e=sm.provider)||void 0===e?void 0:e.getLocalStream)||void 0===t?void 0:t.call(e))&&void 0!==r?r:null},[]),m=(0,o.useCallback)(()=>{var e,t,r;return null!==(r=null===(t=null===(e=sm.provider)||void 0===e?void 0:e.getRemoteStream)||void 0===t?void 0:t.call(e))&&void 0!==r?r:null},[]),A=(0,o.useCallback)(()=>sm.prevState,[]);return{enabled:r,active:n,open:(0,o.useCallback)(()=>a(!0),[a]),close:(0,o.useCallback)(()=>{var e,t,r;null===(e=sm.unsub)||void 0===e||e.call(sm),sm.unsub=null,null===(t=sm.stateUnsub)||void 0===t||t.call(sm),sm.stateUnsub=null,null===(r=sm.provider)||void 0===r||r.disconnect(),sm.provider=null,sm.prevState=null,sm.connectPromise=null,a(!1)},[a]),getLocalStream:h,getRemoteStream:m,getCallState:A,onVoiceEvent:l,audioWidgetProps:{onStartCall:u,onEndCall:d,onToggleMute:p,isMuted:f,onSendDigits:g,onEvent:c}}},cm={entries:[],gated:!1,seq:0},um=e=>`brain:${e}`,dm=Pr({key:"voiceTranscriptState",default:cm}),pm=Ir({key:"voiceTranscriptEntriesSelector",get:({get:e})=>{const{entries:t}=e(dm);return[...t].sort((e,t)=>e.seq-t.seq).flatMap(e=>"marker"===e.kind?[{kind:"marker",id:e.id,marker:e.marker}]:"user"===e.kind?e.text?[{kind:"user",id:e.id,text:e.text}]:[]:e.text?[{kind:"brain",id:e.id,text:e.text,final:e.final}]:[])}}),fm=Ir({key:"voiceTranscriptLastUserTurnIdSelector",get:({get:e})=>{const t=e(pm),r=t[t.length-1];return"user"===(null==r?void 0:r.kind)?r.id:null}}),gm=e=>"object"==typeof e&&null!==e;const hm=e=>{var{size:r=20,color:n="var(--moveo-accent-color)",fill:o="none"}=e,a=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["size","color","fill"]);return(0,t.jsx)("svg",Object.assign({},a,{fill:o,width:r,height:r,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10ZM12 16v-4M12 8h.01",stroke:n,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}))};const mm="48px",Am=e=>{var{size:r=mm}=e,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["size"]);return(0,t.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:r,height:r,viewBox:"0 0 336 331",fill:"none",className:ds()(n.className,"rounded-full"),children:[(0,t.jsx)("ellipse",{cx:"167.907",cy:"165.5",className:"fill-(--color-launcher-background,var(--color-accent))",rx:"167.907",ry:"165.5"}),(0,t.jsx)("path",{className:"fill-(--color-launcher-foreground,var(--color-background))",fillRule:"evenodd",d:"M251.992 203.094s-1.139 28.356 1.286 41.793c1.4 7.758-3.13 19.643-10.632 17.219-5.846-1.889-11.947-4.509-17.666-8.143-20.901-13.281 27.012-50.869 27.012-50.869Z",clipRule:"evenodd"}),(0,t.jsx)("ellipse",{cx:"167.839",cy:"164.763",className:"fill-(--color-launcher-foreground,var(--color-background))",rx:"103.724",ry:"102.237"}),(0,t.jsx)("path",{className:"fill-(--color-launcher-background,var(--color-accent))",d:"M176.086 124.972c-8.045 0-14.566 6.548-14.566 14.626 0 8.077 6.521 14.625 14.566 14.625h29.132c8.045 0 14.566-6.548 14.566-14.625 0-8.078-6.521-14.626-14.566-14.626h-29.132ZM142.018 209.767c11.298 0 20.456-9.196 20.456-20.54s-9.158-20.54-20.456-20.54c-11.297 0-20.456 9.196-20.456 20.54s9.159 20.54 20.456 20.54ZM133.495 151.217c6.59 0 11.933-5.364 11.933-11.982 0-6.617-5.343-11.981-11.933-11.981s-11.933 5.364-11.933 11.981c0 6.618 5.343 11.982 11.933 11.982ZM190.505 200.636c6.59 0 11.932-5.364 11.932-11.981 0-6.618-5.342-11.982-11.932-11.982-6.59 0-11.933 5.364-11.933 11.982 0 6.617 5.343 11.981 11.933 11.981Z"})]}))};const vm=e=>{var{isTop:r}=e,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["isTop"]);return(0,t.jsxs)("svg",Object.assign({},n,{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"48",viewBox:"0 0 52 52",fill:"none",className:kd(n.className),children:[(0,t.jsxs)("g",{filter:"url(#closebubble)",children:[(0,t.jsx)("path",{className:"fill-(--color-launcher-background,var(--color-accent))",d:"M2 25C2 11.745 12.745 1 26 1s24 10.745 24 24-10.745 24-24 24S2 38.255 2 25Z",shapeRendering:"crispEdges"}),(0,t.jsx)("path",{className:"stroke-(--color-launcher-foreground,var(--color-background))",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:r?"m20 28 6-6 6 6":"m20 22 6 6 6-6"})]}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:"closebubble",width:"52",height:"52",x:"0",y:"0",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[(0,t.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,t.jsx)("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),(0,t.jsx)("feOffset",{dy:"1"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:"1"}),(0,t.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,t.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.05 0"}),(0,t.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow_2297_1661"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow_2297_1661",result:"shape"})]})})]}))};var bm=i(7860),Cm={};Cm.styleTagTransform=xs(),Cm.setAttributes=bs(),Cm.insert=As().bind(null,"head"),Cm.domAPI=hs(),Cm.insertStyleElement=ws(),fs()(bm.A,Cm);var wm=bm.A&&bm.A.locals?bm.A.locals:void 0;const ym=e=>{var{theme:r,size:n=Qe}=e,o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["theme","size"]);return(0,t.jsxs)("svg",Object.assign({},o,{className:ds()(o.className,wm.icon,wm.openIcon,wm[r]),width:n,height:n,viewBox:"0 0 81 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{cx:"40.5",cy:"40",r:"40"}),(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M58.9403 55.3618C62.4115 51.1994 64.5 45.8436 64.5 40C64.5 26.7452 53.7548 16 40.5 16C27.2452 16 16.5 26.7452 16.5 40C16.5 53.2548 27.2452 64 40.5 64C44.8484 64 48.9268 62.8435 52.4442 60.8214C55.4142 62.514 58.5619 63.3056 60.896 63.6757C61.8986 63.8347 62.396 62.4577 61.6938 61.7246C60.5688 60.5502 59.4641 58.9668 59.152 57.0835C59.067 56.5708 58.9973 55.9887 58.9403 55.3618Z"}),(0,t.jsx)("rect",{x:"25.5",y:"44",width:"5",height:"8",rx:"2.5",transform:"rotate(-90 25.5 44)"}),(0,t.jsx)("rect",{x:"35.5",y:"44",width:"5",height:"8",rx:"2.5",transform:"rotate(-90 35.5 44)"}),(0,t.jsx)("rect",{x:"45.5",y:"44",width:"5",height:"8",rx:"2.5",transform:"rotate(-90 45.5 44)"}),(0,t.jsx)("rect",{x:"25.5",y:"36",width:"5",height:"10",rx:"2.5",transform:"rotate(-90 25.5 36)"}),(0,t.jsx)("rect",{x:"25.5",y:"51",width:"5",height:"10",rx:"2.5",transform:"rotate(-90 25.5 51)"}),(0,t.jsx)("circle",{cx:"46.2114",cy:"34",r:"3"}),(0,t.jsx)("circle",{cx:"39.5",cy:"34",r:"2"}),(0,t.jsx)("circle",{cx:"53.2114",cy:"34",r:"2"})]}))},xm=({onClick:e,imgUrl:r,theme:n,size:a,ariaLabel:i})=>{const[s,l]=(0,o.useState)(!1),c=(0,o.useCallback)(t=>{"Enter"===t.key&&e()},[e]);return s?(0,t.jsx)(ym,{theme:n,size:a,onClick:e}):(0,t.jsx)("div",{className:"max-h-18 max-w-18 h-12 w-12 cursor-pointer overflow-hidden rounded-full shadow-xl",onClick:e,onKeyUp:c,tabIndex:0,"aria-label":i,role:"button",style:{width:a,height:a},children:(0,t.jsx)("img",{src:r,alt:"","aria-hidden":"true",className:"h-full w-full rounded-full object-cover",onError:()=>l(!0)})})},km=({size:e=20,color:r="var(--moveo-accent-color)"})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:r,children:(0,t.jsx)("path",{d:"M8 12h.01H8zm4 0h.01H12zm4 0h.01H16zm5 0c0 4.418-4.03 8-9 8a9.862 9.862 0 01-4.255-.949L3 20l1.395-3.72C3.512 15.042 3 13.574 3 12c0-4.418 4.03-8 9-8s9 3.582 9 8z",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})});var Bm;!function(e){e.LauncherClicked="launcher_clicked",e.ChatExpanded="chat_expanded",e.MinimizeIconClicked="minimize_icon_clicked",e.ExpandIconClicked="expand_icon_clicked",e.ShrinkIconClicked="shrink_icon_clicked",e.CloseIconClicked="close_icon_clicked",e.CloseOpeningMessageClick="close_opening_message_click",e.DownloadConversationClicked="download_conversation_clicked",e.SessionStart="session_start",e.SessionEnd="session_end",e.MessageClick="message_click",e.TermsAndConditionsLinkClicked="terms_and_conditions_link_clicked",e.WelcomeFormSubmitted="welcome_form_submitted",e.RatingClicked="rating_clicked",e.RatingSubmitted="rating_submitted",e.PopoverReviewClicked="popover_review_clicked",e.PopoverInactivityEndChatClicked="popover_inactivity_end_chat_clicked",e.PopoverInactivityContinueClicked="popover_inactivity_continue_clicked",e.PopoverEndChatClicked="popover_end_chat_clicked",e.PopoverEndChatContinueClicked="popover_end_chat_continue_clicked",e.PopoverExpiredNewClicked="popover_expired_new_clicked",e.PopoverExpiredEndClicked="popover_expired_end_clicked",e.PopoverResolvedContinueClicked="resolved_popover_continue_clicked",e.PopoverResolvedEndChatClicked="resolved_popover_end_chat_clicked",e.PopoverReviewSkipAndCloseClicked="popover_review_skip_and_close_clicked",e.PopoverFeedbackCloseClicked="popover_feedback_close_clicked"}(Bm||(Bm={}));const Em=()=>{const e=X(Ro),t=X(oi),r=(0,o.useMemo)(()=>n()(`moveo:iframe:${t}:controller`),[t]),a=(0,o.useCallback)(e=>{window.parent&&t&&(r("Publishing analytics event",e),window.parent.postMessage({type:`${t}${Qi.AnalyticsEvent}`,data:e},"*"))},[r,t]),i=(0,o.useCallback)((t,r={})=>({timestamp:(new Date).toISOString(),event:t,session_id:e,properties:Object.assign({},r)}),[e]);return{trackEvent:(0,o.useCallback)((e,t={})=>{const r=i(e,t);a(r)},[i,a]),formatEvent:i}},Sm=({color:e="var(--moveo-background-color)"})=>(0,t.jsxs)("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:e,children:[(0,t.jsx)("path",{d:"M1.97974 2L5.95953 5.9999L1.97974 9.9998",strokeWidth:"1.5",strokeLinecap:"round"}),(0,t.jsx)("path",{d:"M10.0203 2.00024L6.04047 6.00015L10.0203 10",strokeWidth:"1.5",strokeLinecap:"round"})]}),_m=()=>{const{trackEvent:e}=Em(),r=X(hi),[n,a]=Z(va),i=X(ha),{closeWidget:s}=Us(),{notifyOpeningMessageClosed:l}=ts(),c=X(Ci),u=X(wi),d=X(Yi);(0,o.useEffect)(()=>{a(!!d)},[a,d]),(0,o.useEffect)(()=>{i&&n&&a(!1)},[i,a,n]);const p=(0,o.useCallback)(()=>{e(Bm.CloseOpeningMessageClick),a(!1),s(),l()},[s,l,a,e]),f=(0,o.useCallback)(async e=>{"Enter"===e.key&&p()},[p]);return n?(0,t.jsxs)("div",{className:ds()("shadow-bubble relative mb-1 ml-auto box-border flex w-max max-w-[200px] animate-fade-in cursor-default rounded-sm p-2 px-3 text-sm","bg-(--color-opening-message-background,var(--color-accent))",{"rounded-l-lg":!c,"rounded-r-lg":c}),children:[(0,t.jsx)("p",{className:"text-(--color-opening-message-foreground,var(--color-text-primary-foreground)) m-0",children:r}),(0,t.jsx)("span",{role:"button",tabIndex:0,className:ds()("shadow-bubble absolute -right-2 flex h-5 w-5 cursor-pointer items-center justify-center rounded-full bg-background p-1",u?"-bottom-3":"-top-3",{"-left-2":c}),onClick:p,onKeyDown:f,children:(0,t.jsx)(Sm,{color:"var(--color-opening-message-foreground, var(--color-accent))"})})]}):null},Om=(0,o.forwardRef)((e,r)=>{const{ref:n,width:a,height:i}=(()=>{const e=(0,o.useRef)(null),[t,r]=(0,o.useState)({width:0,height:0});return(0,o.useEffect)(()=>{const t=new ResizeObserver(e=>{const{width:t,height:n}=e[0].contentRect;r({width:t,height:n})});return e.current&&t.observe(e.current),()=>t.disconnect()},[]),Object.assign({ref:e},t)})(),{t:s}=Pe(),{notifyWidgetResize:l}=ts(),{openWidget:c,minimizeWidget:u}=Us(),{trackEvent:d}=Em(),p=X(Bi),f=X(ha),g=X(Ci),h=X(wi),{size:m,type:A}=X(Oi),v=X(sa),{isLivechat:b}=X(vi),C=X(Gi),w=X(xi),y=X(pi)||s("buttons.launcher_label");(0,o.useEffect)(()=>{a&&i&&!f&&l({width:`${a+30}px`,height:`${i+40}px`})},[i,f,l,a]);const x=(0,o.useCallback)(()=>{d(Bm.LauncherClicked),f?u():c()},[u,f,c,d]),k=(0,o.useCallback)(()=>f&&b?C?(0,t.jsx)(vm,{isTop:h,onClick:x,className:"launcher-btn"}):null:f?null:"help"===A||"feedback"===A?(0,t.jsxs)("button",{className:ds()("launcher-btn","rounded-(--moveo-border-radius-base) ml-auto flex w-fit cursor-pointer items-center border-0 px-3 py-2 shadow-xl","bg-(--color-launcher-background,var(--color-accent))","text-(--color-launcher-foreground,var(--color-background))"),tabIndex:0,onClick:x,"aria-label":y,children:["help"===A?(0,t.jsx)(hm,{}):(0,t.jsx)(km,{})," ",(0,t.jsx)("p",{className:"m-0 ml-1 whitespace-nowrap",children:s("help"===A?"launchers.help":"launchers.feedback")})]}):w?(0,t.jsx)("div",{className:ds()("flex justify-end"),children:(0,t.jsx)(xm,{onClick:x,theme:p,size:m,imgUrl:w,ariaLabel:y})}):(0,t.jsx)("div",{className:"flex justify-end",children:(0,t.jsx)(Am,{className:ds()("launcher-btn","shadow-xl"),onClick:x,size:m,"aria-label":y})}),[y,w,x,f,m,s,p,A,b,h,C]),B=(0,o.useCallback)(e=>{"function"==typeof r?r(e):r&&(r.current=e),n.current=e},[r,n]);return(0,t.jsxs)("div",{ref:B,className:ds()("z-1100 pointer-events-auto absolute right-4 flex w-auto",h?"top-3 flex-col-reverse gap-1":"bottom-3 flex-col",{"left-4 right-auto":g}),children:[(0,t.jsx)(_m,{}),(0,t.jsxs)("div",{className:ds()("relative",g?"mr-auto":"ml-auto"),children:[v&&!f&&(0,t.jsx)("span",{className:"absolute right-0 top-0 z-10 h-2.5 w-2.5 rounded-full bg-red-500"}),(0,t.jsx)("div",{className:"cursor-pointer transition-transform hover:scale-110 active:scale-95",children:k()})]})]})});Om.displayName="Launcher";const Dm=(...e)=>e.filter((e,t,r)=>Boolean(e)&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),Nm=e=>{const t=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase()))(e);return t.charAt(0).toUpperCase()+t.slice(1)};var Rm={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const Tm=e=>{for(const t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1},jm=(0,o.forwardRef)(({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:n,className:a="",children:i,iconNode:s,...l},c)=>(0,o.createElement)("svg",{ref:c,...Rm,width:t,height:t,stroke:e,strokeWidth:n?24*Number(r)/Number(t):r,className:Dm("lucide",a),...!i&&!Tm(l)&&{"aria-hidden":"true"},...l},[...s.map(([e,t])=>(0,o.createElement)(e,t)),...Array.isArray(i)?i:[i]])),Lm=(e,t)=>{const r=(0,o.forwardRef)(({className:r,...n},a)=>{return(0,o.createElement)(jm,{ref:a,iconNode:t,className:Dm(`lucide-${i=Nm(e),i.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,r),...n});var i});return r.displayName=Nm(e),r},Fm=Lm("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var Mm=Symbol.for("react.lazy"),Pm=a[" use ".trim().toString()];function Im(e){return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===Mm&&"_payload"in e&&function(e){return"object"==typeof e&&null!==e&&"then"in e}(e._payload)}function qm(e){const r=Um(e),n=o.forwardRef((e,n)=>{let{children:a,...i}=e;Im(a)&&"function"==typeof Pm&&(a=Pm(a._payload));const s=o.Children.toArray(a),l=s.find(Vm);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}var zm=qm("Slot");function Um(e){const t=o.forwardRef((e,t)=>{let{children:r,...n}=e;if(Im(r)&&"function"==typeof Pm&&(r=Pm(r._payload)),o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var $m=Symbol("radix.slottable");function Vm(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===$m}function Wm(e){var t,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=Wm(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}const Hm=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,Gm=function(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Wm(e))&&(n&&(n+=" "),n+=t);return n},Km=(e,t)=>r=>{var n;if(null==(null==t?void 0:t.variants))return Gm(e,null==r?void 0:r.class,null==r?void 0:r.className);const{variants:o,defaultVariants:a}=t,i=Object.keys(o).map(e=>{const t=null==r?void 0:r[e],n=null==a?void 0:a[e];if(null===t)return null;const i=Hm(t)||Hm(n);return o[e][i]}),s=r&&Object.entries(r).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{}),l=null==t||null===(n=t.compoundVariants)||void 0===n?void 0:n.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...s}[t]):{...a,...s}[t]===r})?[...e,r,n]:e},[]);return Gm(e,i,l,null==r?void 0:r.class,null==r?void 0:r.className)};var Ym=i(2741),Xm={};Xm.styleTagTransform=xs(),Xm.setAttributes=bs(),Xm.insert=As().bind(null,"head"),Xm.domAPI=hs(),Xm.insertStyleElement=ws(),fs()(Ym.A,Xm);var Qm=Ym.A&&Ym.A.locals?Ym.A.locals:void 0;const Zm=({variant:e="primary",size:r="medium"})=>(0,t.jsx)("div",{className:ds()(Qm.loading,Qm[e],Qm[r])});const Jm=Km("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{primary:"text-text-primary-foreground bg-accent hover:bg-accent/90",secondary:"bg-surface-button-secondary hover:bg-surface-button-secondary-hover text-(--color-link)",outline:"hover:bg-highlight-background border border-gray-200 text-accent dark:border-input","outline-neutral":"hover:bg-highlight-background border border-gray-200 text-foreground dark:border-input",ghost:"text-surface-button-primary hover:bg-highlight-background","ghost-neutral":"text-foreground-muted hover:bg-highlight-background",link:"hover:text-surface-button-primary text-foreground hover:underline","link-secondary":"text-foreground-muted hover:underline",destructive:"bg-bg-destructive-soft hover:bg-surface-button-destructive focus-visible:ring-bg-destructive-soft text-destructive-foreground"},size:{sm:"h-9 px-2 py-1.5",md:"h-10 p-2",icon:"min-w-auto h-auto w-auto p-0.5"}},defaultVariants:{variant:"primary",size:"md"}}),eA=o.forwardRef((e,r)=>{var{className:n,variant:o,size:a,asChild:i=!1,isLoading:s=!1}=e,l=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["className","variant","size","asChild","isLoading"]);const c=i?zm:"button";return(0,t.jsx)(c,Object.assign({className:kd("cursor-pointer disabled:pointer-events-none disabled:opacity-50",Jm({variant:o,size:a,className:n})),ref:r},l,{children:s?(0,t.jsx)(Zm,{}):l.children}))});eA.displayName="Button";const tA=()=>{const{t:e}=Pe(),r=X(ma),n=Q(Eo);return(0,t.jsx)("div",{className:kd("absolute bottom-0 left-0 right-0 mx-3 mb-4 h-[222px] animate-[slide-in-up_0.2s_ease-out] rounded-lg border border-border shadow-lg will-change-transform"),children:(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-4 p-4",children:[(0,t.jsx)(Fm,{size:40,className:"text-destructive"}),(0,t.jsxs)("div",{className:"text-surface-card-foreground mx-auto text-center text-lg font-semibold",children:[e("errors.reconnect"),(0,t.jsx)("div",{className:"text-foreground-muted mx-auto mt-1 max-w-xs text-center text-sm font-normal leading-5",children:e("errors.restart_conversation")})]}),(0,t.jsx)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:(0,t.jsx)(eA,{className:kd("w-full",{"w-sm":r}),onClick:()=>{n("create")},children:e("buttons.restart")})})]})})},rA=Lm("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),nA=Lm("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),oA=Lm("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]),aA=Lm("maximize-2",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]]),iA=Lm("minimize-2",[["path",{d:"m14 10 7-7",key:"oa77jy"}],["path",{d:"M20 10h-6V4",key:"mjg0md"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M4 14h6v6",key:"rmj7iw"}]]),sA=Lm("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),lA=Lm("rotate-ccw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]),cA=({size:e=24,color:r="currentColor"})=>(0,t.jsx)("svg",{width:e,height:e,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,t.jsx)("path",{stroke:r,strokeWidth:"1.5",strokeLinecap:"round",d:"M4.75 18.25h14.5"})}),uA=e=>{if(!(null==e?void 0:e.length))return"";const t=e=>{if(!e)return"";const t=e.replace(/"/g,'""');return t.includes(",")||t.includes('"')||t.includes("\n")?`"${t}"`:t},r=[["Timestamp (UTC)","Author (type)","Message","Message type","Extra"].join(",")];return e.filter(e=>{var t;return"pause"!==(null===(t=e.response)||void 0===t?void 0:t.type)}).forEach(e=>{const n=(e=>{switch(e.event_type){case"user_message":case"brain_message":return e.created_at;case"agent_message":return e.read_at;default:return}})(e),o=n?(e=>new Date(e).toISOString())(n):"",a=(e=>{const t="common.ai_agent"===e.author_name?"AI Agent":e.author_name;let r="";switch(e.event_type){case"user_message":r="visitor";break;case"agent_message":r="agent";break;case"brain_message":r="ai_agent";break;case"member_join":case"member_leave":r=e.author_type;break;default:r=""}return`${t} (${r})`})(e),i=(e=>{var t,r;switch(e.event_type){case"user_message":return e.text||"";case"agent_message":return(null===(t=e.body)||void 0===t?void 0:t.text)||e.text||"";case"brain_message":return"text"===e.response.type?e.response.text||"":"carousel"===e.response.type?`Carousel with ${(null===(r=e.response.cards)||void 0===r?void 0:r.length)||0} cards`:"video"===e.response.type?`Video: ${e.response.url} `:"image"===e.response.type?`Image: ${e.response.url}`:"url"===e.response.type?`Url: ${e.response.url}`:"webview"===e.response.type?`Webview: ${e.response.url}`:`${e.response.type} response`;case"member_join":return`${e.author_name} joined the conversation`;case"member_leave":return`${e.author_name} left the conversation`;default:return""}})(e),s=(e=>{switch(e.event_type){case"user_message":return"user_message";case"agent_message":return"agent_message";case"brain_message":return e.response.type;case"member_join":return"member_join";case"member_leave":return"member_leave";default:return""}})(e),l=(e=>{const t=[];if("brain_message"===e.event_type&&e.request_id&&t.push(`Request ID: ${e.request_id}`),e.author_id&&t.push(`Author ID: ${e.author_id}`),"user_message"===e.event_type&&e.delivered_at&&t.push(`Delivered: ${new Date(e.delivered_at).toISOString()}`),"read_at"in e&&e.read_at&&t.push(`Read: ${new Date(e.read_at).toISOString()}`),"brain_message"===e.event_type&&e.response.action_id&&t.push(`Action ID: ${e.response.action_id}`),"brain_message"===e.event_type){const r=e.response;"video"===r.type||"file"===r.type?(r.name&&t.push(`Name: ${r.name}`),r.size&&t.push(`Size: ${r.size} bytes`)):"image"===r.type&&r.name&&t.push(`Name: ${r.name}`),"webview"===r.type&&(r.label&&t.push(`Label: ${r.label}`),r.trigger_node_id&&t.push(`Trigger Node: ${r.trigger_node_id}`),r.height&&t.push(`Height: ${r.height}`))}return t.join(" | ")})(e),c=[t(o),t(a),t(i),t(s),t(l)];r.push(c.join(","))}),r.join("\n")},dA=(0,o.memo)(()=>{const e=X(Oa),{isPopup:r,isEmbed:n}=X(vi),{trackEvent:a}=Em(),{closeSession:i}=zs(),s=lm(),l=X(Ki),c=Q(xa),u=Q(Zh),{closeWidget:d}=Us(),p=X(li),{handleConversationDownload:f,iconsColor:g,hoverIconColor:h,headerBackground:m,headerTextColor:A,isWelcomeScreenEnabled:v}=(()=>{const e=X(Ho),t=X(Ro),r=(0,o.useContext)(Ms),n=X(Di),a=X(Ni),i=X(Li),s=X(So),l=X(zo),c=X(_i),u=X(Si),d=Boolean((null==c?void 0:c["--moveo-header-background"])||(null==u?void 0:u.header_color)),p=(null==i?void 0:i.enabled)&&0===e.length&&!s&&!l,f=d?"text-[var(--moveo-header-text-color,white)]":((e,t,r)=>r?"text-[var(--moveo-header-text-color,var(--color-text-primary-foreground))]":t?"text-[var(--moveo-header-text-color,white)]":e?"text-[var(--moveo-header-text-color,var(--color-element-primary-foreground))] hover:text-[var(--color-accent)]":"text-[var(--moveo-header-text-color,var(--color-accent))]")(p,n,a),g=d?"hover:bg-white/10":"hover:bg-highlight-background",h=((e,t)=>e?"dark:bg-text-foreground border-none bg-[var(--moveo-header-background,var(--color-accent))]":t?"bg-[var(--moveo-header-background,var(--color-accent))]":"bg-[var(--moveo-header-background)]")(!!p,!!n),m=d?"text-[var(--moveo-header-text-color,white)]":((e,t)=>t?"text-[var(--moveo-header-text-color,var(--color-text-primary-foreground))]":e?"text-[var(--moveo-header-text-color,white)]":"text-[var(--moveo-header-text-color,var(--color-foreground))]")(!!n,!!a);return{handleConversationDownload:()=>{const r=uA(e);if(!r)return;const n=new Blob(["\ufeff"+r],{type:"text/csv;charset=utf-8;"}),o=document.createElement("a"),a=URL.createObjectURL(n);o.setAttribute("href",a),o.setAttribute("download",`conversation-${t}-${(new Date).toISOString().slice(0,10).replace(/-/g,"")}.csv`),o.style.visibility="hidden",document.body.appendChild(o),o.click(),document.body.removeChild(o),URL.revokeObjectURL(a)},handleSendConversationViaEmail:n=>{const o=uA(e);o&&r&&t&&r.emit(Ps.conversation_email_send,{session_id:t,timestamp:ao(),email:n,body:o})},iconsColor:f,hoverIconColor:g,headerBackground:h,headerTextColor:m,isWelcomeScreenEnabled:p,isCustomBackground:n}})(),{t:b}=Pe(),{show:C,status:w,title:y,avatar:x}=X(Va),{toggleWidgetExpanded:k,minimizeWidget:B}=Us(),E=X(oa),[S,_]=(0,o.useState)(!1),[O,D]=Z(Ho),N=Q(Sa),R=X(Mi),T=(0,o.useCallback)(()=>{D([]),c(null),N(null),d()},[D,c,N,d]),j=(0,o.useCallback)(()=>{a(Bm.CloseIconClicked),s.active?u(!0):0===E?l?i():B():c("closing")},[a,s.active,u,E,l,i,B,c]),L=X(ma),F=(e||r)&&!n,M=!(L||e||r||n),P=!e&&!r&&!n&&L,I=0===O.length||!p;return(0,t.jsx)("div",{className:kd("absolute top-0 z-10 box-border w-full border-b border-border bg-background/80 p-3 text-white backdrop-blur-[20px]",m),children:(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"box-content flex min-w-0 flex-1",children:(0,t.jsxs)(Jf,{open:!I&&S,onOpenChange:I?()=>{}:_,modal:!0,children:[(0,t.jsx)(rg,{asChild:!0,children:(0,t.jsxs)("button",{type:"button",disabled:I,className:kd("flex min-w-0 items-center gap-3 rounded-md px-2 transition-colors",{[h]:!I,"cursor-pointer":!I,"cursor-default":I}),children:[(0,t.jsxs)("div",{className:"relative shrink-0 py-1.5",children:[(0,t.jsx)("img",{src:x,width:32,height:32,alt:b(y),className:"box-content h-8 w-8 rounded-lg"}),C&&!v&&(0,t.jsx)("div",{className:kd("absolute -right-0.5 bottom-1 h-3 w-3 rounded-full border-2 border-white",{"bg-green-500":"online"===w,"bg-gray-500":"offline"===w||"away"===w,"bg-highlight-background0":"connecting"===w})})]}),!v&&(0,t.jsxs)("div",{className:"min-w-0",children:[(0,t.jsx)("div",{className:"flex min-w-0 items-center text-base font-medium leading-6 text-gray-800",children:(0,t.jsxs)("div",{className:"flex min-w-0 items-center",children:[(0,t.jsx)("span",{className:kd("truncate",A),"data-testid":"header-title",children:b(y)}),!I&&(0,t.jsx)(t.Fragment,{children:S?(0,t.jsx)(rA,{className:kd("ml-2 h-4 w-4 shrink-0",g)}):(0,t.jsx)(nA,{className:kd("ml-2 h-4 w-4 shrink-0",g)})})]})}),w&&(0,t.jsx)("div",{className:kd("text-left text-xs opacity-80",A),children:{online:b("status.online"),away:b("status.away"),offline:b("status.offline"),connecting:b("status.connecting")}[w]})]})]})}),(0,t.jsx)(ig,{children:(0,t.jsx)(lg,{className:kd("w-3xs z-50 rounded-md bg-background p-1 opacity-100 shadow-[0_2px_8px_rgba(0,0,0,0.15)] outline-none"),sideOffset:5,align:"start",onOpenAutoFocus:e=>{e.preventDefault()},children:(0,t.jsx)("div",{className:"flex flex-col",children:(0,t.jsxs)("button",{className:"text-surface-popover-foreground hover:bg-highlight-background flex cursor-pointer items-center gap-2 rounded-md p-1.5 text-left text-sm",onClick:e=>{e.stopPropagation(),a(Bm.DownloadConversationClicked),f(),_(!1)},children:[(0,t.jsx)(oA,{className:"h-4 w-4"}),b("header.download_conversation")]})})})})]})}),(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[F&&(0,t.jsx)("button",{className:kd("cursor-pointer rounded-md p-1 transition-colors",g,h),onClick:()=>{a(Bm.MinimizeIconClicked),B()},children:(0,t.jsx)(cA,{size:20})}),M&&(0,t.jsx)("button",{className:kd("cursor-pointer rounded-md p-1 transition-colors",g,h),onClick:()=>{a(Bm.ExpandIconClicked),k(!0)},children:(0,t.jsx)(aA,{className:"h-5 w-5"})}),P&&(0,t.jsx)("button",{className:kd("cursor-pointer rounded-md p-1 transition-colors",g,h),onClick:()=>{a(Bm.ShrinkIconClicked),k(!1)},children:(0,t.jsx)(iA,{className:"h-5 w-5"})}),!R&&(0,t.jsx)("button",{className:kd("cursor-pointer rounded-md p-1 transition-colors","close-btn",g,h),onClick:j,children:(0,t.jsx)(sA,{className:"h-5 w-5"})}),R&&(0,t.jsx)("button",{className:kd("cursor-pointer rounded-md p-1 transition-colors",g,h),onClick:T,children:(0,t.jsx)(lA,{className:"h-5 w-5"})})]})]})})});dA.displayName="Header";const pA=()=>{const{t:e}=Pe(),r=X(Bi);return(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center text-foreground",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsx)(Zm,{variant:"dark"===r?"light":"primary"}),(0,t.jsx)("p",{children:e("common.loading")})]})})},fA=e=>{const t=(0,o.useRef)(null),r=(0,o.useRef)(null),n=(0,o.useRef)(!1),a=(0,o.useRef)(null),i=(0,o.useRef)(null),[s,l]=(0,o.useState)(!1),[c,u]=(0,o.useState)(0),d=(0,o.useCallback)(()=>{const e=t.current;if(!e)return;const r=Array.from(e.querySelectorAll("[data-event-type]"));if(0===r.length)return void u(0);let n=-1;for(let e=r.length-1;e>=0;e--)if("user_message"===r[e].getAttribute("data-event-type")){n=e;break}const o=r.slice(n+1).filter(e=>"user_message"!==e.getAttribute("data-event-type"));if(0===o.length)return void u(0);let a=0;o.forEach(e=>{a+=e.offsetHeight}),u(a)},[]),p=(0,o.useCallback)(()=>{t.current&&(a.current&&window.clearTimeout(a.current),a.current=window.setTimeout(()=>{const r=t.current;if(r){const t=r.querySelectorAll(e?"[data-event-type]":'[data-event-type]:not([data-event-type="user_message"])');if(0===t.length)return void l(!1);const n=t[t.length-1],o=n.offsetTop+n.offsetHeight,a=50,i=r.scrollTop+r.clientHeight;l(o+a>i+40)}},100))},[e]);(0,o.useEffect)(()=>{const e=t.current;if(!e)return;p();const r=()=>{i.current||(p(),i.current=window.setTimeout(()=>{i.current=null},50))};return e.addEventListener("scroll",r),()=>{e.removeEventListener("scroll",r),a.current&&window.clearTimeout(a.current),i.current&&window.clearTimeout(i.current)}},[p]);const f=(0,o.useRef)(null),g=(0,o.useCallback)((e,r=0)=>{const o=t.current;if(!o||!e)return;if(n.current)return void setTimeout(()=>{var t;return null===(t=f.current)||void 0===t?void 0:t.call(f,e,r)},100);n.current=!0;const a=o.getBoundingClientRect(),i=e.getBoundingClientRect().top-a.top,s=o.scrollTop+i-r;o.scrollTo({top:s,behavior:"smooth"}),setTimeout(()=>{n.current=!1},100)},[]);return(0,o.useEffect)(()=>{f.current=g},[g]),{messagesRef:t,bodyRef:r,hasScrollableContent:s,whitespaceHeight:c,scrollToBottom:()=>{const e=t.current;e&&!n.current&&(n.current=!0,e.scrollTo({top:e.scrollHeight,behavior:"smooth"}),setTimeout(()=>{n.current=!1,l(!1)},300))},scrollToElement:g,calculateWhitespaceHeight:d,checkScrollableContent:p}},gA=({className:e="text-accent"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",className:e,children:[(0,t.jsx)("g",{fill:"currentColor",clipPath:"url(#moveoicon)",children:(0,t.jsx)("path",{d:"M8.735 2.325a1.955 1.955 0 1 0 0 3.91h3.91a1.955 1.955 0 0 0 0-3.91h-3.91ZM4.162 13.66a2.746 2.746 0 1 0 0-5.491 2.746 2.746 0 0 0 0 5.492ZM3.017 5.834a1.602 1.602 0 1 0 0-3.204 1.602 1.602 0 0 0 0 3.204ZM10.67 12.44a1.602 1.602 0 1 0 0-3.203 1.602 1.602 0 0 0 0 3.203Z"})}),(0,t.jsx)("defs",{children:(0,t.jsx)("clipPath",{id:"moveoicon",children:(0,t.jsx)("path",{fill:"#fff",d:"M0 0h16v16H0z"})})})]}),hA=Lm("arrow-down",[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]]),mA=({onClick:e,hasTopBar:r})=>(0,t.jsx)("button",{className:ds()("bg-bg-muted hover:bg-bg-muted absolute bottom-full left-1/2 z-10 flex h-8 w-8 -translate-x-1/2 cursor-pointer items-center justify-center rounded-full shadow-md transition-all",r?"mb-9":"mb-1"),onClick:e,children:(0,t.jsx)(hA,{className:"text-text-secondary-foreground h-4 w-4"})});var AA;!function(e){e.attention="attention",e.warning="warning"}(AA||(AA={}));const vA={attention:(0,t.jsx)(Hh,{}),warning:(0,t.jsx)(Gh,{})},bA=({toast:e,onRemove:r,timeToRemove:n})=>{const[a,i]=(0,o.useState)(!1),[s,l]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{const t=setTimeout(()=>i(!0),400),o=setTimeout(()=>l(!0),n-1e3),a=setTimeout(()=>r(e.id),n);return()=>{clearTimeout(t),clearTimeout(o),clearTimeout(a)}},[r,n,e.id]),a?(0,t.jsxs)("div",{className:(()=>{const t=s?"animate-fade-out":"";return kd("inline-flex items-center justify-center rounded-lg gap-2 w-full animate-fade-in px-2 py-2 max-w-md",{attention:"bg-bg-warning-soft",warning:"bg-bg-destructive-soft"}[e.type],t)})(),children:[(0,t.jsx)("span",{children:vA[e.type]}),(0,t.jsx)("p",{className:"text-sm",children:e.message})]}):null},CA=()=>{const e=X(qi),r=Q(Ui);return(0,t.jsx)("div",{className:"-y-2 absolute bottom-[calc(100%+40px)] left-0 right-0 mx-auto flex w-full flex-col items-center gap-2 px-3",children:e.map((e,n)=>(0,t.jsx)(bA,{toast:e,onRemove:r,timeToRemove:3500+1e3*n},e.id))})},wA=Lm("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]),yA="d51006d1-ad5e-4c19-a5fc-21de2356f392",xA=({children:e})=>{const r=Q(ka),n=X(Ro),o=X(Qa),a=X(Mo),i=X(Ii);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("span",{className:"bg-bg-muted text-foreground-muted pointer-events-none absolute -top-[28px] z-0 flex w-[calc(100%-24px)] justify-end gap-1 rounded-t-xl border border-border pb-6 pr-4 pt-1.5 text-xs",children:(0,t.jsxs)("button",{type:"button",onClick:()=>{const e=new URLSearchParams;e.set("channel","web"),o&&e.set("integration_id",o),i&&e.set("lang",i),n&&e.set("session_id",n),e.set("trigger_node_id",yA),(null==a?void 0:a.user_id)&&e.set("user_id",a.user_id),r({type:"webview",url:`https://webhooks.moveo.ai/fiserv/contact-form?${e.toString()}`,name:"Contact sales",label:"Contact sales",height:"compact",trigger_node_id:yA,action_id:"fiserv-contact-sales"})},className:"pointer-events-auto inline-flex cursor-pointer items-center gap-1 text-[var(--color-link)] no-underline hover:underline",children:["Contact sales",(0,t.jsx)(wA,{className:"h-3 w-3"})]})}),e,(0,t.jsxs)("p",{className:"text-foreground-muted mt-2 w-full text-center text-[10px]",children:["Using this AI chatbot, you agree to the Clover"," ",(0,t.jsx)("a",{href:"https://www.clover.com/terms",target:"_blank",rel:"noreferrer",className:"text-[var(--color-link)] underline",children:"Terms of Use"}),". Chats are monitored & stored by our service provider. See"," ",(0,t.jsx)("a",{href:"https://www.clover.com/privacy-policy",target:"_blank",rel:"noreferrer",className:"text-[var(--color-link)] underline",children:"Privacy Notice"})," ","details."]})]})};var kA=i(206),BA={};BA.styleTagTransform=xs(),BA.setAttributes=bs(),BA.insert=As().bind(null,"head"),BA.domAPI=hs(),BA.insertStyleElement=ws(),fs()(kA.A,BA);var EA=kA.A&&kA.A.locals?kA.A.locals:void 0;const SA=({children:e,showScrollToBottom:r,onScrollToBottom:n})=>{const o=X(Bi),a=X(ui),{isFiserv:i}=X(ri),{t:s}=Pe();return(0,t.jsxs)("div",{className:ds()("relative flex flex-col items-end px-3 pb-4",EA[o]),children:[r&&n&&(0,t.jsx)(mA,{onClick:n,hasTopBar:i||a}),(0,t.jsx)(CA,{}),i?(0,t.jsx)(xA,{children:e}):(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)("span",{className:"bg-bg-muted text-foreground-muted absolute -top-[28px] z-0 flex w-[calc(100%-24px)] justify-end gap-1 rounded-t-xl border border-border pb-6 pr-4 pt-1.5 text-xs",children:(0,t.jsx)(Fe,{i18nKey:"footer.powered_by",values:{brand:s("moveo_ai")},components:[(0,t.jsx)(gA,{className:"text-[var(--color-link)]"},"icon"),(0,t.jsx)("a",{className:ds()("text-[var(--color-link)]"),href:"https://moveo.ai?ref=web-client",target:"_blank",rel:"noreferrer","aria-label":s("moveo_ai")},"link")]})}),e]})]})},_A=Lm("mic-off",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M15 9.34V5a3 3 0 0 0-5.68-1.33",key:"1gzdoj"}],["path",{d:"M16.95 16.95A7 7 0 0 1 5 12v-2",key:"cqa7eg"}],["path",{d:"M18.89 13.23A7 7 0 0 0 19 12v-2",key:"16hl24"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M9 9v3a3 3 0 0 0 5.12 2.12",key:"r2i35w"}]]),OA=Lm("mic",[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]]),DA=Lm("circle-alert",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]]);const NA=e=>{var{stream:r,active:n=!1,processing:a=!1,deviceId:i,barWidth:s=3,barGap:l=1,barRadius:c=1.5,barColor:u,fadeEdges:d=!0,fadeWidth:p=24,barHeight:f=4,height:g=64,sensitivity:h=1,smoothingTimeConstant:m=.8,fftSize:A=256,historySize:v=60,updateRate:b=30,mode:C="static",onError:w,onStreamReady:y,onStreamEnd:x,className:k}=e,B=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["stream","active","processing","deviceId","barWidth","barGap","barRadius","barColor","fadeEdges","fadeWidth","barHeight","height","sensitivity","smoothingTimeConstant","fftSize","historySize","updateRate","mode","onError","onStreamReady","onStreamEnd","className"]);const E=(0,o.useRef)(null),S=(0,o.useRef)(null),_=(0,o.useRef)([]),O=(0,o.useRef)(null),D=(0,o.useRef)(null),N=(0,o.useRef)(null),R=(0,o.useRef)(!1),T=(0,o.useRef)(0),j=(0,o.useRef)(0),L=(0,o.useRef)(null),F=(0,o.useRef)([]),M=(0,o.useRef)(0),P=(0,o.useRef)([]),I=(0,o.useRef)(!0),q=(0,o.useRef)(null),z=(0,o.useRef)(0),U="number"==typeof g?`${g}px`:g,$=(0,o.useCallback)(()=>{N.current&&(R.current&&(N.current.getTracks().forEach(e=>e.stop()),null==x||x()),N.current=null),R.current=!1,O.current=null,D.current&&"closed"!==D.current.state&&D.current.close(),D.current=null,T.current&&(cancelAnimationFrame(T.current),T.current=0)},[x]);return(0,o.useEffect)(()=>{const e=E.current,t=S.current;if(!e||!t)return;const r=new ResizeObserver(()=>{const r=t.getBoundingClientRect(),n=window.devicePixelRatio||1;e.width=r.width*n,e.height=r.height*n,e.style.width=`${r.width}px`,e.style.height=`${r.height}px`;const o=e.getContext("2d");o&&(o.setTransform(1,0,0,1,0,0),o.scale(n,n)),q.current=null,z.current=r.width,I.current=!0});return r.observe(t),()=>r.disconnect()},[]),(0,o.useEffect)(()=>{if(a&&!n){let e=0;M.current=0;const t=()=>{var r;e+=.03,M.current=Math.min(1,M.current+.02);const n=[],o=Math.floor(((null===(r=S.current)||void 0===r?void 0:r.getBoundingClientRect().width)||200)/(s+l));if("static"===C){const t=Math.floor(o/2);for(let r=0;r<o;r++){const o=(r-t)/t,a=1-.4*Math.abs(o),i=(.25*Math.sin(1.5*e+3*o)+.2*Math.sin(.8*e-2*o)+.15*Math.cos(2*e+o)+.2)*a;let s=i;if(F.current.length>0&&M.current<1){const e=Math.min(r,F.current.length-1);s=(F.current[e]||0)*(1-M.current)+i*M.current}n.push(Math.max(.05,Math.min(1,s)))}}else for(let t=0;t<o;t++){const r=(t-o/2)/(o/2),a=1-.4*Math.abs(r),i=(.25*Math.sin(1.5*e+.15*t)+.2*Math.sin(.8*e-.1*t)+.15*Math.cos(2*e+.05*t)+.2)*a;let s=i;if(F.current.length>0&&M.current<1){const e=Math.floor(t/o*F.current.length);s=(F.current[e]||0)*(1-M.current)+i*M.current}n.push(Math.max(.05,Math.min(1,s)))}"static"===C?P.current=n:_.current=n,I.current=!0,L.current=requestAnimationFrame(t)};return t(),()=>{L.current&&cancelAnimationFrame(L.current)}}if(!n&&!a&&("static"===C?P.current.length>0:_.current.length>0)){let e=0;const t=()=>{e+=.03,e<1?("static"===C?P.current=P.current.map(t=>t*(1-e)):_.current=_.current.map(t=>t*(1-e)),I.current=!0,requestAnimationFrame(t)):"static"===C?P.current=[]:_.current=[]};t()}},[a,n,s,l,C]),(0,o.useEffect)(()=>{if(!n)return void $();let e=!1;return(async()=>{try{let t=null!=r?r:null,n=!1;if(t||(t=await navigator.mediaDevices.getUserMedia({audio:i?{deviceId:{exact:i},echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}:{echoCancellation:!0,noiseSuppression:!0,autoGainControl:!0}}),n=!0),e)return void(n&&t.getTracks().forEach(e=>e.stop()));N.current=t,R.current=n,n&&(null==y||y(t));const o=new(window.AudioContext||window.webkitAudioContext);"suspended"===o.state&&o.resume();const a=o.createAnalyser();a.fftSize=A,a.smoothingTimeConstant=m,o.createMediaStreamSource(t).connect(a),D.current=o,O.current=a,_.current=[]}catch(e){null==w||w(e)}})(),()=>{e=!0,$()}},[n,r,i,A,m,w,y,$]),(0,o.useEffect)(()=>{const e=E.current;if(!e)return;const t=e.getContext("2d");if(!t)return;let r;const o=i=>{const g=e.getBoundingClientRect();if(n&&i-j.current>b&&(j.current=i,O.current)){const e=new Uint8Array(O.current.frequencyBinCount);if(O.current.getByteFrequencyData(e),"static"===C){const t=Math.floor(.05*e.length),r=Math.floor(.4*e.length),n=e.slice(t,r),o=Math.floor(g.width/(s+l)),a=Math.floor(o/2),i=[];for(let e=a-1;e>=0;e--){const t=Math.floor(e/a*n.length),r=Math.min(1,n[t]/255*h);i.push(Math.max(.05,r))}for(let e=0;e<a;e++){const t=Math.floor(e/a*n.length),r=Math.min(1,n[t]/255*h);i.push(Math.max(.05,r))}P.current=i,F.current=i}else{let t=0;const r=Math.floor(.05*e.length),n=Math.floor(.4*e.length),o=e.slice(r,n);for(let e=0;e<o.length;e++)t+=o[e];const a=t/o.length/255*h;_.current.push(Math.min(1,Math.max(.05,a))),F.current=[..._.current],_.current.length>v&&_.current.shift()}I.current=!0}if(!I.current&&!n)return void(r=requestAnimationFrame(o));I.current=n,t.clearRect(0,0,g.width,g.height);const m=u||getComputedStyle(e).color||"#000",A=s+l,w=Math.floor(g.width/A),y=g.height/2;if("static"===C){const e=a||n||P.current.length>0?P.current:[];for(let r=0;r<w&&r<e.length;r++){const n=e[r]||.1,o=r*A,a=Math.max(f,n*g.height*.8),i=y-a/2;t.fillStyle=m,t.globalAlpha=.4+.6*n,c>0?(t.beginPath(),t.roundRect(o,i,s,a,c),t.fill()):t.fillRect(o,i,s,a)}}else for(let e=0;e<w&&e<_.current.length;e++){const r=_.current.length-1-e,n=_.current[r]||.1,o=g.width-(e+1)*A,a=Math.max(f,n*g.height*.8),i=y-a/2;t.fillStyle=m,t.globalAlpha=.4+.6*n,c>0?(t.beginPath(),t.roundRect(o,i,s,a,c),t.fill()):t.fillRect(o,i,s,a)}if(d&&p>0&&g.width>0){if(!q.current||z.current!==g.width){const e=t.createLinearGradient(0,0,g.width,0),r=Math.min(.3,p/g.width);e.addColorStop(0,"rgba(255,255,255,1)"),e.addColorStop(r,"rgba(255,255,255,0)"),e.addColorStop(1-r,"rgba(255,255,255,0)"),e.addColorStop(1,"rgba(255,255,255,1)"),q.current=e,z.current=g.width}t.globalCompositeOperation="destination-out",t.fillStyle=q.current,t.fillRect(0,0,g.width,g.height),t.globalCompositeOperation="source-over"}t.globalAlpha=1,r=requestAnimationFrame(o)};return r=requestAnimationFrame(o),()=>{r&&cancelAnimationFrame(r)}},[n,a,h,b,v,s,f,l,c,u,d,p,C]),(0,t.jsxs)("div",Object.assign({className:kd("relative h-full w-full",k),ref:S,style:{height:U},"aria-label":n?"Live audio waveform":a?"Processing audio":"Audio waveform idle",role:"img"},B,{children:[!n&&!a&&(0,t.jsx)("div",{className:"absolute left-0 right-0 top-1/2 -translate-y-1/2 border-t-2 border-dotted border-muted-foreground/20"}),(0,t.jsx)("canvas",{className:"block h-full w-full",ref:E,"aria-hidden":"true"})]}))},RA=()=>(0,t.jsx)("svg",{className:"h-4 w-4",viewBox:"0 0 24 24",fill:"currentColor","aria-hidden":!0,children:[5,10,15,20].map(e=>[6,12,18].map(r=>20===e&&12!==r?null:(0,t.jsx)("circle",{cx:r,cy:e,r:"1.4"},`${r}-${e}`)))}),TA=["1","2","3","4","5","6","7","8","9","*","0","#"],jA=()=>{const{t:e}=Pe(),{audioWidgetProps:r,close:n,getLocalStream:a,getRemoteStream:i,getCallState:s}=lm(),{closeWidget:l}=Us(),{onStartCall:c,onEndCall:u,onToggleMute:d,isMuted:p,onSendDigits:f,onEvent:g}=r,[h,m]=Z(Zh),[A,v]=(0,o.useState)("connecting"),[b,C]=(0,o.useState)(null),[w,y]=(0,o.useState)(null),[x,k]=(0,o.useState)(""),[B,E]=(0,o.useState)(!1),[S,_]=(0,o.useState)(!1),[O,D]=(0,o.useState)(!1),[N,R]=(0,o.useState)(!1),[T,j]=(0,o.useState)(""),L=(0,o.useRef)(!1),F=(0,o.useRef)(!1),M=(0,o.useRef)(null),P=(0,o.useRef)(null),I=(0,o.useRef)(!1),q=()=>{M.current&&(clearTimeout(M.current),M.current=null)},z=(0,o.useCallback)(()=>{m(!1),u(),n(),l()},[m,u,n,l]);(0,o.useEffect)(()=>{let t=!1;m(!1);const r=s();return"connected"===r||"reconnecting"===r?(v("connected"),L.current=!0,C(a()),void E(p())):"idle"!==r&&"error"!==r?(v("connecting"),c().then(()=>{t||(v("connected"),L.current=!0,C(a()))}).catch(r=>{t||(v("error"),k(r instanceof Error?r.message:e("audio_widget.errors.start_failed","Failed to start call")))}),()=>{t=!0}):void n()},[]),(0,o.useEffect)(()=>g("any",({state:t,message:r,data:n})=>{if("audio-level"===t){if(I.current)return q(),void D(!1);const e="number"==typeof n?n:Number(null!=n?n:r);if(Number.isNaN(e))return;return void(e>.04?(F.current=!0,q(),D(!1)):!F.current||P.current||M.current||(M.current=window.setTimeout(()=>{M.current=null,D(!0)},1200)))}if("remote-audio"===t){const e=i();return y(t=>t===e?t:e),q(),D(!1),_(!0),P.current&&clearTimeout(P.current),void(P.current=window.setTimeout(()=>{P.current=null,_(!1)},1500))}if("warning"!==t||"reconnect"!==n){if("warning-cleared"!==t||"reconnect"!==n)return"error"===t?(v("error"),void k(r||e("audio_widget.errors.generic","An error occurred"))):void("state-change"===t&&"idle"===n&&L.current&&z());L.current&&v("connected")}else v("reconnecting")}),[g,e,z,i]),(0,o.useEffect)(()=>()=>{q(),P.current&&clearTimeout(P.current)},[]),(0,o.useEffect)(()=>{h&&R(!1)},[h]),(0,o.useEffect)(()=>{I.current=B},[B]);const U="connecting"===A?e("audio_widget.status.connecting","Connecting"):"reconnecting"===A?e("audio_widget.status.reconnecting","Reconnecting"):"error"===A?e("audio_widget.status.error","Error"):S?e("audio_widget.status.speaking","Speaking"):O?e("audio_widget.status.processing","Processing"):e("audio_widget.status.listening","Listening"),$="flex flex-1 items-center justify-center gap-1.5 rounded-lg border border-border bg-background px-2 py-2 text-xs font-medium text-foreground transition-colors hover:bg-muted disabled:opacity-50",V=S&&Boolean(w),W=V?w:b,H="connected"===A&&!O&&Boolean(W)&&(V||!B);return(0,t.jsxs)("div",{className:"z-1 relative min-h-24 w-full rounded-xl border border-border bg-background p-3",children:[N&&(0,t.jsxs)("div",{className:"absolute bottom-full left-0 right-0 z-10 mb-2 rounded-xl border border-border bg-background p-3 shadow-lg",children:[(0,t.jsx)("div",{className:"mb-2 flex h-9 items-center justify-end overflow-hidden rounded-lg bg-muted px-3 font-mono text-lg tracking-widest text-foreground",children:T||(0,t.jsx)("span",{className:"text-sm tracking-normal text-muted-foreground",children:e("audio_widget.dtmf.placeholder","Enter digits")})}),(0,t.jsx)("div",{className:"grid grid-cols-3 gap-2",children:TA.map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>(e=>{f(e),j(t=>(t+e).slice(-32))})(e),className:"flex h-10 items-center justify-center rounded-lg bg-muted text-base font-semibold text-foreground transition-colors hover:bg-muted/70 active:scale-95","aria-label":e,children:e},e))})]}),(0,t.jsx)("div",{className:"flex min-h-6 items-center px-1 pb-2 text-sm font-medium text-foreground",children:"error"===A&&x?(0,t.jsx)("span",{className:"text-rose-500",children:x}):(0,t.jsxs)("span",{"aria-live":"polite",children:[U,"…"]})}),(0,t.jsxs)("div",{className:"flex items-stretch gap-2",children:[(0,t.jsxs)("button",{type:"button",className:$,"aria-pressed":B,onClick:()=>{d(),E(p())},children:[B?(0,t.jsx)(_A,{className:"h-4 w-4"}):(0,t.jsx)(OA,{className:"h-4 w-4"}),B?e("audio_widget.mute.unmute","Unmute"):e("audio_widget.mute.mute","Mute")]}),(0,t.jsxs)("button",{type:"button",onClick:()=>m(!0),className:"flex flex-1 items-center justify-center gap-2 rounded-lg bg-rose-50 px-2 py-2 text-xs font-medium text-rose-600 transition-colors hover:bg-rose-100 dark:bg-rose-500/15 dark:text-rose-300 dark:hover:bg-rose-500/25",children:[(0,t.jsx)("span",{className:"pointer-events-none h-4 w-8",children:(0,t.jsx)(NA,{stream:W,active:H,processing:O,mode:"static",height:16,barWidth:2,barGap:2,fadeEdges:!1,className:"text-rose-600 dark:text-rose-300"})}),e("audio_widget.actions.end_call","End call")]}),(0,t.jsxs)("button",{type:"button",className:$,"aria-pressed":N,onClick:()=>R(e=>!e),children:[(0,t.jsx)(RA,{}),e("audio_widget.dtmf.toggle","Keypad")]})]}),h&&(0,t.jsx)("div",{className:"bg-chat-background absolute inset-x-0 bottom-0 z-20 animate-[slide-in-up_0.2s_ease-out] rounded-lg border border-border shadow-lg will-change-transform",children:(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center gap-4 p-4",children:[(0,t.jsx)(DA,{size:40,color:"var(--color-foreground-muted)"}),(0,t.jsx)("div",{className:"text-surface-card-foreground mx-auto text-center text-lg font-semibold",children:e("modal.end","Are you sure you want to end the conversation?")}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,t.jsx)(eA,{className:"w-full",onClick:z,children:e("buttons.end_conversation","End conversation")}),(0,t.jsx)(eA,{variant:"outline-neutral",className:"w-full",onClick:()=>m(!1),children:e("buttons.cancel","Cancel")})]})]})})]})},LA=({children:e,className:r})=>(0,t.jsx)("div",{className:kd("bg-swimmlane-background text-swimmlane-foreground mx-auto mt-6 max-w-md rounded-md px-2 py-1 text-center text-sm font-semibold leading-4",r),children:e}),FA="text-text-primary-foreground dark:text-text-primary-foreground relative ml-auto w-fit rounded-xl px-4 py-3",MA=({text:e})=>(0,t.jsx)("p",{className:kd(FA,"min-w-20 break-words bg-accent text-left dark:text-foreground",{"text-center":e.length>0&&e.length<5}),children:e}),PA=({text:e,final:r})=>{const n=X(Jh),[a]=(0,o.useState)(r),[i,s]=(0,o.useState)(r);if(!i&&n&&s(!0),(0,o.useEffect)(()=>{if(i)return;const e=window.setTimeout(()=>s(!0),2e3);return()=>window.clearTimeout(e)},[i]),!i)return null;const l="markdown w-full whitespace-pre-line leading-6 text-foreground",c={fontSize:"var(--font-size-brain-message)"};if(a)return(0,t.jsx)("span",{className:l,style:c,children:e});const u=(e=>{var t;return null!==(t=e.match(/\S+\s*/g))&&void 0!==t?t:[]})(e),d=Math.min(55,1200/u.length);return(0,t.jsx)("span",{className:l,style:c,children:u.map((e,r)=>(0,t.jsx)("span",{className:"animate-fade-in",style:{animationDelay:r*d+"ms",animationDuration:"400ms",animationFillMode:"backwards"},children:e},r))})},IA=()=>{const{t:e}=Pe(),r=X(pm),n=X(ma);return 0===r.length?null:(0,t.jsx)("li",{"aria-label":e("audio_widget.transcript.aria","Live call transcript"),children:(0,t.jsx)("ul",{role:"log","aria-live":"polite",className:"m-0 list-none p-0",children:r.map(r=>"marker"===r.kind?(0,t.jsx)("li",{"data-event-type":"voice_marker",children:(0,t.jsx)(LA,{children:e("audio_widget.transcript.reconnected","Reconnected")})},r.id):"user"===r.kind?(0,t.jsx)("li",{"data-event-type":"user_message",className:kd("ml-auto mt-6 flex max-w-xs flex-col",{"max-w-md":n}),children:(0,t.jsx)(MA,{text:r.text})},r.id):(0,t.jsx)("li",{"data-event-type":"brain_message",className:"relative mt-4",children:(0,t.jsx)(PA,{text:r.text,final:r.final})},r.id))})})},qA=()=>{const{messagesRef:e,bodyRef:r,hasScrollableContent:n,scrollToBottom:a,whitespaceHeight:i}=(()=>{const e=X(pm),t=X(fm),r=(0,o.useRef)(null),n=(0,o.useMemo)(()=>{var t;return"user"===(null===(t=e[e.length-1])||void 0===t?void 0:t.kind)},[e]),{messagesRef:a,bodyRef:i,hasScrollableContent:s,whitespaceHeight:l,scrollToBottom:c,scrollToElement:u,calculateWhitespaceHeight:d,checkScrollableContent:p}=fA(n);return(0,o.useEffect)(()=>{if(0===e.length)return void(r.current=null);if(t&&t!==r.current){r.current=t;const e=setTimeout(()=>{var e;const t=null===(e=a.current)||void 0===e?void 0:e.querySelectorAll('[data-event-type="user_message"]');t&&t.length>0&&u(t[t.length-1],80)},100);return()=>clearTimeout(e)}const n=setTimeout(()=>{d(),p()},50);return()=>clearTimeout(n)},[e,t,a,u,d,p]),{messagesRef:a,bodyRef:i,hasScrollableContent:s,scrollToBottom:c,whitespaceHeight:l}})(),s=X(di);return(0,t.jsxs)("div",{className:"relative flex h-full flex-col overflow-hidden",children:[(0,t.jsxs)("ul",{ref:e,className:ds()("relative m-0 h-full flex-1 list-none overflow-y-auto px-6","pt-[var(--moveo-new-header-height)]","[scrollbar-width:thin]","[scrollbar-color:rgba(0,0,0,0.15)_transparent]",s),children:[(0,t.jsx)(IA,{}),(0,t.jsx)("div",{className:"w-full",style:{height:`calc(47vh - ${i}px)`}})]}),(0,t.jsx)("span",{ref:r}),(0,t.jsx)(SA,{showScrollToBottom:n,onScrollToBottom:a,children:(0,t.jsx)(jA,{})})]})};function zA(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function UA(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,s=[],l=!0,c=!1;try{if(a=(r=r.call(e)).next,0===t);else for(;!(l=(n=a.call(r)).done)&&(s.push(n.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zA(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?zA(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const $A=Object.entries,VA=Object.setPrototypeOf,WA=Object.isFrozen,HA=Object.getPrototypeOf,GA=Object.getOwnPropertyDescriptor;let KA=Object.freeze,YA=Object.seal,XA=Object.create,QA="undefined"!=typeof Reflect&&Reflect,ZA=QA.apply,JA=QA.construct;KA||(KA=function(e){return e}),YA||(YA=function(e){return e}),ZA||(ZA=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];return e.apply(t,n)}),JA||(JA=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return new e(...r)});const ev=wv(Array.prototype.forEach),tv=wv(Array.prototype.lastIndexOf),rv=wv(Array.prototype.pop),nv=wv(Array.prototype.push),ov=wv(Array.prototype.splice),av=Array.isArray,iv=wv(String.prototype.toLowerCase),sv=wv(String.prototype.toString),lv=wv(String.prototype.match),cv=wv(String.prototype.replace),uv=wv(String.prototype.indexOf),dv=wv(String.prototype.trim),pv=wv(Number.prototype.toString),fv=wv(Boolean.prototype.toString),gv="undefined"==typeof BigInt?null:wv(BigInt.prototype.toString),hv="undefined"==typeof Symbol?null:wv(Symbol.prototype.toString),mv=wv(Object.prototype.hasOwnProperty),Av=wv(Object.prototype.toString),vv=wv(RegExp.prototype.test),bv=(Cv=TypeError,function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return JA(Cv,t)});var Cv;function wv(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return ZA(e,t,n)}}function yv(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:iv;if(VA&&VA(e,null),!av(t))return e;let n=t.length;for(;n--;){let o=t[n];if("string"==typeof o){const e=r(o);e!==o&&(WA(t)||(t[n]=e),o=e)}e[o]=!0}return e}function xv(e){for(let t=0;t<e.length;t++)mv(e,t)||(e[t]=null);return e}function kv(e){const t=XA(null);for(const n of $A(e)){var r=UA(n,2);const o=r[0],a=r[1];mv(e,o)&&(av(a)?t[o]=xv(a):a&&"object"==typeof a&&a.constructor===Object?t[o]=kv(a):t[o]=a)}return t}function Bv(e,t){for(;null!==e;){const r=GA(e,t);if(r){if(r.get)return wv(r.get);if("function"==typeof r.value)return wv(r.value)}e=HA(e)}return function(){return null}}const Ev=KA(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Sv=KA(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),_v=KA(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Ov=KA(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Dv=KA(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Nv=KA(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rv=KA(["#text"]),Tv=KA(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),jv=KA(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Lv=KA(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Fv=KA(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Mv=YA(/{{[\w\W]*|^[\w\W]*}}/g),Pv=YA(/<%[\w\W]*|^[\w\W]*%>/g),Iv=YA(/\${[\w\W]*/g),qv=YA(/^data-[\-\w.\u00B7-\uFFFF]+$/),zv=YA(/^aria-[\-\w]+$/),Uv=YA(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),$v=YA(/^(?:\w+script|data):/i),Vv=YA(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Wv=YA(/^html$/i),Hv=YA(/^[a-z][.\w]*(-[.\w]+)+$/i),Gv=YA(/<[/\w!]/g),Kv=YA(/<[/\w]/g),Yv=YA(/<\/no(script|embed|frames)/i),Xv=YA(/\/>/i),Qv=function(){return"undefined"==typeof window?null:window},Zv=function(e,t,r,n){return mv(e,t)&&av(e[t])?yv(n.base?kv(n.base):{},e[t],n.transform):r};var Jv=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Qv();const r=t=>e(t);if(r.version="3.4.11",r.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return r.isSupported=!1,r;let n=t.document;const o=n,a=o.currentScript;t.DocumentFragment;const i=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,d=t.trustedTypes,p=l.prototype,f=Bv(p,"cloneNode"),g=Bv(p,"remove"),h=Bv(p,"nextSibling"),m=Bv(p,"childNodes"),A=Bv(p,"parentNode"),v=Bv(p,"shadowRoot"),b=Bv(p,"attributes"),C=s&&s.prototype?Bv(s.prototype,"nodeType"):null,w=s&&s.prototype?Bv(s.prototype,"nodeName"):null;if("function"==typeof i){const e=n.createElement("template");e.content&&e.content.ownerDocument&&(n=e.content.ownerDocument)}let y,x,k="",B=!1,E=0;const S=function(){if(E>0)throw bv('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},_=function(e){S(),E++;try{return y.createHTML(e)}finally{E--}},O=n,D=O.implementation,N=O.createNodeIterator,R=O.createDocumentFragment,T=O.getElementsByTagName,j=o.importNode;let L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};r.isSupported="function"==typeof $A&&"function"==typeof A&&D&&void 0!==D.createHTMLDocument;const F=Mv,M=Pv,P=Iv,I=qv,q=zv,z=$v,U=Vv,$=Hv;let V=Uv,W=null;const H=yv({},[...Ev,...Sv,..._v,...Dv,...Rv]);let G=null;const K=yv({},[...Tv,...jv,...Lv,...Fv]);let Y=Object.seal(XA(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}})),X=null,Q=null;const Z=Object.seal(XA(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let J=!0,ee=!0,te=!1,re=!0,ne=!1,oe=!0,ae=!1,ie=!1,se=null,le=null,ce=!1,ue=!1,de=!1,pe=!1,fe=!0,ge=!1;const he="user-content-";let me=!0,Ae=!1,ve={},be=null;const Ce=yv({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let we=null;const ye=yv({},["audio","video","img","source","image","track"]);let xe=null;const ke=yv({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Be="http://www.w3.org/1998/Math/MathML",Ee="http://www.w3.org/2000/svg",Se="http://www.w3.org/1999/xhtml";let _e=Se,Oe=!1,De=null;const Ne=yv({},[Be,Ee,Se],sv),Re=KA(["mi","mo","mn","ms","mtext"]);let Te=yv({},Re);const je=KA(["annotation-xml"]);let Le=yv({},je);const Fe=yv({},["title","style","font","a","script"]);let Me=null;const Pe=["application/xhtml+xml","text/html"];let Ie=null,qe=null;const ze=n.createElement("form"),Ue=function(e){return e instanceof RegExp||e instanceof Function},$e=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(qe&&qe===e)return;e&&"object"==typeof e||(e={}),e=kv(e),Me=-1===Pe.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ie="application/xhtml+xml"===Me?sv:iv,W=Zv(e,"ALLOWED_TAGS",H,{transform:Ie}),G=Zv(e,"ALLOWED_ATTR",K,{transform:Ie}),De=Zv(e,"ALLOWED_NAMESPACES",Ne,{transform:sv}),xe=Zv(e,"ADD_URI_SAFE_ATTR",ke,{transform:Ie,base:ke}),we=Zv(e,"ADD_DATA_URI_TAGS",ye,{transform:Ie,base:ye}),be=Zv(e,"FORBID_CONTENTS",Ce,{transform:Ie}),X=Zv(e,"FORBID_TAGS",kv({}),{transform:Ie}),Q=Zv(e,"FORBID_ATTR",kv({}),{transform:Ie}),ve=!!mv(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?kv(e.USE_PROFILES):e.USE_PROFILES),J=!1!==e.ALLOW_ARIA_ATTR,ee=!1!==e.ALLOW_DATA_ATTR,te=e.ALLOW_UNKNOWN_PROTOCOLS||!1,re=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,ne=e.SAFE_FOR_TEMPLATES||!1,oe=!1!==e.SAFE_FOR_XML,ae=e.WHOLE_DOCUMENT||!1,ue=e.RETURN_DOM||!1,de=e.RETURN_DOM_FRAGMENT||!1,pe=e.RETURN_TRUSTED_TYPE||!1,ce=e.FORCE_BODY||!1,fe=!1!==e.SANITIZE_DOM,ge=e.SANITIZE_NAMED_PROPS||!1,me=!1!==e.KEEP_CONTENT,Ae=e.IN_PLACE||!1,V=function(e){try{return vv(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Uv,_e="string"==typeof e.NAMESPACE?e.NAMESPACE:Se,Te=mv(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?kv(e.MATHML_TEXT_INTEGRATION_POINTS):yv({},Re),Le=mv(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?kv(e.HTML_INTEGRATION_POINTS):yv({},je);const t=mv(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?kv(e.CUSTOM_ELEMENT_HANDLING):XA(null);if(Y=XA(null),mv(t,"tagNameCheck")&&Ue(t.tagNameCheck)&&(Y.tagNameCheck=t.tagNameCheck),mv(t,"attributeNameCheck")&&Ue(t.attributeNameCheck)&&(Y.attributeNameCheck=t.attributeNameCheck),mv(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Y.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),YA(Y),ne&&(ee=!1),de&&(ue=!0),ve&&(W=yv({},Rv),G=XA(null),!0===ve.html&&(yv(W,Ev),yv(G,Tv)),!0===ve.svg&&(yv(W,Sv),yv(G,jv),yv(G,Fv)),!0===ve.svgFilters&&(yv(W,_v),yv(G,jv),yv(G,Fv)),!0===ve.mathMl&&(yv(W,Dv),yv(G,Lv),yv(G,Fv))),Z.tagCheck=null,Z.attributeCheck=null,mv(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?Z.tagCheck=e.ADD_TAGS:av(e.ADD_TAGS)&&(W===H&&(W=kv(W)),yv(W,e.ADD_TAGS,Ie))),mv(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?Z.attributeCheck=e.ADD_ATTR:av(e.ADD_ATTR)&&(G===K&&(G=kv(G)),yv(G,e.ADD_ATTR,Ie))),mv(e,"ADD_URI_SAFE_ATTR")&&av(e.ADD_URI_SAFE_ATTR)&&yv(xe,e.ADD_URI_SAFE_ATTR,Ie),mv(e,"FORBID_CONTENTS")&&av(e.FORBID_CONTENTS)&&(be===Ce&&(be=kv(be)),yv(be,e.FORBID_CONTENTS,Ie)),mv(e,"ADD_FORBID_CONTENTS")&&av(e.ADD_FORBID_CONTENTS)&&(be===Ce&&(be=kv(be)),yv(be,e.ADD_FORBID_CONTENTS,Ie)),me&&(W["#text"]=!0),ae&&yv(W,["html","head","body"]),W.table&&(yv(W,["tbody"]),delete X.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw bv('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw bv('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=y;y=e.TRUSTED_TYPES_POLICY;try{k=_("")}catch(e){throw y=t,e}}else null===e.TRUSTED_TYPES_POLICY?(y=void 0,k=""):(void 0===y&&(B||(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let r=null;const n="data-tt-policy-suffix";t&&t.hasAttribute(n)&&(r=t.getAttribute(n));const o="dompurify"+(r?"#"+r:"");try{return e.createPolicy(o,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(d,a),B=!0),y=x),y&&"string"==typeof k&&(k=_("")));KA&&KA(e),qe=e},Ve=yv({},[...Sv,..._v,...Ov]),We=yv({},[...Dv,...Nv]),He=function(e){nv(r.removed,{element:e});try{A(e).removeChild(e)}catch(t){if(g(e),!A(e))throw bv("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Ge=function(e){const t=m(e);if(t){const e=[];ev(t,t=>{nv(e,t)}),ev(e,e=>{try{g(e)}catch(e){}})}const r=b(e);if(r)for(let t=r.length-1;t>=0;--t){const n=r[t],o=n&&n.name;if("string"==typeof o)try{e.removeAttribute(o)}catch(e){}}},Ke=function(e,t){try{nv(r.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){nv(r.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ue||de)try{He(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ye=function(e){const t=b(e);if(t)for(let r=t.length-1;r>=0;--r){const n=t[r],o=n&&n.name;if("string"==typeof o&&!G[Ie(o)])try{e.removeAttribute(o)}catch(e){}}},Xe=function(e){let t=null,r=null;if(ce)e="<remove></remove>"+e;else{const t=lv(e,/^[\r\n\t ]+/);r=t&&t[0]}"application/xhtml+xml"===Me&&_e===Se&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=y?_(e):e;if(_e===Se)try{t=(new u).parseFromString(o,Me)}catch(e){}if(!t||!t.documentElement){t=D.createDocument(_e,"template",null);try{t.documentElement.innerHTML=Oe?k:o}catch(e){}}const a=t.body||t.documentElement;return e&&r&&a.insertBefore(n.createTextNode(r),a.childNodes[0]||null),_e===Se?T.call(t,ae?"html":"body")[0]:ae?t.documentElement:a},Qe=function(e){return N.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Ze=function(e){return e=cv(e,F," "),e=cv(e,M," "),cv(e,P," ")},Je=function(e){var t;e.normalize();const r=N.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let n=r.nextNode();for(;n;)n.data=Ze(n.data),n=r.nextNode();const o=null===(t=e.querySelectorAll)||void 0===t?void 0:t.call(e,"template");o&&ev(o,e=>{tt(e.content)&&Je(e.content)})},et=function(e){const t=w?w(e):null;return"string"==typeof t&&"form"===Ie(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==b(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==C(e)||e.childNodes!==m(e))},tt=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return 11===C(e)}catch(e){return!1}},rt=function(e){if(!C||"object"!=typeof e||null===e)return!1;try{return"number"==typeof C(e)}catch(e){return!1}};function nt(e,t,n){0!==e.length&&ev(e,e=>{e.call(r,t,n,qe)})}const ot=function(e){if(nt(L.beforeSanitizeElements,e,null),et(e))return He(e),!0;const t=Ie(w?w(e):e.nodeName);if(nt(L.uponSanitizeElement,e,{tagName:t,allowedTags:W}),function(e,t){return!!(oe&&e.hasChildNodes()&&!rt(e.firstElementChild)&&vv(Gv,e.textContent)&&vv(Gv,e.innerHTML))||!(!oe||e.namespaceURI!==Se||"style"!==t||!rt(e.firstElementChild))||7===e.nodeType||!(!oe||8!==e.nodeType||!vv(Kv,e.data))}(e,t))return He(e),!0;if(X[t]||!(Z.tagCheck instanceof Function&&Z.tagCheck(t))&&!W[t])return function(e,t){if(!X[t]&&st(t)){if(Y.tagNameCheck instanceof RegExp&&vv(Y.tagNameCheck,t))return!1;if(Y.tagNameCheck instanceof Function&&Y.tagNameCheck(t))return!1}if(me&&!be[t]){const t=A(e),r=m(e);if(r&&t)for(let n=r.length-1;n>=0;--n){const o=Ae?r[n]:f(r[n],!0);t.insertBefore(o,h(e))}}return He(e),!0}(e,t);if(1===(C?C(e):e.nodeType)&&!function(e){let t=A(e);t&&t.tagName||(t={namespaceURI:_e,tagName:"template"});const r=iv(e.tagName),n=iv(t.tagName);return!!De[e.namespaceURI]&&(e.namespaceURI===Ee?function(e,t,r){return t.namespaceURI===Se?"svg"===e:t.namespaceURI===Be?"svg"===e&&("annotation-xml"===r||Te[r]):Boolean(Ve[e])}(r,t,n):e.namespaceURI===Be?function(e,t,r){return t.namespaceURI===Se?"math"===e:t.namespaceURI===Ee?"math"===e&&Le[r]:Boolean(We[e])}(r,t,n):e.namespaceURI===Se?function(e,t,r){return!(t.namespaceURI===Ee&&!Le[r])&&!(t.namespaceURI===Be&&!Te[r])&&!We[e]&&(Fe[e]||!Ve[e])}(r,t,n):!("application/xhtml+xml"!==Me||!De[e.namespaceURI]))}(e))return He(e),!0;if(("noscript"===t||"noembed"===t||"noframes"===t)&&vv(Yv,e.innerHTML))return He(e),!0;if(ne&&3===e.nodeType){const t=Ze(e.textContent);e.textContent!==t&&(nv(r.removed,{element:e.cloneNode()}),e.textContent=t)}return nt(L.afterSanitizeElements,e,null),!1},at=function(e,t,r){if(Q[t])return!1;if(fe&&("id"===t||"name"===t)&&(r in n||r in ze))return!1;const o=G[t]||Z.attributeCheck instanceof Function&&Z.attributeCheck(t,e);if(ee&&vv(I,t));else if(J&&vv(q,t));else if(o){if(xe[t]);else if(vv(V,cv(r,U,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==uv(r,"data:")||!we[e])if(te&&!vv(z,cv(r,U,"")));else if(r)return!1}else if(!(st(e)&&(Y.tagNameCheck instanceof RegExp&&vv(Y.tagNameCheck,e)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(e))&&(Y.attributeNameCheck instanceof RegExp&&vv(Y.attributeNameCheck,t)||Y.attributeNameCheck instanceof Function&&Y.attributeNameCheck(t,e))||"is"===t&&Y.allowCustomizedBuiltInElements&&(Y.tagNameCheck instanceof RegExp&&vv(Y.tagNameCheck,r)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(r))))return!1;return!0},it=yv({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),st=function(e){return!it[iv(e)]&&vv($,e)},lt=function(e,t,r,n){if(y&&"object"==typeof d&&"function"==typeof d.getAttributeType&&!r)switch(d.getAttributeType(e,t)){case"TrustedHTML":return _(n);case"TrustedScriptURL":return function(e){S(),E++;try{return y.createScriptURL(e)}finally{E--}}(n)}return n},ct=function(e,t,n,o){try{n?e.setAttributeNS(n,t,o):e.setAttribute(t,o),et(e)?He(e):rv(r.removed)}catch(r){Ke(t,e)}},ut=function(e){nt(L.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||et(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G,forceKeepAttr:void 0};let n=t.length;const o=Ie(e.nodeName);for(;n--;){const a=t[n],i=a.name,s=a.namespaceURI,l=a.value,c=Ie(i),u=l;let d="value"===i?u:dv(u);r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,nt(L.uponSanitizeAttribute,e,r),d=r.attrValue,!ge||"id"!==c&&"name"!==c||0===uv(d,he)||(Ke(i,e),d=he+d),oe&&vv(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,d)||"attributename"===c&&lv(d,"href")?Ke(i,e):r.forceKeepAttr||(!r.keepAttr||!re&&vv(Xv,d)?Ke(i,e):(ne&&(d=Ze(d)),at(o,c,d)?(d=lt(o,c,s,d),d!==u&&ct(e,i,s,d)):Ke(i,e)))}nt(L.afterSanitizeAttributes,e,null)},dt=function(e){let t=null;const r=Qe(e);for(nt(L.beforeSanitizeShadowDOM,e,null);t=r.nextNode();)if(nt(L.uponSanitizeShadowNode,t,null),ot(t),ut(t),tt(t.content)&&dt(t.content),1===(C?C(t):t.nodeType)){const e=v(t);tt(e)&&(pt(e),dt(e))}nt(L.afterSanitizeShadowDOM,e,null)},pt=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){dt(e.shadow);continue}const r=e.node,n=1===(C?C(r):r.nodeType),o=m(r);if(o)for(let e=o.length-1;e>=0;--e)t.push({node:o[e],shadow:null});if(n){const e=w?w(r):null;if("string"==typeof e&&"template"===Ie(e)){const e=r.content;tt(e)&&t.push({node:e,shadow:null})}}if(n){const e=v(r);tt(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return r.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,a=null,i=null,s=null;if(Oe=!e,Oe&&(e="\x3c!--\x3e"),"string"!=typeof e&&!rt(e)&&(e=function(e){switch(typeof e){case"string":return e;case"number":return pv(e);case"boolean":return fv(e);case"bigint":return gv?gv(e):"0";case"symbol":return hv?hv(e):"Symbol()";case"undefined":default:return Av(e);case"function":case"object":{if(null===e)return Av(e);const t=e,r=Bv(t,"toString");if("function"==typeof r){const e=r(t);return"string"==typeof e?e:Av(e)}return Av(e)}}}(e),"string"!=typeof e))throw bv("dirty is not a string, aborting");if(!r.isSupported)return e;ie?(W=se,G=le):$e(t),(L.uponSanitizeElement.length>0||L.uponSanitizeAttribute.length>0)&&(W=kv(W)),L.uponSanitizeAttribute.length>0&&(G=kv(G)),r.removed=[];const l=Ae&&"string"!=typeof e&&rt(e);if(l){const t=w?w(e):e.nodeName;if("string"==typeof t){const e=Ie(t);if(!W[e]||X[e])throw bv("root node is forbidden and cannot be sanitized in-place")}if(et(e))throw bv("root node is clobbered and cannot be sanitized in-place");try{pt(e)}catch(t){throw Ge(e),t}}else if(rt(e))n=Xe("\x3c!----\x3e"),a=n.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?n=a:n.appendChild(a),pt(a);else{if(!ue&&!ne&&!ae&&-1===e.indexOf("<"))return y&&pe?_(e):e;if(n=Xe(e),!n)return ue?null:pe?k:""}n&&ce&&He(n.firstChild);const c=Qe(l?e:n);try{for(;i=c.nextNode();)ot(i),ut(i),tt(i.content)&&dt(i.content)}catch(t){throw l&&Ge(e),t}if(l)return ev(r.removed,e=>{e.element&&function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(C?C(e):e.nodeType)&&Ye(e);const r=m(e);if(r)for(let e=r.length-1;e>=0;--e)t.push(r[e])}}(e.element)}),ne&&Je(e),e;if(ue){if(ne&&Je(n),de)for(s=R.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(G.shadowroot||G.shadowrootmode)&&(s=j.call(o,s,!0)),s}let u=ae?n.outerHTML:n.innerHTML;return ae&&W["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&vv(Wv,n.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+u),ne&&(u=Ze(u)),y&&pe?_(u):u},r.setConfig=function(){$e(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),ie=!0,se=W,le=G},r.clearConfig=function(){qe=null,ie=!1,se=null,le=null,y=x,k=""},r.isValidAttribute=function(e,t,r){qe||$e({});const n=Ie(e),o=Ie(t);return at(n,o,r)},r.addHook=function(e,t){"function"==typeof t&&mv(L,e)&&nv(L[e],t)},r.removeHook=function(e,t){if(mv(L,e)){if(void 0!==t){const r=tv(L[e],t);return-1===r?void 0:ov(L[e],r,1)[0]}return rv(L[e])}},r.removeHooks=function(e){mv(L,e)&&(L[e]=[])},r.removeAllHooks=function(){L={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},r}();const eb=Lm("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);var tb=e=>"checkbox"===e.type,rb=e=>e instanceof Date,nb=e=>null==e;const ob=e=>"object"==typeof e;var ab=e=>!nb(e)&&!Array.isArray(e)&&ob(e)&&!rb(e),ib=e=>ab(e)&&e.target?tb(e.target)?e.target.checked:e.target.value:e,sb=(e,t)=>e.has((e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e)(t)),lb="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function cb(e){if(e instanceof Date)return new Date(e);const t="undefined"!=typeof FileList&&e instanceof FileList;if(lb&&(e instanceof Blob||t))return e;const r=Array.isArray(e);if(!(r||ab(e)&&(e=>{const t=e.constructor&&e.constructor.prototype;return ab(t)&&t.hasOwnProperty("isPrototypeOf")})(e)))return e;const n=r?[]:Object.create(Object.getPrototypeOf(e));for(const t in e)Object.prototype.hasOwnProperty.call(e,t)&&(n[t]=cb(e[t]));return n}var ub=e=>/^\w*$/.test(e),db=e=>void 0===e,pb=e=>Array.isArray(e)?e.filter(Boolean):[],fb=e=>pb(e.replace(/["|']|\]/g,"").split(/\.|\[/)),gb=(e,t,r)=>{if(!t||!ab(e))return r;const n=(ub(t)?[t]:fb(t)).reduce((e,t)=>nb(e)?e:e[t],e);return db(n)||n===e?db(e[t])?r:e[t]:n},hb=e=>"boolean"==typeof e,mb=e=>"function"==typeof e,Ab=(e,t,r)=>{let n=-1;const o=ub(t)?[t]:fb(t),a=o.length,i=a-1;for(;++n<a;){const t=o[n];let a=r;if(n!==i){const r=e[t];a=ab(r)||Array.isArray(r)?r:isNaN(+o[n+1])?{}:[]}if("__proto__"===t||"constructor"===t||"prototype"===t)return;e[t]=a,e=e[t]}};const vb="blur",bb="onChange",Cb="onSubmit",wb="all",yb="pattern",xb="required",kb=o.createContext(null);kb.displayName="HookFormControlContext";const Bb=()=>o.useContext(kb);var Eb=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const a in e)Object.defineProperty(o,a,{get:()=>{const o=a;return t._proxyFormState[o]!==wb&&(t._proxyFormState[o]=!n||wb),r&&(r[o]=!0),e[o]}});return o};const Sb="undefined"!=typeof window?o.useLayoutEffect:o.useEffect;function _b(e){const t=Bb(),{control:r=t,disabled:n,name:a,exact:i}=e||{},[s,l]=o.useState(r._formState),c=o.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Sb(()=>r._subscribe({name:a,formState:c.current,exact:i,callback:e=>{!n&&l({...r._formState,...e})}}),[a,n,i]),o.useEffect(()=>{c.current.isValid&&r._setValid(!0)},[r]),o.useMemo(()=>Eb(s,r,c.current,!1),[s,r])}var Ob=e=>"string"==typeof e,Db=(e,t,r,n,o)=>Ob(e)?(n&&t.watch.add(e),gb(r,e,o)):Array.isArray(e)?e.map(e=>(n&&t.watch.add(e),gb(r,e))):(n&&(t.watchAll=!0),r),Nb=e=>nb(e)||!ob(e);function Rb(e,t,r=new WeakSet){if(Nb(e)||Nb(t))return Object.is(e,t);if(rb(e)&&rb(t))return Object.is(e.getTime(),t.getTime());const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const a of n){const n=e[a];if(!o.includes(a))return!1;if("ref"!==a){const e=t[a];if(rb(n)&&rb(e)||ab(n)&&ab(e)||Array.isArray(n)&&Array.isArray(e)?!Rb(n,e,r):!Object.is(n,e))return!1}}return!0}const Tb=e=>e.render(function(e){const t=Bb(),{name:r,disabled:n,control:a=t,shouldUnregister:i,defaultValue:s,exact:l=!0}=e,c=sb(a._names.array,r),u=o.useMemo(()=>gb(a._formValues,r,gb(a._defaultValues,r,s)),[a,r,s]),d=function(e){const t=Bb(),{control:r=t,name:n,defaultValue:a,disabled:i,exact:s,compute:l}=e||{},c=o.useRef(a),u=o.useRef(l),d=o.useRef(void 0),p=o.useRef(r),f=o.useRef(n);u.current=l;const[g,h]=o.useState(()=>{const e=r._getWatch(n,c.current);return u.current?u.current(e):e}),m=o.useCallback(e=>{const t=Db(n,r._names,e||r._formValues,!1,c.current);return u.current?u.current(t):t},[r._formValues,r._names,n]),A=o.useCallback(e=>{if(!i){const t=Db(n,r._names,e||r._formValues,!1,c.current);if(u.current){const e=u.current(t);Rb(e,d.current)||(h(e),d.current=e)}else h(t)}},[r._formValues,r._names,i,n]);Sb(()=>(p.current===r&&Rb(f.current,n)||(p.current=r,f.current=n,A()),r._subscribe({name:n,formState:{values:!0},exact:s,callback:e=>{A(e.values)}})),[r,s,n,A]),o.useEffect(()=>r._removeUnmounted());const v=p.current!==r,b=f.current,C=o.useMemo(()=>{if(i)return null;const e=!v&&!Rb(b,n);return v||e?m():null},[i,v,n,b,m]);return null!==C?C:g}({control:a,name:r,defaultValue:u,exact:l}),p=_b({control:a,name:r,exact:l}),f=o.useRef(e),g=o.useRef(void 0),h=o.useRef(a.register(r,{...e.rules,value:d,...hb(e.disabled)?{disabled:e.disabled}:{}}));f.current=e;const m=o.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!gb(p.errors,r)},isDirty:{enumerable:!0,get:()=>!!gb(p.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!gb(p.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!gb(p.validatingFields,r)},error:{enumerable:!0,get:()=>gb(p.errors,r)}}),[p,r]),A=o.useCallback(e=>h.current.onChange({target:{value:ib(e),name:r},type:"change"}),[r]),v=o.useCallback(()=>h.current.onBlur({target:{value:gb(a._formValues,r),name:r},type:vb}),[r,a._formValues]),b=o.useCallback(e=>{const t=gb(a._fields,r);t&&t._f&&e&&(t._f.ref={focus:()=>mb(e.focus)&&e.focus(),select:()=>mb(e.select)&&e.select(),setCustomValidity:t=>mb(e.setCustomValidity)&&e.setCustomValidity(t),reportValidity:()=>mb(e.reportValidity)&&e.reportValidity()})},[a._fields,r]),C=o.useMemo(()=>({name:r,value:d,...hb(n)||p.disabled?{disabled:p.disabled||n}:{},onChange:A,onBlur:v,ref:b}),[r,n,p.disabled,A,v,b,d]);return o.useEffect(()=>{const e=a._options.shouldUnregister||i,t=g.current;t&&t!==r&&!c&&a.unregister(t),a.register(r,{...f.current.rules,...hb(f.current.disabled)?{disabled:f.current.disabled}:{}});const n=(e,t)=>{const r=gb(a._fields,e);r&&r._f&&(r._f.mount=t)};if(n(r,!0),e){const e=cb(gb(a._options.defaultValues,r,f.current.defaultValue));Ab(a._defaultValues,r,e),db(gb(a._formValues,r))&&Ab(a._formValues,r,e)}return!c&&a.register(r),g.current=r,()=>{(c?e&&!a._state.action:e)?a.unregister(r):n(r,!1)}},[r,a,c,i]),o.useEffect(()=>{a._setDisabledField({disabled:n,name:r})},[n,r,a]),o.useMemo(()=>({field:C,formState:p,fieldState:m}),[C,p,m])}(e)),jb=o.createContext(null);jb.displayName="HookFormContext";var Lb=(e,t,r,n,o)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[n]:o||!0}}:{},Fb=e=>Array.isArray(e)?e:[e],Mb=()=>{let e=[];return{get observers(){return e},next:t=>{for(const r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}};function Pb(e,t){const r={};for(const n in e)if(e.hasOwnProperty(n)){const o=e[n],a=t[n];if(o&&ab(o)&&a){const e=Pb(o,a);ab(e)&&(r[n]=e)}else e[n]&&(r[n]=a)}return r}var Ib=e=>ab(e)&&!Object.keys(e).length,qb=e=>"file"===e.type,zb=e=>{if(!lb)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Ub=e=>"select-multiple"===e.type,$b=e=>"radio"===e.type,Vb=e=>zb(e)&&e.isConnected;function Wb(e,t){const r=Array.isArray(t)?t:ub(t)?[t]:fb(t),n=1===r.length?e:function(e,t){const r=t.slice(0,-1).length;let n=0;for(;n<r;)e=db(e)?n++:e[t[n++]];return e}(e,r),o=r.length-1,a=r[o];return n&&delete n[a],0!==o&&(ab(n)&&Ib(n)||Array.isArray(n)&&function(e){for(const t in e)if(e.hasOwnProperty(t)&&!db(e[t]))return!1;return!0}(n))&&Wb(e,r.slice(0,-1)),e}function Hb(e){return Array.isArray(e)||ab(e)&&!(e=>{for(const t in e)if(mb(e[t]))return!0;return!1})(e)}function Gb(e,t={}){for(const r in e){const n=e[r];Hb(n)?(t[r]=Array.isArray(n)?[]:{},Gb(n,t[r])):db(n)||(t[r]=!0)}return t}function Kb(e,t,r){r||(r=Gb(t));for(const n in e){const o=e[n];if(Hb(o))db(t)||Nb(r[n])?r[n]=Gb(o,Array.isArray(o)?[]:{}):Kb(o,nb(t)?{}:t[n],r[n]);else{const e=t[n];r[n]=!Rb(o,e)}}return r}const Yb={value:!1,isValid:!1},Xb={value:!0,isValid:!0};var Qb=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!db(e[0].attributes.value)?db(e[0].value)||""===e[0].value?Xb:{value:e[0].value,isValid:!0}:Xb:Yb}return Yb},Zb=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:n})=>db(e)?e:t?""===e?NaN:e?+e:e:r&&Ob(e)?new Date(e):n?n(e):e;const Jb={isValid:!1,value:null};var eC=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,Jb):Jb;function tC(e){const t=e.ref;return qb(t)?t.files:$b(t)?eC(e.refs).value:Ub(t)?[...t.selectedOptions].map(({value:e})=>e):tb(t)?Qb(e.refs).value:Zb(db(t.value)?e.ref.value:t.value,e)}var rC=e=>e instanceof RegExp,nC=e=>db(e)?e:rC(e)?e.source:ab(e)?rC(e.value)?e.value.source:e.value:e,oC=e=>({isOnSubmit:!e||e===Cb,isOnBlur:"onBlur"===e,isOnChange:e===bb,isOnAll:e===wb,isOnTouch:"onTouched"===e});const aC="AsyncFunction";var iC=e=>!!e&&!!e.validate&&!!(mb(e.validate)&&e.validate.constructor.name===aC||ab(e.validate)&&Object.values(e.validate).find(e=>e.constructor.name===aC)),sC=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));const lC=(e,t,r,n)=>{for(const o of r||Object.keys(e)){const r=gb(e,o);if(r){const{_f:e,...a}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],o)&&!n)return!0;if(e.ref&&t(e.ref,e.name)&&!n)return!0;if(lC(a,t))break}else if(ab(a)&&lC(a,t))break}}};function cC(e,t,r){const n=gb(e,r);if(n||ub(r))return{error:n,name:r};const o=r.split(".");for(;o.length;){const n=o.join("."),a=gb(t,n),i=gb(e,n);if(a&&!Array.isArray(a)&&r!==n)return{name:r};if(i&&i.type)return{name:n,error:i};if(i&&i.root&&i.root.type)return{name:`${n}.root`,error:i.root};o.pop()}return{name:r}}var uC=(e,t,r)=>{const n=Fb(gb(e,r));return Ab(n,"root",t[r]),Ab(e,r,n),e};function dC(e,t,r="validate"){if(Ob(e)||Array.isArray(e)&&e.every(Ob)||hb(e)&&!e)return{type:r,message:Ob(e)?e:"",ref:t}}var pC=e=>ab(e)&&!rC(e)?e:{value:e,message:""},fC=async(e,t,r,n,o,a)=>{const{ref:i,refs:s,required:l,maxLength:c,minLength:u,min:d,max:p,pattern:f,validate:g,name:h,valueAsNumber:m,mount:A}=e._f,v=gb(r,h);if(!A||t.has(h))return{};const b=s?s[0]:i,C=e=>{o&&b.reportValidity&&(b.setCustomValidity(hb(e)?"":e||""),b.reportValidity())},w={},y=$b(i),x=tb(i),k=y||x,B=(m||qb(i))&&db(i.value)&&db(v)||zb(i)&&""===i.value||""===v||Array.isArray(v)&&!v.length,E=Lb.bind(null,h,n,w),S=(e,t,r,n="maxLength",o="minLength")=>{const a=e?t:r;w[h]={type:e?n:o,message:a,ref:i,...E(e?n:o,a)}};if(a?!Array.isArray(v)||!v.length:l&&(!k&&(B||nb(v))||hb(v)&&!v||x&&!Qb(s).isValid||y&&!eC(s).isValid)){const{value:e,message:t}=Ob(l)?{value:!!l,message:l}:pC(l);if(e&&(w[h]={type:xb,message:t,ref:b,...E(xb,t)},!n))return C(t),w}if(!(B||nb(d)&&nb(p))){let e,t;const r=pC(p),o=pC(d);if(nb(v)||isNaN(v)){const n=i.valueAsDate||new Date(v),a=e=>new Date((new Date).toDateString()+" "+e),s="time"==i.type,l="week"==i.type;Ob(r.value)&&v&&(e=s?a(v)>a(r.value):l?v>r.value:n>new Date(r.value)),Ob(o.value)&&v&&(t=s?a(v)<a(o.value):l?v<o.value:n<new Date(o.value))}else{const n=i.valueAsNumber||(v?+v:v);nb(r.value)||(e=n>r.value),nb(o.value)||(t=n<o.value)}if((e||t)&&(S(!!e,r.message,o.message,"max","min"),!n))return C(w[h].message),w}if((c||u)&&!B&&(Ob(v)||a&&Array.isArray(v))){const e=pC(c),t=pC(u),r=!nb(e.value)&&v.length>+e.value,o=!nb(t.value)&&v.length<+t.value;if((r||o)&&(S(r,e.message,t.message),!n))return C(w[h].message),w}if(f&&!B&&Ob(v)){const{value:e,message:t}=pC(f);if(rC(e)&&!v.match(e)&&(w[h]={type:yb,message:t,ref:i,...E(yb,t)},!n))return C(t),w}if(g)if(mb(g)){const e=dC(await g(v,r),b);if(e&&(w[h]={...e,...E("validate",e.message)},!n))return C(e.message),w}else if(ab(g)){let e={};for(const t in g){if(!Ib(e)&&!n)break;const o=dC(await g[t](v,r),b,t);o&&(e={...o,...E(t,o.message)},C(o.message),n&&(w[h]=e))}if(!Ib(e)&&(w[h]={ref:b,...e},!n))return w}return C(!0),w};const gC={mode:Cb,reValidateMode:bb,shouldFocusError:!0};function hC(e={}){let t,r={...gC,...e},n={submitCount:0,isDirty:!1,isReady:!1,isLoading:mb(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},o={},a=(ab(r.defaultValues)||ab(r.values))&&cb(r.defaultValues||r.values)||{},i=r.shouldUnregister?{}:cb(a),s={action:!1,mount:!1,watch:!1,keepIsValid:!1},l={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={...u};let p={...d};const f={array:Mb(),state:Mb()},g=r.criteriaMode===wb,h=async e=>{if(!s.keepIsValid&&!r.disabled&&(d.isValid||p.isValid||e)){let e;r.resolver?(e=Ib((await b()).errors),m()):e=await C(o,!0),e!==n.isValid&&f.state.next({isValid:e})}},m=(e,t)=>{!r.disabled&&(d.isValidating||d.validatingFields||p.isValidating||p.validatingFields)&&((e||Array.from(l.mount)).forEach(e=>{e&&(t?Ab(n.validatingFields,e,t):Wb(n.validatingFields,e))}),f.state.next({validatingFields:n.validatingFields,isValidating:!Ib(n.validatingFields)}))},A=(e,t,r,n)=>{const l=gb(o,e);if(l){const o=gb(i,e,db(r)?gb(a,e):r);db(o)||n&&n.defaultChecked||t?Ab(i,e,t?o:tC(l._f)):x(e,o),s.mount&&!s.action&&h()}},v=(e,t,o,i,s)=>{let l=!1,c=!1;const u={name:e};if(!r.disabled){if(!o||i){(d.isDirty||p.isDirty)&&(c=n.isDirty,n.isDirty=u.isDirty=w(),l=c!==u.isDirty);const r=Rb(gb(a,e),t);c=!!gb(n.dirtyFields,e),r?Wb(n.dirtyFields,e):Ab(n.dirtyFields,e,!0),u.dirtyFields=n.dirtyFields,l=l||(d.dirtyFields||p.dirtyFields)&&c!==!r}if(o){const t=gb(n.touchedFields,e);t||(Ab(n.touchedFields,e,o),u.touchedFields=n.touchedFields,l=l||(d.touchedFields||p.touchedFields)&&t!==o)}l&&s&&f.state.next(u)}return l?u:{}},b=async e=>{m(e,!0);const t=await r.resolver(i,r.context,((e,t,r,n)=>{const o={};for(const r of e){const e=gb(t,r);e&&Ab(o,r,e._f)}return{criteriaMode:r,names:[...e],fields:o,shouldUseNativeValidation:n}})(e||l.mount,o,r.criteriaMode,r.shouldUseNativeValidation));return t},C=async(t,o,a={valid:!0})=>{for(const s in t){const c=t[s];if(c){const{_f:t,...s}=c;if(t){const s=l.array.has(t.name),u=c._f&&iC(c._f);u&&d.validatingFields&&m([t.name],!0);const p=await fC(c,l.disabled,i,g,r.shouldUseNativeValidation&&!o,s);if(u&&d.validatingFields&&m([t.name]),p[t.name]&&(a.valid=!1,o||e.shouldUseNativeValidation))break;!o&&(gb(p,t.name)?s?uC(n.errors,p,t.name):Ab(n.errors,t.name,p[t.name]):Wb(n.errors,t.name))}!Ib(s)&&await C(s,o,a)}}return a.valid},w=(e,t)=>!r.disabled&&(e&&t&&Ab(i,e,t),!Rb(O(),a)),y=(e,t,r)=>Db(e,l,{...s.mount?i:db(t)?a:Ob(e)?{[e]:t}:t},r,t),x=(e,t,r={})=>{const n=gb(o,e);let a=t;if(n){const r=n._f;r&&(!r.disabled&&Ab(i,e,Zb(t,r)),a=zb(r.ref)&&nb(t)?"":t,Ub(r.ref)?[...r.ref.options].forEach(e=>e.selected=a.includes(e.value)):r.refs?tb(r.ref)?r.refs.forEach(e=>{e.defaultChecked&&e.disabled||(Array.isArray(a)?e.checked=!!a.find(t=>t===e.value):e.checked=a===e.value||!!a)}):r.refs.forEach(e=>e.checked=e.value===a):qb(r.ref)?r.ref.value="":(r.ref.value=a,r.ref.type||f.state.next({name:e,values:cb(i)})))}(r.shouldDirty||r.shouldTouch)&&v(e,a,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&_(e)},k=(e,t,r)=>{for(const n in t){if(!t.hasOwnProperty(n))return;const a=t[n],i=e+"."+n,s=gb(o,i);(l.array.has(e)||ab(a)||s&&!s._f)&&!rb(a)?k(i,a,r):x(i,a,r)}},B=(e,t,r={})=>{const c=gb(o,e),u=l.array.has(e),g=cb(t);Ab(i,e,g),u?(f.array.next({name:e,values:cb(i)}),(d.isDirty||d.dirtyFields||p.isDirty||p.dirtyFields)&&r.shouldDirty&&f.state.next({name:e,dirtyFields:Kb(a,i),isDirty:w(e,g)})):!c||c._f||nb(g)?x(e,g,r):k(e,g,r),sC(e,l)?f.state.next({...n,name:e,values:cb(i)}):f.state.next({name:s.mount?e:void 0,values:cb(i)})},E=async e=>{s.mount=!0;const a=e.target;let u=a.name,A=!0;const w=gb(o,u),y=e=>{A=Number.isNaN(e)||rb(e)&&isNaN(e.getTime())||Rb(e,gb(i,u,e))},x=oC(r.mode),k=oC(r.reValidateMode);if(w){let s,B;const E=a.type?tC(w._f):ib(e),S=e.type===vb||"focusout"===e.type,O=!(e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate))(w._f)&&!r.resolver&&!gb(n.errors,u)&&!w._f.deps||((e,t,r,n,o)=>!o.isOnAll&&(!r&&o.isOnTouch?!(t||e):(r?n.isOnBlur:o.isOnBlur)?!e:!(r?n.isOnChange:o.isOnChange)||e))(S,gb(n.touchedFields,u),n.isSubmitted,k,x),D=sC(u,l,S);Ab(i,u,E),S?a&&a.readOnly||(w._f.onBlur&&w._f.onBlur(e),t&&t(0)):w._f.onChange&&w._f.onChange(e);const N=v(u,E,S),R=!Ib(N)||D;if(!S&&f.state.next({name:u,type:e.type,values:cb(i)}),O)return(d.isValid||p.isValid)&&("onBlur"===r.mode?S&&h():S||h()),R&&f.state.next({name:u,...D?{}:N});if(!S&&D&&f.state.next({...n}),r.resolver){const{errors:e}=await b([u]);if(m([u]),y(E),A){const t=cC(n.errors,o,u),r=cC(e,o,t.name||u);s=r.error,u=r.name,B=Ib(e)}}else m([u],!0),s=(await fC(w,l.disabled,i,g,r.shouldUseNativeValidation))[u],m([u]),y(E),A&&(s?B=!1:(d.isValid||p.isValid)&&(B=await C(o,!0)));A&&(w._f.deps&&(!Array.isArray(w._f.deps)||w._f.deps.length>0)&&_(w._f.deps),((e,o,a,i)=>{const s=gb(n.errors,e),l=(d.isValid||p.isValid)&&hb(o)&&n.isValid!==o;var u;if(r.delayError&&a?(u=()=>((e,t)=>{Ab(n.errors,e,t),f.state.next({errors:n.errors})})(e,a),t=e=>{clearTimeout(c),c=setTimeout(u,e)},t(r.delayError)):(clearTimeout(c),t=null,a?Ab(n.errors,e,a):Wb(n.errors,e)),(a?!Rb(s,a):s)||!Ib(i)||l){const t={...i,...l&&hb(o)?{isValid:o}:{},errors:n.errors,name:e};n={...n,...t},f.state.next(t)}})(u,B,s,N))}},S=(e,t)=>{if(gb(n.errors,t)&&e.focus)return e.focus(),1},_=async(e,t={})=>{let a,i;const s=Fb(e);if(r.resolver){const t=await(async e=>{const{errors:t}=await b(e);if(m(e),e)for(const r of e){const e=gb(t,r);e?Ab(n.errors,r,e):Wb(n.errors,r)}else n.errors=t;return t})(db(e)?e:s);a=Ib(t),i=e?!s.some(e=>gb(t,e)):a}else e?(i=(await Promise.all(s.map(async e=>{const t=gb(o,e);return await C(t&&t._f?{[e]:t}:t)}))).every(Boolean),(i||n.isValid)&&h()):i=a=await C(o);return f.state.next({...!Ob(e)||(d.isValid||p.isValid)&&a!==n.isValid?{}:{name:e},...r.resolver||!e?{isValid:a}:{},errors:n.errors}),t.shouldFocus&&!i&&lC(o,S,e?s:l.mount),i},O=(e,t)=>{let r={...s.mount?i:a};return t&&(r=Pb(t.dirtyFields?n.dirtyFields:n.touchedFields,r)),db(e)?r:Ob(e)?gb(r,e):e.map(e=>gb(r,e))},D=(e,t)=>({invalid:!!gb((t||n).errors,e),isDirty:!!gb((t||n).dirtyFields,e),error:gb((t||n).errors,e),isValidating:!!gb(n.validatingFields,e),isTouched:!!gb((t||n).touchedFields,e)}),N=(e,t,r)=>{const a=(gb(o,e,{_f:{}})._f||{}).ref,i=gb(n.errors,e)||{},{ref:s,message:l,type:c,...u}=i;Ab(n.errors,e,{...u,...t,ref:a}),f.state.next({name:e,errors:n.errors,isValid:!1}),r&&r.shouldFocus&&a&&a.focus&&a.focus()},R=e=>f.state.subscribe({next:t=>{var r,o,s;r=e.name,o=t.name,s=e.exact,r&&o&&r!==o&&!Fb(r).some(e=>e&&(s?e===o:e.startsWith(o)||o.startsWith(e)))||!((e,t,r,n)=>{r(e);const{name:o,...a}=e;return Ib(a)||Object.keys(a).length>=Object.keys(t).length||Object.keys(a).find(e=>t[e]===(!n||wb))})(t,e.formState||d,q,e.reRenderRoot)||e.callback({values:{...i},...n,...t,defaultValues:a})}}).unsubscribe,T=(e,t={})=>{for(const s of e?Fb(e):l.mount)l.mount.delete(s),l.array.delete(s),t.keepValue||(Wb(o,s),Wb(i,s)),!t.keepError&&Wb(n.errors,s),!t.keepDirty&&Wb(n.dirtyFields,s),!t.keepTouched&&Wb(n.touchedFields,s),!t.keepIsValidating&&Wb(n.validatingFields,s),!r.shouldUnregister&&!t.keepDefaultValue&&Wb(a,s);f.state.next({values:cb(i)}),f.state.next({...n,...t.keepDirty?{isDirty:w()}:{}}),!t.keepIsValid&&h()},j=({disabled:e,name:t})=>{if(hb(e)&&s.mount||e||l.disabled.has(t)){const r=l.disabled.has(t)!==!!e;e?l.disabled.add(t):l.disabled.delete(t),r&&s.mount&&!s.action&&h()}},L=(e,t={})=>{let n=gb(o,e);const i=hb(t.disabled)||hb(r.disabled);return Ab(o,e,{...n||{},_f:{...n&&n._f?n._f:{ref:{name:e}},name:e,mount:!0,...t}}),l.mount.add(e),n?j({disabled:hb(t.disabled)?t.disabled:r.disabled,name:e}):A(e,!0,t.value),{...i?{disabled:t.disabled||r.disabled}:{},...r.progressive?{required:!!t.required,min:nC(t.min),max:nC(t.max),minLength:nC(t.minLength),maxLength:nC(t.maxLength),pattern:nC(t.pattern)}:{},name:e,onChange:E,onBlur:E,ref:i=>{if(i){L(e,t),n=gb(o,e);const r=db(i.value)&&i.querySelectorAll&&i.querySelectorAll("input,select,textarea")[0]||i,s=(e=>$b(e)||tb(e))(r),l=n._f.refs||[];if(s?l.find(e=>e===r):r===n._f.ref)return;Ab(o,e,{_f:{...n._f,...s?{refs:[...l.filter(Vb),r,...Array.isArray(gb(a,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),A(e,!1,void 0,r)}else n=gb(o,e,{}),n._f&&(n._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&(!sb(l.array,e)||!s.action)&&l.unMount.add(e)}}},F=()=>r.shouldFocusError&&lC(o,S,l.mount),M=(e,t)=>async a=>{let s;a&&(a.preventDefault&&a.preventDefault(),a.persist&&a.persist());let c=cb(i);if(f.state.next({isSubmitting:!0}),r.resolver){const{errors:e,values:t}=await b();m(),n.errors=e,c=cb(t)}else await C(o);if(l.disabled.size)for(const e of l.disabled)Wb(c,e);if(Wb(n.errors,"root"),Ib(n.errors)){f.state.next({errors:{}});try{await e(c,a)}catch(e){s=e}}else t&&await t({...n.errors},a),F(),setTimeout(F);if(f.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:Ib(n.errors)&&!s,submitCount:n.submitCount+1,errors:n.errors}),s)throw s},P=(e,t={})=>{const c=e?cb(e):a,u=cb(c),p=Ib(e),g=p?a:u;if(t.keepDefaultValues||(a=c),!t.keepValues){if(t.keepDirtyValues){const e=new Set([...l.mount,...Object.keys(Kb(a,i))]);for(const t of Array.from(e)){const e=gb(n.dirtyFields,t),r=gb(i,t),o=gb(g,t);e&&!db(r)?Ab(g,t,r):e||db(o)||B(t,o)}}else{if(lb&&db(e))for(const e of l.mount){const t=gb(o,e);if(t&&t._f){const e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(zb(e)){const t=e.closest("form");if(t){t.reset();break}}}}if(t.keepFieldsRef)for(const e of l.mount)B(e,gb(g,e));else o={}}i=r.shouldUnregister?t.keepDefaultValues?cb(a):{}:cb(g),f.array.next({values:{...g}}),f.state.next({values:{...g}})}l={mount:t.keepDirtyValues?l.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},s.mount=!d.isValid||!!t.keepIsValid||!!t.keepDirtyValues||!r.shouldUnregister&&!Ib(g),s.watch=!!r.shouldUnregister,s.keepIsValid=!!t.keepIsValid,s.action=!1,t.keepErrors||(n.errors={}),f.state.next({submitCount:t.keepSubmitCount?n.submitCount:0,isDirty:!p&&(t.keepDirty?n.isDirty:!(!t.keepDefaultValues||Rb(e,a))),isSubmitted:!!t.keepIsSubmitted&&n.isSubmitted,dirtyFields:p?{}:t.keepDirtyValues?t.keepDefaultValues&&i?Kb(a,i):n.dirtyFields:t.keepDefaultValues&&e?Kb(a,e):t.keepDirty?n.dirtyFields:{},touchedFields:t.keepTouched?n.touchedFields:{},errors:t.keepErrors?n.errors:{},isSubmitSuccessful:!!t.keepIsSubmitSuccessful&&n.isSubmitSuccessful,isSubmitting:!1,defaultValues:a})},I=(e,t)=>P(mb(e)?e(i):e,{...r.resetOptions,...t}),q=e=>{n={...n,...e}},z={control:{register:L,unregister:T,getFieldState:D,handleSubmit:M,setError:N,_subscribe:R,_runSchema:b,_updateIsValidating:m,_focusError:F,_getWatch:y,_getDirty:w,_setValid:h,_setFieldArray:(e,t=[],l,c,u=!0,g=!0)=>{if(c&&l&&!r.disabled){if(s.action=!0,g&&Array.isArray(gb(o,e))){const t=l(gb(o,e),c.argA,c.argB);u&&Ab(o,e,t)}if(g&&Array.isArray(gb(n.errors,e))){const t=l(gb(n.errors,e),c.argA,c.argB);u&&Ab(n.errors,e,t),((e,t)=>{!pb(gb(e,t)).length&&Wb(e,t)})(n.errors,e)}if((d.touchedFields||p.touchedFields)&&g&&Array.isArray(gb(n.touchedFields,e))){const t=l(gb(n.touchedFields,e),c.argA,c.argB);u&&Ab(n.touchedFields,e,t)}(d.dirtyFields||p.dirtyFields)&&(n.dirtyFields=Kb(a,i)),f.state.next({name:e,isDirty:w(e,t),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else Ab(i,e,t)},_setDisabledField:j,_setErrors:e=>{n.errors=e,f.state.next({errors:n.errors,isValid:!1})},_getFieldArray:e=>pb(gb(s.mount?i:a,e,r.shouldUnregister?gb(a,e,[]):[])),_reset:P,_resetDefaultValues:()=>mb(r.defaultValues)&&r.defaultValues().then(e=>{I(e,r.resetOptions),f.state.next({isLoading:!1})}),_removeUnmounted:()=>{for(const e of l.unMount){const t=gb(o,e);t&&(t._f.refs?t._f.refs.every(e=>!Vb(e)):!Vb(t._f.ref))&&T(e)}l.unMount=new Set},_disableForm:e=>{hb(e)&&(f.state.next({disabled:e}),lC(o,(t,r)=>{const n=gb(o,r);n&&(t.disabled=n._f.disabled||e,Array.isArray(n._f.refs)&&n._f.refs.forEach(t=>{t.disabled=n._f.disabled||e}))},0,!1))},_subjects:f,_proxyFormState:d,get _fields(){return o},get _formValues(){return i},get _state(){return s},set _state(e){s=e},get _defaultValues(){return a},get _names(){return l},set _names(e){l=e},get _formState(){return n},get _options(){return r},set _options(e){r={...r,...e}}},subscribe:e=>(s.mount=!0,p={...p,...e.formState},R({...e,formState:{...u,...e.formState}})),trigger:_,register:L,handleSubmit:M,watch:(e,t)=>mb(e)?f.state.subscribe({next:r=>"values"in r&&e(y(void 0,t),r)}):y(e,t,!0),setValue:B,getValues:O,reset:I,resetField:(e,t={})=>{gb(o,e)&&(db(t.defaultValue)?B(e,cb(gb(a,e))):(B(e,t.defaultValue),Ab(a,e,cb(t.defaultValue))),t.keepTouched||Wb(n.touchedFields,e),t.keepDirty||(Wb(n.dirtyFields,e),n.isDirty=t.defaultValue?w(e,cb(gb(a,e))):w()),t.keepError||(Wb(n.errors,e),d.isValid&&h()),f.state.next({...n}))},clearErrors:e=>{const t=e?Fb(e):void 0;null==t||t.forEach(e=>Wb(n.errors,e)),t?t.forEach(e=>{f.state.next({name:e,errors:n.errors})}):f.state.next({errors:{}})},unregister:T,setError:N,setFocus:(e,t={})=>{const r=gb(o,e),n=r&&r._f;if(n){const e=n.refs?n.refs[0]:n.ref;e.focus&&setTimeout(()=>{e.focus(),t.shouldSelect&&mb(e.select)&&e.select()})}},getFieldState:D};return{...z,formControl:z}}function mC(e){const t=o.useRef({value:e,previous:e});return o.useMemo(()=>(t.current.value!==e&&(t.current.previous=t.current.value,t.current.value=e),t.current.previous),[e])}var AC="Checkbox",[vC,bC]=Ks(AC),[CC,wC]=vC(AC);function yC(e){const{__scopeCheckbox:r,checked:n,children:a,defaultChecked:i,disabled:s,form:l,name:c,onCheckedChange:u,required:d,value:p="on",internal_do_not_use_render:f}=e,[g,h]=tl({prop:n,defaultProp:i??!1,onChange:u,caller:AC}),[m,A]=o.useState(null),[v,b]=o.useState(null),C=o.useRef(!1),w=!m||!!l||!!m.closest("form"),y={checked:g,disabled:s,setChecked:h,control:m,setControl:A,name:c,form:l,value:p,hasConsumerStoppedPropagationRef:C,required:d,defaultChecked:!NC(i)&&i,isFormControl:w,bubbleInput:v,setBubbleInput:b};return(0,t.jsx)(CC,{scope:r,...y,children:DC(f)?f(y):a})}var xC="CheckboxTrigger",kC=o.forwardRef(({__scopeCheckbox:e,onKeyDown:r,onClick:n,...a},i)=>{const{control:s,value:l,disabled:c,checked:u,required:d,setControl:p,setChecked:f,hasConsumerStoppedPropagationRef:g,isFormControl:h,bubbleInput:m}=wC(xC,e),A=Gs(i,p),v=o.useRef(u);return o.useEffect(()=>{const e=s?.form;if(e){const t=()=>f(v.current);return e.addEventListener("reset",t),()=>e.removeEventListener("reset",t)}},[s,f]),(0,t.jsx)(il.button,{type:"button",role:"checkbox","aria-checked":NC(u)?"mixed":u,"aria-required":d,"data-state":RC(u),"data-disabled":c?"":void 0,disabled:c,value:l,...a,ref:A,onKeyDown:Vs(r,e=>{"Enter"===e.key&&e.preventDefault()}),onClick:Vs(n,e=>{f(e=>!!NC(e)||!e),m&&h&&(g.current=e.isPropagationStopped(),g.current||e.stopPropagation())})})});kC.displayName=xC;var BC=o.forwardRef((e,r)=>{const{__scopeCheckbox:n,name:o,checked:a,defaultChecked:i,required:s,disabled:l,value:c,onCheckedChange:u,form:d,...p}=e;return(0,t.jsx)(yC,{__scopeCheckbox:n,checked:a,defaultChecked:i,disabled:l,required:s,onCheckedChange:u,name:o,form:d,value:c,internal_do_not_use_render:({isFormControl:e})=>(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(kC,{...p,ref:r,__scopeCheckbox:n}),e&&(0,t.jsx)(OC,{__scopeCheckbox:n})]})})});BC.displayName=AC;var EC="CheckboxIndicator",SC=o.forwardRef((e,r)=>{const{__scopeCheckbox:n,forceMount:o,...a}=e,i=wC(EC,n);return(0,t.jsx)(Bl,{present:o||NC(i.checked)||!0===i.checked,children:(0,t.jsx)(il.span,{"data-state":RC(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:r,style:{pointerEvents:"none",...e.style}})})});SC.displayName=EC;var _C="CheckboxBubbleInput",OC=o.forwardRef(({__scopeCheckbox:e,...r},n)=>{const{control:a,hasConsumerStoppedPropagationRef:i,checked:s,defaultChecked:l,required:c,disabled:u,name:d,value:p,form:f,bubbleInput:g,setBubbleInput:h}=wC(_C,e),m=Gs(n,h),A=mC(s),v=wf(a);o.useEffect(()=>{const e=g;if(!e)return;const t=window.HTMLInputElement.prototype,r=Object.getOwnPropertyDescriptor(t,"checked").set,n=!i.current;if(A!==s&&r){const t=new Event("click",{bubbles:n});e.indeterminate=NC(s),r.call(e,!NC(s)&&s),e.dispatchEvent(t)}},[g,A,s,i]);const b=o.useRef(!NC(s)&&s);return(0,t.jsx)(il.input,{type:"checkbox","aria-hidden":!0,defaultChecked:l??b.current,required:c,disabled:u,name:d,value:p,form:f,...r,tabIndex:-1,ref:m,style:{...r.style,...v,position:"absolute",pointerEvents:"none",opacity:0,margin:0,transform:"translateX(-100%)"}})});function DC(e){return"function"==typeof e}function NC(e){return"indeterminate"===e}function RC(e){return NC(e)?"indeterminate":e?"checked":"unchecked"}OC.displayName=_C;function TC(e){var{className:r}=e,n=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["className"]);return(0,t.jsx)(BC,Object.assign({"data-slot":"checkbox",className:kd("aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive shadow-xs peer size-4 shrink-0 rounded-[4px] border border-gray-200 outline-none transition-shadow focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=checked]:text-primary-foreground dark:border-input dark:bg-input/30 dark:data-[state=checked]:bg-primary",r)},n,{children:(0,t.jsx)(SC,{"data-slot":"checkbox-indicator",className:"flex items-center justify-center text-current transition-none",children:(0,t.jsx)(eb,{className:"size-3.5"})})}))}var jC=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const LC=e=>{const{children:t,watch:r,getValues:n,getFieldState:a,setError:i,clearErrors:s,setValue:l,trigger:c,formState:u,resetField:d,reset:p,handleSubmit:f,unregister:g,control:h,register:m,setFocus:A,subscribe:v}=e;return o.createElement(jb.Provider,{value:o.useMemo(()=>({watch:r,getValues:n,getFieldState:a,setError:i,clearErrors:s,setValue:l,trigger:c,formState:u,resetField:d,reset:p,handleSubmit:f,unregister:g,control:h,register:m,setFocus:A,subscribe:v}),[s,h,u,a,n,f,m,p,d,i,A,l,v,c,g,r])},o.createElement(kb.Provider,{value:h},t))},FC=(0,o.createContext)({}),MC=e=>{var r=jC(e,[]);return(0,t.jsx)(FC.Provider,{value:{name:r.name},children:(0,t.jsx)(Tb,Object.assign({},r))})},PC=(0,o.createContext)({}),IC=()=>{const e=(0,o.useContext)(FC),t=(0,o.useContext)(PC),{getFieldState:r}=o.useContext(jb),n=_b({name:e.name}),a=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:i}=t;return Object.assign({id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`},a)};function qC(e){var{className:r}=e,n=jC(e,["className"]);const a=(0,o.useId)();return(0,t.jsx)(PC.Provider,{value:{id:a},children:(0,t.jsx)("div",Object.assign({"data-slot":"form-item",className:kd("grid gap-2",r)},n))})}function zC(e){var r=jC(e,[]);const{error:n,formItemId:o,formDescriptionId:a,formMessageId:i}=IC();return(0,t.jsx)(zm,Object.assign({"data-slot":"form-control",id:o,"aria-describedby":n?`${a} ${i}`:`${a}`,"aria-invalid":!!n},r))}function UC(e){var r,{className:n}=e,o=jC(e,["className"]);const{error:a,formMessageId:i}=IC(),s=a?String(null!==(r=null==a?void 0:a.message)&&void 0!==r?r:""):o.children;return s?(0,t.jsx)("p",Object.assign({"data-slot":"form-message",id:i,className:kd("text-warning text-sm",n)},o,{children:s})):null}function $C(e){var{className:r}=e,n=jC(e,["className"]);const{formItemId:o}=IC();return(0,t.jsx)("label",Object.assign({"data-slot":"form-label",htmlFor:o,className:kd("text-sm font-medium leading-5 text-foreground",r)},n))}const VC="focus-visible:ring-ring focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:outline-none",WC="aria-invalid:ring-destructive/20";const HC=Km(["placeholder:text-foreground-muted shadow-xs w-full min-w-0 rounded-md border border-gray-200 bg-transparent px-3 text-sm leading-5 text-foreground outline-none transition-[color,box-shadow] selection:bg-primary selection:text-primary-foreground file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 dark:border-input md:text-sm",VC,WC],{defaultVariants:{size:"md"},variants:{size:{sm:"h-9 py-2",md:"h-10 py-2.5"}}}),GC=(0,o.forwardRef)((e,r)=>{var{className:n,type:o,size:a}=e,i=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["className","type","size"]);const s=X(Oa);return(0,t.jsx)("input",Object.assign({ref:r,type:o,"data-slot":"input",className:kd(HC({size:a}),n,{"text-md":s})},i))});function KC(e,[t,r]){return Math.min(r,Math.max(t,e))}function YC(e){const r=XC(e),n=o.forwardRef((e,n)=>{const{children:a,...i}=e,s=o.Children.toArray(a),l=s.find(ZC);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}function XC(e){const t=o.forwardRef((e,t)=>{const{children:r,...n}=e;if(o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}GC.displayName="Input";var QC=Symbol("radix.slottable");function ZC(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===QC}Map;var JC=o.createContext(void 0);function ew(e){const t=o.useContext(JC);return e||t||"ltr"}function tw(e){const t=o.forwardRef((e,t)=>{const{children:r,...n}=e;if(o.isValidElement(r)){const e=function(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}(r),a=function(e,t){const r={...t};for(const n in t){const o=e[n],a=t[n];/^on[A-Z]/.test(n)?o&&a?r[n]=(...e)=>{const t=a(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...a}:"className"===n&&(r[n]=[o,a].filter(Boolean).join(" "))}return{...e,...r}}(n,r.props);return r.type!==o.Fragment&&(a.ref=t?Hs(t,e):e),o.cloneElement(r,a)}return o.Children.count(r)>1?o.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var rw=Symbol("radix.slottable");function nw(e){return o.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===rw}var ow=Object.freeze({position:"absolute",border:0,width:1,height:1,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",wordWrap:"normal"});o.forwardRef((e,r)=>(0,t.jsx)(il.span,{...e,ref:r,style:{...ow,...e.style}})).displayName="VisuallyHidden";var aw=[" ","Enter","ArrowUp","ArrowDown"],iw=[" ","Enter"],sw="Select",[lw,cw,uw]=function(e){const r=e+"CollectionProvider",[n,a]=Ks(r),[i,s]=n(r,{collectionRef:{current:null},itemMap:new Map}),l=e=>{const{scope:r,children:n}=e,a=o.useRef(null),s=o.useRef(new Map).current;return(0,t.jsx)(i,{scope:r,itemMap:s,collectionRef:a,children:n})};l.displayName=r;const c=e+"CollectionSlot",u=YC(c),d=o.forwardRef((e,r)=>{const{scope:n,children:o}=e,a=Gs(r,s(c,n).collectionRef);return(0,t.jsx)(u,{ref:a,children:o})});d.displayName=c;const p=e+"CollectionItemSlot",f="data-radix-collection-item",g=YC(p),h=o.forwardRef((e,r)=>{const{scope:n,children:a,...i}=e,l=o.useRef(null),c=Gs(r,l),u=s(p,n);return o.useEffect(()=>(u.itemMap.set(l,{ref:l,...i}),()=>{u.itemMap.delete(l)})),(0,t.jsx)(g,{[f]:"",ref:c,children:a})});return h.displayName=p,[{Provider:l,Slot:d,ItemSlot:h},function(t){const r=s(e+"CollectionConsumer",t),n=o.useCallback(()=>{const e=r.collectionRef.current;if(!e)return[];const t=Array.from(e.querySelectorAll(`[${f}]`)),n=Array.from(r.itemMap.values()).sort((e,r)=>t.indexOf(e.ref.current)-t.indexOf(r.ref.current));return n},[r.collectionRef,r.itemMap]);return n},a]}(sw),[dw,pw]=Ks(sw,[uw,kf]),fw=kf(),[gw,hw]=dw(sw),[mw,Aw]=dw(sw),vw=e=>{const{__scopeSelect:r,children:n,open:a,defaultOpen:i,onOpenChange:s,value:l,defaultValue:c,onValueChange:u,dir:d,name:p,autoComplete:f,disabled:g,required:h,form:m}=e,A=fw(r),[v,b]=o.useState(null),[C,w]=o.useState(null),[y,x]=o.useState(!1),k=ew(d),[B,E]=tl({prop:a,defaultProp:i??!1,onChange:s,caller:sw}),[S,_]=tl({prop:l,defaultProp:c,onChange:u,caller:sw}),O=o.useRef(null),D=!v||m||!!v.closest("form"),[N,R]=o.useState(new Set),T=Array.from(N).map(e=>e.props.value).join(";");return(0,t.jsx)(qf,{...A,children:(0,t.jsxs)(gw,{required:h,scope:r,trigger:v,onTriggerChange:b,valueNode:C,onValueNodeChange:w,valueNodeHasChildren:y,onValueNodeHasChildrenChange:x,contentId:Js(),value:S,onValueChange:_,open:B,onOpenChange:E,dir:k,triggerPointerDownPosRef:O,disabled:g,children:[(0,t.jsx)(lw.Provider,{scope:r,children:(0,t.jsx)(mw,{scope:e.__scopeSelect,onNativeOptionAdd:o.useCallback(e=>{R(t=>new Set(t).add(e))},[]),onNativeOptionRemove:o.useCallback(e=>{R(t=>{const r=new Set(t);return r.delete(e),r})},[]),children:n})}),D?(0,t.jsxs)(oy,{"aria-hidden":!0,required:h,tabIndex:-1,name:p,autoComplete:f,value:S,onChange:e=>_(e.target.value),disabled:g,form:m,children:[void 0===S?(0,t.jsx)("option",{value:""}):null,Array.from(N)]},T):null]})})};vw.displayName=sw;var bw="SelectTrigger",Cw=o.forwardRef((e,r)=>{const{__scopeSelect:n,disabled:a=!1,...i}=e,s=fw(n),l=hw(bw,n),c=l.disabled||a,u=Gs(r,l.onTriggerChange),d=cw(n),p=o.useRef("touch"),[f,g,h]=iy(e=>{const t=d().filter(e=>!e.disabled),r=t.find(e=>e.value===l.value),n=sy(t,e,r);void 0!==n&&l.onValueChange(n.value)}),m=e=>{c||(l.onOpenChange(!0),h()),e&&(l.triggerPointerDownPosRef.current={x:Math.round(e.pageX),y:Math.round(e.pageY)})};return(0,t.jsx)(zf,{asChild:!0,...s,children:(0,t.jsx)(il.button,{type:"button",role:"combobox","aria-controls":l.contentId,"aria-expanded":l.open,"aria-required":l.required,"aria-autocomplete":"none",dir:l.dir,"data-state":l.open?"open":"closed",disabled:c,"data-disabled":c?"":void 0,"data-placeholder":ay(l.value)?"":void 0,...i,ref:u,onClick:Vs(i.onClick,e=>{e.currentTarget.focus(),"mouse"!==p.current&&m(e)}),onPointerDown:Vs(i.onPointerDown,e=>{p.current=e.pointerType;const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),0===e.button&&!1===e.ctrlKey&&"mouse"===e.pointerType&&(m(e),e.preventDefault())}),onKeyDown:Vs(i.onKeyDown,e=>{const t=""!==f.current;e.ctrlKey||e.altKey||e.metaKey||1!==e.key.length||g(e.key),t&&" "===e.key||aw.includes(e.key)&&(m(),e.preventDefault())})})})});Cw.displayName=bw;var ww="SelectValue",yw=o.forwardRef((e,r)=>{const{__scopeSelect:n,className:o,style:a,children:i,placeholder:s="",...l}=e,c=hw(ww,n),{onValueNodeHasChildrenChange:u}=c,d=void 0!==i,p=Gs(r,c.onValueNodeChange);return Xs(()=>{u(d)},[u,d]),(0,t.jsx)(il.span,{...l,ref:p,style:{pointerEvents:"none"},children:ay(c.value)?(0,t.jsx)(t.Fragment,{children:s}):i})});yw.displayName=ww;var xw=o.forwardRef((e,r)=>{const{__scopeSelect:n,children:o,...a}=e;return(0,t.jsx)(il.span,{"aria-hidden":!0,...a,ref:r,children:o||"▼"})});xw.displayName="SelectIcon";var kw=e=>(0,t.jsx)(kl,{asChild:!0,...e});kw.displayName="SelectPortal";var Bw="SelectContent",Ew=o.forwardRef((e,r)=>{const n=hw(Bw,e.__scopeSelect),[a,i]=o.useState();if(Xs(()=>{i(new DocumentFragment)},[]),!n.open){const r=a;return r?rl.createPortal((0,t.jsx)(_w,{scope:e.__scopeSelect,children:(0,t.jsx)(lw.Slot,{scope:e.__scopeSelect,children:(0,t.jsx)("div",{children:e.children})})}),r):null}return(0,t.jsx)(Nw,{...e,ref:r})});Ew.displayName=Bw;var Sw=10,[_w,Ow]=dw(Bw),Dw=function(e){const r=tw(e),n=o.forwardRef((e,n)=>{const{children:a,...i}=e,s=o.Children.toArray(a),l=s.find(nw);if(l){const e=l.props.children,a=s.map(t=>t===l?o.Children.count(e)>1?o.Children.only(null):o.isValidElement(e)?e.props.children:null:t);return(0,t.jsx)(r,{...i,ref:n,children:o.isValidElement(e)?o.cloneElement(e,void 0,a):null})}return(0,t.jsx)(r,{...i,ref:n,children:a})});return n.displayName=`${e}.Slot`,n}("SelectContent.RemoveScroll"),Nw=o.forwardRef((e,r)=>{const{__scopeSelect:n,position:a="item-aligned",onCloseAutoFocus:i,onEscapeKeyDown:s,onPointerDownOutside:l,side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:f,collisionBoundary:g,collisionPadding:h,sticky:m,hideWhenDetached:A,avoidCollisions:v,...b}=e,C=hw(Bw,n),[w,y]=o.useState(null),[x,k]=o.useState(null),B=Gs(r,e=>y(e)),[E,S]=o.useState(null),[_,O]=o.useState(null),D=cw(n),[N,R]=o.useState(!1),T=o.useRef(!1);o.useEffect(()=>{if(w)return wc(w)},[w]),_l();const j=o.useCallback(e=>{const[t,...r]=D().map(e=>e.ref.current),[n]=r.slice(-1),o=document.activeElement;for(const r of e){if(r===o)return;if(r?.scrollIntoView({block:"nearest"}),r===t&&x&&(x.scrollTop=0),r===n&&x&&(x.scrollTop=x.scrollHeight),r?.focus(),document.activeElement!==o)return}},[D,x]),L=o.useCallback(()=>j([E,w]),[j,E,w]);o.useEffect(()=>{N&&L()},[N,L]);const{onOpenChange:F,triggerPointerDownPosRef:M}=C;o.useEffect(()=>{if(w){let e={x:0,y:0};const t=t=>{e={x:Math.abs(Math.round(t.pageX)-(M.current?.x??0)),y:Math.abs(Math.round(t.pageY)-(M.current?.y??0))}},r=r=>{e.x<=10&&e.y<=10?r.preventDefault():w.contains(r.target)||F(!1),document.removeEventListener("pointermove",t),M.current=null};return null!==M.current&&(document.addEventListener("pointermove",t),document.addEventListener("pointerup",r,{capture:!0,once:!0})),()=>{document.removeEventListener("pointermove",t),document.removeEventListener("pointerup",r,{capture:!0})}}},[w,F,M]),o.useEffect(()=>{const e=()=>F(!1);return window.addEventListener("blur",e),window.addEventListener("resize",e),()=>{window.removeEventListener("blur",e),window.removeEventListener("resize",e)}},[F]);const[P,I]=iy(e=>{const t=D().filter(e=>!e.disabled),r=t.find(e=>e.ref.current===document.activeElement),n=sy(t,e,r);n&&setTimeout(()=>n.ref.current.focus())}),q=o.useCallback((e,t,r)=>{const n=!T.current&&!r;(void 0!==C.value&&C.value===t||n)&&(S(e),n&&(T.current=!0))},[C.value]),z=o.useCallback(()=>w?.focus(),[w]),U=o.useCallback((e,t,r)=>{const n=!T.current&&!r;(void 0!==C.value&&C.value===t||n)&&O(e)},[C.value]),$="popper"===a?Tw:Rw,V=$===Tw?{side:c,sideOffset:u,align:d,alignOffset:p,arrowPadding:f,collisionBoundary:g,collisionPadding:h,sticky:m,hideWhenDetached:A,avoidCollisions:v}:{};return(0,t.jsx)(_w,{scope:n,content:w,viewport:x,onViewportChange:k,itemRefCallback:q,selectedItem:E,onItemLeave:z,itemTextRefCallback:U,focusSelectedItem:L,selectedItemText:_,position:a,isPositioned:N,searchRef:P,children:(0,t.jsx)(hc,{as:Dw,allowPinchZoom:!0,children:(0,t.jsx)(Al,{asChild:!0,trapped:C.open,onMountAutoFocus:e=>{e.preventDefault()},onUnmountAutoFocus:Vs(i,e=>{C.trigger?.focus({preventScroll:!0}),e.preventDefault()}),children:(0,t.jsx)(dl,{asChild:!0,disableOutsidePointerEvents:!0,onEscapeKeyDown:s,onPointerDownOutside:l,onFocusOutside:e=>e.preventDefault(),onDismiss:()=>C.onOpenChange(!1),children:(0,t.jsx)($,{role:"listbox",id:C.contentId,"data-state":C.open?"open":"closed",dir:C.dir,onContextMenu:e=>e.preventDefault(),...b,...V,onPlaced:()=>R(!0),ref:B,style:{display:"flex",flexDirection:"column",outline:"none",...b.style},onKeyDown:Vs(b.onKeyDown,e=>{const t=e.ctrlKey||e.altKey||e.metaKey;if("Tab"===e.key&&e.preventDefault(),t||1!==e.key.length||I(e.key),["ArrowUp","ArrowDown","Home","End"].includes(e.key)){let t=D().filter(e=>!e.disabled).map(e=>e.ref.current);if(["ArrowUp","End"].includes(e.key)&&(t=t.slice().reverse()),["ArrowUp","ArrowDown"].includes(e.key)){const r=e.target,n=t.indexOf(r);t=t.slice(n+1)}setTimeout(()=>j(t)),e.preventDefault()}})})})})})})});Nw.displayName="SelectContentImpl";var Rw=o.forwardRef((e,r)=>{const{__scopeSelect:n,onPlaced:a,...i}=e,s=hw(Bw,n),l=Ow(Bw,n),[c,u]=o.useState(null),[d,p]=o.useState(null),f=Gs(r,e=>p(e)),g=cw(n),h=o.useRef(!1),m=o.useRef(!0),{viewport:A,selectedItem:v,selectedItemText:b,focusSelectedItem:C}=l,w=o.useCallback(()=>{if(s.trigger&&s.valueNode&&c&&d&&A&&v&&b){const e=s.trigger.getBoundingClientRect(),t=d.getBoundingClientRect(),r=s.valueNode.getBoundingClientRect(),n=b.getBoundingClientRect();if("rtl"!==s.dir){const o=n.left-t.left,a=r.left-o,i=e.left-a,s=e.width+i,l=Math.max(s,t.width),u=window.innerWidth-Sw,d=KC(a,[Sw,Math.max(Sw,u-l)]);c.style.minWidth=s+"px",c.style.left=d+"px"}else{const o=t.right-n.right,a=window.innerWidth-r.right-o,i=window.innerWidth-e.right-a,s=e.width+i,l=Math.max(s,t.width),u=window.innerWidth-Sw,d=KC(a,[Sw,Math.max(Sw,u-l)]);c.style.minWidth=s+"px",c.style.right=d+"px"}const o=g(),i=window.innerHeight-2*Sw,l=A.scrollHeight,u=window.getComputedStyle(d),p=parseInt(u.borderTopWidth,10),f=parseInt(u.paddingTop,10),m=parseInt(u.borderBottomWidth,10),C=p+f+l+parseInt(u.paddingBottom,10)+m,w=Math.min(5*v.offsetHeight,C),y=window.getComputedStyle(A),x=parseInt(y.paddingTop,10),k=parseInt(y.paddingBottom,10),B=e.top+e.height/2-Sw,E=i-B,S=v.offsetHeight/2,_=p+f+(v.offsetTop+S),O=C-_;if(_<=B){const e=o.length>0&&v===o[o.length-1].ref.current;c.style.bottom="0px";const t=d.clientHeight-A.offsetTop-A.offsetHeight,r=_+Math.max(E,S+(e?k:0)+t+m);c.style.height=r+"px"}else{const e=o.length>0&&v===o[0].ref.current;c.style.top="0px";const t=Math.max(B,p+A.offsetTop+(e?x:0)+S)+O;c.style.height=t+"px",A.scrollTop=_-B+A.offsetTop}c.style.margin=`${Sw}px 0`,c.style.minHeight=w+"px",c.style.maxHeight=i+"px",a?.(),requestAnimationFrame(()=>h.current=!0)}},[g,s.trigger,s.valueNode,c,d,A,v,b,s.dir,a]);Xs(()=>w(),[w]);const[y,x]=o.useState();Xs(()=>{d&&x(window.getComputedStyle(d).zIndex)},[d]);const k=o.useCallback(e=>{e&&!0===m.current&&(w(),C?.(),m.current=!1)},[w,C]);return(0,t.jsx)(jw,{scope:n,contentWrapper:c,shouldExpandOnScrollRef:h,onScrollButtonChange:k,children:(0,t.jsx)("div",{ref:u,style:{display:"flex",flexDirection:"column",position:"fixed",zIndex:y},children:(0,t.jsx)(il.div,{...i,ref:f,style:{boxSizing:"border-box",maxHeight:"100%",...i.style}})})})});Rw.displayName="SelectItemAlignedPosition";var Tw=o.forwardRef((e,r)=>{const{__scopeSelect:n,align:o="start",collisionPadding:a=Sw,...i}=e,s=fw(n);return(0,t.jsx)(Uf,{...s,...i,ref:r,align:o,collisionPadding:a,style:{boxSizing:"border-box",...i.style,"--radix-select-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-select-content-available-width":"var(--radix-popper-available-width)","--radix-select-content-available-height":"var(--radix-popper-available-height)","--radix-select-trigger-width":"var(--radix-popper-anchor-width)","--radix-select-trigger-height":"var(--radix-popper-anchor-height)"}})});Tw.displayName="SelectPopperPosition";var[jw,Lw]=dw(Bw,{}),Fw="SelectViewport",Mw=o.forwardRef((e,r)=>{const{__scopeSelect:n,nonce:a,...i}=e,s=Ow(Fw,n),l=Lw(Fw,n),c=Gs(r,s.onViewportChange),u=o.useRef(0);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-select-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-select-viewport]::-webkit-scrollbar{display:none}"},nonce:a}),(0,t.jsx)(lw.Slot,{scope:n,children:(0,t.jsx)(il.div,{"data-radix-select-viewport":"",role:"presentation",...i,ref:c,style:{position:"relative",flex:1,overflow:"hidden auto",...i.style},onScroll:Vs(i.onScroll,e=>{const t=e.currentTarget,{contentWrapper:r,shouldExpandOnScrollRef:n}=l;if(n?.current&&r){const e=Math.abs(u.current-t.scrollTop);if(e>0){const n=window.innerHeight-2*Sw,o=parseFloat(r.style.minHeight),a=parseFloat(r.style.height),i=Math.max(o,a);if(i<n){const o=i+e,a=Math.min(n,o),s=o-a;r.style.height=a+"px","0px"===r.style.bottom&&(t.scrollTop=s>0?s:0,r.style.justifyContent="flex-end")}}}u.current=t.scrollTop})})})]})});Mw.displayName=Fw;var Pw="SelectGroup",[Iw,qw]=dw(Pw),zw=o.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=Js();return(0,t.jsx)(Iw,{scope:n,id:a,children:(0,t.jsx)(il.div,{role:"group","aria-labelledby":a,...o,ref:r})})});zw.displayName=Pw;var Uw="SelectLabel",$w=o.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=qw(Uw,n);return(0,t.jsx)(il.div,{id:a.id,...o,ref:r})});$w.displayName=Uw;var Vw="SelectItem",[Ww,Hw]=dw(Vw),Gw=o.forwardRef((e,r)=>{const{__scopeSelect:n,value:a,disabled:i=!1,textValue:s,...l}=e,c=hw(Vw,n),u=Ow(Vw,n),d=c.value===a,[p,f]=o.useState(s??""),[g,h]=o.useState(!1),m=Gs(r,e=>u.itemRefCallback?.(e,a,i)),A=Js(),v=o.useRef("touch"),b=()=>{i||(c.onValueChange(a),c.onOpenChange(!1))};if(""===a)throw new Error("A <Select.Item /> must have a value prop that is not an empty string. This is because the Select value can be set to an empty string to clear the selection and show the placeholder.");return(0,t.jsx)(Ww,{scope:n,value:a,disabled:i,textId:A,isSelected:d,onItemTextChange:o.useCallback(e=>{f(t=>t||(e?.textContent??"").trim())},[]),children:(0,t.jsx)(lw.ItemSlot,{scope:n,value:a,disabled:i,textValue:p,children:(0,t.jsx)(il.div,{role:"option","aria-labelledby":A,"data-highlighted":g?"":void 0,"aria-selected":d&&g,"data-state":d?"checked":"unchecked","aria-disabled":i||void 0,"data-disabled":i?"":void 0,tabIndex:i?void 0:-1,...l,ref:m,onFocus:Vs(l.onFocus,()=>h(!0)),onBlur:Vs(l.onBlur,()=>h(!1)),onClick:Vs(l.onClick,()=>{"mouse"!==v.current&&b()}),onPointerUp:Vs(l.onPointerUp,()=>{"mouse"===v.current&&b()}),onPointerDown:Vs(l.onPointerDown,e=>{v.current=e.pointerType}),onPointerMove:Vs(l.onPointerMove,e=>{v.current=e.pointerType,i?u.onItemLeave?.():"mouse"===v.current&&e.currentTarget.focus({preventScroll:!0})}),onPointerLeave:Vs(l.onPointerLeave,e=>{e.currentTarget===document.activeElement&&u.onItemLeave?.()}),onKeyDown:Vs(l.onKeyDown,e=>{""!==u.searchRef?.current&&" "===e.key||(iw.includes(e.key)&&b()," "===e.key&&e.preventDefault())})})})})});Gw.displayName=Vw;var Kw="SelectItemText",Yw=o.forwardRef((e,r)=>{const{__scopeSelect:n,className:a,style:i,...s}=e,l=hw(Kw,n),c=Ow(Kw,n),u=Hw(Kw,n),d=Aw(Kw,n),[p,f]=o.useState(null),g=Gs(r,e=>f(e),u.onItemTextChange,e=>c.itemTextRefCallback?.(e,u.value,u.disabled)),h=p?.textContent,m=o.useMemo(()=>(0,t.jsx)("option",{value:u.value,disabled:u.disabled,children:h},u.value),[u.disabled,u.value,h]),{onNativeOptionAdd:A,onNativeOptionRemove:v}=d;return Xs(()=>(A(m),()=>v(m)),[A,v,m]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(il.span,{id:u.textId,...s,ref:g}),u.isSelected&&l.valueNode&&!l.valueNodeHasChildren?rl.createPortal(s.children,l.valueNode):null]})});Yw.displayName=Kw;var Xw="SelectItemIndicator",Qw=o.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return Hw(Xw,n).isSelected?(0,t.jsx)(il.span,{"aria-hidden":!0,...o,ref:r}):null});Qw.displayName=Xw;var Zw="SelectScrollUpButton",Jw=o.forwardRef((e,r)=>{const n=Ow(Zw,e.__scopeSelect),a=Lw(Zw,e.__scopeSelect),[i,s]=o.useState(!1),l=Gs(r,a.onScrollButtonChange);return Xs(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollTop>0;s(e)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,t.jsx)(ry,{...e,ref:l,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop-t.offsetHeight)}}):null});Jw.displayName=Zw;var ey="SelectScrollDownButton",ty=o.forwardRef((e,r)=>{const n=Ow(ey,e.__scopeSelect),a=Lw(ey,e.__scopeSelect),[i,s]=o.useState(!1),l=Gs(r,a.onScrollButtonChange);return Xs(()=>{if(n.viewport&&n.isPositioned){let e=function(){const e=t.scrollHeight-t.clientHeight,r=Math.ceil(t.scrollTop)<e;s(r)};const t=n.viewport;return e(),t.addEventListener("scroll",e),()=>t.removeEventListener("scroll",e)}},[n.viewport,n.isPositioned]),i?(0,t.jsx)(ry,{...e,ref:l,onAutoScroll:()=>{const{viewport:e,selectedItem:t}=n;e&&t&&(e.scrollTop=e.scrollTop+t.offsetHeight)}}):null});ty.displayName=ey;var ry=o.forwardRef((e,r)=>{const{__scopeSelect:n,onAutoScroll:a,...i}=e,s=Ow("SelectScrollButton",n),l=o.useRef(null),c=cw(n),u=o.useCallback(()=>{null!==l.current&&(window.clearInterval(l.current),l.current=null)},[]);return o.useEffect(()=>()=>u(),[u]),Xs(()=>{const e=c().find(e=>e.ref.current===document.activeElement);e?.ref.current?.scrollIntoView({block:"nearest"})},[c]),(0,t.jsx)(il.div,{"aria-hidden":!0,...i,ref:r,style:{flexShrink:0,...i.style},onPointerDown:Vs(i.onPointerDown,()=>{null===l.current&&(l.current=window.setInterval(a,50))}),onPointerMove:Vs(i.onPointerMove,()=>{s.onItemLeave?.(),null===l.current&&(l.current=window.setInterval(a,50))}),onPointerLeave:Vs(i.onPointerLeave,()=>{u()})})});o.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e;return(0,t.jsx)(il.div,{"aria-hidden":!0,...o,ref:r})}).displayName="SelectSeparator";var ny="SelectArrow";o.forwardRef((e,r)=>{const{__scopeSelect:n,...o}=e,a=fw(n),i=hw(ny,n),s=Ow(ny,n);return i.open&&"popper"===s.position?(0,t.jsx)($f,{...a,...o,ref:r}):null}).displayName=ny;var oy=o.forwardRef(({__scopeSelect:e,value:r,...n},a)=>{const i=o.useRef(null),s=Gs(a,i),l=mC(r);return o.useEffect(()=>{const e=i.current;if(!e)return;const t=window.HTMLSelectElement.prototype,n=Object.getOwnPropertyDescriptor(t,"value").set;if(l!==r&&n){const t=new Event("change",{bubbles:!0});n.call(e,r),e.dispatchEvent(t)}},[l,r]),(0,t.jsx)(il.select,{...n,style:{...ow,...n.style},ref:s,defaultValue:r})});function ay(e){return""===e||void 0===e}function iy(e){const t=sl(e),r=o.useRef(""),n=o.useRef(0),a=o.useCallback(e=>{const o=r.current+e;t(o),function e(t){r.current=t,window.clearTimeout(n.current),""!==t&&(n.current=window.setTimeout(()=>e(""),1e3))}(o)},[t]),i=o.useCallback(()=>{r.current="",window.clearTimeout(n.current)},[]);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),[r,a,i]}function sy(e,t,r){const n=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,o=r?e.indexOf(r):-1;let a=(i=e,s=Math.max(o,0),i.map((e,t)=>i[(s+t)%i.length]));var i,s;1===n.length&&(a=a.filter(e=>e!==r));const l=a.find(e=>e.textValue.toLowerCase().startsWith(n.toLowerCase()));return l!==r?l:void 0}oy.displayName="SelectBubbleInput";var ly=vw,cy=Cw,uy=yw,dy=xw,py=kw,fy=Ew,gy=Mw,hy=zw,my=$w,Ay=Gw,vy=Yw,by=Qw,Cy=Jw,wy=ty,yy=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function xy(e){var r=yy(e,[]);return(0,t.jsx)(ly,Object.assign({"data-slot":"select"},r))}function ky(e){var r=yy(e,[]);return(0,t.jsx)(hy,Object.assign({"data-slot":"select-group"},r))}function By(e){var r=yy(e,[]);return(0,t.jsx)(uy,Object.assign({"data-slot":"select-value"},r))}const Ey=Km(["data-[placeholder]:text-foreground-muted shadow-xs flex w-full min-w-[156px] items-center justify-between gap-2 whitespace-nowrap rounded-md border border-gray-200 bg-background bg-transparent px-3 text-sm text-foreground outline-none transition-[color,box-shadow] disabled:cursor-not-allowed disabled:opacity-50 data-[placeholder]:text-sm data-[placeholder]:font-normal data-[placeholder]:leading-5 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 dark:border-input [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",VC,WC],{variants:{size:{md:"py-2.5",sm:"py-2"}},defaultVariants:{size:"md"}});function Sy(e){var{className:r,size:n,children:o}=e,a=yy(e,["className","size","children"]);return(0,t.jsxs)(cy,Object.assign({"data-slot":"select-trigger",className:kd(Ey({size:n}),r)},a,{children:[o,(0,t.jsx)(dy,{asChild:!0,children:(0,t.jsx)(nA,{className:"size-4"})})]}))}function _y(e){var{className:r}=e,n=yy(e,["className"]);return(0,t.jsx)(Cy,Object.assign({"data-slot":"select-scroll-up-button",className:kd("flex cursor-default items-center justify-center py-1",r)},n,{children:(0,t.jsx)(rA,{className:"size-4"})}))}function Oy(e){var{className:r}=e,n=yy(e,["className"]);return(0,t.jsx)(wy,Object.assign({"data-slot":"select-scroll-down-button",className:kd("flex cursor-default items-center justify-center py-1",r)},n,{children:(0,t.jsx)(nA,{className:"size-4"})}))}function Dy(e){var{className:r,children:n,position:o="popper"}=e,a=yy(e,["className","children","position"]);return(0,t.jsx)(py,{children:(0,t.jsxs)(fy,Object.assign({"data-slot":"select-content",className:kd("data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 max-h-(--radix-select-content-available-height) origin-(--radix-select-content-transform-origin) relative z-50 min-w-[8rem] overflow-y-auto overflow-x-hidden rounded-md bg-background text-foreground shadow-md","popper"===o&&"data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",r),position:o},a,{children:[(0,t.jsx)(_y,{}),(0,t.jsx)(gy,{className:kd("p-1","popper"===o&&"h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"),children:n}),(0,t.jsx)(Oy,{})]}))})}function Ny(e){var{className:r}=e,n=yy(e,["className"]);return(0,t.jsx)(my,Object.assign({"data-slot":"select-label",className:kd("ml-6 px-2 py-1.5 text-sm font-semibold leading-5 text-foreground",r)},n))}function Ry(e){var{className:r,children:n}=e,o=yy(e,["className","children"]);return(0,t.jsxs)(Ay,Object.assign({"data-slot":"select-item",className:kd("focus:bg-bg-muted hover:bg-bg-muted outline-hidden *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 pl-8 pr-2 text-sm text-foreground hover:text-foreground focus:text-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0",r)},o,{children:[(0,t.jsx)("span",{className:"absolute left-2 flex size-3.5 items-center justify-center",children:(0,t.jsx)(by,{children:(0,t.jsx)(eb,{className:"size-4"})})}),(0,t.jsx)(vy,{children:n})]}))}const Ty=()=>{const e=X(Wi),{notifyLinkClicked:t}=ts();return{handleLinkClick:(0,o.useCallback)(r=>{const n="a"===r.target.tagName.toLowerCase();e&&n&&(r.preventDefault(),t(r.target.href))},[e,t])}};const jy=(e,t,r,n,o)=>{const a={required:t?r("fields.required"):void 0};switch(e){case"display_name":return Object.assign(Object.assign({},a),{maxLength:{value:32,message:r("fields.less_than",{0:32})}});case"email":return Object.assign(Object.assign({},a),{pattern:{value:so,message:r("fields.invalid")}});case"phone":return Object.assign(Object.assign({},a),{validate:e=>{if(!e||"string"!=typeof e)return!0;const t=(e=>{if(!e)return{valid:!0,formatted:e};if(!Co.test(e))return{valid:!1};const t=e.replace(/[()-\s]/g,"");return wo.test(t)?{valid:!0,formatted:t}:{valid:!1}})(e);return t.valid?(n&&n("phone",t.formatted,{shouldValidate:!1}),!0):r("fields.invalid")},maxLength:{value:24,message:r("fields.less_than",{0:24})}});case"address":return Object.assign(Object.assign({},a),{minLength:{value:5,message:r("fields.more_than",{0:5})},maxLength:{value:128,message:r("fields.less_than",{0:128})}});case"language":return a;case"disclaimer_accepted":return{required:r("disclaimer.required")};default:return"boolean"===o&&t?{validate:e=>void 0!==e||r("fields.required"),maxLength:{value:128,message:r("fields.less_than",{0:128})}}:Object.assign(Object.assign({},a),{maxLength:{value:128,message:r("fields.less_than",{0:128})}})}},Ly=()=>{const e=Jv.sanitize,[r,n]=(0,o.useState)(!1),{t:a,i18n:i}=Pe(),{updateContext:s}=zs(),l=X(Ro),c=X(Mo),{headline:u,disclaimer:d,fields:p}=X(Ri),f=null==p?void 0:p.find(({field:e})=>"language"===e),{trackEvent:g}=Em(),h=Q($a),{handleLinkClick:m}=Ty(),A=Object.assign(Object.assign({},null==p?void 0:p.reduce((e,{field:t,variable_type:r,variable:n})=>{var o;if("custom"===t){const t=n||"custom";let o;if("boolean"===r?o=!1:"date_time"===r&&(o=(e=>{const t=e=>e.toString().padStart(2,"0");return`${e.getFullYear()}-${t(e.getMonth()+1)}-${t(e.getDate())}T${t(e.getHours())}:${t(e.getMinutes())}`})(new Date)),t.includes(".")){const r=((e,t)=>{const r=e.split("."),n={};let o=n;for(let e=0;e<r.length-1;e++)o[r[e]]={},o=o[r[e]];return o[r[r.length-1]]=t,n})(t,o);return fo(e,r)}return Object.assign(Object.assign({},e),{[t]:o})}return Object.assign(Object.assign({},e),{[t]:(null==c?void 0:c[t])&&"***"!==c[t]&&!(null===(o=c[t])||void 0===o?void 0:o.startsWith("Visitor "))?c[t]:""})},{})),{disclaimer_accepted:!1}),v=function(e={}){const t=o.useRef(void 0),r=o.useRef(void 0),[n,a]=o.useState({isDirty:!1,isValidating:!1,isLoading:mb(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,isReady:!1,defaultValues:mb(e.defaultValues)?void 0:e.defaultValues});if(!t.current)if(e.formControl)t.current={...e.formControl,formState:n},e.defaultValues&&!mb(e.defaultValues)&&e.formControl.reset(e.defaultValues,e.resetOptions);else{const{formControl:r,...o}=hC(e);t.current={...o,formState:n}}const i=t.current.control;return i._options=e,Sb(()=>{const e=i._subscribe({formState:i._proxyFormState,callback:()=>a({...i._formState}),reRenderRoot:!0});return a(e=>({...e,isReady:!0})),i._formState.isReady=!0,e},[i]),o.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),o.useEffect(()=>{e.mode&&(i._options.mode=e.mode),e.reValidateMode&&(i._options.reValidateMode=e.reValidateMode)},[i,e.mode,e.reValidateMode]),o.useEffect(()=>{e.errors&&(i._setErrors(e.errors),i._focusError())},[i,e.errors]),o.useEffect(()=>{e.shouldUnregister&&i._subjects.state.next({values:i._getWatch()})},[i,e.shouldUnregister]),o.useEffect(()=>{if(i._proxyFormState.isDirty){const e=i._getDirty();e!==n.isDirty&&i._subjects.state.next({isDirty:e})}},[i,n.isDirty]),o.useEffect(()=>{var t;e.values&&!Rb(e.values,r.current)?(i._reset(e.values,{keepFieldsRef:!0,...i._options.resetOptions}),(null===(t=i._options.resetOptions)||void 0===t?void 0:t.keepIsValid)||i._setValid(),r.current=e.values,a(e=>({...e}))):i._resetDefaultValues()},[i,e.values]),o.useEffect(()=>{i._state.mount||(i._setValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),t.current.formState=o.useMemo(()=>Eb(n,i),[i,n]),t.current}({defaultValues:A}),b=!!(null==d?void 0:d.enabled)&&!!(null==d?void 0:d.html),C=p&&p.length>0;(0,o.useEffect)(()=>{queueMicrotask(()=>n(!1))},[l]);const w=(0,o.useCallback)(e=>{g(Bm.WelcomeFormSubmitted),n(!0);const{display_name:t,email:r,phone:o,address:a,language:l,disclaimer_accepted:c}=e,u=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["display_name","email","phone","address","language","disclaimer_accepted"]),d={display_name:t,email:r,phone:o,address:a,language:l};Object.keys(d).forEach(e=>{void 0!==d[e]&&""!==d[e]&&null!==d[e]||delete d[e]}),l&&i.changeLanguage(l),r&&h(r),s(Object.assign({user:d,global:Object.assign({visitor_form_completed:!0},b?{disclaimer_accepted:c}:{})},u))},[i,b,h,g,s]),y=(0,o.useCallback)(e=>{g(Bm.TermsAndConditionsLinkClicked),m(e)},[m,g]);return(0,t.jsx)("div",{className:"relative flex h-full flex-1 flex-col justify-between overflow-hidden",children:(0,t.jsxs)("div",{className:ds()("mt-[var(--moveo-new-header-height)] flex h-full max-h-[calc(100%-68px)] flex-col overflow-auto px-6",{"justify-between":b&&!C}),children:[u&&(0,t.jsx)("p",{className:"mb-2 mt-3 text-lg font-semibold leading-7 text-foreground",children:u}),(0,t.jsx)(LC,Object.assign({},v,{children:(0,t.jsxs)("form",{autoComplete:"off",className:"h-full[calc(100%-68px)] mx-auto mt-4 flex w-full max-w-md flex-col gap-4",onSubmit:v.handleSubmit(w),children:[null==p?void 0:p.map(({field:e,required:r,variable:n,variable_type:o,field_label:i})=>{if("language"===e)return(0,t.jsx)(MC,{control:v.control,name:e,rules:jy(e,r,a),render:({field:r})=>{var n;return(0,t.jsxs)(qC,{children:[(0,t.jsx)($C,{children:a(`fields.${e}`)}),(0,t.jsx)(zC,{children:(0,t.jsxs)(xy,{name:"language",value:r.value,onValueChange:r.onChange,children:[(0,t.jsx)(Sy,{className:"w-full",children:(0,t.jsx)(By,{placeholder:a("fields.placeholder.language")})}),(0,t.jsx)(Dy,{children:(0,t.jsxs)(ky,{children:[(0,t.jsx)(Ny,{children:a(`fields.${e}`)}),null===(n=null==f?void 0:f.languages)||void 0===n?void 0:n.map(e=>(0,t.jsx)(Ry,{value:e,children:Ue[e]},e))]})})]})}),(0,t.jsx)(UC,{})]})}},e);if("custom"===e){const e=n||"custom";return(0,t.jsx)(MC,{control:v.control,name:e,rules:jy(e,r,a,v.setValue,o),render:({field:r})=>{switch(o){case"boolean":return(0,t.jsxs)(qC,{children:[(0,t.jsx)(zC,{children:(0,t.jsxs)("div",{className:"flex items-center space-x-2",children:[(0,t.jsx)(TC,{id:e,className:"bg-background",checked:r.value,onCheckedChange:r.onChange}),(0,t.jsx)($C,{className:"mt-0",children:i||a("fields.custom_field")})]})}),(0,t.jsx)(UC,{})]});case"date_time":return(0,t.jsxs)(qC,{children:[(0,t.jsx)($C,{children:i||a("fields.custom_field")}),(0,t.jsx)(zC,{children:(0,t.jsx)(GC,Object.assign({},r,{value:r.value,type:"datetime-local",className:"w-full"}))}),(0,t.jsx)(UC,{})]});default:return(0,t.jsxs)(qC,{children:[(0,t.jsx)($C,{children:i||a("fields.custom_field")}),(0,t.jsx)(zC,{children:(0,t.jsx)(GC,Object.assign({},r,{value:r.value,className:"w-full",type:"number"===o?"number":"text"}))}),(0,t.jsx)(UC,{})]})}}},e)}return(0,t.jsx)(MC,{control:v.control,name:e,rules:jy(e,r,a,v.setValue),render:({field:r})=>(0,t.jsxs)(qC,{children:[(0,t.jsx)($C,{children:a(`fields.${e}`)}),(0,t.jsx)(zC,{children:(0,t.jsx)(GC,Object.assign({},r,{className:"w-full"}))}),(0,t.jsx)(UC,{})]})},e)}),b&&(0,t.jsx)("div",{className:"on mb-20 mt-4",children:(0,t.jsx)(MC,{control:v.control,name:"disclaimer_accepted",rules:jy("disclaimer_accepted",!0,a),render:({field:r,fieldState:n})=>(0,t.jsx)(zC,{children:(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{role:"checkbox","aria-checked":r.value,tabIndex:0,className:"bg-bg-muted mt-auto max-w-md cursor-pointer rounded-[var(--moveo-new-border-radius-base)] p-4",onClick:e=>{"A"!==e.target.tagName?r.onChange(!r.value):y(e)},onKeyDown:e=>{" "!==e.key&&"Enter"!==e.key||"A"===e.target.tagName||(e.preventDefault(),r.onChange(!r.value))},children:[(0,t.jsx)("p",{className:ds()("mb-2 text-sm font-semibold leading-5",n.error?"text-warning":"text-foreground"),children:a("disclaimer.title")}),(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)("div",{className:ds()("mt-1 flex h-4 w-4 shrink-0 items-center justify-center rounded-sm border border-input bg-background",{"border-primary bg-primary":r.value}),children:r.value&&(0,t.jsx)(eb,{className:"h-3 w-3 text-primary-foreground"})}),(0,t.jsx)("div",{className:"disclaimer-container text-foreground [&_a:hover]:underline [&_a]:cursor-pointer [&_a]:text-accent",dangerouslySetInnerHTML:{__html:e(null==d?void 0:d.html,{ADD_ATTR:["target"]})}})]})]}),(0,t.jsx)(UC,{className:"mt-2"})]})})})}),(0,t.jsx)("div",{className:"bg-chat-background absolute bottom-0 left-0 right-0 z-10 mx-3 flex h-14 w-[calc(100%-24px)] justify-center",children:(0,t.jsx)(eA,{type:"submit",isLoading:r,className:"w-full max-w-md",children:a("buttons.continue")})})]})}))]})})},Fy=Lm("panel-top",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}]]),My=({webview:e,onClick:r})=>{const[n,a]=(0,o.useState)(!1),i=(0,o.useRef)(null);return(0,o.useEffect)(()=>{const e=e=>{var t,n;e.source===(null===(t=i.current)||void 0===t?void 0:t.contentWindow)&&("closeModal"===e.data||"object"==typeof e.data&&"moveo-close-webview"===(null===(n=e.data)||void 0===n?void 0:n.type))&&r()};return window.addEventListener("message",e),()=>window.removeEventListener("message",e)},[r]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"min-h-full overflow-hidden rounded-[var(--moveo-new-border-radius-base)] border border-border bg-background",children:[(0,t.jsxs)("div",{className:"flex w-full items-center justify-between border-b border-border px-4 pb-2 pt-3",children:[(0,t.jsxs)("div",{className:"flex items-center gap-2",children:[(0,t.jsx)(Fy,{size:16}),(0,t.jsx)("p",{className:"text-sm leading-6",children:e.name})]}),(0,t.jsx)(eA,{variant:"ghost",size:"icon",onClick:r,children:(0,t.jsx)(sA,{className:"h-5 w-5 text-accent"})})]}),(0,t.jsx)("span",{className:ds()("flex min-h-[calc(100%-44px)] items-center justify-center",{hidden:n}),children:(0,t.jsx)(Zm,{})}),(0,t.jsx)("iframe",{allow:"geolocation",ref:i,id:e.action_id,title:e.name,src:e.url,onLoad:()=>a(!0),className:ds()("h-[calc(100%-44px)] w-full",{hidden:!n})})]})})},Py=()=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",fill:"none",children:[(0,t.jsx)("path",{fill:"#CBD5E1",d:"M20 3.333A13.333 13.333 0 0 0 6.666 16.668v17.988a.833.833 0 0 0 1.423.59l2.988-2.989a.833.833 0 0 1 1.179 0l2.988 2.988a.833.833 0 0 0 1.178 0l2.989-2.988a.833.833 0 0 1 1.178 0l2.988 2.988a.833.833 0 0 0 1.179 0l2.988-2.988a.833.833 0 0 1 1.178 0l2.989 2.988a.833.833 0 0 0 1.422-.589V16.667A13.333 13.333 0 0 0 20 3.333ZM25 15v1.667V15ZM15 15v1.667V15Z"}),(0,t.jsx)("path",{stroke:"#64748B",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3.333",d:"M25 15v1.667M15 15v1.667"})]}),Iy=()=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 40 40",width:"40",height:"40",fill:"none",children:[(0,t.jsx)("path",{fill:"#CBD5E1",d:"M28.333 36.667v-6.954c0-.884-.351-1.731-.976-2.356L20 20l-7.357 7.357a3.333 3.333 0 0 0-.977 2.356v6.954M11.666 3.333v6.954c0 .884.352 1.731.977 2.356L20 20l7.357-7.357a3.333 3.333 0 0 0 .976-2.356V3.333"}),(0,t.jsx)("path",{stroke:"#CBD5E1",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3.333",d:"M11.666 3.333v6.954c0 .884.352 1.731.977 2.356L20 20l7.357-7.357a3.333 3.333 0 0 0 .976-2.356V3.333"}),(0,t.jsx)("path",{stroke:"#BAC4D0",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3",d:"m19 21-7.062 7.062A3.2 3.2 0 0 0 11 30.325V36.5M11 4v6.51c0 .954.337 1.87.938 2.545L19 21"}),(0,t.jsx)("path",{stroke:"#64748B",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"3.333",d:"M8.333 36.666h23.333M8.333 3.333h23.333"})]}),qy=({type:e})=>{const{t:r}=Pe(),{closeSession:n}=zs(),{closeWidget:a}=Us(),i=Q(Eo),s=X(ma),{trackEvent:l}=Em(),c=X(la),u=Q(xa),d=Q(Qo),p=(0,o.useMemo)(()=>({closing:{icon:(0,t.jsx)(DA,{size:40,color:"var(--color-foreground-muted)"}),title:r("modal.end"),primaryButton:r("buttons.end_chat"),secondaryButton:r("buttons.cancel"),primaryEventTracker:Bm.PopoverEndChatClicked,secondaryEventTracker:Bm.PopoverEndChatContinueClicked},expired:{icon:(0,t.jsx)(Iy,{}),title:r("modal.expired_title"),subtitle:r("modal.expired_subtitle"),primaryButton:r("buttons.start_new_chat"),secondaryButton:r("buttons.close"),primaryEventTracker:Bm.PopoverExpiredNewClicked,secondaryEventTracker:Bm.PopoverExpiredEndClicked},inactivity:{icon:(0,t.jsx)(Py,{}),title:r("modal.inactivity_title"),subtitle:r("modal.inactivity"),primaryButton:r("buttons.continue"),secondaryButton:r("buttons.start_new_chat"),primaryEventTracker:Bm.PopoverInactivityEndChatClicked,secondaryEventTracker:Bm.PopoverInactivityContinueClicked},survey:{title:"",primaryButton:"",secondaryButton:""},"survey-full":{title:"",primaryButton:"",secondaryButton:""},closed:{title:"",primaryButton:"",secondaryButton:""}}),[r]),f=(0,o.useMemo)(()=>p[e],[p,e]),g=(0,o.useCallback)(async()=>{if(f.primaryEventTracker&&l(f.primaryEventTracker),"inactivity"===e)return void u(null);const t=()=>{n(),"expired"===e&&i("init")};u(null),c?(await oo(He),d(()=>t),u("survey")):t()},[n,f.primaryEventTracker,u,d,i,c,l,e]),h=(0,o.useCallback)(async()=>{if(f.secondaryEventTracker&&l(f.secondaryEventTracker),"expired"===e){u(null);const e=()=>{n(),a()};c?(await oo(He),d(()=>e),u("survey")):e()}else"inactivity"===e?(n(),u(null)):u(null)},[n,a,f.secondaryEventTracker,d,u,c,l,e]);return(0,t.jsxs)("div",{className:"flex h-full flex-col items-center justify-center gap-4 p-4",children:[null==f?void 0:f.icon,(0,t.jsxs)("div",{className:"text-surface-card-foreground mx-auto text-center text-lg font-semibold",children:[f.title,f.subtitle&&(0,t.jsx)("div",{className:"text-foreground-muted mx-auto mt-1 max-w-xs text-center text-sm font-normal leading-5",children:f.subtitle})]}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,t.jsx)(eA,{className:ds()("end-btn w-full",{"w-sm":s}),onClick:g,children:f.primaryButton}),(0,t.jsx)(eA,{onClick:h,variant:"outline-neutral",className:ds()("w-full",{"w-sm":s}),children:f.secondaryButton})]})]})},zy=Lm("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]),Uy=e=>{const t=(0,o.useRef)(null!=e?e:0),[r,n]=(0,o.useState)(null),a=(0,o.useRef)(0),i=e=>{if(e<0)return{minutes:0,seconds:0};const t=e%3600,r=t%60;return{minutes:Math.floor(t/60),seconds:Math.ceil(r)}};return(0,o.useEffect)(()=>{0===a.current&&t.current>0&&(n(i(t.current)),a.current=window.setInterval(()=>{t.current-=1,n(i(t.current)),0===t.current&&clearInterval(a.current)},1e3))},[]),(0,o.useEffect)(()=>()=>clearInterval(a.current),[]),(0,o.useEffect)(()=>{e&&(t.current=e)},[e]),{minutes:null==r?void 0:r.minutes,seconds:null==r?void 0:r.seconds}},$y=()=>{const{t:e}=Pe(),{trackEvent:r}=Em(),{closeWidget:n}=Us(),{reopenConversation:a,closeSession:i}=zs(),[s,l]=Z(Do),c=null==s?void 0:s.keep_alive,u=null==s?void 0:s.remaining_keep_alive,{minutes:d,seconds:p}=Uy(null!=u?u:c),f=X(la),g=X(Yo),h=Q(xa),m=X(ma),A=Q(Qo),v=(0,o.useCallback)(async()=>{h(null),r(Bm.PopoverResolvedEndChatClicked);const e=()=>{i(),n()};await oo(He),f?(A(()=>e),h("survey")):e()},[h,r,f,i,n,A]),b=(0,o.useCallback)(async()=>{if(r(Bm.PopoverResolvedContinueClicked),g){h(null);const e=()=>{a()};await oo(He),A(()=>e),h("survey")}else a(),h(null)},[a,h,r,g,A]);(0,o.useEffect)(()=>{(async()=>{0===d&&0===p&&(h(null),await oo(He),l(e=>Object.assign(Object.assign({},e),{status:"expired"})),h("expired"))})()},[d,p,h,l]);const[C,w]=yo(d,p).split(":");return(0,t.jsxs)("div",{className:"flex h-full flex-col items-center gap-4 p-4 text-center",children:[(0,t.jsx)(zy,{size:40,color:"var(--color-successful)"}),(0,t.jsxs)("div",{className:"text-lg font-semibold leading-none text-foreground",children:[e("events.resolved.title"),(0,t.jsx)("p",{className:"text-foreground-muted mx-auto mt-1 text-sm font-normal leading-5",children:e("modal.resolved_continue")})]}),(0,t.jsx)("div",{className:"flex w-full flex-col items-center justify-center",children:(0,t.jsxs)("div",{className:"grid min-h-8 w-fit grid-cols-[36px_16px_36px] items-center",children:[(0,t.jsx)("span",{className:"text-foreground-muted text-2xl leading-8",children:C}),(0,t.jsx)("span",{className:"text-foreground-muted -translate-y-0.5 text-2xl leading-8",children:":"}),(0,t.jsx)("span",{className:"text-foreground-muted text-2xl leading-8",children:w})]})}),(0,t.jsxs)("div",{className:"flex w-full flex-col items-center justify-center gap-2",children:[(0,t.jsx)(eA,{onClick:v,className:ds()("w-full",{"w-sm":m}),children:e("buttons.end_conversation")}),(0,t.jsx)(eA,{onClick:b,variant:"secondary",className:ds()("w-full",{"w-sm":m}),children:e("buttons.resume")})]})]})},Vy=()=>{const[e,r]=(0,o.useState)(null),n=X(Aa),a=X(ma),{trackEvent:i}=Em(),{t:s}=Pe(),[l,c]=(0,o.useState)(!1),[u,d]=(0,o.useState)(null),p=[s("survey.terrible"),s("survey.bad"),s("survey.okay"),s("survey.good"),s("survey.excellent")],{sendRating:f}=zs(),g=Q(xa),h=Q(Qo),m=(0,o.useRef)(null),A=(0,o.useRef)(null),[v,b]=(0,o.useState)(""),C=X(Qo),w=(0,o.useCallback)(async()=>{g(null),C&&(C(),h(null))},[C,g,h]);(0,o.useEffect)(()=>{m.current&&setTimeout(()=>{var e;null===(e=null==m?void 0:m.current)||void 0===e||e.focus()},300)},[v]);const y=(0,o.useCallback)(()=>{var e,t,r;if((null===(e=m.current)||void 0===e?void 0:e.textContent)&&(null===(t=m.current)||void 0===t?void 0:t.textContent.length)>=280){m.current.textContent=null===(r=m.current)||void 0===r?void 0:r.textContent.slice(0,280);const e=window.getSelection(),t=document.createRange();null==e||e.removeAllRanges(),t.selectNodeContents(m.current),t.collapse(!1),null==e||e.addRange(t),m.current.focus()}const n=null==m?void 0:m.current;if(!(null==n?void 0:n.textContent)){const e=null==n?void 0:n.getElementsByTagName("br")[0];e&&(null==n||n.removeChild(e))}},[]),x=(0,o.useCallback)(()=>{var e;y(),b((null===(e=m.current)||void 0===e?void 0:e.textContent)||"")},[y]),k=(0,o.useCallback)(()=>{null!==e&&(i(Bm.RatingSubmitted),c(!0),f({rating:e+1,feedback:v}),g(null))},[e,v,f,g,i]),B=(0,o.useCallback)(()=>{i(Bm.PopoverReviewSkipAndCloseClicked),w()},[w,i]);return(0,t.jsxs)("div",{className:"flex h-full flex-col items-center text-center",children:[(0,t.jsx)("p",{className:"text-text-secondary-foreground mt-4 text-center font-semibold leading-none",children:s("survey.experience")}),(0,t.jsx)("div",{className:"group mx-5 mb-4 mt-4 grid grid-cols-5 p-0",onMouseLeave:()=>d(null),children:Array(5).fill("").map((n,o)=>{const a=e===o,s=u===o,l=a||s||(0===o||4===o)&&null===e&&null===u;return(0,t.jsxs)("div",{className:"flex h-[82px] flex-col items-center justify-center",onMouseEnter:()=>d(o),children:[(0,t.jsx)("button",{className:ds()("flex cursor-pointer items-center justify-center rounded-full border-0 text-lg font-medium transition-all duration-300",a||s?"bg-(--color-rating-background) h-[42px] w-[42px] text-primary-foreground":"h-10 w-10 bg-muted text-foreground"),onClick:()=>(e=>{i(Bm.RatingClicked,{rating:e+1}),r(e)})(o),"aria-label":String(o+1),children:o+1}),(0,t.jsx)("span",{className:ds()("mt-2 text-xs text-muted-foreground transition-opacity duration-300",l?"opacity-100":"opacity-0"),children:p[o]})]},o)})}),(0,t.jsx)("hr",{className:"w-full border-border"}),(0,t.jsx)("div",{ref:A,className:ds()("flex h-[72px] w-[328px] grow flex-col-reverse",{"w-sm":a}),children:(0,t.jsx)("div",{ref:m,className:ds()("wrap-break-word mb-6 h-[72px] w-full appearance-none self-start overflow-y-auto text-left text-base text-foreground will-change-transform",{"text-base":n}),"aria-label":s("survey.input_placeholder"),role:"textbox",tabIndex:0,"data-placeholder":s("survey.input_placeholder"),contentEditable:!0,onInput:x})}),(0,t.jsxs)("div",{className:"mb-2 flex flex-col items-center justify-center gap-2",children:[(0,t.jsx)(eA,{disabled:null===e,onClick:k,className:ds()("w-[328px]",{"w-sm":a}),isLoading:l,children:s("buttons.submit")}),(0,t.jsx)(eA,{onClick:B,variant:"ghost-neutral",className:ds()("text-(--color-link) w-[328px]",{"w-sm":a}),children:s("buttons.skip")})]})]})},Wy=()=>{const e=X(xa),[r,n]=Z(ka),o=e&&["closing","inactivity","expired"].includes(e),a="survey"===e,i=e&&"closed"===e;return e||r?r?(0,t.jsx)("div",{className:ds()("absolute bottom-0 z-10 m-0 h-full w-full animate-[slide-in-up_0.2s_ease-out] bg-black/50 shadow-lg will-change-transform"),children:(0,t.jsx)("div",{className:"rounded-(--moveo-new-border-radius-base) absolute bottom-0 h-[78vh] w-full overflow-hidden",children:(0,t.jsx)(My,{webview:r,onClick:()=>{n(null)}})})}):(0,t.jsxs)("div",{className:ds()("mx-3 mb-4 animate-[slide-in-up_0.2s_ease-out] rounded-lg border border-border shadow-lg will-change-transform",{"h-[254px]":o,"h-[282px]":i,"h-[386px]":a}),children:[o&&(0,t.jsx)(qy,{type:e}),a&&(0,t.jsx)(Vy,{}),i&&(0,t.jsx)($y,{})]}):null},Hy=()=>(0,t.jsxs)("div",{className:"flex w-[28px] translate-y-4 items-center justify-between",children:[(0,t.jsx)("div",{className:"h-1.5 w-1.5 animate-[typing_1.2s_ease-in-out_infinite] rounded-full bg-muted-foreground [animation-delay:0s]"}),(0,t.jsx)("div",{className:"h-1.5 w-1.5 animate-[typing_1.2s_ease-in-out_infinite] rounded-full bg-muted-foreground [animation-delay:0.2s]"}),(0,t.jsx)("div",{className:"h-1.5 w-1.5 animate-[typing_1.2s_ease-in-out_infinite] rounded-full bg-muted-foreground [animation-delay:0.4s]"})]}),Gy=Lm("smile",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]]),Ky=Lm("paperclip",[["path",{d:"m16 6-8.414 8.586a2 2 0 0 0 2.829 2.829l8.414-8.586a4 4 0 1 0-5.657-5.657l-8.379 8.551a6 6 0 1 0 8.485 8.485l8.379-8.551",key:"1miecu"}]]),Yy=Lm("audio-lines",[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]]),Xy=({className:e})=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",className:kd("text-(--color-send-icon)",e),children:(0,t.jsx)("path",{fill:"currentColor",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.25",d:"M14.725 21.918a.5.5 0 0 1-.189-.232L11.856 15 19.5 4.5 8.86 12.09 2.314 9.463a.5.5 0 0 1 .024-.937l19-6.5a.496.496 0 0 1 .635.635l-6.5 19a.5.5 0 0 1-.748.256Z"})}),Qy=["mousedown","touchstart"];var Zy=i(5826);const Jy=new Map([["1km","application/vnd.1000minds.decision-model+xml"],["3dml","text/vnd.in3d.3dml"],["3ds","image/x-3ds"],["3g2","video/3gpp2"],["3gp","video/3gp"],["3gpp","video/3gpp"],["3mf","model/3mf"],["7z","application/x-7z-compressed"],["7zip","application/x-7z-compressed"],["123","application/vnd.lotus-1-2-3"],["aab","application/x-authorware-bin"],["aac","audio/x-acc"],["aam","application/x-authorware-map"],["aas","application/x-authorware-seg"],["abw","application/x-abiword"],["ac","application/vnd.nokia.n-gage.ac+xml"],["ac3","audio/ac3"],["acc","application/vnd.americandynamics.acc"],["ace","application/x-ace-compressed"],["acu","application/vnd.acucobol"],["acutc","application/vnd.acucorp"],["adp","audio/adpcm"],["aep","application/vnd.audiograph"],["afm","application/x-font-type1"],["afp","application/vnd.ibm.modcap"],["ahead","application/vnd.ahead.space"],["ai","application/pdf"],["aif","audio/x-aiff"],["aifc","audio/x-aiff"],["aiff","audio/x-aiff"],["air","application/vnd.adobe.air-application-installer-package+zip"],["ait","application/vnd.dvb.ait"],["ami","application/vnd.amiga.ami"],["amr","audio/amr"],["apk","application/vnd.android.package-archive"],["apng","image/apng"],["appcache","text/cache-manifest"],["application","application/x-ms-application"],["apr","application/vnd.lotus-approach"],["arc","application/x-freearc"],["arj","application/x-arj"],["asc","application/pgp-signature"],["asf","video/x-ms-asf"],["asm","text/x-asm"],["aso","application/vnd.accpac.simply.aso"],["asx","video/x-ms-asf"],["atc","application/vnd.acucorp"],["atom","application/atom+xml"],["atomcat","application/atomcat+xml"],["atomdeleted","application/atomdeleted+xml"],["atomsvc","application/atomsvc+xml"],["atx","application/vnd.antix.game-component"],["au","audio/x-au"],["avi","video/x-msvideo"],["avif","image/avif"],["aw","application/applixware"],["azf","application/vnd.airzip.filesecure.azf"],["azs","application/vnd.airzip.filesecure.azs"],["azv","image/vnd.airzip.accelerator.azv"],["azw","application/vnd.amazon.ebook"],["b16","image/vnd.pco.b16"],["bat","application/x-msdownload"],["bcpio","application/x-bcpio"],["bdf","application/x-font-bdf"],["bdm","application/vnd.syncml.dm+wbxml"],["bdoc","application/x-bdoc"],["bed","application/vnd.realvnc.bed"],["bh2","application/vnd.fujitsu.oasysprs"],["bin","application/octet-stream"],["blb","application/x-blorb"],["blorb","application/x-blorb"],["bmi","application/vnd.bmi"],["bmml","application/vnd.balsamiq.bmml+xml"],["bmp","image/bmp"],["book","application/vnd.framemaker"],["box","application/vnd.previewsystems.box"],["boz","application/x-bzip2"],["bpk","application/octet-stream"],["bpmn","application/octet-stream"],["bsp","model/vnd.valve.source.compiled-map"],["btif","image/prs.btif"],["buffer","application/octet-stream"],["bz","application/x-bzip"],["bz2","application/x-bzip2"],["c","text/x-c"],["c4d","application/vnd.clonk.c4group"],["c4f","application/vnd.clonk.c4group"],["c4g","application/vnd.clonk.c4group"],["c4p","application/vnd.clonk.c4group"],["c4u","application/vnd.clonk.c4group"],["c11amc","application/vnd.cluetrust.cartomobile-config"],["c11amz","application/vnd.cluetrust.cartomobile-config-pkg"],["cab","application/vnd.ms-cab-compressed"],["caf","audio/x-caf"],["cap","application/vnd.tcpdump.pcap"],["car","application/vnd.curl.car"],["cat","application/vnd.ms-pki.seccat"],["cb7","application/x-cbr"],["cba","application/x-cbr"],["cbr","application/x-cbr"],["cbt","application/x-cbr"],["cbz","application/x-cbr"],["cc","text/x-c"],["cco","application/x-cocoa"],["cct","application/x-director"],["ccxml","application/ccxml+xml"],["cdbcmsg","application/vnd.contact.cmsg"],["cda","application/x-cdf"],["cdf","application/x-netcdf"],["cdfx","application/cdfx+xml"],["cdkey","application/vnd.mediastation.cdkey"],["cdmia","application/cdmi-capability"],["cdmic","application/cdmi-container"],["cdmid","application/cdmi-domain"],["cdmio","application/cdmi-object"],["cdmiq","application/cdmi-queue"],["cdr","application/cdr"],["cdx","chemical/x-cdx"],["cdxml","application/vnd.chemdraw+xml"],["cdy","application/vnd.cinderella"],["cer","application/pkix-cert"],["cfs","application/x-cfs-compressed"],["cgm","image/cgm"],["chat","application/x-chat"],["chm","application/vnd.ms-htmlhelp"],["chrt","application/vnd.kde.kchart"],["cif","chemical/x-cif"],["cii","application/vnd.anser-web-certificate-issue-initiation"],["cil","application/vnd.ms-artgalry"],["cjs","application/node"],["cla","application/vnd.claymore"],["class","application/octet-stream"],["clkk","application/vnd.crick.clicker.keyboard"],["clkp","application/vnd.crick.clicker.palette"],["clkt","application/vnd.crick.clicker.template"],["clkw","application/vnd.crick.clicker.wordbank"],["clkx","application/vnd.crick.clicker"],["clp","application/x-msclip"],["cmc","application/vnd.cosmocaller"],["cmdf","chemical/x-cmdf"],["cml","chemical/x-cml"],["cmp","application/vnd.yellowriver-custom-menu"],["cmx","image/x-cmx"],["cod","application/vnd.rim.cod"],["coffee","text/coffeescript"],["com","application/x-msdownload"],["conf","text/plain"],["cpio","application/x-cpio"],["cpp","text/x-c"],["cpt","application/mac-compactpro"],["crd","application/x-mscardfile"],["crl","application/pkix-crl"],["crt","application/x-x509-ca-cert"],["crx","application/x-chrome-extension"],["cryptonote","application/vnd.rig.cryptonote"],["csh","application/x-csh"],["csl","application/vnd.citationstyles.style+xml"],["csml","chemical/x-csml"],["csp","application/vnd.commonspace"],["csr","application/octet-stream"],["css","text/css"],["cst","application/x-director"],["csv","text/csv"],["cu","application/cu-seeme"],["curl","text/vnd.curl"],["cww","application/prs.cww"],["cxt","application/x-director"],["cxx","text/x-c"],["dae","model/vnd.collada+xml"],["daf","application/vnd.mobius.daf"],["dart","application/vnd.dart"],["dataless","application/vnd.fdsn.seed"],["davmount","application/davmount+xml"],["dbf","application/vnd.dbf"],["dbk","application/docbook+xml"],["dcr","application/x-director"],["dcurl","text/vnd.curl.dcurl"],["dd2","application/vnd.oma.dd2+xml"],["ddd","application/vnd.fujixerox.ddd"],["ddf","application/vnd.syncml.dmddf+xml"],["dds","image/vnd.ms-dds"],["deb","application/x-debian-package"],["def","text/plain"],["deploy","application/octet-stream"],["der","application/x-x509-ca-cert"],["dfac","application/vnd.dreamfactory"],["dgc","application/x-dgc-compressed"],["dic","text/x-c"],["dir","application/x-director"],["dis","application/vnd.mobius.dis"],["disposition-notification","message/disposition-notification"],["dist","application/octet-stream"],["distz","application/octet-stream"],["djv","image/vnd.djvu"],["djvu","image/vnd.djvu"],["dll","application/octet-stream"],["dmg","application/x-apple-diskimage"],["dmn","application/octet-stream"],["dmp","application/vnd.tcpdump.pcap"],["dms","application/octet-stream"],["dna","application/vnd.dna"],["doc","application/msword"],["docm","application/vnd.ms-word.template.macroEnabled.12"],["docx","application/vnd.openxmlformats-officedocument.wordprocessingml.document"],["dot","application/msword"],["dotm","application/vnd.ms-word.template.macroEnabled.12"],["dotx","application/vnd.openxmlformats-officedocument.wordprocessingml.template"],["dp","application/vnd.osgi.dp"],["dpg","application/vnd.dpgraph"],["dra","audio/vnd.dra"],["drle","image/dicom-rle"],["dsc","text/prs.lines.tag"],["dssc","application/dssc+der"],["dtb","application/x-dtbook+xml"],["dtd","application/xml-dtd"],["dts","audio/vnd.dts"],["dtshd","audio/vnd.dts.hd"],["dump","application/octet-stream"],["dvb","video/vnd.dvb.file"],["dvi","application/x-dvi"],["dwd","application/atsc-dwd+xml"],["dwf","model/vnd.dwf"],["dwg","image/vnd.dwg"],["dxf","image/vnd.dxf"],["dxp","application/vnd.spotfire.dxp"],["dxr","application/x-director"],["ear","application/java-archive"],["ecelp4800","audio/vnd.nuera.ecelp4800"],["ecelp7470","audio/vnd.nuera.ecelp7470"],["ecelp9600","audio/vnd.nuera.ecelp9600"],["ecma","application/ecmascript"],["edm","application/vnd.novadigm.edm"],["edx","application/vnd.novadigm.edx"],["efif","application/vnd.picsel"],["ei6","application/vnd.pg.osasli"],["elc","application/octet-stream"],["emf","image/emf"],["eml","message/rfc822"],["emma","application/emma+xml"],["emotionml","application/emotionml+xml"],["emz","application/x-msmetafile"],["eol","audio/vnd.digital-winds"],["eot","application/vnd.ms-fontobject"],["eps","application/postscript"],["epub","application/epub+zip"],["es","application/ecmascript"],["es3","application/vnd.eszigno3+xml"],["esa","application/vnd.osgi.subsystem"],["esf","application/vnd.epson.esf"],["et3","application/vnd.eszigno3+xml"],["etx","text/x-setext"],["eva","application/x-eva"],["evy","application/x-envoy"],["exe","application/octet-stream"],["exi","application/exi"],["exp","application/express"],["exr","image/aces"],["ext","application/vnd.novadigm.ext"],["ez","application/andrew-inset"],["ez2","application/vnd.ezpix-album"],["ez3","application/vnd.ezpix-package"],["f","text/x-fortran"],["f4v","video/mp4"],["f77","text/x-fortran"],["f90","text/x-fortran"],["fbs","image/vnd.fastbidsheet"],["fcdt","application/vnd.adobe.formscentral.fcdt"],["fcs","application/vnd.isac.fcs"],["fdf","application/vnd.fdf"],["fdt","application/fdt+xml"],["fe_launch","application/vnd.denovo.fcselayout-link"],["fg5","application/vnd.fujitsu.oasysgp"],["fgd","application/x-director"],["fh","image/x-freehand"],["fh4","image/x-freehand"],["fh5","image/x-freehand"],["fh7","image/x-freehand"],["fhc","image/x-freehand"],["fig","application/x-xfig"],["fits","image/fits"],["flac","audio/x-flac"],["fli","video/x-fli"],["flo","application/vnd.micrografx.flo"],["flv","video/x-flv"],["flw","application/vnd.kde.kivio"],["flx","text/vnd.fmi.flexstor"],["fly","text/vnd.fly"],["fm","application/vnd.framemaker"],["fnc","application/vnd.frogans.fnc"],["fo","application/vnd.software602.filler.form+xml"],["for","text/x-fortran"],["fpx","image/vnd.fpx"],["frame","application/vnd.framemaker"],["fsc","application/vnd.fsc.weblaunch"],["fst","image/vnd.fst"],["ftc","application/vnd.fluxtime.clip"],["fti","application/vnd.anser-web-funds-transfer-initiation"],["fvt","video/vnd.fvt"],["fxp","application/vnd.adobe.fxp"],["fxpl","application/vnd.adobe.fxp"],["fzs","application/vnd.fuzzysheet"],["g2w","application/vnd.geoplan"],["g3","image/g3fax"],["g3w","application/vnd.geospace"],["gac","application/vnd.groove-account"],["gam","application/x-tads"],["gbr","application/rpki-ghostbusters"],["gca","application/x-gca-compressed"],["gdl","model/vnd.gdl"],["gdoc","application/vnd.google-apps.document"],["geo","application/vnd.dynageo"],["geojson","application/geo+json"],["gex","application/vnd.geometry-explorer"],["ggb","application/vnd.geogebra.file"],["ggt","application/vnd.geogebra.tool"],["ghf","application/vnd.groove-help"],["gif","image/gif"],["gim","application/vnd.groove-identity-message"],["glb","model/gltf-binary"],["gltf","model/gltf+json"],["gml","application/gml+xml"],["gmx","application/vnd.gmx"],["gnumeric","application/x-gnumeric"],["gpg","application/gpg-keys"],["gph","application/vnd.flographit"],["gpx","application/gpx+xml"],["gqf","application/vnd.grafeq"],["gqs","application/vnd.grafeq"],["gram","application/srgs"],["gramps","application/x-gramps-xml"],["gre","application/vnd.geometry-explorer"],["grv","application/vnd.groove-injector"],["grxml","application/srgs+xml"],["gsf","application/x-font-ghostscript"],["gsheet","application/vnd.google-apps.spreadsheet"],["gslides","application/vnd.google-apps.presentation"],["gtar","application/x-gtar"],["gtm","application/vnd.groove-tool-message"],["gtw","model/vnd.gtw"],["gv","text/vnd.graphviz"],["gxf","application/gxf"],["gxt","application/vnd.geonext"],["gz","application/gzip"],["gzip","application/gzip"],["h","text/x-c"],["h261","video/h261"],["h263","video/h263"],["h264","video/h264"],["hal","application/vnd.hal+xml"],["hbci","application/vnd.hbci"],["hbs","text/x-handlebars-template"],["hdd","application/x-virtualbox-hdd"],["hdf","application/x-hdf"],["heic","image/heic"],["heics","image/heic-sequence"],["heif","image/heif"],["heifs","image/heif-sequence"],["hej2","image/hej2k"],["held","application/atsc-held+xml"],["hh","text/x-c"],["hjson","application/hjson"],["hlp","application/winhlp"],["hpgl","application/vnd.hp-hpgl"],["hpid","application/vnd.hp-hpid"],["hps","application/vnd.hp-hps"],["hqx","application/mac-binhex40"],["hsj2","image/hsj2"],["htc","text/x-component"],["htke","application/vnd.kenameaapp"],["htm","text/html"],["html","text/html"],["hvd","application/vnd.yamaha.hv-dic"],["hvp","application/vnd.yamaha.hv-voice"],["hvs","application/vnd.yamaha.hv-script"],["i2g","application/vnd.intergeo"],["icc","application/vnd.iccprofile"],["ice","x-conference/x-cooltalk"],["icm","application/vnd.iccprofile"],["ico","image/x-icon"],["ics","text/calendar"],["ief","image/ief"],["ifb","text/calendar"],["ifm","application/vnd.shana.informed.formdata"],["iges","model/iges"],["igl","application/vnd.igloader"],["igm","application/vnd.insors.igm"],["igs","model/iges"],["igx","application/vnd.micrografx.igx"],["iif","application/vnd.shana.informed.interchange"],["img","application/octet-stream"],["imp","application/vnd.accpac.simply.imp"],["ims","application/vnd.ms-ims"],["in","text/plain"],["ini","text/plain"],["ink","application/inkml+xml"],["inkml","application/inkml+xml"],["install","application/x-install-instructions"],["iota","application/vnd.astraea-software.iota"],["ipfix","application/ipfix"],["ipk","application/vnd.shana.informed.package"],["irm","application/vnd.ibm.rights-management"],["irp","application/vnd.irepository.package+xml"],["iso","application/x-iso9660-image"],["itp","application/vnd.shana.informed.formtemplate"],["its","application/its+xml"],["ivp","application/vnd.immervision-ivp"],["ivu","application/vnd.immervision-ivu"],["jad","text/vnd.sun.j2me.app-descriptor"],["jade","text/jade"],["jam","application/vnd.jam"],["jar","application/java-archive"],["jardiff","application/x-java-archive-diff"],["java","text/x-java-source"],["jhc","image/jphc"],["jisp","application/vnd.jisp"],["jls","image/jls"],["jlt","application/vnd.hp-jlyt"],["jng","image/x-jng"],["jnlp","application/x-java-jnlp-file"],["joda","application/vnd.joost.joda-archive"],["jp2","image/jp2"],["jpe","image/jpeg"],["jpeg","image/jpeg"],["jpf","image/jpx"],["jpg","image/jpeg"],["jpg2","image/jp2"],["jpgm","video/jpm"],["jpgv","video/jpeg"],["jph","image/jph"],["jpm","video/jpm"],["jpx","image/jpx"],["js","application/javascript"],["json","application/json"],["json5","application/json5"],["jsonld","application/ld+json"],["jsonl","application/jsonl"],["jsonml","application/jsonml+json"],["jsx","text/jsx"],["jxr","image/jxr"],["jxra","image/jxra"],["jxrs","image/jxrs"],["jxs","image/jxs"],["jxsc","image/jxsc"],["jxsi","image/jxsi"],["jxss","image/jxss"],["kar","audio/midi"],["karbon","application/vnd.kde.karbon"],["kdb","application/octet-stream"],["kdbx","application/x-keepass2"],["key","application/x-iwork-keynote-sffkey"],["kfo","application/vnd.kde.kformula"],["kia","application/vnd.kidspiration"],["kml","application/vnd.google-earth.kml+xml"],["kmz","application/vnd.google-earth.kmz"],["kne","application/vnd.kinar"],["knp","application/vnd.kinar"],["kon","application/vnd.kde.kontour"],["kpr","application/vnd.kde.kpresenter"],["kpt","application/vnd.kde.kpresenter"],["kpxx","application/vnd.ds-keypoint"],["ksp","application/vnd.kde.kspread"],["ktr","application/vnd.kahootz"],["ktx","image/ktx"],["ktx2","image/ktx2"],["ktz","application/vnd.kahootz"],["kwd","application/vnd.kde.kword"],["kwt","application/vnd.kde.kword"],["lasxml","application/vnd.las.las+xml"],["latex","application/x-latex"],["lbd","application/vnd.llamagraphics.life-balance.desktop"],["lbe","application/vnd.llamagraphics.life-balance.exchange+xml"],["les","application/vnd.hhe.lesson-player"],["less","text/less"],["lgr","application/lgr+xml"],["lha","application/octet-stream"],["link66","application/vnd.route66.link66+xml"],["list","text/plain"],["list3820","application/vnd.ibm.modcap"],["listafp","application/vnd.ibm.modcap"],["litcoffee","text/coffeescript"],["lnk","application/x-ms-shortcut"],["log","text/plain"],["lostxml","application/lost+xml"],["lrf","application/octet-stream"],["lrm","application/vnd.ms-lrm"],["ltf","application/vnd.frogans.ltf"],["lua","text/x-lua"],["luac","application/x-lua-bytecode"],["lvp","audio/vnd.lucent.voice"],["lwp","application/vnd.lotus-wordpro"],["lzh","application/octet-stream"],["m1v","video/mpeg"],["m2a","audio/mpeg"],["m2v","video/mpeg"],["m3a","audio/mpeg"],["m3u","text/plain"],["m3u8","application/vnd.apple.mpegurl"],["m4a","audio/x-m4a"],["m4p","application/mp4"],["m4s","video/iso.segment"],["m4u","application/vnd.mpegurl"],["m4v","video/x-m4v"],["m13","application/x-msmediaview"],["m14","application/x-msmediaview"],["m21","application/mp21"],["ma","application/mathematica"],["mads","application/mads+xml"],["maei","application/mmt-aei+xml"],["mag","application/vnd.ecowin.chart"],["maker","application/vnd.framemaker"],["man","text/troff"],["manifest","text/cache-manifest"],["map","application/json"],["mar","application/octet-stream"],["markdown","text/markdown"],["mathml","application/mathml+xml"],["mb","application/mathematica"],["mbk","application/vnd.mobius.mbk"],["mbox","application/mbox"],["mc1","application/vnd.medcalcdata"],["mcd","application/vnd.mcd"],["mcurl","text/vnd.curl.mcurl"],["md","text/markdown"],["mdb","application/x-msaccess"],["mdi","image/vnd.ms-modi"],["mdx","text/mdx"],["me","text/troff"],["mesh","model/mesh"],["meta4","application/metalink4+xml"],["metalink","application/metalink+xml"],["mets","application/mets+xml"],["mfm","application/vnd.mfmp"],["mft","application/rpki-manifest"],["mgp","application/vnd.osgeo.mapguide.package"],["mgz","application/vnd.proteus.magazine"],["mid","audio/midi"],["midi","audio/midi"],["mie","application/x-mie"],["mif","application/vnd.mif"],["mime","message/rfc822"],["mj2","video/mj2"],["mjp2","video/mj2"],["mjs","application/javascript"],["mk3d","video/x-matroska"],["mka","audio/x-matroska"],["mkd","text/x-markdown"],["mks","video/x-matroska"],["mkv","video/x-matroska"],["mlp","application/vnd.dolby.mlp"],["mmd","application/vnd.chipnuts.karaoke-mmd"],["mmf","application/vnd.smaf"],["mml","text/mathml"],["mmr","image/vnd.fujixerox.edmics-mmr"],["mng","video/x-mng"],["mny","application/x-msmoney"],["mobi","application/x-mobipocket-ebook"],["mods","application/mods+xml"],["mov","video/quicktime"],["movie","video/x-sgi-movie"],["mp2","audio/mpeg"],["mp2a","audio/mpeg"],["mp3","audio/mpeg"],["mp4","video/mp4"],["mp4a","audio/mp4"],["mp4s","application/mp4"],["mp4v","video/mp4"],["mp21","application/mp21"],["mpc","application/vnd.mophun.certificate"],["mpd","application/dash+xml"],["mpe","video/mpeg"],["mpeg","video/mpeg"],["mpg","video/mpeg"],["mpg4","video/mp4"],["mpga","audio/mpeg"],["mpkg","application/vnd.apple.installer+xml"],["mpm","application/vnd.blueice.multipass"],["mpn","application/vnd.mophun.application"],["mpp","application/vnd.ms-project"],["mpt","application/vnd.ms-project"],["mpy","application/vnd.ibm.minipay"],["mqy","application/vnd.mobius.mqy"],["mrc","application/marc"],["mrcx","application/marcxml+xml"],["ms","text/troff"],["mscml","application/mediaservercontrol+xml"],["mseed","application/vnd.fdsn.mseed"],["mseq","application/vnd.mseq"],["msf","application/vnd.epson.msf"],["msg","application/vnd.ms-outlook"],["msh","model/mesh"],["msi","application/x-msdownload"],["msl","application/vnd.mobius.msl"],["msm","application/octet-stream"],["msp","application/octet-stream"],["msty","application/vnd.muvee.style"],["mtl","model/mtl"],["mts","model/vnd.mts"],["mus","application/vnd.musician"],["musd","application/mmt-usd+xml"],["musicxml","application/vnd.recordare.musicxml+xml"],["mvb","application/x-msmediaview"],["mvt","application/vnd.mapbox-vector-tile"],["mwf","application/vnd.mfer"],["mxf","application/mxf"],["mxl","application/vnd.recordare.musicxml"],["mxmf","audio/mobile-xmf"],["mxml","application/xv+xml"],["mxs","application/vnd.triscape.mxs"],["mxu","video/vnd.mpegurl"],["n-gage","application/vnd.nokia.n-gage.symbian.install"],["n3","text/n3"],["nb","application/mathematica"],["nbp","application/vnd.wolfram.player"],["nc","application/x-netcdf"],["ncx","application/x-dtbncx+xml"],["nfo","text/x-nfo"],["ngdat","application/vnd.nokia.n-gage.data"],["nitf","application/vnd.nitf"],["nlu","application/vnd.neurolanguage.nlu"],["nml","application/vnd.enliven"],["nnd","application/vnd.noblenet-directory"],["nns","application/vnd.noblenet-sealer"],["nnw","application/vnd.noblenet-web"],["npx","image/vnd.net-fpx"],["nq","application/n-quads"],["nsc","application/x-conference"],["nsf","application/vnd.lotus-notes"],["nt","application/n-triples"],["ntf","application/vnd.nitf"],["numbers","application/x-iwork-numbers-sffnumbers"],["nzb","application/x-nzb"],["oa2","application/vnd.fujitsu.oasys2"],["oa3","application/vnd.fujitsu.oasys3"],["oas","application/vnd.fujitsu.oasys"],["obd","application/x-msbinder"],["obgx","application/vnd.openblox.game+xml"],["obj","model/obj"],["oda","application/oda"],["odb","application/vnd.oasis.opendocument.database"],["odc","application/vnd.oasis.opendocument.chart"],["odf","application/vnd.oasis.opendocument.formula"],["odft","application/vnd.oasis.opendocument.formula-template"],["odg","application/vnd.oasis.opendocument.graphics"],["odi","application/vnd.oasis.opendocument.image"],["odm","application/vnd.oasis.opendocument.text-master"],["odp","application/vnd.oasis.opendocument.presentation"],["ods","application/vnd.oasis.opendocument.spreadsheet"],["odt","application/vnd.oasis.opendocument.text"],["oga","audio/ogg"],["ogex","model/vnd.opengex"],["ogg","audio/ogg"],["ogv","video/ogg"],["ogx","application/ogg"],["omdoc","application/omdoc+xml"],["onepkg","application/onenote"],["onetmp","application/onenote"],["onetoc","application/onenote"],["onetoc2","application/onenote"],["opf","application/oebps-package+xml"],["opml","text/x-opml"],["oprc","application/vnd.palm"],["opus","audio/ogg"],["org","text/x-org"],["osf","application/vnd.yamaha.openscoreformat"],["osfpvg","application/vnd.yamaha.openscoreformat.osfpvg+xml"],["osm","application/vnd.openstreetmap.data+xml"],["otc","application/vnd.oasis.opendocument.chart-template"],["otf","font/otf"],["otg","application/vnd.oasis.opendocument.graphics-template"],["oth","application/vnd.oasis.opendocument.text-web"],["oti","application/vnd.oasis.opendocument.image-template"],["otp","application/vnd.oasis.opendocument.presentation-template"],["ots","application/vnd.oasis.opendocument.spreadsheet-template"],["ott","application/vnd.oasis.opendocument.text-template"],["ova","application/x-virtualbox-ova"],["ovf","application/x-virtualbox-ovf"],["owl","application/rdf+xml"],["oxps","application/oxps"],["oxt","application/vnd.openofficeorg.extension"],["p","text/x-pascal"],["p7a","application/x-pkcs7-signature"],["p7b","application/x-pkcs7-certificates"],["p7c","application/pkcs7-mime"],["p7m","application/pkcs7-mime"],["p7r","application/x-pkcs7-certreqresp"],["p7s","application/pkcs7-signature"],["p8","application/pkcs8"],["p10","application/x-pkcs10"],["p12","application/x-pkcs12"],["pac","application/x-ns-proxy-autoconfig"],["pages","application/x-iwork-pages-sffpages"],["pas","text/x-pascal"],["paw","application/vnd.pawaafile"],["pbd","application/vnd.powerbuilder6"],["pbm","image/x-portable-bitmap"],["pcap","application/vnd.tcpdump.pcap"],["pcf","application/x-font-pcf"],["pcl","application/vnd.hp-pcl"],["pclxl","application/vnd.hp-pclxl"],["pct","image/x-pict"],["pcurl","application/vnd.curl.pcurl"],["pcx","image/x-pcx"],["pdb","application/x-pilot"],["pde","text/x-processing"],["pdf","application/pdf"],["pem","application/x-x509-user-cert"],["pfa","application/x-font-type1"],["pfb","application/x-font-type1"],["pfm","application/x-font-type1"],["pfr","application/font-tdpfr"],["pfx","application/x-pkcs12"],["pgm","image/x-portable-graymap"],["pgn","application/x-chess-pgn"],["pgp","application/pgp"],["php","application/x-httpd-php"],["php3","application/x-httpd-php"],["php4","application/x-httpd-php"],["phps","application/x-httpd-php-source"],["phtml","application/x-httpd-php"],["pic","image/x-pict"],["pkg","application/octet-stream"],["pki","application/pkixcmp"],["pkipath","application/pkix-pkipath"],["pkpass","application/vnd.apple.pkpass"],["pl","application/x-perl"],["plb","application/vnd.3gpp.pic-bw-large"],["plc","application/vnd.mobius.plc"],["plf","application/vnd.pocketlearn"],["pls","application/pls+xml"],["pm","application/x-perl"],["pml","application/vnd.ctc-posml"],["png","image/png"],["pnm","image/x-portable-anymap"],["portpkg","application/vnd.macports.portpkg"],["pot","application/vnd.ms-powerpoint"],["potm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["potx","application/vnd.openxmlformats-officedocument.presentationml.template"],["ppa","application/vnd.ms-powerpoint"],["ppam","application/vnd.ms-powerpoint.addin.macroEnabled.12"],["ppd","application/vnd.cups-ppd"],["ppm","image/x-portable-pixmap"],["pps","application/vnd.ms-powerpoint"],["ppsm","application/vnd.ms-powerpoint.slideshow.macroEnabled.12"],["ppsx","application/vnd.openxmlformats-officedocument.presentationml.slideshow"],["ppt","application/powerpoint"],["pptm","application/vnd.ms-powerpoint.presentation.macroEnabled.12"],["pptx","application/vnd.openxmlformats-officedocument.presentationml.presentation"],["pqa","application/vnd.palm"],["prc","application/x-pilot"],["pre","application/vnd.lotus-freelance"],["prf","application/pics-rules"],["provx","application/provenance+xml"],["ps","application/postscript"],["psb","application/vnd.3gpp.pic-bw-small"],["psd","application/x-photoshop"],["psf","application/x-font-linux-psf"],["pskcxml","application/pskc+xml"],["pti","image/prs.pti"],["ptid","application/vnd.pvi.ptid1"],["pub","application/x-mspublisher"],["pvb","application/vnd.3gpp.pic-bw-var"],["pwn","application/vnd.3m.post-it-notes"],["pya","audio/vnd.ms-playready.media.pya"],["pyv","video/vnd.ms-playready.media.pyv"],["qam","application/vnd.epson.quickanime"],["qbo","application/vnd.intu.qbo"],["qfx","application/vnd.intu.qfx"],["qps","application/vnd.publishare-delta-tree"],["qt","video/quicktime"],["qwd","application/vnd.quark.quarkxpress"],["qwt","application/vnd.quark.quarkxpress"],["qxb","application/vnd.quark.quarkxpress"],["qxd","application/vnd.quark.quarkxpress"],["qxl","application/vnd.quark.quarkxpress"],["qxt","application/vnd.quark.quarkxpress"],["ra","audio/x-realaudio"],["ram","audio/x-pn-realaudio"],["raml","application/raml+yaml"],["rapd","application/route-apd+xml"],["rar","application/x-rar"],["ras","image/x-cmu-raster"],["rcprofile","application/vnd.ipunplugged.rcprofile"],["rdf","application/rdf+xml"],["rdz","application/vnd.data-vision.rdz"],["relo","application/p2p-overlay+xml"],["rep","application/vnd.businessobjects"],["res","application/x-dtbresource+xml"],["rgb","image/x-rgb"],["rif","application/reginfo+xml"],["rip","audio/vnd.rip"],["ris","application/x-research-info-systems"],["rl","application/resource-lists+xml"],["rlc","image/vnd.fujixerox.edmics-rlc"],["rld","application/resource-lists-diff+xml"],["rm","audio/x-pn-realaudio"],["rmi","audio/midi"],["rmp","audio/x-pn-realaudio-plugin"],["rms","application/vnd.jcp.javame.midlet-rms"],["rmvb","application/vnd.rn-realmedia-vbr"],["rnc","application/relax-ng-compact-syntax"],["rng","application/xml"],["roa","application/rpki-roa"],["roff","text/troff"],["rp9","application/vnd.cloanto.rp9"],["rpm","audio/x-pn-realaudio-plugin"],["rpss","application/vnd.nokia.radio-presets"],["rpst","application/vnd.nokia.radio-preset"],["rq","application/sparql-query"],["rs","application/rls-services+xml"],["rsa","application/x-pkcs7"],["rsat","application/atsc-rsat+xml"],["rsd","application/rsd+xml"],["rsheet","application/urc-ressheet+xml"],["rss","application/rss+xml"],["rtf","text/rtf"],["rtx","text/richtext"],["run","application/x-makeself"],["rusd","application/route-usd+xml"],["rv","video/vnd.rn-realvideo"],["s","text/x-asm"],["s3m","audio/s3m"],["saf","application/vnd.yamaha.smaf-audio"],["sass","text/x-sass"],["sbml","application/sbml+xml"],["sc","application/vnd.ibm.secure-container"],["scd","application/x-msschedule"],["scm","application/vnd.lotus-screencam"],["scq","application/scvp-cv-request"],["scs","application/scvp-cv-response"],["scss","text/x-scss"],["scurl","text/vnd.curl.scurl"],["sda","application/vnd.stardivision.draw"],["sdc","application/vnd.stardivision.calc"],["sdd","application/vnd.stardivision.impress"],["sdkd","application/vnd.solent.sdkm+xml"],["sdkm","application/vnd.solent.sdkm+xml"],["sdp","application/sdp"],["sdw","application/vnd.stardivision.writer"],["sea","application/octet-stream"],["see","application/vnd.seemail"],["seed","application/vnd.fdsn.seed"],["sema","application/vnd.sema"],["semd","application/vnd.semd"],["semf","application/vnd.semf"],["senmlx","application/senml+xml"],["sensmlx","application/sensml+xml"],["ser","application/java-serialized-object"],["setpay","application/set-payment-initiation"],["setreg","application/set-registration-initiation"],["sfd-hdstx","application/vnd.hydrostatix.sof-data"],["sfs","application/vnd.spotfire.sfs"],["sfv","text/x-sfv"],["sgi","image/sgi"],["sgl","application/vnd.stardivision.writer-global"],["sgm","text/sgml"],["sgml","text/sgml"],["sh","application/x-sh"],["shar","application/x-shar"],["shex","text/shex"],["shf","application/shf+xml"],["shtml","text/html"],["sid","image/x-mrsid-image"],["sieve","application/sieve"],["sig","application/pgp-signature"],["sil","audio/silk"],["silo","model/mesh"],["sis","application/vnd.symbian.install"],["sisx","application/vnd.symbian.install"],["sit","application/x-stuffit"],["sitx","application/x-stuffitx"],["siv","application/sieve"],["skd","application/vnd.koan"],["skm","application/vnd.koan"],["skp","application/vnd.koan"],["skt","application/vnd.koan"],["sldm","application/vnd.ms-powerpoint.slide.macroenabled.12"],["sldx","application/vnd.openxmlformats-officedocument.presentationml.slide"],["slim","text/slim"],["slm","text/slim"],["sls","application/route-s-tsid+xml"],["slt","application/vnd.epson.salt"],["sm","application/vnd.stepmania.stepchart"],["smf","application/vnd.stardivision.math"],["smi","application/smil"],["smil","application/smil"],["smv","video/x-smv"],["smzip","application/vnd.stepmania.package"],["snd","audio/basic"],["snf","application/x-font-snf"],["so","application/octet-stream"],["spc","application/x-pkcs7-certificates"],["spdx","text/spdx"],["spf","application/vnd.yamaha.smaf-phrase"],["spl","application/x-futuresplash"],["spot","text/vnd.in3d.spot"],["spp","application/scvp-vp-response"],["spq","application/scvp-vp-request"],["spx","audio/ogg"],["sql","application/x-sql"],["src","application/x-wais-source"],["srt","application/x-subrip"],["sru","application/sru+xml"],["srx","application/sparql-results+xml"],["ssdl","application/ssdl+xml"],["sse","application/vnd.kodak-descriptor"],["ssf","application/vnd.epson.ssf"],["ssml","application/ssml+xml"],["sst","application/octet-stream"],["st","application/vnd.sailingtracker.track"],["stc","application/vnd.sun.xml.calc.template"],["std","application/vnd.sun.xml.draw.template"],["stf","application/vnd.wt.stf"],["sti","application/vnd.sun.xml.impress.template"],["stk","application/hyperstudio"],["stl","model/stl"],["stpx","model/step+xml"],["stpxz","model/step-xml+zip"],["stpz","model/step+zip"],["str","application/vnd.pg.format"],["stw","application/vnd.sun.xml.writer.template"],["styl","text/stylus"],["stylus","text/stylus"],["sub","text/vnd.dvb.subtitle"],["sus","application/vnd.sus-calendar"],["susp","application/vnd.sus-calendar"],["sv4cpio","application/x-sv4cpio"],["sv4crc","application/x-sv4crc"],["svc","application/vnd.dvb.service"],["svd","application/vnd.svd"],["svg","image/svg+xml"],["svgz","image/svg+xml"],["swa","application/x-director"],["swf","application/x-shockwave-flash"],["swi","application/vnd.aristanetworks.swi"],["swidtag","application/swid+xml"],["sxc","application/vnd.sun.xml.calc"],["sxd","application/vnd.sun.xml.draw"],["sxg","application/vnd.sun.xml.writer.global"],["sxi","application/vnd.sun.xml.impress"],["sxm","application/vnd.sun.xml.math"],["sxw","application/vnd.sun.xml.writer"],["t","text/troff"],["t3","application/x-t3vm-image"],["t38","image/t38"],["taglet","application/vnd.mynfc"],["tao","application/vnd.tao.intent-module-archive"],["tap","image/vnd.tencent.tap"],["tar","application/x-tar"],["tcap","application/vnd.3gpp2.tcap"],["tcl","application/x-tcl"],["td","application/urc-targetdesc+xml"],["teacher","application/vnd.smart.teacher"],["tei","application/tei+xml"],["teicorpus","application/tei+xml"],["tex","application/x-tex"],["texi","application/x-texinfo"],["texinfo","application/x-texinfo"],["text","text/plain"],["tfi","application/thraud+xml"],["tfm","application/x-tex-tfm"],["tfx","image/tiff-fx"],["tga","image/x-tga"],["tgz","application/x-tar"],["thmx","application/vnd.ms-officetheme"],["tif","image/tiff"],["tiff","image/tiff"],["tk","application/x-tcl"],["tmo","application/vnd.tmobile-livetv"],["toml","application/toml"],["torrent","application/x-bittorrent"],["tpl","application/vnd.groove-tool-template"],["tpt","application/vnd.trid.tpt"],["tr","text/troff"],["tra","application/vnd.trueapp"],["trig","application/trig"],["trm","application/x-msterminal"],["ts","video/mp2t"],["tsd","application/timestamped-data"],["tsv","text/tab-separated-values"],["ttc","font/collection"],["ttf","font/ttf"],["ttl","text/turtle"],["ttml","application/ttml+xml"],["twd","application/vnd.simtech-mindmapper"],["twds","application/vnd.simtech-mindmapper"],["txd","application/vnd.genomatix.tuxedo"],["txf","application/vnd.mobius.txf"],["txt","text/plain"],["u8dsn","message/global-delivery-status"],["u8hdr","message/global-headers"],["u8mdn","message/global-disposition-notification"],["u8msg","message/global"],["u32","application/x-authorware-bin"],["ubj","application/ubjson"],["udeb","application/x-debian-package"],["ufd","application/vnd.ufdl"],["ufdl","application/vnd.ufdl"],["ulx","application/x-glulx"],["umj","application/vnd.umajin"],["unityweb","application/vnd.unity"],["uoml","application/vnd.uoml+xml"],["uri","text/uri-list"],["uris","text/uri-list"],["urls","text/uri-list"],["usdz","model/vnd.usdz+zip"],["ustar","application/x-ustar"],["utz","application/vnd.uiq.theme"],["uu","text/x-uuencode"],["uva","audio/vnd.dece.audio"],["uvd","application/vnd.dece.data"],["uvf","application/vnd.dece.data"],["uvg","image/vnd.dece.graphic"],["uvh","video/vnd.dece.hd"],["uvi","image/vnd.dece.graphic"],["uvm","video/vnd.dece.mobile"],["uvp","video/vnd.dece.pd"],["uvs","video/vnd.dece.sd"],["uvt","application/vnd.dece.ttml+xml"],["uvu","video/vnd.uvvu.mp4"],["uvv","video/vnd.dece.video"],["uvva","audio/vnd.dece.audio"],["uvvd","application/vnd.dece.data"],["uvvf","application/vnd.dece.data"],["uvvg","image/vnd.dece.graphic"],["uvvh","video/vnd.dece.hd"],["uvvi","image/vnd.dece.graphic"],["uvvm","video/vnd.dece.mobile"],["uvvp","video/vnd.dece.pd"],["uvvs","video/vnd.dece.sd"],["uvvt","application/vnd.dece.ttml+xml"],["uvvu","video/vnd.uvvu.mp4"],["uvvv","video/vnd.dece.video"],["uvvx","application/vnd.dece.unspecified"],["uvvz","application/vnd.dece.zip"],["uvx","application/vnd.dece.unspecified"],["uvz","application/vnd.dece.zip"],["vbox","application/x-virtualbox-vbox"],["vbox-extpack","application/x-virtualbox-vbox-extpack"],["vcard","text/vcard"],["vcd","application/x-cdlink"],["vcf","text/x-vcard"],["vcg","application/vnd.groove-vcard"],["vcs","text/x-vcalendar"],["vcx","application/vnd.vcx"],["vdi","application/x-virtualbox-vdi"],["vds","model/vnd.sap.vds"],["vhd","application/x-virtualbox-vhd"],["vis","application/vnd.visionary"],["viv","video/vnd.vivo"],["vlc","application/videolan"],["vmdk","application/x-virtualbox-vmdk"],["vob","video/x-ms-vob"],["vor","application/vnd.stardivision.writer"],["vox","application/x-authorware-bin"],["vrml","model/vrml"],["vsd","application/vnd.visio"],["vsf","application/vnd.vsf"],["vss","application/vnd.visio"],["vst","application/vnd.visio"],["vsw","application/vnd.visio"],["vtf","image/vnd.valve.source.texture"],["vtt","text/vtt"],["vtu","model/vnd.vtu"],["vxml","application/voicexml+xml"],["w3d","application/x-director"],["wad","application/x-doom"],["wadl","application/vnd.sun.wadl+xml"],["war","application/java-archive"],["wasm","application/wasm"],["wav","audio/x-wav"],["wax","audio/x-ms-wax"],["wbmp","image/vnd.wap.wbmp"],["wbs","application/vnd.criticaltools.wbs+xml"],["wbxml","application/wbxml"],["wcm","application/vnd.ms-works"],["wdb","application/vnd.ms-works"],["wdp","image/vnd.ms-photo"],["weba","audio/webm"],["webapp","application/x-web-app-manifest+json"],["webm","video/webm"],["webmanifest","application/manifest+json"],["webp","image/webp"],["wg","application/vnd.pmi.widget"],["wgt","application/widget"],["wks","application/vnd.ms-works"],["wm","video/x-ms-wm"],["wma","audio/x-ms-wma"],["wmd","application/x-ms-wmd"],["wmf","image/wmf"],["wml","text/vnd.wap.wml"],["wmlc","application/wmlc"],["wmls","text/vnd.wap.wmlscript"],["wmlsc","application/vnd.wap.wmlscriptc"],["wmv","video/x-ms-wmv"],["wmx","video/x-ms-wmx"],["wmz","application/x-msmetafile"],["woff","font/woff"],["woff2","font/woff2"],["word","application/msword"],["wpd","application/vnd.wordperfect"],["wpl","application/vnd.ms-wpl"],["wps","application/vnd.ms-works"],["wqd","application/vnd.wqd"],["wri","application/x-mswrite"],["wrl","model/vrml"],["wsc","message/vnd.wfa.wsc"],["wsdl","application/wsdl+xml"],["wspolicy","application/wspolicy+xml"],["wtb","application/vnd.webturbo"],["wvx","video/x-ms-wvx"],["x3d","model/x3d+xml"],["x3db","model/x3d+fastinfoset"],["x3dbz","model/x3d+binary"],["x3dv","model/x3d-vrml"],["x3dvz","model/x3d+vrml"],["x3dz","model/x3d+xml"],["x32","application/x-authorware-bin"],["x_b","model/vnd.parasolid.transmit.binary"],["x_t","model/vnd.parasolid.transmit.text"],["xaml","application/xaml+xml"],["xap","application/x-silverlight-app"],["xar","application/vnd.xara"],["xav","application/xcap-att+xml"],["xbap","application/x-ms-xbap"],["xbd","application/vnd.fujixerox.docuworks.binder"],["xbm","image/x-xbitmap"],["xca","application/xcap-caps+xml"],["xcs","application/calendar+xml"],["xdf","application/xcap-diff+xml"],["xdm","application/vnd.syncml.dm+xml"],["xdp","application/vnd.adobe.xdp+xml"],["xdssc","application/dssc+xml"],["xdw","application/vnd.fujixerox.docuworks"],["xel","application/xcap-el+xml"],["xenc","application/xenc+xml"],["xer","application/patch-ops-error+xml"],["xfdf","application/vnd.adobe.xfdf"],["xfdl","application/vnd.xfdl"],["xht","application/xhtml+xml"],["xhtml","application/xhtml+xml"],["xhvml","application/xv+xml"],["xif","image/vnd.xiff"],["xl","application/excel"],["xla","application/vnd.ms-excel"],["xlam","application/vnd.ms-excel.addin.macroEnabled.12"],["xlc","application/vnd.ms-excel"],["xlf","application/xliff+xml"],["xlm","application/vnd.ms-excel"],["xls","application/vnd.ms-excel"],["xlsb","application/vnd.ms-excel.sheet.binary.macroEnabled.12"],["xlsm","application/vnd.ms-excel.sheet.macroEnabled.12"],["xlsx","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet"],["xlt","application/vnd.ms-excel"],["xltm","application/vnd.ms-excel.template.macroEnabled.12"],["xltx","application/vnd.openxmlformats-officedocument.spreadsheetml.template"],["xlw","application/vnd.ms-excel"],["xm","audio/xm"],["xml","application/xml"],["xns","application/xcap-ns+xml"],["xo","application/vnd.olpc-sugar"],["xop","application/xop+xml"],["xpi","application/x-xpinstall"],["xpl","application/xproc+xml"],["xpm","image/x-xpixmap"],["xpr","application/vnd.is-xpr"],["xps","application/vnd.ms-xpsdocument"],["xpw","application/vnd.intercon.formnet"],["xpx","application/vnd.intercon.formnet"],["xsd","application/xml"],["xsl","application/xml"],["xslt","application/xslt+xml"],["xsm","application/vnd.syncml+xml"],["xspf","application/xspf+xml"],["xul","application/vnd.mozilla.xul+xml"],["xvm","application/xv+xml"],["xvml","application/xv+xml"],["xwd","image/x-xwindowdump"],["xyz","chemical/x-xyz"],["xz","application/x-xz"],["yaml","text/yaml"],["yang","application/yang"],["yin","application/yin+xml"],["yml","text/yaml"],["ymp","text/x-suse-ymp"],["z","application/x-compress"],["z1","application/x-zmachine"],["z2","application/x-zmachine"],["z3","application/x-zmachine"],["z4","application/x-zmachine"],["z5","application/x-zmachine"],["z6","application/x-zmachine"],["z7","application/x-zmachine"],["z8","application/x-zmachine"],["zaz","application/vnd.zzazz.deck+xml"],["zip","application/zip"],["zir","application/vnd.zul"],["zirz","application/vnd.zul"],["zmm","application/vnd.handheld-entertainment+xml"],["zsh","text/x-scriptzsh"]]);function ex(e,t,r){const n=function(e){const{name:t}=e;if(t&&-1!==t.lastIndexOf(".")&&!e.type){const r=t.split(".").pop().toLowerCase(),n=Jy.get(r);n&&Object.defineProperty(e,"type",{value:n,writable:!1,configurable:!1,enumerable:!0})}return e}(e),{webkitRelativePath:o}=e,a="string"==typeof t?t:"string"==typeof o&&o.length>0?o:`./${e.name}`;return"string"!=typeof n.path&&tx(n,"path",a),void 0!==r&&Object.defineProperty(n,"handle",{value:r,writable:!1,configurable:!1,enumerable:!0}),tx(n,"relativePath",a),n}function tx(e,t,r){Object.defineProperty(e,t,{value:r,writable:!1,configurable:!1,enumerable:!0})}const rx=[".DS_Store","Thumbs.db"];function nx(e){return"object"==typeof e&&null!==e}function ox(e){return e.filter(e=>-1===rx.indexOf(e.name))}function ax(e){if(null===e)return[];const t=[];for(let r=0;r<e.length;r++){const n=e[r];t.push(n)}return t}function ix(e){if("function"!=typeof e.webkitGetAsEntry)return lx(e);const t=e.webkitGetAsEntry();return t&&t.isDirectory?ux(t):lx(e,t)}function sx(e){return e.reduce((e,t)=>[...e,...Array.isArray(t)?sx(t):[t]],[])}function lx(e,t){return Rl(this,void 0,void 0,function*(){var r;if(globalThis.isSecureContext&&"function"==typeof e.getAsFileSystemHandle){const t=yield e.getAsFileSystemHandle();if(null===t)throw new Error(`${e} is not a File`);if(void 0!==t){const e=yield t.getFile();return e.handle=t,ex(e)}}const n=e.getAsFile();if(!n)throw new Error(`${e} is not a File`);return ex(n,null!==(r=null==t?void 0:t.fullPath)&&void 0!==r?r:void 0)})}function cx(e){return Rl(this,void 0,void 0,function*(){return e.isDirectory?ux(e):function(e){return Rl(this,void 0,void 0,function*(){return new Promise((t,r)=>{e.file(r=>{const n=ex(r,e.fullPath);t(n)},e=>{r(e)})})})}(e)})}function ux(e){const t=e.createReader();return new Promise((e,r)=>{const n=[];!function o(){t.readEntries(t=>Rl(this,void 0,void 0,function*(){if(t.length){const e=Promise.all(t.map(cx));n.push(e),o()}else try{const t=yield Promise.all(n);e(t)}catch(e){r(e)}}),e=>{r(e)})}()})}var dx=i(8513);function px(e){return function(e){if(Array.isArray(e))return vx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ax(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function fx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function gx(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?fx(Object(r),!0).forEach(function(t){hx(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):fx(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function hx(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mx(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||Ax(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ax(e,t){if(e){if("string"==typeof e)return vx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vx(e,t):void 0}}function vx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var bx="function"==typeof dx?dx:dx.default,Cx=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"").split(","),t=e.length>1?"one of ".concat(e.join(", ")):e[0];return{code:"file-invalid-type",message:"File type must be ".concat(t)}},wx=function(e){return{code:"file-too-large",message:"File is larger than ".concat(e," ").concat(1===e?"byte":"bytes")}},yx=function(e){return{code:"file-too-small",message:"File is smaller than ".concat(e," ").concat(1===e?"byte":"bytes")}},xx={code:"too-many-files",message:"Too many files"};function kx(e,t){var r="application/x-moz-file"===e.type||bx(e,t)||function(e){return""===e.type&&"function"==typeof e.getAsFile}(e);return[r,r?null:Cx(t)]}function Bx(e,t,r){if(Ex(e.size))if(Ex(t)&&Ex(r)){if(e.size>r)return[!1,wx(r)];if(e.size<t)return[!1,yx(t)]}else{if(Ex(t)&&e.size<t)return[!1,yx(t)];if(Ex(r)&&e.size>r)return[!1,wx(r)]}return[!0,null]}function Ex(e){return null!=e}function Sx(e){return"function"==typeof e.isPropagationStopped?e.isPropagationStopped():void 0!==e.cancelBubble&&e.cancelBubble}function _x(e){return e.dataTransfer?Array.prototype.some.call(e.dataTransfer.types,function(e){return"Files"===e||"application/x-moz-file"===e}):!!e.target&&!!e.target.files}function Ox(e){e.preventDefault()}function Dx(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(e){for(var r=arguments.length,n=new Array(r>1?r-1:0),o=1;o<r;o++)n[o-1]=arguments[o];return t.some(function(t){return!Sx(e)&&t&&t.apply(void 0,[e].concat(n)),Sx(e)})}}function Nx(e){return"audio/*"===e||"video/*"===e||"image/*"===e||"text/*"===e||"application/*"===e||/\w+\/[-+.\w]+/g.test(e)}function Rx(e){return/^.*\.[\w]+$/.test(e)}var Tx=["children"],jx=["open"],Lx=["refKey","role","onKeyDown","onFocus","onBlur","onClick","onDragEnter","onDragOver","onDragLeave","onDrop"],Fx=["refKey","onChange","onClick"];function Mx(e){return function(e){if(Array.isArray(e))return qx(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Ix(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Px(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a=[],i=!0,s=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){s=!0,o=e}finally{try{i||null==r.return||r.return()}finally{if(s)throw o}}return a}}(e,t)||Ix(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ix(e,t){if(e){if("string"==typeof e)return qx(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?qx(e,t):void 0}}function qx(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function zx(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function Ux(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?zx(Object(r),!0).forEach(function(t){$x(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zx(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function $x(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Vx(e,t){if(null==e)return{};var r,n,o=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var Wx=(0,o.forwardRef)(function(e,t){var r=e.children,n=Kx(Vx(e,Tx)),a=n.open,i=Vx(n,jx);return(0,o.useImperativeHandle)(t,function(){return{open:a}},[a]),o.createElement(o.Fragment,null,r(Ux(Ux({},i),{},{open:a})))});Wx.displayName="Dropzone";var Hx={disabled:!1,getFilesFromEvent:function(e){return Rl(this,void 0,void 0,function*(){return nx(e)&&function(e){return nx(e)}(e.dataTransfer)?function(e,t){return Rl(this,void 0,void 0,function*(){if(e.items){const r=ax(e.items).filter(e=>"file"===e.kind);return"drop"!==t?r:ox(sx(yield Promise.all(r.map(ix))))}return ox(ax(e.files).map(e=>ex(e)))})}(e.dataTransfer,e.type):function(e){return nx(e)&&nx(e.target)}(e)?function(e){return ax(e.target.files).map(e=>ex(e))}(e):Array.isArray(e)&&e.every(e=>"getFile"in e&&"function"==typeof e.getFile)?function(e){return Rl(this,void 0,void 0,function*(){return(yield Promise.all(e.map(e=>e.getFile()))).map(e=>ex(e))})}(e):[]})},maxSize:1/0,minSize:0,multiple:!0,maxFiles:0,preventDropOnDocument:!0,noClick:!1,noKeyboard:!1,noDrag:!1,noDragEventsBubbling:!1,validator:null,useFsAccessApi:!1,autoFocus:!1};Wx.defaultProps=Hx,Wx.propTypes={children:Zy.func,accept:Zy.objectOf(Zy.arrayOf(Zy.string)),multiple:Zy.bool,preventDropOnDocument:Zy.bool,noClick:Zy.bool,noKeyboard:Zy.bool,noDrag:Zy.bool,noDragEventsBubbling:Zy.bool,minSize:Zy.number,maxSize:Zy.number,maxFiles:Zy.number,disabled:Zy.bool,getFilesFromEvent:Zy.func,onFileDialogCancel:Zy.func,onFileDialogOpen:Zy.func,useFsAccessApi:Zy.bool,autoFocus:Zy.bool,onDragEnter:Zy.func,onDragLeave:Zy.func,onDragOver:Zy.func,onDrop:Zy.func,onDropAccepted:Zy.func,onDropRejected:Zy.func,onError:Zy.func,validator:Zy.func};var Gx={isFocused:!1,isFileDialogActive:!1,isDragActive:!1,isDragAccept:!1,isDragReject:!1,isDragGlobal:!1,acceptedFiles:[],fileRejections:[]};function Kx(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=Ux(Ux({},Hx),e),r=t.accept,n=t.disabled,a=t.getFilesFromEvent,i=t.maxSize,s=t.minSize,l=t.multiple,c=t.maxFiles,u=t.onDragEnter,d=t.onDragLeave,p=t.onDragOver,f=t.onDrop,g=t.onDropAccepted,h=t.onDropRejected,m=t.onFileDialogCancel,A=t.onFileDialogOpen,v=t.useFsAccessApi,b=t.autoFocus,C=t.preventDropOnDocument,w=t.noClick,y=t.noKeyboard,x=t.noDrag,k=t.noDragEventsBubbling,B=t.onError,E=t.validator,S=(0,o.useMemo)(function(){return function(e){if(Ex(e))return Object.entries(e).reduce(function(e,t){var r=mx(t,2),n=r[0],o=r[1];return[].concat(px(e),[n],px(o))},[]).filter(function(e){return Nx(e)||Rx(e)}).join(",")}(r)},[r]),_=(0,o.useMemo)(function(){return function(e){return Ex(e)?[{description:"Files",accept:Object.entries(e).filter(function(e){var t=mx(e,2),r=t[0],n=t[1],o=!0;return Nx(r)||(console.warn('Skipped "'.concat(r,'" because it is not a valid MIME type. Check https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Common_types for a list of valid MIME types.')),o=!1),Array.isArray(n)&&n.every(Rx)||(console.warn('Skipped "'.concat(r,'" because an invalid file extension was provided.')),o=!1),o}).reduce(function(e,t){var r=mx(t,2),n=r[0],o=r[1];return gx(gx({},e),{},hx({},n,o))},{})}]:e}(r)},[r]),O=(0,o.useMemo)(function(){return"function"==typeof A?A:Xx},[A]),D=(0,o.useMemo)(function(){return"function"==typeof m?m:Xx},[m]),N=(0,o.useRef)(null),R=(0,o.useRef)(null),T=Px((0,o.useReducer)(Yx,Gx),2),j=T[0],L=T[1],F=j.isFocused,M=j.isFileDialogActive,P=(0,o.useRef)("undefined"!=typeof window&&window.isSecureContext&&v&&"showOpenFilePicker"in window),I=function(){!P.current&&M&&setTimeout(function(){R.current&&(R.current.files.length||(L({type:"closeDialog"}),D()))},300)};(0,o.useEffect)(function(){return window.addEventListener("focus",I,!1),function(){window.removeEventListener("focus",I,!1)}},[R,M,D,P]);var q=(0,o.useRef)([]),z=(0,o.useRef)([]),U=function(e){N.current&&N.current.contains(e.target)||(e.preventDefault(),q.current=[])};(0,o.useEffect)(function(){return C&&(document.addEventListener("dragover",Ox,!1),document.addEventListener("drop",U,!1)),function(){C&&(document.removeEventListener("dragover",Ox),document.removeEventListener("drop",U))}},[N,C]),(0,o.useEffect)(function(){var e=function(e){z.current=[].concat(Mx(z.current),[e.target]),_x(e)&&L({isDragGlobal:!0,type:"setDragGlobal"})},t=function(e){z.current=z.current.filter(function(t){return t!==e.target&&null!==t}),z.current.length>0||L({isDragGlobal:!1,type:"setDragGlobal"})},r=function(){z.current=[],L({isDragGlobal:!1,type:"setDragGlobal"})},n=function(){z.current=[],L({isDragGlobal:!1,type:"setDragGlobal"})};return document.addEventListener("dragenter",e,!1),document.addEventListener("dragleave",t,!1),document.addEventListener("dragend",r,!1),document.addEventListener("drop",n,!1),function(){document.removeEventListener("dragenter",e),document.removeEventListener("dragleave",t),document.removeEventListener("dragend",r),document.removeEventListener("drop",n)}},[N]),(0,o.useEffect)(function(){return!n&&b&&N.current&&N.current.focus(),function(){}},[N,b,n]);var $=(0,o.useCallback)(function(e){B?B(e):console.error(e)},[B]),V=(0,o.useCallback)(function(e){e.preventDefault(),e.persist(),ne(e),q.current=[].concat(Mx(q.current),[e.target]),_x(e)&&Promise.resolve(a(e)).then(function(t){if(!Sx(e)||k){var r=t.length,n=r>0&&function(e){var t=e.files,r=e.accept,n=e.minSize,o=e.maxSize,a=e.multiple,i=e.maxFiles,s=e.validator;return!(!a&&t.length>1||a&&i>=1&&t.length>i)&&t.every(function(e){var t=mx(kx(e,r),1)[0],a=mx(Bx(e,n,o),1)[0],i=s?s(e):null;return t&&a&&!i})}({files:t,accept:S,minSize:s,maxSize:i,multiple:l,maxFiles:c,validator:E});L({isDragAccept:n,isDragReject:r>0&&!n,isDragActive:!0,type:"setDraggedFiles"}),u&&u(e)}}).catch(function(e){return $(e)})},[a,u,$,k,S,s,i,l,c,E]),W=(0,o.useCallback)(function(e){e.preventDefault(),e.persist(),ne(e);var t=_x(e);if(t&&e.dataTransfer)try{e.dataTransfer.dropEffect="copy"}catch(e){}return t&&p&&p(e),!1},[p,k]),H=(0,o.useCallback)(function(e){e.preventDefault(),e.persist(),ne(e);var t=q.current.filter(function(e){return N.current&&N.current.contains(e)}),r=t.indexOf(e.target);-1!==r&&t.splice(r,1),q.current=t,t.length>0||(L({type:"setDraggedFiles",isDragActive:!1,isDragAccept:!1,isDragReject:!1}),_x(e)&&d&&d(e))},[N,d,k]),G=(0,o.useCallback)(function(e,t){var r=[],n=[];e.forEach(function(e){var t=Px(kx(e,S),2),o=t[0],a=t[1],l=Px(Bx(e,s,i),2),c=l[0],u=l[1],d=E?E(e):null;if(o&&c&&!d)r.push(e);else{var p=[a,u];d&&(p=p.concat(d)),n.push({file:e,errors:p.filter(function(e){return e})})}}),(!l&&r.length>1||l&&c>=1&&r.length>c)&&(r.forEach(function(e){n.push({file:e,errors:[xx]})}),r.splice(0)),L({acceptedFiles:r,fileRejections:n,type:"setFiles"}),f&&f(r,n,t),n.length>0&&h&&h(n,t),r.length>0&&g&&g(r,t)},[L,l,S,s,i,c,f,g,h,E]),K=(0,o.useCallback)(function(e){e.preventDefault(),e.persist(),ne(e),q.current=[],_x(e)&&Promise.resolve(a(e)).then(function(t){Sx(e)&&!k||G(t,e)}).catch(function(e){return $(e)}),L({type:"reset"})},[a,G,$,k]),Y=(0,o.useCallback)(function(){if(P.current){L({type:"openDialog"}),O();var e={multiple:l,types:_};window.showOpenFilePicker(e).then(function(e){return a(e)}).then(function(e){G(e,null),L({type:"closeDialog"})}).catch(function(e){!function(e){return e instanceof DOMException&&("AbortError"===e.name||e.code===e.ABORT_ERR)}(e)?function(e){return e instanceof DOMException&&("SecurityError"===e.name||e.code===e.SECURITY_ERR)}(e)?(P.current=!1,R.current?(R.current.value=null,R.current.click()):$(new Error("Cannot open the file picker because the https://developer.mozilla.org/en-US/docs/Web/API/File_System_Access_API is not supported and no <input> was provided."))):$(e):(D(e),L({type:"closeDialog"}))})}else R.current&&(L({type:"openDialog"}),O(),R.current.value=null,R.current.click())},[L,O,D,v,G,$,_,l]),X=(0,o.useCallback)(function(e){N.current&&N.current.isEqualNode(e.target)&&(" "!==e.key&&"Enter"!==e.key&&32!==e.keyCode&&13!==e.keyCode||(e.preventDefault(),Y()))},[N,Y]),Q=(0,o.useCallback)(function(){L({type:"focus"})},[]),Z=(0,o.useCallback)(function(){L({type:"blur"})},[]),J=(0,o.useCallback)(function(){w||(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:window.navigator.userAgent;return function(e){return-1!==e.indexOf("MSIE")||-1!==e.indexOf("Trident/")}(e)||function(e){return-1!==e.indexOf("Edge/")}(e)}()?setTimeout(Y,0):Y())},[w,Y]),ee=function(e){return n?null:e},te=function(e){return y?null:ee(e)},re=function(e){return x?null:ee(e)},ne=function(e){k&&e.stopPropagation()},oe=(0,o.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,o=e.role,a=e.onKeyDown,i=e.onFocus,s=e.onBlur,l=e.onClick,c=e.onDragEnter,u=e.onDragOver,d=e.onDragLeave,p=e.onDrop,f=Vx(e,Lx);return Ux(Ux($x({onKeyDown:te(Dx(a,X)),onFocus:te(Dx(i,Q)),onBlur:te(Dx(s,Z)),onClick:ee(Dx(l,J)),onDragEnter:re(Dx(c,V)),onDragOver:re(Dx(u,W)),onDragLeave:re(Dx(d,H)),onDrop:re(Dx(p,K)),role:"string"==typeof o&&""!==o?o:"presentation"},r,N),n||y?{}:{tabIndex:0}),f)}},[N,X,Q,Z,J,V,W,H,K,y,x,n]),ae=(0,o.useCallback)(function(e){e.stopPropagation()},[]),ie=(0,o.useMemo)(function(){return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.refKey,r=void 0===t?"ref":t,n=e.onChange,o=e.onClick,a=Vx(e,Fx);return Ux(Ux({},$x({accept:S,multiple:l,type:"file",style:{border:0,clip:"rect(0, 0, 0, 0)",clipPath:"inset(50%)",height:"1px",margin:"0 -1px -1px 0",overflow:"hidden",padding:0,position:"absolute",width:"1px",whiteSpace:"nowrap"},onChange:ee(Dx(n,K)),onClick:ee(Dx(o,ae)),tabIndex:-1},r,R)),a)}},[R,r,l,K,n]);return Ux(Ux({},j),{},{isFocused:F&&!n,getRootProps:oe,getInputProps:ie,rootRef:N,inputRef:R,open:ee(Y)})}function Yx(e,t){switch(t.type){case"focus":return Ux(Ux({},e),{},{isFocused:!0});case"blur":return Ux(Ux({},e),{},{isFocused:!1});case"openDialog":return Ux(Ux({},Gx),{},{isFileDialogActive:!0});case"closeDialog":return Ux(Ux({},e),{},{isFileDialogActive:!1});case"setDraggedFiles":return Ux(Ux({},e),{},{isDragActive:t.isDragActive,isDragAccept:t.isDragAccept,isDragReject:t.isDragReject});case"setFiles":return Ux(Ux({},e),{},{acceptedFiles:t.acceptedFiles,fileRejections:t.fileRejections,isDragReject:!1});case"setDragGlobal":return Ux(Ux({},e),{},{isDragGlobal:t.isDragGlobal});case"reset":return Ux({},Gx);default:return e}}function Xx(){}function Qx(e){return function(e){return"[object Object]"===Object.prototype.toString.call(e)}(e)||Array.isArray(e)}function Zx(e,t){const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&(JSON.stringify(Object.keys(e.breakpoints||{}))===JSON.stringify(Object.keys(t.breakpoints||{}))&&r.every(r=>{const n=e[r],o=t[r];return"function"==typeof n?`${n}`==`${o}`:Qx(n)&&Qx(o)?Zx(n,o):n===o}))}function Jx(e){return e.concat().sort((e,t)=>e.name>t.name?1:-1).map(e=>e.options)}function ek(e){return"number"==typeof e}function tk(e){return"string"==typeof e}function rk(e){return"boolean"==typeof e}function nk(e){return"[object Object]"===Object.prototype.toString.call(e)}function ok(e){return Math.abs(e)}function ak(e){return Math.sign(e)}function ik(e,t){return ok(e-t)}function sk(e){return pk(e).map(Number)}function lk(e){return e[ck(e)]}function ck(e){return Math.max(0,e.length-1)}function uk(e,t){return t===ck(e)}function dk(e,t=0){return Array.from(Array(e),(e,r)=>t+r)}function pk(e){return Object.keys(e)}function fk(e,t){return[e,t].reduce((e,t)=>(pk(t).forEach(r=>{const n=e[r],o=t[r],a=nk(n)&&nk(o);e[r]=a?fk(n,o):o}),e),{})}function gk(e,t){return void 0!==t.MouseEvent&&e instanceof t.MouseEvent}function hk(){let e=[];const t={add:function(r,n,o,a={passive:!0}){let i;if("addEventListener"in r)r.addEventListener(n,o,a),i=()=>r.removeEventListener(n,o,a);else{const e=r;e.addListener(o),i=()=>e.removeListener(o)}return e.push(i),t},clear:function(){e=e.filter(e=>e())}};return t}function mk(e=0,t=0){const r=ok(e-t);function n(t){return t<e}function o(e){return e>t}function a(e){return n(e)||o(e)}const i={length:r,max:t,min:e,constrain:function(r){return a(r)?n(r)?e:t:r},reachedAny:a,reachedMax:o,reachedMin:n,removeOffset:function(e){return r?e-r*Math.ceil((e-t)/r):e}};return i}function Ak(e,t,r){const{constrain:n}=mk(0,e),o=e+1;let a=i(t);function i(e){return r?ok((o+e)%o):n(e)}function s(){return a}function l(){return Ak(e,s(),r)}const c={get:s,set:function(e){return a=i(e),c},add:function(e){return l().set(s()+e)},clone:l};return c}function vk(e,t,r,n,o,a,i,s,l,c,u,d,p,f,g,h,m,A,v){const{cross:b,direction:C}=e,w=["INPUT","SELECT","TEXTAREA"],y={passive:!1},x=hk(),k=hk(),B=mk(50,225).constrain(f.measure(20)),E={mouse:300,touch:400},S={mouse:500,touch:600},_=g?43:25;let O=!1,D=0,N=0,R=!1,T=!1,j=!1,L=!1;function F(e){if(!gk(e,n)&&e.touches.length>=2)return M(e);const t=a.readPoint(e),r=a.readPoint(e,b),i=ik(t,D),l=ik(r,N);if(!T&&!L){if(!e.cancelable)return M(e);if(T=i>l,!T)return M(e)}const u=a.pointerMove(e);i>h&&(j=!0),c.useFriction(.3).useDuration(.75),s.start(),o.add(C(u)),e.preventDefault()}function M(e){const t=u.byDistance(0,!1).index!==d.get(),r=a.pointerUp(e)*(g?S:E)[L?"mouse":"touch"],n=function(e,t){const r=d.add(-1*ak(e)),n=u.byDistance(e,!g).distance;return g||ok(e)<B?n:m&&t?.5*n:u.byIndex(r.get(),0).distance}(C(r),t),o=function(e,t){if(0===e||0===t)return 0;if(ok(e)<=ok(t))return 0;const r=ik(ok(e),ok(t));return ok(r/e)}(r,n),i=_-10*o,s=A+o/50;T=!1,R=!1,k.clear(),c.useDuration(i).useFriction(s),l.distance(n,!g),L=!1,p.emit("pointerUp")}function P(e){j&&(e.stopPropagation(),e.preventDefault(),j=!1)}return{init:function(e){if(!v)return;function s(s){(rk(v)||v(e,s))&&function(e){const s=gk(e,n);L=s,j=g&&s&&!e.buttons&&O,O=ik(o.get(),i.get())>=2,s&&0!==e.button||function(e){const t=e.nodeName||"";return w.includes(t)}(e.target)||(R=!0,a.pointerDown(e),c.useFriction(0).useDuration(0),o.set(i),function(){const e=L?r:t;k.add(e,"touchmove",F,y).add(e,"touchend",M).add(e,"mousemove",F,y).add(e,"mouseup",M)}(),D=a.readPoint(e),N=a.readPoint(e,b),p.emit("pointerDown"))}(s)}const l=t;x.add(l,"dragstart",e=>e.preventDefault(),y).add(l,"touchmove",()=>{},y).add(l,"touchend",()=>{}).add(l,"touchstart",s).add(l,"mousedown",s).add(l,"touchcancel",M).add(l,"contextmenu",M).add(l,"click",P,!0)},destroy:function(){x.clear(),k.clear()},pointerDown:function(){return R}}}function bk(e,t){let r,n;function o(e){return e.timeStamp}function a(r,n){const o="client"+("x"===(n||e.scroll)?"X":"Y");return(gk(r,t)?r:r.touches[0])[o]}return{pointerDown:function(e){return r=e,n=e,a(e)},pointerMove:function(e){const t=a(e)-a(n),i=o(e)-o(r)>170;return n=e,i&&(r=e),t},pointerUp:function(e){if(!r||!n)return 0;const t=a(n)-a(r),i=o(e)-o(r),s=o(e)-o(n)>170,l=t/i;return i&&!s&&ok(l)>.1?l:0},readPoint:a}}function Ck(e,t,r,n,o,a,i){const s=[e].concat(n);let l,c,u=[],d=!1;function p(e){return o.measureSize(i.measure(e))}const f={init:function(o){a&&(c=p(e),u=n.map(p),l=new ResizeObserver(r=>{(rk(a)||a(o,r))&&function(r){for(const a of r){if(d)return;const r=a.target===e,i=n.indexOf(a.target),s=r?c:u[i];if(ok(p(r?e:n[i])-s)>=.5){o.reInit(),t.emit("resize");break}}}(r)}),r.requestAnimationFrame(()=>{s.forEach(e=>l.observe(e))}))},destroy:function(){d=!0,l&&l.disconnect()}};return f}function wk(e,t,r,n,o){const a=o.measure(10),i=o.measure(50),s=mk(.1,.99);let l=!1;function c(){return!l&&!!e.reachedAny(r.get())&&!!e.reachedAny(t.get())}return{shouldConstrain:c,constrain:function(o){if(!c())return;const l=e.reachedMin(t.get())?"min":"max",u=ok(e[l]-t.get()),d=r.get()-t.get(),p=s.constrain(u/i);r.subtract(d*p),!o&&ok(d)<a&&(r.set(e.constrain(r.get())),n.useDuration(25).useBaseFriction())},toggleActive:function(e){l=!e}}}function yk(e,t,r,n){const o=t.min+.1,a=t.max+.1,{reachedMin:i,reachedMax:s}=mk(o,a),l={loop:function(t){if(!function(e){return 1===e?s(r.get()):-1===e&&i(r.get())}(t))return;const o=e*(-1*t);n.forEach(e=>e.add(o))}};return l}function xk(e){let t=e;function r(e){return ek(e)?e:e.get()}const n={get:function(){return t},set:function(e){t=r(e)},add:function(e){t+=r(e)},subtract:function(e){t-=r(e)}};return n}function kk(e,t){const r="x"===e.scroll?function(e){return`translate3d(${e}px,0px,0px)`}:function(e){return`translate3d(0px,${e}px,0px)`},n=t.style;let o=null,a=!1;return{clear:function(){a||(n.transform="",t.getAttribute("style")||t.removeAttribute("style"))},to:function(t){if(a)return;const i=(s=e.direction(t),Math.round(100*s)/100);var s;i!==o&&(n.transform=r(i),o=i)},toggleActive:function(e){a=!e}}}function Bk(e,t,r,n,o,a,i,s,l){const c=sk(o),u=sk(o).reverse(),d=function(){const e=i[0];return g(f(u,e),r,!1)}().concat(function(){const e=t-i[0]-1;return g(f(c,e),-r,!0)}());function p(e,t){return e.reduce((e,t)=>e-o[t],t)}function f(e,t){return e.reduce((e,r)=>p(e,t)>0?e.concat([r]):e,[])}function g(o,i,c){const u=function(e){return a.map((r,o)=>({start:r-n[o]+.5+e,end:r+t-.5+e}))}(i);return o.map(t=>{const n=c?0:-r,o=c?r:0,a=c?"end":"start",i=u[t][a];return{index:t,loopPoint:i,slideLocation:xk(-1),translate:kk(e,l[t]),target:()=>s.get()>i?n:o}})}const h={canLoop:function(){return d.every(({index:e})=>{const r=c.filter(t=>t!==e);return p(r,t)<=.1})},clear:function(){d.forEach(e=>e.translate.clear())},loop:function(){d.forEach(e=>{const{target:t,translate:r,slideLocation:n}=e,o=t();o!==n.get()&&(r.to(o),n.set(o))})},loopPoints:d};return h}function Ek(e,t,r){let n,o=!1;return{init:function(a){r&&(n=new MutationObserver(e=>{o||(rk(r)||r(a,e))&&function(e){for(const r of e)if("childList"===r.type){a.reInit(),t.emit("slidesChanged");break}}(e)}),n.observe(e,{childList:!0}))},destroy:function(){n&&n.disconnect(),o=!0}}}function Sk(e,t,r,n,o,a,i){const{align:s,axis:l,direction:c,startIndex:u,loop:d,duration:p,dragFree:f,dragThreshold:g,inViewThreshold:h,slidesToScroll:m,skipSnaps:A,containScroll:v,watchResize:b,watchSlides:C,watchDrag:w,watchFocus:y}=a,x={measure:function(e){const{offsetTop:t,offsetLeft:r,offsetWidth:n,offsetHeight:o}=e;return{top:t,right:r+n,bottom:t+o,left:r,width:n,height:o}}},k=x.measure(t),B=r.map(x.measure),E=function(e,t){const r="rtl"===t,n="y"===e,o=!n&&r?-1:1,a={scroll:n?"y":"x",cross:n?"x":"y",startEdge:n?"top":r?"right":"left",endEdge:n?"bottom":r?"left":"right",measureSize:function(e){const{height:t,width:r}=e;return n?t:r},direction:function(e){return e*o}};return a}(l,c),S=E.measureSize(k),_=function(e){const t={measure:function(t){return e*(t/100)}};return t}(S),O=function(e,t){const r={start:function(){return 0},center:function(e){return n(e)/2},end:n};function n(e){return t-e}const o={measure:function(n,o){return tk(e)?r[e](n):e(t,n,o)}};return o}(s,S),D=!d&&!!v,N=d||!!v,{slideSizes:R,slideSizesWithGaps:T,startGap:j,endGap:L}=function(e,t,r,n,o,a){const{measureSize:i,startEdge:s,endEdge:l}=e,c=r[0]&&o,u=function(){if(!c)return 0;const e=r[0];return ok(t[s]-e[s])}(),d=function(){if(!c)return 0;const e=a.getComputedStyle(lk(n));return parseFloat(e.getPropertyValue(`margin-${l}`))}(),p=r.map(i),f=r.map((e,t,r)=>{const n=!t,o=uk(r,t);return n?p[t]+u:o?p[t]+d:r[t+1][s]-e[s]}).map(ok);return{slideSizes:p,slideSizesWithGaps:f,startGap:u,endGap:d}}(E,k,B,r,N,o),F=function(e,t,r,n,o,a,i,s,l){const{startEdge:c,endEdge:u,direction:d}=e,p=ek(r),f={groupSlides:function(e){return p?function(e,t){return sk(e).filter(e=>e%t===0).map(r=>e.slice(r,r+t))}(e,r):function(e){return e.length?sk(e).reduce((r,p,f)=>{const g=lk(r)||0,h=0===g,m=p===ck(e),A=o[c]-a[g][c],v=o[c]-a[p][u],b=!n&&h?d(i):0,C=ok(v-(!n&&m?d(s):0)-(A+b));return f&&C>t+l&&r.push(p),m&&r.push(e.length),r},[]).map((t,r,n)=>{const o=Math.max(n[r-1]||0);return e.slice(o,t)}):[]}(e)}};return f}(E,S,m,d,k,B,j,L,2),{snaps:M,snapsAligned:P}=function(e,t,r,n,o){const{startEdge:a,endEdge:i}=e,{groupSlides:s}=o,l=s(n).map(e=>lk(e)[i]-e[0][a]).map(ok).map(t.measure),c=n.map(e=>r[a]-e[a]).map(e=>-ok(e)),u=s(c).map(e=>e[0]).map((e,t)=>e+l[t]);return{snaps:c,snapsAligned:u}}(E,O,k,B,F),I=-lk(M)+lk(T),{snapsContained:q,scrollContainLimit:z}=function(e,t,r,n){const o=mk(-t+e,0),a=r.map((e,t)=>{const{min:n,max:a}=o,i=o.constrain(e),s=!t,c=uk(r,t);return s?a:c||l(n,i)?n:l(a,i)?a:i}).map(e=>parseFloat(e.toFixed(3))),i=function(){const e=a[0],t=lk(a);return mk(a.lastIndexOf(e),a.indexOf(t)+1)}(),s=function(){if(t<=e+2)return[o.max];if("keepSnaps"===n)return a;const{min:r,max:s}=i;return a.slice(r,s)}();function l(e,t){return ik(e,t)<=1}return{snapsContained:s,scrollContainLimit:i}}(S,I,P,v),U=D?q:P,{limit:$}=function(e,t,r){const n=t[0];return{limit:mk(r?n-e:lk(t),n)}}(I,U,d),V=Ak(ck(U),u,d),W=V.clone(),H=sk(r),G=function(e,t,r,n){const o=hk(),a=1e3/60;let i=null,s=0,l=0;function c(e){if(!l)return;i||(i=e,r(),r());const o=e-i;for(i=e,s+=o;s>=a;)r(),s-=a;n(s/a),l&&(l=t.requestAnimationFrame(c))}function u(){t.cancelAnimationFrame(l),i=null,s=0,l=0}return{init:function(){o.add(e,"visibilitychange",()=>{e.hidden&&(i=null,s=0)})},destroy:function(){u(),o.clear()},start:function(){l||(l=t.requestAnimationFrame(c))},stop:u,update:r,render:n}}(n,o,()=>(({dragHandler:e,scrollBody:t,scrollBounds:r,options:{loop:n}})=>{n||r.constrain(e.pointerDown()),t.seek()})(se),e=>(({scrollBody:e,translate:t,location:r,offsetLocation:n,previousLocation:o,scrollLooper:a,slideLooper:i,dragHandler:s,animation:l,eventHandler:c,scrollBounds:u,options:{loop:d}},p)=>{const f=e.settled(),g=!u.shouldConstrain(),h=d?f:f&&g,m=h&&!s.pointerDown();m&&l.stop();const A=r.get()*p+o.get()*(1-p);n.set(A),d&&(a.loop(e.direction()),i.loop()),t.to(n.get()),m&&c.emit("settle"),h||c.emit("scroll")})(se,e)),K=U[V.get()],Y=xk(K),X=xk(K),Q=xk(K),Z=xk(K),J=function(e,t,r,n,o){let a=0,i=0,s=o,l=.68,c=e.get(),u=0;function d(e){return s=e,f}function p(e){return l=e,f}const f={direction:function(){return i},duration:function(){return s},velocity:function(){return a},seek:function(){const t=n.get()-e.get();let o=0;return s?(r.set(e),a+=t/s,a*=l,c+=a,e.add(a),o=c-u):(a=0,r.set(n),e.set(n),o=t),i=ak(o),u=c,f},settled:function(){return ok(n.get()-t.get())<.001},useBaseFriction:function(){return p(.68)},useBaseDuration:function(){return d(o)},useFriction:p,useDuration:d};return f}(Y,Q,X,Z,p),ee=function(e,t,r,n,o){const{reachedAny:a,removeOffset:i,constrain:s}=n;function l(e){return e.concat().sort((e,t)=>ok(e)-ok(t))[0]}function c(t,n){const o=[t,t+r,t-r];if(!e)return t;if(!n)return l(o);const a=o.filter(e=>ak(e)===n);return a.length?l(a):lk(o)-r}const u={byDistance:function(r,n){const l=o.get()+r,{index:u,distance:d}=function(r){const n=e?i(r):s(r),o=t.map((e,t)=>({diff:c(e-n,0),index:t})).sort((e,t)=>ok(e.diff)-ok(t.diff)),{index:a}=o[0];return{index:a,distance:n}}(l),p=!e&&a(l);return!n||p?{index:u,distance:r}:{index:u,distance:r+c(t[u]-d,0)}},byIndex:function(e,r){return{index:e,distance:c(t[e]-o.get(),r)}},shortcut:c};return u}(d,U,I,$,Z),te=function(e,t,r,n,o,a,i){function s(o){const s=o.distance,l=o.index!==t.get();a.add(s),s&&(n.duration()?e.start():(e.update(),e.render(1),e.update())),l&&(r.set(t.get()),t.set(o.index),i.emit("select"))}const l={distance:function(e,t){s(o.byDistance(e,t))},index:function(e,r){const n=t.clone().set(e);s(o.byIndex(n.get(),r))}};return l}(G,V,W,J,ee,Z,i),re=function(e){const{max:t,length:r}=e,n={get:function(e){return r?(e-t)/-r:0}};return n}($),ne=hk(),oe=function(e,t,r,n){const o={};let a,i=null,s=null,l=!1;const c={init:function(){a=new IntersectionObserver(e=>{l||(e.forEach(e=>{const r=t.indexOf(e.target);o[r]=e}),i=null,s=null,r.emit("slidesInView"))},{root:e.parentElement,threshold:n}),t.forEach(e=>a.observe(e))},destroy:function(){a&&a.disconnect(),l=!0},get:function(e=!0){if(e&&i)return i;if(!e&&s)return s;const t=function(e){return pk(o).reduce((t,r)=>{const n=parseInt(r),{isIntersecting:a}=o[n];return(e&&a||!e&&!a)&&t.push(n),t},[])}(e);return e&&(i=t),e||(s=t),t}};return c}(t,r,i,h),{slideRegistry:ae}=function(e,t,r,n,o,a){const{groupSlides:i}=o,{min:s,max:l}=n,c=function(){const n=i(a),o=!e||"keepSnaps"===t;return 1===r.length?[a]:o?n:n.slice(s,l).map((e,t,r)=>{const n=!t,o=uk(r,t);return n?dk(lk(r[0])+1):o?dk(ck(a)-lk(r)[0]+1,lk(r)[0]):e})}();return{slideRegistry:c}}(D,v,U,z,F,H),ie=function(e,t,r,n,o,a,i,s){const l={passive:!0,capture:!0};let c=0;function u(e){"Tab"===e.code&&(c=(new Date).getTime())}const d={init:function(d){s&&(a.add(document,"keydown",u,!1),t.forEach((t,u)=>{a.add(t,"focus",t=>{(rk(s)||s(d,t))&&function(t){if((new Date).getTime()-c>10)return;i.emit("slideFocusStart"),e.scrollLeft=0;const a=r.findIndex(e=>e.includes(t));ek(a)&&(o.useDuration(0),n.index(a,0),i.emit("slideFocus"))}(u)},l)}))}};return d}(e,r,ae,te,J,ne,i,y),se={ownerDocument:n,ownerWindow:o,eventHandler:i,containerRect:k,slideRects:B,animation:G,axis:E,dragHandler:vk(E,e,n,o,Z,bk(E,o),Y,G,te,J,ee,V,i,_,f,g,A,.68,w),eventStore:ne,percentOfView:_,index:V,indexPrevious:W,limit:$,location:Y,offsetLocation:Q,previousLocation:X,options:a,resizeHandler:Ck(t,i,o,r,E,b,x),scrollBody:J,scrollBounds:wk($,Q,Z,J,_),scrollLooper:yk(I,$,Q,[Y,Q,X,Z]),scrollProgress:re,scrollSnapList:U.map(re.get),scrollSnaps:U,scrollTarget:ee,scrollTo:te,slideLooper:Bk(E,S,I,R,T,M,U,Q,r),slideFocus:ie,slidesHandler:Ek(t,i,C),slidesInView:oe,slideIndexes:H,slideRegistry:ae,slidesToScroll:F,target:Z,translate:kk(E,t)};return se}const _k={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Ok(e){function t(e,t){return fk(e,t||{})}const r={mergeOptions:t,optionsAtMedia:function(r){const n=r.breakpoints||{},o=pk(n).filter(t=>e.matchMedia(t).matches).map(e=>n[e]).reduce((e,r)=>t(e,r),{});return t(r,o)},optionsMediaQueries:function(t){return t.map(e=>pk(e.breakpoints||{})).reduce((e,t)=>e.concat(t),[]).map(e.matchMedia)}};return r}function Dk(e,t,r){const n=e.ownerDocument,o=n.defaultView,a=Ok(o),i=function(e){let t=[];const r={init:function(r,n){return t=n.filter(({options:t})=>!1!==e.optionsAtMedia(t).active),t.forEach(t=>t.init(r,e)),n.reduce((e,t)=>Object.assign(e,{[t.name]:t}),{})},destroy:function(){t=t.filter(e=>e.destroy())}};return r}(a),s=hk(),l=function(){let e,t={};function r(e){return t[e]||[]}const n={init:function(t){e=t},emit:function(t){return r(t).forEach(r=>r(e,t)),n},off:function(e,o){return t[e]=r(e).filter(e=>e!==o),n},on:function(e,o){return t[e]=r(e).concat([o]),n},clear:function(){t={}}};return n}(),{mergeOptions:c,optionsAtMedia:u,optionsMediaQueries:d}=a,{on:p,off:f,emit:g}=l,h=E;let m,A,v,b,C=!1,w=c(_k,Dk.globalOptions),y=c(w),x=[];function k(t){const r=Sk(e,v,b,n,o,t,l);return t.loop&&!r.slideLooper.canLoop()?k(Object.assign({},t,{loop:!1})):r}function B(t,r){C||(w=c(w,t),y=u(w),x=r||x,function(){const{container:t,slides:r}=y,n=tk(t)?e.querySelector(t):t;v=n||e.children[0];const o=tk(r)?v.querySelectorAll(r):r;b=[].slice.call(o||v.children)}(),m=k(y),d([w,...x.map(({options:e})=>e)]).forEach(e=>s.add(e,"change",E)),y.active&&(m.translate.to(m.location.get()),m.animation.init(),m.slidesInView.init(),m.slideFocus.init(D),m.eventHandler.init(D),m.resizeHandler.init(D),m.slidesHandler.init(D),m.options.loop&&m.slideLooper.loop(),v.offsetParent&&b.length&&m.dragHandler.init(D),A=i.init(D,x)))}function E(e,t){const r=O();S(),B(c({startIndex:r},e),t),l.emit("reInit")}function S(){m.dragHandler.destroy(),m.eventStore.clear(),m.translate.clear(),m.slideLooper.clear(),m.resizeHandler.destroy(),m.slidesHandler.destroy(),m.slidesInView.destroy(),m.animation.destroy(),i.destroy(),s.clear()}function _(e,t,r){y.active&&!C&&(m.scrollBody.useBaseFriction().useDuration(!0===t?0:y.duration),m.scrollTo.index(e,r||0))}function O(){return m.index.get()}const D={canScrollNext:function(){return m.index.add(1).get()!==O()},canScrollPrev:function(){return m.index.add(-1).get()!==O()},containerNode:function(){return v},internalEngine:function(){return m},destroy:function(){C||(C=!0,s.clear(),S(),l.emit("destroy"),l.clear())},off:f,on:p,emit:g,plugins:function(){return A},previousScrollSnap:function(){return m.indexPrevious.get()},reInit:h,rootNode:function(){return e},scrollNext:function(e){_(m.index.add(1).get(),e,-1)},scrollPrev:function(e){_(m.index.add(-1).get(),e,1)},scrollProgress:function(){return m.scrollProgress.get(m.offsetLocation.get())},scrollSnapList:function(){return m.scrollSnapList},scrollTo:_,selectedScrollSnap:O,slideNodes:function(){return b},slidesInView:function(){return m.slidesInView.get()},slidesNotInView:function(){return m.slidesInView.get(!1)}};return B(t,r),setTimeout(()=>l.emit("init"),0),D}function Nk(e={},t=[]){const r=(0,o.useRef)(e),n=(0,o.useRef)(t),[a,i]=(0,o.useState)(),[s,l]=(0,o.useState)(),c=(0,o.useCallback)(()=>{a&&a.reInit(r.current,n.current)},[a]);return(0,o.useEffect)(()=>{Zx(r.current,e)||(r.current=e,c())},[e,c]),(0,o.useEffect)(()=>{(function(e,t){if(e.length!==t.length)return!1;const r=Jx(e),n=Jx(t);return r.every((e,t)=>Zx(e,n[t]))})(n.current,t)||(n.current=t,c())},[t,c]),(0,o.useEffect)(()=>{if("undefined"!=typeof window&&window.document&&window.document.createElement&&s){Dk.globalOptions=Nk.globalOptions;const e=Dk(s,r.current,n.current);return i(e),()=>e.destroy()}i(void 0)},[s,i]),[l,a]}Dk.globalOptions=void 0,Nk.globalOptions=void 0;const Rk=Lm("arrow-left",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);var Tk=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};const jk=o.createContext(null);function Lk(){const e=o.useContext(jk);if(!e)throw new Error("useCarousel must be used within a <Carousel />");return e}function Fk(e){var{orientation:r="horizontal",opts:n,setApi:a,plugins:i,className:s,children:l}=e,c=Tk(e,["orientation","opts","setApi","plugins","className","children"]);const[u,d]=Nk(Object.assign(Object.assign({},n),{axis:"horizontal"===r?"x":"y"}),i),[p,f]=o.useState(!1),[g,h]=o.useState(!1),m=o.useCallback(e=>{e&&(f(e.canScrollPrev()),h(e.canScrollNext()))},[]),A=o.useCallback(()=>{null==d||d.scrollPrev()},[d]),v=o.useCallback(()=>{null==d||d.scrollNext()},[d]),b=o.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),A()):"ArrowRight"===e.key&&(e.preventDefault(),v())},[A,v]);return o.useEffect(()=>{d&&a&&a(d)},[d,a]),o.useEffect(()=>{if(d)return m(d),d.on("reInit",m),d.on("select",m),()=>{null==d||d.off("select",m)}},[d,m]),(0,t.jsx)(jk.Provider,{value:{carouselRef:u,api:d,opts:n,orientation:r||("y"===(null==n?void 0:n.axis)?"vertical":"horizontal"),scrollPrev:A,scrollNext:v,canScrollPrev:p,canScrollNext:g},children:(0,t.jsx)("div",Object.assign({onKeyDownCapture:b,className:kd("relative",s),role:"region","aria-roledescription":"carousel","data-slot":"carousel"},c,{children:l}))})}function Mk(e){var{className:r}=e,n=Tk(e,["className"]);const{carouselRef:o,orientation:a}=Lk();return(0,t.jsx)("div",{ref:o,className:"overflow-hidden","data-slot":"carousel-content",children:(0,t.jsx)("div",Object.assign({className:kd("flex","horizontal"===a?"-ml-4":"-mt-4 flex-col",r)},n))})}function Pk(e){var{className:r}=e,n=Tk(e,["className"]);const{orientation:o}=Lk();return(0,t.jsx)("div",Object.assign({role:"group","aria-roledescription":"slide","data-slot":"carousel-item",className:kd("min-w-0 shrink-0 grow-0 basis-full","horizontal"===o?"pl-4":"pt-4",r)},n))}function Ik(e){var{className:r,variant:n="outline-neutral",size:o="icon"}=e,a=Tk(e,["className","variant","size"]);const{scrollPrev:i,canScrollPrev:s}=Lk(),{t:l}=Pe();return(0,t.jsxs)(eA,Object.assign({"data-slot":"carousel-previous",variant:n,size:o,className:kd("size-8 rounded-full",r),disabled:!s,onClick:i},a,{children:[(0,t.jsx)(Rk,{color:"var(--color-foreground)"}),(0,t.jsx)("span",{className:"sr-only",children:l("carousel.previous_slide")})]}))}function qk(e){var{className:r,variant:n="outline-neutral",size:o="icon"}=e,a=Tk(e,["className","variant","size"]);const{scrollNext:i,canScrollNext:s}=Lk(),{t:l}=Pe();return(0,t.jsxs)(eA,Object.assign({"data-slot":"carousel-next",variant:n,size:o,className:kd("size-8 rounded-full",r),disabled:!s,onClick:i},a,{children:[(0,t.jsx)(wA,{color:"var(--color-foreground)"}),(0,t.jsx)("span",{className:"sr-only",children:l("carousel.next_slide")})]}))}var zk="ScrollArea",[Uk,$k]=Ks(zk),[Vk,Wk]=Uk(zk),Hk=o.forwardRef((e,r)=>{const{__scopeScrollArea:n,type:a="hover",dir:i,scrollHideDelay:s=600,...l}=e,[c,u]=o.useState(null),[d,p]=o.useState(null),[f,g]=o.useState(null),[h,m]=o.useState(null),[A,v]=o.useState(null),[b,C]=o.useState(0),[w,y]=o.useState(0),[x,k]=o.useState(!1),[B,E]=o.useState(!1),S=Gs(r,e=>u(e)),_=ew(i);return(0,t.jsx)(Vk,{scope:n,type:a,dir:_,scrollHideDelay:s,scrollArea:c,viewport:d,onViewportChange:p,content:f,onContentChange:g,scrollbarX:h,onScrollbarXChange:m,scrollbarXEnabled:x,onScrollbarXEnabledChange:k,scrollbarY:A,onScrollbarYChange:v,scrollbarYEnabled:B,onScrollbarYEnabledChange:E,onCornerWidthChange:C,onCornerHeightChange:y,children:(0,t.jsx)(il.div,{dir:_,...l,ref:S,style:{position:"relative","--radix-scroll-area-corner-width":b+"px","--radix-scroll-area-corner-height":w+"px",...e.style}})})});Hk.displayName=zk;var Gk="ScrollAreaViewport",Kk=o.forwardRef((e,r)=>{const{__scopeScrollArea:n,children:a,nonce:i,...s}=e,l=Wk(Gk,n),c=Gs(r,o.useRef(null),l.onViewportChange);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("style",{dangerouslySetInnerHTML:{__html:"[data-radix-scroll-area-viewport]{scrollbar-width:none;-ms-overflow-style:none;-webkit-overflow-scrolling:touch;}[data-radix-scroll-area-viewport]::-webkit-scrollbar{display:none}"},nonce:i}),(0,t.jsx)(il.div,{"data-radix-scroll-area-viewport":"",...s,ref:c,style:{overflowX:l.scrollbarXEnabled?"scroll":"hidden",overflowY:l.scrollbarYEnabled?"scroll":"hidden",...e.style},children:(0,t.jsx)("div",{ref:l.onContentChange,style:{minWidth:"100%",display:"table"},children:a})})]})});Kk.displayName=Gk;var Yk="ScrollAreaScrollbar",Xk=o.forwardRef((e,r)=>{const{forceMount:n,...a}=e,i=Wk(Yk,e.__scopeScrollArea),{onScrollbarXEnabledChange:s,onScrollbarYEnabledChange:l}=i,c="horizontal"===e.orientation;return o.useEffect(()=>(c?s(!0):l(!0),()=>{c?s(!1):l(!1)}),[c,s,l]),"hover"===i.type?(0,t.jsx)(Qk,{...a,ref:r,forceMount:n}):"scroll"===i.type?(0,t.jsx)(Zk,{...a,ref:r,forceMount:n}):"auto"===i.type?(0,t.jsx)(Jk,{...a,ref:r,forceMount:n}):"always"===i.type?(0,t.jsx)(eB,{...a,ref:r}):null});Xk.displayName=Yk;var Qk=o.forwardRef((e,r)=>{const{forceMount:n,...a}=e,i=Wk(Yk,e.__scopeScrollArea),[s,l]=o.useState(!1);return o.useEffect(()=>{const e=i.scrollArea;let t=0;if(e){const r=()=>{window.clearTimeout(t),l(!0)},n=()=>{t=window.setTimeout(()=>l(!1),i.scrollHideDelay)};return e.addEventListener("pointerenter",r),e.addEventListener("pointerleave",n),()=>{window.clearTimeout(t),e.removeEventListener("pointerenter",r),e.removeEventListener("pointerleave",n)}}},[i.scrollArea,i.scrollHideDelay]),(0,t.jsx)(Bl,{present:n||s,children:(0,t.jsx)(Jk,{"data-state":s?"visible":"hidden",...a,ref:r})})}),Zk=o.forwardRef((e,r)=>{const{forceMount:n,...a}=e,i=Wk(Yk,e.__scopeScrollArea),s="horizontal"===e.orientation,l=bB(()=>u("SCROLL_END"),100),[c,u]=(d={hidden:{SCROLL:"scrolling"},scrolling:{SCROLL_END:"idle",POINTER_ENTER:"interacting"},interacting:{SCROLL:"interacting",POINTER_LEAVE:"idle"},idle:{HIDE:"hidden",SCROLL:"scrolling",POINTER_ENTER:"interacting"}},o.useReducer((e,t)=>d[e][t]??e,"hidden"));var d;return o.useEffect(()=>{if("idle"===c){const e=window.setTimeout(()=>u("HIDE"),i.scrollHideDelay);return()=>window.clearTimeout(e)}},[c,i.scrollHideDelay,u]),o.useEffect(()=>{const e=i.viewport,t=s?"scrollLeft":"scrollTop";if(e){let r=e[t];const n=()=>{const n=e[t];r!==n&&(u("SCROLL"),l()),r=n};return e.addEventListener("scroll",n),()=>e.removeEventListener("scroll",n)}},[i.viewport,s,u,l]),(0,t.jsx)(Bl,{present:n||"hidden"!==c,children:(0,t.jsx)(eB,{"data-state":"hidden"===c?"hidden":"visible",...a,ref:r,onPointerEnter:Vs(e.onPointerEnter,()=>u("POINTER_ENTER")),onPointerLeave:Vs(e.onPointerLeave,()=>u("POINTER_LEAVE"))})})}),Jk=o.forwardRef((e,r)=>{const n=Wk(Yk,e.__scopeScrollArea),{forceMount:a,...i}=e,[s,l]=o.useState(!1),c="horizontal"===e.orientation,u=bB(()=>{if(n.viewport){const e=n.viewport.offsetWidth<n.viewport.scrollWidth,t=n.viewport.offsetHeight<n.viewport.scrollHeight;l(c?e:t)}},10);return CB(n.viewport,u),CB(n.content,u),(0,t.jsx)(Bl,{present:a||s,children:(0,t.jsx)(eB,{"data-state":s?"visible":"hidden",...i,ref:r})})}),eB=o.forwardRef((e,r)=>{const{orientation:n="vertical",...a}=e,i=Wk(Yk,e.__scopeScrollArea),s=o.useRef(null),l=o.useRef(0),[c,u]=o.useState({content:0,viewport:0,scrollbar:{size:0,paddingStart:0,paddingEnd:0}}),d=fB(c.viewport,c.content),p={...a,sizes:c,onSizesChange:u,hasThumb:Boolean(d>0&&d<1),onThumbChange:e=>s.current=e,onThumbPointerUp:()=>l.current=0,onThumbPointerDown:e=>l.current=e};function f(e,t){return function(e,t,r,n="ltr"){const o=gB(r),a=t||o/2,i=o-a,s=r.scrollbar.paddingStart+a,l=r.scrollbar.size-r.scrollbar.paddingEnd-i,c=r.content-r.viewport;return mB([s,l],"ltr"===n?[0,c]:[-1*c,0])(e)}(e,l.current,c,t)}return"horizontal"===n?(0,t.jsx)(tB,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&s.current){const e=hB(i.viewport.scrollLeft,c,i.dir);s.current.style.transform=`translate3d(${e}px, 0, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollLeft=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollLeft=f(e,i.dir))}}):"vertical"===n?(0,t.jsx)(rB,{...p,ref:r,onThumbPositionChange:()=>{if(i.viewport&&s.current){const e=hB(i.viewport.scrollTop,c);s.current.style.transform=`translate3d(0, ${e}px, 0)`}},onWheelScroll:e=>{i.viewport&&(i.viewport.scrollTop=e)},onDragScroll:e=>{i.viewport&&(i.viewport.scrollTop=f(e))}}):null}),tB=o.forwardRef((e,r)=>{const{sizes:n,onSizesChange:a,...i}=e,s=Wk(Yk,e.__scopeScrollArea),[l,c]=o.useState(),u=o.useRef(null),d=Gs(r,u,s.onScrollbarXChange);return o.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,t.jsx)(aB,{"data-orientation":"horizontal",...i,ref:d,sizes:n,style:{bottom:0,left:"rtl"===s.dir?"var(--radix-scroll-area-corner-width)":0,right:"ltr"===s.dir?"var(--radix-scroll-area-corner-width)":0,"--radix-scroll-area-thumb-width":gB(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.x),onDragScroll:t=>e.onDragScroll(t.x),onWheelScroll:(t,r)=>{if(s.viewport){const n=s.viewport.scrollLeft+t.deltaX;e.onWheelScroll(n),AB(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&s.viewport&&l&&a({content:s.viewport.scrollWidth,viewport:s.viewport.offsetWidth,scrollbar:{size:u.current.clientWidth,paddingStart:pB(l.paddingLeft),paddingEnd:pB(l.paddingRight)}})}})}),rB=o.forwardRef((e,r)=>{const{sizes:n,onSizesChange:a,...i}=e,s=Wk(Yk,e.__scopeScrollArea),[l,c]=o.useState(),u=o.useRef(null),d=Gs(r,u,s.onScrollbarYChange);return o.useEffect(()=>{u.current&&c(getComputedStyle(u.current))},[u]),(0,t.jsx)(aB,{"data-orientation":"vertical",...i,ref:d,sizes:n,style:{top:0,right:"ltr"===s.dir?0:void 0,left:"rtl"===s.dir?0:void 0,bottom:"var(--radix-scroll-area-corner-height)","--radix-scroll-area-thumb-height":gB(n)+"px",...e.style},onThumbPointerDown:t=>e.onThumbPointerDown(t.y),onDragScroll:t=>e.onDragScroll(t.y),onWheelScroll:(t,r)=>{if(s.viewport){const n=s.viewport.scrollTop+t.deltaY;e.onWheelScroll(n),AB(n,r)&&t.preventDefault()}},onResize:()=>{u.current&&s.viewport&&l&&a({content:s.viewport.scrollHeight,viewport:s.viewport.offsetHeight,scrollbar:{size:u.current.clientHeight,paddingStart:pB(l.paddingTop),paddingEnd:pB(l.paddingBottom)}})}})}),[nB,oB]=Uk(Yk),aB=o.forwardRef((e,r)=>{const{__scopeScrollArea:n,sizes:a,hasThumb:i,onThumbChange:s,onThumbPointerUp:l,onThumbPointerDown:c,onThumbPositionChange:u,onDragScroll:d,onWheelScroll:p,onResize:f,...g}=e,h=Wk(Yk,n),[m,A]=o.useState(null),v=Gs(r,e=>A(e)),b=o.useRef(null),C=o.useRef(""),w=h.viewport,y=a.content-a.viewport,x=sl(p),k=sl(u),B=bB(f,10);function E(e){if(b.current){const t=e.clientX-b.current.left,r=e.clientY-b.current.top;d({x:t,y:r})}}return o.useEffect(()=>{const e=e=>{const t=e.target,r=m?.contains(t);r&&x(e,y)};return document.addEventListener("wheel",e,{passive:!1}),()=>document.removeEventListener("wheel",e,{passive:!1})},[w,m,y,x]),o.useEffect(k,[a,k]),CB(m,B),CB(h.content,B),(0,t.jsx)(nB,{scope:n,scrollbar:m,hasThumb:i,onThumbChange:sl(s),onThumbPointerUp:sl(l),onThumbPositionChange:k,onThumbPointerDown:sl(c),children:(0,t.jsx)(il.div,{...g,ref:v,style:{position:"absolute",...g.style},onPointerDown:Vs(e.onPointerDown,e=>{0===e.button&&(e.target.setPointerCapture(e.pointerId),b.current=m.getBoundingClientRect(),C.current=document.body.style.webkitUserSelect,document.body.style.webkitUserSelect="none",h.viewport&&(h.viewport.style.scrollBehavior="auto"),E(e))}),onPointerMove:Vs(e.onPointerMove,E),onPointerUp:Vs(e.onPointerUp,e=>{const t=e.target;t.hasPointerCapture(e.pointerId)&&t.releasePointerCapture(e.pointerId),document.body.style.webkitUserSelect=C.current,h.viewport&&(h.viewport.style.scrollBehavior=""),b.current=null})})})}),iB="ScrollAreaThumb",sB=o.forwardRef((e,r)=>{const{forceMount:n,...o}=e,a=oB(iB,e.__scopeScrollArea);return(0,t.jsx)(Bl,{present:n||a.hasThumb,children:(0,t.jsx)(lB,{ref:r,...o})})}),lB=o.forwardRef((e,r)=>{const{__scopeScrollArea:n,style:a,...i}=e,s=Wk(iB,n),l=oB(iB,n),{onThumbPositionChange:c}=l,u=Gs(r,e=>l.onThumbChange(e)),d=o.useRef(void 0),p=bB(()=>{d.current&&(d.current(),d.current=void 0)},100);return o.useEffect(()=>{const e=s.viewport;if(e){const t=()=>{if(p(),!d.current){const t=vB(e,c);d.current=t,c()}};return c(),e.addEventListener("scroll",t),()=>e.removeEventListener("scroll",t)}},[s.viewport,p,c]),(0,t.jsx)(il.div,{"data-state":l.hasThumb?"visible":"hidden",...i,ref:u,style:{width:"var(--radix-scroll-area-thumb-width)",height:"var(--radix-scroll-area-thumb-height)",...a},onPointerDownCapture:Vs(e.onPointerDownCapture,e=>{const t=e.target.getBoundingClientRect(),r=e.clientX-t.left,n=e.clientY-t.top;l.onThumbPointerDown({x:r,y:n})}),onPointerUp:Vs(e.onPointerUp,l.onThumbPointerUp)})});sB.displayName=iB;var cB="ScrollAreaCorner",uB=o.forwardRef((e,r)=>{const n=Wk(cB,e.__scopeScrollArea),o=Boolean(n.scrollbarX&&n.scrollbarY);return"scroll"!==n.type&&o?(0,t.jsx)(dB,{...e,ref:r}):null});uB.displayName=cB;var dB=o.forwardRef((e,r)=>{const{__scopeScrollArea:n,...a}=e,i=Wk(cB,n),[s,l]=o.useState(0),[c,u]=o.useState(0),d=Boolean(s&&c);return CB(i.scrollbarX,()=>{const e=i.scrollbarX?.offsetHeight||0;i.onCornerHeightChange(e),u(e)}),CB(i.scrollbarY,()=>{const e=i.scrollbarY?.offsetWidth||0;i.onCornerWidthChange(e),l(e)}),d?(0,t.jsx)(il.div,{...a,ref:r,style:{width:s,height:c,position:"absolute",right:"ltr"===i.dir?0:void 0,left:"rtl"===i.dir?0:void 0,bottom:0,...e.style}}):null});function pB(e){return e?parseInt(e,10):0}function fB(e,t){const r=e/t;return isNaN(r)?0:r}function gB(e){const t=fB(e.viewport,e.content),r=e.scrollbar.paddingStart+e.scrollbar.paddingEnd,n=(e.scrollbar.size-r)*t;return Math.max(n,18)}function hB(e,t,r="ltr"){const n=gB(t),o=t.scrollbar.paddingStart+t.scrollbar.paddingEnd,a=t.scrollbar.size-o,i=t.content-t.viewport,s=a-n,l=KC(e,"ltr"===r?[0,i]:[-1*i,0]);return mB([0,i],[0,s])(l)}function mB(e,t){return r=>{if(e[0]===e[1]||t[0]===t[1])return t[0];const n=(t[1]-t[0])/(e[1]-e[0]);return t[0]+n*(r-e[0])}}function AB(e,t){return e>0&&e<t}var vB=(e,t=()=>{})=>{let r={left:e.scrollLeft,top:e.scrollTop},n=0;return function o(){const a={left:e.scrollLeft,top:e.scrollTop},i=r.left!==a.left,s=r.top!==a.top;(i||s)&&t(),r=a,n=window.requestAnimationFrame(o)}(),()=>window.cancelAnimationFrame(n)};function bB(e,t){const r=sl(e),n=o.useRef(0);return o.useEffect(()=>()=>window.clearTimeout(n.current),[]),o.useCallback(()=>{window.clearTimeout(n.current),n.current=window.setTimeout(r,t)},[r,t])}function CB(e,t){const r=sl(t);Xs(()=>{let t=0;if(e){const n=new ResizeObserver(()=>{cancelAnimationFrame(t),t=window.requestAnimationFrame(r)});return n.observe(e),()=>{window.cancelAnimationFrame(t),n.unobserve(e)}}},[e,r])}var wB=Hk,yB=Kk,xB=uB,kB=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r};function BB(e){var{className:r,children:n}=e,o=kB(e,["className","children"]);return(0,t.jsxs)(wB,Object.assign({"data-slot":"scroll-area",className:kd("relative",r)},o,{children:[(0,t.jsx)(yB,{"data-slot":"scroll-area-viewport",className:"size-full rounded-[inherit] outline-none transition-[color,box-shadow] focus-visible:outline-1 focus-visible:ring-[3px] focus-visible:ring-ring/50",children:n}),(0,t.jsx)(EB,{}),(0,t.jsx)(xB,{})]}))}function EB(e){var{className:r,orientation:n="vertical"}=e,o=kB(e,["className","orientation"]);return(0,t.jsx)(Xk,Object.assign({"data-slot":"scroll-area-scrollbar",orientation:n,className:kd("flex touch-none select-none p-px transition-colors","vertical"===n&&"h-full w-2.5 border-l border-l-transparent","horizontal"===n&&"h-2.5 flex-col border-t border-t-transparent",r)},o,{children:(0,t.jsx)(sB,{"data-slot":"scroll-area-thumb",className:"relative flex-1 rounded-full bg-border"})}))}const SB=Lm("image",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]]),_B=Lm("file-text",[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]]),OB=({size:e=12,color:r="var(--moveo-ui-background-01)"})=>(0,t.jsx)("svg",{viewBox:"0 0 24 24",width:e,height:e,className:"stroke",stroke:r,strokeWidth:"2",strokeLinecap:"round",fill:"none",shapeRendering:"geometricPrecision",children:(0,t.jsx)("path",{d:"M3.96 4l7.96 8-7.96 8M20.04 4l-7.96 8 7.96 8"})}),DB=({fileName:e,handleClose:r,id:n,content_type:a})=>{const i=X(ja(n)),s=X(La(n)),l=(0,o.useCallback)(e=>{e.preventDefault(),r&&r(e)},[r]);return(0,t.jsxs)("div",{className:ds()("bg-surface-button-secondary relative mb-0 flex h-full w-32 items-center gap-1 text-ellipsis whitespace-nowrap rounded-md px-2 py-1"),style:{opacity:i?1:.5,filter:s?"grayscale(100%)":"none"},children:[i?i&&!s?(0,t.jsx)("div",{className:"relative flex items-center justify-center overflow-hidden",children:a.includes("image")?(0,t.jsx)(SB,{size:16,color:"var(--color-foreground-muted)"}):(0,t.jsx)(_B,{size:16,color:"var(--color-foreground-muted)"})}):null:(0,t.jsx)(Zm,{size:"small"}),(0,t.jsx)("span",{className:"w-full truncate text-xs font-semibold leading-4 text-foreground",children:e}),(i||s)&&(0,t.jsx)("span",{role:"button",onClick:l,onKeyDown:l,tabIndex:0,className:"cursor-pointer",children:(0,t.jsx)(OB,{color:"var(--color-foreground-muted)"})})]})},NB=({filesToUpload:e,handleRemoveFile:r})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(Fk,{opts:{align:"center",containScroll:"trimSnaps",slidesToScroll:1,dragFree:!0,loop:!0},className:ds()("w-[calc(100%-40px)]"),children:(0,t.jsxs)(BB,{className:"w-full pb-2",style:{height:"fit-content"},children:[(0,t.jsx)(Mk,{className:ds()("-ml-1"),children:e.map(({file_id:e,original_name:n,content_type:o},a)=>(0,t.jsx)(Pk,{className:ds()("basis-[130px] pl-2"),children:(0,t.jsx)(DB,{fileName:n,content_type:o,handleClose:()=>r(e),id:e},e)},a))}),(0,t.jsx)(EB,{orientation:"horizontal",className:"mt-1"})]})})}),RB=(0,o.lazy)(()=>i.e(329).then(i.bind(i,7329))),TB=()=>{const{t:e}=Pe(),r=X(Bi),[n,a]=(0,o.useState)(""),[i,s]=(0,o.useState)(!1),l=(0,o.useRef)(null),c=(0,o.useRef)(null),{isEmojiPickerOpen:u,setIsEmojiPickerOpen:d,handleEmojiClick:p,saveCursorPosition:f}=((e,t)=>{const[r,n]=(0,o.useState)(!1),a=(0,o.useRef)(null),i=(0,o.useCallback)(()=>{const e=window.getSelection();e&&e.rangeCount>0&&(a.current=e.getRangeAt(0).cloneRange())},[]),s=(0,o.useCallback)(t=>!(!e.current||!t)&&e.current.contains(t.startContainer)&&e.current.contains(t.endContainer),[e]),l=(0,o.useCallback)(()=>{if(a.current&&e.current){e.current.focus();const t=window.getSelection();null==t||t.removeAllRanges(),null==t||t.addRange(a.current)}},[e]);return{handleEmojiClick:(0,o.useCallback)(r=>{if(e.current)if(a.current&&s(a.current)){l();const n=a.current;n.deleteContents();const o=document.createTextNode(r.emoji);n.insertNode(o),n.setStartAfter(o),n.setEndAfter(o);const i=window.getSelection();null==i||i.removeAllRanges(),null==i||i.addRange(n),t(e.current.textContent||""),a.current=null}else e.current.focus(),setTimeout(()=>{if(e.current){const n=e.current.textContent||"";e.current.textContent=n+r.emoji;const o=document.createRange(),a=window.getSelection();e.current.firstChild?(o.setStart(e.current.firstChild,e.current.textContent.length),o.setEnd(e.current.firstChild,e.current.textContent.length)):(o.selectNodeContents(e.current),o.collapse(!1)),null==a||a.removeAllRanges(),null==a||a.addRange(o),t(e.current.textContent||"")}},10);n(!1)},[e,l,t,s]),saveCursorPosition:i,restoreCursorPosition:l,isEmojiPickerOpen:r,setIsEmojiPickerOpen:n}})(l,a),[g,h]=Z(Ra),m=X(ko),A=X(ha),v=X(Ta),b=X(Vi),C=X(Ma),{sendMessage:w,sendCompose:y,closeSession:x}=zs(),k=(()=>{const e=X(ta),t=X(da),[r,n]=(0,o.useState)(ao);return(0,o.useEffect)(()=>{const t=e+Ze-ao();if(t<=0)return;const r=setTimeout(()=>n(ao()),t);return()=>clearTimeout(r)},[e]),t&&e>0&&r-e<Ze})(),B=lm(),E=(0,o.useCallback)(()=>{B.open(),x()},[B,x]),S=((e="",t=2e3)=>{const[r,n]=(0,o.useState)(e);return(0,o.useEffect)(()=>{const r=setTimeout(()=>{n(e)},t);return()=>{clearTimeout(r)}},[e,t]),r})(String(n),1100),_=X(Ai),{open:O,getInputProps:D}=(()=>{const{onDrop:e}=am(),{open:t,getInputProps:r}=Kx({onDrop:e,accept:et,maxSize:20971520,noClick:!0,noKeyboard:!0});return{open:t,getInputProps:r}})();!function(e,t,r=Qy){const n=(0,o.useRef)(t);(0,o.useEffect)(()=>{n.current=t},[t]),(0,o.useEffect)(()=>{if("undefined"==typeof document)return;const t=t=>{const r=e.current;r&&!r.contains(t.target)&&n.current(t)};return r.forEach(e=>document.addEventListener(e,t)),()=>{r.forEach(e=>document.removeEventListener(e,t))}},[e,r])}(c,async()=>{await oo(100),d(!1)}),(0,o.useEffect)(()=>{i&&(s(!1),y("stop"))},[S,y]),(0,o.useEffect)(()=>{A&&l.current&&"embed"!==_&&0===v&&setTimeout(()=>{var e;null===(e=null==l?void 0:l.current)||void 0===e||e.focus()},100)},[g,v,A,_]);const N=(0,o.useCallback)(e=>{C||k||!(v>0||n.trim().length>0)||e.key!==io&&"click"!==e.type||(e.preventDefault(),w({text:null==n?void 0:n.trim(),attachments:g.map(e=>{return{type:(t=e.content_type,t.startsWith("image/")?"image":t.startsWith("video/")?"video":t.startsWith("audio/")?"audio":"file"),id:e.file_id,mime_type:e.content_type,title:e.original_name,filename:e.filename};var t})}),l.current&&(l.current.textContent="",a("")),g.length>0&&h([]))},[n,C,k,v,w,g,h]),R=(0,o.useCallback)(e=>{N(e)},[N]),T=(0,o.useCallback)(e=>{var t;if(0===n.trim().length&&0===v&&(e.key===io||"click"===e.type))return e.preventDefault(),void(null===(t=l.current)||void 0===t||t.focus());N(e)},[v,N,n]),j=(0,o.useCallback)(()=>{var e,t,r;if((null===(e=l.current)||void 0===e?void 0:e.textContent)&&(null===(t=l.current)||void 0===t?void 0:t.textContent.length)>=512){l.current.textContent=null===(r=l.current)||void 0===r?void 0:r.textContent.slice(0,512);const e=window.getSelection(),t=document.createRange();null==e||e.removeAllRanges(),t.selectNodeContents(l.current),t.collapse(!1),null==e||e.addRange(t),l.current.focus()}const n=null==l?void 0:l.current;if(!(null==n?void 0:n.textContent)){const e=null==n?void 0:n.getElementsByTagName("br")[0];e&&(null==n||n.removeChild(e))}},[]),L=(0,o.useCallback)(e=>{(v>0||n.trim().length>0)&&e.key===io&&R(e)},[v,R,n]),F=(0,o.useCallback)(()=>{var e;j(),i||(y("start"),s(!0)),a((null===(e=l.current)||void 0===e?void 0:e.textContent)||"")},[j,i,y]),M=(0,o.useCallback)(e=>{e.key===io&&e.preventDefault()},[]),P=(0,o.useCallback)(e=>{e.preventDefault();const t=e.clipboardData.getData("text/plain");document.execCommand("insertText",!1,t.trim())},[]),I=(0,o.useCallback)(()=>{O()},[O]),q=(0,o.useCallback)(e=>{h(t=>t.filter(t=>t.file_id!==e))},[h]),z="dark"===r?"dark":null,U=B.enabled&&!B.active&&!k&&0===n.length&&0===v;return(0,t.jsxs)("div",{className:kd("z-1 relative min-h-24 w-full rounded-xl border border-border bg-background"),children:[u&&(0,t.jsx)("div",{ref:c,className:"absolute bottom-full left-0 right-0 z-10 mb-2",children:(0,t.jsx)(o.Suspense,{fallback:(0,t.jsx)("div",{className:"flex h-96 w-full items-center justify-center rounded-lg bg-background",children:(0,t.jsx)(Zm,{size:"small"})}),children:(0,t.jsx)(RB,{onEmojiClick:p,width:"100%",height:360,autoFocusSearch:!1,theme:z,previewConfig:{showPreview:!1}})})}),(0,t.jsx)("div",{className:"max-h-50 relative flex items-start pb-[40px]",children:(0,t.jsx)("div",{ref:l,className:kd("message-input","wrap-break-word max-h-40 flex-1 appearance-none overflow-y-auto text-wrap border-0 p-3 leading-6 text-foreground outline-none"),style:{scrollbarWidth:"none"},"aria-label":e("message_input.placeholder"),role:"textbox",tabIndex:0,"data-placeholder":e("message_input.placeholder"),contentEditable:"online"===m,onKeyUp:L,onKeyDown:M,onInput:F,onPaste:P})}),(0,t.jsxs)("div",{className:"absolute bottom-3 left-0 right-0 flex h-[28px] w-full justify-between px-3",children:[v>0?(0,t.jsx)(NB,{filesToUpload:g,handleRemoveFile:q}):(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)(eA,{size:"sm",className:"h-7 w-7 min-w-7",variant:"ghost-neutral",onClick:()=>{f(),d(!0)},children:(0,t.jsx)(Gy,{size:16})}),0==v&&b&&(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(eA,{size:"sm",className:"h-7 w-7 min-w-7",variant:"ghost-neutral",onKeyUp:I,onClick:I,onTouchStart:I,children:[(0,t.jsx)("input",Object.assign({},D())),(0,t.jsx)(Ky,{size:16})]})})]})}),U?(0,t.jsx)(eA,{size:"sm",className:"absolute right-3 h-7 w-7 min-w-7 cursor-pointer p-0",variant:"ghost-neutral","aria-label":e("audio_widget.actions.start_call","Start a call"),title:e("audio_widget.actions.start_call","Start a call"),onClick:E,children:(0,t.jsx)(Yy,{size:16})}):(0,t.jsx)(eA,{size:"sm",className:"absolute right-3 h-7 w-7 min-w-7 cursor-pointer p-0 [&_svg]:h-6 [&_svg]:w-6",variant:"ghost-neutral","aria-label":e("input_send"),title:e("input_send"),onKeyUp:T,onClick:T,children:k?(0,t.jsx)(Zm,{size:"small",variant:"dark"===r?"light":"primary"}):(0,t.jsx)(Xy,{})})]})]})},jB=Lm("check-check",[["path",{d:"M18 6 7 17l-5-5",key:"116fxf"}],["path",{d:"m22 10-7.5 7.5L13 16",key:"ke71qq"}]]),LB=({chatEvent:e})=>{if("user_message"===e.event_type){const r=(e=>{const t=e.getHours();return`${t%12||12}:${e.getMinutes().toString().padStart(2,"0")} ${t>=12?"PM":"AM"}`})(new Date(e.created_at));return(0,t.jsxs)("div",{className:"text-foreground-muted ml-auto flex items-center gap-2 px-1 text-xs",children:[(0,t.jsx)("span",{className:"whitespace-nowrap uppercase",children:r}),e.delivered_at&&(0,t.jsx)(jB,{size:16,color:e.read_at?"var(--color-successful)":"var(--color-foreground-muted)"})]})}throw new Error("Shouldn't be reachable")},FB=({url:e})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("audio",{className:"block w-full max-w-md rounded",controls:!0,src:e})}),MB=({size:e=24,color:r="var($text-primary)"})=>(0,t.jsx)("svg",{width:e,height:e,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,t.jsx)("path",{d:"M21.44 11.05l-9.19 9.19a6.003 6.003 0 01-8.49-8.49l9.19-9.19a4.002 4.002 0 015.66 5.66l-9.2 9.19a2.001 2.001 0 11-2.83-2.83l8.49-8.48",stroke:r,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),PB=({url:e,name:r})=>(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("a",{className:"duration-250 flex w-fit items-center break-words rounded-lg border border-gray-200 bg-[var(--background)] px-3 py-2 align-middle text-sm leading-6 text-accent no-underline transition-colors ease-out dark:border-input",title:r,href:e,target:"_blank",rel:"noreferrer",children:[(0,t.jsx)("span",{className:"flex-shrink-0",children:(0,t.jsx)(MB,{size:16,color:"var(--color-accent)"})})," ",r||e]})}),IB=({onClose:e,url:r})=>{const{t:n}=Pe(),[a,i]=(0,o.useState)(!1);return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:"yarl__root min-h-full overflow-hidden rounded-[var(--moveo-new-border-radius-base)] border border-gray-700 bg-black",children:[(0,t.jsx)("div",{className:"yarl__toolbar flex w-full items-center justify-end border-b border-gray-700 px-4 pb-2 pt-3",children:(0,t.jsx)(eA,{variant:"ghost",size:"icon",onClick:e,"aria-label":n("buttons.close"),className:"transition-colors hover:bg-gray-700/50 hover:backdrop-blur-sm",children:(0,t.jsx)(sA,{className:"h-5 w-5 text-white"})})}),(0,t.jsx)("span",{className:kd("flex min-h-[calc(100%-44px)] items-center justify-center",{hidden:a}),children:(0,t.jsx)(Zm,{})}),(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center",children:(0,t.jsx)("img",{src:r,onLoad:()=>i(!0),alt:"",className:"max-h-full max-w-full object-contain"})})]})})},qB=({name:e,url:r})=>{const{notifyWebviewOpened:n,notifyWebviewClosed:a}=ts(),[i,s]=Z(Da),[l,c]=(0,o.useState)(!1),u=(0,o.useRef)(null),[d,p]=(0,o.useState)(!1),f=(0,o.useCallback)(()=>{s(!0)},[s]);(0,o.useEffect)(()=>{u.current&&u.current.complete&&!i&&f()},[i,f]),(0,o.useEffect)(()=>{s(!1)},[i]);const g=(0,o.useCallback)(()=>{n(),p(!0)},[n]),h=(0,o.useCallback)(()=>{a(),p(!1)},[a]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Ed,{open:d,children:(0,t.jsx)(Dd,{onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),className:ds()("h-full w-full bg-black p-0"),children:(0,t.jsx)(IB,{onClose:h,url:r})})}),(0,t.jsx)("button",{className:ds()("image-btn","block max-w-md cursor-pointer border-0 bg-transparent p-0"),onClick:g,children:(0,t.jsx)("img",{className:ds()("block w-full max-w-full rounded-[var(--moveo-border-radius-base)]",{"max-h-[88px]":l}),src:r,alt:e,ref:u,onLoad:f,onError:()=>c(!0)})})]})};var zB=i(3927),UB=i.n(zB);const $B=/\b(0030|\+30)?(210\d{7}|69\d{8})\b|\b1?-?\(?[0-9]{3}[\-\)][0-9]{3}-[0-9]{4}\b/gi,VB=(0,o.memo)(({children:e})=>{const r=Jv.sanitize,n=(e=>{const t=UB()({input:e,options:{specialTransform:[{test:/\bveo\.ai\b/i,transform:e=>e}],attributes:{target:"_blank",rel:"noopener noreferrer"}},extensions:[{test:$B,transform:e=>`<a href="tel:${e}">${e}</a>`}]});return t.replace(/<a([^>]*href=["']([^"']+)["'][^>]*)>([^<]*)<\/a>(#[^\s<]*)/gi,(e,t,r,n,o)=>{const a=r+o,i=n+o;return`<a${t.replace(/href=["']([^"']+)["']/,`href="${a}"`)}>${i}</a>`}).replace(/<a([^>]*href=["']([^"']+)["'][^>]*)>([^<]*)<\/a>/gi,(e,t,r,n)=>{if(n===r){const e=((e,t=44)=>{if(e.length<=t)return e;const r=Math.ceil(.6*t),n=Math.floor(.4*t)-3;return`${e.substring(0,r)}...${e.substring(e.length-n)}`})(r);return e!==r?`<a${t} title="${r}">${e}</a>`:`<a${t}>${e}</a>`}return e})})(e);return(0,t.jsx)("span",{dangerouslySetInnerHTML:{__html:r(n)}})});VB.displayName="Linkify";var WB=i(845),HB=i.n(WB);var GB={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function KB(e){GB=e}var YB={exec:()=>null};function XB(e,t=""){let r="string"==typeof e?e:e.source,n={replace:(e,t)=>{let o="string"==typeof t?t:t.source;return o=o.replace(ZB.caret,"$1"),r=r.replace(e,o),n},getRegex:()=>new RegExp(r,t)};return n}var QB=(()=>{try{return!!new RegExp("(?<=1)(?<!1)")}catch{return!1}})(),ZB={codeRemoveIndent:/^(?: {1,4}| {0,3}\t)/gm,outputLinkReplace:/\\([\[\]])/g,indentCodeCompensation:/^(\s+)(?:```)/,beginningSpace:/^\s+/,endingHash:/#$/,startingSpaceChar:/^ /,endingSpaceChar:/ $/,nonSpaceChar:/[^ ]/,newLineCharGlobal:/\n/g,tabCharGlobal:/\t/g,multipleSpaceGlobal:/\s+/g,blankLine:/^[ \t]*$/,doubleBlankLine:/\n[ \t]*\n[ \t]*$/,blockquoteStart:/^ {0,3}>/,blockquoteSetextReplace:/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,blockquoteSetextReplace2:/^ {0,3}>[ \t]?/gm,listReplaceNesting:/^ {1,4}(?=( {4})*[^ ])/g,listIsTask:/^\[[ xX]\] +\S/,listReplaceTask:/^\[[ xX]\] +/,listTaskCheckbox:/\[[ xX]\]/,anyLine:/\n.*\n/,hrefBrackets:/^<(.*)>$/,tableDelimiter:/[:|]/,tableAlignChars:/^\||\| *$/g,tableRowBlankLine:/\n[ \t]*$/,tableAlignRight:/^ *-+: *$/,tableAlignCenter:/^ *:-+: *$/,tableAlignLeft:/^ *:-+ *$/,startATag:/^<a /i,endATag:/^<\/a>/i,startPreScriptTag:/^<(pre|code|kbd|script)(\s|>)/i,endPreScriptTag:/^<\/(pre|code|kbd|script)(\s|>)/i,startAngleBracket:/^</,endAngleBracket:/>$/,pedanticHrefTitle:/^([^'"]*[^\s])\s+(['"])(.*)\2/,unicodeAlphaNumeric:/[\p{L}\p{N}]/u,escapeTest:/[&<>"']/,escapeReplace:/[&<>"']/g,escapeTestNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,escapeReplaceNoEncode:/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/g,caret:/(^|[^\[])\^/g,percentDecode:/%25/g,findPipe:/\|/g,splitPipe:/ \|/,slashPipe:/\\\|/g,carriageReturn:/\r\n|\r/g,spaceLine:/^ +$/gm,notSpaceStart:/^\S*/,endingNewline:/\n$/,listItemRegex:e=>new RegExp(`^( {0,3}${e})((?:[\t ][^\\n]*)?(?:\\n|$))`),nextBulletRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))`),hrRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`),fencesBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}(?:\`\`\`|~~~)`),headingBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}#`),htmlBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}<(?:[a-z].*>|!--)`,"i"),blockquoteBeginRegex:e=>new RegExp(`^ {0,${Math.min(3,e-1)}}>`)},JB=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,eE=/ {0,3}(?:[*+-]|\d{1,9}[.)])/,tE=/^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/,rE=XB(tE).replace(/bull/g,eE).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/\|table/g,"").getRegex(),nE=XB(tE).replace(/bull/g,eE).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).replace(/table/g,/ {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(),oE=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,aE=/(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/,iE=XB(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",aE).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),sE=XB(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,eE).getRegex(),lE="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",cE=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,uE=XB("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",cE).replace("tag",lE).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),dE=XB(oE).replace("hr",JB).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lE).getRegex(),pE={blockquote:XB(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",dE).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:iE,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:JB,html:uE,lheading:rE,list:sE,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:dE,table:YB,text:/^[^\n]+/},fE=XB("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",JB).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lE).getRegex(),gE={...pE,lheading:nE,table:fE,paragraph:XB(oE).replace("hr",JB).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",fE).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",lE).getRegex()},hE={...pE,html:XB("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",cE).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:YB,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:XB(oE).replace("hr",JB).replace("heading"," *#{1,6} *[^\n]").replace("lheading",rE).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},mE=/^( {2,}|\\)\n(?!\s*$)/,AE=/[\p{P}\p{S}]/u,vE=/[\s\p{P}\p{S}]/u,bE=/[^\s\p{P}\p{S}]/u,CE=XB(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,vE).getRegex(),wE=/(?!~)[\p{P}\p{S}]/u,yE=/(?![*_])[\p{P}\p{S}]/u,xE=XB(/link|precode-code|html/,"g").replace("link",/\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-",QB?"(?<!`)()":"(^^|[^`])").replace("code",/(?<b>`+)[^`]+\k<b>(?!`)/).replace("html",/<(?! )[^<>]*?>/).getRegex(),kE=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,BE=XB(kE,"u").replace(/punct/g,AE).getRegex(),EE=XB(kE,"u").replace(/punct/g,wE).getRegex(),SE="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",_E=XB(SE,"gu").replace(/notPunctSpace/g,bE).replace(/punctSpace/g,vE).replace(/punct/g,AE).getRegex(),OE=XB(SE,"gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|~)/u).replace(/punctSpace/g,/(?!~)[\s\p{P}\p{S}]/u).replace(/punct/g,wE).getRegex(),DE=XB("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,bE).replace(/punctSpace/g,vE).replace(/punct/g,AE).getRegex(),NE=XB(/^~~?(?:((?!~)punct)|[^\s~])/,"u").replace(/punct/g,yE).getRegex(),RE=XB("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)","gu").replace(/notPunctSpace/g,/(?:[^\s\p{P}\p{S}]|[*_])/u).replace(/punctSpace/g,/(?![*_])[\s\p{P}\p{S}]/u).replace(/punct/g,yE).getRegex(),TE=XB(/\\(punct)/,"gu").replace(/punct/g,AE).getRegex(),jE=XB(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),LE=XB(cE).replace("(?:--\x3e|$)","--\x3e").getRegex(),FE=XB("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",LE).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),ME=/(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+[^`]*?`+(?!`)|[^\[\]\\`])*?/,PE=XB(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label",ME).replace("href",/<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),IE=XB(/^!?\[(label)\]\[(ref)\]/).replace("label",ME).replace("ref",aE).getRegex(),qE=XB(/^!?\[(ref)\](?:\[\])?/).replace("ref",aE).getRegex(),zE=/[hH][tT][tT][pP][sS]?|[fF][tT][pP]/,UE={_backpedal:YB,anyPunctuation:TE,autolink:jE,blockSkip:xE,br:mE,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:YB,delLDelim:YB,delRDelim:YB,emStrongLDelim:BE,emStrongRDelimAst:_E,emStrongRDelimUnd:DE,escape:/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,link:PE,nolink:qE,punctuation:CE,reflink:IE,reflinkSearch:XB("reflink|nolink(?!\\()","g").replace("reflink",IE).replace("nolink",qE).getRegex(),tag:FE,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:YB},$E={...UE,link:XB(/^!?\[(label)\]\((.*?)\)/).replace("label",ME).getRegex(),reflink:XB(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",ME).getRegex()},VE={...UE,emStrongRDelimAst:OE,emStrongLDelim:EE,delLDelim:NE,delRDelim:RE,url:XB(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol",zE).replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,text:XB(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol",zE).getRegex()},WE={...VE,br:XB(mE).replace("{2,}","*").getRegex(),text:XB(VE.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},HE={normal:pE,gfm:gE,pedantic:hE},GE={normal:UE,gfm:VE,breaks:WE,pedantic:$E},KE={"&":"&","<":"<",">":">",'"':""","'":"'"},YE=e=>KE[e];function XE(e,t){if(t){if(ZB.escapeTest.test(e))return e.replace(ZB.escapeReplace,YE)}else if(ZB.escapeTestNoEncode.test(e))return e.replace(ZB.escapeReplaceNoEncode,YE);return e}function QE(e){try{e=encodeURI(e).replace(ZB.percentDecode,"%")}catch{return null}return e}function ZE(e,t){let r=e.replace(ZB.findPipe,(e,t,r)=>{let n=!1,o=t;for(;--o>=0&&"\\"===r[o];)n=!n;return n?"|":" |"}),n=r.split(ZB.splitPipe),o=0;if(n[0].trim()||n.shift(),n.length>0&&!n.at(-1)?.trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;o<n.length;o++)n[o]=n[o].trim().replace(ZB.slashPipe,"|");return n}function JE(e,t,r){let n=e.length;if(0===n)return"";let o=0;for(;o<n;){let a=e.charAt(n-o-1);if(a!==t||r){if(a===t||!r)break;o++}else o++}return e.slice(0,n-o)}function eS(e,t=0){let r=t,n="";for(let t of e)if("\t"===t){let e=4-r%4;n+=" ".repeat(e),r+=e}else n+=t,r++;return n}function tS(e,t,r,n,o){let a=t.href,i=t.title||null,s=e[1].replace(o.other.outputLinkReplace,"$1");n.state.inLink=!0;let l={type:"!"===e[0].charAt(0)?"image":"link",raw:r,href:a,title:i,text:s,tokens:n.inlineTokens(s)};return n.state.inLink=!1,l}var rS=class{options;rules;lexer;constructor(e){this.options=e||GB}space(e){let t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){let t=this.rules.block.code.exec(e);if(t){let e=t[0].replace(this.rules.other.codeRemoveIndent,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:JE(e,"\n")}}}fences(e){let t=this.rules.block.fences.exec(e);if(t){let e=t[0],r=function(e,t,r){let n=e.match(r.other.indentCodeCompensation);if(null===n)return t;let o=n[1];return t.split("\n").map(e=>{let t=e.match(r.other.beginningSpace);if(null===t)return e;let[n]=t;return n.length>=o.length?e.slice(o.length):e}).join("\n")}(e,t[3]||"",this.rules);return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:r}}}heading(e){let t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(this.rules.other.endingHash.test(e)){let t=JE(e,"#");(this.options.pedantic||!t||this.rules.other.endingSpaceChar.test(t))&&(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){let t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:JE(t[0],"\n")}}blockquote(e){let t=this.rules.block.blockquote.exec(e);if(t){let e=JE(t[0],"\n").split("\n"),r="",n="",o=[];for(;e.length>0;){let t,a=!1,i=[];for(t=0;t<e.length;t++)if(this.rules.other.blockquoteStart.test(e[t]))i.push(e[t]),a=!0;else{if(a)break;i.push(e[t])}e=e.slice(t);let s=i.join("\n"),l=s.replace(this.rules.other.blockquoteSetextReplace,"\n $1").replace(this.rules.other.blockquoteSetextReplace2,"");r=r?`${r}\n${s}`:s,n=n?`${n}\n${l}`:l;let c=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,o,!0),this.lexer.state.top=c,0===e.length)break;let u=o.at(-1);if("code"===u?.type)break;if("blockquote"===u?.type){let t=u,a=t.raw+"\n"+e.join("\n"),i=this.blockquote(a);o[o.length-1]=i,r=r.substring(0,r.length-t.raw.length)+i.raw,n=n.substring(0,n.length-t.text.length)+i.text;break}if("list"===u?.type){let t=u,a=t.raw+"\n"+e.join("\n"),i=this.list(a);o[o.length-1]=i,r=r.substring(0,r.length-u.raw.length)+i.raw,n=n.substring(0,n.length-t.raw.length)+i.raw,e=a.substring(o.at(-1).raw.length).split("\n");continue}}return{type:"blockquote",raw:r,tokens:o,text:n}}}list(e){let t=this.rules.block.list.exec(e);if(t){let r=t[1].trim(),n=r.length>1,o={type:"list",raw:"",ordered:n,start:n?+r.slice(0,-1):"",loose:!1,items:[]};r=n?`\\d{1,9}\\${r.slice(-1)}`:`\\${r}`,this.options.pedantic&&(r=n?r:"[*+-]");let a=this.rules.other.listItemRegex(r),i=!1;for(;e;){let r=!1,n="",s="";if(!(t=a.exec(e))||this.rules.block.hr.test(e))break;n=t[0],e=e.substring(n.length);let l=eS(t[2].split("\n",1)[0],t[1].length),c=e.split("\n",1)[0],u=!l.trim(),d=0;if(this.options.pedantic?(d=2,s=l.trimStart()):u?d=t[1].length+1:(d=l.search(this.rules.other.nonSpaceChar),d=d>4?1:d,s=l.slice(d),d+=t[1].length),u&&this.rules.other.blankLine.test(c)&&(n+=c+"\n",e=e.substring(c.length+1),r=!0),!r){let t=this.rules.other.nextBulletRegex(d),r=this.rules.other.hrRegex(d),o=this.rules.other.fencesBeginRegex(d),a=this.rules.other.headingBeginRegex(d),i=this.rules.other.htmlBeginRegex(d),p=this.rules.other.blockquoteBeginRegex(d);for(;e;){let f,g=e.split("\n",1)[0];if(c=g,this.options.pedantic?(c=c.replace(this.rules.other.listReplaceNesting," "),f=c):f=c.replace(this.rules.other.tabCharGlobal," "),o.test(c)||a.test(c)||i.test(c)||p.test(c)||t.test(c)||r.test(c))break;if(f.search(this.rules.other.nonSpaceChar)>=d||!c.trim())s+="\n"+f.slice(d);else{if(u||l.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||o.test(l)||a.test(l)||r.test(l))break;s+="\n"+c}u=!c.trim(),n+=g+"\n",e=e.substring(g.length+1),l=f.slice(d)}}o.loose||(i?o.loose=!0:this.rules.other.doubleBlankLine.test(n)&&(i=!0)),o.items.push({type:"list_item",raw:n,task:!!this.options.gfm&&this.rules.other.listIsTask.test(s),loose:!1,text:s,tokens:[]}),o.raw+=n}let s=o.items.at(-1);if(!s)return;s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd(),o.raw=o.raw.trimEnd();for(let e of o.items){if(this.lexer.state.top=!1,e.tokens=this.lexer.blockTokens(e.text,[]),e.task){if(e.text=e.text.replace(this.rules.other.listReplaceTask,""),"text"===e.tokens[0]?.type||"paragraph"===e.tokens[0]?.type){e.tokens[0].raw=e.tokens[0].raw.replace(this.rules.other.listReplaceTask,""),e.tokens[0].text=e.tokens[0].text.replace(this.rules.other.listReplaceTask,"");for(let e=this.lexer.inlineQueue.length-1;e>=0;e--)if(this.rules.other.listIsTask.test(this.lexer.inlineQueue[e].src)){this.lexer.inlineQueue[e].src=this.lexer.inlineQueue[e].src.replace(this.rules.other.listReplaceTask,"");break}}let t=this.rules.other.listTaskCheckbox.exec(e.raw);if(t){let r={type:"checkbox",raw:t[0]+" ",checked:"[ ]"!==t[0]};e.checked=r.checked,o.loose?e.tokens[0]&&["paragraph","text"].includes(e.tokens[0].type)&&"tokens"in e.tokens[0]&&e.tokens[0].tokens?(e.tokens[0].raw=r.raw+e.tokens[0].raw,e.tokens[0].text=r.raw+e.tokens[0].text,e.tokens[0].tokens.unshift(r)):e.tokens.unshift({type:"paragraph",raw:r.raw,text:r.raw,tokens:[r]}):e.tokens.unshift(r)}}if(!o.loose){let t=e.tokens.filter(e=>"space"===e.type),r=t.length>0&&t.some(e=>this.rules.other.anyLine.test(e.raw));o.loose=r}}if(o.loose)for(let e of o.items){e.loose=!0;for(let t of e.tokens)"text"===t.type&&(t.type="paragraph")}return o}}html(e){let t=this.rules.block.html.exec(e);if(t)return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}def(e){let t=this.rules.block.def.exec(e);if(t){let e=t[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),r=t[2]?t[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",n=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:r,title:n}}}table(e){let t=this.rules.block.table.exec(e);if(!t||!this.rules.other.tableDelimiter.test(t[2]))return;let r=ZE(t[1]),n=t[2].replace(this.rules.other.tableAlignChars,"").split("|"),o=t[3]?.trim()?t[3].replace(this.rules.other.tableRowBlankLine,"").split("\n"):[],a={type:"table",raw:t[0],header:[],align:[],rows:[]};if(r.length===n.length){for(let e of n)this.rules.other.tableAlignRight.test(e)?a.align.push("right"):this.rules.other.tableAlignCenter.test(e)?a.align.push("center"):this.rules.other.tableAlignLeft.test(e)?a.align.push("left"):a.align.push(null);for(let e=0;e<r.length;e++)a.header.push({text:r[e],tokens:this.lexer.inline(r[e]),header:!0,align:a.align[e]});for(let e of o)a.rows.push(ZE(e,a.header.length).map((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:a.align[t]})));return a}}lheading(e){let t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){let t=this.rules.block.paragraph.exec(e);if(t){let e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){let t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){let t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:t[1]}}tag(e){let t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&this.rules.other.startATag.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){let t=this.rules.inline.link.exec(e);if(t){let e=t[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(e)){if(!this.rules.other.endAngleBracket.test(e))return;let t=JE(e.slice(0,-1),"\\");if((e.length-t.length)%2==0)return}else{let e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let r=0;for(let n=0;n<e.length;n++)if("\\"===e[n])n++;else if(e[n]===t[0])r++;else if(e[n]===t[1]&&(r--,r<0))return n;return r>0?-2:-1}(t[2],"()");if(-2===e)return;if(e>-1){let r=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,r).trim(),t[3]=""}}let r=t[2],n="";if(this.options.pedantic){let e=this.rules.other.pedanticHrefTitle.exec(r);e&&(r=e[1],n=e[3])}else n=t[3]?t[3].slice(1,-1):"";return r=r.trim(),this.rules.other.startAngleBracket.test(r)&&(r=this.options.pedantic&&!this.rules.other.endAngleBracket.test(e)?r.slice(1):r.slice(1,-1)),tS(t,{href:r&&r.replace(this.rules.inline.anyPunctuation,"$1"),title:n&&n.replace(this.rules.inline.anyPunctuation,"$1")},t[0],this.lexer,this.rules)}}reflink(e,t){let r;if((r=this.rules.inline.reflink.exec(e))||(r=this.rules.inline.nolink.exec(e))){let e=t[(r[2]||r[1]).replace(this.rules.other.multipleSpaceGlobal," ").toLowerCase()];if(!e){let e=r[0].charAt(0);return{type:"text",raw:e,text:e}}return tS(r,e,r[0],this.lexer,this.rules)}}emStrong(e,t,r=""){let n=this.rules.inline.emStrongLDelim.exec(e);if(!(!n||n[3]&&r.match(this.rules.other.unicodeAlphaNumeric))&&(!n[1]&&!n[2]||!r||this.rules.inline.punctuation.exec(r))){let r,o,a=[...n[0]].length-1,i=a,s=0,l="*"===n[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+a);null!=(n=l.exec(t));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r)continue;if(o=[...r].length,n[3]||n[4]){i+=o;continue}if((n[5]||n[6])&&a%3&&!((a+o)%3)){s+=o;continue}if(i-=o,i>0)continue;o=Math.min(o,o+i+s);let t=[...n[0]][0].length,l=e.slice(0,a+n.index+t+o);if(Math.min(a,o)%2){let e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}let c=l.slice(2,-2);return{type:"strong",raw:l,text:c,tokens:this.lexer.inlineTokens(c)}}}}codespan(e){let t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(this.rules.other.newLineCharGlobal," "),r=this.rules.other.nonSpaceChar.test(e),n=this.rules.other.startingSpaceChar.test(e)&&this.rules.other.endingSpaceChar.test(e);return r&&n&&(e=e.substring(1,e.length-1)),{type:"codespan",raw:t[0],text:e}}}br(e){let t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e,t,r=""){let n=this.rules.inline.delLDelim.exec(e);if(n&&(!n[1]||!r||this.rules.inline.punctuation.exec(r))){let r,o,a=[...n[0]].length-1,i=a,s=this.rules.inline.delRDelim;for(s.lastIndex=0,t=t.slice(-1*e.length+a);null!=(n=s.exec(t));){if(r=n[1]||n[2]||n[3]||n[4]||n[5]||n[6],!r||(o=[...r].length,o!==a))continue;if(n[3]||n[4]){i+=o;continue}if(i-=o,i>0)continue;o=Math.min(o,o+i);let t=[...n[0]][0].length,s=e.slice(0,a+n.index+t+o),l=s.slice(a,-a);return{type:"del",raw:s,text:l,tokens:this.lexer.inlineTokens(l)}}}}autolink(e){let t=this.rules.inline.autolink.exec(e);if(t){let e,r;return"@"===t[2]?(e=t[1],r="mailto:"+e):(e=t[1],r=e),{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,r;if("@"===t[2])e=t[0],r="mailto:"+e;else{let n;do{n=t[0],t[0]=this.rules.inline._backpedal.exec(t[0])?.[0]??""}while(n!==t[0]);e=t[0],r="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:r,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){let t=this.rules.inline.text.exec(e);if(t){let e=this.lexer.state.inRawBlock;return{type:"text",raw:t[0],text:t[0],escaped:e}}}},nS=class e{tokens;options;state;inlineQueue;tokenizer;constructor(e){this.tokens=[],this.tokens.links=Object.create(null),this.options=e||GB,this.options.tokenizer=this.options.tokenizer||new rS,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};let t={other:ZB,block:HE.normal,inline:GE.normal};this.options.pedantic?(t.block=HE.pedantic,t.inline=GE.pedantic):this.options.gfm&&(t.block=HE.gfm,this.options.breaks?t.inline=GE.breaks:t.inline=GE.gfm),this.tokenizer.rules=t}static get rules(){return{block:HE,inline:GE}}static lex(t,r){return new e(r).lex(t)}static lexInline(t,r){return new e(r).inlineTokens(t)}lex(e){e=e.replace(ZB.carriageReturn,"\n"),this.blockTokens(e,this.tokens);for(let e=0;e<this.inlineQueue.length;e++){let t=this.inlineQueue[e];this.inlineTokens(t.src,t.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e,t=[],r=!1){for(this.options.pedantic&&(e=e.replace(ZB.tabCharGlobal," ").replace(ZB.spaceLine,""));e;){let n;if(this.options.extensions?.block?.some(r=>!!(n=r.call({lexer:this},e,t))&&(e=e.substring(n.raw.length),t.push(n),!0)))continue;if(n=this.tokenizer.space(e)){e=e.substring(n.raw.length);let r=t.at(-1);1===n.raw.length&&void 0!==r?r.raw+="\n":t.push(n);continue}if(n=this.tokenizer.code(e)){e=e.substring(n.raw.length);let r=t.at(-1);"paragraph"===r?.type||"text"===r?.type?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+n.raw,r.text+="\n"+n.text,this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if(n=this.tokenizer.fences(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.heading(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.hr(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.blockquote(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.list(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.html(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.def(e)){e=e.substring(n.raw.length);let r=t.at(-1);"paragraph"===r?.type||"text"===r?.type?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+n.raw,r.text+="\n"+n.raw,this.inlineQueue.at(-1).src=r.text):this.tokens.links[n.tag]||(this.tokens.links[n.tag]={href:n.href,title:n.title},t.push(n));continue}if(n=this.tokenizer.table(e)){e=e.substring(n.raw.length),t.push(n);continue}if(n=this.tokenizer.lheading(e)){e=e.substring(n.raw.length),t.push(n);continue}let o=e;if(this.options.extensions?.startBlock){let t,r=1/0,n=e.slice(1);this.options.extensions.startBlock.forEach(e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(o=e.substring(0,r+1))}if(this.state.top&&(n=this.tokenizer.paragraph(o))){let a=t.at(-1);r&&"paragraph"===a?.type?(a.raw+=(a.raw.endsWith("\n")?"":"\n")+n.raw,a.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=a.text):t.push(n),r=o.length!==e.length,e=e.substring(n.raw.length);continue}if(n=this.tokenizer.text(e)){e=e.substring(n.raw.length);let r=t.at(-1);"text"===r?.type?(r.raw+=(r.raw.endsWith("\n")?"":"\n")+n.raw,r.text+="\n"+n.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=r.text):t.push(n);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,t}inline(e,t=[]){return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e,t=[]){let r,n=e,o=null;if(this.tokens.links){let e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(o=this.tokenizer.rules.inline.reflinkSearch.exec(n));)e.includes(o[0].slice(o[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,o.index)+"["+"a".repeat(o[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(o=this.tokenizer.rules.inline.anyPunctuation.exec(n));)n=n.slice(0,o.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;null!=(o=this.tokenizer.rules.inline.blockSkip.exec(n));)r=o[2]?o[2].length:0,n=n.slice(0,o.index+r)+"["+"a".repeat(o[0].length-r-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);n=this.options.hooks?.emStrongMask?.call({lexer:this},n)??n;let a=!1,i="";for(;e;){let r;if(a||(i=""),a=!1,this.options.extensions?.inline?.some(n=>!!(r=n.call({lexer:this},e,t))&&(e=e.substring(r.raw.length),t.push(r),!0)))continue;if(r=this.tokenizer.escape(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.tag(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.link(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.reflink(e,this.tokens.links)){e=e.substring(r.raw.length);let n=t.at(-1);"text"===r.type&&"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(r=this.tokenizer.emStrong(e,n,i)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.codespan(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.br(e)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.del(e,n,i)){e=e.substring(r.raw.length),t.push(r);continue}if(r=this.tokenizer.autolink(e)){e=e.substring(r.raw.length),t.push(r);continue}if(!this.state.inLink&&(r=this.tokenizer.url(e))){e=e.substring(r.raw.length),t.push(r);continue}let o=e;if(this.options.extensions?.startInline){let t,r=1/0,n=e.slice(1);this.options.extensions.startInline.forEach(e=>{t=e.call({lexer:this},n),"number"==typeof t&&t>=0&&(r=Math.min(r,t))}),r<1/0&&r>=0&&(o=e.substring(0,r+1))}if(r=this.tokenizer.inlineText(o)){e=e.substring(r.raw.length),"_"!==r.raw.slice(-1)&&(i=r.raw.slice(-1)),a=!0;let n=t.at(-1);"text"===n?.type?(n.raw+=r.raw,n.text+=r.text):t.push(r);continue}if(e){let t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return t}},oS=class{options;parser;constructor(e){this.options=e||GB}space(e){return""}code({text:e,lang:t,escaped:r}){let n=(t||"").match(ZB.notSpaceStart)?.[0],o=e.replace(ZB.endingNewline,"")+"\n";return n?'<pre><code class="language-'+XE(n)+'">'+(r?o:XE(o,!0))+"</code></pre>\n":"<pre><code>"+(r?o:XE(o,!0))+"</code></pre>\n"}blockquote({tokens:e}){return`<blockquote>\n${this.parser.parse(e)}</blockquote>\n`}html({text:e}){return e}def(e){return""}heading({tokens:e,depth:t}){return`<h${t}>${this.parser.parseInline(e)}</h${t}>\n`}hr(e){return"<hr>\n"}list(e){let t=e.ordered,r=e.start,n="";for(let t=0;t<e.items.length;t++){let r=e.items[t];n+=this.listitem(r)}let o=t?"ol":"ul";return"<"+o+(t&&1!==r?' start="'+r+'"':"")+">\n"+n+"</"+o+">\n"}listitem(e){return`<li>${this.parser.parse(e.tokens)}</li>\n`}checkbox({checked:e}){return"<input "+(e?'checked="" ':"")+'disabled="" type="checkbox"> '}paragraph({tokens:e}){return`<p>${this.parser.parseInline(e)}</p>\n`}table(e){let t="",r="";for(let t=0;t<e.header.length;t++)r+=this.tablecell(e.header[t]);t+=this.tablerow({text:r});let n="";for(let t=0;t<e.rows.length;t++){let o=e.rows[t];r="";for(let e=0;e<o.length;e++)r+=this.tablecell(o[e]);n+=this.tablerow({text:r})}return n&&(n=`<tbody>${n}</tbody>`),"<table>\n<thead>\n"+t+"</thead>\n"+n+"</table>\n"}tablerow({text:e}){return`<tr>\n${e}</tr>\n`}tablecell(e){let t=this.parser.parseInline(e.tokens),r=e.header?"th":"td";return(e.align?`<${r} align="${e.align}">`:`<${r}>`)+t+`</${r}>\n`}strong({tokens:e}){return`<strong>${this.parser.parseInline(e)}</strong>`}em({tokens:e}){return`<em>${this.parser.parseInline(e)}</em>`}codespan({text:e}){return`<code>${XE(e,!0)}</code>`}br(e){return"<br>"}del({tokens:e}){return`<del>${this.parser.parseInline(e)}</del>`}link({href:e,title:t,tokens:r}){let n=this.parser.parseInline(r),o=QE(e);if(null===o)return n;let a='<a href="'+(e=o)+'"';return t&&(a+=' title="'+XE(t)+'"'),a+=">"+n+"</a>",a}image({href:e,title:t,text:r,tokens:n}){n&&(r=this.parser.parseInline(n,this.parser.textRenderer));let o=QE(e);if(null===o)return XE(r);let a=`<img src="${e=o}" alt="${XE(r)}"`;return t&&(a+=` title="${XE(t)}"`),a+=">",a}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):"escaped"in e&&e.escaped?e.text:XE(e.text)}},aS=class{strong({text:e}){return e}em({text:e}){return e}codespan({text:e}){return e}del({text:e}){return e}html({text:e}){return e}text({text:e}){return e}link({text:e}){return""+e}image({text:e}){return""+e}br(){return""}checkbox({raw:e}){return e}},iS=class e{options;renderer;textRenderer;constructor(e){this.options=e||GB,this.options.renderer=this.options.renderer||new oS,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new aS}static parse(t,r){return new e(r).parse(t)}static parseInline(t,r){return new e(r).parseInline(t)}parse(e){let t="";for(let r=0;r<e.length;r++){let n=e[r];if(this.options.extensions?.renderers?.[n.type]){let e=n,r=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==r||!["space","hr","heading","code","table","blockquote","list","html","def","paragraph","text"].includes(e.type)){t+=r||"";continue}}let o=n;switch(o.type){case"space":t+=this.renderer.space(o);break;case"hr":t+=this.renderer.hr(o);break;case"heading":t+=this.renderer.heading(o);break;case"code":t+=this.renderer.code(o);break;case"table":t+=this.renderer.table(o);break;case"blockquote":t+=this.renderer.blockquote(o);break;case"list":t+=this.renderer.list(o);break;case"checkbox":t+=this.renderer.checkbox(o);break;case"html":t+=this.renderer.html(o);break;case"def":t+=this.renderer.def(o);break;case"paragraph":t+=this.renderer.paragraph(o);break;case"text":t+=this.renderer.text(o);break;default:{let e='Token with "'+o.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return t}parseInline(e,t=this.renderer){let r="";for(let n=0;n<e.length;n++){let o=e[n];if(this.options.extensions?.renderers?.[o.type]){let e=this.options.extensions.renderers[o.type].call({parser:this},o);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(o.type)){r+=e||"";continue}}let a=o;switch(a.type){case"escape":case"text":r+=t.text(a);break;case"html":r+=t.html(a);break;case"link":r+=t.link(a);break;case"image":r+=t.image(a);break;case"checkbox":r+=t.checkbox(a);break;case"strong":r+=t.strong(a);break;case"em":r+=t.em(a);break;case"codespan":r+=t.codespan(a);break;case"br":r+=t.br(a);break;case"del":r+=t.del(a);break;default:{let e='Token with "'+a.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return r}},sS=class{options;block;constructor(e){this.options=e||GB}static passThroughHooks=new Set(["preprocess","postprocess","processAllTokens","emStrongMask"]);static passThroughHooksRespectAsync=new Set(["preprocess","postprocess","processAllTokens"]);preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}emStrongMask(e){return e}provideLexer(){return this.block?nS.lex:nS.lexInline}provideParser(){return this.block?iS.parse:iS.parseInline}},lS=new class{defaults={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};options=this.setOptions;parse=this.parseMarkdown(!0);parseInline=this.parseMarkdown(!1);Parser=iS;Renderer=oS;TextRenderer=aS;Lexer=nS;Tokenizer=rS;Hooks=sS;constructor(...e){this.use(...e)}walkTokens(e,t){let r=[];for(let n of e)switch(r=r.concat(t.call(this,n)),n.type){case"table":{let e=n;for(let n of e.header)r=r.concat(this.walkTokens(n.tokens,t));for(let n of e.rows)for(let e of n)r=r.concat(this.walkTokens(e.tokens,t));break}case"list":{let e=n;r=r.concat(this.walkTokens(e.items,t));break}default:{let e=n;this.defaults.extensions?.childTokens?.[e.type]?this.defaults.extensions.childTokens[e.type].forEach(n=>{let o=e[n].flat(1/0);r=r.concat(this.walkTokens(o,t))}):e.tokens&&(r=r.concat(this.walkTokens(e.tokens,t)))}}return r}use(...e){let t=this.defaults.extensions||{renderers:{},childTokens:{}};return e.forEach(e=>{let r={...e};if(r.async=this.defaults.async||r.async||!1,e.extensions&&(e.extensions.forEach(e=>{if(!e.name)throw new Error("extension name required");if("renderer"in e){let r=t.renderers[e.name];t.renderers[e.name]=r?function(...t){let n=e.renderer.apply(this,t);return!1===n&&(n=r.apply(this,t)),n}:e.renderer}if("tokenizer"in e){if(!e.level||"block"!==e.level&&"inline"!==e.level)throw new Error("extension level must be 'block' or 'inline'");let r=t[e.level];r?r.unshift(e.tokenizer):t[e.level]=[e.tokenizer],e.start&&("block"===e.level?t.startBlock?t.startBlock.push(e.start):t.startBlock=[e.start]:"inline"===e.level&&(t.startInline?t.startInline.push(e.start):t.startInline=[e.start]))}"childTokens"in e&&e.childTokens&&(t.childTokens[e.name]=e.childTokens)}),r.extensions=t),e.renderer){let t=this.defaults.renderer||new oS(this.defaults);for(let r in e.renderer){if(!(r in t))throw new Error(`renderer '${r}' does not exist`);if(["options","parser"].includes(r))continue;let n=r,o=e.renderer[n],a=t[n];t[n]=(...e)=>{let r=o.apply(t,e);return!1===r&&(r=a.apply(t,e)),r||""}}r.renderer=t}if(e.tokenizer){let t=this.defaults.tokenizer||new rS(this.defaults);for(let r in e.tokenizer){if(!(r in t))throw new Error(`tokenizer '${r}' does not exist`);if(["options","rules","lexer"].includes(r))continue;let n=r,o=e.tokenizer[n],a=t[n];t[n]=(...e)=>{let r=o.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.tokenizer=t}if(e.hooks){let t=this.defaults.hooks||new sS;for(let r in e.hooks){if(!(r in t))throw new Error(`hook '${r}' does not exist`);if(["options","block"].includes(r))continue;let n=r,o=e.hooks[n],a=t[n];sS.passThroughHooks.has(r)?t[n]=e=>{if(this.defaults.async&&sS.passThroughHooksRespectAsync.has(r))return(async()=>{let r=await o.call(t,e);return a.call(t,r)})();let n=o.call(t,e);return a.call(t,n)}:t[n]=(...e)=>{if(this.defaults.async)return(async()=>{let r=await o.apply(t,e);return!1===r&&(r=await a.apply(t,e)),r})();let r=o.apply(t,e);return!1===r&&(r=a.apply(t,e)),r}}r.hooks=t}if(e.walkTokens){let t=this.defaults.walkTokens,n=e.walkTokens;r.walkTokens=function(e){let r=[];return r.push(n.call(this,e)),t&&(r=r.concat(t.call(this,e))),r}}this.defaults={...this.defaults,...r}}),this}setOptions(e){return this.defaults={...this.defaults,...e},this}lexer(e,t){return nS.lex(e,t??this.defaults)}parser(e,t){return iS.parse(e,t??this.defaults)}parseMarkdown(e){return(t,r)=>{let n={...r},o={...this.defaults,...n},a=this.onError(!!o.silent,!!o.async);if(!0===this.defaults.async&&!1===n.async)return a(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof t>"u"||null===t)return a(new Error("marked(): input parameter is undefined or null"));if("string"!=typeof t)return a(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));if(o.hooks&&(o.hooks.options=o,o.hooks.block=e),o.async)return(async()=>{let r=o.hooks?await o.hooks.preprocess(t):t,n=await(o.hooks?await o.hooks.provideLexer():e?nS.lex:nS.lexInline)(r,o),a=o.hooks?await o.hooks.processAllTokens(n):n;o.walkTokens&&await Promise.all(this.walkTokens(a,o.walkTokens));let i=await(o.hooks?await o.hooks.provideParser():e?iS.parse:iS.parseInline)(a,o);return o.hooks?await o.hooks.postprocess(i):i})().catch(a);try{o.hooks&&(t=o.hooks.preprocess(t));let r=(o.hooks?o.hooks.provideLexer():e?nS.lex:nS.lexInline)(t,o);o.hooks&&(r=o.hooks.processAllTokens(r)),o.walkTokens&&this.walkTokens(r,o.walkTokens);let n=(o.hooks?o.hooks.provideParser():e?iS.parse:iS.parseInline)(r,o);return o.hooks&&(n=o.hooks.postprocess(n)),n}catch(e){return a(e)}}}onError(e,t){return r=>{if(r.message+="\nPlease report this to https://github.com/markedjs/marked.",e){let e="<p>An error occurred:</p><pre>"+XE(r.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(r);throw r}}};function cS(e,t){return lS.parse(e,t)}function uS(e){var t,r;if(e.nodeType===Node.TEXT_NODE)return null!==(r=null===(t=e.textContent)||void 0===t?void 0:t.length)&&void 0!==r?r:0;let n=0;return e.childNodes.forEach(e=>{n+=uS(e)}),n}async function dS(e,t,r,n){var o;for(const a of Array.from(e.childNodes)){if(n.aborted)return;if(a.nodeType===Node.TEXT_NODE){const e=null!==(o=a.textContent)&&void 0!==o?o:"",i=document.createTextNode("");t.appendChild(i);for(const t of e){if(n.aborted)return;i.textContent+=t,r>0&&await new Promise(e=>{const t=setTimeout(e,r);n.addEventListener("abort",()=>{clearTimeout(t),e()},{once:!0})})}}else if(a.nodeType===Node.ELEMENT_NODE){const e=a,o=document.createElement(e.tagName);for(const t of Array.from(e.attributes))o.setAttribute(t.name,t.value);t.appendChild(o),await dS(a,o,r,n)}}}cS.options=cS.setOptions=function(e){return lS.setOptions(e),cS.defaults=lS.defaults,KB(cS.defaults),cS},cS.getDefaults=function(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}},cS.defaults=GB,cS.use=function(...e){return lS.use(...e),cS.defaults=lS.defaults,KB(cS.defaults),cS},cS.walkTokens=function(e,t){return lS.walkTokens(e,t)},cS.parseInline=lS.parseInline,cS.Parser=iS,cS.parser=iS.parse,cS.Renderer=oS,cS.TextRenderer=aS,cS.Lexer=nS,cS.lexer=nS.lex,cS.Tokenizer=rS,cS.Hooks=sS,cS.parse=cS,cS.options,cS.setOptions,cS.use,cS.walkTokens,cS.parseInline,iS.parse,nS.lex,cS.use({async:!0,gfm:!0,breaks:!0});const pS=({message:e,event:r,showAnimation:n,onClick:a})=>{var i;const s=e?e.text:(null===(i=r.body)||void 0===i?void 0:i.text)||r.text||"",{html:l}=(e=>{const[t,r]=(0,o.useState)(""),[n,a]=(0,o.useState)(null),i=X(ti);return(0,o.useEffect)(()=>{(async()=>{try{if(/<a\s+(?:[^>]*?\s+)?href=(["'])(.*?)\1/.test(e))return void r(e);const t=HB().decode(e),n=await cS.parse(t);r(n)}catch(e){a(e)}})()},[e,i]),{html:t,error:n}})(s),c=(0,o.useRef)(null),u=(0,o.useRef)(null);(0,o.useEffect)(()=>{if(!n||!l||!u.current)return;const e=u.current;e.innerHTML="";const t=(new DOMParser).parseFromString(l,"text/html"),r=uS(t.body),o=r>0?Math.max(1,Math.floor(500/r)):0,a=new AbortController;return dS(t.body,e,o,a.signal),()=>{a.abort()}},[l,n]);const d=(0,o.useCallback)(e=>{if(!a)return;const t=e.target;"A"===t.tagName&&a({type:"url",label:t.textContent||t.getAttribute("href")||"",value:t.getAttribute("href")||""})},[a]);return(0,t.jsx)("span",{className:"markdown w-full leading-6 text-foreground [&_a>*]:pointer-events-none [&_p]:max-w-md",style:{fontSize:"var(--font-size-brain-message)"},dir:Je(s),ref:c,onClick:d,onKeyDown:e=>"Enter"===e.key&&d(e),role:"presentation",children:(0,t.jsx)("div",{className:"animate-fade-in",ref:u,children:!n&&(0,t.jsx)(VB,{children:l})})})},fS=({name:e,url:r})=>{const{t:n}=Pe(),o=X(ma),a=lo(r);return(0,t.jsx)(t.Fragment,{children:a?(0,t.jsx)("iframe",{title:e,width:"100%",height:"265",allowFullScreen:!0,src:a}):(0,t.jsxs)("video",{className:kd("w-xs duration-250 rounded-xl transition-all ease-out",{"w-full":o}),controls:!0,title:e,children:[(0,t.jsx)("source",{src:r,type:"video/mp4"}),(0,t.jsx)("p",{children:n("message.video_unsupported")})]})})},gS=({attachment:e})=>{switch(e.type){case"video":return(0,t.jsx)(fS,{url:e.url,name:e.title});case"image":return(0,t.jsx)(qB,{url:e.url,name:e.title});case"file":return(0,t.jsx)(PB,{url:e.url,name:e.title});case"audio":return(0,t.jsx)(FB,{url:e.url});default:return null}},hS=({event:e})=>{var r,n;const a=(0,o.useMemo)(()=>{var t;return(null===(t=e.body)||void 0===t?void 0:t.attachments)||[]},[null===(r=e.body)||void 0===r?void 0:r.attachments]),i=X(qa(e.event_id)),s=(e=>{const t=(0,o.useContext)(Ms),r=X(Ro),[n,a]=(0,o.useState)({});return(0,o.useEffect)(()=>{if(!t||!(null==e?void 0:e.length))return;const n=e=>{e.download_url&&a(t=>Object.assign(Object.assign({},t),{[e.file_id]:e.download_url}))};return t.on(Ps.session_files_download_request_success,n),Promise.all(e.map(async e=>{if(e.id)return e.url&&await(async e=>{const t=new AbortController;try{return!!(await fetch(e,{method:"GET",signal:t.signal})).ok&&(t.abort(),!0)}catch(e){return e instanceof Error&&"AbortError"===e.name}})(e.url)?void a(t=>Object.assign(Object.assign({},t),{[e.id]:e.url})):new Promise(n=>{t.emit(Ps.session_files_download_request,{file_id:e.id,file_name:e.filename,session_id:r,original_name:e.title}),n()})})).catch(()=>{}),()=>{t.off(Ps.session_files_download_request_success,n)}},[t,r,e]),n})(a),l=(0,o.useMemo)(()=>a.map(e=>{if(!e.id)return null;const t=s[e.id];return t&&e.title&&(r=e.type,["image","video","audio","file"].includes(r))?{id:e.id,type:e.type,url:t,title:e.title}:null;var r}).filter(e=>null!==e),[a,s]);return(0,t.jsxs)("div",{className:"mt-3","data-event-type":"agent_message",children:[!i&&(0,t.jsxs)("div",{className:kd("bg-surface-button-secondary mb-1 mt-6 flex max-w-md gap-1 rounded-full px-2 py-1 text-center text-sm font-semibold leading-4 text-foreground"),children:[(0,t.jsx)("img",{src:e.author_avatar,alt:e.author_name,className:"h-4 w-4 rounded-full"}),(0,t.jsx)("p",{className:"max-w-full truncate",children:e.author_name})]}),(null===(n=e.body)||void 0===n?void 0:n.text)&&(0,t.jsx)(pS,{event:e}),l.map(e=>(0,t.jsx)("div",{className:"mt-2",children:(0,t.jsx)(gS,{attachment:e},e.id)},e.id))]})};const mS=e=>{var{size:r=16,color:n="#000000"}=e,o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(e,["size","color"]);return(0,t.jsx)("svg",Object.assign({xmlns:"http://www.w3.org/2000/svg",fill:n,viewBox:"0 0 24 24",width:r,height:r},o,{children:(0,t.jsx)("path",{d:"M 19.980469 2.9902344 A 1.0001 1.0001 0 0 0 19.869141 3 L 15 3 A 1.0001 1.0001 0 1 0 15 5 L 17.585938 5 L 8.2929688 14.292969 A 1.0001 1.0001 0 1 0 9.7070312 15.707031 L 19 6.4140625 L 19 9 A 1.0001 1.0001 0 1 0 21 9 L 21 4.1269531 A 1.0001 1.0001 0 0 0 19.980469 2.9902344 z M 5 3 C 3.9069372 3 3 3.9069372 3 5 L 3 19 C 3 20.093063 3.9069372 21 5 21 L 19 21 C 20.093063 21 21 20.093063 21 19 L 21 13 A 1.0001 1.0001 0 1 0 19 13 L 19 19 L 5 19 L 5 5 L 11 5 A 1.0001 1.0001 0 1 0 11 3 L 5 3 z"})}))},AS=({urls:e,maxReferences:r,onClick:n})=>{const{t:a}=Pe(),[i,s]=(0,o.useState)(!1),l=(0,o.useCallback)(()=>{n({type:"see_more_references"}),s(!0)},[n]);if(!e||0===e.length)return null;const c=Math.min(e.length,r),u=((e,t,r)=>{const n=Math.min(e,t);return r?n:Math.min(n,3)})(e.length,r,i);return(0,t.jsxs)("div",{className:"mt-3 flex max-w-full flex-col border-t border-border pt-3",children:[(0,t.jsx)("p",{className:"mb-3 text-sm leading-5 text-foreground",children:a("references.title")}),(0,t.jsxs)("ul",{className:"m-0 list-none p-0",children:[e.slice(0,u).map(({name:e,external_url:r})=>(0,t.jsx)("li",{className:"mb-3 max-w-fit hover:underline",children:(0,t.jsxs)("a",{className:"flex items-center gap-1 no-underline",href:r,target:"_blank",rel:"noreferrer",onClick:()=>n({type:"reference_url",label:e,value:r}),children:[(0,t.jsx)("span",{className:"pointer-events-none inline-block min-w-0 max-w-full overflow-hidden text-ellipsis whitespace-nowrap text-sm leading-5 text-accent",children:e}),(0,t.jsx)(mS,{color:"var(--color-accent)",className:"shrink-0"})]})},r)),c>3&&!i&&(0,t.jsx)(eA,{variant:"link-secondary",onClick:l,size:"sm",className:"w-fit min-w-fit p-0",children:a("buttons.show_more")})]})]})},vS=n()("moveo:card"),bS=({card:e,onPostback:r,className:n,disabled:a,onWebviewClick:i,onButtonClick:s,active:l=!1})=>{const{media:c,buttons:u,title:d,subtitle:p}=e,f=X(ma),g=(0,o.useMemo)(()=>{switch(c.type){case"image":return(0,t.jsx)("img",{src:c.url,alt:d,className:"h-full w-full object-cover"});case"video":return(0,t.jsx)("video",{src:c.url,controls:!0,className:"h-full w-full object-cover",children:(0,t.jsx)("track",{kind:"captions"})});default:return null}},[c.type,c.url,d]),h=(0,o.useCallback)(e=>{const n=ds()("duration-250 mt-2 inline-block overflow-hidden text-ellipsis whitespace-nowrap text-center transition-colors"),o=()=>{const t=`carousel_button_${e.type}`;let n;switch(e.type){case"url":case"webview":n=e.url;break;case"postback":case"phone":n=e.value;break;default:n=""}s({type:t,label:e.label,value:n}),"postback"===e.type&&r?r(e.value,e.label):"webview"===e.type&&i&&i(e)},l={dir:Je(e.label),className:n,size:"sm",disabled:a,children:e.label,variant:"secondary"};switch(e.type){case"postback":return(0,t.jsx)(eA,Object.assign({},l,{onClick:o}));case"url":return(0,t.jsx)(eA,Object.assign({},l,{onClick:t=>{t.preventDefault(),window.open(e.url,"_blank","noreferrer"),o()}}));case"phone":return(0,t.jsx)(eA,Object.assign({},l,{onClick:t=>{t.preventDefault(),window.location.href=`tel:${e.value}`,o()}}));case"webview":return"new_window"===e.height?(0,t.jsx)(eA,Object.assign({},l,{asChild:!0,onClick:o,children:(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:e.label})})):(0,t.jsx)(eA,Object.assign({},l,{onClick:o}));default:return vS(`Unsupported button type: ${e}`,e),null}},[a,s,r,i]);return(0,t.jsxs)("div",{className:ds()("flex h-full flex-col justify-between overflow-hidden rounded-xl border border-carousel-card-border bg-carousel-card text-carousel-card-foreground",{"opacity-30":!l},n),children:[(0,t.jsxs)("div",{className:"grow",children:[(0,t.jsx)("div",{className:ds()("h-40 w-full",{"h-45":f}),children:g}),(0,t.jsxs)("div",{className:"px-4 pt-2",children:[(0,t.jsx)("h4",{className:"mb-1.5 line-clamp-2 overflow-hidden text-lg font-medium leading-7 text-carousel-card-foreground",children:d}),(0,t.jsx)("p",{className:"text-carousel-card-foreground/70 m-0 text-sm leading-5",children:p})]})]}),(0,t.jsx)("div",{className:"mt-1.5 flex flex-col justify-end px-4 pb-4",children:u.map((e,r)=>(0,t.jsx)(o.Fragment,{children:h(e)},`${r}_${e.type}`))})]})},CS=({message:e,disabled:r,onButtonClick:n})=>{const[a,i]=(0,o.useState)(),[s,l]=(0,o.useState)(0),[c,u]=(0,o.useState)(0),{sendMessage:d}=zs(),{notifyWebviewOpened:p,notifyWebviewClosed:f}=ts(),[g,h]=(0,o.useState)(null),m=Q(ka),[A,v]=(0,o.useState)(!1),b=X(ma),{isPopup:C}=X(vi),w=b||C;(0,o.useEffect)(()=>{if(!a)return;const e=()=>{u(a.scrollSnapList().length),l(a.selectedScrollSnap()+1)};return a.on("reInit",e),a.on("select",e),queueMicrotask(e),()=>{a.off("reInit",e),a.off("select",e)}},[a]);const y=1===e.cards.length,x=2===e.cards.length,k=(0,o.useCallback)((e,t)=>{d({text:null==e?void 0:e.trim(),label:t})},[d]),B=(0,o.useCallback)(e=>{h(e),"new_window"!==e.height&&("compact"===e.height?m(e):(p(),v(!0)))},[p,m]);return(0,t.jsxs)("div",{children:[(0,t.jsxs)(Fk,{opts:{align:"center",containScroll:"trimSnaps",slidesToScroll:1,dragFree:!0,loop:!0,active:!y},setApi:i,className:kd("w-[calc(100%+48px)] -translate-x-6",{"-translate-x-12":x&&2===s}),children:[(0,t.jsx)(Mk,{className:kd("-ml-1",{"ml-0 justify-center":y}),children:e.cards.map((e,o)=>(0,t.jsx)(Pk,{className:kd("basis-[336px] pl-1",{"basis-[400px]":w,"pl-0":y,"ml-5":x&&0===o,"pl-3":w&&!y}),children:(0,t.jsx)(bS,{card:e,disabled:r,onButtonClick:n,active:s===o+1,onPostback:k,onWebviewClick:B})},o))}),!y&&(0,t.jsxs)("div",{className:kd("mx-8 mt-4 flex items-center justify-between text-center text-sm text-muted-foreground",{"translate-x-6":x&&2===s,"mx-auto max-w-sm":w}),children:[(0,t.jsx)("div",{className:"inline-flex gap-2",children:Array.from({length:c}).map((e,r)=>(0,t.jsx)("button",{className:kd("dark:border-stroke h-3 w-3 cursor-pointer rounded-full border-2 border-gray-200 bg-transparent",{"border-focus-ring dark:border-focus-ring":s===r+1}),onClick:()=>(e=>{null==a||a.scrollTo(e)})(r)},r))}),(0,t.jsxs)("div",{className:"flex gap-4",children:[(0,t.jsx)(Ik,{}),(0,t.jsx)(qk,{})]})]})]}),A&&g&&(0,t.jsx)(Ed,{open:!0,children:(0,t.jsx)(Dd,{onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),className:kd("h-full w-full p-0",{"h-[var(--moveo-modal-tall-height)] w-[var(--moveo-modal-tall-width)]":"tall"===(null==g?void 0:g.height)}),children:(0,t.jsx)(My,{webview:g,onClick:()=>{v(!1),f()}})})})]})},wS=Lm("thumbs-up",[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]]),yS=Lm("thumbs-down",[["path",{d:"M9 18.12 10 14H4.17a2 2 0 0 1-1.92-2.56l2.33-8A2 2 0 0 1 6.5 2H20a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-2.76a2 2 0 0 0-1.79 1.11L12 22a3.13 3.13 0 0 1-3-3.88Z",key:"m61m77"}],["path",{d:"M17 14V2",key:"8ymqnk"}]]),xS=({clicked:e,handleClick:r})=>{const{t:n}=Pe(),[a,i]=(0,o.useState)(null),s=(0,o.useRef)(),l=e=>{s.current&&clearTimeout(s.current),i(e)},c=()=>{s.current=setTimeout(()=>{i(null)},300)},u="hover:bg-highlight-background cursor-pointer rounded-md p-0.5 transition-all duration-200",d="bg-highlight-background";return(0,t.jsxs)("div",{className:"mt-2 flex animate-fade-in items-center gap-4 opacity-0 delay-500 [animation-fill-mode:forwards]",children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("button",{onClick:()=>r(1),onMouseEnter:()=>l(1),onMouseLeave:c,className:ds()(u,{[d]:1===e}),children:(0,t.jsx)(wS,{size:18,className:"text-accent"})}),(0,t.jsx)("button",{onClick:()=>r(-1),onMouseEnter:()=>l(-1),onMouseLeave:c,className:ds()(u,{[d]:-1===e}),children:(0,t.jsx)(yS,{size:18,className:"text-accent"})})]}),(0,t.jsx)("span",{className:ds()("text-xs text-accent transition-all duration-200",a||e?"opacity-100":"opacity-0"),children:n(1===a||1===e?"feedback.helpful_button":"feedback.not_helpful_button")})]})},kS=({options:e,handleOptionClick:r,disabled:n})=>{const o=X(_i),a=Boolean(null==o?void 0:o["--color-options-background"]),i=Boolean(null==o?void 0:o["--color-options-border"]),s=Boolean(null==o?void 0:o["--color-options-foreground"]);return n?null:(0,t.jsx)("span",{className:"clear-both ml-auto mt-3 flex animate-fade-in list-none flex-wrap justify-end p-0 opacity-0 delay-500 [animation-fill-mode:forwards]",children:null==e?void 0:e.map(({label:e,text:o})=>(0,t.jsx)(eA,{variant:"outline-neutral",size:"sm",onClick:()=>r(o,e),className:kd("m-2 mr-2 mt-0 inline-block h-fit cursor-pointer whitespace-normal text-left transition-all duration-200",{"hover:bg-options! bg-options hover:shadow-sm hover:brightness-[0.92]":a,"border-options-border":i,"text-options-foreground":s,"text-center":(null==e?void 0:e.length)&&e.length<8}),disabled:n,dir:Je(e),children:e},e))})},BS=({webview:e,onButtonClick:r})=>{const{label:n,height:a,name:i}=e,s="new_window"===a,[l,c]=(0,o.useState)(!1),u=Q(ka),{notifyWebviewClosed:d,notifyWebviewOpened:p}=ts(),f=()=>{r({type:"webview_button",label:n,value:i}),s||("compact"===a?u(e):(p(),c(!0)))};return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:ds()("flex max-w-sm flex-col justify-between overflow-hidden rounded-xl border border-gray-200 bg-background dark:border-input"),children:[(0,t.jsxs)("div",{className:"flex-grow",children:[(0,t.jsx)("div",{className:"h-40 w-full",children:(0,t.jsx)("img",{src:"../../../../public/webview-image.png",alt:i,className:"h-full w-full object-cover"})}),(0,t.jsx)("div",{className:"px-4 pt-2",children:(0,t.jsx)("h4",{className:"mb-1 line-clamp-2 overflow-hidden text-lg font-medium leading-7 text-foreground",children:i})})]}),(0,t.jsx)("div",{className:"mt-2 flex flex-col justify-end px-4 pb-4",children:s?(0,t.jsx)(eA,{asChild:!0,onClick:f,children:(0,t.jsx)("a",{href:e.url,target:"_blank",rel:"noopener noreferrer",children:n})}):(0,t.jsx)(eA,{onClick:f,children:n})})]}),l&&(0,t.jsx)(Ed,{open:!0,children:(0,t.jsx)(Dd,{onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),className:ds()("h-full w-full p-0",{"h-[var(--moveo-modal-tall-height)] w-[var(--moveo-modal-tall-width)]":"tall"===a}),children:(0,t.jsx)(My,{webview:e,onClick:()=>{c(!1),d()}})})})]})},ES=({survey:e,onButtonClick:r})=>{const n=Q(xa),a=Q(Na),i=xo(e),s=X(Ko),l=(0,o.useRef)(!1);(0,o.useEffect)(()=>{i?a(!0):s||l.current||n("survey"),l.current=!0},[e,n,a,i,s]);return i?(0,t.jsx)(BS,{webview:e,onButtonClick:e=>{r(Object.assign(Object.assign({},e),{type:"survey_button"}))}}):null},SS=({url:e,title:r,onClick:n})=>{const o=lo(e);return(0,t.jsx)(t.Fragment,{children:o?(0,t.jsx)("iframe",{id:r,title:r,width:"100%",height:"265",frameBorder:"0",allowFullScreen:!0,src:o,className:"h-full w-full border-none"}):(0,t.jsx)("a",{className:"duration-250 align-middle text-accent no-underline transition-colors ease-out",href:e,target:"_blank",onClick:()=>n({type:"url",label:r||e,value:e}),rel:"noreferrer",children:r||e})})},_S=n()("moveo:response-event"),OS=new Set,DS=new Set,NS=({event:e})=>{var r,n;const{sendMessageFeedback:a,sendMessage:i}=zs(),s=X(Pa(e.event_id)),{trackMessageClick:l}=(()=>{const e=X(Zo),{trackEvent:t}=Em();return{trackMessageClick:(r,n)=>{let o=0;e.forEach(e=>{"user_message"===e.event_type&&o++,e.event_id,r.event_id}),t(Bm.MessageClick,Object.assign(Object.assign({},n),{level:o}))}}})(),[c,u]=(0,o.useState)(!1),d=X(ua(e.event_id)),p=e.response,[f,g]=(0,o.useState)(null),h=X($i),m=X(Ia(e.event_id)),A=X(ca(e.request_id)),v=Q(ka),b=X(Ba(e.event_id)),C=X(Ea(e.event_id));(0,o.useEffect)(()=>{if("live"!==e.source||DS.has(e.event_id)||!b)return;DS.add(e.event_id);const t=window.setTimeout(()=>{v(b)},1e3);return()=>window.clearTimeout(t)},[e.event_id,e.source,b,v]);const w=(0,o.useCallback)(async t=>{l(e,{type:"reaction",value:t});const r=null==e?void 0:e.request_id;g(t),a(r,t),await oo(1e3),u(!0)},[e,a,l]),y=t=>{l(e,t)},x=(0,o.useMemo)(()=>{const t="live"===e.source&&A&&!OS.has(e.event_id);return t&&OS.add(e.event_id),t},[]),k=(0,o.useCallback)((t,r)=>{l(e,{type:"option",value:t,label:r}),i({text:t,label:r})},[e,i,l]),B="options"in p,E=null===(n=null===(r=null==e?void 0:e.collection)||void 0===r?void 0:r.external_urls)||void 0===n?void 0:n.filter(e=>!!e.name&&!!e.external_url);return C?null:(0,t.jsxs)("li",{"data-event-type":"brain_message",className:ds()("relative mt-4",{"inline-flex w-full flex-wrap":s}),children:[(()=>{switch(p.type){case"text":return(0,t.jsx)(pS,{message:p,showAnimation:x,onClick:y});case"url":return(0,t.jsx)(SS,{url:p.url,onClick:y});case"video":return(0,t.jsx)(fS,{url:p.url,name:p.name});case"image":return(0,t.jsx)(qB,{url:p.url,name:p.name});case"file":return(0,t.jsx)(PB,{url:p.url,name:p.name});case"audio":return(0,t.jsx)(FB,{url:p.url});case"carousel":return(0,t.jsx)(CS,{message:p,disabled:d,onButtonClick:y});case"pause":return null;case"webview":return(0,t.jsx)(BS,{webview:p,onButtonClick:y});case"survey":return(0,t.jsx)(ES,{onButtonClick:y,survey:p});default:_S("message-not-supported",p)}return null})(),p&&B&&(0,t.jsx)(kS,{options:p.options,disabled:d,handleOptionClick:k}),h&&m&&(0,t.jsx)(AS,{urls:E,maxReferences:h,onClick:y}),s&&!c&&(0,t.jsx)(xS,{clicked:f,handleClick:w})]})},RS=({size:e=15,color:r="#8C8C8C"})=>(0,t.jsxs)("svg",{width:e,height:e,viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",stroke:r,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,t.jsx)("path",{d:"M13.803 7.97a5.835 5.835 0 0 1-5.833 5.833A5.835 5.835 0 0 1 2.137 7.97 5.835 5.835 0 0 1 7.97 2.137a5.835 5.835 0 0 1 5.833 5.833Z"}),(0,t.jsx)("path",{d:"m10.134 9.825-1.808-1.08c-.315-.186-.572-.635-.572-1.003V5.351"})]}),TS=(e,t)=>`${Math.floor(e/60)} ${t("overview.mins")}`,jS=({waitingTime:e,queuePosition:r})=>{const{t:n}=Pe(),o=X(fi);return null===e?null:o&&o<e?(0,t.jsxs)("p",{children:[n("overview.high_traffic")," ",(0,t.jsx)("span",{children:TS(o,n)})]}):0===e||e<120?(0,t.jsx)("p",{children:n("overview.agent_soon")}):(0,t.jsxs)("div",{className:"flex items-center justify-center gap-1",children:[(0,t.jsx)(RS,{}),(0,t.jsxs)("p",{children:[n("overview.estimated_time")," ",(0,t.jsx)("span",{title:n("overview.queue_position",{0:r}),children:TS(e,n)})]})]})};var LS=i(42),FS={};FS.styleTagTransform=xs(),FS.setAttributes=bs(),FS.insert=As().bind(null,"head"),FS.domAPI=hs(),FS.insertStyleElement=ws(),fs()(LS.A,FS);var MS=LS.A&&LS.A.locals?LS.A.locals:void 0;const PS=(0,o.memo)(({type:e,url:r,title:n,isDownloading:a,handleImageLoad:i})=>{const[s,l]=(0,o.useState)(!1),c=(0,o.useRef)(null),{notifyWebviewOpened:u,notifyWebviewClosed:d}=ts(),p=(0,o.useCallback)(()=>{u(),l(!0)},[u]),f=(0,o.useCallback)(()=>{d(),l(!1)},[d]);switch(e){case"image":return(0,t.jsxs)(t.Fragment,{children:[a&&(0,t.jsx)("div",{className:MS.placeholder,children:(0,t.jsx)(Zm,{variant:"light"})}),(0,t.jsx)(Ed,{open:s,children:(0,t.jsx)(Dd,{onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),className:ds()("h-full w-full bg-black p-0"),children:(0,t.jsx)(IB,{onClose:f,url:r})})}),(0,t.jsx)("button",{onClick:p,className:"block cursor-pointer border-0 bg-transparent p-0 shadow-[var(--moveo-shadow-bubble)]",children:(0,t.jsx)("img",{src:r,alt:n||"",className:ds()("block max-h-[400px] w-full max-w-full rounded-[var(--moveo-border-radius-base)]",{hidden:a}),onLoad:i,onError:i,ref:c})})]});case"video":return(0,t.jsx)("video",{src:r,controls:!0});case"audio":return(0,t.jsx)("audio",{src:r,controls:!0});case"file":return(0,t.jsxs)("a",{href:r,download:n,target:"_blank",rel:"noreferrer",className:"flex items-center gap-1 text-sm [&_svg]:flex-shrink-0",children:[(0,t.jsx)(MB,{color:"var(--moveo-accent-color)",size:16})," ",n]});default:return(0,t.jsxs)("a",{href:r,download:n,target:"_blank",className:MS.link,rel:"noreferrer",children:[(0,t.jsx)(MB,{color:"var(--moveo-accent-color)",size:16})," ",n]})}});PS.displayName="RenderType";const IS=({id:e,filename:r,title:n,url:a,type:i})=>{const{handleFileDownload:s}=(()=>{const e=(0,o.useContext)(Ms),t=X(Ro),r=(0,o.useRef)(new Set),n=(0,o.useRef)(new Map);(0,o.useEffect)(()=>{if(!e)return;const t=r.current,o=n.current,a=e=>{t.delete(e.file_id);const r=o.get(e.file_id);r&&(r.cancel(),o.delete(e.file_id))};return e.on(Ps.session_files_download_request_success,a),e.on(Ps.session_files_download_request_error,a),()=>{e.off(Ps.session_files_download_request_success,a),e.off(Ps.session_files_download_request_error,a),o.forEach(e=>e.cancel()),o.clear(),t.clear()}},[e]);const a=(0,o.useCallback)((o,a,i)=>{if(!(null==e?void 0:e.connected)||r.current.has(o))return;const s=n.current;let l=s.get(o);l||(l=Rs(t=>{(null==e?void 0:e.connected)&&(r.current.add(t.file_id),e.emit(Ps.session_files_download_request,t))},100),s.set(o,l)),l({file_id:o,file_name:a,session_id:t,original_name:i})},[t,e]);return{handleFileDownload:a}})(),[l,c]=(0,o.useState)(()=>!a&&"image"===i);(0,o.useEffect)(()=>{a||s(e,r,n)},[r,s,e,a,n]);const u=(0,o.useCallback)(()=>{c(!1)},[]);return(0,t.jsx)(PS,{type:i,url:a,title:n,isDownloading:l,handleImageLoad:u})},qS=n()("moveo:chat-event"),zS=(0,o.memo)(({event:e})=>{const{t:r}=Pe(),n=X(ma),{waitingTime:a,queuePosition:i}=X(ga),s=X(Ho),{startSessionOverview:l}=(()=>{const e=Q(Sa),t=(0,o.useContext)(Ms),r=X(Ro),n=X(aa),a=X(Qa),i=Ls(a),s=X(To),l=X(jo),c=(0,o.useRef)(null),u=(0,o.useRef)(new Set);(0,o.useEffect)(()=>{const r=t=>{e(t)};return null==t||t.on(Ps.session_overview,r),()=>{null==t||t.off(Ps.session_overview,r)}},[e,t]);const d=(0,o.useCallback)(()=>{if(!t||!r||!n)return;c.current&&(clearInterval(c.current),c.current=null),u.current.forEach(e=>{clearTimeout(e)}),u.current.clear();const e=()=>{const e=parseInt(Lr(i)||"0",10);if(e&&e+3e5>ao()&&l){if(!(null==t?void 0:t.connected))return;const e=Ps.session_overview,n={session_id:r,timestamp:ao()},o=setTimeout(()=>{t.emit(e,n),u.current.delete(o)},100);u.current.add(o)}};s||e(),c.current=setInterval(()=>{s?c.current&&(clearInterval(c.current),c.current=null):e()},3e4)},[n,l,s,i,r,t]);return(0,o.useEffect)(()=>()=>{c.current&&clearInterval(c.current),u.current.forEach(e=>{clearTimeout(e)}),u.current.clear()},[]),{startSessionOverview:d}})(),{notifyMemberLeave:c}=ts();return(0,o.useEffect)(()=>{"member_leave"===e.event_type&&(c(),1===s.filter(e=>"member_leave"===e.event_type).length&&l())},[e.event_id,e.event_type,s,c,l]),"user_message"===e.event_type?(0,t.jsxs)("li",{"data-event-type":"user_message",className:kd("ml-auto mt-6 flex max-w-xs flex-col",{"max-w-md":n}),children:[e.text&&(0,t.jsx)(MA,{text:e.text}),e.attachments&&e.attachments.length>0&&e.attachments.map(e=>(0,t.jsx)("div",{className:kd(FA,"mt-2",{"bg-accent":"image"!==e.type}),children:(0,t.jsx)(IS,{id:e.id,filename:e.filename,title:e.title,url:e.url,type:e.type})},e.id)),(0,t.jsx)(LB,{chatEvent:e})]}):"agent_message"===e.event_type?(0,t.jsx)(hS,{event:e}):"member_join"===e.event_type?(0,t.jsx)(LA,{children:(0,t.jsx)("div",{"data-event-type":"member_join",children:r("events.member_join",{0:r(e.author_name)})})}):"member_leave"===e.event_type?null!==a&&za(e.event_id)?(0,t.jsx)(LA,{children:(0,t.jsx)(jS,{waitingTime:a,queuePosition:i})}):(0,t.jsx)(LA,{children:(0,t.jsx)("div",{"data-event-type":"member_leave",children:r("events.member_leave",{0:r(e.author_name)})})}):"brain_message"===e.event_type?(0,t.jsx)(NS,{event:e}):(qS("Ignoring event: %O",e),null)});zS.displayName="ChatEvent";const US=({keepAlive:e})=>{const{minutes:r,seconds:n}=Uy(e),{t:o}=Pe(),a=yo(r,n);return(0,t.jsxs)(LA,{className:"ml-0 flex h-[44px] max-w-sm items-center gap-2",children:[(0,t.jsx)(zy,{size:16,color:"var(--color-successful)"}),(0,t.jsxs)("div",{className:"text-bold flex flex-col gap-0 text-left",children:[(0,t.jsx)("p",{className:"text-sm font-medium",children:o("events.resolved.title")}),(0,t.jsx)("div",{children:(0,t.jsx)("span",{className:"text-foreground-muted text-xs font-normal",children:(0,t.jsx)(Fe,{i18nKey:"events.resolved.subtitle",values:{time:a},components:[(0,t.jsx)("span",{className:"text-foreground-muted text-xs font-semibold"},"time")]})})})]})]})},$S=Lm("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),VS=e=>[e("loading.processing_request"),e("loading.fetching_data"),e("loading.creating_answer")],WS=()=>{const[e,r]=(0,o.useState)(0),[n,a]=(0,o.useState)(!0),{t:i}=Pe(),s=(0,o.useRef)(null);return(0,o.useEffect)(()=>(s.current=setInterval(()=>{r(e=>{const t=e+1,n=VS(i).length-1;return t>n?(s.current&&(clearInterval(s.current),s.current=null),e):(a(!1),setTimeout(()=>{r(t),a(!0),t===n&&s.current&&(clearInterval(s.current),s.current=null)},300),e)})},2500),()=>{s.current&&clearInterval(s.current)}),[i]),(0,t.jsx)("div",{className:"mt-8 flex flex-1 items-center",children:(0,t.jsxs)("div",{className:"flex items-center gap-3 text-gray-600 transition-all duration-300 "+(n?"translate-y-0 opacity-100":"translate-y-2 opacity-0"),children:[(0,t.jsx)($S,{className:"text-foreground-muted h-6 w-6 animate-spin"}),(0,t.jsx)("span",{className:"text-foreground-muted text-xs leading-4",children:VS(i)[e]})]})})},HS=Lm("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),GS=()=>{var e;const r=X(Li),{sendMessage:n}=zs(),a=(0,o.useCallback)(e=>{n({text:e})},[n]),i=(0,o.useCallback)((e,t)=>{"Enter"===e.key&&a(t)},[a]);return(0,t.jsx)("div",{className:"relative m-0 mt-[var(--moveo-new-header-height)] h-full flex-1 list-none overflow-y-auto bg-gradient-to-b from-accent to-white px-6 pb-10 dark:from-accent dark:to-slate-950",children:(0,t.jsxs)("div",{className:"mx-auto max-w-md",children:[(null==r?void 0:r.greeting)&&(0,t.jsx)("p",{className:"text-text-primary-foreground mt-4 break-words text-2xl font-medium leading-8",children:r.greeting}),(0,t.jsx)("div",{className:"mt-6",children:null===(e=null==r?void 0:r.starters)||void 0===e?void 0:e.map(e=>(0,t.jsxs)("div",{onClick:()=>a(e),onKeyUp:t=>i(t,e),role:"button",tabIndex:0,className:"bg-surface-card mb-4 flex cursor-pointer items-center justify-between rounded-xl p-4 shadow-md hover:shadow-lg",children:[(0,t.jsx)("p",{className:"leading-6 text-foreground",children:e}),(0,t.jsx)(HS,{className:"h-4 w-4 flex-shrink-0"})]},e))})]})})},KS=()=>{const e=X(Wo),r=(()=>{const e=function(){const[e,t]=(0,o.useState)("undefined"==typeof document||!document.hidden);return(0,o.useEffect)(()=>{if("undefined"==typeof document)return;const e=()=>t(!document.hidden);return document.addEventListener("visibilitychange",e),()=>document.removeEventListener("visibilitychange",e)},[]),e}(),{sendMessage:t,markMessagesAsRead:r}=zs(),a=X(Zo),i=X(ia),s=X(ha),l=X(qo),c=X(oi),u=X($o),d=X(Vo),p=Q(Ho),f=Q(Jo),g=X(na),h=Q(Po),m=X(yi),A=(0,o.useMemo)(()=>n()(`moveo:iframe:${c}:session-id`),[c]),v=X(ti),b=X(ra),C=(0,o.useRef)(b);(0,o.useEffect)(()=>{C.current=b},[b]);const w=X(ea),y=(0,o.useRef)(w);(0,o.useEffect)(()=>{y.current=w},[w]);const x=(0,o.useRef)("");(0,o.useEffect)(()=>{x.current!==(null==g?void 0:g.event_id)&&g&&((async()=>{var e,t,r;const n=y.current,o="brain_message"===(null==g?void 0:g.event_type),i={event_id:Fs(),event_type:"compose",author_name:"common.ai_agent",author_type:"brain",author_avatar:m,author_id:Fs(),action:"start"},s=Object.assign(Object.assign({},i),{event_id:Fs(),action:"stop"}),l=a.filter(e=>"brain_message"===e.event_type&&e.request_id===(null==g?void 0:g.request_id));if("v2"===v?o&&0===l.length&&h(i):o&&h(i),"replay"!==(null===(e=null==g?void 0:g.response)||void 0===e?void 0:e.type)&&"brain_message"===(null==g?void 0:g.event_type)){const e=null==g?void 0:g.response,n=null!==(t=null==e?void 0:e.duration)&&void 0!==t?t:1,o=null!==(r=null==g?void 0:g.created_at)&&void 0!==r?r:0;await(async(e,t,r=100)=>{let n=0;for(;n<e;){if(t())return;const o=Math.min(r,e-n);await oo(o),n+=o}})(1e3*n,()=>C.current>o)}y.current===n&&(p(e=>[...e,g]),f(e=>e.filter(e=>e.event_id!==g.event_id)),o&&h(s))})(),x.current=null==g?void 0:g.event_id)},[f,p,g,m,h,x,v,a]),(0,o.useEffect)(()=>{e&&s&&!i&&r()},[i,s,e,r]);const k=(0,o.useCallback)(e=>{const r=e;r.key===d&&(A(e,"automatic by "+(l?"leader":"not the leader")),l&&u&&r.newValue&&!r.oldValue&&(Fr(d),t(u)))},[u,l,A,d,t]);return Ts(Ke,k),Ts(Ge,k),(0,o.useEffect)(()=>(u&&s&&(jr(d,"true"),window.dispatchEvent(new StorageEvent(Ge,{key:d,url:"local",newValue:"true"}))),()=>{Fr(d)}),[u,l,s,d,t]),a})(),{messagesRef:a,bodyRef:i,hasScrollableContent:s,scrollToBottom:l,whitespaceHeight:c}=(()=>{const e=X(Zo),t=(0,o.useRef)(!1),r=(0,o.useMemo)(()=>{var t;return"user_message"===(null===(t=e[e.length-1])||void 0===t?void 0:t.event_type)},[e]),{messagesRef:n,bodyRef:a,hasScrollableContent:i,whitespaceHeight:s,scrollToBottom:l,scrollToElement:c,calculateWhitespaceHeight:u,checkScrollableContent:d}=fA(r);return(0,o.useEffect)(()=>{const r=e[e.length-1];if("user_message"===(null==r?void 0:r.event_type)){const e=!t.current;t.current=!0;const r=setTimeout(()=>{var t;if(e)return;const r=null===(t=n.current)||void 0===t?void 0:t.querySelectorAll('[data-event-type="user_message"]');if(r&&r.length>0){const e=r[r.length-1];c(e,80)}},100);return()=>{clearTimeout(r)}}const o=setTimeout(()=>{u(),d()},50);return()=>{clearTimeout(o)}},[e,n,u,c,d]),{messagesRef:n,bodyRef:a,hasScrollableContent:i,scrollToBottom:l,whitespaceHeight:s}})(),u=X(xa),d=X(di),p=X(Li),{isNbg:f}=X(ri),g=X(Do),h="closed"===(null==g?void 0:g.status),m=X(Xo),{handleLinkClick:A}=Ty();return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:ds()("relative flex h-full flex-col overflow-hidden",{"ease duration-2000 transition-colors":u,"bg-[var(--nbg-bg)] bg-contain bg-right bg-no-repeat":f}),style:{backgroundImage:f?"url(../../public/nbg.svg)":"none"},children:[(null==p?void 0:p.enabled)&&0===r.length?(0,t.jsx)(GS,{}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("ul",{onClick:A,onKeyDown:A,ref:a,className:ds()("relative m-0 h-full flex-1 list-none overflow-y-auto px-6","pt-[var(--moveo-new-header-height)]","[scrollbar-width:thin]","[scrollbar-color:rgba(0,0,0,0.15)_transparent]",d),children:[null==r?void 0:r.map(e=>(0,t.jsx)(zS,{event:e},e.event_id)),h&&(null==g?void 0:g.remaining_keep_alive)&&m&&(0,t.jsx)(US,{keepAlive:null==g?void 0:g.remaining_keep_alive}),"agent"===(null==e?void 0:e.author_type)&&(0,t.jsx)(Hy,{}),"brain"===(null==e?void 0:e.author_type)&&(0,t.jsx)(WS,{}),(0,t.jsx)("div",{className:"w-full",style:{height:`calc(47vh - ${c}px)`}})]}),(0,t.jsx)("span",{ref:i})]}),!u&&(0,t.jsx)(SA,{showScrollToBottom:s,onScrollToBottom:l,children:(0,t.jsx)(TB,{})}),(0,t.jsx)(Wy,{})]})})},YS="h-full w-full overflow-hidden",XS="bottom-0 w-full rounded-none bg-[var(--text-03)] opacity-100 overflow-hidden",QS=()=>{const e=(0,o.useRef)(),r=X(Ci),n=X(wi),a=Q(Po),i=X(Wo),{isLivechat:s,isPopup:l,isEmbed:c}=X(vi),u=X(Aa),d=X(Lo),p=X(oa),f=X(zo),g=X(So),h=X(ma),m=X(Gi),A=X(Qh);return(0,o.useEffect)(()=>{i&&p?(e.current&&clearTimeout(e.current),e.current=window.setTimeout(()=>{a(null)},3e4)):clearTimeout(e.current)},[p,i,a]),(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)("div",{className:kd("chatContainer bg-chat-background ","shadow-sm max-h-screen border border-border",s&&!u?kd("fixed h-[var(--moveo-chat-height)] w-[var(--moveo-chat-width)] overflow-hidden rounded-[var(--moveo-new-border-radius-base)] transition-[width] duration-100 ease-in-out duration-300",m?"max-h-[calc(100vh-80px)]":"max-h-[calc(100vh-16px)]",n?"right-0 top-0 animate-in fade-in slide-in-from-top-4 fade-out slide-out-to-top-4":m?"right-0 bottom-16 animate-in fade-in slide-in-from-bottom-4 fade-out slide-out-to-bottom-4":"right-0 bottom-2 animate-in fade-in slide-in-from-bottom-4 fade-out slide-out-to-bottom-4",h&&"w-[var(--moveo-expanded-chat-width)]",r&&"left-0 right-auto"):l?kd(YS,u&&"rounded-none"):c?YS:"",{[XS]:u&&s}),children:[(0,t.jsx)(dA,{}),A?(0,t.jsx)(qA,{}):(0,t.jsxs)(t.Fragment,{children:[d&&(0,t.jsx)(tA,{}),!d&&!g&&f&&(0,t.jsx)(Ly,{}),!d&&!g&&!f&&(0,t.jsx)(KS,{}),!d&&g&&(0,t.jsx)(pA,{})]})]})})},ZS=()=>{const{openWidget:e}=Us(),r=(()=>{const{t:e,i18n:t}=Pe(),r=(0,o.useRef)(!1),a=(0,o.useRef)(!1),{closeWidget:i}=Us(),{notifySessionCreated:s,notifySessionReconnected:l,notifySessionClosed:c,notifyConversationClosed:u}=ts(),{handleFileUpload:d}=am(),p=X(Qa),f=X(ya),g=qs(p,!0),h=!X(na),[m,A]=(0,o.useState)(),[v,b]=(0,o.useState)(),[C,w]=(0,o.useState)(0);(()=>{const e=X(sa),t=X(ha),{notifyUnreadMessages:r}=ts();(0,o.useEffect)(()=>{!t&&e&&r()},[e,t,r])})();const[y,x]=Z(Bo),[k,B]=Z(Eo),[E,S]=Z(xa),[_,O]=Z(ko),D=X(Oo),N=X(yi),R=X(oa),T=X(mi),j=X(Ro),L=X(No),F=X(Za),M=X(ni),P=X(ha),I=X(Mo),q=X(Ga),z=X(oi),U=X(qo),$=X(Qh),V=Q(Sa),W=X(Ra),H=X(ti),G=X(Xo),[K,Y]=Z(Qo),J=Q(_o),ee=Q(Ho),te=Q(Po),re=Q(Io),ne=Q(Do),oe=Q(Ra),ae=Q(qi),ie=Q(Jo),se=Q(Go),le=Q(ea),{updateLocation:ce,closeSession:ue}=zs(v),de=X(Xa),pe=(0,o.useMemo)(()=>n()(`moveo:iframe:${z}:socket`),[z]);(0,o.useEffect)(()=>{if(p&&F&&!v){const e=Wh(F,{upgrade:!1,rememberUpgrade:!0,autoConnect:!1,path:`/v1/web/${p}/ws`,transports:["websocket"],reconnection:!1});queueMicrotask(()=>b(e))}},[F,p,v]),(0,o.useEffect)(()=>(r.current=!0,v&&(v.on("error",e=>{pe("socket.on(error): ",e)}),v.on("connect_error",e=>{pe("socket.connect_error",e),O("offline"),a.current=!1}),v.on("disconnect",e=>{r.current&&(pe("socket.disconnect reason:",e),O("offline"),x(void 0),w(0),a.current=!1)}),v.on("connect",()=>{pe("socket.connect",`${v.id} at ${ao()}`),x(v.id),O("online"),B("idle"),a.current=!1}),v.on(Ps.session_reconnected,e=>{var t,r,n,o;B("synchronize"),ne(e),S(null),l({user_id:null===(r=null===(t=e.context)||void 0===t?void 0:t.user)||void 0===r?void 0:r.user_id,session_id:e.session_id,display_name:null===(o=null===(n=e.context)||void 0===n?void 0:n.user)||void 0===o?void 0:o.display_name})}),v.on(Ps.context_updated,e=>{ne(t=>Object.assign({},t,{context:e.context}))}),v.on(Ps.message_received,e=>{v.volatile.emit(Ps.message_delivered,{session_id:e.session_id,timestamp:ao()});const t={event_id:Fs(),event_type:"agent_message",author_name:e.from.agent_name,author_avatar:e.from.agent_avatar,author_id:e.from.agent_id,body:e.body,text:e.text};ee(e=>[...e,t])}),v.on(Ps.message_brain_received,async e=>{var r;v.volatile.emit(Ps.message_delivered,{session_id:e.session_id,timestamp:ao()}),ne(t=>Object.assign({},t,{context:e.context})),e.brain_language&&!de&&t.changeLanguage(e.brain_language);const n=e.output.responses,o={event_type:"brain_message",author_name:"common.ai_agent",author_avatar:N,author_id:Fs(),created_at:ao(),source:"live"},a=null===(r=e.output)||void 0===r?void 0:r.debug,i=(null==a?void 0:a.collection)&&Object.assign(Object.assign({},a.collection),{request_code:a.request_code,response_code:a.response_code}),s=n.map(t=>Object.assign(Object.assign({},o),{event_id:Fs(),response:t,request_id:e.request_id,collection:i}));se(s),ie(e=>[...e,...s])}),v.on(Ps.member_join,e=>{const t={event_id:Fs(),event_type:"member_join",author_name:e.author_name||q.virtual_agent_name||"common.ai_agent",author_type:e.author_type,author_avatar:Nr().BRAIN_AVATAR,author_id:e.author_id};ie(e=>[...e,t])}),v.on(Ps.member_leave,e=>{const t={event_id:Fs(),event_type:"member_leave",author_name:e.author_name||q.virtual_agent_name||"common.ai_agent",author_type:e.author_type,author_avatar:Nr().BRAIN_AVATAR,author_id:e.author_id};ie(e=>[...e,t])}),v.on(Ps.message_delivered,e=>{ee(t=>t.map(t=>{if("user_message"===t.event_type){const r=t;if(!r.delivered_at&&r.created_at<e.timestamp)return Object.assign(Object.assign({},r),{delivered_at:e.timestamp})}return t}))}),v.on(Ps.message_read,e=>{ee(t=>t.map(t=>{if("user_message"===t.event_type){const r=t;if(null!==r.read_at&&r.created_at<e.timestamp)return Object.assign(Object.assign({},r),{read_at:e.timestamp})}return t}))}),v.on(Ps.message_compose,e=>{if("visitor"===e.author_type)return;if("brain"===e.author_type&&"stop"===e.action)return;const t={event_id:Fs(),event_type:"compose",author_name:e.author_name,author_type:e.author_type,author_avatar:Nr().BRAIN_AVATAR,author_id:e.author_id,action:e.action};te(t)}),v.onAny(pe.extend(":incoming")),v.connected||a.current||(a.current=!0,v.connect())),()=>{r.current=!1,null==v||v.close()}),[pe,v,N,ee,S,te,O,ne,x,B,ie,l,q.virtual_agent_name,t,de,se]),(0,o.useEffect)(()=>{if(v){const e=e=>t=>{B("error");const r=e===Ps.session_max_concurrent?"errors.max_concurrent":"errors.unknown",n=Object.assign(Object.assign({},null==t?void 0:t.error),{event:e,message_key:r});ne(e=>Object.assign({},e,{error:n}))};im.forEach(t=>{v.on(t,e(t))})}},[ne,B,v]),(0,o.useEffect)(()=>{const e=e=>{re(t=>Object.assign({},t,{[e.session_id]:e.leader_id}))};return null==v||v.on(Ps.session_leader,e),()=>{null==v||v.off(Ps.session_leader,e)}},[re,v]),(0,o.useEffect)(()=>{const e=()=>{K&&(K(),Y(null))};return null==v||v.on(Ps.session_rated,e),()=>{null==v||v.off(Ps.session_rated,e)}},[K,Y,v]),(0,o.useEffect)(()=>{const e=e=>{var t,r,n,o;"creating"!==k&&pe("Session created while creating another one",e),s({user_id:null===(r=null===(t=e.context)||void 0===t?void 0:t.user)||void 0===r?void 0:r.user_id,session_id:e.session_id,display_name:null===(o=null===(n=e.context)||void 0===n?void 0:n.user)||void 0===o?void 0:o.display_name}),ne(Object.assign(Object.assign({},e),{status:"open"})),S(null),ee([]),V(null),g(e.session_id),setTimeout(()=>{B("synchronized")},50)};return null==v||v.on(Ps.session_created,e),()=>{null==v||v.off(Ps.session_created,e)}},[pe,s,ee,S,g,V,ne,B,v,k]),(0,o.useEffect)(()=>{const e=e=>{A(e)};return null==v||v.on(Ps.conversation_closed,e),()=>{null==v||v.off(Ps.conversation_closed,e)}},[u,v]),(0,o.useEffect)(()=>{const e=e=>{ne(t=>Object.assign({},t,e,{status:"expired",remaining_keep_alive:void 0})),e.leader_id&&re(t=>Object.assign({},t,{[e.session_id]:e.leader_id})),"reconnecting"===k&&B("synchronized"),R>0&&!$?S("expired"):f?setTimeout(()=>{g(null),B("idle")},0):(pe("Disconnect socket due to expired session and visitor absence."),null==v||v.disconnect())};return null==v||v.on(Ps.session_expired,e),()=>{null==v||v.off(Ps.session_expired,e)}},[pe,v,U,y,R,f,ne,g,S,re,B,k,q,ue,$]),(0,o.useEffect)(()=>{const e=()=>{ne(e=>Object.assign({},e,{status:"open",remaining_keep_alive:void 0})),"closed"===E&&S(null)};return null==v||v.on(Ps.conversation_reopened,e),()=>{null==v||v.off(Ps.conversation_reopened,e)}},[v,E,ne,S]),(0,o.useEffect)(()=>{const e=()=>{$||i(),ee([]),ie([]),se([]),te(null),le(e=>e+1),V(null),S(null),Y(null),c()};return null==v||v.on(Ps.session_closed,e),null==v||v.on(Ps.session_close_error,e),null==v||v.on(Ps.session_rating_error,e),()=>{null==v||v.off(Ps.session_closed,e),null==v||v.off(Ps.session_close_error,e),null==v||v.off(Ps.session_rating_error,e)}},[v,g,i,S,ee,c,V,Y,ie,se,te,le,$]),(0,o.useEffect)(()=>{const e=e=>{const t=Object.assign(Object.assign({event_id:Fs(),event_type:"user_message",author_name:(null==I?void 0:I.display_name)||"",author_avatar:null==I?void 0:I.avatar,author_id:(null==I?void 0:I.user_id)||"",created_at:e.timestamp},e.input.text&&{text:e.input.text}),e.input.attachments&&{attachments:e.input.attachments});ee(e=>[...e,t])};return null==v||v.on(Ps.message_send_sync,e),()=>{null==v||v.off(Ps.message_send_sync,e)}},[I,v,ee]),(0,o.useEffect)(()=>{const t=t=>{const{context:r,events:n,status:o,remaining_keep_alive:a}=((e,t,r,n)=>{const{history:o,context:a}=e,i=[];let s,l="open";return o.forEach(([e,o])=>{var a;if(e===Ps.message_send){const e=o,t={author_avatar:null==n?void 0:n.avatar,author_id:null==n?void 0:n.user_id,author_name:null==n?void 0:n.display_name,created_at:e.timestamp,delivered_at:void 0,event_id:Fs(),event_type:"user_message",read_at:void 0,text:e.input.text,attachments:e.input.attachments};i.push(t)}if(e===Ps.message_received){const e=o,t={event_id:Fs(),event_type:"agent_message",author_name:e.from.agent_name,author_avatar:e.from.agent_avatar,author_id:e.from.agent_id,body:e.body,text:e.text};i.push(t)}if(e===Ps.message_brain_received){const e=o,n=e.output.responses,s=null===(a=e.output)||void 0===a?void 0:a.debug,l=(null==s?void 0:s.collection)&&Object.assign(Object.assign({},s.collection),{request_code:s.request_code,response_code:s.response_code}),c={event_type:"brain_message",author_name:r("common.ai_agent"),author_avatar:t,author_id:Fs(),request_id:e.request_id,created_at:ao(),source:"history",collection:l};n.forEach(e=>{const t=Object.assign(Object.assign({},c),{event_id:Fs(),response:e});("survey"!==e.type||xo(e))&&i.push(t)})}if([Ps.member_join,Ps.member_leave].includes(e)){const t=o,n={event_id:Fs(),event_type:Ps.member_join===e?"member_join":"member_leave",author_name:t.author_name||r("common.ai_agent"),author_type:t.author_type,author_avatar:t.author_avatar,author_id:t.author_id};i.push(n)}if(e===Ps.message_read){const e=o;i.forEach(t=>{"user_message"===t.event_type&&(t.read_at=e.timestamp)})}if(e===Ps.message_delivered){const e=o;i.forEach(t=>{"user_message"===t.event_type&&(t.delivered_at=e.timestamp)})}if(e===Ps.conversation_closed){const{timestamp:e,keep_alive:t}=o;l="closed",s=-1*((ao()-e)/1e3-t)}e===Ps.conversation_reopened&&(l="open",s=void 0)}),{context:a,events:i,status:l,remaining_keep_alive:s}})(t,N,e,I);n&&ee(n),r&&ne(e=>Object.assign({},e,{context:t.context})),ne(e=>Object.assign({},e,{remaining_keep_alive:a,status:o})),"closed"!==o||"v2"===H&&G||S("closed"),B("synchronized"),null==v||v.emit(Ps.context_update,{session_id:t.session_id,context:{global:Object.assign({},T)},timestamp:ao()})};return null==v||v.on(Ps.session_history_synced,t),()=>{null==v||v.off(Ps.session_history_synced,t)}},[I,v,N,S,ee,ne,B,e,T,H,G]),(0,o.useEffect)(()=>{P&&"idle"===k&&B("init")},[P,k,B]),(0,o.useEffect)(()=>{if((null==v?void 0:v.connected)&&"online"===_&&["idle","create","reconnect","synchronize","synchronized","init"].includes(k))switch(pe(`[state-machine] sessionId:${L}, webChatState:${k}`),k){case"create":B("creating"),v.emit(Ps.session_create,{context:{global:Object.assign({},T),user:nm()},identity_token:M||void 0,timestamp:ao(),is_test:uo(q.clientUrl)});break;case"reconnect":L?(B("reconnecting"),v.emit(Ps.session_reconnect,{session_id:L,timestamp:ao()})):pe("WARN: Reconnect without sessionId");break;case"synchronize":L&&(B("synchronizing"),v.emit(Ps.session_history_sync,{session_id:L,timestamp:ao()}));break;case"init":B(L?"reconnect":"create");break;case"synchronized":j&&L&&j!==L?(pe(`Connect to different session: ${L}`),B("reconnect")):ce();break;default:pe(`WARN: ignore webChatState: ${k}`)}},[pe,v,q,L,j,k,T,M,_,B,ce]);const fe=(0,o.useCallback)(()=>{window.navigator.onLine?J(!0):J(!1)},[J]);return Ts("online",fe),Ts("offline",fe),(0,o.useEffect)(()=>{if(m&&h){const{keep_alive:e,timestamp:t}=m,r=-1*((ao()-t)/1e3-e);queueMicrotask(()=>{A(void 0),ne(e=>Object.assign({},e,{status:"closed",remaining_keep_alive:r})),"survey"===E||"survey-full"===E||$||(r>5&&("v2"!==H||!G)?S("closed"):r>0&&r<5&&S("expired")),u()})}},[E,h,m,S,ne,A,u,H,G,$]),(0,o.useEffect)(()=>{const e=async e=>{const t=W.find(t=>t.file_id===e.file_id);await d(t,e.upload_url),oe(t=>t.map(t=>t.file_id===e.file_id?Object.assign(Object.assign({},t),{upload_url:e.upload_url,filename:e.file_name}):t))};return null==v||v.on(Ps.session_files_upload_request_success,e),()=>{null==v||v.off(Ps.session_files_upload_request_success,e)}},[W,d,oe,v]),(0,o.useEffect)(()=>(null==v||v.on(Ps.session_files_upload_request_error,e=>{"file_id"in e?(oe(t=>t.filter(t=>t.file_id!==e.file_id)),ae(t=>[...t,{type:Kh.attention,message:`Error with file: ${e.file_name}, please try again.`}])):(oe([]),ae(t=>[...t,{type:Kh.attention,message:e.message}]))}),()=>{null==v||v.off(Ps.session_files_upload_request_error)}),[oe,ae,v]),(0,o.useEffect)(()=>(null==v||v.on(Ps.session_files_download_request_success,e=>{ee(t=>{const r=[...t];for(let t=0;t<r.length;t++){const n=r[t];if("user_message"===n.event_type){const o=n;if(o.attachments){const n=o.attachments.findIndex(t=>t.id===e.file_id);if(-1!==n){const a=[...o.attachments];a[n]=Object.assign(Object.assign({},a[n]),{url:e.download_url}),r[t]=Object.assign(Object.assign({},o),{attachments:a});break}}}}return r})}),()=>{null==v||v.off(Ps.session_files_download_request_success)}),[ee,v]),(0,o.useEffect)(()=>{if(D){const e=.5+Math.random(),t=1e3*Math.pow(2,C)*e,r=setTimeout(()=>{w(e=>e+1),!v||v.connected||a.current||(O("connecting"),a.current=!0,v.connect())},t);return()=>clearTimeout(r)}},[D,C,v,O,pe]),v})();(()=>{const e=X(Qh),t=Q(Ho),r=Q(xa),n=Q(dm),a=Q(Jh),{onVoiceEvent:i}=lm(),s=(0,o.useCallback)(e=>n(t=>function(e,t){switch(t.type){case"reset":return cm;case"gate":return e.gated?e:Object.assign(Object.assign({},e),{gated:!0});case"resume":{if(!e.gated)return e;const t=e.entries[e.entries.length-1];if(!t||"marker"===t.kind)return Object.assign(Object.assign({},e),{gated:!1});const r=e.seq+1;return Object.assign(Object.assign({},e),{gated:!1,seq:r,entries:[...e.entries,{kind:"marker",id:`marker:${r}`,marker:"reconnected",seq:r}]})}case"user":{if(e.gated)return e;const r=`user:${t.requestId}`;if(e.entries.some(e=>e.id===r))return Object.assign(Object.assign({},e),{entries:e.entries.map(e=>e.id===r?Object.assign(Object.assign({},e),{text:t.text}):e)});const n=e.seq+1;return Object.assign(Object.assign({},e),{seq:n,entries:[...e.entries,{kind:"user",id:r,text:t.text,seq:n}]})}case"brain":{if(e.gated)return e;const r=um(t.requestId),n=e.entries.find(e=>"brain"===e.kind&&e.id===r);if(n)return n.final?e:Object.assign(Object.assign({},e),{entries:e.entries.map(e=>e.id===r?Object.assign(Object.assign({},e),{text:t.text,final:t.final}):e)});const o=e.seq+1;return Object.assign(Object.assign({},e),{seq:o,entries:[...e.entries,{kind:"brain",id:r,requestId:t.requestId,text:t.text,final:t.final,seq:o}]})}case"interrupt":{if(e.gated)return e;const r=um(t.requestId),n=[t.heardText,t.unheardText].filter(Boolean).join(" "),o=e.entries.find(e=>"brain"===e.kind&&e.id===r);if(o){const t=n.length>o.text.length?n:o.text;return Object.assign(Object.assign({},e),{entries:e.entries.map(e=>e.id===r?Object.assign(Object.assign({},e),{text:t,final:!0}):e)})}const a=e.seq+1;return Object.assign(Object.assign({},e),{seq:a,entries:[...e.entries,{kind:"brain",id:r,requestId:t.requestId,text:n,final:!0,seq:a}]})}}}(t,e)),[n]);(0,o.useEffect)(()=>{if(!e)return;let n;s({type:"reset"});const o=()=>{n&&(window.clearTimeout(n),n=void 0)},l=[i("transcript",({data:e})=>{(e=>gm(e)&&"string"==typeof e.text&&"string"==typeof e.request_id)(e)&&s({type:"user",requestId:e.request_id,text:e.text})}),i("brain-response",({data:e})=>{(e=>gm(e)&&"string"==typeof e.text&&"string"==typeof e.request_id&&"boolean"==typeof e.final)(e)&&s({type:"brain",requestId:e.request_id,text:e.text,final:e.final})}),i("interrupt",({data:e})=>{(e=>gm(e)&&"string"==typeof e.request_id&&"string"==typeof e.heardText&&"string"==typeof e.unheardText)(e)&&s({type:"interrupt",requestId:e.request_id,heardText:e.heardText,unheardText:e.unheardText})}),i("remote-audio",()=>{a(!0),o(),n=window.setTimeout(()=>a(!1),600)}),i("state-change",({data:e})=>{const t=e;"reconnecting"===t?(s({type:"gate"}),a(!1)):"connected"===t&&s({type:"resume"})})];return()=>{l.forEach(e=>e()),o(),a(!1),s({type:"reset"}),t([]),r(null)}},[e,i,s,a,t,r])})();const{isEmbed:a,isLivechat:i,isPopup:s}=X(vi),l=X(Ci),c=X(ji),u=X(Ti),d=X(Bi),p=X(ha),f=X(wa),g=X(Aa);return(0,o.useEffect)(()=>{(c&&!p||a)&&e()},[c,a,p,e]),f?null:(0,t.jsx)(Ms.Provider,{value:r,children:(0,t.jsxs)("div",{className:ds()("fixed inset-0 h-full w-full overflow-hidden",{"animate-[fadeIn_0.3s_forwards] bg-black/40":u&&p}),children:[(()=>{if(i&&!g)return(0,t.jsxs)(Cg,{open:p,modal:!0,children:[(0,t.jsx)(wg,{asChild:!0,children:(0,t.jsx)(Om,{})}),(0,t.jsx)(yg,{align:l?"start":"end",className:ds()("border-none p-0",_s[d]),children:(0,t.jsx)(QS,{})})]});if(a)return(0,t.jsx)("div",{className:`${d}-theme`,children:(0,t.jsx)(QS,{})});if(s||g){const e=s&&!g;return(0,t.jsxs)(Ed,{open:p,children:[(0,t.jsx)(Sd,{children:(0,t.jsx)(Om,{})}),(0,t.jsx)(Dd,{onInteractOutside:e=>e.preventDefault(),onEscapeKeyDown:e=>e.preventDefault(),className:ds()(_s[d],"h-full overflow-hidden p-0",e&&"h-(--moveo-chat-height) w-(--moveo-expanded-chat-width)",!g&&!a&&"rounded-(--moveo-new-border-radius-base)"),children:(0,t.jsx)(QS,{})})]})}})(),(0,t.jsx)($s,{})]})})},JS=({userConfig:e})=>{const{notifyWidgetLoaded:r,notifyUserWayInit:n}=ts(),a=Q(Ga),i=X(Ii),s=Q(Ka),{notifyWidgetResize:l}=ts();(()=>{const e=X(si),t=X(ci),r=X(Hi),[n,a]=Z(Ga),i=X(Fi),s=X(Si),l=X(_i),c=document.querySelector(".appContainer")||document.querySelector("body"),{isNbg:u,isAlpha:d}=X(ri),p=(0,o.useCallback)((e,t,r="normal",n="normal")=>{new FontFace(e,`url(${t})`,{weight:r,style:n}).load().then(t=>{document.fonts.add(t),null==c||c.style.setProperty("--default-font-family",`'${e}', sans-serif`),null==c||c.style.setProperty("--moveo-font-primary",`'${e}', sans-serif`)})},[null==c?void 0:c.style]),f=(0,o.useCallback)((e,t)=>{const r=document.createElement("link");r.rel="stylesheet",r.href=t,document.head.appendChild(r),null==c||c.style.setProperty("--default-font-family",`'${e}', sans-serif`),null==c||c.style.setProperty("--moveo-font-primary",`'${e}', sans-serif`)},[null==c?void 0:c.style]);(0,o.useEffect)(()=>{(async()=>{try{if(r){const e=as(r);f(r,e)}else if(u)for(const e of is.nbg)p(e.fontFamily,e.fontPath,e.fontWeight,e.fontStyle);else if(d)for(const e of is.alpha)p(e.fontFamily,e.fontPath,e.fontWeight,e.fontStyle);else f(is.default.fontFamily,is.default.fontPath)}catch(e){f(is.default.fontFamily,is.default.fontPath)}})()},[r,p,f,u,d]),(0,o.useEffect)(()=>{Object.entries(os).forEach(([e,t])=>{"--moveo-font-primary"!==e&&(null==c||c.style.setProperty(e,t))}),i&&(null==c||c.style.setProperty("--moveo-chat-width",null==i?void 0:i.width),null==c||c.style.setProperty("--moveo-chat-height",null==i?void 0:i.height))},[i,null==c?void 0:c.style]),(0,o.useEffect)(()=>{if("auto"===n.theme){const e=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches;a(t=>Object.assign(Object.assign({},t),{theme:e?"dark":"light"}))}},[a,n.theme]),(0,o.useEffect)(()=>{c&&(({element:e,backgroundColor:t,accentColor:r,themeColors:n,cssOverrides:o})=>{if(t){e.style.setProperty("--moveo-background-color",t),e.style.setProperty("--color-accent",t),e.style.setProperty("--color-link",t),e.style.setProperty("--color-rating-background",t),e.style.setProperty("--color-options-foreground",t),e.style.setProperty("--color-options-border",t);try{e.style.setProperty("--moveo-background-color-hover",ns()(t,-.3))}catch(e){}}r&&(e.style.setProperty("--moveo-accent-color",r),e.style.setProperty("--color-text-primary-foreground",r)),n&&Object.entries(ss).forEach(([t,r])=>{const o=n[t];if(o&&(e.style.setProperty(r,o),"accent_color"===t&&(e.style.setProperty("--moveo-accent-color",o),e.style.setProperty("--color-options-border",o),e.style.setProperty("--color-options-foreground",o),e.style.setProperty("--color-link",o),e.style.setProperty("--color-rating-background",o)),"background_color"===t)){e.style.setProperty("--moveo-background-color",o);try{e.style.setProperty("--moveo-background-color-hover",ns()(o,-.3))}catch(e){}}}),o&&Object.entries(o).forEach(([t,r])=>{if(r)if("--font-size-brain-message"===t){const n=ls[r.toLowerCase()]||r;e.style.setProperty(t,n)}else e.style.setProperty(t,r)})})({element:c,backgroundColor:e,accentColor:t,themeColors:s,cssOverrides:l})},[t,e,l,c,s])})();const{i18n:c}=Pe(),{enableAccessibilityWidget:u}=e;return(0,o.useEffect)(()=>{u&&(()=>{const e=document.createElement("script");e.textContent='(function (d) {var s = d.createElement("script");s.setAttribute("data-account", "Yd9gTOcFbs");s.setAttribute("src", "https://cdn.userway.org/widget.js");(d.body || d.head).appendChild(s);})(document)',document.body.appendChild(e)})()},[u]),(0,o.useEffect)(()=>{s(e)},[s,e]),(0,o.useEffect)(()=>{e&&a(t=>qe({},t,e))},[a,e]),(0,o.useEffect)(()=>{const t=()=>{e.translations&&((e,t)=>{for(const[r,n]of Object.entries(t))n&&Object.keys(n).length>0&&e.addResourceBundle(r,"translation",n,!0,!0)})(c,e.translations)};return(null==c?void 0:c.changeLanguage)&&c.changeLanguage(i,t),c.on("loaded",t),()=>{c.off("loaded",t)}},[c,i,e.translations]),(0,o.useEffect)(()=>(document.addEventListener("userway:init_completed",n),()=>{document.removeEventListener("userway:init_completed",n)}),[n]),(0,o.useEffect)(()=>{r()},[r]),(0,o.useEffect)(()=>{var t;const r=e.widget_alignment,n=null!==(t=r&&{left:"bottom-left",right:"bottom-right"}[r])&&void 0!==t?t:r,o={};"bottom-left"!==n&&"top-left"!==n||(o.left="0px"),"top-left"!==n&&"top-right"!==n||(o.top="0px"),Object.keys(o).length>0&&l(o)},[l,e]),(0,t.jsx)(ZS,{})},e_=()=>null;var t_=i(2733),r_={};r_.styleTagTransform=xs(),r_.setAttributes=bs(),r_.insert=As().bind(null,"head"),r_.domAPI=hs(),r_.insertStyleElement=ws(),fs()(t_.A,r_),t_.A&&t_.A.locals&&t_.A.locals;const{slice:n_,forEach:o_}=[],a_=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,i_={create(e,t,r,n){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{path:"/",sameSite:"strict"};r&&(o.expires=new Date,o.expires.setTime(o.expires.getTime()+60*r*1e3)),n&&(o.domain=n),document.cookie=function(e,t){const r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{path:"/"};let n=`${e}=${encodeURIComponent(t)}`;if(r.maxAge>0){const e=r.maxAge-0;if(Number.isNaN(e))throw new Error("maxAge should be a Number");n+=`; Max-Age=${Math.floor(e)}`}if(r.domain){if(!a_.test(r.domain))throw new TypeError("option domain is invalid");n+=`; Domain=${r.domain}`}if(r.path){if(!a_.test(r.path))throw new TypeError("option path is invalid");n+=`; Path=${r.path}`}if(r.expires){if("function"!=typeof r.expires.toUTCString)throw new TypeError("option expires is invalid");n+=`; Expires=${r.expires.toUTCString()}`}if(r.httpOnly&&(n+="; HttpOnly"),r.secure&&(n+="; Secure"),r.sameSite)switch("string"==typeof r.sameSite?r.sameSite.toLowerCase():r.sameSite){case!0:n+="; SameSite=Strict";break;case"lax":n+="; SameSite=Lax";break;case"strict":n+="; SameSite=Strict";break;case"none":n+="; SameSite=None";break;default:throw new TypeError("option sameSite is invalid")}return r.partitioned&&(n+="; Partitioned"),n}(e,t,o)},read(e){const t=`${e}=`,r=document.cookie.split(";");for(let e=0;e<r.length;e++){let n=r[e];for(;" "===n.charAt(0);)n=n.substring(1,n.length);if(0===n.indexOf(t))return n.substring(t.length,n.length)}return null},remove(e,t){this.create(e,"",-1,t)}};var s_={name:"cookie",lookup(e){let{lookupCookie:t}=e;if(t&&"undefined"!=typeof document)return i_.read(t)||void 0},cacheUserLanguage(e,t){let{lookupCookie:r,cookieMinutes:n,cookieDomain:o,cookieOptions:a}=t;r&&"undefined"!=typeof document&&i_.create(r,e,n,o,a)}},l_={name:"querystring",lookup(e){let t,{lookupQuerystring:r}=e;if("undefined"!=typeof window){let{search:e}=window.location;!window.location.search&&window.location.hash?.indexOf("?")>-1&&(e=window.location.hash.substring(window.location.hash.indexOf("?")));const n=e.substring(1).split("&");for(let e=0;e<n.length;e++){const o=n[e].indexOf("=");o>0&&n[e].substring(0,o)===r&&(t=n[e].substring(o+1))}}return t}},c_={name:"hash",lookup(e){let t,{lookupHash:r,lookupFromHashIndex:n}=e;if("undefined"!=typeof window){const{hash:e}=window.location;if(e&&e.length>2){const o=e.substring(1);if(r){const e=o.split("&");for(let n=0;n<e.length;n++){const o=e[n].indexOf("=");o>0&&e[n].substring(0,o)===r&&(t=e[n].substring(o+1))}}if(t)return t;if(!t&&n>-1){const t=e.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(t))return;const r="number"==typeof n?n:0;return t[r]?.replace("/","")}}}return t}};let u_=null;const d_=()=>{if(null!==u_)return u_;try{if(u_="undefined"!=typeof window&&null!==window.localStorage,!u_)return!1;const e="i18next.translate.boo";window.localStorage.setItem(e,"foo"),window.localStorage.removeItem(e)}catch(e){u_=!1}return u_};var p_={name:"localStorage",lookup(e){let{lookupLocalStorage:t}=e;if(t&&d_())return window.localStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupLocalStorage:r}=t;r&&d_()&&window.localStorage.setItem(r,e)}};let f_=null;const g_=()=>{if(null!==f_)return f_;try{if(f_="undefined"!=typeof window&&null!==window.sessionStorage,!f_)return!1;const e="i18next.translate.boo";window.sessionStorage.setItem(e,"foo"),window.sessionStorage.removeItem(e)}catch(e){f_=!1}return f_};var h_={name:"sessionStorage",lookup(e){let{lookupSessionStorage:t}=e;if(t&&g_())return window.sessionStorage.getItem(t)||void 0},cacheUserLanguage(e,t){let{lookupSessionStorage:r}=t;r&&g_()&&window.sessionStorage.setItem(r,e)}},m_={name:"navigator",lookup(e){const t=[];if("undefined"!=typeof navigator){const{languages:e,userLanguage:r,language:n}=navigator;if(e)for(let r=0;r<e.length;r++)t.push(e[r]);r&&t.push(r),n&&t.push(n)}return t.length>0?t:void 0}},A_={name:"htmlTag",lookup(e){let t,{htmlTag:r}=e;const n=r||("undefined"!=typeof document?document.documentElement:null);return n&&"function"==typeof n.getAttribute&&(t=n.getAttribute("lang")),t}},v_={name:"path",lookup(e){let{lookupFromPathIndex:t}=e;if("undefined"==typeof window)return;const r=window.location.pathname.match(/\/([a-zA-Z-]*)/g);if(!Array.isArray(r))return;const n="number"==typeof t?t:0;return r[n]?.replace("/","")}},b_={name:"subdomain",lookup(e){let{lookupFromSubdomainIndex:t}=e;const r="number"==typeof t?t+1:1,n="undefined"!=typeof window&&window.location?.hostname?.match(/^(\w{2,5})\.(([a-z0-9-]{1,63}\.[a-z]{2,6})|localhost)/i);if(n)return n[r]}};let C_=!1;try{document.cookie,C_=!0}catch(e){}const w_=["querystring","cookie","localStorage","sessionStorage","navigator","htmlTag"];C_||w_.splice(1,1);class y_{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};this.type="languageDetector",this.detectors={},this.init(e,t)}init(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{languageUtils:{}},t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.services=e,this.options=function(e){return o_.call(n_.call(arguments,1),t=>{if(t)for(const r in t)void 0===e[r]&&(e[r]=t[r])}),e}(t,this.options||{},{order:w_,lookupQuerystring:"lng",lookupCookie:"i18next",lookupLocalStorage:"i18nextLng",lookupSessionStorage:"i18nextLng",caches:["localStorage"],excludeCacheFor:["cimode"],convertDetectedLanguage:e=>e}),"string"==typeof this.options.convertDetectedLanguage&&this.options.convertDetectedLanguage.indexOf("15897")>-1&&(this.options.convertDetectedLanguage=e=>e.replace("-","_")),this.options.lookupFromUrlIndex&&(this.options.lookupFromPathIndex=this.options.lookupFromUrlIndex),this.i18nOptions=r,this.addDetector(s_),this.addDetector(l_),this.addDetector(p_),this.addDetector(h_),this.addDetector(m_),this.addDetector(A_),this.addDetector(v_),this.addDetector(b_),this.addDetector(c_)}addDetector(e){return this.detectors[e.name]=e,this}detect(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.options.order,t=[];return e.forEach(e=>{if(this.detectors[e]){let r=this.detectors[e].lookup(this.options);r&&"string"==typeof r&&(r=[r]),r&&(t=t.concat(r))}}),t=t.filter(e=>{return null!=e&&!("string"==typeof(t=e)&&[/<\s*script.*?>/i,/<\s*\/\s*script\s*>/i,/<\s*img.*?on\w+\s*=/i,/<\s*\w+\s*on\w+\s*=.*?>/i,/javascript\s*:/i,/vbscript\s*:/i,/expression\s*\(/i,/eval\s*\(/i,/alert\s*\(/i,/document\.cookie/i,/document\.write\s*\(/i,/window\.location/i,/innerHTML/i].some(e=>e.test(t)));var t}).map(e=>this.options.convertDetectedLanguage(e)),this.services&&this.services.languageUtils&&this.services.languageUtils.getBestMatchFromCodes?t:t.length>0?t[0]:null}cacheUserLanguage(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:this.options.caches;t&&(this.options.excludeCacheFor&&this.options.excludeCacheFor.indexOf(e)>-1||t.forEach(t=>{this.detectors[t]&&this.detectors[t].cacheUserLanguage(e,this.options)}))}}function x_(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function k_(e){return k_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},k_(e)}y_.type="languageDetector";var B_=["__proto__","constructor","prototype"];function E_(e){return!("string"!=typeof e||0===e.length||e.length>128||B_.indexOf(e)>-1||e.indexOf("..")>-1||e.indexOf("/")>-1||e.indexOf("\\")>-1||/[?#%\s@]/.test(e)||/[\x00-\x1F\x7F]/.test(e))}function S_(e){return"string"!=typeof e?e:e.replace(/[\r\n\x00-\x1F\x7F]/g," ")}function __(){return"function"==typeof XMLHttpRequest||"object"===("undefined"==typeof XMLHttpRequest?"undefined":k_(XMLHttpRequest))}var O_=/\{\{(.+?)\}\}/g;function D_(e,t){var r=!1,n=e.replace(O_,function(e,n){var o=n.trim();if(B_.indexOf(o)>-1)return e;var a=t[o];if(null==a)return e;var i,s=String(a).split("+"),l=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return x_(e,t);var r={}.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?x_(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,s=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){s=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(s)throw a}}}}(s);try{for(l.s();!(i=l.n()).done;)if(!E_(i.value))return r=!0,e}catch(e){l.e(e)}finally{l.f()}return s.join("+")});return r?null:n}function N_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function R_(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?N_(Object(r),!0).forEach(function(t){T_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):N_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function T_(e,t,r){return(t=function(e){var t=function(e){if("object"!=j_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=j_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==j_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function j_(e){return j_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},j_(e)}var L_,F_,M_="function"==typeof fetch?fetch:void 0;if(void 0!==i.g&&i.g.fetch?M_=i.g.fetch:"undefined"!=typeof window&&window.fetch&&(M_=window.fetch),__()&&(void 0!==i.g&&i.g.XMLHttpRequest?L_=i.g.XMLHttpRequest:"undefined"!=typeof window&&window.XMLHttpRequest&&(L_=window.XMLHttpRequest)),"function"==typeof ActiveXObject&&(void 0!==i.g&&i.g.ActiveXObject?F_=i.g.ActiveXObject:"undefined"!=typeof window&&window.ActiveXObject&&(F_=window.ActiveXObject)),"function"!=typeof M_&&(M_=void 0),!M_&&!L_&&!F_)try{i.e(147).then(i.t.bind(i,1147,19)).then(function(e){M_=e.default}).catch(function(){})}catch(e){}var P_=["__proto__","constructor","prototype"],I_=function(e,t){if(t&&"object"===j_(t)){for(var r="",n=0,o=Object.keys(t);n<o.length;n++){var a=o[n];P_.indexOf(a)>-1||(r+="&"+encodeURIComponent(a)+"="+encodeURIComponent(t[a]))}if(!r)return e;e=e+(-1!==e.indexOf("?")?"&":"?")+r.slice(1)}return e},q_=function(e,t,r,n){var o=function(e){if(!e.ok)return r(e.statusText||"Error",{status:e.status});e.text().then(function(t){r(null,{status:e.status,data:t})}).catch(r)};if(n){var a=n(e,t);if(a instanceof Promise)return void a.then(o).catch(r)}"function"==typeof fetch?fetch(e,t).then(o).catch(r):M_(e,t).then(o).catch(r)},z_=function(e,t,r,n){return"function"==typeof r&&(n=r,r=void 0),n=n||function(){},M_&&0!==t.indexOf("file:")?function(e,t,r,n){e.queryStringParams&&(t=I_(t,e.queryStringParams));var o=R_({},"function"==typeof e.customHeaders?e.customHeaders():e.customHeaders);"undefined"==typeof window&&void 0!==i.g&&void 0!==i.g.process&&i.g.process.versions&&i.g.process.versions.node&&(o["User-Agent"]="i18next-http-backend (node/".concat(i.g.process.version,"; ").concat(i.g.process.platform," ").concat(i.g.process.arch,")")),r&&(o["Content-Type"]="application/json");var a="function"==typeof e.requestOptions?e.requestOptions(r):e.requestOptions,s=R_({method:r?"POST":"GET",body:r?e.stringify(r):void 0,headers:o},e._omitFetchOptions?{}:a),l="function"==typeof e.alternateFetch&&e.alternateFetch.length>=1?e.alternateFetch:void 0;try{q_(t,s,n,l)}catch(r){if(!a||0===Object.keys(a).length||!r.message||r.message.indexOf("not implemented")<0)return n(r);try{Object.keys(a).forEach(function(e){delete s[e]}),q_(t,s,n,l),e._omitFetchOptions=!0}catch(e){n(e)}}}(e,t,r,n):__()||"function"==typeof ActiveXObject?function(e,t,r,n){r&&"object"===j_(r)&&(r=I_("",r).slice(1)),e.queryStringParams&&(t=I_(t,e.queryStringParams));try{var o=L_?new L_:new F_("MSXML2.XMLHTTP.3.0");o.open(r?"POST":"GET",t,1),e.crossDomain||o.setRequestHeader("X-Requested-With","XMLHttpRequest"),o.withCredentials=!!e.withCredentials,r&&o.setRequestHeader("Content-Type","application/x-www-form-urlencoded"),o.overrideMimeType&&o.overrideMimeType("application/json");var a=e.customHeaders;if(a="function"==typeof a?a():a)for(var i=0,s=Object.keys(a);i<s.length;i++){var l=s[i];P_.indexOf(l)>-1||o.setRequestHeader(l,a[l])}o.onreadystatechange=function(){o.readyState>3&&n(o.status>=400?o.statusText:null,{status:o.status,data:o.responseText})},o.send(r)}catch(e){console&&console.log(e)}}(e,t,r,n):void n(new Error("No fetch and no xhr implementation found!"))};function U_(e){return U_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},U_(e)}function $_(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function V_(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?$_(Object(r),!0).forEach(function(t){H_(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):$_(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function W_(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,G_(n.key),n)}}function H_(e,t,r){return(t=G_(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function G_(e){var t=function(e){if("object"!=U_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var r=t.call(e,"string");if("object"!=U_(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==U_(t)?t:t+""}var K_=function(e,t){return t&&W_(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(function e(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.services=t,this.options=r,this.allOptions=n,this.type="backend",this.init(t,r,n)},[{key:"init",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if(this.services=e,this.options=V_(V_(V_({},{loadPath:"/locales/{{lng}}/{{ns}}.json",addPath:"/locales/add/{{lng}}/{{ns}}",parse:function(e){return JSON.parse(e)},stringify:JSON.stringify,parsePayload:function(e,t,r){return H_({},t,r||"")},parseLoadPayload:function(e,t){},request:z_,reloadInterval:"undefined"==typeof window&&36e5,customHeaders:{},queryStringParams:{},crossDomain:!1,withCredentials:!1,overrideMimeType:!1,requestOptions:{mode:"cors",credentials:"same-origin",cache:"default"}}),this.options||{}),r),this.allOptions=n,this.services&&this.options.reloadInterval){var o=setInterval(function(){return t.reload()},this.options.reloadInterval);"object"===U_(o)&&"function"==typeof o.unref&&o.unref()}}},{key:"readMulti",value:function(e,t,r){this._readAny(e,e,t,t,r)}},{key:"read",value:function(e,t,r){this._readAny([e],e,[t],t,r)}},{key:"_readAny",value:function(e,t,r,n,o){var a,i=this,s=this.options.loadPath;"function"==typeof this.options.loadPath&&(s=this.options.loadPath(e,r)),(s=function(e){return!!e&&"function"==typeof e.then}(a=s)?a:Promise.resolve(a)).then(function(a){if(!a)return o(null,{});var s=D_(a,{lng:e.join("+"),ns:r.join("+")});if(null==s){var l=e.map(S_).join(", "),c=r.map(S_).join(", ");return o(new Error("i18next-http-backend: unsafe lng/ns value — refusing to build request URL for languages=["+l+"] namespaces=["+c+"]"),!1)}i.loadUrl(s,o,t,n)})}},{key:"loadUrl",value:function(e,t,r,n){var o=this,a="string"==typeof r?[r]:r,i="string"==typeof n?[n]:n,s=this.options.parseLoadPayload(a,i),l=S_(function(e){if("string"!=typeof e||0===e.length)return e;try{var t=new URL(e);return t.username||t.password?(t.username="",t.password="",t.toString()):e}catch(t){return e.replace(/(\/\/)[^/@\s]+@/g,"$1")}}(e));this.options.request(this.options,e,s,function(e,a){if(a&&(a.status>=500&&a.status<600||!a.status))return t("failed loading "+l+"; status code: "+a.status,!0);if(a&&a.status>=400&&a.status<500)return t("failed loading "+l+"; status code: "+a.status,!1);if(!a&&e&&e.message){var i=e.message.toLowerCase();if(["failed","fetch","network","load"].find(function(e){return i.indexOf(e)>-1}))return t("failed loading "+l+": "+S_(e.message),!0)}if(e)return t(e,!1);var s,c;try{s="string"==typeof a.data?o.options.parse(a.data,r,n):a.data}catch(e){c="failed parsing "+l+" to json"}if(c)return t(c,!1);t(null,s)})}},{key:"create",value:function(e,t,r,n,o){var a=this;if(this.options.addPath){"string"==typeof e&&(e=[e]);var i=this.options.parsePayload(t,r,n),s=0,l=[],c=[];e.forEach(function(r){var n=a.options.addPath;"function"==typeof a.options.addPath&&(n=a.options.addPath(r,t));var u=D_(n,{lng:r,ns:t});if(null==u)return s+=1,void(o&&s===e.length&&o(l,c));a.options.request(a.options,u,i,function(t,r){s+=1,l.push(t),c.push(r),s===e.length&&"function"==typeof o&&o(l,c)})})}}},{key:"reload",value:function(){var e=this,t=this.services,r=t.backendConnector,n=t.languageUtils,o=t.logger,a=r.language;if(!a||"cimode"!==a.toLowerCase()){var i=[],s=function(e){n.toResolveHierarchy(e).forEach(function(e){i.indexOf(e)<0&&i.push(e)})};s(a),this.allOptions.preload&&this.allOptions.preload.forEach(function(e){return s(e)}),i.forEach(function(t){e.allOptions.ns.forEach(function(e){r.read(t,e,"read",null,null,function(n,a){n&&o.warn("loading namespace ".concat(e," for language ").concat(t," failed"),n),!n&&a&&o.log("loaded namespace ".concat(e," for language ").concat(t),a),r.loaded("".concat(t,"|").concat(e),n,a)})})})}}}]);K_.type="backend";var Y_=K_;Wt.use(y_).use(Te).use(Y_).init({supportedLngs:Object.keys(Ue),load:"all",backend:{loadPath:"/public/locales/{{lng}}.json"},fallbackLng:"en",debug:!1,interpolation:{escapeValue:!1},react:{useSuspense:!1},detection:{order:["cookie","localStorage","navigator"],lookupCookie:"moveo_web_client_language",lookupLocalStorage:"moveo_web_client_language",caches:["localStorage","cookie"]}});let X_,Q_,Z_=!1;function J_(e){if(Z_)return;const r=co(Q_,e);if(r&&(X_(`Event from web-client: ${r.type}`,r),r.type===Zi.SetConfig)){const e=(0,t.jsx)(te,{children:(0,t.jsxs)(V,{children:[(0,t.jsx)(e_,{}),(0,t.jsx)(JS,{userConfig:r.data})]})}),n=document.createElement("div");n.style.height="100%",n.style.width="100%",document.body.appendChild(n),(0,J.H)(n).render(e),X_("Rendered <App />"),Z_=!0}}const eO=async e=>{Q_=e,X_=n()(`moveo:iframe:${Q_}:controller`),await new Promise(e=>{if("complete"===document.readyState)return e();window.addEventListener("load",()=>e())}),window.addEventListener("message",J_),window.parent&&window.parent.postMessage({type:`${Q_}${Qi.IframeLoaded}`},"*")}}(),s}()});
|